swagger.yaml 811 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230292312923229233292342923529236292372923829239292402924129242292432924429245292462924729248292492925029251292522925329254292552925629257292582925929260292612926229263
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data:
  8. type: object
  9. msg:
  10. type: string
  11. page:
  12. description: 页码
  13. type: integer
  14. pagesize:
  15. description: 每页条数
  16. type: integer
  17. total:
  18. description: 总条数
  19. type: integer
  20. type: object
  21. common.ClientMenu:
  22. properties:
  23. children:
  24. description: 子菜单列表
  25. items:
  26. $ref: '#/definitions/common.ClientMenu'
  27. type: array
  28. code:
  29. description: ID
  30. type: string
  31. isshow:
  32. description: 是否显示
  33. type: boolean
  34. remark:
  35. description: 备注
  36. type: string
  37. rulekey:
  38. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  39. type: string
  40. sort:
  41. description: 排序
  42. type: integer
  43. title:
  44. description: 标题
  45. type: string
  46. type:
  47. description: 类型,1:菜单 2:按钮
  48. type: integer
  49. url:
  50. description: URL
  51. type: string
  52. type: object
  53. common.PCWebMenu:
  54. properties:
  55. auth:
  56. description: 页面权限列表
  57. items:
  58. $ref: '#/definitions/common.PCWebMenuAuth'
  59. type: array
  60. children:
  61. description: 子菜单列表
  62. items:
  63. $ref: '#/definitions/common.PCWebMenu'
  64. type: array
  65. code:
  66. description: ID,新版本中权限KEY也是这个字段
  67. type: string
  68. component:
  69. description: 路由组件
  70. type: string
  71. isshow:
  72. description: 是否显示
  73. type: boolean
  74. path:
  75. description: 路由路径
  76. type: string
  77. remark:
  78. description: 备注
  79. type: string
  80. rulekey:
  81. description: 权限主键,非空表示需要判断控制,非空值不可重复
  82. type: string
  83. sort:
  84. description: 排序
  85. type: integer
  86. title:
  87. description: 标题
  88. type: string
  89. url:
  90. description: URL
  91. type: string
  92. type: object
  93. common.PCWebMenuAuth:
  94. properties:
  95. code:
  96. description: ID,新版本中权限KEY也是这个字段
  97. type: string
  98. isshow:
  99. description: 是否显示
  100. type: boolean
  101. label:
  102. description: 标题
  103. type: string
  104. remark:
  105. description: 备注
  106. type: string
  107. rulekey:
  108. description: 权限主键,非空表示需要判断控制,非空值不可重复
  109. type: string
  110. type: object
  111. common.QueryImageConfigsRsp:
  112. properties:
  113. areauserid:
  114. description: 所属机构ID
  115. type: integer
  116. configid:
  117. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  118. type: integer
  119. createdate:
  120. description: 创建时间
  121. type: string
  122. creatorid:
  123. description: 创建人
  124. type: integer
  125. imagedetailpath:
  126. description: 详情图片 [UrlType = 3时 有且必填,其它类型不需要]
  127. type: string
  128. imagepath:
  129. description: 图片
  130. type: string
  131. imagetype:
  132. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  133. type: integer
  134. isshow:
  135. description: 是否展示 - 0:不展示 1:展示
  136. type: integer
  137. marketid:
  138. description: 市场ID
  139. type: integer
  140. modifierid:
  141. description: 操作人
  142. type: integer
  143. sort:
  144. description: 排序
  145. type: integer
  146. title:
  147. description: 标题
  148. type: string
  149. trademode:
  150. description: 交易模式
  151. type: integer
  152. updatedate:
  153. description: 修改时间
  154. type: string
  155. url:
  156. description: 链接(地址或商品ID)
  157. type: string
  158. urltype:
  159. description: 链接类型 - 1:直接地址 2:商品ID
  160. type: integer
  161. required:
  162. - configid
  163. type: object
  164. common.QueryNoticeRsp:
  165. properties:
  166. auditoruserid:
  167. description: 审核人
  168. type: integer
  169. auditremark:
  170. description: 审核备注
  171. type: string
  172. audittime:
  173. description: 审核日期
  174. type: string
  175. autoid:
  176. description: 自增ID
  177. type: integer
  178. content:
  179. description: 内容
  180. type: string
  181. createtime:
  182. description: 创建时间
  183. type: string
  184. creatorid:
  185. description: 建仓人
  186. type: integer
  187. endtime:
  188. description: 结束时间
  189. type: string
  190. istop:
  191. description: 是否置顶 - 0:不置顶 1:置顶
  192. type: integer
  193. msgiconurl:
  194. description: 消息图标Url
  195. type: string
  196. msgtype:
  197. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  198. type: integer
  199. publisher:
  200. description: 消息发布者
  201. type: string
  202. readed:
  203. description: 是否已读
  204. type: boolean
  205. scheduletime:
  206. description: 计划发送时间
  207. type: string
  208. sendtype:
  209. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  210. type: integer
  211. sentstatus:
  212. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  213. type: integer
  214. title:
  215. description: 标题
  216. type: string
  217. userid:
  218. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  219. type: integer
  220. required:
  221. - autoid
  222. type: object
  223. common.QueryProvincesAndCitiesRsp:
  224. properties:
  225. cities:
  226. description: 市
  227. items:
  228. $ref: '#/definitions/models.Division'
  229. type: array
  230. province:
  231. $ref: '#/definitions/models.Division'
  232. description: 省
  233. type: object
  234. common.QueryTableDefineRsp:
  235. properties:
  236. columns:
  237. description: 列头信息数组
  238. items:
  239. $ref: '#/definitions/models.Tablecolumnconfig'
  240. type: array
  241. remark:
  242. description: Remark
  243. type: string
  244. tabelmenu:
  245. description: 列表菜单
  246. type: string
  247. tablekey:
  248. description: 列表Key
  249. type: string
  250. tablename:
  251. description: 列表名称
  252. type: string
  253. tabletype:
  254. description: 列表类型 - 1:管理端 2:终端
  255. type: integer
  256. required:
  257. - tablekey
  258. type: object
  259. common.QueryTraderMenuRsp:
  260. properties:
  261. OperationMenu:
  262. description: 功能菜单
  263. items:
  264. $ref: '#/definitions/models.OperationPrimaryMenu'
  265. type: array
  266. QuoteMenu:
  267. description: 报价牌分类菜单
  268. items:
  269. $ref: '#/definitions/models.QuotePrimaryMenu'
  270. type: array
  271. type: object
  272. cptrade.Cptradepositioncancel:
  273. properties:
  274. accountid:
  275. description: 申请人账户ID
  276. type: integer
  277. applystatus:
  278. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  279. type: integer
  280. applytime:
  281. description: 申请时间
  282. type: string
  283. cancelid:
  284. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  285. type: integer
  286. cancelqty:
  287. description: 注销数量
  288. type: integer
  289. createtime:
  290. description: 创建时间
  291. type: string
  292. creatorid:
  293. description: 创建人ID
  294. type: integer
  295. creatorname:
  296. description: 创建人
  297. type: string
  298. goodscode:
  299. description: 订单商品代码
  300. type: string
  301. goodsid:
  302. description: 商品ID
  303. type: integer
  304. goodsname:
  305. description: 订单商品名称
  306. type: string
  307. goodunit:
  308. description: 报价单位
  309. type: string
  310. handlestatus:
  311. description: 处理状态
  312. type: integer
  313. marketid:
  314. description: 市场ID
  315. type: integer
  316. marketname:
  317. description: 市场名称
  318. type: string
  319. tradedate:
  320. description: 交易日(yyyyMMdd)
  321. type: string
  322. userid:
  323. description: 申请人ID
  324. type: integer
  325. required:
  326. - cancelid
  327. type: object
  328. cptrade.Cptradepresaleapply:
  329. properties:
  330. accountid:
  331. description: 申请人账户ID
  332. type: integer
  333. applyid:
  334. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  335. type: integer
  336. applyremark:
  337. description: 申请备注
  338. type: string
  339. applystatus:
  340. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  341. type: integer
  342. applytime:
  343. description: 申请时间
  344. type: string
  345. attachmenturl:
  346. description: 附件地址
  347. type: string
  348. endtime:
  349. description: 预售结束时间
  350. type: string
  351. goodscode:
  352. description: 商品代码
  353. type: string
  354. goodsid:
  355. description: 商品ID
  356. type: integer
  357. goodsname:
  358. description: 商品名称
  359. type: string
  360. goodunit:
  361. description: 报价单位
  362. type: string
  363. handlestatus:
  364. description: 处理状态
  365. type: integer
  366. marketid:
  367. description: 预售市场ID
  368. type: integer
  369. marketname:
  370. description: 预售市场名称
  371. type: string
  372. presaleqty:
  373. description: 预售数量
  374. type: integer
  375. relatedgoodscode:
  376. description: 关联交易合约代码
  377. type: string
  378. relatedgoodsid:
  379. description: 关联交易合约ID
  380. type: integer
  381. relatedgoodsname:
  382. description: 关联交易合约名称
  383. type: string
  384. starttime:
  385. description: 预售开始时间
  386. type: string
  387. tradedate:
  388. description: 交易日(yyyyMMdd)
  389. type: string
  390. trademode:
  391. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  392. type: integer
  393. userid:
  394. description: 申请人ID
  395. type: integer
  396. required:
  397. - applyid
  398. type: object
  399. cptrade.Cptradeusergoodsdata:
  400. properties:
  401. EnabledQty:
  402. description: 可用量
  403. type: integer
  404. GoodsCode:
  405. description: 订单商品代码
  406. type: string
  407. GoodsName:
  408. description: 订单商品名称
  409. type: string
  410. WRStandardCode:
  411. description: 仓单标准代码
  412. type: string
  413. WRStandardName:
  414. description: 仓单标准名称
  415. type: string
  416. accountid:
  417. description: 账户ID
  418. type: integer
  419. cancelqty:
  420. description: 注销量
  421. type: integer
  422. curpresaleqty:
  423. description: 当前预售量
  424. type: integer
  425. deliveryqty:
  426. description: 交割量
  427. type: integer
  428. freezeamount:
  429. description: 冻结金额
  430. type: number
  431. goodsid:
  432. description: 商品ID
  433. type: integer
  434. goodunit:
  435. description: 报价单位
  436. type: string
  437. hasspotfreeze:
  438. description: 是否有现货冻结 - 0:否 1:有
  439. type: integer
  440. inqty:
  441. description: 转入量(总数量)
  442. type: integer
  443. marketid:
  444. description: 市场ID
  445. type: integer
  446. presaledamount:
  447. description: 已预售总金额
  448. type: integer
  449. presaledqty:
  450. description: 已预售量
  451. type: integer
  452. userid:
  453. description: 用户ID
  454. type: integer
  455. wrstandardid:
  456. description: 仓单标准ID
  457. type: integer
  458. required:
  459. - accountid
  460. - goodsid
  461. type: object
  462. cptrade.QueryCPTradeMyBidRsp:
  463. properties:
  464. accountid:
  465. description: 账户ID[报价币种]
  466. type: integer
  467. goodsid:
  468. description: 商品ID
  469. type: integer
  470. goodunit:
  471. description: 报价单位
  472. type: string
  473. marketid:
  474. description: 市场ID
  475. type: integer
  476. orderid:
  477. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  478. type: integer
  479. orderprice:
  480. description: 委托价格
  481. type: number
  482. orderqty:
  483. description: 委托数量
  484. type: integer
  485. ordertime:
  486. description: 委托时间
  487. type: string
  488. ordertotalprice:
  489. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  490. type: number
  491. ordertotalweight:
  492. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  493. type: integer
  494. totaltotalprice:
  495. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  496. type: number
  497. tradeprice:
  498. description: 成交价格
  499. type: number
  500. tradeqty:
  501. description: 成交数量
  502. type: integer
  503. required:
  504. - accountid
  505. - goodsid
  506. - marketid
  507. - orderid
  508. - orderqty
  509. - ordertime
  510. - tradeprice
  511. - tradeqty
  512. type: object
  513. cptrade.QueryCPTradeOrderDetailRsq:
  514. properties:
  515. accountid:
  516. description: 账户ID[报价币种]
  517. type: integer
  518. buildtype:
  519. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  520. type: integer
  521. buyorsell:
  522. description: 买卖 - 0:买 1:卖
  523. type: integer
  524. cancelorderid:
  525. description: 撤单单号(撤单时填写)
  526. type: integer
  527. cancelqty:
  528. description: 撤单数量
  529. type: integer
  530. clientordertime:
  531. description: 客户端委托时间
  532. type: string
  533. clientticket:
  534. description: 客户端流水号
  535. type: string
  536. clienttype:
  537. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  538. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  539. type: integer
  540. closeexchagechargevalue:
  541. description: 平仓交易所手续费设置值
  542. type: number
  543. closefeealgorithm:
  544. description: 平仓手续费收取方式 1:比率 2:固定
  545. type: integer
  546. closefreezecharge:
  547. description: 平仓冻结手续费(先建后平操作,需要记录)
  548. type: number
  549. closememberchargevalue:
  550. description: 平仓会员手续费设置值
  551. type: number
  552. closeqty:
  553. description: 平仓数量(先建后平操作 需要记录)
  554. type: integer
  555. closetradeqty:
  556. description: 平仓成交数量(先建后平操作,需要记录)
  557. type: integer
  558. closeunfreezecharge:
  559. description: 平仓解冻手续费(先建后平操作,需要记录)
  560. type: number
  561. delistingtype:
  562. description: 摘牌类型 - 1:价格最优 2:点选成交
  563. type: integer
  564. freezecharge:
  565. description: 冻结手续费
  566. type: number
  567. freezemargin:
  568. description: 冻结保证金(冻结交易金额)
  569. type: number
  570. gcaccountid:
  571. description: 账户ID[合约币种]
  572. type: integer
  573. goodsid:
  574. description: 商品ID
  575. type: integer
  576. isconfirmexercise:
  577. description: 是否确认行权- 0:否 1:是
  578. type: integer
  579. ispreexercise:
  580. description: 是否预申报- 0:否 1:是
  581. type: integer
  582. listingselecttype:
  583. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  584. type: integer
  585. marginalgorithm:
  586. description: 保证金收取方式 1:比率 2:固定
  587. type: integer
  588. marginvalue:
  589. description: 即市保证金设置值
  590. type: number
  591. marketid:
  592. description: 市场ID
  593. type: integer
  594. marketmaxsub:
  595. description: 市价最大偏移范围
  596. type: number
  597. memberuserid:
  598. description: 所属会员UserID
  599. type: integer
  600. openexchagechargevalue:
  601. description: 建仓交易所手续费设置值
  602. type: number
  603. openfeealgorithm:
  604. description: 建仓手续费收取方式 1:比率 2:固定
  605. type: integer
  606. openfreezecharge:
  607. description: 开仓冻结手续费(先建后平操作,需要记录)
  608. type: number
  609. openmemberchargevalue:
  610. description: 建仓会员手续费设置值
  611. type: number
  612. openqty:
  613. description: 开仓数量(先建后平操作,需要记录)
  614. type: integer
  615. opentradeqty:
  616. description: 开仓成交数量(先建后平操作,需要记录)
  617. type: integer
  618. openunfreezecharge:
  619. description: 开仓解冻手续费(先建后平操作,需要记录)
  620. type: number
  621. operatetype:
  622. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  623. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  624. 15:管理端协议转让
  625. type: integer
  626. operatorid:
  627. description: 登录账号(LoginID)
  628. type: integer
  629. optiontype:
  630. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  631. type: integer
  632. orderprice:
  633. description: 委托价格
  634. type: number
  635. orderqty:
  636. description: 委托数量
  637. type: integer
  638. ordersrc:
  639. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  640. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  641. type: integer
  642. orderstatus:
  643. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  644. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  645. 16:成交失败违约(荷兰式竞拍专用)
  646. type: integer
  647. ordertime:
  648. description: 委托时间
  649. type: string
  650. preexerciseprice:
  651. description: 预申报价格
  652. type: number
  653. premium:
  654. description: 权利金
  655. type: number
  656. preorderid:
  657. description: 关联预埋单号(止盈止损单时填写)
  658. type: integer
  659. pricemode:
  660. description: '取价方式 - 1:市价 2: 限价'
  661. type: integer
  662. quoteid:
  663. description: 报价单ID
  664. type: integer
  665. relatedid:
  666. description: 关联单号(交割单)
  667. type: integer
  668. retcode:
  669. description: 错误代码
  670. type: integer
  671. sessionid:
  672. description: 会话ID
  673. type: integer
  674. strorderid:
  675. description: 委托单号
  676. type: string
  677. tradedate:
  678. description: 交易日(yyyyMMdd)
  679. type: string
  680. tradeproperty:
  681. description: 交易属性
  682. type: integer
  683. tradeqty:
  684. description: 成交数量
  685. type: integer
  686. unfreezecharge:
  687. description: 解冻手续费
  688. type: number
  689. unfreezemargin:
  690. description: 解冻保证金
  691. type: number
  692. updatetime:
  693. description: 更新时间
  694. type: string
  695. uuid:
  696. description: 发起端唯一id
  697. type: string
  698. validtime:
  699. description: 有效期限
  700. type: string
  701. validtype:
  702. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  703. type: integer
  704. volumetype:
  705. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  706. type: integer
  707. required:
  708. - accountid
  709. - buildtype
  710. - buyorsell
  711. - goodsid
  712. - marketid
  713. - memberuserid
  714. - operatetype
  715. - orderqty
  716. - ordertime
  717. - pricemode
  718. - strorderid
  719. - tradedate
  720. - validtype
  721. type: object
  722. cptrade.QueryMyCPTradeGoodsRsp:
  723. properties:
  724. accountid:
  725. description: 卖方账户ID
  726. type: integer
  727. agreeunit:
  728. description: 合约单位
  729. type: number
  730. applyid:
  731. description: 关联申请ID
  732. type: integer
  733. attachmenturl:
  734. description: 附件地址
  735. type: string
  736. createtime:
  737. description: 创建时间
  738. type: string
  739. currencyid:
  740. description: 报价货币ID
  741. type: integer
  742. decimalplace:
  743. description: 报价小数位
  744. type: integer
  745. endtime:
  746. description: 预售结束时间
  747. type: string
  748. floorprice:
  749. description: 底价[大宗式竞拍]
  750. type: number
  751. goodscode:
  752. description: 商品代码(预售)
  753. type: string
  754. goodsdetail:
  755. description: 详情[大宗]
  756. type: string
  757. goodsid:
  758. description: 商品ID(自增ID SEQ_GOODS)
  759. type: integer
  760. goodsname:
  761. description: 商品名称(预售)
  762. type: string
  763. goodunit:
  764. description: 报价单位
  765. type: string
  766. goodunitid:
  767. description: 报价单位ID
  768. type: integer
  769. marketid:
  770. description: 所属市场ID
  771. type: integer
  772. marketname:
  773. description: 预售市场名称
  774. type: string
  775. presaledamount:
  776. description: 已预售总金额(预售结束时更新)
  777. type: number
  778. presaledqty:
  779. description: 已预售量(预售结束时更新)
  780. type: integer
  781. presalemode:
  782. description: 预售模式 - 1:一口价 2:大宗式竞拍
  783. type: integer
  784. presaleqty:
  785. description: 预售数量
  786. type: integer
  787. refprice:
  788. description: 参考价格[一口价]
  789. type: number
  790. relatedgoodscode:
  791. description: 商品代码(订单)
  792. type: string
  793. relatedgoodsid:
  794. description: 关联交易合约ID
  795. type: integer
  796. relatedgoodsname:
  797. description: 商品名称(订单)
  798. type: string
  799. relatedmarketid:
  800. description: 关联交易合约市场ID
  801. type: integer
  802. sellstatus:
  803. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  804. type: integer
  805. startprice:
  806. description: 起拍价[大宗式竞拍]
  807. type: number
  808. starttime:
  809. description: 预售开始时间
  810. type: string
  811. tradedate:
  812. description: 交易日(yyyyMMdd)
  813. type: string
  814. tradeprice:
  815. description: 成交价[大宗]
  816. type: number
  817. userid:
  818. description: 卖方用户ID
  819. type: integer
  820. required:
  821. - goodscode
  822. - goodsid
  823. - goodsname
  824. - marketid
  825. - relatedgoodscode
  826. - relatedgoodsname
  827. type: object
  828. cptrade.QueryPresaleGoodsExRsp:
  829. properties:
  830. attachmenturl:
  831. description: 附件地址
  832. type: string
  833. createtime:
  834. description: 创建时间
  835. type: string
  836. endtime:
  837. description: 预售结束时间
  838. type: string
  839. floorprice:
  840. description: 底价[大宗式竞拍]
  841. type: number
  842. goodsdetail:
  843. description: 详情[大宗]
  844. type: string
  845. goodsid:
  846. description: 商品ID(预售)
  847. type: integer
  848. goodunit:
  849. description: 报价单位
  850. type: string
  851. marketid:
  852. description: 预售市场ID - 根据预售模式选择市场
  853. type: integer
  854. presaledamount:
  855. description: 已预售总金额(预售结束时更新)
  856. type: number
  857. presaledqty:
  858. description: 已预售量(预售结束时更新)
  859. type: integer
  860. presalemode:
  861. description: 预售模式 - 1:一口价 2:大宗式竞拍
  862. type: integer
  863. presaleqty:
  864. description: 预售数量
  865. type: integer
  866. refprice:
  867. description: 参考价格[一口价]
  868. type: number
  869. relatedgoodsid:
  870. description: 关联交易合约ID
  871. type: integer
  872. relatedmarketid:
  873. description: 关联交易合约市场ID
  874. type: integer
  875. sellstatus:
  876. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  877. type: integer
  878. startprice:
  879. description: 起拍价[大宗式竞拍]
  880. type: number
  881. starttime:
  882. description: 预售开始时间
  883. type: string
  884. tradedate:
  885. description: 交易日(yyyyMMdd)
  886. type: string
  887. tradeprice:
  888. description: 成交价[大宗]
  889. type: number
  890. required:
  891. - goodsid
  892. type: object
  893. delivery.QueryDeliveryRelationRsp:
  894. properties:
  895. begindate:
  896. description: 起始日期(yyyyMMdd)
  897. type: string
  898. buytemplateid:
  899. description: 买履约计划模板ID
  900. type: integer
  901. deliverygoodscode:
  902. description: 品种代码
  903. type: string
  904. deliverygoodsid:
  905. description: 交割商品
  906. type: integer
  907. deliverygoodsname:
  908. description: 品种名称
  909. type: string
  910. deliverymode:
  911. description: 交割方式 - 1:点选式 2:申报式
  912. type: integer
  913. deliverypricerule:
  914. description: 交割价规则- 1:行情价 2:建仓价
  915. type: integer
  916. deliverytype:
  917. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  918. type: integer
  919. enddate:
  920. description: 结束日期(yyyyMMdd)
  921. type: string
  922. enumdicname:
  923. description: 品类单位名称
  924. type: string
  925. goodscode:
  926. description: 商品代码
  927. type: string
  928. goodsid:
  929. description: 交易合约ID
  930. type: integer
  931. goodsname:
  932. description: 商品名称
  933. type: string
  934. marketid:
  935. description: 市场ID
  936. type: integer
  937. mindeliveryqty:
  938. description: 最小交割系数(K)
  939. type: integer
  940. p2deliveryprice:
  941. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  942. type: number
  943. p2deliveryratio:
  944. description: P2合约系数(p)
  945. type: integer
  946. p2goodsid:
  947. description: P2合约ID
  948. type: integer
  949. p2pricemode:
  950. description: P2合约价格方式 - 1:商品价 2:固定值
  951. type: integer
  952. pdeliveryprice:
  953. description: P合约价格(商品价时填写0,固定值时填写固定值)
  954. type: number
  955. pdeliveryratio:
  956. description: P合约系数(n)
  957. type: integer
  958. pgoodscode:
  959. description: p合约代码
  960. type: string
  961. pgoodsid:
  962. description: P合约ID
  963. type: integer
  964. ppricemode:
  965. description: P合约价格方式 - 1:商品价 2:固定值
  966. type: integer
  967. rratio:
  968. description: 兑换系数(R)
  969. type: integer
  970. rratio1:
  971. description: 兑换系数(交易合约)(R1)
  972. type: integer
  973. rratio2:
  974. description: 兑换系数(仓单标准)(R2)
  975. type: integer
  976. selltemplateid:
  977. description: 卖履约计划模板ID
  978. type: integer
  979. wrstandardid:
  980. description: 仓单标准ID
  981. type: integer
  982. xdeliveryratio:
  983. description: 交易合约系数(m)
  984. type: integer
  985. required:
  986. - begindate
  987. - enddate
  988. - goodsid
  989. - mindeliveryqty
  990. - xdeliveryratio
  991. type: object
  992. ermcp.ExposureDetailRsp:
  993. properties:
  994. areauserid:
  995. description: 机构ID
  996. type: integer
  997. changeQty:
  998. description: 套保变动量
  999. type: number
  1000. contracttype:
  1001. description: 现货合同类型 - 1:采购 -1:销售
  1002. type: integer
  1003. convertfactor:
  1004. description: 标仓系数
  1005. type: number
  1006. convertratio:
  1007. description: 套保系数
  1008. type: number
  1009. createtime:
  1010. description: 时间
  1011. type: string
  1012. enumdicname:
  1013. description: 现货商品单位名称
  1014. type: string
  1015. logtype:
  1016. description: 类型 - 1:套保计划 2:现货合同
  1017. type: integer
  1018. middlegoodsId:
  1019. description: 套保商品id
  1020. type: integer
  1021. middlegoodscode:
  1022. description: 套保商品代码
  1023. type: string
  1024. middlegoodsname:
  1025. description: 套保商品名称
  1026. type: string
  1027. qty:
  1028. description: 数量
  1029. type: number
  1030. relateNo:
  1031. description: 现货合同/套保计划编号
  1032. type: string
  1033. wrstandardcode:
  1034. description: 现货商品代码
  1035. type: string
  1036. wrstandardid:
  1037. description: 现货商品ID
  1038. type: integer
  1039. wrstandardname:
  1040. description: 现货商品名称
  1041. type: string
  1042. type: object
  1043. ermcp.ExposureHedgePosDetailRsp:
  1044. properties:
  1045. buyorsell:
  1046. description: 买卖方向 0-买 1-卖
  1047. type: integer
  1048. channelbuildtype:
  1049. description: 开平方向 1-建仓 2-平仓
  1050. type: integer
  1051. goodscode:
  1052. description: 商品代码
  1053. type: string
  1054. goodsname:
  1055. description: 商品名称
  1056. type: string
  1057. hedgegoodsid:
  1058. description: 商品id
  1059. type: integer
  1060. tradeqty:
  1061. description: 数量(成交数量)
  1062. type: integer
  1063. tradetime:
  1064. description: 时间(成交时间)
  1065. type: string
  1066. type: object
  1067. ermcp.ExposureHedgePositionRsp:
  1068. properties:
  1069. accountid:
  1070. description: 资金账号[外部母账户]
  1071. type: integer
  1072. curbuyposition:
  1073. description: 期末买头寸
  1074. type: integer
  1075. cursellposition:
  1076. description: 期末卖头寸
  1077. type: integer
  1078. curtdbuyposition:
  1079. description: 期末今日买头寸
  1080. type: integer
  1081. curtdsellposition:
  1082. description: 期末今日卖头寸
  1083. type: integer
  1084. curydbuyposition:
  1085. description: 期末上日买头寸
  1086. type: integer
  1087. curydsellposition:
  1088. description: 期末上日卖头寸
  1089. type: integer
  1090. decreaseqty:
  1091. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  1092. type: integer
  1093. fretdbuyposition:
  1094. description: 冻结今日买头寸
  1095. type: integer
  1096. fretdsellposition:
  1097. description: 冻结今日卖头寸
  1098. type: integer
  1099. freydbuyposition:
  1100. description: 冻结上日买头寸
  1101. type: integer
  1102. freydsellposition:
  1103. description: 冻结上日卖头寸
  1104. type: integer
  1105. goodscode:
  1106. description: 商品代码
  1107. type: string
  1108. goodsid:
  1109. description: 商品id
  1110. type: integer
  1111. goodsname:
  1112. description: 商品名称
  1113. type: string
  1114. hedgeaccountcode:
  1115. description: 对冲账号
  1116. type: string
  1117. hedgegoodsid:
  1118. description: 对冲合约ID
  1119. type: integer
  1120. increaseqty:
  1121. description: 增加数量 = 期末买头寸 - 期初买头寸
  1122. type: integer
  1123. marketid:
  1124. description: 市场ID
  1125. type: integer
  1126. relateduserid:
  1127. description: 关联用户id
  1128. type: integer
  1129. totalcurqty:
  1130. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  1131. type: integer
  1132. totalydqty:
  1133. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  1134. type: integer
  1135. tradedate:
  1136. description: 交易日(yyyyMMdd)
  1137. type: string
  1138. ydbuyposition:
  1139. description: 期初买头寸
  1140. type: integer
  1141. ydsellposition:
  1142. description: 期初卖头寸
  1143. type: integer
  1144. type: object
  1145. ermcp.ExposureSpotDetailRsp:
  1146. properties:
  1147. contracttype:
  1148. description: 合同类型 1-采购 -1-销售
  1149. type: integer
  1150. createtime:
  1151. description: 创建时间
  1152. type: string
  1153. enumdicname:
  1154. description: 现货商品单位名称
  1155. type: string
  1156. logtype:
  1157. description: 记录类型 1-套保 2-现货合同
  1158. type: integer
  1159. qty:
  1160. description: 数量
  1161. type: number
  1162. recordname:
  1163. description: 类型名称
  1164. type: string
  1165. relatedid:
  1166. description: 套保计划ID/现货合同ID
  1167. type: string
  1168. relatedno:
  1169. description: 编号
  1170. type: string
  1171. strtime:
  1172. description: 时间
  1173. type: string
  1174. wrstandardcode:
  1175. description: 现货商品代码
  1176. type: string
  1177. wrstandardname:
  1178. description: 现货商品名称
  1179. type: string
  1180. type: object
  1181. ermcp.ExposureSpotRsp:
  1182. properties:
  1183. areauserid:
  1184. description: 所属机构
  1185. type: integer
  1186. decreaseqty:
  1187. description: 减少数量=-(销售已定价数量+采购计划数量)
  1188. type: number
  1189. increaseqty:
  1190. description: 增加数量=销售计划数量+采购已定价数量
  1191. type: number
  1192. oritoalspotqty:
  1193. description: 昨日数量
  1194. type: number
  1195. totalspotqty:
  1196. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  1197. type: number
  1198. updatetime:
  1199. description: 更新时间
  1200. type: string
  1201. wrstandardcode:
  1202. description: 现货品种代码
  1203. type: string
  1204. wrstandardid:
  1205. description: 现货商品ID
  1206. type: integer
  1207. wrstandardname:
  1208. description: 现货品种
  1209. type: string
  1210. type: object
  1211. ermcp.HisExposureRsp:
  1212. properties:
  1213. data:
  1214. description: 历史敞口
  1215. items:
  1216. $ref: '#/definitions/models.ErmcpHisExposure'
  1217. type: array
  1218. enumdicname:
  1219. description: 单位名称
  1220. type: string
  1221. middlegoodscode:
  1222. description: 套保品种代码
  1223. type: string
  1224. middlegoodsid:
  1225. description: 套保品种ID
  1226. type: integer
  1227. middlegoodsname:
  1228. description: 套保品种名称
  1229. type: string
  1230. type: object
  1231. ermcp.PendingAuditCntRsp:
  1232. properties:
  1233. areastockqty:
  1234. description: '待审核数量: 库存申请'
  1235. type: integer
  1236. businessdjqty:
  1237. description: '待审核数量: 点价'
  1238. type: integer
  1239. businessfpqty:
  1240. description: '待审核数量: 发票'
  1241. type: integer
  1242. businessjsqty:
  1243. description: '待审核数量: 结算'
  1244. type: integer
  1245. businesskxqty:
  1246. description: '待审核数量: 款项'
  1247. type: integer
  1248. hedgeplanqty:
  1249. description: '待审核数量: 套保计划'
  1250. type: integer
  1251. spotcontractqty:
  1252. description: '待审核数量: 现货合同'
  1253. type: integer
  1254. userqty:
  1255. description: '待审核数量: 用户'
  1256. type: integer
  1257. type: object
  1258. ermcp.QryAvalidGPRsp:
  1259. properties:
  1260. goodsgroupid:
  1261. description: 期货品种id
  1262. type: integer
  1263. goodsgroupname:
  1264. description: 期货品种名称
  1265. type: string
  1266. goodunitid:
  1267. description: 品种单位id
  1268. type: integer
  1269. goodunitname:
  1270. description: 品种单位名称
  1271. type: string
  1272. outergroupcode:
  1273. description: 期货品种代码
  1274. type: string
  1275. type: object
  1276. ermcp.QryBusinessDjRsp:
  1277. properties:
  1278. amount:
  1279. description: 点价金额=(点价价格+升贴水)*点价数量
  1280. type: number
  1281. applyid:
  1282. description: 申请人
  1283. type: string
  1284. applyname:
  1285. description: 申请人名称
  1286. type: string
  1287. applystatus:
  1288. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1289. type: integer
  1290. applytime:
  1291. description: 申请时间
  1292. type: string
  1293. attachurl:
  1294. description: 附件
  1295. type: string
  1296. auditid:
  1297. description: 审核人ID
  1298. type: string
  1299. auditname:
  1300. description: 审核人名称
  1301. type: string
  1302. auditremark:
  1303. description: 审核备注
  1304. type: string
  1305. audittime:
  1306. description: 审核时间
  1307. type: string
  1308. buyusername:
  1309. description: 采购方名称
  1310. type: string
  1311. contractno:
  1312. description: 合同编号
  1313. type: string
  1314. contractstatus:
  1315. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1316. type: integer
  1317. contracttype:
  1318. description: 现货合同类型 - 1:采购 -1:销售
  1319. type: integer
  1320. deliverygoodscode:
  1321. description: 现货品种代码
  1322. type: string
  1323. deliverygoodsid:
  1324. description: 现货商品ID
  1325. type: integer
  1326. deliverygoodsname:
  1327. description: 现货品种名称
  1328. type: string
  1329. enumdicname:
  1330. description: 单位名称
  1331. type: string
  1332. goodscode:
  1333. description: 点价合约
  1334. type: string
  1335. goodsname:
  1336. description: 商品名称
  1337. type: string
  1338. operateapplyid:
  1339. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1340. type: string
  1341. operateapplytype:
  1342. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1343. type: integer
  1344. pricedPrice:
  1345. description: 点价价格(非必填)
  1346. type: number
  1347. pricedQty:
  1348. description: 点价数量(非必填)
  1349. type: number
  1350. pricemove:
  1351. description: 升贴水
  1352. type: number
  1353. pricetype:
  1354. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1355. type: integer
  1356. relatedid:
  1357. description: 现货合同ID
  1358. type: string
  1359. sellusername:
  1360. description: 销售方名字
  1361. type: string
  1362. userid:
  1363. description: 用户ID
  1364. type: integer
  1365. wrstandardcode:
  1366. description: 品类代码
  1367. type: string
  1368. wrstandardid:
  1369. description: 品类id
  1370. type: integer
  1371. wrstandardname:
  1372. description: 品类名称
  1373. type: string
  1374. type: object
  1375. ermcp.QryBussinessFpRsp:
  1376. properties:
  1377. applyid:
  1378. description: 申请人
  1379. type: string
  1380. applyname:
  1381. description: 申请人名称
  1382. type: string
  1383. applystatus:
  1384. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1385. type: integer
  1386. applytime:
  1387. description: 申请时间
  1388. type: string
  1389. attachurl:
  1390. description: 附件
  1391. type: string
  1392. auditid:
  1393. description: 审核人ID
  1394. type: string
  1395. auditname:
  1396. description: 审核人名称
  1397. type: string
  1398. auditremark:
  1399. description: 审核备注
  1400. type: string
  1401. audittime:
  1402. description: 审核时间
  1403. type: string
  1404. buyusername:
  1405. description: 采购方名称
  1406. type: string
  1407. contractno:
  1408. description: 合同编号
  1409. type: string
  1410. contractstatus:
  1411. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1412. type: integer
  1413. contracttype:
  1414. description: 现货合同类型 - 1:采购 -1:销售
  1415. type: integer
  1416. deliverygoodscode:
  1417. description: 现货品种代码
  1418. type: string
  1419. deliverygoodsid:
  1420. description: 现货商品ID
  1421. type: integer
  1422. deliverygoodsname:
  1423. description: 现货品种名称
  1424. type: string
  1425. enumdicname:
  1426. description: 单位名称
  1427. type: string
  1428. goodscode:
  1429. description: 点价合约
  1430. type: string
  1431. goodsname:
  1432. description: 商品名称
  1433. type: string
  1434. invoiceamount:
  1435. description: 已开收票金额(销售为开票,采购为收票)
  1436. type: number
  1437. operateapplyid:
  1438. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1439. type: string
  1440. operateapplytype:
  1441. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1442. type: integer
  1443. pricemove:
  1444. description: 升贴水
  1445. type: number
  1446. pricetype:
  1447. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1448. type: integer
  1449. relatedid:
  1450. description: 现货合同ID
  1451. type: string
  1452. sellusername:
  1453. description: 销售方名字
  1454. type: string
  1455. userid:
  1456. description: 用户ID
  1457. type: integer
  1458. wrstandardcode:
  1459. description: 品类代码
  1460. type: string
  1461. wrstandardid:
  1462. description: 品类id
  1463. type: integer
  1464. wrstandardname:
  1465. description: 品类名称
  1466. type: string
  1467. type: object
  1468. ermcp.QryBussinessJsExRsp:
  1469. properties:
  1470. applyid:
  1471. description: 申请人
  1472. type: string
  1473. applyname:
  1474. description: 申请人名称
  1475. type: string
  1476. applystatus:
  1477. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1478. type: integer
  1479. applytime:
  1480. description: 申请时间
  1481. type: string
  1482. attachurl:
  1483. description: 附件
  1484. type: string
  1485. auditid:
  1486. description: 审核人ID
  1487. type: string
  1488. auditname:
  1489. description: 审核人名称
  1490. type: string
  1491. auditremark:
  1492. description: 审核备注
  1493. type: string
  1494. audittime:
  1495. description: 审核时间
  1496. type: string
  1497. buyusername:
  1498. description: 采购方名称
  1499. type: string
  1500. contractno:
  1501. description: 合同编号
  1502. type: string
  1503. contractstatus:
  1504. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1505. type: integer
  1506. contracttype:
  1507. description: 现货合同类型 - 1:采购 -1:销售
  1508. type: integer
  1509. deliverygoodscode:
  1510. description: 现货品种代码
  1511. type: string
  1512. deliverygoodsid:
  1513. description: 现货商品ID
  1514. type: integer
  1515. deliverygoodsname:
  1516. description: 现货品种名称
  1517. type: string
  1518. enumdicname:
  1519. description: 单位名称
  1520. type: string
  1521. goodscode:
  1522. description: 点价合约
  1523. type: string
  1524. goodsname:
  1525. description: 商品名称
  1526. type: string
  1527. operateapplyid:
  1528. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1529. type: string
  1530. operateapplytype:
  1531. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1532. type: integer
  1533. pricemove:
  1534. description: 升贴水
  1535. type: number
  1536. pricetype:
  1537. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1538. type: integer
  1539. reckontype:
  1540. description: 结算类型
  1541. type: string
  1542. reckonvalue:
  1543. description: 值
  1544. type: number
  1545. relatedid:
  1546. description: 现货合同ID
  1547. type: string
  1548. sellusername:
  1549. description: 销售方名字
  1550. type: string
  1551. userid:
  1552. description: 用户ID
  1553. type: integer
  1554. wrstandardcode:
  1555. description: 品类代码
  1556. type: string
  1557. wrstandardid:
  1558. description: 品类id
  1559. type: integer
  1560. wrstandardname:
  1561. description: 品类名称
  1562. type: string
  1563. type: object
  1564. ermcp.QryBussinessJsRsp:
  1565. properties:
  1566. addmargin:
  1567. description: 追加保证金(非必填)
  1568. type: number
  1569. applyid:
  1570. description: 申请人
  1571. type: string
  1572. applyname:
  1573. description: 申请人名称
  1574. type: string
  1575. applystatus:
  1576. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1577. type: integer
  1578. applytime:
  1579. description: 申请时间
  1580. type: string
  1581. attachurl:
  1582. description: 附件
  1583. type: string
  1584. auditid:
  1585. description: 审核人ID
  1586. type: string
  1587. auditname:
  1588. description: 审核人名称
  1589. type: string
  1590. auditremark:
  1591. description: 审核备注
  1592. type: string
  1593. audittime:
  1594. description: 审核时间
  1595. type: string
  1596. buyusername:
  1597. description: 采购方名称
  1598. type: string
  1599. contractno:
  1600. description: 合同编号
  1601. type: string
  1602. contractstatus:
  1603. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1604. type: integer
  1605. contracttype:
  1606. description: 现货合同类型 - 1:采购 -1:销售
  1607. type: integer
  1608. decmargin:
  1609. description: 减少保证金(非必填)
  1610. type: number
  1611. deliverygoodscode:
  1612. description: 现货品种代码
  1613. type: string
  1614. deliverygoodsid:
  1615. description: 现货商品ID
  1616. type: integer
  1617. deliverygoodsname:
  1618. description: 现货品种名称
  1619. type: string
  1620. enumdicname:
  1621. description: 单位名称
  1622. type: string
  1623. goodscode:
  1624. description: 点价合约
  1625. type: string
  1626. goodsname:
  1627. description: 商品名称
  1628. type: string
  1629. operateapplyid:
  1630. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1631. type: string
  1632. operateapplytype:
  1633. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1634. type: integer
  1635. pricemove:
  1636. description: 升贴水
  1637. type: number
  1638. pricetype:
  1639. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1640. type: integer
  1641. reckonadjustamount:
  1642. description: 结算调整金额(非必填)
  1643. type: number
  1644. reckonosamount:
  1645. description: 结算溢短金额(非必填)
  1646. type: number
  1647. reckonotheramount:
  1648. description: 结算其他费用(非必填)
  1649. type: number
  1650. reckonrealqty:
  1651. description: 结算实际数量(非必填)
  1652. type: number
  1653. relatedid:
  1654. description: 现货合同ID
  1655. type: string
  1656. sellusername:
  1657. description: 销售方名字
  1658. type: string
  1659. userid:
  1660. description: 用户ID
  1661. type: integer
  1662. wrstandardcode:
  1663. description: 品类代码
  1664. type: string
  1665. wrstandardid:
  1666. description: 品类id
  1667. type: integer
  1668. wrstandardname:
  1669. description: 品类名称
  1670. type: string
  1671. type: object
  1672. ermcp.QryBussinessKxRsp:
  1673. properties:
  1674. applyid:
  1675. description: 申请人
  1676. type: string
  1677. applyname:
  1678. description: 申请人名称
  1679. type: string
  1680. applystatus:
  1681. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1682. type: integer
  1683. applytime:
  1684. description: 申请时间
  1685. type: string
  1686. attachurl:
  1687. description: 附件
  1688. type: string
  1689. auditid:
  1690. description: 审核人ID
  1691. type: string
  1692. auditname:
  1693. description: 审核人名称
  1694. type: string
  1695. auditremark:
  1696. description: 审核备注
  1697. type: string
  1698. audittime:
  1699. description: 审核时间
  1700. type: string
  1701. buyusername:
  1702. description: 采购方名称
  1703. type: string
  1704. contractno:
  1705. description: 合同编号
  1706. type: string
  1707. contractstatus:
  1708. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1709. type: integer
  1710. contracttype:
  1711. description: 现货合同类型 - 1:采购 -1:销售
  1712. type: integer
  1713. deductamount:
  1714. description: 退款(非必填)
  1715. type: number
  1716. deliverygoodscode:
  1717. description: 现货品种代码
  1718. type: string
  1719. deliverygoodsid:
  1720. description: 现货商品ID
  1721. type: integer
  1722. deliverygoodsname:
  1723. description: 现货品种名称
  1724. type: string
  1725. enumdicname:
  1726. description: 单位名称
  1727. type: string
  1728. goodscode:
  1729. description: 点价合约
  1730. type: string
  1731. goodsname:
  1732. description: 商品名称
  1733. type: string
  1734. kxtype:
  1735. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1736. type: integer
  1737. operateapplyid:
  1738. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1739. type: string
  1740. operateapplytype:
  1741. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1742. type: integer
  1743. payamount:
  1744. description: 收付款(非必填)
  1745. type: number
  1746. pricemove:
  1747. description: 升贴水
  1748. type: number
  1749. pricetype:
  1750. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1751. type: integer
  1752. relatedid:
  1753. description: 现货合同ID
  1754. type: string
  1755. sellusername:
  1756. description: 销售方名字
  1757. type: string
  1758. userid:
  1759. description: 用户ID
  1760. type: integer
  1761. wrstandardcode:
  1762. description: 品类代码
  1763. type: string
  1764. wrstandardid:
  1765. description: 品类id
  1766. type: integer
  1767. wrstandardname:
  1768. description: 品类名称
  1769. type: string
  1770. type: object
  1771. ermcp.QryGGCovertCfgRsp:
  1772. properties:
  1773. convertratio:
  1774. description: 折算系数
  1775. type: number
  1776. destgoodsgroupid:
  1777. description: 目标品种ID
  1778. type: integer
  1779. dstcode:
  1780. description: 目录品种代码
  1781. type: string
  1782. dstexchangecode:
  1783. description: 目标期货交易所
  1784. type: string
  1785. dstname:
  1786. description: 目标品种名称
  1787. type: string
  1788. dstunitid:
  1789. description: 目标品种单位ID
  1790. type: integer
  1791. dstunitidname:
  1792. description: 目标品种单位名称
  1793. type: string
  1794. modifytime:
  1795. description: 修改时间
  1796. type: string
  1797. srccode:
  1798. description: 源品种代码
  1799. type: string
  1800. srcexchangecode:
  1801. description: 源期货交易所
  1802. type: string
  1803. srcgoodsgroupid:
  1804. description: 源品种ID
  1805. type: integer
  1806. srcname:
  1807. description: 源品种名称
  1808. type: string
  1809. srcunitid:
  1810. description: 源品种单位ID
  1811. type: integer
  1812. srcunitidname:
  1813. description: 源品种单位名称
  1814. type: string
  1815. type: object
  1816. ermcp.QryMGChangeLogRsp:
  1817. properties:
  1818. aftervalue:
  1819. description: 变更后
  1820. type: number
  1821. applyid:
  1822. description: 操作人
  1823. type: integer
  1824. applyname:
  1825. description: 操作人名称
  1826. type: string
  1827. applysrc:
  1828. description: 操作来源 - 1:管理端 2:终端
  1829. type: integer
  1830. beforevalue:
  1831. description: 变更前
  1832. type: number
  1833. changelogtype:
  1834. description: 变更流水类型 - 1:套保比率变更
  1835. type: integer
  1836. handlestatus:
  1837. description: 处理状态
  1838. type: integer
  1839. logdatetime:
  1840. description: 流水日期
  1841. type: string
  1842. logid:
  1843. description: 流水ID
  1844. type: integer
  1845. logremark:
  1846. description: 流水备注
  1847. type: string
  1848. middlegoodsid:
  1849. description: 套保品种ID
  1850. type: integer
  1851. tradedate:
  1852. description: 交易日(yyyyMMdd)
  1853. type: string
  1854. updatetime:
  1855. description: 更新时间
  1856. type: string
  1857. type: object
  1858. ermcp.QryMiddleGoodsDetailRsp:
  1859. properties:
  1860. cvList:
  1861. description: 期货品种折算列表
  1862. items:
  1863. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1864. type: array
  1865. mg:
  1866. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1867. description: 套保品种基本信息
  1868. wrcList:
  1869. description: 现货品种列表(现货商品折算配置)
  1870. items:
  1871. $ref: '#/definitions/models.WRSConverTDetail'
  1872. type: array
  1873. type: object
  1874. ermcp.QryMiddleGoodsRsp:
  1875. properties:
  1876. areauserid:
  1877. description: 机构用户ID
  1878. type: integer
  1879. createtime:
  1880. description: 修改时间
  1881. type: string
  1882. enumdicname:
  1883. description: 单位名称
  1884. type: string
  1885. evaluateratio:
  1886. description: 估价系数
  1887. type: number
  1888. goodsgroupid:
  1889. description: 关联期货品种ID
  1890. type: integer
  1891. goodsunitid:
  1892. description: 单位ID
  1893. type: integer
  1894. isvalid:
  1895. description: 状态 0-无效(停用) 1-有效(正常)
  1896. type: integer
  1897. middlegoodscode:
  1898. description: 套保品种代码
  1899. type: string
  1900. middlegoodsid:
  1901. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  1902. type: integer
  1903. middlegoodsname:
  1904. description: 套保品种名称
  1905. type: string
  1906. modifytime:
  1907. description: 修改时间
  1908. type: string
  1909. needarbitrageratio:
  1910. description: 套利比例
  1911. type: number
  1912. needhedgeratio:
  1913. description: 套保比率
  1914. type: number
  1915. qtydecimalplace:
  1916. description: 数量小数位
  1917. type: integer
  1918. relatedgoodsid:
  1919. description: 关联交易商品ID
  1920. type: integer
  1921. relatedgoodstype:
  1922. description: 关联商品类型 - 1:期货合约 2:现货品种
  1923. type: integer
  1924. remark:
  1925. description: 备注
  1926. type: string
  1927. type: object
  1928. ermcp.QryOPLogRsp:
  1929. properties:
  1930. aftervalue:
  1931. description: 变更后
  1932. type: number
  1933. applyid:
  1934. description: 操作人ID
  1935. type: string
  1936. applyname:
  1937. description: 操作人名称
  1938. type: string
  1939. beforevalue:
  1940. description: 变更前
  1941. type: number
  1942. biztype:
  1943. description: 业务类型 - 1:套保计划 2:现货合同
  1944. type: integer
  1945. contracttype:
  1946. description: 现货合同类型 - 1:采购 -1:销售
  1947. type: integer
  1948. logvalue:
  1949. description: 数值
  1950. type: number
  1951. operatelogtype:
  1952. description: 操作流水类型
  1953. type: integer
  1954. operatelogtypedesc:
  1955. description: 操作流水类型名称
  1956. type: string
  1957. relatedid:
  1958. description: 现货合同ID\套保计划
  1959. type: string
  1960. updatetime:
  1961. description: 更新时间
  1962. type: string
  1963. type: object
  1964. ermcp.QryUserInfoRsp:
  1965. properties:
  1966. address:
  1967. description: 通讯地址
  1968. type: string
  1969. attachment1:
  1970. description: 附件1
  1971. type: string
  1972. audittime:
  1973. description: 审核时间
  1974. type: string
  1975. cardbackphotourl:
  1976. description: 证件反面图片地址
  1977. type: string
  1978. cardfrontphotourl:
  1979. description: 证件正面图片地址
  1980. type: string
  1981. cardnum:
  1982. description: 证件号码
  1983. type: string
  1984. cardtype:
  1985. description: 证件类型
  1986. type: integer
  1987. cardtypename:
  1988. description: 证件类型名称
  1989. type: string
  1990. cityid:
  1991. description: 市
  1992. type: integer
  1993. contactname:
  1994. description: 联系人
  1995. type: string
  1996. countryid:
  1997. description: 国家
  1998. type: integer
  1999. createtime:
  2000. description: 创建时间
  2001. type: string
  2002. customername:
  2003. description: 企业名称
  2004. type: string
  2005. districtid:
  2006. description: 区域
  2007. type: integer
  2008. email:
  2009. description: 邮件
  2010. type: string
  2011. legalpersonname:
  2012. description: 法人姓名(企业)
  2013. type: string
  2014. memberuserid:
  2015. description: 所属机构ID
  2016. type: integer
  2017. mobile:
  2018. description: 手机号码
  2019. type: string
  2020. modifytime:
  2021. description: 修改时间
  2022. type: string
  2023. nickname:
  2024. description: 昵称
  2025. type: string
  2026. provinceid:
  2027. description: 省
  2028. type: integer
  2029. remark:
  2030. description: 备注
  2031. type: string
  2032. status:
  2033. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  2034. type: integer
  2035. statusdesc:
  2036. description: 账户状态中文描述
  2037. type: string
  2038. taxpayernum:
  2039. description: 纳税人识别号
  2040. type: string
  2041. telphone:
  2042. description: 联系电话
  2043. type: string
  2044. userid:
  2045. description: 用户ID
  2046. type: integer
  2047. userinfotype:
  2048. description: 客户类型
  2049. type: string
  2050. type: object
  2051. ermcp.QryWarehouseRsp:
  2052. properties:
  2053. address:
  2054. description: 详细地址
  2055. type: string
  2056. areauserid:
  2057. description: 所属机构
  2058. type: integer
  2059. autoid:
  2060. description: 自增ID(仓库ID)
  2061. type: integer
  2062. cityid:
  2063. description: 市
  2064. type: integer
  2065. contactname:
  2066. description: 联系人
  2067. type: string
  2068. contactnum:
  2069. description: 联系电话
  2070. type: string
  2071. countryid:
  2072. description: 国家
  2073. type: integer
  2074. createtime:
  2075. description: 创建时间
  2076. type: string
  2077. districtid:
  2078. description: 区
  2079. type: integer
  2080. hasvideo:
  2081. description: 是否有视频 - 0:无 1:有
  2082. type: integer
  2083. provinceid:
  2084. description: 省
  2085. type: integer
  2086. remark:
  2087. description: 审核备注
  2088. type: string
  2089. videourl:
  2090. description: 视频地址
  2091. type: string
  2092. warehousecode:
  2093. description: 仓库代码
  2094. type: string
  2095. warehousename:
  2096. description: 仓库名称
  2097. type: string
  2098. warehousestatus:
  2099. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  2100. type: integer
  2101. warehousetype:
  2102. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2103. type: integer
  2104. type: object
  2105. ermcp.QueryErmcpTradePositionRsp:
  2106. properties:
  2107. agreeunit:
  2108. description: 合约单位
  2109. type: number
  2110. buyorsell:
  2111. description: 方向 - 0:买 1:卖
  2112. type: integer
  2113. curpositionqty:
  2114. description: 持仓(总仓数量, 期末头寸)
  2115. type: integer
  2116. curtdposition:
  2117. description: 今仓数量(期末今日头寸)
  2118. type: integer
  2119. curtdpositionenabled:
  2120. description: 今仓可用
  2121. type: integer
  2122. decimalplace:
  2123. description: 报价小数位
  2124. type: integer
  2125. enableqty:
  2126. description: 可用(总仓可用)
  2127. type: integer
  2128. exexchangename:
  2129. description: 外部交易所名称
  2130. type: string
  2131. exexehangecode:
  2132. description: 外部交易所代码
  2133. type: string
  2134. exexehangeid:
  2135. description: 外部交易所id
  2136. type: integer
  2137. goodscode:
  2138. description: 商品代码(内部)
  2139. type: string
  2140. goodsid:
  2141. description: 商品ID(自增ID SEQ_GOODS)
  2142. type: integer
  2143. goodsname:
  2144. description: 商品名称
  2145. type: string
  2146. last:
  2147. description: 现价
  2148. type: number
  2149. marketid:
  2150. description: 所属市场ID
  2151. type: integer
  2152. openaverageprice:
  2153. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  2154. type: number
  2155. opencost:
  2156. description: 开仓成本
  2157. type: number
  2158. openpl:
  2159. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  2160. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2161. type: number
  2162. outgoodscode:
  2163. description: 商品代码(外部)
  2164. type: string
  2165. positionaverageprice:
  2166. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  2167. type: number
  2168. positioncost:
  2169. description: 持仓成本
  2170. type: number
  2171. positionpl:
  2172. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  2173. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2174. type: number
  2175. positionplrate:
  2176. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  2177. type: number
  2178. usedmargin:
  2179. description: 占用保证金
  2180. type: number
  2181. type: object
  2182. ermcp.RealtimeExposurePositionRsp:
  2183. properties:
  2184. accountid:
  2185. description: 资金账号(只有外部账号才有值, 内部账号是根据userid汇总的)
  2186. type: integer
  2187. agreeunit:
  2188. description: 合约单位
  2189. type: string
  2190. areauserid:
  2191. description: 所属机构id
  2192. type: integer
  2193. convertratio:
  2194. description: 期货品种系数(折算系数)
  2195. type: number
  2196. curqty:
  2197. description: 当前持仓
  2198. type: integer
  2199. diffhedgeqty:
  2200. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  2201. type: number
  2202. diffqty:
  2203. description: 持仓变动量=当前持仓-昨日持仓
  2204. type: integer
  2205. goodscode:
  2206. description: 商品代码
  2207. type: string
  2208. goodsid:
  2209. description: 商品id
  2210. type: integer
  2211. goodsname:
  2212. description: 商品名称
  2213. type: string
  2214. hedgeaccountcode:
  2215. description: 对冲账号(只有外部账号才有值)
  2216. type: string
  2217. middlegoodsid:
  2218. description: 套保商品id
  2219. type: integer
  2220. ydqty:
  2221. description: 昨日持仓
  2222. type: integer
  2223. type: object
  2224. ermcp.RealtimeExposureRsp:
  2225. properties:
  2226. AreaUserID:
  2227. description: 所属机构
  2228. type: integer
  2229. BuyFutureQty:
  2230. description: 买入期货数量
  2231. type: number
  2232. BuyPlanQty:
  2233. description: 采购计划数量
  2234. type: number
  2235. BuyPricedQty:
  2236. description: 采购合同已定价数量
  2237. type: number
  2238. MiddleGoodsCode:
  2239. description: 套保品种代码
  2240. type: string
  2241. MiddleGoodsHedgeRatio:
  2242. description: 套保比例
  2243. type: number
  2244. MiddleGoodsID:
  2245. description: 套保品种
  2246. type: integer
  2247. MiddleGoodsName:
  2248. description: 套保品种名称
  2249. type: string
  2250. NeedHedgeExposoure:
  2251. description: 应套保敞口(套保敞口)
  2252. type: number
  2253. NeedHedgeRatio:
  2254. description: 应套保敞口比例
  2255. type: number
  2256. OriBuyFutureQty:
  2257. description: 期初买入期货数量
  2258. type: number
  2259. OriBuyPlanQty:
  2260. description: 期初采购计划数量
  2261. type: number
  2262. OriBuyPricedQty:
  2263. description: 期初采购合同已定价数量
  2264. type: number
  2265. OriSellFutureQty:
  2266. description: 期初卖出期货数量
  2267. type: number
  2268. OriSellPlanQty:
  2269. description: 期初销售计划数量
  2270. type: number
  2271. OriSellPricedQty:
  2272. description: 期初销售合同已定价数量
  2273. type: number
  2274. OriTotalSpotQty:
  2275. description: 期初现货总量
  2276. type: number
  2277. SellFutureQty:
  2278. description: 卖出期货数量
  2279. type: number
  2280. SellPlanQty:
  2281. description: 销售计划数量
  2282. type: number
  2283. SellPricedQty:
  2284. description: 销售合同已定价数量
  2285. type: number
  2286. TotalExposure:
  2287. description: 总敞口 平安:净敞口
  2288. type: number
  2289. TotalFutureQty:
  2290. description: 期货总量 平安:保值净持仓量
  2291. type: number
  2292. TotalHedgeRatio:
  2293. description: 敞口比例
  2294. type: number
  2295. TotalNeedHedgeQty:
  2296. description: 应套保总量(现货应套保总量)
  2297. type: number
  2298. TotalSpotQty:
  2299. description: 现货总量 平安:采销定价净值
  2300. type: number
  2301. arbitrageqty:
  2302. description: 套利量
  2303. type: number
  2304. diffArbitrageQty:
  2305. description: 套利变动量
  2306. type: number
  2307. diffExposoureQty:
  2308. description: 变动量(套保敞口)
  2309. type: number
  2310. diffFutuQty:
  2311. description: 变动量(期货总量) 平安:保值净持仓量今日变动
  2312. type: number
  2313. diffHedgeQty:
  2314. description: 套保变动量
  2315. type: number
  2316. diffQty:
  2317. description: 变动量(总敞口) 平安:净敞口今日变动
  2318. type: number
  2319. diffSpotHedgeQty:
  2320. description: 变动量(现货应套保总量) 平安:应套保量今日变动
  2321. type: number
  2322. diffSpotQty:
  2323. description: 变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动
  2324. type: number
  2325. enumdicname:
  2326. description: 单位名称
  2327. type: string
  2328. hedgeqty:
  2329. description: 套保量
  2330. type: number
  2331. needarbitrageqty:
  2332. description: 应套利量
  2333. type: number
  2334. needarbitrageratio:
  2335. description: 套利比例
  2336. type: number
  2337. needhedgeqty:
  2338. description: 应套保量
  2339. type: number
  2340. oriarbitrageqty:
  2341. description: 期初套利量
  2342. type: number
  2343. orihedgeqty:
  2344. description: 期初套保量
  2345. type: number
  2346. orineedhedgeexposoure:
  2347. description: 期初套保敞口
  2348. type: number
  2349. oritotalexposure:
  2350. description: 期初总敞口
  2351. type: number
  2352. oritotalfutureqty:
  2353. description: 期初期货总量
  2354. type: number
  2355. oritotalneedhedgeqty:
  2356. description: 期初现货应套保量
  2357. type: number
  2358. type: object
  2359. erms2.QueryArbitrageStrategyRsp:
  2360. properties:
  2361. applybasis:
  2362. description: 申请基差
  2363. type: number
  2364. asapplyid:
  2365. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2366. type: string
  2367. asname:
  2368. description: 策略名称
  2369. type: string
  2370. asno:
  2371. description: 策略编号
  2372. type: string
  2373. basischangepl:
  2374. description: 基差变动损益[结算更新]
  2375. type: number
  2376. biztype:
  2377. description: 业务类型 - 1:正向套利 -1:反向套利
  2378. type: integer
  2379. closetradedate:
  2380. description: 完结交易日(yyyyMMdd)
  2381. type: string
  2382. curbasis:
  2383. description: 当前基差[结算更新]
  2384. type: number
  2385. deliverygoodsid:
  2386. description: 现货品种ID
  2387. type: integer
  2388. futureavgprice:
  2389. description: 期货建仓均价
  2390. type: number
  2391. futurecloseamount:
  2392. description: 期货平仓金额
  2393. type: number
  2394. futurecloseqty:
  2395. description: 期货平仓数量
  2396. type: number
  2397. futureopenamount:
  2398. description: 期货开仓金额
  2399. type: number
  2400. futureopenqty:
  2401. description: 期货开仓数量
  2402. type: number
  2403. futurepl:
  2404. description: 期货总盈亏[结算更新]
  2405. type: number
  2406. futureqty:
  2407. description: 期货持仓数量
  2408. type: number
  2409. futurequote:
  2410. description: 期货额度
  2411. type: number
  2412. goodsgroupid:
  2413. description: 期货品种ID
  2414. type: integer
  2415. marketid:
  2416. description: 市场ID
  2417. type: integer
  2418. netexposure:
  2419. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2420. type: number
  2421. netexposurepl:
  2422. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2423. type: number
  2424. netexposurerate:
  2425. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2426. type: number
  2427. openbasis:
  2428. description: 建仓基差
  2429. type: number
  2430. pricedspotqty:
  2431. description: 已定价现货数量
  2432. type: number
  2433. pricedspotqtynotax:
  2434. description: 已定价现货不含税数量
  2435. type: number
  2436. remark:
  2437. description: 备注
  2438. type: string
  2439. spotavgprice:
  2440. description: 现货均价
  2441. type: number
  2442. spotbuyamount:
  2443. description: 现货采购金额
  2444. type: number
  2445. spotbuyqty:
  2446. description: 现货采购数量
  2447. type: number
  2448. spotpl:
  2449. description: 现货总盈亏[结算更新]
  2450. type: number
  2451. spotquota:
  2452. description: 现货额度
  2453. type: number
  2454. spotsellamount:
  2455. description: 现货销售金额
  2456. type: number
  2457. spotsellqty:
  2458. description: 现货销售数量
  2459. type: number
  2460. spotusedquota:
  2461. description: 现货占用资金
  2462. type: number
  2463. strategystatus:
  2464. description: 策略状态 - 0:未结束 1:已结束
  2465. type: integer
  2466. totalpl:
  2467. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2468. type: number
  2469. tradedate:
  2470. description: 交易日(yyyyMMdd)
  2471. type: string
  2472. updatetime:
  2473. description: 更新时间
  2474. type: string
  2475. usedquota:
  2476. description: 已占用资金
  2477. type: number
  2478. userid:
  2479. description: 所属机构
  2480. type: integer
  2481. required:
  2482. - asapplyid
  2483. type: object
  2484. erms2.QueryInnerTradeDetailRsp:
  2485. properties:
  2486. accountid:
  2487. description: 账号ID
  2488. type: integer
  2489. agreeunit:
  2490. description: 合约单位
  2491. type: number
  2492. asapplyid:
  2493. description: 策略申请ID
  2494. type: integer
  2495. asname:
  2496. description: 策略名称
  2497. type: string
  2498. asno:
  2499. description: 策略编号
  2500. type: string
  2501. buyorsell:
  2502. description: 方向 - 0:买 1:卖
  2503. type: integer
  2504. channelbuildtype:
  2505. description: 委托单据类型 0:无 1:建仓 2:平仓
  2506. type: integer
  2507. closetype:
  2508. description: 平仓方式 - 0:无 1:平今 2:平昨
  2509. type: integer
  2510. decimalplace:
  2511. description: 报价小数位
  2512. type: integer
  2513. detailtype:
  2514. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2515. type: integer
  2516. exexchangecode:
  2517. description: 外部交易所代码
  2518. type: string
  2519. exexchangename:
  2520. description: 外部交易所名称
  2521. type: string
  2522. goodscode:
  2523. description: 商品代码(合约)
  2524. type: string
  2525. goodsgroupid:
  2526. description: 商品组ID(品种ID)
  2527. type: integer
  2528. goodsgroupname:
  2529. description: 商品组名称(品种)
  2530. type: string
  2531. goodsid:
  2532. description: 商品ID
  2533. type: integer
  2534. goodsname:
  2535. description: 商品名称(合约)
  2536. type: string
  2537. goodunit:
  2538. description: 报价单位
  2539. type: string
  2540. marketid:
  2541. description: 市场ID
  2542. type: integer
  2543. orderid:
  2544. description: 委托单号
  2545. type: string
  2546. outgoodscode:
  2547. description: 商品代码(外部)
  2548. type: string
  2549. relatedouttradeid:
  2550. description: 关联外部成交单ID
  2551. type: string
  2552. remark:
  2553. description: 备注
  2554. type: string
  2555. spotcontractid:
  2556. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2557. type: integer
  2558. spotcontractno:
  2559. description: 现货合同编号
  2560. type: string
  2561. tradeid:
  2562. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2563. type: string
  2564. tradeprice:
  2565. description: 成交价格
  2566. type: number
  2567. tradeqty:
  2568. description: 成交数量
  2569. type: integer
  2570. tradetime:
  2571. description: 成交时间
  2572. type: string
  2573. updatetime:
  2574. description: 更新时间
  2575. type: string
  2576. required:
  2577. - asapplyid
  2578. - buyorsell
  2579. - goodscode
  2580. - goodsgroupid
  2581. - goodsgroupname
  2582. - goodsname
  2583. - tradeid
  2584. type: object
  2585. erms2.QuerySpotContractRsp:
  2586. properties:
  2587. accountid:
  2588. description: 资金账户ID
  2589. type: integer
  2590. areauserid:
  2591. description: 所属机构
  2592. type: integer
  2593. closedate:
  2594. description: 终止日期
  2595. type: string
  2596. closeremark:
  2597. description: 结束备注
  2598. type: string
  2599. closetradedate:
  2600. description: 完结交易日(yyyyMMdd)
  2601. type: string
  2602. closetype:
  2603. description: 终止类型 - 1:违约 2:提前终止
  2604. type: integer
  2605. contractamount:
  2606. description: 合同金额
  2607. type: number
  2608. contractattachment:
  2609. description: 合同附件
  2610. type: string
  2611. contractno:
  2612. description: 现货合同编号
  2613. type: string
  2614. contractqty:
  2615. description: 合同数量(数值) (用于计算)
  2616. type: number
  2617. contractqtychar:
  2618. description: 合同数量\已订价数量 (用于显示)
  2619. type: string
  2620. contractstatus:
  2621. description: 合同状态 - 0:未结束 1:已结束
  2622. type: integer
  2623. contracttype:
  2624. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2625. type: integer
  2626. customeraccountid:
  2627. description: 客户资金账户ID
  2628. type: integer
  2629. customeruserid:
  2630. description: 客户ID
  2631. type: integer
  2632. deliverygoodsdesc:
  2633. description: 品种说明
  2634. type: string
  2635. deliverygoodsid:
  2636. description: 现货品种ID
  2637. type: integer
  2638. handlestatus:
  2639. description: 处理状态
  2640. type: integer
  2641. invoiceatt:
  2642. description: 发票附件
  2643. type: string
  2644. invoicedatetime:
  2645. description: 开收票更新时间
  2646. type: string
  2647. invoiceopentime:
  2648. description: 开票时间
  2649. type: string
  2650. invoiceremark:
  2651. description: 发票备注
  2652. type: string
  2653. invoicestatus:
  2654. description: 开收票状态 - 0:未开票 1:已开票
  2655. type: integer
  2656. lastdate:
  2657. description: 交货时间
  2658. type: string
  2659. marketid:
  2660. description: 市场ID
  2661. type: integer
  2662. paydatetime:
  2663. description: 收付款更新时间
  2664. type: string
  2665. payremark:
  2666. description: 收付款备注
  2667. type: string
  2668. paystatus:
  2669. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  2670. type: integer
  2671. positionqty:
  2672. description: 头寸数量 - 合同数量去小数部分
  2673. type: integer
  2674. producttype:
  2675. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2676. type: integer
  2677. relatedqty:
  2678. description: 已关联数量
  2679. type: number
  2680. relatedstatus:
  2681. description: 关联完结状态 - 0:未结束 1:已结束
  2682. type: integer
  2683. remark:
  2684. description: 备注
  2685. type: string
  2686. signdate:
  2687. description: 签订日期
  2688. type: string
  2689. spotcontractid:
  2690. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  2691. type: string
  2692. spotdatetime:
  2693. description: 收发货更新时间
  2694. type: string
  2695. spotprice:
  2696. description: 价格
  2697. type: number
  2698. spotremark:
  2699. description: 收发货备注
  2700. type: string
  2701. spotstatus:
  2702. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  2703. type: integer
  2704. tradedate:
  2705. description: 交易日(yyyyMMdd)
  2706. type: string
  2707. userid:
  2708. description: 业务员用户ID
  2709. type: integer
  2710. warehouseid:
  2711. description: 仓库ID
  2712. type: integer
  2713. wrfactortypeid:
  2714. description: 仓单要素类型ID
  2715. type: integer
  2716. wrstandardid:
  2717. description: 仓单标准ID(SEQ_WRSTANDARD)
  2718. type: integer
  2719. required:
  2720. - spotcontractid
  2721. type: object
  2722. erms3.AddErms2ASApplyReq:
  2723. properties:
  2724. applybasis:
  2725. description: 申请基差
  2726. type: number
  2727. applystatus:
  2728. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2729. type: integer
  2730. asapplyid:
  2731. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  2732. type: integer
  2733. asname:
  2734. description: 策略名称
  2735. type: string
  2736. asno:
  2737. description: 策略编号
  2738. type: string
  2739. auditid:
  2740. description: 审核人
  2741. type: integer
  2742. auditremark:
  2743. description: 审核备注
  2744. type: string
  2745. audittime:
  2746. description: 审核时间
  2747. type: string
  2748. biztype:
  2749. description: 业务类型 - 1:正向套利 2:反向套利
  2750. type: integer
  2751. createtime:
  2752. description: 创建时间
  2753. type: string
  2754. creatorid:
  2755. description: 创建人
  2756. type: integer
  2757. deliverygoodsid:
  2758. description: 现货品种ID
  2759. type: integer
  2760. futurequote:
  2761. description: 期货额度
  2762. type: number
  2763. goodsgroupid:
  2764. description: 期货品种ID
  2765. type: integer
  2766. marketid:
  2767. description: 市场ID
  2768. type: integer
  2769. remark:
  2770. description: 备注
  2771. type: string
  2772. spotquota:
  2773. description: 现货额度
  2774. type: number
  2775. tradedate:
  2776. description: 交易日(yyyyMMdd)
  2777. type: string
  2778. userid:
  2779. description: 所属机构
  2780. type: integer
  2781. required:
  2782. - asapplyid
  2783. type: object
  2784. erms3.AddErms2SpotTradeApplyReq:
  2785. properties:
  2786. applyjsondetail:
  2787. description: 申请明细(JSON)
  2788. type: string
  2789. applystatus:
  2790. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2791. type: integer
  2792. areauserid:
  2793. description: 所属机构
  2794. type: integer
  2795. auditid:
  2796. description: 审核人
  2797. type: integer
  2798. auditremark:
  2799. description: 审核备注
  2800. type: string
  2801. audittime:
  2802. description: 审核时间
  2803. type: string
  2804. createtime:
  2805. description: 创建时间
  2806. type: string
  2807. creatorid:
  2808. description: 创建人
  2809. type: integer
  2810. deliverygoodsid:
  2811. description: 现货品种ID
  2812. type: integer
  2813. futureaccountid:
  2814. description: 期货资金账户
  2815. type: integer
  2816. goodsgroupid:
  2817. description: 期货品种
  2818. type: integer
  2819. marketid:
  2820. description: 市场ID
  2821. type: integer
  2822. remark:
  2823. description: 备注
  2824. type: string
  2825. spotaccountid:
  2826. description: 现货资金账户
  2827. type: integer
  2828. spottradeid:
  2829. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2830. type: integer
  2831. spottradename:
  2832. description: 业务名称
  2833. type: string
  2834. spottradeno:
  2835. description: 业务编号
  2836. type: string
  2837. tradedate:
  2838. description: 交易日(yyyyMMdd)
  2839. type: string
  2840. wrstandardid:
  2841. description: 仓单标准ID
  2842. type: integer
  2843. required:
  2844. - spottradeid
  2845. type: object
  2846. erms3.AddSpotContractApplyReq:
  2847. properties:
  2848. accountid:
  2849. description: 资金账户ID
  2850. type: integer
  2851. areauserid:
  2852. description: 所属机构
  2853. type: integer
  2854. contractattachment:
  2855. description: 合同附件
  2856. type: string
  2857. contractno:
  2858. description: 现货合同编号
  2859. type: string
  2860. contracttype:
  2861. description: 现货合同类型 - 1:采购 -1:销售
  2862. type: integer
  2863. creatorid:
  2864. description: 申请人
  2865. type: integer
  2866. customeraccountid:
  2867. description: 客户资金账户ID
  2868. type: integer
  2869. customeruserid:
  2870. description: 客户ID
  2871. type: integer
  2872. details:
  2873. description: 明细
  2874. items:
  2875. $ref: '#/definitions/erms3.SoptContractDetail'
  2876. type: array
  2877. orimargin:
  2878. description: 初始保证金
  2879. type: number
  2880. remark:
  2881. description: 备注
  2882. type: string
  2883. signdate:
  2884. description: 签订日期
  2885. type: string
  2886. required:
  2887. - accountid
  2888. - areauserid
  2889. - contractno
  2890. - contracttype
  2891. - customeraccountid
  2892. - customeruserid
  2893. - details
  2894. - orimargin
  2895. - signdate
  2896. type: object
  2897. erms3.AddSpotContractApplyRsp:
  2898. properties:
  2899. contractno:
  2900. description: 现货合同编号
  2901. type: string
  2902. spotcontractid:
  2903. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2904. type: integer
  2905. required:
  2906. - contractno
  2907. type: object
  2908. erms3.AddUserInfoApplyReq:
  2909. properties:
  2910. accountid:
  2911. description: 交易系统帐号Id (加密存储)
  2912. type: integer
  2913. areacode:
  2914. description: 机构代码
  2915. type: string
  2916. areaid:
  2917. description: 机构Id
  2918. type: integer
  2919. attachment1:
  2920. description: 附件1
  2921. type: string
  2922. attachment2:
  2923. description: 附件2
  2924. type: string
  2925. attachment3:
  2926. description: 附件3
  2927. type: string
  2928. attachment4:
  2929. description: 附件4
  2930. type: string
  2931. attachment5:
  2932. description: 附件5
  2933. type: string
  2934. auditedby:
  2935. description: 审核人
  2936. type: string
  2937. auditime:
  2938. description: 审核时间
  2939. type: string
  2940. auditsrc:
  2941. description: 审核来源 - 1:管理端 2:终端
  2942. type: integer
  2943. bankaccount:
  2944. description: 银行帐号 (加密存储)
  2945. type: string
  2946. bankaccountname:
  2947. description: 收款人名称
  2948. type: string
  2949. bankcardbackphotourl:
  2950. description: 银行卡背面照地址
  2951. type: string
  2952. bankcardfrontphotourl:
  2953. description: 银行卡正面照地址
  2954. type: string
  2955. bankid:
  2956. description: 银行编码
  2957. type: string
  2958. bankname:
  2959. description: 银行名称
  2960. type: string
  2961. bankpictureurl:
  2962. description: 银行卡正面地址
  2963. type: string
  2964. biznature:
  2965. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2966. type: integer
  2967. bizscope:
  2968. description: 企业经营范围(企业)
  2969. type: string
  2970. biztype:
  2971. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2972. type: integer
  2973. brokerid:
  2974. description: 经纪人ID(加密存储)
  2975. type: string
  2976. cardaddress:
  2977. description: 证件地址 (加密存储)
  2978. type: string
  2979. cardbackphotourl:
  2980. description: 背面证件照地址
  2981. type: string
  2982. cardfrontphotourl:
  2983. description: 正面证件照地址
  2984. type: string
  2985. cardnum:
  2986. description: 证件号码 (加密存储)
  2987. type: string
  2988. cardtype:
  2989. description: 证件类型
  2990. type: integer
  2991. cityid:
  2992. description: 市
  2993. type: integer
  2994. company:
  2995. description: 公司(个人)
  2996. type: string
  2997. contactcardbackphotourl:
  2998. description: 联系人证件背面图片地址
  2999. type: string
  3000. contactcardfrontphotourl:
  3001. description: 联系人证件正面图片地址
  3002. type: string
  3003. contactname:
  3004. description: 联系人
  3005. type: string
  3006. countryid:
  3007. description: 国家
  3008. type: integer
  3009. createtime:
  3010. description: 开户申请时间
  3011. type: string
  3012. cusbankid:
  3013. description: 签约类型
  3014. type: string
  3015. cusbankname:
  3016. description: 签约类型名称
  3017. type: string
  3018. customername:
  3019. description: 客户名称(企业名称)
  3020. type: string
  3021. districtid:
  3022. description: 地区
  3023. type: integer
  3024. email:
  3025. description: Email地址(加密存储)
  3026. type: string
  3027. halfbodyphotourl:
  3028. description: 半身照地址
  3029. type: string
  3030. headurl:
  3031. description: 头像地址
  3032. type: string
  3033. ipaddress:
  3034. description: IP地址
  3035. type: string
  3036. isvalidate:
  3037. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3038. type: string
  3039. legalcardbackphotourl:
  3040. description: 法人身份证背面照地址
  3041. type: string
  3042. legalcardfrontphotourl:
  3043. description: 法人身份证正面照地址
  3044. type: string
  3045. legalpersonname:
  3046. description: 法人姓名(企业)
  3047. type: string
  3048. logincode:
  3049. description: 登录帐号 (加密存储)
  3050. type: string
  3051. memberareaid:
  3052. description: 所属会员ID
  3053. type: integer
  3054. mobile2:
  3055. description: 手机号码[明文-尚志]
  3056. type: string
  3057. mobilephone:
  3058. description: 手机号码 (加密存储)
  3059. type: string
  3060. modifiedby:
  3061. description: 修改人帐号
  3062. type: integer
  3063. modifiedtime:
  3064. description: 修改时间
  3065. type: string
  3066. nickname:
  3067. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3068. type: string
  3069. openmode:
  3070. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3071. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3072. type: integer
  3073. otherurl:
  3074. description: 其它图片地址[使用分号分隔]
  3075. type: string
  3076. postalcode:
  3077. description: 邮政编码
  3078. type: string
  3079. provinceid:
  3080. description: 省
  3081. type: integer
  3082. proxystatementurl:
  3083. description: 授权委托书
  3084. type: string
  3085. qq:
  3086. description: QQ(加密存储
  3087. type: string
  3088. referral:
  3089. description: 推荐人编码
  3090. type: string
  3091. remark:
  3092. description: 备注
  3093. type: string
  3094. removebeforestatus:
  3095. description: REMOVEBEFORESTATUS
  3096. type: integer
  3097. sex:
  3098. description: 性别 - 0:女 1:男
  3099. type: integer
  3100. signedstatus:
  3101. description: 账户一号签签约状态
  3102. type: integer
  3103. signpdfurl:
  3104. description: 签约pdf文件
  3105. type: string
  3106. subbranch:
  3107. description: 开户支行
  3108. type: string
  3109. taxpayernum:
  3110. description: 纳税人识别号
  3111. type: string
  3112. telphone:
  3113. description: 联系电话(加密存储)
  3114. type: string
  3115. userid:
  3116. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3117. type: integer
  3118. userinfotype:
  3119. description: 用户信息类型 - 1:个人 2:企业
  3120. type: integer
  3121. username:
  3122. description: 用户姓名
  3123. type: string
  3124. userstate:
  3125. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3126. type: integer
  3127. usertype:
  3128. description: 用户类型 - 1:投资者 2:机构
  3129. type: integer
  3130. videourl:
  3131. description: 视频地址
  3132. type: string
  3133. wechat:
  3134. description: 微信号 (加密存储)
  3135. type: string
  3136. required:
  3137. - userid
  3138. type: object
  3139. erms3.CustomerInfo:
  3140. properties:
  3141. accountids:
  3142. description: 资金账户ID列表
  3143. items:
  3144. type: integer
  3145. type: array
  3146. customername:
  3147. description: 名称(企业名称)
  3148. type: string
  3149. mobile:
  3150. description: 手机号码
  3151. type: string
  3152. userid:
  3153. description: 用户ID
  3154. type: integer
  3155. required:
  3156. - userid
  3157. type: object
  3158. erms3.ModifyUserInfoApplyReq:
  3159. properties:
  3160. accountid:
  3161. description: 交易系统帐号Id (加密存储)
  3162. type: integer
  3163. areacode:
  3164. description: 机构代码
  3165. type: string
  3166. areaid:
  3167. description: 机构Id
  3168. type: integer
  3169. attachment1:
  3170. description: 附件1
  3171. type: string
  3172. attachment2:
  3173. description: 附件2
  3174. type: string
  3175. attachment3:
  3176. description: 附件3
  3177. type: string
  3178. attachment4:
  3179. description: 附件4
  3180. type: string
  3181. attachment5:
  3182. description: 附件5
  3183. type: string
  3184. auditedby:
  3185. description: 审核人
  3186. type: string
  3187. auditime:
  3188. description: 审核时间
  3189. type: string
  3190. auditsrc:
  3191. description: 审核来源 - 1:管理端 2:终端
  3192. type: integer
  3193. bankaccount:
  3194. description: 银行帐号 (加密存储)
  3195. type: string
  3196. bankaccountname:
  3197. description: 收款人名称
  3198. type: string
  3199. bankcardbackphotourl:
  3200. description: 银行卡背面照地址
  3201. type: string
  3202. bankcardfrontphotourl:
  3203. description: 银行卡正面照地址
  3204. type: string
  3205. bankid:
  3206. description: 银行编码
  3207. type: string
  3208. bankname:
  3209. description: 银行名称
  3210. type: string
  3211. bankpictureurl:
  3212. description: 银行卡正面地址
  3213. type: string
  3214. biznature:
  3215. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3216. type: integer
  3217. bizscope:
  3218. description: 企业经营范围(企业)
  3219. type: string
  3220. biztype:
  3221. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3222. type: integer
  3223. brokerid:
  3224. description: 经纪人ID(加密存储)
  3225. type: string
  3226. cardaddress:
  3227. description: 证件地址 (加密存储)
  3228. type: string
  3229. cardbackphotourl:
  3230. description: 背面证件照地址
  3231. type: string
  3232. cardfrontphotourl:
  3233. description: 正面证件照地址
  3234. type: string
  3235. cardnum:
  3236. description: 证件号码 (加密存储)
  3237. type: string
  3238. cardtype:
  3239. description: 证件类型
  3240. type: integer
  3241. cityid:
  3242. description: 市
  3243. type: integer
  3244. company:
  3245. description: 公司(个人)
  3246. type: string
  3247. contactcardbackphotourl:
  3248. description: 联系人证件背面图片地址
  3249. type: string
  3250. contactcardfrontphotourl:
  3251. description: 联系人证件正面图片地址
  3252. type: string
  3253. contactname:
  3254. description: 联系人
  3255. type: string
  3256. countryid:
  3257. description: 国家
  3258. type: integer
  3259. createtime:
  3260. description: 开户申请时间
  3261. type: string
  3262. cusbankid:
  3263. description: 签约类型
  3264. type: string
  3265. cusbankname:
  3266. description: 签约类型名称
  3267. type: string
  3268. customername:
  3269. description: 客户名称(企业名称)
  3270. type: string
  3271. districtid:
  3272. description: 地区
  3273. type: integer
  3274. email:
  3275. description: Email地址(加密存储)
  3276. type: string
  3277. halfbodyphotourl:
  3278. description: 半身照地址
  3279. type: string
  3280. headurl:
  3281. description: 头像地址
  3282. type: string
  3283. ipaddress:
  3284. description: IP地址
  3285. type: string
  3286. isvalidate:
  3287. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3288. type: string
  3289. legalcardbackphotourl:
  3290. description: 法人身份证背面照地址
  3291. type: string
  3292. legalcardfrontphotourl:
  3293. description: 法人身份证正面照地址
  3294. type: string
  3295. legalpersonname:
  3296. description: 法人姓名(企业)
  3297. type: string
  3298. logincode:
  3299. description: 登录帐号 (加密存储)
  3300. type: string
  3301. memberareaid:
  3302. description: 所属会员ID
  3303. type: integer
  3304. mobile2:
  3305. description: 手机号码[明文-尚志]
  3306. type: string
  3307. mobilephone:
  3308. description: 手机号码 (加密存储)
  3309. type: string
  3310. modifiedby:
  3311. description: 修改人帐号
  3312. type: integer
  3313. modifiedtime:
  3314. description: 修改时间
  3315. type: string
  3316. nickname:
  3317. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3318. type: string
  3319. openmode:
  3320. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3321. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3322. type: integer
  3323. otherurl:
  3324. description: 其它图片地址[使用分号分隔]
  3325. type: string
  3326. postalcode:
  3327. description: 邮政编码
  3328. type: string
  3329. provinceid:
  3330. description: 省
  3331. type: integer
  3332. proxystatementurl:
  3333. description: 授权委托书
  3334. type: string
  3335. qq:
  3336. description: QQ(加密存储
  3337. type: string
  3338. referral:
  3339. description: 推荐人编码
  3340. type: string
  3341. remark:
  3342. description: 备注
  3343. type: string
  3344. removebeforestatus:
  3345. description: REMOVEBEFORESTATUS
  3346. type: integer
  3347. sex:
  3348. description: 性别 - 0:女 1:男
  3349. type: integer
  3350. signedstatus:
  3351. description: 账户一号签签约状态
  3352. type: integer
  3353. signpdfurl:
  3354. description: 签约pdf文件
  3355. type: string
  3356. subbranch:
  3357. description: 开户支行
  3358. type: string
  3359. taxpayernum:
  3360. description: 纳税人识别号
  3361. type: string
  3362. telphone:
  3363. description: 联系电话(加密存储)
  3364. type: string
  3365. userid:
  3366. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3367. type: integer
  3368. userinfotype:
  3369. description: 用户信息类型 - 1:个人 2:企业
  3370. type: integer
  3371. username:
  3372. description: 用户姓名
  3373. type: string
  3374. userstate:
  3375. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3376. type: integer
  3377. usertype:
  3378. description: 用户类型 - 1:投资者 2:机构
  3379. type: integer
  3380. videourl:
  3381. description: 视频地址
  3382. type: string
  3383. wechat:
  3384. description: 微信号 (加密存储)
  3385. type: string
  3386. required:
  3387. - userid
  3388. type: object
  3389. erms3.QryAuditContractRsp:
  3390. properties:
  3391. accountid:
  3392. description: 交易员ID
  3393. type: string
  3394. applystatus:
  3395. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3396. type: integer
  3397. curdeliveryqty:
  3398. description: 未交收量
  3399. type: integer
  3400. customername:
  3401. description: 采购方ID
  3402. type: string
  3403. deliverygoodsid:
  3404. description: 品种ID
  3405. type: string
  3406. deliveryqty:
  3407. description: 交收量
  3408. type: integer
  3409. enumdicname:
  3410. description: 单位名称
  3411. type: string
  3412. matchaccountid:
  3413. description: 业务员ID
  3414. type: string
  3415. matchcustomername:
  3416. description: 销售方ID
  3417. type: string
  3418. pricedqty:
  3419. description: 定价量
  3420. type: number
  3421. signdate:
  3422. description: 签订日期
  3423. type: string
  3424. spotcontractid:
  3425. description: 合同ID
  3426. type: string
  3427. totaldqty:
  3428. description: 合同量
  3429. type: number
  3430. unpricedqty:
  3431. description: 未定价量
  3432. type: number
  3433. wrstandardname:
  3434. description: 商品名称
  3435. type: string
  3436. required:
  3437. - matchcustomername
  3438. - spotcontractid
  3439. type: object
  3440. erms3.QryPendingBizRsp:
  3441. properties:
  3442. accountid:
  3443. description: 现货账户
  3444. type: string
  3445. areaname:
  3446. description: 所属部门
  3447. type: string
  3448. bizid:
  3449. description: 业务ID
  3450. type: string
  3451. bizname:
  3452. description: 业务名称
  3453. type: string
  3454. status:
  3455. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3456. type: integer
  3457. type:
  3458. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3459. type: integer
  3460. type: object
  3461. erms3.QueryBusinessInfoRsp:
  3462. properties:
  3463. businessid:
  3464. description: 业务ID.
  3465. type: integer
  3466. buyamount:
  3467. description: 采购额.
  3468. type: number
  3469. buyqty:
  3470. description: 采购量.
  3471. type: string
  3472. futurepl:
  3473. description: 期货盈亏.
  3474. type: number
  3475. futureqty:
  3476. description: 期货敞口.
  3477. type: string
  3478. goodsid:
  3479. description: 商品名称/商品代码.
  3480. type: string
  3481. hedgingqty:
  3482. description: 套保量.
  3483. type: string
  3484. sellamount:
  3485. description: 销售额.
  3486. type: number
  3487. sellqty:
  3488. description: 销售量.
  3489. type: string
  3490. spotmarketvalue:
  3491. description: 现货市值.
  3492. type: number
  3493. spotpl:
  3494. description: 浮动权益.
  3495. type: number
  3496. spotqty:
  3497. description: 现货量.
  3498. type: string
  3499. statu:
  3500. description: 状态,0-未结束 1-已结束.
  3501. type: integer
  3502. totalpl:
  3503. description: 总盈亏.
  3504. type: number
  3505. totalqty:
  3506. description: 总敞口.
  3507. type: string
  3508. type:
  3509. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3510. type: integer
  3511. type: object
  3512. erms3.QuerySpotContractAppleFormRsp:
  3513. properties:
  3514. goodses:
  3515. description: 合约列表
  3516. items:
  3517. $ref: '#/definitions/models.GoodsIDAndName'
  3518. type: array
  3519. oppositeusers:
  3520. description: 对方账号列表
  3521. items:
  3522. $ref: '#/definitions/erms3.CustomerInfo'
  3523. type: array
  3524. ouruser:
  3525. $ref: '#/definitions/erms3.CustomerInfo'
  3526. description: 我方账号
  3527. warehouseinfos:
  3528. description: 仓库信息列表
  3529. items:
  3530. $ref: '#/definitions/models.Warehouseinfo'
  3531. type: array
  3532. wrstandards:
  3533. description: 仓单标准列表
  3534. items:
  3535. $ref: '#/definitions/models.WRStandardInfo'
  3536. type: array
  3537. type: object
  3538. erms3.QuerySpotContractInfoRsp:
  3539. properties:
  3540. accountid:
  3541. description: 表示交易员ID.
  3542. type: integer
  3543. curdeliveryqty:
  3544. description: 表示未交收量.
  3545. type: number
  3546. customername:
  3547. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3548. type: string
  3549. deliverygoodsid:
  3550. description: 表示品种ID.
  3551. type: string
  3552. deliveryqty:
  3553. description: 表示交收量.
  3554. type: number
  3555. matchaccountid:
  3556. description: 表示业务员ID.
  3557. type: integer
  3558. matchcustomername:
  3559. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3560. type: string
  3561. priceqty:
  3562. description: 表示定价量.
  3563. type: number
  3564. relatedbizid:
  3565. description: 表示业务ID.
  3566. type: string
  3567. signdate:
  3568. description: 表示签订日期.
  3569. type: string
  3570. spotcontractid:
  3571. description: 合同ID
  3572. type: string
  3573. status:
  3574. description: 表示状态,0-履约中 1-已完成.
  3575. type: integer
  3576. totalqty:
  3577. description: 表示合同量.
  3578. type: number
  3579. unpricedqty:
  3580. description: 表示未定价量.
  3581. type: number
  3582. wrstandardname:
  3583. description: 表示商品ID.
  3584. type: string
  3585. type: object
  3586. erms3.QueryUserInfoAppliesRsp:
  3587. properties:
  3588. biznature:
  3589. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3590. type: integer
  3591. contactname:
  3592. description: 联系人
  3593. type: string
  3594. createtime:
  3595. description: 开户申请时间
  3596. type: string
  3597. userid:
  3598. description: 用户ID(自增ID)
  3599. type: integer
  3600. userinfotype:
  3601. description: 用户信息类型 - 1:个人 2:企业
  3602. type: integer
  3603. username:
  3604. description: 用户姓名
  3605. type: string
  3606. userstate:
  3607. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3608. type: integer
  3609. required:
  3610. - userid
  3611. type: object
  3612. erms3.QueryUserInfosRsp:
  3613. properties:
  3614. biznature:
  3615. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3616. type: integer
  3617. contactname:
  3618. description: 联系人
  3619. type: string
  3620. customername:
  3621. description: 客户名称(企业名称)
  3622. type: string
  3623. userid:
  3624. description: 用户ID
  3625. type: integer
  3626. userinfotype:
  3627. description: 用户信息类型 - 1:个人 2:企业
  3628. type: integer
  3629. userstatus:
  3630. description: 用户状态 - 1:正常 2:注销
  3631. type: integer
  3632. required:
  3633. - userid
  3634. type: object
  3635. erms3.SoptContractDetail:
  3636. properties:
  3637. deliverygoodsdesc:
  3638. description: 现货品种说明
  3639. type: string
  3640. deliverygoodsid:
  3641. description: 现货品种ID
  3642. type: integer
  3643. deliverygoodsname:
  3644. description: 现货品种名称
  3645. type: string
  3646. pointdesc:
  3647. description: 点价描述
  3648. type: string
  3649. producttype:
  3650. description: 产品类型 1:标准仓单 2:等标 3:非标
  3651. type: integer
  3652. producttypename:
  3653. description: 产品类型名称
  3654. type: string
  3655. spotPointOrderVoList:
  3656. description: 点价列表
  3657. items:
  3658. $ref: '#/definitions/erms3.SpotPointOrder'
  3659. type: array
  3660. spotPriceOrderList:
  3661. description: 定价列表
  3662. items:
  3663. $ref: '#/definitions/erms3.SpotPriceOrder'
  3664. type: array
  3665. unitname:
  3666. description: 单位名称
  3667. type: string
  3668. warehouseid:
  3669. description: 仓库ID
  3670. type: integer
  3671. warehousename:
  3672. description: 仓库名称
  3673. type: string
  3674. wrstandardid:
  3675. description: 交易标的ID
  3676. type: integer
  3677. wrstandardname:
  3678. description: 交易标的名称
  3679. type: string
  3680. required:
  3681. - deliverygoodsid
  3682. - producttype
  3683. - unitname
  3684. - warehouseid
  3685. - wrstandardid
  3686. - wrstandardname
  3687. type: object
  3688. erms3.SpotPointOrder:
  3689. properties:
  3690. basic:
  3691. description: 基差
  3692. type: number
  3693. deliveryenddate:
  3694. description: 交收结束日期
  3695. type: string
  3696. deliverystartdate:
  3697. description: 交收开始日期
  3698. type: string
  3699. enddate:
  3700. description: 点价结束日期
  3701. type: string
  3702. goodsid:
  3703. description: 商品ID
  3704. type: integer
  3705. goodsname:
  3706. description: 商品名称
  3707. type: string
  3708. qty:
  3709. description: 数量
  3710. type: number
  3711. startdate:
  3712. description: 点价开始日期
  3713. type: string
  3714. required:
  3715. - basic
  3716. - goodsid
  3717. - qty
  3718. type: object
  3719. erms3.SpotPriceOrder:
  3720. properties:
  3721. amount:
  3722. description: 金额
  3723. type: number
  3724. deliveryenddate:
  3725. description: 交收结束日期
  3726. type: string
  3727. deliverystartdate:
  3728. description: 交收开始日期
  3729. type: string
  3730. price:
  3731. description: 价格
  3732. type: number
  3733. qty:
  3734. description: 数量
  3735. type: number
  3736. required:
  3737. - amount
  3738. - price
  3739. - qty
  3740. type: object
  3741. hsby.GetHsbyMyCountRsp:
  3742. properties:
  3743. myCouponCount:
  3744. description: 我的优惠卷数量
  3745. type: integer
  3746. myOrderDetailListingCount:
  3747. description: 我的订单求购中数量
  3748. type: integer
  3749. myOrderDetailPreCount:
  3750. description: 我的订单抢购中数量
  3751. type: integer
  3752. myPackageUnReceiveCount:
  3753. description: 我的包裹待收货数量
  3754. type: integer
  3755. myPackageUnSendCount:
  3756. description: 我的包裹待发货数量
  3757. type: integer
  3758. myPayOrderCount:
  3759. description: 我的订单待付款数量
  3760. type: integer
  3761. type: object
  3762. hsby.QueryProvincesAndCitiesRsp:
  3763. properties:
  3764. cities:
  3765. description: 市
  3766. items:
  3767. $ref: '#/definitions/models.Division'
  3768. type: array
  3769. province:
  3770. $ref: '#/definitions/models.Division'
  3771. description: 省
  3772. type: object
  3773. models.Arearole:
  3774. properties:
  3775. createtime:
  3776. description: 创建时间
  3777. type: string
  3778. creatorid:
  3779. description: 创建人ID
  3780. type: integer
  3781. fromuserid:
  3782. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  3783. type: integer
  3784. isreturnscore:
  3785. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  3786. type: integer
  3787. modifierid:
  3788. description: 修改人ID
  3789. type: integer
  3790. modifytime:
  3791. description: 修改时间
  3792. type: string
  3793. orgtype:
  3794. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  3795. type: integer
  3796. outuserid:
  3797. description: 外部账户[场外期权做市商]
  3798. type: string
  3799. parentuserid:
  3800. description: 上级组织机构(组织机构)
  3801. type: integer
  3802. roletype:
  3803. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  3804. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  3805. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  3806. type: integer
  3807. rootuserid:
  3808. description: 顶级组织机构用户ID(组织机构)
  3809. type: integer
  3810. shoppassword:
  3811. description: 商城店铺登陆密码(商城店铺角色使用)
  3812. type: string
  3813. sublevelpath:
  3814. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  3815. type: string
  3816. suborgtype:
  3817. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  3818. type: integer
  3819. tradeaccountid:
  3820. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  3821. type: integer
  3822. transurl:
  3823. description: 物流地址(物流机构)
  3824. type: string
  3825. userid:
  3826. description: 机构用户ID其他做市关系,都设置为 1
  3827. type: integer
  3828. required:
  3829. - roletype
  3830. - userid
  3831. type: object
  3832. models.Clientfixedadconfig:
  3833. properties:
  3834. adsort:
  3835. description: 排序
  3836. type: integer
  3837. adtype:
  3838. description: 广告位类型 - 1:新品抢购(HSBY)
  3839. type: integer
  3840. areauserid:
  3841. description: 所属机构ID
  3842. type: integer
  3843. createdate:
  3844. description: 创建时间
  3845. type: string
  3846. creatorid:
  3847. description: 创建人
  3848. type: integer
  3849. imagepath:
  3850. description: 图片
  3851. type: string
  3852. isshow:
  3853. description: 是否展示 - 0:不展示 1:展示
  3854. type: integer
  3855. modifierid:
  3856. description: 操作人
  3857. type: integer
  3858. recsize:
  3859. description: 推荐尺寸
  3860. type: string
  3861. title:
  3862. description: 标题
  3863. type: string
  3864. updatedate:
  3865. description: 更新时间
  3866. type: string
  3867. urlcontent:
  3868. description: 链接(地址或商品ID)
  3869. type: string
  3870. urltype:
  3871. description: 链接类型 - 1:直接地址 2:商品ID
  3872. type: integer
  3873. required:
  3874. - adsort
  3875. - adtype
  3876. type: object
  3877. models.DgFactoryItem:
  3878. properties:
  3879. dgfactoryitemid:
  3880. description: 选择项ID(SEQ_DGFACTORYITEM)
  3881. type: integer
  3882. dgfactoryitemtypeid:
  3883. description: 要素项类型
  3884. type: integer
  3885. dgfactoryitemvalue:
  3886. description: 要素项值(类型为仓库时填写仓库名称)
  3887. type: string
  3888. orderindex:
  3889. description: 顺序
  3890. type: integer
  3891. type: object
  3892. models.Division:
  3893. properties:
  3894. autoid:
  3895. description: 自增ID
  3896. type: integer
  3897. divisioncode:
  3898. description: 行政代码
  3899. type: string
  3900. divisionlevel:
  3901. description: 行政级别
  3902. type: string
  3903. divisionname:
  3904. description: 行政名称
  3905. type: string
  3906. modifierid:
  3907. description: 修改人
  3908. type: integer
  3909. modifytime:
  3910. description: 修改时间
  3911. type: string
  3912. parentcode:
  3913. description: 上级行政代码
  3914. type: string
  3915. pathname:
  3916. description: 路径名称
  3917. type: string
  3918. postcode:
  3919. description: 邮政编码
  3920. type: string
  3921. separablename:
  3922. description: 可拆分的全称
  3923. type: string
  3924. shortcode:
  3925. description: 地区简码
  3926. type: string
  3927. required:
  3928. - autoid
  3929. - divisioncode
  3930. type: object
  3931. models.Enumdicitem:
  3932. properties:
  3933. autoid:
  3934. description: 自增ID
  3935. type: integer
  3936. bankmappedvalue:
  3937. description: 银行服务对应值
  3938. type: string
  3939. enumdiccode:
  3940. description: 所属枚举代码
  3941. type: string
  3942. enumdicid:
  3943. description: 所属枚举ID
  3944. type: integer
  3945. enumdicname:
  3946. description: 枚举项名称
  3947. type: string
  3948. enumitemname:
  3949. description: 枚举项值
  3950. type: integer
  3951. enumitemstatus:
  3952. description: 枚举项状态 - 1.启用 2.不启用
  3953. type: integer
  3954. enumitemvalue:
  3955. description: 通用值 - [币种通用简写]
  3956. type: string
  3957. param1:
  3958. description: 参数1[币种:币种小数位]
  3959. type: string
  3960. param2:
  3961. description: 参数1[币种:币种显示单位]
  3962. type: string
  3963. remark:
  3964. description: 备注
  3965. type: string
  3966. required:
  3967. - autoid
  3968. - enumdiccode
  3969. - enumdicid
  3970. - enumitemname
  3971. type: object
  3972. models.Ermcp3AreaSpot:
  3973. properties:
  3974. areauserid:
  3975. description: 所属机构
  3976. type: integer
  3977. convertratio:
  3978. description: 套保系数
  3979. type: number
  3980. decreaseqty:
  3981. description: 减少数量=-(销售已定价数量+采购计划数量)
  3982. type: number
  3983. enumdicname:
  3984. description: 单位名称
  3985. type: string
  3986. increaseqty:
  3987. description: 增加数量=销售计划数量+采购已定价数量
  3988. type: number
  3989. oritoalspotqty:
  3990. description: 昨日数量
  3991. type: number
  3992. totalspotqty:
  3993. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  3994. type: number
  3995. unitid:
  3996. description: 现货商品单位id
  3997. type: integer
  3998. updatetime:
  3999. description: 更新时间
  4000. type: string
  4001. wrstandardcode:
  4002. description: 现货商品代码
  4003. type: string
  4004. wrstandardid:
  4005. description: 现货商品ID(SEQ_WRSTANDARD)
  4006. type: integer
  4007. wrstandardname:
  4008. description: 现货商品名称
  4009. type: string
  4010. type: object
  4011. models.Ermcp3AreaSpotDetail:
  4012. properties:
  4013. contracttype:
  4014. description: 合同类型 1-采购 -1-销售
  4015. type: integer
  4016. createtime:
  4017. description: 创建时间
  4018. type: string
  4019. enumdicname:
  4020. description: 现货商品单位名称
  4021. type: string
  4022. logtype:
  4023. description: 记录类型 1-套保 2-现货合同
  4024. type: integer
  4025. qty:
  4026. description: 数量
  4027. type: number
  4028. recordname:
  4029. description: 类型名称
  4030. type: string
  4031. relatedid:
  4032. description: 套保计划ID/现货合同ID
  4033. type: string
  4034. relatedno:
  4035. description: 编号
  4036. type: string
  4037. strtime:
  4038. description: 时间
  4039. type: string
  4040. wrstandardcode:
  4041. description: 现货商品代码
  4042. type: string
  4043. wrstandardid:
  4044. description: 现货商品ID(SEQ_WRSTANDARD)
  4045. type: integer
  4046. wrstandardname:
  4047. description: 现货商品名称
  4048. type: string
  4049. type: object
  4050. models.Ermcp3AreaSpotPLReport:
  4051. properties:
  4052. accountid:
  4053. description: 期货账户ID (作废, 默认为0)
  4054. type: integer
  4055. accountname:
  4056. description: 机构名称
  4057. type: string
  4058. actualpl:
  4059. description: 现货损益
  4060. type: number
  4061. areauserid:
  4062. description: 所属机构\交易用户ID
  4063. type: integer
  4064. begindate:
  4065. description: 开始交易日
  4066. type: string
  4067. biztype:
  4068. description: 业务类型 - 1:套保 2:套利
  4069. type: integer
  4070. brandname:
  4071. description: 品牌名称
  4072. type: string
  4073. curamount:
  4074. description: 期末额
  4075. type: number
  4076. curaverageprice:
  4077. description: 期末均价
  4078. type: number
  4079. curbuyamount:
  4080. description: 期末采购总额
  4081. type: number
  4082. curbuyqty:
  4083. description: 期末采购总量
  4084. type: number
  4085. curmarketvalue:
  4086. description: 参考市值(期末市值)
  4087. type: number
  4088. curqty:
  4089. description: 期末量
  4090. type: number
  4091. currencyid:
  4092. description: 结算币种ID【原值】
  4093. type: integer
  4094. currencyname:
  4095. description: 币种名称
  4096. type: string
  4097. cursellamount:
  4098. description: 期末销售总额
  4099. type: number
  4100. cursellqty:
  4101. description: 期末销售总量
  4102. type: number
  4103. curspotprice:
  4104. description: 参考市价(最新价)
  4105. type: number
  4106. cycletime:
  4107. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4108. type: string
  4109. cycletype:
  4110. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4111. type: integer
  4112. deliverygoodscode:
  4113. description: 现货品种代码
  4114. type: string
  4115. deliverygoodsid:
  4116. description: 现货品种ID
  4117. type: integer
  4118. deliverygoodsname:
  4119. description: 现货品种名称
  4120. type: string
  4121. enddate:
  4122. description: 结束交易日
  4123. type: string
  4124. enumdicname:
  4125. description: 现货品种单位名称(作废)
  4126. type: string
  4127. floatpl:
  4128. description: 浮动损益
  4129. type: number
  4130. goodsunitid:
  4131. description: 现货品种单位id(作废)
  4132. type: integer
  4133. oriamount:
  4134. description: 期初额
  4135. type: number
  4136. oriaverageprice:
  4137. description: 期初均价
  4138. type: number
  4139. oribuyamount:
  4140. description: 期初采购总额
  4141. type: number
  4142. oribuyqty:
  4143. description: 期初采购总量
  4144. type: number
  4145. oriqty:
  4146. description: 期初量
  4147. type: number
  4148. orisellamount:
  4149. description: 期初销售总额
  4150. type: number
  4151. orisellqty:
  4152. description: 期初销售总量
  4153. type: number
  4154. reckondate:
  4155. description: 日照时期(yyyyMMdd)
  4156. type: string
  4157. spotgoodsbrandid:
  4158. description: 现货品牌ID
  4159. type: integer
  4160. todaybuyamount:
  4161. description: 今日采购额(今采购额)
  4162. type: number
  4163. todaybuyaverageprice:
  4164. description: 今日采购均价
  4165. type: number
  4166. todaybuyqty:
  4167. description: 今日采购量(今采购量)
  4168. type: number
  4169. todayinqty:
  4170. description: 今日入库量(今入库量)
  4171. type: number
  4172. todayoutqty:
  4173. description: 今日出库量(今出库量)
  4174. type: number
  4175. todaysellamount:
  4176. description: 今日销售额(今销售额)
  4177. type: number
  4178. todaysellaverageprice:
  4179. description: 今日销售均价
  4180. type: number
  4181. todaysellqty:
  4182. description: 今日销售量(今销售量)
  4183. type: number
  4184. unitid:
  4185. description: 品类单位id
  4186. type: integer
  4187. unitidname:
  4188. description: 品类单位名称
  4189. type: string
  4190. updatetime:
  4191. description: 更新时间
  4192. type: string
  4193. wrfactortypeid:
  4194. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4195. type: integer
  4196. wrstandardcode:
  4197. description: 现货商品(品类)代码
  4198. type: string
  4199. wrstandardid:
  4200. description: 现货品类ID
  4201. type: integer
  4202. wrstandardname:
  4203. description: 现货商品(品类)名称
  4204. type: string
  4205. type: object
  4206. models.Ermcp3AreaStock:
  4207. properties:
  4208. brandname:
  4209. description: 品牌名称
  4210. type: string
  4211. curstock:
  4212. description: 期末库存量(今日量)
  4213. type: number
  4214. deliverygoodscode:
  4215. description: 现货品种代码
  4216. type: string
  4217. deliverygoodsid:
  4218. description: 现货品种id
  4219. type: integer
  4220. deliverygoodsname:
  4221. description: 现货品种名称
  4222. type: string
  4223. enumdicname:
  4224. description: 单位名称
  4225. type: string
  4226. goodsunitid:
  4227. description: 现货商品单位id
  4228. type: integer
  4229. oristock:
  4230. description: 期初库存量(昨日量)
  4231. type: number
  4232. spotgoodsbrandid:
  4233. description: 现货品牌ID
  4234. type: integer
  4235. todaybuyinqty:
  4236. description: 今日采购入库量
  4237. type: number
  4238. todayproduceinqty:
  4239. description: 今日生产入库量
  4240. type: number
  4241. todayproduceoutqty:
  4242. description: 今日生产出库量
  4243. type: number
  4244. todayselloutqty:
  4245. description: 今日销售出库量
  4246. type: number
  4247. unitid:
  4248. description: 单位id
  4249. type: integer
  4250. updatetime:
  4251. description: 更新时间
  4252. type: string
  4253. userid:
  4254. description: 机构ID
  4255. type: integer
  4256. username:
  4257. description: 机构名称
  4258. type: string
  4259. warehousecode:
  4260. description: 仓库代码
  4261. type: string
  4262. warehouseinfoid:
  4263. description: 仓库ID
  4264. type: string
  4265. warehousename:
  4266. description: 仓库名称
  4267. type: string
  4268. warehousetype:
  4269. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4270. type: integer
  4271. wrstandardcode:
  4272. description: 品类代码
  4273. type: string
  4274. wrstandardid:
  4275. description: 品类ID
  4276. type: string
  4277. wrstandardname:
  4278. description: 品类名称
  4279. type: string
  4280. required:
  4281. - userid
  4282. type: object
  4283. models.Ermcp3AreaStockApply:
  4284. properties:
  4285. applyid:
  4286. description: 申请人
  4287. type: integer
  4288. applyname:
  4289. description: 申请人名称
  4290. type: string
  4291. applyremark:
  4292. description: 申请备注
  4293. type: string
  4294. applysrc:
  4295. description: 申请来源 - 1:管理端 2:终端
  4296. type: integer
  4297. applystatus:
  4298. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  4299. type: integer
  4300. applytime:
  4301. description: 申请时间
  4302. type: string
  4303. auditid:
  4304. description: 审核人
  4305. type: integer
  4306. auditname:
  4307. description: 审核人名称
  4308. type: string
  4309. auditremark:
  4310. description: 审核备注
  4311. type: string
  4312. auditsrc:
  4313. description: 审核来源 - 1:管理端 2:终端
  4314. type: integer
  4315. audittime:
  4316. description: 审核时间
  4317. type: string
  4318. audittradedate:
  4319. description: 审核交易日(yyyyMMdd)
  4320. type: string
  4321. brandname:
  4322. description: 品牌名称
  4323. type: string
  4324. buynickname:
  4325. description: 采购方昵称
  4326. type: string
  4327. buyuserid:
  4328. description: 采购方userid
  4329. type: integer
  4330. buyusername:
  4331. description: 采购方名称
  4332. type: string
  4333. contractno:
  4334. description: 合同编号
  4335. type: string
  4336. contractqty:
  4337. description: 合同量
  4338. type: number
  4339. contracttype:
  4340. description: 现货合同类型 - 1:采购 -1:销售
  4341. type: integer
  4342. deliverygoodscode:
  4343. description: 现货品种代码
  4344. type: string
  4345. deliverygoodsid:
  4346. description: 现货品种id
  4347. type: integer
  4348. deliverygoodsname:
  4349. description: 现货品种名称
  4350. type: string
  4351. detailjson:
  4352. description: 明细数据
  4353. type: string
  4354. enumdicname:
  4355. description: 现货商品单位名称
  4356. type: string
  4357. inoutapplyid:
  4358. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  4359. type: string
  4360. inouttype:
  4361. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4362. type: integer
  4363. pricetype:
  4364. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4365. type: integer
  4366. qty:
  4367. description: 数量
  4368. type: number
  4369. sellnickname:
  4370. description: 销售方昵称
  4371. type: string
  4372. selluserid:
  4373. description: 销售方userid
  4374. type: integer
  4375. sellusername:
  4376. description: 销售方名称
  4377. type: string
  4378. spotcontractid:
  4379. description: 关联现货合同ID
  4380. type: string
  4381. spotgoodsbrandid:
  4382. description: 现货品牌ID
  4383. type: integer
  4384. unitid:
  4385. description: 单位id
  4386. type: integer
  4387. userid:
  4388. description: 机构ID
  4389. type: integer
  4390. warehousecode:
  4391. description: 仓库代码
  4392. type: string
  4393. warehouseinfoid:
  4394. description: 现货仓库ID
  4395. type: string
  4396. warehousename:
  4397. description: 仓库名称
  4398. type: string
  4399. warehousetype:
  4400. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4401. type: integer
  4402. wrstandardcode:
  4403. description: 品类代码
  4404. type: string
  4405. wrstandardid:
  4406. description: 品类ID
  4407. type: integer
  4408. wrstandardname:
  4409. description: 品类名称
  4410. type: string
  4411. type: object
  4412. models.Ermcp3AreaStockApplySum:
  4413. properties:
  4414. brandname:
  4415. description: 品牌名称
  4416. type: string
  4417. inouttype:
  4418. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4419. type: integer
  4420. spotcontractid:
  4421. description: 关联现货合同ID
  4422. type: string
  4423. spotgoodsbrandid:
  4424. description: 品牌id
  4425. type: integer
  4426. totalqty:
  4427. description: 总数量
  4428. type: number
  4429. wrstandardid:
  4430. description: 品类id
  4431. type: integer
  4432. wrstandardname:
  4433. description: 品类名称
  4434. type: string
  4435. type: object
  4436. models.Ermcp3AreaStockReportEx:
  4437. properties:
  4438. begindate:
  4439. description: 开始交易日
  4440. type: string
  4441. brandname:
  4442. description: 品牌名称
  4443. type: string
  4444. curstock:
  4445. description: 期末库存量
  4446. type: number
  4447. cycletime:
  4448. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4449. type: string
  4450. cycletype:
  4451. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4452. type: integer
  4453. deliverygoodscode:
  4454. description: 现货品种代码
  4455. type: string
  4456. deliverygoodsid:
  4457. description: 现货品种id
  4458. type: integer
  4459. deliverygoodsname:
  4460. description: 现货品种名称
  4461. type: string
  4462. diffqty:
  4463. description: 库存变化量 = 期末 - 期初
  4464. type: number
  4465. enddate:
  4466. description: 结束交易日
  4467. type: string
  4468. enumdicname:
  4469. description: 单位名称
  4470. type: string
  4471. goodsunitid:
  4472. description: 现货单位id
  4473. type: integer
  4474. oristock:
  4475. description: 期初库存量
  4476. type: number
  4477. reckondate:
  4478. description: 日照时期(yyyyMMdd)
  4479. type: string
  4480. spotgoodsbrandid:
  4481. description: 现货品牌ID
  4482. type: integer
  4483. todaybuyinqty:
  4484. description: 今采购入库量
  4485. type: number
  4486. todayproduceinqty:
  4487. description: 今内部入库量
  4488. type: number
  4489. todayproduceoutqty:
  4490. description: 今内部出库量
  4491. type: number
  4492. todayselloutqty:
  4493. description: 今销售出库量
  4494. type: number
  4495. unbuyinqty:
  4496. description: 采购未入库量(数据库未找到相关字段?)
  4497. type: number
  4498. unitid:
  4499. description: 品类单位id
  4500. type: integer
  4501. unselloutqty:
  4502. description: 销售未出库量(数据库未找到相关字段?)
  4503. type: number
  4504. updatetime:
  4505. description: 更新时间
  4506. type: string
  4507. userid:
  4508. description: 机构ID
  4509. type: integer
  4510. username:
  4511. description: 机构名称
  4512. type: string
  4513. warehousecode:
  4514. description: 仓库代码
  4515. type: string
  4516. warehouseinfoid:
  4517. description: 仓库ID
  4518. type: string
  4519. warehousename:
  4520. description: 仓库名称
  4521. type: string
  4522. warehousetype:
  4523. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4524. type: integer
  4525. wrstandardcode:
  4526. description: 品类代码
  4527. type: string
  4528. wrstandardid:
  4529. description: 品类ID
  4530. type: integer
  4531. wrstandardname:
  4532. description: 品类名称
  4533. type: string
  4534. type: object
  4535. models.Ermcp3ArealSumPL:
  4536. properties:
  4537. accountname:
  4538. description: 机构名称
  4539. type: string
  4540. areauserid:
  4541. description: 所属机构\交易用户ID
  4542. type: integer
  4543. begindate:
  4544. description: 开始交易日
  4545. type: string
  4546. currencyid:
  4547. description: 结算币种ID
  4548. type: integer
  4549. currencyname:
  4550. description: 币种名称
  4551. type: string
  4552. cycletime:
  4553. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4554. type: string
  4555. cycletype:
  4556. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4557. type: integer
  4558. enddate:
  4559. description: 结束交易日
  4560. type: string
  4561. enumdicname:
  4562. description: 单位名称(套保品种)
  4563. type: string
  4564. futureactualpl:
  4565. description: 期货损益
  4566. type: number
  4567. futurefloatpl:
  4568. description: 期货浮动损益
  4569. type: number
  4570. futurespotratio:
  4571. description: 期现比例 = 期货头寸总量 / 现货头寸总量
  4572. type: number
  4573. goodsunitid:
  4574. description: 套保品种单位id
  4575. type: integer
  4576. hedgeexposurepl:
  4577. description: 套保敞口损益
  4578. type: number
  4579. middlegoodscode:
  4580. description: 套保品种代码
  4581. type: string
  4582. middlegoodsid:
  4583. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  4584. type: integer
  4585. middlegoodsname:
  4586. description: 套保品种名称
  4587. type: string
  4588. reckondate:
  4589. description: 日照时期(yyyyMMdd)
  4590. type: string
  4591. spotactualpl:
  4592. description: 现货损益
  4593. type: number
  4594. spotfloatpl:
  4595. description: 现货浮动损益
  4596. type: number
  4597. sumactualpl:
  4598. description: 实际损益 = (ActualPL + FutureActualPL)
  4599. type: number
  4600. sumpl:
  4601. description: 总敞口损益 | 汇总损益
  4602. type: number
  4603. totalfutureqty:
  4604. description: 期货头寸总量
  4605. type: number
  4606. totalneedhedgeqty:
  4607. description: 应套保总量
  4608. type: number
  4609. totalspotqty:
  4610. description: 现货头寸总量
  4611. type: number
  4612. updatetime:
  4613. description: 更新时间
  4614. type: string
  4615. type: object
  4616. models.Ermcp3Brand:
  4617. properties:
  4618. areauserid:
  4619. description: 用户id
  4620. type: integer
  4621. brandid:
  4622. description: 品牌id
  4623. type: integer
  4624. brandname:
  4625. description: 品牌名称
  4626. type: string
  4627. deliverygoodsid:
  4628. description: 品种ID
  4629. type: integer
  4630. isvalid:
  4631. description: 是否有效
  4632. type: integer
  4633. type: object
  4634. models.Ermcp3Contract:
  4635. properties:
  4636. accountid:
  4637. description: 期货账户id
  4638. type: string
  4639. amount:
  4640. description: 金额 [1:一口价、3:暂定价]
  4641. type: number
  4642. attachment:
  4643. description: 附件
  4644. type: string
  4645. auditremark:
  4646. description: 审核意见
  4647. type: string
  4648. audittime:
  4649. description: 审核时间
  4650. type: string
  4651. biztype:
  4652. description: 业务类型 1-套保 2-套利
  4653. type: integer
  4654. brandname:
  4655. description: 品牌名称
  4656. type: string
  4657. buynickname:
  4658. description: 销售方昵称
  4659. type: string
  4660. buyuserid:
  4661. description: 采购方ID
  4662. type: integer
  4663. buyusername:
  4664. description: 采购方名称
  4665. type: string
  4666. contracctstatus:
  4667. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4668. type: integer
  4669. contractmargin:
  4670. description: 合同保证金
  4671. type: number
  4672. contractno:
  4673. description: 现货合同编号
  4674. type: string
  4675. contracttype:
  4676. description: 现货合同类型 - 1:采购 -1:销售
  4677. type: integer
  4678. convertfactor:
  4679. description: 标仓系数(品类)
  4680. type: number
  4681. createtime:
  4682. description: 创建时间
  4683. type: string
  4684. currencyid:
  4685. description: 币种id
  4686. type: integer
  4687. currencyname:
  4688. description: 币种名称
  4689. type: string
  4690. deliveryenddate:
  4691. description: 交收期(结束)
  4692. type: string
  4693. deliverygoodscode:
  4694. description: 现货品种代码
  4695. type: string
  4696. deliverygoodsid:
  4697. description: 现货品种ID
  4698. type: integer
  4699. deliverygoodsname:
  4700. description: 现货品种名称
  4701. type: string
  4702. deliverystartdate:
  4703. description: 交收期(开始)
  4704. type: string
  4705. enddate:
  4706. description: 点价结束日期 [2:点价 3:暂定价]
  4707. type: string
  4708. enumdicname:
  4709. description: 单位名称
  4710. type: string
  4711. goodscode:
  4712. description: 点价合约代码
  4713. type: string
  4714. goodsid:
  4715. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  4716. type: integer
  4717. goodsname:
  4718. description: 点价商品名称
  4719. type: string
  4720. margin:
  4721. description: 当前保证金
  4722. type: number
  4723. meruserid:
  4724. description: 跟单员id
  4725. type: integer
  4726. meruserlogincode:
  4727. description: 跟单员登录代码
  4728. type: string
  4729. merusername:
  4730. description: 跟单员名称
  4731. type: string
  4732. pointdesc:
  4733. description: 点价备注
  4734. type: string
  4735. price:
  4736. description: 价格\暂定价 [1:一口价、3:暂定价]
  4737. type: number
  4738. pricemove:
  4739. description: 升贴水 [2:点价 3:暂定价]
  4740. type: number
  4741. pricetype:
  4742. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4743. type: integer
  4744. producttype:
  4745. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4746. type: integer
  4747. qty:
  4748. description: 数量
  4749. type: number
  4750. remark:
  4751. description: 备注
  4752. type: string
  4753. saleuserid:
  4754. description: 业务员id
  4755. type: integer
  4756. saleuserlogincode:
  4757. description: 业务员登录代码
  4758. type: string
  4759. saleusername:
  4760. description: 业务员名称
  4761. type: string
  4762. sellnickname:
  4763. description: 采购方昵称
  4764. type: string
  4765. selluserid:
  4766. description: 销售方ID
  4767. type: integer
  4768. sellusername:
  4769. description: 销售方名称
  4770. type: string
  4771. spotcontractid:
  4772. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  4773. type: string
  4774. spotgoodsbrandid:
  4775. description: 现货品牌ID(DGFactoryItem表的ID)
  4776. type: integer
  4777. spotgoodsdesc:
  4778. description: 商品型号
  4779. type: string
  4780. startdate:
  4781. description: 点价开始日期 [2:点价 3:暂定价]
  4782. type: string
  4783. subjectid:
  4784. description: 交易主体ID
  4785. type: integer
  4786. subjectname:
  4787. description: 交易主体名称
  4788. type: string
  4789. tradeuserid:
  4790. description: 交易员id
  4791. type: integer
  4792. tradeuserlogincode:
  4793. description: 交易员登录代码
  4794. type: string
  4795. tradeusername:
  4796. description: 交易员名称
  4797. type: string
  4798. unitid:
  4799. description: 单位id(取品类上的单位id)
  4800. type: integer
  4801. updatetime:
  4802. description: 更新时间
  4803. type: string
  4804. userid:
  4805. description: 所属机构ID
  4806. type: integer
  4807. vatrate:
  4808. description: 增值税率
  4809. type: number
  4810. wrstandardcode:
  4811. description: 品类代码
  4812. type: string
  4813. wrstandardid:
  4814. description: 品类ID
  4815. type: integer
  4816. wrstandardname:
  4817. description: 品类名称
  4818. type: string
  4819. type: object
  4820. models.Ermcp3ContractMiddleGoodsCfg:
  4821. properties:
  4822. agreeunit:
  4823. description: 合约乘数
  4824. type: number
  4825. convertratio:
  4826. description: 期货品种系数
  4827. type: number
  4828. covertqty:
  4829. description: 折算手数 =【待点价量 / (合约乘数*期货品种系数) 】
  4830. type: integer
  4831. middlegoodsid:
  4832. description: 套保品种ID
  4833. type: integer
  4834. middlegoodspricedqty3:
  4835. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  4836. example: "0"
  4837. type: string
  4838. pendingpricedqty:
  4839. description: 待点价量
  4840. example: "0"
  4841. type: string
  4842. relatedmiddlegoodsqty:
  4843. description: 已关联量(套保品种-期货)
  4844. example: "0"
  4845. type: string
  4846. spotcontractid:
  4847. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  4848. type: string
  4849. type: object
  4850. models.Ermcp3ExposureContractDetail:
  4851. properties:
  4852. biztype:
  4853. description: 业务类型 1-套保 2-套利
  4854. type: integer
  4855. brandname:
  4856. description: 品牌名称
  4857. type: string
  4858. buyuserid:
  4859. description: 采购方id
  4860. type: integer
  4861. buyusername:
  4862. description: 采购方名称
  4863. type: string
  4864. contractno:
  4865. description: 合同编号
  4866. type: string
  4867. contracttype:
  4868. description: 现货合同类型 - 1:采购 -1:销售
  4869. type: integer
  4870. convertfactor:
  4871. description: 标仓系数
  4872. type: number
  4873. convertratio:
  4874. description: 折算系数(套保品种)
  4875. type: number
  4876. curqty:
  4877. description: 今定价量
  4878. type: number
  4879. deliverygoodscode:
  4880. description: 现货品种代码
  4881. type: string
  4882. deliverygoodsid:
  4883. description: 现货品种id
  4884. type: integer
  4885. deliverygoodsname:
  4886. description: 现货品种名称
  4887. type: string
  4888. diffhedgeqty:
  4889. description: 套保变动量
  4890. type: number
  4891. diffneedhedgeqty:
  4892. description: 应套保变动量
  4893. type: number
  4894. diffqty:
  4895. description: 套保品种今变动量
  4896. type: number
  4897. enumdicname:
  4898. description: 单位名称
  4899. type: string
  4900. mgunitname:
  4901. description: 套保品种单位名称
  4902. type: string
  4903. middlegoodscode:
  4904. description: 套保品种代码
  4905. type: string
  4906. middlegoodsid:
  4907. description: 套保品种id
  4908. type: integer
  4909. middlegoodsname:
  4910. description: 套保品种名称
  4911. type: string
  4912. needarbitrageratio:
  4913. description: 应套利比例
  4914. type: number
  4915. needhedgeratio:
  4916. description: 应套保比例
  4917. type: number
  4918. pricedqty:
  4919. description: 已定价量
  4920. type: number
  4921. qty:
  4922. description: 合同量
  4923. type: number
  4924. reckondate:
  4925. description: 交易日(reckondate)
  4926. type: string
  4927. selluserid:
  4928. description: 销售方id
  4929. type: integer
  4930. sellusername:
  4931. description: 销售方名称
  4932. type: string
  4933. spotcontractid:
  4934. description: 合同id
  4935. type: string
  4936. todaypricedqty:
  4937. description: 今定价量
  4938. type: number
  4939. tradedate:
  4940. description: 交易日
  4941. type: string
  4942. unitid:
  4943. description: 品类单位id
  4944. type: integer
  4945. userid:
  4946. description: 机构id
  4947. type: integer
  4948. username:
  4949. description: 交易用户
  4950. type: string
  4951. wrstandardcode:
  4952. description: 现货商品代码
  4953. type: string
  4954. wrstandardid:
  4955. description: 现货商品id
  4956. type: integer
  4957. wrstandardname:
  4958. description: 现货商品名称
  4959. type: string
  4960. type: object
  4961. models.Ermcp3ExposureDetail:
  4962. properties:
  4963. areauserid:
  4964. description: 机构ID
  4965. type: integer
  4966. changeQty:
  4967. description: 套保变动量
  4968. type: number
  4969. contracttype:
  4970. description: 现货合同类型 - 1:采购 -1:销售
  4971. type: integer
  4972. convertfactor:
  4973. description: 标仓系数
  4974. type: number
  4975. convertratio:
  4976. description: 折算系数
  4977. type: number
  4978. createtime:
  4979. description: 时间
  4980. type: string
  4981. enumdicname:
  4982. description: 现货商品单位名称
  4983. type: string
  4984. logtype:
  4985. description: 类型 - 1:套保计划 2:现货合同
  4986. type: integer
  4987. mgunitid:
  4988. description: 套保品种单位id
  4989. type: integer
  4990. mgunitidname:
  4991. description: 套保品种单位名称
  4992. type: string
  4993. middlegoodsId:
  4994. description: 套保商品id
  4995. type: integer
  4996. middlegoodscode:
  4997. description: 套保商品代码
  4998. type: string
  4999. middlegoodsname:
  5000. description: 套保商品名称
  5001. type: string
  5002. qty:
  5003. description: 数量
  5004. type: number
  5005. relateNo:
  5006. description: 现货合同/套保计划编号
  5007. type: string
  5008. unitid:
  5009. description: 现货商品单位id
  5010. type: integer
  5011. wrstandardcode:
  5012. description: 现货商品代码
  5013. type: string
  5014. wrstandardid:
  5015. description: 现货商品ID(SEQ_WRSTANDARD)
  5016. type: integer
  5017. wrstandardname:
  5018. description: 现货商品名称
  5019. type: string
  5020. type: object
  5021. models.Ermcp3ExposureFutuDetail:
  5022. properties:
  5023. accountid:
  5024. description: 交易账户id
  5025. type: integer
  5026. accountname:
  5027. description: 交易账户
  5028. type: string
  5029. begindate:
  5030. description: 开始交易日
  5031. type: string
  5032. buyorsell:
  5033. description: 方向 0-买 1-卖
  5034. type: integer
  5035. diffmgqty:
  5036. description: 套保品种今变化量
  5037. type: number
  5038. diffneedqty:
  5039. description: 应套保总量变化量
  5040. type: number
  5041. difftradeqty:
  5042. description: 交易品种今变化量
  5043. type: number
  5044. enddate:
  5045. description: 结束交易日
  5046. type: string
  5047. enumdicname:
  5048. description: 单位名称
  5049. type: string
  5050. goodscode:
  5051. description: 商品代码
  5052. type: string
  5053. goodsid:
  5054. description: 商品id
  5055. type: integer
  5056. goodsname:
  5057. description: 商品名称
  5058. type: string
  5059. holdqty:
  5060. description: 期末持仓量
  5061. type: number
  5062. middlegoodscode:
  5063. description: 套保商品代码
  5064. type: string
  5065. middlegoodsid:
  5066. description: 套保商品id
  5067. type: integer
  5068. middlegoodsname:
  5069. description: 套保商品名称
  5070. type: string
  5071. oriholdqty:
  5072. description: 期初持仓量
  5073. type: number
  5074. reckondate:
  5075. description: 交易日(RECKONDATE)
  5076. type: string
  5077. todaycloseqty:
  5078. description: 今平仓量
  5079. type: number
  5080. todayopenqty:
  5081. description: 今开仓量
  5082. type: number
  5083. tradedate:
  5084. description: 交易日(RECKONDATE)
  5085. type: string
  5086. username:
  5087. description: 用户名称(交易用户)
  5088. type: string
  5089. type: object
  5090. models.Ermcp3ExposureHedgeplanDetail:
  5091. properties:
  5092. biztype:
  5093. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  5094. type: integer
  5095. changqty:
  5096. description: 应套保总量变化量
  5097. type: number
  5098. contracttype:
  5099. description: 计划类型 - 1:采购 -1:销售
  5100. type: integer
  5101. convertratio:
  5102. description: 折算系数(套保品种)
  5103. type: number
  5104. deliverygoodscode:
  5105. description: 现货商品代码
  5106. type: string
  5107. deliverygoodsid:
  5108. description: 现货商品id
  5109. type: integer
  5110. deliverygoodsname:
  5111. description: 现货商吕名称
  5112. type: string
  5113. dgunitid:
  5114. description: 现货商品单位id
  5115. type: integer
  5116. dgunitidname:
  5117. description: 单位名称(现货商品)
  5118. type: string
  5119. diffqty:
  5120. description: 套保品种今变动量
  5121. type: number
  5122. enumdicname:
  5123. description: 单位名称(品类)
  5124. type: string
  5125. hedgeplanid:
  5126. description: 套保计划id
  5127. type: string
  5128. hedgeplanno:
  5129. description: 套保计划名称
  5130. type: string
  5131. hedgeplanstatus:
  5132. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5133. type: integer
  5134. mgunitidname:
  5135. description: 单位名称(套保商品)
  5136. type: string
  5137. middlegoodscode:
  5138. description: 套保品种代码
  5139. type: string
  5140. middlegoodsid:
  5141. description: 套保品种id
  5142. type: integer
  5143. middlegoodsname:
  5144. description: 套保品种名称
  5145. type: string
  5146. needarbitrageratio:
  5147. description: 应套利比例
  5148. type: number
  5149. needhedgeratio:
  5150. description: 应套保比例
  5151. type: number
  5152. pricedqty:
  5153. description: 已定价量
  5154. type: number
  5155. qty:
  5156. description: 合同量
  5157. type: number
  5158. reckondate:
  5159. description: 交易日(reckondate)
  5160. type: string
  5161. tradedate:
  5162. description: 交易日(登记日)
  5163. type: string
  5164. unitid:
  5165. description: 品类单位id
  5166. type: integer
  5167. userid:
  5168. description: 机构id
  5169. type: integer
  5170. wrstandardcode:
  5171. description: 品类代码
  5172. type: string
  5173. wrstandardid:
  5174. description: 品类id
  5175. type: integer
  5176. wrstandardname:
  5177. description: 品类名称
  5178. type: string
  5179. type: object
  5180. models.Ermcp3ExposureParamChLog:
  5181. properties:
  5182. accountid:
  5183. description: 期货账户ID (作废, 默认为0)
  5184. type: integer
  5185. aftervalue:
  5186. description: 应套保\套利量变更后(调整后应套保总量)
  5187. type: number
  5188. areauserid:
  5189. description: 所属机构\交易用户ID
  5190. type: integer
  5191. beforevalue:
  5192. description: 应套保\套利量变更前(调整前应套保总量)
  5193. type: number
  5194. begindate:
  5195. description: 开始交易日
  5196. type: string
  5197. changelogtype:
  5198. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5199. type: integer
  5200. curvalue:
  5201. description: 当前套保\套利量(套保总量|套利总量)
  5202. type: number
  5203. diffvalue:
  5204. description: 应套保总量变化量
  5205. type: number
  5206. enddate:
  5207. description: 结束交易日
  5208. type: string
  5209. logdatetime:
  5210. description: 流水日期
  5211. type: string
  5212. logid:
  5213. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  5214. type: string
  5215. middlegoodscode:
  5216. description: 套保品种代码
  5217. type: string
  5218. middlegoodsid:
  5219. description: 套保品种
  5220. type: integer
  5221. middlegoodsname:
  5222. description: 套保品种名称
  5223. type: string
  5224. paramaftervalue:
  5225. description: 参数变更后(调整后参数值)
  5226. type: number
  5227. parambeforevalue:
  5228. description: 参数变更前(调整前参数值)
  5229. type: number
  5230. reckondate:
  5231. description: 交易日(reckondate)
  5232. type: string
  5233. tradedate:
  5234. description: 交易日(yyyyMMdd)
  5235. type: string
  5236. type: object
  5237. models.Ermcp3ExpourseReport:
  5238. properties:
  5239. accountid:
  5240. description: 期货账户ID (作废, 默认为0)
  5241. type: integer
  5242. accountname:
  5243. description: 机构名称
  5244. type: string
  5245. arbitrageqty:
  5246. description: 套利量
  5247. type: number
  5248. areauserid:
  5249. description: 所属机构\交易用户ID
  5250. type: integer
  5251. begindate:
  5252. description: 开始交易日
  5253. type: string
  5254. buyfutureqty:
  5255. description: 买入期货数量
  5256. type: number
  5257. buyplanqty:
  5258. description: 采购计划数量
  5259. type: number
  5260. buypricedqty:
  5261. description: 采购合同已定价数量
  5262. type: number
  5263. cycletime:
  5264. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5265. type: string
  5266. cycletype:
  5267. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5268. type: integer
  5269. diffexposure:
  5270. description: 变动量(套保敞口)
  5271. type: number
  5272. difffutuqty:
  5273. description: 变动量(期货)
  5274. type: number
  5275. diffhedgeqty:
  5276. description: 变动量(现货应套保总量)
  5277. type: number
  5278. diffmgqtya:
  5279. description: 套保变动量
  5280. type: number
  5281. diffmgqtyb:
  5282. description: 套利变动量
  5283. type: number
  5284. diffneedqty:
  5285. description: 应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量
  5286. type: number
  5287. diffqty:
  5288. description: 变动量(总敞口)
  5289. type: number
  5290. diffspotqty:
  5291. description: 变动量(现货) | 除税变动量
  5292. type: number
  5293. enddate:
  5294. description: 结束交易日
  5295. type: string
  5296. enumdicname:
  5297. description: 单位名称
  5298. type: string
  5299. hedgeqty:
  5300. description: 套保量
  5301. type: number
  5302. mgneedhedgeratio:
  5303. description: 套保比例(套保品的)
  5304. type: number
  5305. middlegoodsid:
  5306. description: 套保品种ID
  5307. type: integer
  5308. middlegoodsname:
  5309. description: 套保商品名称
  5310. type: string
  5311. middlgoodscode:
  5312. description: 套保商品代码
  5313. type: string
  5314. needarbitrageqty:
  5315. description: 应套利量
  5316. type: number
  5317. needarbitrageratio:
  5318. description: 套利比例(套保品的)
  5319. type: number
  5320. needhedgeexposoure:
  5321. description: 应套保敞口(套保敞口)
  5322. type: number
  5323. needhedgeqty:
  5324. description: 应套保量
  5325. type: number
  5326. needhedgeratio:
  5327. description: 应套保敞口比例
  5328. type: number
  5329. needqty:
  5330. description: 应套总量 = 应套保量 + 应套利量
  5331. type: number
  5332. oriarbitrageqty:
  5333. description: 期初套利量
  5334. type: number
  5335. oribuyfutureqty:
  5336. description: 期初买入期货数量
  5337. type: number
  5338. oribuyplanqty:
  5339. description: 期初采购计划数量
  5340. type: number
  5341. oribuypricedqty:
  5342. description: 期初采购合同已定价数量
  5343. type: number
  5344. orihedgeqty:
  5345. description: 期初套保量
  5346. type: number
  5347. orineedarbitrageqty:
  5348. description: 期初应套利量
  5349. type: number
  5350. orineedhedgeexposoure:
  5351. description: 期初应套保敞口
  5352. type: number
  5353. orineedhedgeqty:
  5354. description: 期初应套保量
  5355. type: number
  5356. orisellfutureqty:
  5357. description: 期初卖出期货数量
  5358. type: number
  5359. orisellplanqty:
  5360. description: 期初销售计划数量
  5361. type: number
  5362. orisellpricedqty:
  5363. description: 期初销售合同已定价数量
  5364. type: number
  5365. oritotalexposure:
  5366. description: 期初实时总敞口
  5367. type: number
  5368. oritotalfutureqty:
  5369. description: 期初期货头寸总量
  5370. type: number
  5371. oritotalneedhedgeqty:
  5372. description: 期初应套保总量
  5373. type: number
  5374. oritotalspotqty:
  5375. description: 期初现货头寸总量
  5376. type: number
  5377. reckondate:
  5378. description: 日照时期(yyyyMMdd)
  5379. type: string
  5380. sellfutureqty:
  5381. description: 卖出期货数量
  5382. type: number
  5383. sellplanqty:
  5384. description: 销售计划数量
  5385. type: number
  5386. sellpricedqty:
  5387. description: 销售合同已定价数量
  5388. type: number
  5389. totalexposure:
  5390. description: 实时总敞口(总敞口)
  5391. type: number
  5392. totalfutureqty:
  5393. description: 期货头寸总量(期货总量)
  5394. type: number
  5395. totalhedgeratio:
  5396. description: 敞口比例
  5397. type: number
  5398. totalneedhedgeqty:
  5399. description: 应套保总量(现货应套保总量)
  5400. type: number
  5401. totalspotqty:
  5402. description: 现货头寸总量 | 除税总量
  5403. type: number
  5404. unitid:
  5405. description: 单位id
  5406. type: integer
  5407. updatetime:
  5408. description: 更新时间
  5409. type: string
  5410. type: object
  5411. models.Ermcp3FinanceReport:
  5412. properties:
  5413. accountname:
  5414. description: 机构名称
  5415. type: string
  5416. areauserid:
  5417. description: 所属机构\交易用户ID
  5418. type: integer
  5419. begindate:
  5420. description: 开始交易日
  5421. type: string
  5422. biztype:
  5423. description: 业务类型 - 1:套保 2:套利
  5424. type: integer
  5425. brandname:
  5426. description: 品牌名称
  5427. type: string
  5428. buypreinvoicedamount:
  5429. description: 采购预收票额(预收票额)
  5430. type: number
  5431. buyprepaidamount:
  5432. description: 采购预付款额(预付货款额)
  5433. type: number
  5434. buytodayinvoiceamount:
  5435. description: 采购今收票额(今收票额)
  5436. type: number
  5437. buytodayrefundamount:
  5438. description: 采购今收退款额(今收退款额)
  5439. type: number
  5440. buytodaysettleamount:
  5441. description: 采购今付款额(今付货款额)
  5442. type: number
  5443. buyuninvoicedamount:
  5444. description: 采购应收票额(应收票额)
  5445. type: number
  5446. buyunpaidamount:
  5447. description: 采购应付款额(应付货款额)
  5448. type: number
  5449. currencyid:
  5450. description: 结算币种ID
  5451. type: integer
  5452. currencyname:
  5453. description: 币种名称
  5454. type: string
  5455. cycletime:
  5456. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5457. type: string
  5458. cycletype:
  5459. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5460. type: integer
  5461. deliverygoodscode:
  5462. description: 现货品种代码
  5463. type: string
  5464. deliverygoodsid:
  5465. description: 现货品种ID
  5466. type: integer
  5467. deliverygoodsname:
  5468. description: 现货品种名称
  5469. type: string
  5470. enddate:
  5471. description: 结束交易日
  5472. type: string
  5473. reckondate:
  5474. description: 日照时期(yyyyMMdd)
  5475. type: string
  5476. sellpreinvoicedamount:
  5477. description: 销售预开票额(预开票额)
  5478. type: number
  5479. sellprepaidamount:
  5480. description: 销售预收款额(预收货款额)
  5481. type: number
  5482. selltodayinvoiceamount:
  5483. description: 销售今开票额(今开票额)
  5484. type: number
  5485. selltodayrefundamount:
  5486. description: 销售今付退款额(今付退款额)
  5487. type: number
  5488. selltodaysettleamount:
  5489. description: 销售今收款额(今收货款额)
  5490. type: number
  5491. selluninvoicedamount:
  5492. description: 销售应开票额(应开票额)
  5493. type: number
  5494. sellunpaidamount:
  5495. description: 销售应收款额(应收货款额)
  5496. type: number
  5497. spotgoodsbrandid:
  5498. description: 现货品牌ID
  5499. type: integer
  5500. todaypaysum:
  5501. description: 今付款合计
  5502. type: number
  5503. todayreceivesum:
  5504. description: 今收款合计
  5505. type: number
  5506. updatetime:
  5507. description: 更新时间
  5508. type: string
  5509. wrfactortypeid:
  5510. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  5511. type: integer
  5512. wrstandardcode:
  5513. description: 品类代码
  5514. type: string
  5515. wrstandardid:
  5516. description: 现货商品ID
  5517. type: integer
  5518. wrstandardname:
  5519. description: 品类名称
  5520. type: string
  5521. type: object
  5522. models.Ermcp3GoodsGroup:
  5523. properties:
  5524. agreeunit:
  5525. description: 合约单位
  5526. type: number
  5527. areauserid:
  5528. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  5529. type: integer
  5530. canshort:
  5531. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  5532. type: integer
  5533. closepricemode:
  5534. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5535. type: integer
  5536. createtime:
  5537. description: 创建时间
  5538. type: string
  5539. creatorid:
  5540. description: 创建人
  5541. type: integer
  5542. currencyid:
  5543. description: 报价货币ID
  5544. type: integer
  5545. decimalplace:
  5546. description: 报价小数位
  5547. type: integer
  5548. enumdicname:
  5549. description: 单位名称
  5550. type: string
  5551. exchangefullname:
  5552. description: 交易所全称
  5553. type: string
  5554. excludecfg:
  5555. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  5556. type: integer
  5557. exexchangecode:
  5558. description: 交易所代码
  5559. type: string
  5560. exexchangeid:
  5561. description: 外部交易所ID[通道交易]
  5562. type: integer
  5563. exexchangename:
  5564. description: 交易所名称
  5565. type: string
  5566. goodsgroupid:
  5567. description: 商品组ID(自增ID)
  5568. type: integer
  5569. goodsgroupname:
  5570. description: 商品组名称
  5571. type: string
  5572. goodsgroupstatus:
  5573. description: 商品组状态 - 1:正常 2:注销
  5574. type: integer
  5575. goodunitid:
  5576. description: 报价单位ID
  5577. type: integer
  5578. groupcategroyid:
  5579. description: 品种分类ID
  5580. type: integer
  5581. innerdealmode:
  5582. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  5583. type: integer
  5584. marketid:
  5585. description: 所属市场ID
  5586. type: integer
  5587. modifierid:
  5588. description: 修改人
  5589. type: integer
  5590. modifytime:
  5591. description: 修改时间
  5592. type: string
  5593. outerdealmode:
  5594. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  5595. type: integer
  5596. outergroupcode:
  5597. description: 外部商品组代码[通道交易]
  5598. type: string
  5599. quoteminunit:
  5600. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5601. type: integer
  5602. quotesourcegroupid:
  5603. description: 所属行情源分组ID[参考行情市场用\通道交易]
  5604. type: integer
  5605. syncgoodsqty:
  5606. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  5607. type: integer
  5608. required:
  5609. - areauserid
  5610. type: object
  5611. models.Ermcp3HPMiddleGoods:
  5612. properties:
  5613. biztype:
  5614. description: 业务类型 1:套保 2:套利
  5615. type: integer
  5616. contracttype:
  5617. description: 合同类型 1:采购 -1:销售
  5618. type: integer
  5619. convertratio:
  5620. description: 折算系数
  5621. type: number
  5622. customername:
  5623. description: 对手手名称
  5624. type: string
  5625. customeruserid:
  5626. description: 对手id
  5627. type: integer
  5628. enumdicname:
  5629. description: 现货单位名称
  5630. type: string
  5631. hedgeplanid:
  5632. description: 计划id
  5633. type: string
  5634. hedgeplanno:
  5635. description: 计划编号
  5636. type: string
  5637. middlegoodsid:
  5638. description: 套保品种ID
  5639. type: integer
  5640. middlegoodsplanqty3:
  5641. description: 应套保计划量
  5642. type: number
  5643. needhedgeratio:
  5644. description: 套保比例
  5645. type: number
  5646. pricedqty:
  5647. description: 已定价量
  5648. type: number
  5649. relatedmiddlegoodsqty:
  5650. description: 已关联量(套保品种)(期货)
  5651. type: number
  5652. unitid:
  5653. description: 现货单位id
  5654. type: integer
  5655. userid:
  5656. description: 用户id
  5657. type: integer
  5658. vatrate:
  5659. description: 增值税率
  5660. type: number
  5661. wrstandardcode:
  5662. description: 现货商品代码
  5663. type: string
  5664. wrstandardid:
  5665. description: 现货商品id
  5666. type: integer
  5667. wrstandardname:
  5668. description: 现货商品名称
  5669. type: string
  5670. type: object
  5671. models.Ermcp3HedgePlan:
  5672. properties:
  5673. accountid:
  5674. description: 资金账号
  5675. type: integer
  5676. areauserid:
  5677. description: 用户ID
  5678. type: integer
  5679. auditid:
  5680. description: 审核id
  5681. type: integer
  5682. auditname:
  5683. description: 审核人名称
  5684. type: string
  5685. auditremark:
  5686. description: 审核备注
  5687. type: string
  5688. auditsrc:
  5689. description: 审核来源 1-管理端 2-终端
  5690. type: integer
  5691. audittime:
  5692. description: 审核时间
  5693. type: string
  5694. contracttype:
  5695. description: 计划类型 - 1:采购 -1:销售
  5696. type: integer
  5697. convertfactor:
  5698. description: 标仓系数
  5699. type: number
  5700. createtime:
  5701. description: 创建时间
  5702. type: string
  5703. currencyid:
  5704. description: 币种id
  5705. type: integer
  5706. currencyname:
  5707. description: 币种名称
  5708. type: string
  5709. deliverygoodscode:
  5710. description: 现货品种代码
  5711. type: string
  5712. deliverygoodsid:
  5713. description: 现货品种ID
  5714. type: integer
  5715. deliverygoodsname:
  5716. description: 现货品种名称
  5717. type: string
  5718. enumdicname:
  5719. description: 单位名称(现货商品)
  5720. type: string
  5721. hedgeplanid:
  5722. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  5723. type: string
  5724. hedgeplanno:
  5725. description: 套保计划编号(名称)
  5726. type: string
  5727. hedgeplanstatus:
  5728. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5729. type: integer
  5730. planqty:
  5731. description: 计划数量
  5732. type: number
  5733. plantime:
  5734. description: 计划时间
  5735. type: string
  5736. producttype:
  5737. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5738. type: integer
  5739. remark:
  5740. description: 备注
  5741. type: string
  5742. spotgoodsdesc:
  5743. description: 商品型号
  5744. type: string
  5745. taaccountname:
  5746. description: 资金账号名称
  5747. type: string
  5748. tradeuserid:
  5749. description: 交易用户id
  5750. type: integer
  5751. tradeusername:
  5752. description: 交易用户名称
  5753. type: string
  5754. unitid:
  5755. description: 单位id(现货商品)
  5756. type: integer
  5757. updatetime:
  5758. description: 更新时间
  5759. type: string
  5760. vatrate:
  5761. description: 增值税率
  5762. type: number
  5763. wrstandardcode:
  5764. description: 品类代码
  5765. type: string
  5766. wrstandardid:
  5767. description: 品类id
  5768. type: integer
  5769. wrstandardname:
  5770. description: 品类名称
  5771. type: string
  5772. wrunitid:
  5773. description: 品类单位id
  5774. type: integer
  5775. wrunitidame:
  5776. description: 品类单位名称
  5777. type: string
  5778. type: object
  5779. models.Ermcp3InnerTradeLink:
  5780. properties:
  5781. accountid:
  5782. description: 期货账号代码 | 资金账号ID
  5783. type: integer
  5784. buyorsell:
  5785. description: 方向 - 0:买 1:卖
  5786. type: integer
  5787. channelbuildtype:
  5788. description: 委托单据类型 0:无 1:建仓 2:平仓
  5789. type: integer
  5790. currencyid:
  5791. description: 币种id
  5792. type: integer
  5793. currencyname:
  5794. description: 结算币种 名称
  5795. type: string
  5796. goodscode:
  5797. description: 商品代码
  5798. type: string
  5799. goodsid:
  5800. description: 商品ID
  5801. type: integer
  5802. goodsname:
  5803. description: 商品名称
  5804. type: string
  5805. outtradeid:
  5806. description: 外部成交单号
  5807. type: string
  5808. taname:
  5809. description: 期货账户名称
  5810. type: string
  5811. tradeid:
  5812. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5813. type: string
  5814. tradeprice:
  5815. description: 成交价格
  5816. type: number
  5817. tradeqty:
  5818. description: 期货成交数量
  5819. type: integer
  5820. tradetime:
  5821. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  5822. type: string
  5823. username:
  5824. description: 用户名称
  5825. type: string
  5826. type: object
  5827. models.Ermcp3OutTradeLink:
  5828. properties:
  5829. buyorsell:
  5830. description: 买卖方向 - 0:买 1:卖
  5831. type: integer
  5832. channelbuildtype:
  5833. description: 开平标志- 0:无 1:建仓 2:平仓
  5834. type: integer
  5835. currencyname:
  5836. description: 币种名称
  5837. type: string
  5838. exexchangecode:
  5839. description: 交易所代码
  5840. type: string
  5841. exexchangename:
  5842. description: 交易所名称
  5843. type: string
  5844. goodscode:
  5845. description: 合约代码
  5846. type: string
  5847. goodsid:
  5848. description: 合约id
  5849. type: integer
  5850. goodsname:
  5851. description: 合约名称
  5852. type: string
  5853. hasinnerorder:
  5854. description: 是否有内部单关联 - 0:无 1:有
  5855. type: integer
  5856. hedgeaccountcode:
  5857. description: 外部账号 | 对冲账号
  5858. type: string
  5859. outtradeid:
  5860. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5861. type: string
  5862. tradeprice:
  5863. description: 成交价格
  5864. type: number
  5865. tradeqty:
  5866. description: 成交数量
  5867. type: integer
  5868. tradetime:
  5869. description: 成交时间
  5870. type: string
  5871. type: object
  5872. models.Ermcp3PaAreaAuditCfg:
  5873. properties:
  5874. areauserid:
  5875. description: 用户ID
  5876. type: integer
  5877. buyinauditflag:
  5878. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  5879. type: integer
  5880. costratioauditflag:
  5881. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  5882. type: integer
  5883. customerauditflag:
  5884. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  5885. type: integer
  5886. deliveryauditflag:
  5887. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  5888. type: integer
  5889. invoiceauditflag:
  5890. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  5891. type: integer
  5892. mgneedhedgeratioauditflag:
  5893. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  5894. type: integer
  5895. moneyauditflag:
  5896. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  5897. type: integer
  5898. operatorid:
  5899. description: 操作人
  5900. type: integer
  5901. operatorsrc:
  5902. description: 操作来源 - 1:管理端 2:终端
  5903. type: integer
  5904. pointpriceauditflag:
  5905. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  5906. type: integer
  5907. produceinauditflag:
  5908. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  5909. type: integer
  5910. produceoutauditflag:
  5911. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  5912. type: integer
  5913. selloutauditflag:
  5914. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  5915. type: integer
  5916. sgconvertratioauditflag:
  5917. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  5918. type: integer
  5919. sgvtaratioauditflag:
  5920. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  5921. type: integer
  5922. spotcontractauditflag:
  5923. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  5924. type: integer
  5925. updatetime:
  5926. description: 更新时间
  5927. type: string
  5928. type: object
  5929. models.Ermcp3PaAreaSubject:
  5930. properties:
  5931. areauserid:
  5932. description: 所属机构
  5933. type: integer
  5934. canmodify:
  5935. description: 是否可修改 - 0:否 1:是
  5936. type: integer
  5937. createtime:
  5938. description: 创建时间
  5939. type: string
  5940. creatorid:
  5941. description: 创建人ID
  5942. type: string
  5943. creatorsrc:
  5944. description: 创建人来源 - 1:管理端 2:终端 3:交易
  5945. type: integer
  5946. modifierid:
  5947. description: 修改人
  5948. type: string
  5949. modifiersrc:
  5950. description: 修改人来源 - 1:管理端 2:终端
  5951. type: integer
  5952. modifytime:
  5953. description: 修改时间
  5954. type: string
  5955. parentsubjectid:
  5956. description: 上级主体ID
  5957. type: string
  5958. remark:
  5959. description: 备注
  5960. type: string
  5961. subjectid:
  5962. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  5963. type: integer
  5964. subjectname:
  5965. description: 主体名称
  5966. type: string
  5967. subjectstatus:
  5968. description: '主体状态 - 1:正常 2: 停用'
  5969. type: integer
  5970. subjecttype:
  5971. description: 主体类型 - 1:交易主体 2:业务部门
  5972. type: integer
  5973. type: object
  5974. models.Ermcp3PaTradeLink:
  5975. properties:
  5976. accountid:
  5977. description: 期货账户代码 | 账号ID
  5978. type: integer
  5979. agreeunit:
  5980. description: 合约乘数
  5981. type: number
  5982. buyorsell:
  5983. description: 方向 - 0:买 1:卖
  5984. type: integer
  5985. channelbuildtype:
  5986. description: 委托单据类型 0:无 1:建仓 2:平仓
  5987. type: integer
  5988. charge:
  5989. description: 手续费
  5990. type: number
  5991. closepl:
  5992. description: 平仓盈亏
  5993. type: number
  5994. closetype:
  5995. description: 平仓方式 - 0:无 1:平今 2:平昨
  5996. type: integer
  5997. convertratio:
  5998. description: 折算系数
  5999. type: number
  6000. enumdicname:
  6001. description: 单位名称
  6002. type: string
  6003. executeprice:
  6004. description: 执行价 [期权]
  6005. type: integer
  6006. goodscode:
  6007. description: 合约代码
  6008. type: string
  6009. goodsgroupid:
  6010. description: 对冲品种ID[期货合约商品组ID]
  6011. type: integer
  6012. goodsid:
  6013. description: 商品ID
  6014. type: integer
  6015. goodsname:
  6016. description: 合约名称
  6017. type: string
  6018. goodunitid:
  6019. description: 单位id
  6020. type: integer
  6021. hedgeflag:
  6022. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  6023. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6024. type: integer
  6025. marketid:
  6026. description: 市场ID
  6027. type: integer
  6028. middlegoodsid:
  6029. description: 套保品种ID
  6030. type: integer
  6031. middlegoodsqty:
  6032. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  6033. type: number
  6034. optioncode:
  6035. description: 期权代码 [期权]
  6036. type: string
  6037. ordertype:
  6038. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  6039. type: integer
  6040. ordertypename:
  6041. description: 订单类型
  6042. type: string
  6043. parentaccountid:
  6044. description: 所属母账户
  6045. type: integer
  6046. premium:
  6047. description: 权利金 [期权]
  6048. type: number
  6049. relatedlot:
  6050. description: 已关联数量(已关联数量手) | db:关联手数
  6051. type: number
  6052. relatedouttradeid:
  6053. description: 关联外部成交单ID
  6054. type: string
  6055. relatedqty:
  6056. description: 关联数量
  6057. type: number
  6058. spotcontractid:
  6059. description: 现货合同ID [4:套期保值\10\11]
  6060. type: string
  6061. taname:
  6062. description: 期货账户名称
  6063. type: string
  6064. tradeamount:
  6065. description: 成交金额(账户)
  6066. type: number
  6067. tradedate:
  6068. description: 交易日(yyyyMMdd)
  6069. type: string
  6070. tradeid:
  6071. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6072. type: string
  6073. tradelot:
  6074. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  6075. type: integer
  6076. tradeprice:
  6077. description: 成交价格
  6078. type: number
  6079. tradetime:
  6080. description: 时间 | db:成交时间
  6081. type: string
  6082. tradetype:
  6083. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  6084. type: integer
  6085. userid:
  6086. description: 所属机构 - 所属母账户的UserID
  6087. type: string
  6088. username:
  6089. description: 用户名称
  6090. type: string
  6091. type: object
  6092. models.Ermcp3ParamChangeApp:
  6093. properties:
  6094. aftervalue:
  6095. description: 变更后
  6096. type: number
  6097. applicationid:
  6098. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  6099. type: string
  6100. applyid:
  6101. description: 申请人
  6102. type: string
  6103. applyname:
  6104. description: 申请人名称(代码)
  6105. type: string
  6106. applyremark:
  6107. description: 申请备注
  6108. type: string
  6109. applysrc:
  6110. description: 申请来源 - 1:管理端 2:终端
  6111. type: integer
  6112. applystatus:
  6113. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  6114. type: integer
  6115. applytime:
  6116. description: 申请时间
  6117. type: string
  6118. areauserid:
  6119. description: 所属机构用户ID
  6120. type: integer
  6121. auditid:
  6122. description: 审核人
  6123. type: string
  6124. auditname:
  6125. description: 审核人名称(代码)
  6126. type: string
  6127. auditremark:
  6128. description: 审核备注
  6129. type: string
  6130. auditsrc:
  6131. description: 审核来源 - 1:管理端 2:终端
  6132. type: integer
  6133. audittime:
  6134. description: 审核时间
  6135. type: string
  6136. audittradedate:
  6137. description: 审核交易日(yyyyMMdd)
  6138. type: string
  6139. beforevalue:
  6140. description: 变更前
  6141. type: number
  6142. deliverygoodscode:
  6143. description: 品种代码
  6144. type: string
  6145. deliverygoodsid:
  6146. description: 品种id
  6147. type: integer
  6148. deliverygoodsname:
  6149. description: 品种名称
  6150. type: string
  6151. middlegoodscode:
  6152. description: 套保品种代码
  6153. type: string
  6154. middlegoodsid:
  6155. description: 套保品种ID [ParamChangeType = 2,3,4]
  6156. type: integer
  6157. middlegoodsname:
  6158. description: 套保品种名称
  6159. type: string
  6160. operatetype:
  6161. description: 操作类型 - 1:新增 2:修改
  6162. type: integer
  6163. paramchangetype:
  6164. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  6165. type: integer
  6166. wrstandardcode:
  6167. description: 现货商品代码
  6168. type: string
  6169. wrstandardid:
  6170. description: 现货商品ID [ParamChangeType = 1,2,3]
  6171. type: integer
  6172. wrstandardname:
  6173. description: 现货商品名称
  6174. type: string
  6175. type: object
  6176. models.Ermcp3RootUserAccount:
  6177. properties:
  6178. accountname:
  6179. description: 账户名称(机构名称)
  6180. type: string
  6181. accountstatus:
  6182. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6183. type: integer
  6184. applysrc:
  6185. description: 申请来源 - 1:管理端 2:终端
  6186. type: integer
  6187. auditremark:
  6188. description: 审核备注
  6189. type: string
  6190. auditsrc:
  6191. description: 审核来源 - 1:管理端 2:终端
  6192. type: integer
  6193. audittime:
  6194. description: 审核时间
  6195. type: string
  6196. audituserid:
  6197. description: 审核人
  6198. type: integer
  6199. broker:
  6200. description: 所属经纪人ID
  6201. type: integer
  6202. canceltime:
  6203. description: 销户时间
  6204. type: string
  6205. canceluserid:
  6206. description: 销户人
  6207. type: integer
  6208. canrecommend:
  6209. description: 是否可推荐 - 0:不可 1;可
  6210. type: integer
  6211. createtime:
  6212. description: 创建时间
  6213. type: string
  6214. creatorid:
  6215. description: 创建人
  6216. type: integer
  6217. hasauth:
  6218. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  6219. type: integer
  6220. isanonymous:
  6221. description: 是否匿名下单 - 0:否 1:是
  6222. type: integer
  6223. maxinvestornum:
  6224. description: 最大用户数(经纪会员下投资者个数)
  6225. type: integer
  6226. memberuserid:
  6227. description: 所属会员ID
  6228. type: integer
  6229. modifierid:
  6230. description: 修改人
  6231. type: integer
  6232. modifyremark:
  6233. description: 变更备注
  6234. type: string
  6235. modifystatus:
  6236. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  6237. type: integer
  6238. modifytime:
  6239. description: 修改时间
  6240. type: string
  6241. nickname:
  6242. description: 昵称
  6243. type: string
  6244. parenttopuser:
  6245. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  6246. type: string
  6247. parentuserid:
  6248. description: 所属机构ID
  6249. type: integer
  6250. reckonaccountid:
  6251. description: 默认结算资金账号ID(机构分润使用) 作废
  6252. type: integer
  6253. refercount:
  6254. description: 推荐总人数
  6255. type: integer
  6256. refereeuserid:
  6257. description: 推荐人ID
  6258. type: integer
  6259. refernum:
  6260. description: 推荐码
  6261. type: string
  6262. rootuserid:
  6263. description: 根用户ID
  6264. type: integer
  6265. subaccountlevel:
  6266. description: 子账户层数
  6267. type: integer
  6268. subarealevelpath:
  6269. description: 子机构层级路径(逗号分隔,首尾加逗号)
  6270. type: string
  6271. userid:
  6272. description: 用户ID
  6273. type: integer
  6274. usertype:
  6275. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6276. type: integer
  6277. type: object
  6278. models.Ermcp3SCMiddleGoods:
  6279. properties:
  6280. biztype:
  6281. description: 业务类型 1:套保 2:套利
  6282. type: integer
  6283. contractno:
  6284. description: 合同编号
  6285. type: string
  6286. contracttype:
  6287. description: 合同类型 1:采购 -1:销售
  6288. type: integer
  6289. convertratio:
  6290. description: 折算系数
  6291. type: number
  6292. customername:
  6293. description: 对手手名称
  6294. type: string
  6295. customeruserid:
  6296. description: 对手id
  6297. type: integer
  6298. deliverygoodscode:
  6299. description: 现货品种代码
  6300. type: string
  6301. deliverygoodsid:
  6302. description: 现货品种ID
  6303. type: integer
  6304. deliverygoodsname:
  6305. description: 现货品种名称
  6306. type: string
  6307. enumdicname:
  6308. description: 现货单位名称
  6309. type: string
  6310. middlegoodsid:
  6311. description: 套保品种ID
  6312. type: integer
  6313. middlegoodspricedqty3:
  6314. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  6315. type: number
  6316. needhedgeratio:
  6317. description: 套保比例
  6318. type: number
  6319. pricedqty:
  6320. description: 已定价量
  6321. type: number
  6322. relatedmiddlegoodsqty:
  6323. description: 已关联量(套保品种)(期货)
  6324. type: number
  6325. spotcontractid:
  6326. description: 合同编号
  6327. type: string
  6328. unitid:
  6329. description: 现货单位id
  6330. type: integer
  6331. userid:
  6332. description: 用户id
  6333. type: integer
  6334. vatrate:
  6335. description: 增值税率
  6336. type: number
  6337. wrstandardcode:
  6338. description: 现货商品代码
  6339. type: string
  6340. wrstandardid:
  6341. description: 现货商品id
  6342. type: integer
  6343. wrstandardname:
  6344. description: 现货商品名称
  6345. type: string
  6346. type: object
  6347. models.Ermcp3SCMiddleGoodsReport:
  6348. properties:
  6349. begindate:
  6350. description: 开始交易日
  6351. type: string
  6352. contractno:
  6353. description: 合同编号
  6354. type: string
  6355. contracttype:
  6356. description: 合同类型 1:采购 -1:销售
  6357. type: integer
  6358. convertratio:
  6359. description: 折算系数
  6360. type: number
  6361. cycletime:
  6362. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6363. type: string
  6364. cycletype:
  6365. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6366. type: integer
  6367. deliverygoodscode:
  6368. description: 品种代码
  6369. type: string
  6370. deliverygoodsid:
  6371. description: 现货品种ID
  6372. type: integer
  6373. deliverygoodsname:
  6374. description: 品种名称
  6375. type: string
  6376. diffprice:
  6377. description: 现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价
  6378. type: number
  6379. diffqty:
  6380. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  6381. type: number
  6382. enddate:
  6383. description: 结束交易日
  6384. type: string
  6385. hedgeplanqty:
  6386. description: 套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例
  6387. type: number
  6388. matchname:
  6389. description: 交易对手方(个人:用户名称 企业:简称)
  6390. type: string
  6391. matchnickname:
  6392. description: 交易对手方昵称
  6393. type: string
  6394. middlegoodscode:
  6395. description: 套保品种代码
  6396. type: string
  6397. middlegoodsid:
  6398. description: 套保品种ID
  6399. type: integer
  6400. middlegoodsname:
  6401. description: 套保品种名称
  6402. type: string
  6403. middlegoodspricedqty:
  6404. description: 已定价量(套保品种 - 税前) = PricedQty * 折算系数
  6405. type: number
  6406. middlegoodspricedqty2:
  6407. description: 已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))
  6408. type: number
  6409. middlegoodspricedqty3:
  6410. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  6411. type: number
  6412. needhedgeratio:
  6413. description: 套保系数
  6414. type: number
  6415. pricedamount:
  6416. description: 已定价额(现货)
  6417. type: number
  6418. pricedamount2:
  6419. description: 已定价额(现货-基价额)
  6420. type: number
  6421. pricedqty:
  6422. description: 已定价量(现货)
  6423. type: number
  6424. reckondate:
  6425. description: 日照时期(yyyyMMdd)
  6426. type: string
  6427. relatedmiddlegoodsamount:
  6428. description: 已关联额(期货)
  6429. type: number
  6430. relatedmiddlegoodsqty:
  6431. description: 已关联量(套保品种)(期货)
  6432. type: number
  6433. spotcontractid:
  6434. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  6435. type: string
  6436. todayavgfutuprice:
  6437. description: 今日期货成交均价 = TodayRelatedMiddleGoodsAmount /todayrelatedfutureqty
  6438. type: number
  6439. todayavgprice:
  6440. description: 今日定价均价 = TodayPricedAmount / TodayPricedQty
  6441. type: number
  6442. todayavgprice2:
  6443. description: 今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty
  6444. type: number
  6445. todaypricedamount:
  6446. description: 今日定价额(现货)
  6447. type: number
  6448. todaypricedamount2:
  6449. description: 今日定价额(现货-基价额)
  6450. type: number
  6451. todaypricedqty:
  6452. description: 今日定价量(现货)
  6453. type: number
  6454. todayrelatedfutureqty:
  6455. description: 今日关联量(期货)
  6456. type: number
  6457. todayrelatedmiddlegoodsamount:
  6458. description: 今日关联额(期货)
  6459. type: number
  6460. todayrelatedmiddlegoodsqty:
  6461. description: 今日关联量(套保品-期货)
  6462. type: number
  6463. updatetime:
  6464. description: 更新时间
  6465. type: string
  6466. userid:
  6467. description: 合同所属用户id
  6468. type: integer
  6469. vatrate:
  6470. description: 增值税率
  6471. type: number
  6472. wrstandardcode:
  6473. description: 商品(品类) 代码
  6474. type: string
  6475. wrstandardid:
  6476. description: 现货商品ID
  6477. type: integer
  6478. wrstandardname:
  6479. description: 商品(品类) 名称
  6480. type: string
  6481. type: object
  6482. models.Ermcp3SellBuyContract:
  6483. properties:
  6484. accountid:
  6485. description: 期货账户id
  6486. type: string
  6487. accountname:
  6488. description: 账户名称
  6489. type: string
  6490. attachment:
  6491. description: 附件
  6492. type: string
  6493. audittime:
  6494. description: 审核时间
  6495. type: string
  6496. bizsubjectid:
  6497. description: 归属业务部门ID - SubjectID
  6498. type: integer
  6499. biztype:
  6500. description: 业务类型 1-套保 2-套利
  6501. type: integer
  6502. brandname:
  6503. description: 品牌名称
  6504. type: string
  6505. contracctstatus:
  6506. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6507. type: integer
  6508. contractmargin:
  6509. description: 合同保证金
  6510. type: number
  6511. contractno:
  6512. description: 合同编号
  6513. type: string
  6514. contracttype:
  6515. description: 合同类型 1-采购, -1-销售
  6516. type: integer
  6517. convertfactor:
  6518. description: 标仓系数(品类)
  6519. type: number
  6520. createtime:
  6521. description: 创建时间
  6522. type: string
  6523. currencyid:
  6524. description: 币种id
  6525. type: integer
  6526. currencyname:
  6527. description: 币种名称
  6528. type: string
  6529. daikaiamount:
  6530. description: 应收(开)票额 | 未收票额
  6531. type: number
  6532. deliveryenddate:
  6533. description: 交割结束日
  6534. type: string
  6535. deliverygoodscode:
  6536. description: 现货品种代码
  6537. type: string
  6538. deliverygoodsid:
  6539. description: 现货商品ID
  6540. type: integer
  6541. deliverygoodsname:
  6542. description: 现货品种名称
  6543. type: string
  6544. deliverystartdate:
  6545. description: 交割开始日
  6546. type: string
  6547. enddate:
  6548. description: 点价结束日
  6549. type: string
  6550. enumdicname:
  6551. description: 单位名称
  6552. type: string
  6553. goodscode:
  6554. description: 点价商品代码
  6555. type: string
  6556. goodsgroupid:
  6557. description: 点价商品组id
  6558. type: integer
  6559. goodsid:
  6560. description: 点价商品ID
  6561. type: integer
  6562. goodsname:
  6563. description: 点价商品名称
  6564. type: string
  6565. invoiceamount:
  6566. description: 已开票额
  6567. type: number
  6568. loanamount:
  6569. description: 贷款总额=已定价额+调整金额
  6570. type: number
  6571. margin:
  6572. description: 保证金
  6573. type: number
  6574. meruserid:
  6575. description: 跟单员id
  6576. type: integer
  6577. meruserlogincode:
  6578. description: 跟单员登录代码
  6579. type: string
  6580. merusername:
  6581. description: 跟单员名称
  6582. type: string
  6583. nickname:
  6584. description: 账户昵称
  6585. type: string
  6586. orireckonrealqty:
  6587. description: 应交收量
  6588. type: number
  6589. payamount:
  6590. description: 已收付额(收款或付款)
  6591. type: number
  6592. preinvoiceamount:
  6593. description: 预收(开)票额
  6594. type: number
  6595. prepayamount:
  6596. description: 预收付额
  6597. type: number
  6598. price:
  6599. description: 价格
  6600. type: number
  6601. pricedamount:
  6602. description: 已定价额
  6603. type: number
  6604. pricedavg:
  6605. description: 已点均价
  6606. type: number
  6607. pricedqty:
  6608. description: 已定价量
  6609. type: number
  6610. pricemove:
  6611. description: 升贴水
  6612. type: number
  6613. pricetype:
  6614. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  6615. type: integer
  6616. producttype:
  6617. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6618. type: integer
  6619. qty:
  6620. description: 合同量
  6621. type: number
  6622. reckonadjustamount:
  6623. description: 调整金额
  6624. type: number
  6625. reckonedamount:
  6626. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  6627. type: number
  6628. reckonotheramount:
  6629. description: 其它费用
  6630. type: number
  6631. reckonrealqty:
  6632. description: 已交收量
  6633. type: number
  6634. remark:
  6635. description: 备注
  6636. type: string
  6637. saleuserid:
  6638. description: 业务员id
  6639. type: integer
  6640. saleuserlogincode:
  6641. description: 业务员登录代码
  6642. type: string
  6643. saleusername:
  6644. description: 业务员名称
  6645. type: string
  6646. spotcontractid:
  6647. description: 合同ID
  6648. type: string
  6649. spotgoodsbrandid:
  6650. description: 现货品牌ID(DGFactoryItem表的ID)
  6651. type: integer
  6652. spotgoodsdesc:
  6653. description: 商品型号(商品规格)
  6654. type: string
  6655. startdate:
  6656. description: 点价开始日
  6657. type: string
  6658. subjectid:
  6659. description: 交易主体ID
  6660. type: integer
  6661. subjectname:
  6662. description: 交易主体名称
  6663. type: string
  6664. totalamount:
  6665. description: 合计总额
  6666. type: number
  6667. tradeuserid:
  6668. description: 交易员id
  6669. type: integer
  6670. tradeuserlogincode:
  6671. description: 交易员登录代码
  6672. type: string
  6673. tradeusername:
  6674. description: 交易员名称
  6675. type: string
  6676. unpayamount:
  6677. description: 应收付款额(应支付或应收款) | 未付款额
  6678. type: number
  6679. unpricedqty:
  6680. description: 未定价量
  6681. type: number
  6682. unsureqty:
  6683. description: 未确定量 | 未交收量
  6684. type: number
  6685. userid:
  6686. description: 机构ID
  6687. type: integer
  6688. vatrate:
  6689. description: 增值税率
  6690. type: number
  6691. wrstandardcode:
  6692. description: 品类代码
  6693. type: string
  6694. wrstandardid:
  6695. description: 品类ID
  6696. type: integer
  6697. wrstandardname:
  6698. description: 品类名称
  6699. type: string
  6700. type: object
  6701. models.Ermcp3SpotGoodsPrice:
  6702. properties:
  6703. areauserid:
  6704. description: 所属机构id
  6705. type: integer
  6706. brandname:
  6707. description: 品牌名称
  6708. type: string
  6709. currencyid:
  6710. description: 报价货币ID
  6711. type: integer
  6712. currencyname:
  6713. description: 币种名称
  6714. type: string
  6715. deliverygoodscode:
  6716. description: 现货商品代码
  6717. type: string
  6718. deliverygoodsid:
  6719. description: 现货商品id
  6720. type: integer
  6721. deliverygoodsname:
  6722. description: 现货商品名称
  6723. type: string
  6724. enumdicname:
  6725. description: 现货商品单位名称
  6726. type: string
  6727. gbenumdicname:
  6728. description: 品类单位名称
  6729. type: string
  6730. gmunitid:
  6731. description: 品类单位id
  6732. type: integer
  6733. isvalid:
  6734. description: 是否有效 - 0:无效 1:有效
  6735. type: integer
  6736. operateid:
  6737. description: 最后操作人
  6738. type: integer
  6739. operatesrc:
  6740. description: 最后操作来源 - 1:管理端 2:终端
  6741. type: integer
  6742. operatetime:
  6743. description: 最后操作时间
  6744. type: string
  6745. operatorname:
  6746. description: 操作人名称
  6747. type: string
  6748. spotgoodsbrandid:
  6749. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6750. type: integer
  6751. spotgoodsprice:
  6752. description: 现货价格
  6753. type: number
  6754. tradedate:
  6755. description: 交易日(yyyyMMdd)
  6756. type: string
  6757. unitid:
  6758. description: 现货商品单位id
  6759. type: integer
  6760. wrstandardcode:
  6761. description: 品类代码
  6762. type: string
  6763. wrstandardid:
  6764. description: 现货品类ID(通用则为0)
  6765. type: integer
  6766. wrstandardname:
  6767. description: 品类名称
  6768. type: string
  6769. type: object
  6770. models.Ermcp3SpotGoodsPriceLog:
  6771. properties:
  6772. areauserid:
  6773. description: 所属机构id
  6774. type: integer
  6775. brandname:
  6776. description: 品牌名称
  6777. type: string
  6778. currencyid:
  6779. description: 报价货币ID
  6780. type: integer
  6781. deliverygoodscode:
  6782. description: 现货商品代码
  6783. type: string
  6784. deliverygoodsid:
  6785. description: 现货商品id
  6786. type: integer
  6787. deliverygoodsname:
  6788. description: 现货商品名称
  6789. type: string
  6790. enumdicname:
  6791. description: 现货商品单位名称
  6792. type: string
  6793. gbenumdicname:
  6794. description: 品类单位名称
  6795. type: string
  6796. gmunitid:
  6797. description: 品类单位id
  6798. type: integer
  6799. logid:
  6800. description: 日志id
  6801. type: integer
  6802. operateid:
  6803. description: 最后操作人
  6804. type: integer
  6805. operatesrc:
  6806. description: 最后操作来源 - 1:管理端 2:终端
  6807. type: integer
  6808. operatetime:
  6809. description: 最后操作时间
  6810. type: string
  6811. operatorname:
  6812. description: 操作人名称
  6813. type: string
  6814. spotgoodsbrandid:
  6815. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6816. type: integer
  6817. spotgoodsprice:
  6818. description: 现货价格
  6819. type: number
  6820. tradedate:
  6821. description: 交易日(yyyyMMdd)
  6822. type: string
  6823. unitid:
  6824. description: 现货商品单位id
  6825. type: integer
  6826. wrstandardcode:
  6827. description: 品类代码
  6828. type: string
  6829. wrstandardid:
  6830. description: 现货品类ID(通用则为0)
  6831. type: integer
  6832. wrstandardname:
  6833. description: 品类名称
  6834. type: string
  6835. type: object
  6836. models.Ermcp3SubTaaccount:
  6837. properties:
  6838. accountid:
  6839. description: 资金账户ID
  6840. type: integer
  6841. parentaccountcode:
  6842. description: 所属根账号代码(母账号代码)
  6843. type: string
  6844. parentaccountid:
  6845. description: 所属根账号(母账号)
  6846. type: integer
  6847. taname:
  6848. description: 资金账号名称
  6849. type: string
  6850. tradestatus:
  6851. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  6852. type: integer
  6853. username:
  6854. description: 交易用户
  6855. type: string
  6856. type: object
  6857. models.Ermcp3TaFutuReDataReport:
  6858. properties:
  6859. accountid:
  6860. description: 交易账户
  6861. type: integer
  6862. accountname:
  6863. description: 交易账号名称
  6864. type: string
  6865. agreeunit:
  6866. description: 商品合约单位
  6867. type: number
  6868. begindate:
  6869. description: 开始交易日
  6870. type: string
  6871. buyorsell:
  6872. description: 持仓方向
  6873. type: integer
  6874. charge:
  6875. description: 手续费
  6876. type: number
  6877. closeavgprice:
  6878. description: 平仓均价
  6879. type: number
  6880. closepl:
  6881. description: 平仓损益
  6882. type: number
  6883. currencyid:
  6884. description: 结算币种ID
  6885. type: integer
  6886. currencyname:
  6887. description: 币种名称
  6888. type: string
  6889. cycletime:
  6890. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6891. type: string
  6892. cycletype:
  6893. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6894. type: integer
  6895. enddate:
  6896. description: 结束交易日
  6897. type: string
  6898. enumdicname:
  6899. description: 单位名称
  6900. type: string
  6901. floatpl:
  6902. description: 浮动损益
  6903. type: number
  6904. goodscode:
  6905. description: 交易合约代码
  6906. type: string
  6907. goodsgroupid:
  6908. description: 交易品种
  6909. type: integer
  6910. goodsgroupname:
  6911. description: 交易品种名称
  6912. type: string
  6913. goodsgroupspotqty:
  6914. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  6915. type: number
  6916. goodsid:
  6917. description: 交易合约
  6918. type: integer
  6919. goodsname:
  6920. description: 交易合约名称
  6921. type: string
  6922. goodunitid:
  6923. description: 交易合约单位id
  6924. type: integer
  6925. holdamount:
  6926. description: 期末持仓额
  6927. type: number
  6928. holdqty:
  6929. description: 期末持仓量
  6930. type: number
  6931. lastholdamount:
  6932. description: 当前持仓额
  6933. type: number
  6934. lastprice:
  6935. description: 最新价
  6936. type: number
  6937. middlegoodsid:
  6938. description: 套保品种id
  6939. type: integer
  6940. middlegoodsname:
  6941. description: 套保商品名称
  6942. type: string
  6943. middlegoodsqty:
  6944. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  6945. type: number
  6946. middlgoodscode:
  6947. description: 套保商品代码
  6948. type: string
  6949. openamount:
  6950. description: 期末开仓额
  6951. type: number
  6952. openavgprice:
  6953. description: 开仓均价
  6954. type: number
  6955. oriholdamount:
  6956. description: 期初持仓额
  6957. type: number
  6958. oriholdqty:
  6959. description: 期初持仓量
  6960. type: number
  6961. oriopenamount:
  6962. description: 期初开仓额
  6963. type: number
  6964. outergroupcode:
  6965. description: 交易品种代码
  6966. type: string
  6967. qtydecimalplace:
  6968. description: 成交量小数位
  6969. type: integer
  6970. reckondate:
  6971. description: 日照时期(yyyyMMdd)
  6972. type: string
  6973. reckonholdamount:
  6974. description: 结算持仓额
  6975. type: number
  6976. reckonpl:
  6977. description: 结算损益
  6978. type: number
  6979. reckonpl2:
  6980. description: 结算逐笔盈亏
  6981. type: number
  6982. reckonprice:
  6983. description: 结算价
  6984. type: number
  6985. relateduserid:
  6986. description: 账户关联用户ID
  6987. type: integer
  6988. todaycloseamount:
  6989. description: 今平仓额
  6990. type: number
  6991. todaycloseqty:
  6992. description: 今平仓量
  6993. type: number
  6994. todaygoodsgroupspotqty:
  6995. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  6996. type: number
  6997. todaymiddlegoodsqty:
  6998. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  6999. type: number
  7000. todayopenamount:
  7001. description: 今开仓额
  7002. type: number
  7003. todayopenqty:
  7004. description: 今开仓量
  7005. type: number
  7006. userid:
  7007. description: 账户所属用户ID
  7008. type: integer
  7009. type: object
  7010. models.Ermcp3TradeLinkDetail:
  7011. properties:
  7012. accountid:
  7013. description: 资金账号
  7014. type: integer
  7015. agreeunit:
  7016. description: 合约乘数
  7017. type: number
  7018. areauserid:
  7019. description: 所属机构
  7020. type: string
  7021. bizsubjectid:
  7022. description: 归属业务部门ID - SubjectID
  7023. type: string
  7024. buyorsell:
  7025. description: 方向 - 0:买 1:卖
  7026. type: integer
  7027. channelbuildtype:
  7028. description: 委托单据类型 0:无 1:建仓 2:平仓
  7029. type: integer
  7030. contractno:
  7031. description: 现货编号 (合同编号)
  7032. type: string
  7033. convertratio:
  7034. description: 折算系数
  7035. type: number
  7036. createtime:
  7037. description: 关联时间 | 创建时间
  7038. type: string
  7039. creatorid:
  7040. description: 创建人ID
  7041. type: string
  7042. creatorsrc:
  7043. description: 创建人来源 - 1:管理端 2:终端 3:交易
  7044. type: integer
  7045. enumdicname:
  7046. description: 单位名称
  7047. type: string
  7048. goodscode:
  7049. description: 合约代码
  7050. type: string
  7051. goodsgroupid:
  7052. description: 对冲品种ID[期货合约商品组ID]
  7053. type: integer
  7054. goodsid:
  7055. description: 商品ID
  7056. type: integer
  7057. goodsname:
  7058. description: 合约名称
  7059. type: string
  7060. hedgeflag:
  7061. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安)
  7062. 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  7063. type: integer
  7064. linkdetailid:
  7065. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  7066. type: string
  7067. linkstatus:
  7068. description: 关联状态 - 1:成功 2:失败 3:解绑
  7069. type: integer
  7070. middlegoodscode:
  7071. description: 套保品种代码
  7072. type: string
  7073. middlegoodsid:
  7074. description: 套保品种ID
  7075. type: integer
  7076. middlegoodsname:
  7077. description: 套保品种名称
  7078. type: string
  7079. relatedlot:
  7080. description: 关联手数
  7081. type: number
  7082. relatedmode:
  7083. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  7084. type: integer
  7085. relatedqty:
  7086. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  7087. type: number
  7088. retcode:
  7089. description: 返回码
  7090. type: integer
  7091. saleuserid:
  7092. description: 业务员ID
  7093. type: string
  7094. spotcontractid:
  7095. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  7096. type: string
  7097. taname:
  7098. description: 期货账户
  7099. type: string
  7100. tradedate:
  7101. description: 关联交易日(yyyyMMdd)
  7102. type: string
  7103. tradeid:
  7104. description: 期货订单号 | 内部成交单ID
  7105. type: string
  7106. tradelot:
  7107. description: 成交数量 | 成交手数
  7108. type: integer
  7109. tradeprice:
  7110. description: 成交价格
  7111. type: number
  7112. tradetime:
  7113. description: 期货成交时间
  7114. type: string
  7115. tradetradedate:
  7116. description: 成交交易日(yyyyMMdd)
  7117. type: string
  7118. username:
  7119. description: 用户名称
  7120. type: string
  7121. type: object
  7122. models.Ermcp3Wrstandard:
  7123. properties:
  7124. areauserid:
  7125. description: 所属机构
  7126. type: integer
  7127. cantrade:
  7128. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  7129. type: integer
  7130. convertfactor:
  7131. description: 标仓系数
  7132. type: number
  7133. createtime:
  7134. description: 创建时间
  7135. type: string
  7136. creatorid:
  7137. description: 创建人
  7138. type: integer
  7139. deliverygoodsid:
  7140. description: 现货品种ID
  7141. type: integer
  7142. enumdicname:
  7143. description: 品类单位名称
  7144. type: string
  7145. isvalid:
  7146. description: 是否有效 0-无效(停用) 1-有效(正常)
  7147. type: integer
  7148. minivalue:
  7149. description: 最小变动值
  7150. type: integer
  7151. minivaluedp:
  7152. description: 最小变动值小数位
  7153. type: integer
  7154. realminivalue:
  7155. description: 实际最小变动值
  7156. type: integer
  7157. realminivaluedp:
  7158. description: 实际最小变动值小数位
  7159. type: integer
  7160. remark:
  7161. description: 备注
  7162. type: string
  7163. unitid:
  7164. description: 品类单位ID
  7165. type: integer
  7166. updatetime:
  7167. description: 更新时间
  7168. type: string
  7169. wrstandardcode:
  7170. description: 品类代码
  7171. type: string
  7172. wrstandardid:
  7173. description: 品类ID(SEQ_WRSTANDARD)
  7174. type: integer
  7175. wrstandardname:
  7176. description: 品类名称
  7177. type: string
  7178. type: object
  7179. models.ErmcpBizGroupEx:
  7180. properties:
  7181. acclist:
  7182. description: 账号列表
  7183. items:
  7184. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  7185. type: array
  7186. bizgroupid:
  7187. description: 业务分组id
  7188. type: integer
  7189. biztype:
  7190. description: 业务类型 1-套保 2-套利
  7191. type: integer
  7192. wrlist:
  7193. description: 现货商品表
  7194. items:
  7195. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  7196. type: array
  7197. type: object
  7198. models.ErmcpBizGroupSpotGoods:
  7199. properties:
  7200. areauserid:
  7201. description: 所属机构id
  7202. type: integer
  7203. bizgroupid:
  7204. description: 分组id
  7205. type: integer
  7206. biztype:
  7207. description: 业务类型 1-套保 2-套利
  7208. type: integer
  7209. deliverygoodscode:
  7210. description: 现货商品代码
  7211. type: string
  7212. deliverygoodsid:
  7213. description: 现货商品id
  7214. type: integer
  7215. deliverygoodsname:
  7216. description: 现货商品名称
  7217. type: string
  7218. unitid:
  7219. description: 现货商品单位id
  7220. type: integer
  7221. type: object
  7222. models.ErmcpBizGroupTaAccount:
  7223. properties:
  7224. accountid:
  7225. description: 账号id
  7226. type: integer
  7227. accountname:
  7228. description: 账号名称
  7229. type: string
  7230. areauserid:
  7231. description: 所属机构id
  7232. type: integer
  7233. bizgroupid:
  7234. description: 业务分组id
  7235. type: integer
  7236. ismain:
  7237. description: 是否主账号 1-是 0-否
  7238. type: integer
  7239. type: object
  7240. models.ErmcpDGFactoryItem:
  7241. properties:
  7242. areauserid:
  7243. description: 用户id
  7244. type: integer
  7245. deliverygoodsid:
  7246. description: 现货品种ID
  7247. type: integer
  7248. dgfactoryitemid:
  7249. description: 选择项ID(SEQ_DGFACTORYITEM)
  7250. type: integer
  7251. dgfactoryitemtypeid:
  7252. description: 要素项类型
  7253. type: integer
  7254. dgfactoryitemvalue:
  7255. description: 要素项值(类型为仓库时填写仓库名称)
  7256. type: string
  7257. isvalid:
  7258. description: 是否有效 - 0:无效 1:有效
  7259. type: integer
  7260. orderindex:
  7261. description: 顺序
  7262. type: integer
  7263. warehouseid:
  7264. description: 仓库ID(类型为仓库时填写)
  7265. type: integer
  7266. type: object
  7267. models.ErmcpDeliveryGoods:
  7268. properties:
  7269. agreeunit:
  7270. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  7271. type: integer
  7272. areauserid:
  7273. description: 所属机构
  7274. type: integer
  7275. auditflag:
  7276. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  7277. type: integer
  7278. categoryid:
  7279. description: 类别ID(SEQ_WRCATEGORY)
  7280. type: integer
  7281. deliverygoodscode:
  7282. description: 现货品种代码
  7283. type: string
  7284. deliverygoodsid:
  7285. description: 现货品种ID(SEQ_DELIVERYGOODS)
  7286. type: integer
  7287. deliverygoodsname:
  7288. description: 现货品种名称
  7289. type: string
  7290. deliverygoodstype:
  7291. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  7292. type: integer
  7293. dgstatus:
  7294. description: 品种状态 - 作废 - 0:未激活 1:正常
  7295. type: integer
  7296. enumdicname:
  7297. description: 现货品种单位名称
  7298. type: string
  7299. goodsunitid:
  7300. description: 现货品种单位ID
  7301. type: integer
  7302. isvalid:
  7303. description: 是否有效 - 0:无效 1:有效
  7304. type: integer
  7305. qtydecimalplace:
  7306. description: 成交量小数位
  7307. type: integer
  7308. remark:
  7309. description: 备注
  7310. type: string
  7311. standardqty:
  7312. description: 标准数量(库位数量) [标准品特有]
  7313. type: integer
  7314. standardqtyrange:
  7315. description: 标准数量偏差范围 [标准品特有]
  7316. type: integer
  7317. type: object
  7318. models.ErmcpFuturesCompany:
  7319. properties:
  7320. brokerid:
  7321. description: 经纪公司代码
  7322. type: string
  7323. channeladdress:
  7324. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  7325. type: string
  7326. channelid:
  7327. description: 对冲渠道ID
  7328. type: string
  7329. createtime:
  7330. description: 创建时间
  7331. type: string
  7332. creatorid:
  7333. description: 创建人
  7334. type: string
  7335. fcid:
  7336. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  7337. type: integer
  7338. fcname:
  7339. description: 期货公司名称
  7340. type: string
  7341. isvalid:
  7342. description: 是否有效 - 0:无效 1:有效
  7343. type: integer
  7344. mhpaddress:
  7345. description: MHP服务地址(IP:Port)
  7346. type: string
  7347. riskrulegroupid:
  7348. description: 风控规则组ID
  7349. type: string
  7350. tradefeetmpid:
  7351. description: 手续费模板ID[TradeConfigTmpType为2]
  7352. type: string
  7353. trademargintmpid:
  7354. description: 保证金模板ID [TradeConfigTmpType为1]
  7355. type: string
  7356. traderatetmpid:
  7357. description: 汇率模板ID[TradeConfigTmpType为3]
  7358. type: string
  7359. updatetime:
  7360. description: 更新时间
  7361. type: string
  7362. updatorid:
  7363. description: 更新人
  7364. type: string
  7365. type: object
  7366. models.ErmcpGGConvertCfg:
  7367. properties:
  7368. convertratio:
  7369. description: 折算系数
  7370. type: number
  7371. destgoodsgroupid:
  7372. description: 目标品种ID
  7373. type: integer
  7374. dstcode:
  7375. description: 目录品种代码
  7376. type: string
  7377. dstexchangecode:
  7378. description: 目标期货交易所
  7379. type: string
  7380. dstname:
  7381. description: 目标品种名称
  7382. type: string
  7383. dstunitid:
  7384. description: 目标品种单位ID
  7385. type: integer
  7386. dstunitidname:
  7387. description: 目标品种单位名称
  7388. type: string
  7389. modifytime:
  7390. description: 修改时间
  7391. type: string
  7392. srccode:
  7393. description: 源品种代码
  7394. type: string
  7395. srcexchangecode:
  7396. description: 源期货交易所
  7397. type: string
  7398. srcgoodsgroupid:
  7399. description: 源品种ID
  7400. type: integer
  7401. srcname:
  7402. description: 源品种名称
  7403. type: string
  7404. srcunitid:
  7405. description: 源品种单位ID
  7406. type: integer
  7407. srcunitidname:
  7408. description: 源品种单位名称
  7409. type: string
  7410. type: object
  7411. models.ErmcpGoods:
  7412. properties:
  7413. agreeunit:
  7414. description: 合约单位
  7415. type: number
  7416. areauserid:
  7417. description: 所属机构
  7418. type: integer
  7419. auditaccountid:
  7420. description: 审核操作员账号
  7421. type: integer
  7422. audittime:
  7423. description: 审核时间
  7424. type: string
  7425. cancelaccountid:
  7426. description: 注销操作员账号
  7427. type: integer
  7428. canceltime:
  7429. description: 注销时间
  7430. type: string
  7431. closepricemode:
  7432. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7433. type: integer
  7434. closepriceparam:
  7435. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7436. type: number
  7437. createtime:
  7438. description: 创建时间
  7439. type: string
  7440. creatorid:
  7441. description: 创建人
  7442. type: integer
  7443. currencyid:
  7444. description: 报价货币ID
  7445. type: integer
  7446. cutmode:
  7447. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7448. type: integer
  7449. decimalplace:
  7450. description: 报价小数位
  7451. type: integer
  7452. delistingdate:
  7453. description: 商品退市时间(状态:退市) -- 已作废
  7454. type: string
  7455. delistingmode:
  7456. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7457. type: integer
  7458. deliveryflag:
  7459. description: 交割标志 - 0:不可交割 1:可交割
  7460. type: integer
  7461. enumdicname:
  7462. description: 单位名称
  7463. type: string
  7464. forceclosemode:
  7465. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7466. type: integer
  7467. forceclosevalue:
  7468. description: 定期强平参数 [收益权]
  7469. type: integer
  7470. goodscode:
  7471. description: 商品代码(内部)
  7472. type: string
  7473. goodscurrencyid:
  7474. description: 合约货币ID
  7475. type: integer
  7476. goodsgroupid:
  7477. description: 所属商品组ID
  7478. type: integer
  7479. goodsid:
  7480. description: 商品ID(自增ID SEQ_GOODS)
  7481. type: integer
  7482. goodsname:
  7483. description: 商品名称
  7484. type: string
  7485. goodsquotetype:
  7486. description: '合约报价类型: 1-直接报价 2-间接报价'
  7487. type: integer
  7488. goodsstatus:
  7489. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7490. type: integer
  7491. goodstradetype:
  7492. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7493. type: integer
  7494. goodunitid:
  7495. description: 报价单位ID
  7496. type: integer
  7497. hasquoter:
  7498. description: 是否有报价商 - 0:无报价商 1:有报价商
  7499. type: integer
  7500. hqprotecttime:
  7501. description: 行情保护时间(秒)
  7502. type: integer
  7503. innerdealmode:
  7504. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7505. type: integer
  7506. isbuylimited:
  7507. description: 是否限制建仓量 - 0:不限制 1:限制
  7508. type: integer
  7509. isvisible:
  7510. description: 游客是否可见 - 0:不可见 1:可见
  7511. type: integer
  7512. lasttradedate:
  7513. description: 最后交易日期(状态:待退市)
  7514. type: string
  7515. listingdate:
  7516. description: 交易开始日期
  7517. type: string
  7518. marketid:
  7519. description: 所属市场ID
  7520. type: integer
  7521. modifierid:
  7522. description: 修改人
  7523. type: integer
  7524. modifystatus:
  7525. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7526. type: integer
  7527. modifytime:
  7528. description: 修改时间
  7529. type: string
  7530. outerdealmode:
  7531. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7532. type: integer
  7533. outgoodscode:
  7534. description: 商品代码(外部)
  7535. type: string
  7536. pictureurl:
  7537. description: 商品图片
  7538. type: string
  7539. qtydecimalplace:
  7540. description: 成交量小数位
  7541. type: integer
  7542. quotegear:
  7543. description: 行情档位(1-10)
  7544. type: integer
  7545. quoteminunit:
  7546. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7547. type: integer
  7548. quoteshowtype:
  7549. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7550. type: integer
  7551. quoteshowtypeinterval:
  7552. description: 行情报价间隔时间(秒)(成交价时为0)
  7553. type: integer
  7554. relatedgoodsid:
  7555. description: 关联参考商品ID
  7556. type: integer
  7557. remark:
  7558. description: 备注
  7559. type: string
  7560. trademode:
  7561. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7562. 21:竞拍-大宗式 22:受托竞价
  7563. type: integer
  7564. required:
  7565. - goodscode
  7566. - goodsid
  7567. - goodsname
  7568. - marketid
  7569. type: object
  7570. models.ErmcpGoodsBrand:
  7571. properties:
  7572. areauserid:
  7573. description: 所属机构
  7574. type: integer
  7575. brandid:
  7576. description: BrandID(SEQ_SPOTGOODSBRAND)
  7577. type: integer
  7578. brandname:
  7579. description: 品牌名称
  7580. type: string
  7581. createtime:
  7582. description: 创建时间
  7583. type: string
  7584. creatorid:
  7585. description: 创建人
  7586. type: integer
  7587. creatorsrc:
  7588. description: 创建人来源 - 1:管理端 2:终端
  7589. type: integer
  7590. deliverygoodsid:
  7591. description: 现货品种ID
  7592. type: integer
  7593. isvalid:
  7594. description: 是否有效 - 0:无效 1:有效
  7595. type: integer
  7596. updatetime:
  7597. description: 更新时间
  7598. type: string
  7599. updatorid:
  7600. description: 更新人
  7601. type: integer
  7602. updatorsrc:
  7603. description: 更新人来源 - 1:管理端 2:终端
  7604. type: integer
  7605. wrstandardid:
  7606. description: 现货商品ID
  7607. type: integer
  7608. type: object
  7609. models.ErmcpGoodsModel:
  7610. properties:
  7611. areauserid:
  7612. description: 所属机构
  7613. type: integer
  7614. convertfactor:
  7615. description: 标仓系数
  7616. type: number
  7617. createtime:
  7618. description: 创建时间
  7619. type: string
  7620. creatorid:
  7621. description: 创建人
  7622. type: integer
  7623. creatorsrc:
  7624. description: 创建人来源 - 1:管理端 2:终端
  7625. type: integer
  7626. deliverygoodsid:
  7627. description: 现货品种ID
  7628. type: integer
  7629. isvalid:
  7630. description: 是否有效 - 0:无效 1:有效
  7631. type: integer
  7632. modelid:
  7633. description: ModelID(SEQ_SPOTGOODSMODEL)
  7634. type: integer
  7635. modelname:
  7636. description: 型号名称
  7637. type: string
  7638. updatetime:
  7639. description: 更新时间
  7640. type: string
  7641. updatorid:
  7642. description: 更新人
  7643. type: integer
  7644. updatorsrc:
  7645. description: 更新人来源 - 1:管理端 2:终端
  7646. type: integer
  7647. wrstandardid:
  7648. description: 现货商品ID
  7649. type: integer
  7650. type: object
  7651. models.ErmcpHisExposure:
  7652. properties:
  7653. needhedgeexposoure:
  7654. description: 应套保敞口
  7655. type: number
  7656. reckondate:
  7657. description: 日照时期(yyyyMMdd)
  7658. type: string
  7659. totalexposure:
  7660. description: 总敞口
  7661. type: number
  7662. type: object
  7663. models.ErmcpLoginTaAccount:
  7664. properties:
  7665. accountid:
  7666. description: 账号id
  7667. type: integer
  7668. accountname:
  7669. description: 账号名称
  7670. type: string
  7671. type: object
  7672. models.ErmcpLoginUser:
  7673. properties:
  7674. acclist:
  7675. description: 关联资金账号
  7676. items:
  7677. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  7678. type: array
  7679. accountname:
  7680. description: 用户名称
  7681. type: string
  7682. clientroleid:
  7683. description: 角色id(usertype=2)
  7684. type: integer
  7685. createtime:
  7686. description: 创建时间
  7687. type: string
  7688. logincode:
  7689. description: 登录代码
  7690. type: string
  7691. loginid:
  7692. description: 登录id(LOGINID)
  7693. type: integer
  7694. loginname:
  7695. description: 登录名称(loginaccount表中的accountname字段)
  7696. type: string
  7697. loginstatus:
  7698. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  7699. type: integer
  7700. memberuserid:
  7701. description: 所属会员id
  7702. type: integer
  7703. mobile:
  7704. description: 手机号
  7705. type: string
  7706. modifytime:
  7707. description: 修改时间
  7708. type: string
  7709. password:
  7710. description: 密码(不可解密)
  7711. type: string
  7712. rolename:
  7713. description: 角色名称
  7714. type: string
  7715. rolestatus:
  7716. description: 角色状态 1-启用 2-停用
  7717. type: integer
  7718. roletype:
  7719. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  7720. type: string
  7721. userid:
  7722. description: 用户id
  7723. type: integer
  7724. usertype:
  7725. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  7726. type: integer
  7727. type: object
  7728. models.ErmcpLoginUserEx:
  7729. properties:
  7730. accountstatus:
  7731. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  7732. type: integer
  7733. mobile:
  7734. description: 手机号
  7735. type: string
  7736. querytype:
  7737. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  7738. type: integer
  7739. roleid:
  7740. description: 角色id(交易账户->用户id)
  7741. type: integer
  7742. rolename:
  7743. description: 角色名称(交易账户->用户名称)
  7744. type: string
  7745. userlist:
  7746. description: 用户列表
  7747. items:
  7748. $ref: '#/definitions/models.ErmcpLoginUser'
  7749. type: array
  7750. usertype:
  7751. description: 用户类型 2-机构 7-企业成员(云平台)
  7752. type: integer
  7753. type: object
  7754. models.ErmcpMiddleGoodsModel:
  7755. properties:
  7756. areauserid:
  7757. description: 机构用户ID
  7758. type: integer
  7759. createtime:
  7760. description: 修改时间
  7761. type: string
  7762. enumdicname:
  7763. description: 单位名称
  7764. type: string
  7765. evaluateratio:
  7766. description: 估价系数
  7767. type: number
  7768. goodsgroupid:
  7769. description: 关联期货品种ID
  7770. type: integer
  7771. goodsunitid:
  7772. description: 单位ID
  7773. type: integer
  7774. isvalid:
  7775. description: 状态 0-无效(停用) 1-有效(正常)
  7776. type: integer
  7777. middlegoodscode:
  7778. description: 套保品种代码
  7779. type: string
  7780. middlegoodsid:
  7781. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  7782. type: integer
  7783. middlegoodsname:
  7784. description: 套保品种名称
  7785. type: string
  7786. modifytime:
  7787. description: 修改时间
  7788. type: string
  7789. needarbitrageratio:
  7790. description: 套利比例
  7791. type: number
  7792. needhedgeratio:
  7793. description: 套保比率
  7794. type: number
  7795. qtydecimalplace:
  7796. description: 数量小数位
  7797. type: integer
  7798. relatedgoodsid:
  7799. description: 关联交易商品ID
  7800. type: integer
  7801. relatedgoodstype:
  7802. description: 关联商品类型 - 1:期货合约 2:现货品种
  7803. type: integer
  7804. remark:
  7805. description: 备注
  7806. type: string
  7807. type: object
  7808. models.ErmcpMiddlegoodsRelateGoods:
  7809. properties:
  7810. agreeunit:
  7811. description: 合约乘数
  7812. type: number
  7813. convertratio:
  7814. description: 折算系数
  7815. type: number
  7816. enumdicname:
  7817. description: 单位名称(交易商品)
  7818. type: string
  7819. goodscode:
  7820. description: 交易商品代码
  7821. type: string
  7822. goodsgroupid:
  7823. description: 交易品种id
  7824. type: integer
  7825. goodsid:
  7826. description: 商品Id
  7827. type: integer
  7828. goodsname:
  7829. description: 交易商品名称
  7830. type: string
  7831. goodunitid:
  7832. description: 交易商品单位id
  7833. type: integer
  7834. middlegoodsid:
  7835. description: 套保商品id
  7836. type: integer
  7837. middlegoodsname:
  7838. description: 套保商品名称
  7839. type: string
  7840. middlegoodsswcode:
  7841. description: 套保商品代码
  7842. type: string
  7843. needarbitrageratio:
  7844. description: 应套利比例
  7845. type: number
  7846. needhedgeratio:
  7847. description: 应套保比例
  7848. type: number
  7849. type: object
  7850. models.ErmcpRole:
  7851. properties:
  7852. areauserid:
  7853. description: 所属机构
  7854. type: integer
  7855. autoid:
  7856. description: 角色ID(自增ID)
  7857. type: integer
  7858. modifierid:
  7859. description: 修改人(创建人)
  7860. type: integer
  7861. modifiername:
  7862. description: 修改人名称
  7863. type: string
  7864. modifytime:
  7865. description: 修改时间(创建时间)
  7866. type: string
  7867. rolename:
  7868. description: 角色名称
  7869. type: string
  7870. rolestatus:
  7871. description: 角色状态 - 1:启用 2:停用
  7872. type: integer
  7873. roletype:
  7874. description: 角色类型 - 1- 管理端 2- 交易端
  7875. type: integer
  7876. type: object
  7877. models.ErmcpRoleMenu:
  7878. properties:
  7879. iconame:
  7880. description: 菜单图标
  7881. type: string
  7882. ishadrole:
  7883. description: 是否有权限
  7884. type: boolean
  7885. menutype:
  7886. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)
  7887. type: integer
  7888. parentcode:
  7889. description: 上级资源代码
  7890. type: string
  7891. remark:
  7892. description: 菜单备注
  7893. type: string
  7894. resourcecode:
  7895. description: 菜单代码
  7896. type: string
  7897. resourcelevel:
  7898. description: 级别
  7899. type: integer
  7900. resourcename:
  7901. description: 菜单名称
  7902. type: string
  7903. roleid:
  7904. description: 角色id
  7905. type: integer
  7906. sort:
  7907. description: 排序
  7908. type: integer
  7909. url:
  7910. description: URL
  7911. type: string
  7912. userid:
  7913. description: 用户id
  7914. type: integer
  7915. type: object
  7916. models.ErmcpRoleMenuEx:
  7917. properties:
  7918. menu:
  7919. $ref: '#/definitions/models.ErmcpRoleMenu'
  7920. description: 父级菜单
  7921. subMenu:
  7922. description: 子级菜单
  7923. items:
  7924. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  7925. type: array
  7926. type: object
  7927. models.ErmcpTaAccount:
  7928. properties:
  7929. accountid:
  7930. description: 账户id
  7931. type: integer
  7932. accountname:
  7933. description: 账户名称
  7934. type: string
  7935. currencyid:
  7936. description: 币种id
  7937. type: integer
  7938. hedgeaccountcode:
  7939. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7940. type: string
  7941. ismain:
  7942. description: 是否主账户 0-否 1-是
  7943. type: integer
  7944. parentaccountid:
  7945. description: 父账户id
  7946. type: integer
  7947. relateduserid:
  7948. description: 关联userid
  7949. type: integer
  7950. tradefeetmpid:
  7951. description: 手续费模板id
  7952. type: integer
  7953. tradefeetmpname:
  7954. description: 手续费模板名称
  7955. type: string
  7956. trademargintmpid:
  7957. description: 保证金模板id
  7958. type: integer
  7959. trademargintmpname:
  7960. description: 保证金模板名称
  7961. type: string
  7962. traderatetmpid:
  7963. description: 汇率模板id
  7964. type: integer
  7965. traderatetmpname:
  7966. description: 汇率模板名称
  7967. type: string
  7968. tradestatus:
  7969. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7970. type: integer
  7971. userid:
  7972. description: 用户id
  7973. type: integer
  7974. type: object
  7975. models.ErmcpTaAccountEx:
  7976. properties:
  7977. mainAcc:
  7978. $ref: '#/definitions/models.ErmcpTaAccountM'
  7979. description: 主账号
  7980. subacclist:
  7981. description: 子账号列表
  7982. items:
  7983. $ref: '#/definitions/models.ErmcpTaAccount'
  7984. type: array
  7985. type: object
  7986. models.ErmcpTaAccountInfo:
  7987. properties:
  7988. accountid:
  7989. description: 资金账户ID
  7990. type: integer
  7991. accountname:
  7992. description: 账户名称
  7993. type: string
  7994. balance:
  7995. description: 期初余额
  7996. type: number
  7997. capitalbalance:
  7998. description: 本金余额[外部子账户实际出入金余额]
  7999. type: number
  8000. closepl:
  8001. description: 今日平仓盈亏
  8002. type: number
  8003. creditdecrease:
  8004. description: 今日授信减少
  8005. type: number
  8006. creditincrease:
  8007. description: 今日授信增加
  8008. type: number
  8009. curdebt:
  8010. description: 期末欠款
  8011. type: number
  8012. currencyid:
  8013. description: 货币ID
  8014. type: integer
  8015. currentbalance:
  8016. description: 期末余额
  8017. type: number
  8018. freezecharge:
  8019. description: 手续费冻结
  8020. type: number
  8021. freezemargin:
  8022. description: 冻结保证金
  8023. type: number
  8024. fromaccountid:
  8025. description: 所属上级账户
  8026. type: integer
  8027. inamount:
  8028. description: 今日入金金额(包括三方入金)
  8029. type: number
  8030. ismain:
  8031. description: 是否母账号 0:不是母账户 1:是母账户
  8032. type: integer
  8033. mortgagecredit:
  8034. description: 授信金额
  8035. type: number
  8036. oridebt:
  8037. description: 期初欠款
  8038. type: number
  8039. orifreezecharge:
  8040. description: 期初手续费冻结
  8041. type: number
  8042. orifreezemargin:
  8043. description: 期初冻结保证金
  8044. type: number
  8045. orimortgagecredit:
  8046. description: 期初授信金额
  8047. type: number
  8048. oriothercredit:
  8049. description: 期初其它授信金额
  8050. type: number
  8051. oriotherfreezemargin:
  8052. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  8053. type: number
  8054. orioutamountfreeze:
  8055. description: 期初出金冻结
  8056. type: number
  8057. oriusedmargin:
  8058. description: 期初占用保证金
  8059. type: number
  8060. othercredit:
  8061. description: 其它授信金额
  8062. type: number
  8063. othercreditdecrease:
  8064. description: 今日其它授信减少
  8065. type: number
  8066. othercreditincrease:
  8067. description: 今日其它授信增加
  8068. type: number
  8069. otherfreezemargin:
  8070. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  8071. type: number
  8072. outamount:
  8073. description: 今日出金金额(包括三方出金)
  8074. type: number
  8075. outamountfreeze:
  8076. description: 出金冻结
  8077. type: number
  8078. outthreshold:
  8079. description: 出金阈值
  8080. type: number
  8081. parentaccountid:
  8082. description: 所属根账号
  8083. type: integer
  8084. paycharge:
  8085. description: 今日手续费支出
  8086. type: number
  8087. relateduserid:
  8088. description: 关联用户
  8089. type: integer
  8090. signstatus:
  8091. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  8092. type: integer
  8093. sublevelpath:
  8094. description: 账号层级路径(逗号分隔,首尾加逗号)
  8095. type: string
  8096. taaccounttype:
  8097. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  8098. type: integer
  8099. thirdinamount:
  8100. description: 今日三方入金
  8101. type: number
  8102. thirdoutamount:
  8103. description: 今日三方出金
  8104. type: number
  8105. tradestatus:
  8106. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  8107. type: integer
  8108. transferamount:
  8109. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  8110. type: number
  8111. usedmargin:
  8112. description: 占用保证金
  8113. type: number
  8114. userid:
  8115. description: 用户ID
  8116. type: integer
  8117. type: object
  8118. models.ErmcpTaAccountM:
  8119. properties:
  8120. accountid:
  8121. description: 账户id
  8122. type: integer
  8123. accountname:
  8124. description: 账户名称
  8125. type: string
  8126. currencyid:
  8127. description: 币种id
  8128. type: integer
  8129. fcid:
  8130. description: 期货公司id
  8131. type: integer
  8132. fcname:
  8133. description: 期货公司代码
  8134. type: string
  8135. hedgeaccountcode:
  8136. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  8137. type: string
  8138. ismain:
  8139. description: 是否主账户 0-否 1-是
  8140. type: integer
  8141. parentaccountid:
  8142. description: 父账户id
  8143. type: integer
  8144. relateduserid:
  8145. description: 关联userid
  8146. type: integer
  8147. tradefeetmpid:
  8148. description: 手续费模板id
  8149. type: integer
  8150. tradefeetmpname:
  8151. description: 手续费模板名称
  8152. type: string
  8153. trademargintmpid:
  8154. description: 保证金模板id
  8155. type: integer
  8156. trademargintmpname:
  8157. description: 保证金模板名称
  8158. type: string
  8159. traderatetmpid:
  8160. description: 汇率模板id
  8161. type: integer
  8162. traderatetmpname:
  8163. description: 汇率模板名称
  8164. type: string
  8165. tradestatus:
  8166. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  8167. type: integer
  8168. userid:
  8169. description: 用户id
  8170. type: integer
  8171. type: object
  8172. models.ErmcpTradeConfigTMP:
  8173. properties:
  8174. areauserid:
  8175. description: 所属机构
  8176. type: integer
  8177. basiccurrencyid:
  8178. description: 基本币种ID[汇率] - 目标币种
  8179. type: integer
  8180. mainaccountid:
  8181. description: 主账户ID
  8182. type: integer
  8183. modifierid:
  8184. description: 修改人
  8185. type: integer
  8186. remark:
  8187. description: 备注
  8188. type: string
  8189. tradeconfigtmpid:
  8190. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  8191. type: integer
  8192. tradeconfigtmpname:
  8193. description: 交易配置模板名称
  8194. type: string
  8195. tradeconfigtmptype:
  8196. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  8197. type: integer
  8198. updatetime:
  8199. description: 更新时间
  8200. type: string
  8201. type: object
  8202. models.Externalexchange:
  8203. properties:
  8204. autoid:
  8205. description: AutoID - SEQ_EXTERNALEXCHANGE
  8206. type: integer
  8207. exchangefullname:
  8208. description: 外部交易所全称
  8209. type: string
  8210. exexchangecode:
  8211. description: 外部交易所代码
  8212. type: string
  8213. exexchangename:
  8214. description: 外部交易所名称(简称)
  8215. type: string
  8216. ismarketprice:
  8217. description: 是否支持市价 - 0:不支持 1:支持
  8218. type: integer
  8219. quotegear:
  8220. description: 行情档位(1-10)
  8221. type: integer
  8222. showbrokerflag:
  8223. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  8224. type: integer
  8225. updatetime:
  8226. description: 更新时间
  8227. type: string
  8228. required:
  8229. - autoid
  8230. type: object
  8231. models.Funcmenulist:
  8232. properties:
  8233. iconame:
  8234. description: 菜单图标
  8235. type: string
  8236. menutype:
  8237. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  8238. type: integer
  8239. parentcode:
  8240. description: 上级资源代码
  8241. type: string
  8242. remark:
  8243. description: 备注
  8244. type: string
  8245. resourcecode:
  8246. description: 资源代码
  8247. type: string
  8248. resourcelevel:
  8249. description: 级别 1-一级 2-二级 3-三级 4-四级
  8250. type: integer
  8251. resourcename:
  8252. description: 资源名
  8253. type: string
  8254. sort:
  8255. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  8256. type: integer
  8257. url:
  8258. description: URL
  8259. type: string
  8260. required:
  8261. - resourcecode
  8262. type: object
  8263. models.Goods:
  8264. properties:
  8265. agreeunit:
  8266. description: 合约单位
  8267. type: number
  8268. areauserid:
  8269. description: 所属机构
  8270. type: integer
  8271. auditaccountid:
  8272. description: 审核操作员账号
  8273. type: integer
  8274. audittime:
  8275. description: 审核时间
  8276. type: string
  8277. cancelaccountid:
  8278. description: 注销操作员账号
  8279. type: integer
  8280. canceltime:
  8281. description: 注销时间
  8282. type: string
  8283. closepricemode:
  8284. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8285. type: integer
  8286. closepriceparam:
  8287. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8288. type: number
  8289. createtime:
  8290. description: 创建时间
  8291. type: string
  8292. creatorid:
  8293. description: 创建人
  8294. type: integer
  8295. currencyid:
  8296. description: 报价货币ID
  8297. type: integer
  8298. cutmode:
  8299. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8300. type: integer
  8301. decimalplace:
  8302. description: 报价小数位
  8303. type: integer
  8304. delistingdate:
  8305. description: 商品退市时间(状态:退市) -- 已作废
  8306. type: string
  8307. delistingmode:
  8308. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8309. type: integer
  8310. deliveryflag:
  8311. description: 交割标志 - 0:不可交割 1:可交割
  8312. type: integer
  8313. forceclosemode:
  8314. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8315. type: integer
  8316. forceclosevalue:
  8317. description: 定期强平参数 [收益权]
  8318. type: integer
  8319. goodscode:
  8320. description: 商品代码(内部)
  8321. type: string
  8322. goodscurrencyid:
  8323. description: 合约货币ID
  8324. type: integer
  8325. goodsgroupid:
  8326. description: 所属商品组ID
  8327. type: integer
  8328. goodsid:
  8329. description: 商品ID(自增ID SEQ_GOODS)
  8330. type: integer
  8331. goodsname:
  8332. description: 商品名称
  8333. type: string
  8334. goodsquotetype:
  8335. description: '合约报价类型: 1-直接报价 2-间接报价'
  8336. type: integer
  8337. goodsstatus:
  8338. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8339. type: integer
  8340. goodstradetype:
  8341. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8342. type: integer
  8343. goodunitid:
  8344. description: 报价单位ID
  8345. type: integer
  8346. hasquoter:
  8347. description: 是否有报价商 - 0:无报价商 1:有报价商
  8348. type: integer
  8349. hqprotecttime:
  8350. description: 行情保护时间(秒)
  8351. type: integer
  8352. innerdealmode:
  8353. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8354. type: integer
  8355. isbuylimited:
  8356. description: 是否限制建仓量 - 0:不限制 1:限制
  8357. type: integer
  8358. isvisible:
  8359. description: 游客是否可见 - 0:不可见 1:可见
  8360. type: integer
  8361. lasttradedate:
  8362. description: 最后交易日期(状态:待退市)
  8363. type: string
  8364. listingdate:
  8365. description: 交易开始日期
  8366. type: string
  8367. marketid:
  8368. description: 所属市场ID
  8369. type: integer
  8370. modifierid:
  8371. description: 修改人
  8372. type: integer
  8373. modifystatus:
  8374. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8375. type: integer
  8376. modifytime:
  8377. description: 修改时间
  8378. type: string
  8379. outerdealmode:
  8380. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8381. type: integer
  8382. outgoodscode:
  8383. description: 商品代码(外部)
  8384. type: string
  8385. pictureurl:
  8386. description: 商品图片
  8387. type: string
  8388. qtydecimalplace:
  8389. description: 成交量小数位
  8390. type: integer
  8391. quotegear:
  8392. description: 行情档位(1-10)
  8393. type: integer
  8394. quoteminunit:
  8395. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8396. type: integer
  8397. quoteshowtype:
  8398. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8399. type: integer
  8400. quoteshowtypeinterval:
  8401. description: 行情报价间隔时间(秒)(成交价时为0)
  8402. type: integer
  8403. remark:
  8404. description: 备注
  8405. type: string
  8406. required:
  8407. - goodscode
  8408. - goodsid
  8409. - goodsname
  8410. - marketid
  8411. type: object
  8412. models.GoodsIDAndName:
  8413. properties:
  8414. goodscode:
  8415. description: 商品代码(内部)
  8416. type: string
  8417. goodsid:
  8418. description: 商品ID(自增ID SEQ_GOODS)
  8419. type: integer
  8420. goodsname:
  8421. description: 商品名称
  8422. type: string
  8423. marketid:
  8424. description: 所属市场ID
  8425. type: integer
  8426. required:
  8427. - goodscode
  8428. - goodsid
  8429. - goodsname
  8430. - marketid
  8431. type: object
  8432. models.Goodsgroup:
  8433. properties:
  8434. agreeunit:
  8435. description: 合约单位
  8436. type: number
  8437. canshort:
  8438. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  8439. type: integer
  8440. closepricemode:
  8441. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8442. type: integer
  8443. closepriceparam:
  8444. description: 强平最新价浮动比例 - 方式为2时使用
  8445. type: number
  8446. createtime:
  8447. description: 创建时间
  8448. type: string
  8449. creatorid:
  8450. description: 创建人
  8451. type: integer
  8452. currencyid:
  8453. description: 报价货币ID
  8454. type: integer
  8455. decimalplace:
  8456. description: 报价小数位
  8457. type: integer
  8458. exercisetype:
  8459. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  8460. type: integer
  8461. exexchangeid:
  8462. description: 外部交易所ID[通道交易]
  8463. type: integer
  8464. goodsgroupid:
  8465. description: 商品组ID(自增ID)
  8466. type: integer
  8467. goodsgroupname:
  8468. description: 商品组名称
  8469. type: string
  8470. goodsgroupstatus:
  8471. description: 商品组状态 - 1:正常 2:注销
  8472. type: integer
  8473. goodunitid:
  8474. description: 报价单位ID
  8475. type: integer
  8476. innerdealmode:
  8477. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8478. type: integer
  8479. isbuylimited:
  8480. description: 是否限制建仓量 - 0:不限制 1:限制
  8481. type: integer
  8482. marketid:
  8483. description: 所属市场ID
  8484. type: integer
  8485. modifierid:
  8486. description: 修改人
  8487. type: integer
  8488. modifytime:
  8489. description: 修改时间
  8490. type: string
  8491. outerdealmode:
  8492. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8493. type: integer
  8494. outergroupcode:
  8495. description: 外部商品组代码[通道交易]
  8496. type: string
  8497. premiumdecimalplace:
  8498. description: 权利金小数位[场外期权]
  8499. type: integer
  8500. premiumspreadalgorithm:
  8501. description: 权利金点差方式[场外期权] 1:比率 2:固定
  8502. type: integer
  8503. premiumspreadvalue:
  8504. description: 权利金点差值[场外期权]
  8505. type: number
  8506. qtydecimalplace:
  8507. description: 成交量小数位
  8508. type: integer
  8509. quotegear:
  8510. description: 行情档位(1-10)
  8511. type: integer
  8512. quoteminunit:
  8513. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8514. type: integer
  8515. quoterid:
  8516. description: 报价商ID[场外期权]
  8517. type: integer
  8518. quotesourcegroupid:
  8519. description: 所属行情源分组ID[参考行情市场用\通道交易]
  8520. type: integer
  8521. syncgoodsqty:
  8522. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  8523. type: integer
  8524. required:
  8525. - goodsgroupid
  8526. - goodsgroupname
  8527. - goodsgroupstatus
  8528. - marketid
  8529. type: object
  8530. models.Goodssortbypreposition:
  8531. properties:
  8532. goodscode:
  8533. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  8534. type: string
  8535. goodsgroupcode:
  8536. description: 品种代码
  8537. type: string
  8538. prepositionqty:
  8539. description: 昨持仓量
  8540. type: integer
  8541. sortindex:
  8542. description: 排序
  8543. type: integer
  8544. tradedate:
  8545. description: 交易日
  8546. type: string
  8547. updatetime:
  8548. description: 更新时间
  8549. type: string
  8550. required:
  8551. - goodscode
  8552. - tradedate
  8553. type: object
  8554. models.Hedgeinnerholderdetail:
  8555. properties:
  8556. accountid:
  8557. description: 账号ID
  8558. type: integer
  8559. buyorsell:
  8560. description: 方向 - 0:买 1:卖
  8561. type: integer
  8562. freezeqty:
  8563. description: 冻结数量 - 按单平使用
  8564. type: integer
  8565. goodsid:
  8566. description: 商品ID
  8567. type: integer
  8568. holderamount:
  8569. description: 持仓金额 [商品币种]
  8570. type: number
  8571. holderdays:
  8572. description: 剩余冻结天数
  8573. type: integer
  8574. holderprice:
  8575. description: 持仓价格
  8576. type: number
  8577. holderqty:
  8578. description: 持仓数量
  8579. type: integer
  8580. marketid:
  8581. description: 市场ID
  8582. type: integer
  8583. openprice:
  8584. description: 建仓价格
  8585. type: number
  8586. openqty:
  8587. description: 建仓数量
  8588. type: integer
  8589. parentaccountid:
  8590. description: 所属母账户
  8591. type: integer
  8592. releaseamount:
  8593. description: 释放持仓金额[商品币种]
  8594. type: number
  8595. tradeamount:
  8596. description: 成交金额[账户]
  8597. type: number
  8598. tradedate:
  8599. description: 交易日(yyyyMMdd)
  8600. type: string
  8601. tradeid:
  8602. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8603. type: string
  8604. tradetime:
  8605. description: 交易时间
  8606. type: string
  8607. required:
  8608. - buyorsell
  8609. - tradeid
  8610. type: object
  8611. models.Hedgemarketopenlog:
  8612. properties:
  8613. accountid:
  8614. description: 资金账号[外部母账户]
  8615. type: integer
  8616. fcname:
  8617. description: 期货公司名称
  8618. type: string
  8619. handlestatus:
  8620. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  8621. type: integer
  8622. marketid:
  8623. description: 市场ID
  8624. type: integer
  8625. status:
  8626. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  8627. type: integer
  8628. tradedate:
  8629. description: 交易日(yyyyMMdd)
  8630. type: string
  8631. updatetime:
  8632. description: 更新时间
  8633. type: string
  8634. required:
  8635. - accountid
  8636. type: object
  8637. models.HsbyBuyMyPayOrder:
  8638. properties:
  8639. agreeunit:
  8640. description: 合约单位
  8641. type: number
  8642. buyaccountid:
  8643. description: 买方账号ID[报价币种]
  8644. type: integer
  8645. buyorderid:
  8646. description: 买方委托单号
  8647. type: string
  8648. createtime:
  8649. description: 创建时间
  8650. type: string
  8651. currencysign:
  8652. description: 货币符号
  8653. type: string
  8654. decimalplace:
  8655. description: 报价小数位
  8656. type: integer
  8657. goodscode:
  8658. description: 商品代码(内部)
  8659. type: string
  8660. goodsid:
  8661. description: 商品ID
  8662. type: integer
  8663. goodsname:
  8664. description: 商品名称
  8665. type: string
  8666. marketid:
  8667. description: 市场ID
  8668. type: integer
  8669. offamount:
  8670. description: 优惠金额
  8671. type: number
  8672. originalamount:
  8673. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  8674. type: number
  8675. payamount:
  8676. description: 支付金额 = TradeAmount + TradeCharge
  8677. type: number
  8678. payflag:
  8679. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8680. type: integer
  8681. paylimitedtime:
  8682. description: 支付期限
  8683. type: string
  8684. paytime:
  8685. description: 付款时间
  8686. type: string
  8687. picurls1:
  8688. description: 预售商品介绍图片[多张用逗号分隔]
  8689. type: string
  8690. picurls2:
  8691. description: 挂牌商品介绍图片[多张用逗号分隔]
  8692. type: string
  8693. sellaccountid:
  8694. description: 卖方账号ID[报价币种]
  8695. type: integer
  8696. sellorderid:
  8697. description: 卖方委托单号
  8698. type: string
  8699. tradeamount:
  8700. description: 成交金额
  8701. type: number
  8702. tradecharge:
  8703. description: 成交手续费(买方)
  8704. type: number
  8705. tradedate:
  8706. description: 交易日(yyyyMMdd)
  8707. type: string
  8708. tradeid:
  8709. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8710. type: string
  8711. trademode:
  8712. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8713. 21:竞拍-大宗式 22:受托竞价
  8714. type: integer
  8715. tradeprice:
  8716. description: 成交价格
  8717. type: number
  8718. tradeqty:
  8719. description: 成交数量
  8720. type: integer
  8721. vendorname1:
  8722. description: 预售商品供应商名称
  8723. type: string
  8724. vendorname2:
  8725. description: 挂牌商品供应商名称
  8726. type: string
  8727. required:
  8728. - goodscode
  8729. - goodsname
  8730. - tradeid
  8731. - trademode
  8732. type: object
  8733. models.HsbyBuyMyTradeDetail:
  8734. properties:
  8735. accountid:
  8736. description: 账户ID[报价币种]
  8737. type: integer
  8738. agreeunit:
  8739. description: 合约单位
  8740. type: number
  8741. amount:
  8742. description: 金额 = 价格 * 数量 * 合约单位
  8743. type: number
  8744. buyorsell:
  8745. description: 买卖 - 0:买 1:卖
  8746. type: integer
  8747. currencysign:
  8748. description: 货币符号
  8749. type: string
  8750. decimalplace:
  8751. description: 报价小数位
  8752. type: integer
  8753. goodscode:
  8754. description: 商品代码(内部)
  8755. type: string
  8756. goodsid:
  8757. description: 商品ID
  8758. type: integer
  8759. goodsname:
  8760. description: 商品名称
  8761. type: string
  8762. marketid:
  8763. description: 市场ID
  8764. type: integer
  8765. orderamount:
  8766. description: 委托金额
  8767. type: number
  8768. orderid:
  8769. description: 单号(成交单号)
  8770. type: string
  8771. picurls1:
  8772. description: 预售商品介绍图片[多张用逗号分隔]
  8773. type: string
  8774. picurls2:
  8775. description: 挂牌商品介绍图片[多张用逗号分隔]
  8776. type: string
  8777. price:
  8778. description: 价格
  8779. type: number
  8780. qty:
  8781. description: 数量
  8782. type: integer
  8783. time:
  8784. description: 时间
  8785. type: string
  8786. trademode:
  8787. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8788. 21:竞拍-大宗式 22:受托竞价
  8789. type: integer
  8790. vendorname1:
  8791. description: 预售商品供应商名称
  8792. type: string
  8793. vendorname2:
  8794. description: 挂牌商品供应商名称
  8795. type: string
  8796. required:
  8797. - accountid
  8798. - buyorsell
  8799. - goodscode
  8800. - goodsid
  8801. - goodsname
  8802. - marketid
  8803. - orderid
  8804. - qty
  8805. - time
  8806. - trademode
  8807. type: object
  8808. models.HsbyGoodsOrderDetail:
  8809. properties:
  8810. buyorsell:
  8811. description: 买卖 - 0:买 1:卖
  8812. type: integer
  8813. currencysign:
  8814. description: 货币符号
  8815. type: string
  8816. customername:
  8817. description: 客户名称(企业名称),已脱敏
  8818. type: string
  8819. enableqty:
  8820. description: 可用数量
  8821. type: integer
  8822. goodunit:
  8823. description: 报价单位
  8824. type: string
  8825. orderid:
  8826. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8827. type: string
  8828. orderprice:
  8829. description: 委托价格
  8830. type: number
  8831. ordertime:
  8832. description: 委托时间
  8833. type: string
  8834. required:
  8835. - buyorsell
  8836. - orderid
  8837. - ordertime
  8838. type: object
  8839. models.HsbyListingGoodsDetail:
  8840. properties:
  8841. agreeunit:
  8842. description: 合约单位
  8843. type: number
  8844. buymaxqty:
  8845. description: 购买上限 [71] - 0为不限
  8846. type: integer
  8847. currency:
  8848. description: 货币
  8849. type: string
  8850. currencysign:
  8851. description: 货币符号
  8852. type: string
  8853. decimalplace:
  8854. description: 报价小数位
  8855. type: integer
  8856. desccityid:
  8857. description: 目的地(市)ID
  8858. type: integer
  8859. descprovinceid:
  8860. description: 目的地(省)ID
  8861. type: integer
  8862. goodscode:
  8863. description: 商品代码(内部)
  8864. type: string
  8865. goodsdesc:
  8866. description: 商品详情
  8867. type: string
  8868. goodsid:
  8869. description: 商品ID(自增ID SEQ_GOODS)
  8870. type: integer
  8871. goodsname:
  8872. description: 商品名称
  8873. type: string
  8874. goodsprice:
  8875. description: 商品价格
  8876. type: number
  8877. hotindex:
  8878. description: 景点热度
  8879. type: integer
  8880. last:
  8881. description: 现价
  8882. type: number
  8883. limitdown:
  8884. description: 跌停价
  8885. type: number
  8886. limitup:
  8887. description: 涨停价
  8888. type: number
  8889. lotsize:
  8890. description: 手数最小变动单位
  8891. type: integer
  8892. marketid:
  8893. description: 所属市场ID
  8894. type: integer
  8895. picurls:
  8896. description: 介绍图片[多张用逗号分隔]
  8897. type: string
  8898. quoteminunit:
  8899. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8900. type: integer
  8901. stepvalue:
  8902. description: 价格最小变动单位
  8903. type: number
  8904. trademode:
  8905. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8906. 21:竞拍-大宗式 22:受托竞价
  8907. type: integer
  8908. vendorattr:
  8909. description: 供应商附件(多张,逗号分隔)
  8910. type: string
  8911. vendorname:
  8912. description: 供应商名称
  8913. type: string
  8914. vendorphone:
  8915. description: 供应商客服电话
  8916. type: string
  8917. videourls:
  8918. description: 介绍视频[多张用逗号分隔]
  8919. type: string
  8920. required:
  8921. - goodscode
  8922. - goodsid
  8923. - goodsname
  8924. - marketid
  8925. - trademode
  8926. type: object
  8927. models.HsbyMarketGoods:
  8928. properties:
  8929. accountid:
  8930. description: 账户ID[报价币种]
  8931. type: integer
  8932. agreeunit:
  8933. description: 合约单位
  8934. type: number
  8935. buyorsell:
  8936. description: 买卖 - 0:买 1:卖
  8937. type: integer
  8938. categoryid:
  8939. description: 类别ID(WRCATEGORY)
  8940. type: integer
  8941. currency:
  8942. description: 货币
  8943. type: string
  8944. currencysign:
  8945. description: 货币符号
  8946. type: string
  8947. customername:
  8948. description: 卖家名称
  8949. type: string
  8950. decimalplace:
  8951. description: 报价小数位
  8952. type: integer
  8953. goodscode:
  8954. description: 商品代码(内部)
  8955. type: string
  8956. goodsid:
  8957. description: 商品ID
  8958. type: integer
  8959. goodsname:
  8960. description: 商品名称
  8961. type: string
  8962. goodsprice:
  8963. description: 商品价格
  8964. type: number
  8965. hascoupon:
  8966. description: 是否可用优惠卷
  8967. type: boolean
  8968. hotindex:
  8969. description: 景点热度
  8970. type: integer
  8971. marketid:
  8972. description: 市场ID
  8973. type: integer
  8974. orderid:
  8975. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8976. type: string
  8977. orderprice:
  8978. description: 委托价格
  8979. type: number
  8980. orderstatus:
  8981. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8982. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8983. 16:成交失败违约(荷兰式竞拍专用)
  8984. type: integer
  8985. picurls:
  8986. description: 介绍图片[多张用逗号分隔]
  8987. type: string
  8988. quoteminunit:
  8989. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8990. type: integer
  8991. sellUserID:
  8992. description: 卖方UserID
  8993. type: integer
  8994. trademode:
  8995. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8996. 21:竞拍-大宗式 22:受托竞价
  8997. type: integer
  8998. videourls:
  8999. description: 介绍视频[多张用逗号分隔]
  9000. type: string
  9001. required:
  9002. - accountid
  9003. - buyorsell
  9004. - goodscode
  9005. - goodsid
  9006. - goodsname
  9007. - marketid
  9008. - orderid
  9009. - trademode
  9010. type: object
  9011. models.HsbyMarketGoodsDetail:
  9012. properties:
  9013. accountid:
  9014. description: 账户ID[报价币种]
  9015. type: integer
  9016. agreeunit:
  9017. description: 合约单位
  9018. type: number
  9019. buymaxqty:
  9020. description: 购买上限 [71] - 0为不限
  9021. type: integer
  9022. buyorsell:
  9023. description: 买卖 - 0:买 1:卖
  9024. type: integer
  9025. cancelqty:
  9026. description: 撤单数量
  9027. type: integer
  9028. categoryid:
  9029. description: 类别ID(WRCATEGORY)
  9030. type: integer
  9031. currency:
  9032. description: 货币
  9033. type: string
  9034. currencysign:
  9035. description: 货币符号
  9036. type: string
  9037. customername:
  9038. description: 卖家名称
  9039. type: string
  9040. decimalplace:
  9041. description: 报价小数位
  9042. type: integer
  9043. goodscode:
  9044. description: 商品代码(内部)
  9045. type: string
  9046. goodsdesc:
  9047. description: 商品详情
  9048. type: string
  9049. goodsid:
  9050. description: 商品ID
  9051. type: integer
  9052. goodsname:
  9053. description: 商品名称
  9054. type: string
  9055. goodsprice:
  9056. description: 商品价格
  9057. type: number
  9058. hotindex:
  9059. description: 景点热度
  9060. type: integer
  9061. lotsize:
  9062. description: 手数最小变动单位
  9063. type: integer
  9064. marketid:
  9065. description: 市场ID
  9066. type: integer
  9067. orderid:
  9068. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9069. type: string
  9070. orderprice:
  9071. description: 委托价格
  9072. type: number
  9073. orderqty:
  9074. description: 委托数量
  9075. type: integer
  9076. orderstatus:
  9077. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  9078. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  9079. 16:成交失败违约(荷兰式竞拍专用)
  9080. type: integer
  9081. picurls:
  9082. description: 介绍图片[多张用逗号分隔]
  9083. type: string
  9084. quoteminunit:
  9085. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9086. type: integer
  9087. sellUserID:
  9088. description: 卖方UserID
  9089. type: integer
  9090. trademode:
  9091. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9092. 21:竞拍-大宗式 22:受托竞价
  9093. type: integer
  9094. tradeqty:
  9095. description: 成交数量
  9096. type: integer
  9097. vendorattr:
  9098. description: 供应商附件(多张,逗号分隔)
  9099. type: string
  9100. vendorname:
  9101. description: 供应商名称
  9102. type: string
  9103. vendorphone:
  9104. description: 供应商客服电话
  9105. type: string
  9106. videourls:
  9107. description: 介绍视频[多张用逗号分隔]
  9108. type: string
  9109. required:
  9110. - accountid
  9111. - buyorsell
  9112. - goodscode
  9113. - goodsid
  9114. - goodsname
  9115. - marketid
  9116. - orderid
  9117. - orderqty
  9118. - trademode
  9119. type: object
  9120. models.HsbyMarketInfo:
  9121. properties:
  9122. marketid:
  9123. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  9124. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  9125. type: integer
  9126. marketname:
  9127. description: 市场名称
  9128. type: string
  9129. marketstatus:
  9130. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  9131. type: integer
  9132. trademode:
  9133. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9134. 21:竞拍-大宗式 22:受托竞价
  9135. type: integer
  9136. required:
  9137. - marketid
  9138. - marketstatus
  9139. - trademode
  9140. type: object
  9141. models.HsbyMyGoods:
  9142. properties:
  9143. accountid:
  9144. description: 账号Id
  9145. type: integer
  9146. agreeunit:
  9147. description: 合约单位
  9148. type: number
  9149. buyaverageprice:
  9150. description: 持仓均价
  9151. type: number
  9152. buycurholderamount:
  9153. description: 买当前持仓总金额[商品币种]
  9154. type: number
  9155. buycurpositionqty:
  9156. description: 买当前持仓总数量
  9157. type: integer
  9158. buymaxqty:
  9159. description: 购买上限 [71] - 0为不限
  9160. type: integer
  9161. currencysign:
  9162. description: 货币符号
  9163. type: string
  9164. decimalplace:
  9165. description: 报价小数位
  9166. type: integer
  9167. enableqty:
  9168. description: 可用数量
  9169. type: integer
  9170. goodscode:
  9171. description: 商品代码(内部)
  9172. type: string
  9173. goodsid:
  9174. description: 商品Id
  9175. type: integer
  9176. goodsname:
  9177. description: 商品名称
  9178. type: string
  9179. goodsprice:
  9180. description: 商品价格
  9181. type: number
  9182. goodsstatus:
  9183. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  9184. type: integer
  9185. last:
  9186. description: 现价(仅使用于挂牌点选)
  9187. type: number
  9188. limitdown:
  9189. description: 跌停价(仅使用于挂牌点选)
  9190. type: number
  9191. limitup:
  9192. description: 涨停价(仅使用于挂牌点选)
  9193. type: number
  9194. lotsize:
  9195. description: 手数最小变动单位
  9196. type: integer
  9197. marketid:
  9198. description: 所属市场ID
  9199. type: integer
  9200. picurls:
  9201. description: 介绍图片[多张用逗号分隔]
  9202. type: string
  9203. quoteminunit:
  9204. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9205. type: integer
  9206. stepvalue:
  9207. description: 价格最小变动单位
  9208. type: number
  9209. trademode:
  9210. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9211. 21:竞拍-大宗式 22:受托竞价
  9212. type: integer
  9213. required:
  9214. - accountid
  9215. - goodscode
  9216. - goodsid
  9217. - goodsname
  9218. - marketid
  9219. - trademode
  9220. type: object
  9221. models.HsbyMyPackage:
  9222. properties:
  9223. accountid:
  9224. description: 账户ID
  9225. type: integer
  9226. address:
  9227. description: 提货人详细地址
  9228. type: string
  9229. agreeunit:
  9230. description: 合约单位
  9231. type: number
  9232. amount:
  9233. description: 提货金额
  9234. type: number
  9235. auditer:
  9236. description: 审核人
  9237. type: integer
  9238. audittime:
  9239. description: 审核时间
  9240. type: string
  9241. averageprice:
  9242. description: 均价
  9243. type: number
  9244. cardnum:
  9245. description: 提货人证件号码
  9246. type: string
  9247. cardtypeid:
  9248. description: 提货人证件类型
  9249. type: integer
  9250. checkremark:
  9251. description: 审核备注
  9252. type: string
  9253. currencysign:
  9254. description: 货币符号
  9255. type: string
  9256. decimalplace:
  9257. description: 报价小数位
  9258. type: integer
  9259. goodscode:
  9260. description: 商品代码(内部)
  9261. type: string
  9262. goodsid:
  9263. description: 商品ID
  9264. type: integer
  9265. goodsname:
  9266. description: 商品名称
  9267. type: string
  9268. handlestatus:
  9269. description: 处理状态
  9270. type: integer
  9271. marketid:
  9272. description: 市场ID
  9273. type: integer
  9274. phonenum:
  9275. description: 提货人联系方式
  9276. type: string
  9277. picurls:
  9278. description: 介绍图片[多张用逗号分隔]
  9279. type: string
  9280. qty:
  9281. description: 提货数量
  9282. type: number
  9283. recivername:
  9284. description: 提货人姓名
  9285. type: string
  9286. reqtime:
  9287. description: 更新时间
  9288. type: string
  9289. takemode:
  9290. description: 提货方式 - 2:自提 3:配送
  9291. type: integer
  9292. takeorderid:
  9293. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  9294. type: string
  9295. takeorderstatus:
  9296. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  9297. type: integer
  9298. takeremark:
  9299. description: 提货备注
  9300. type: string
  9301. tradedate:
  9302. description: 交易日(yyyyMMdd)
  9303. type: string
  9304. trademode:
  9305. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9306. 21:竞拍-大宗式 22:受托竞价
  9307. type: integer
  9308. userid:
  9309. description: 用户ID
  9310. type: integer
  9311. vendorname:
  9312. description: 供应商名称
  9313. type: string
  9314. required:
  9315. - goodscode
  9316. - goodsname
  9317. - takeorderid
  9318. - trademode
  9319. type: object
  9320. models.HsbyPreGoods:
  9321. properties:
  9322. agreeunit:
  9323. description: 合约单位
  9324. type: number
  9325. currency:
  9326. description: 货币
  9327. type: string
  9328. currencysign:
  9329. description: 货币符号
  9330. type: string
  9331. decimalplace:
  9332. description: 报价小数位
  9333. type: integer
  9334. desccityid:
  9335. description: 目的地(市)
  9336. type: integer
  9337. descprovinceid:
  9338. description: 目的地(省)
  9339. type: integer
  9340. enableqty:
  9341. description: 剩余数量
  9342. type: integer
  9343. goodscode:
  9344. description: 商品代码(内部)
  9345. type: string
  9346. goodsid:
  9347. description: 商品ID(自增ID SEQ_GOODS)
  9348. type: integer
  9349. goodsname:
  9350. description: 商品名称
  9351. type: string
  9352. goodsstatus:
  9353. description: 商品状态- 2:未上市 3:上市
  9354. type: integer
  9355. lasttradedate:
  9356. description: 最后交易日期(状态:待退市)
  9357. type: string
  9358. listingdate:
  9359. description: 交易开始日期
  9360. type: string
  9361. marketid:
  9362. description: 所属市场ID
  9363. type: integer
  9364. picurls:
  9365. description: 介绍图片[多张用逗号分隔]
  9366. type: string
  9367. presaledqty:
  9368. description: 已预售量(预售结束时更新)
  9369. type: integer
  9370. presaleqty:
  9371. description: 预售数量
  9372. type: integer
  9373. quoteminunit:
  9374. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9375. type: integer
  9376. refprice:
  9377. description: 参考价格[一口价]
  9378. type: number
  9379. relatedgoodsid:
  9380. description: 关联交易合约ID
  9381. type: integer
  9382. trademode:
  9383. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9384. 21:竞拍-大宗式 22:受托竞价
  9385. type: integer
  9386. videourls:
  9387. description: 介绍视频[多张用逗号分隔]
  9388. type: string
  9389. required:
  9390. - goodscode
  9391. - goodsid
  9392. - goodsname
  9393. - marketid
  9394. - trademode
  9395. type: object
  9396. models.HsbyPreGoodsDetail:
  9397. properties:
  9398. agreeunit:
  9399. description: 合约单位
  9400. type: number
  9401. buymaxqty:
  9402. description: 购买上限 [71] - 0为不限
  9403. type: integer
  9404. currency:
  9405. description: 货币
  9406. type: string
  9407. currencysign:
  9408. description: 货币符号
  9409. type: string
  9410. customername:
  9411. description: 发行单位
  9412. type: string
  9413. decimalplace:
  9414. description: 报价小数位
  9415. type: integer
  9416. desccityid:
  9417. description: 目的地(市)ID
  9418. type: integer
  9419. descprovinceid:
  9420. description: 目的地(省)ID
  9421. type: integer
  9422. enableqty:
  9423. description: 剩余数量
  9424. type: integer
  9425. goodscode:
  9426. description: 商品代码(内部)
  9427. type: string
  9428. goodsdesc:
  9429. description: 商品详情
  9430. type: string
  9431. goodsid:
  9432. description: 商品ID(自增ID SEQ_GOODS)
  9433. type: integer
  9434. goodsname:
  9435. description: 商品名称
  9436. type: string
  9437. goodsstatus:
  9438. description: 商品状态- 2:未上市 3:上市
  9439. type: integer
  9440. goodunit:
  9441. description: 报价单位
  9442. type: string
  9443. lasttradedate:
  9444. description: 最后交易日期(状态:待退市)
  9445. type: string
  9446. listingdate:
  9447. description: 交易开始日期
  9448. type: string
  9449. lotsize:
  9450. description: 手数最小变动单位
  9451. type: integer
  9452. marketid:
  9453. description: 所属市场ID
  9454. type: integer
  9455. picurls:
  9456. description: 介绍图片[多张用逗号分隔]
  9457. type: string
  9458. presaledqty:
  9459. description: 已预售量(预售结束时更新)
  9460. type: integer
  9461. presaleqty:
  9462. description: 预售数量
  9463. type: integer
  9464. quoteminunit:
  9465. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9466. type: integer
  9467. refprice:
  9468. description: 参考价格[一口价]
  9469. type: number
  9470. relatedgoodsid:
  9471. description: 关联交易合约ID
  9472. type: integer
  9473. stepvalue:
  9474. description: 价格最小变动单位
  9475. type: number
  9476. trademode:
  9477. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9478. 21:竞拍-大宗式 22:受托竞价
  9479. type: integer
  9480. vendorattr:
  9481. description: 供应商附件(多张,逗号分隔)
  9482. type: string
  9483. vendorname:
  9484. description: 供应商名称
  9485. type: string
  9486. vendorphone:
  9487. description: 供应商客服电话
  9488. type: string
  9489. videourls:
  9490. description: 介绍视频[多张用逗号分隔]
  9491. type: string
  9492. required:
  9493. - goodscode
  9494. - goodsid
  9495. - goodsname
  9496. - marketid
  9497. - trademode
  9498. type: object
  9499. models.HsbySellCollectionOrder:
  9500. properties:
  9501. agreeunit:
  9502. description: 合约单位
  9503. type: number
  9504. buyaccountid:
  9505. description: 买方账号ID[报价币种]
  9506. type: integer
  9507. buyorderid:
  9508. description: 买方委托单号
  9509. type: string
  9510. createtime:
  9511. description: 创建时间
  9512. type: string
  9513. currencysign:
  9514. description: 货币符号
  9515. type: string
  9516. decimalplace:
  9517. description: 报价小数位
  9518. type: integer
  9519. goodscode:
  9520. description: 商品代码(内部)
  9521. type: string
  9522. goodsid:
  9523. description: 商品ID
  9524. type: integer
  9525. goodsname:
  9526. description: 商品名称
  9527. type: string
  9528. marketid:
  9529. description: 市场ID
  9530. type: integer
  9531. offamount:
  9532. description: 优惠金额
  9533. type: number
  9534. payamount:
  9535. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  9536. type: number
  9537. payflag:
  9538. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  9539. type: integer
  9540. paylimitedtime:
  9541. description: 支付期限
  9542. type: string
  9543. paytime:
  9544. description: 付款时间
  9545. type: string
  9546. picurls:
  9547. description: 商品介绍图片[多张用逗号分隔]
  9548. type: string
  9549. sellaccountid:
  9550. description: 卖方账号ID[报价币种]
  9551. type: integer
  9552. sellorderid:
  9553. description: 卖方委托单号
  9554. type: string
  9555. tradeamount:
  9556. description: 成交金额
  9557. type: number
  9558. tradecharge:
  9559. description: 成交手续费(买方)
  9560. type: number
  9561. tradedate:
  9562. description: 交易日(yyyyMMdd)
  9563. type: string
  9564. tradeid:
  9565. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9566. type: string
  9567. trademode:
  9568. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9569. 21:竞拍-大宗式 22:受托竞价
  9570. type: integer
  9571. tradeprice:
  9572. description: 成交价格
  9573. type: number
  9574. tradeqty:
  9575. description: 成交数量
  9576. type: integer
  9577. required:
  9578. - goodscode
  9579. - goodsname
  9580. - tradeid
  9581. - trademode
  9582. type: object
  9583. models.HsbySellMyDetail:
  9584. properties:
  9585. accountid:
  9586. description: 账户ID[报价币种]
  9587. type: integer
  9588. agreeunit:
  9589. description: 合约单位
  9590. type: number
  9591. buyorsell:
  9592. description: 买卖 - 0:买 1:卖
  9593. type: integer
  9594. currencysign:
  9595. description: 货币符号
  9596. type: string
  9597. decimalplace:
  9598. description: 报价小数位
  9599. type: integer
  9600. goodscode:
  9601. description: 商品代码(内部)
  9602. type: string
  9603. goodsid:
  9604. description: 商品ID
  9605. type: integer
  9606. goodsname:
  9607. description: 商品名称
  9608. type: string
  9609. marketid:
  9610. description: 市场ID
  9611. type: integer
  9612. orderid:
  9613. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  9614. type: string
  9615. ordertype:
  9616. description: 单据类型:0 - 发布中, 1 - 已完成
  9617. type: integer
  9618. picurls:
  9619. description: 介绍图片[多张用逗号分隔]
  9620. type: string
  9621. price:
  9622. description: 价格
  9623. type: number
  9624. qty:
  9625. description: 数量
  9626. type: integer
  9627. time:
  9628. description: 时间
  9629. type: string
  9630. trademode:
  9631. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9632. 21:竞拍-大宗式 22:受托竞价
  9633. type: integer
  9634. vendorname:
  9635. description: 供应商名称
  9636. type: string
  9637. required:
  9638. - accountid
  9639. - buyorsell
  9640. - goodscode
  9641. - goodsid
  9642. - goodsname
  9643. - marketid
  9644. - orderid
  9645. - time
  9646. - trademode
  9647. type: object
  9648. models.HsbyTopGoods:
  9649. properties:
  9650. agreeunit:
  9651. description: 合约单位
  9652. type: number
  9653. currency:
  9654. description: 货币
  9655. type: string
  9656. currencysign:
  9657. description: 货币符号
  9658. type: string
  9659. decimalplace:
  9660. description: 报价小数位
  9661. type: integer
  9662. desccityid:
  9663. description: 目的地(市)
  9664. type: integer
  9665. descprovinceid:
  9666. description: 目的地(省)
  9667. type: integer
  9668. goodscode:
  9669. description: 商品代码(内部)
  9670. type: string
  9671. goodsid:
  9672. description: 商品ID(自增ID SEQ_GOODS)
  9673. type: integer
  9674. goodsname:
  9675. description: 商品名称
  9676. type: string
  9677. hotindex:
  9678. description: 景点热度
  9679. type: integer
  9680. last:
  9681. description: 现价
  9682. type: number
  9683. marketid:
  9684. description: 所属市场ID
  9685. type: integer
  9686. picurls:
  9687. description: 介绍图片[多张用逗号分隔]
  9688. type: string
  9689. quoteminunit:
  9690. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9691. type: integer
  9692. trademode:
  9693. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9694. 21:竞拍-大宗式 22:受托竞价
  9695. type: integer
  9696. videourls:
  9697. description: 介绍视频[多张用逗号分隔]
  9698. type: string
  9699. required:
  9700. - goodscode
  9701. - goodsid
  9702. - goodsname
  9703. - marketid
  9704. - trademode
  9705. type: object
  9706. models.HybsMyBuyOrderDetail:
  9707. properties:
  9708. accountid:
  9709. description: 账户ID[报价币种]
  9710. type: integer
  9711. agreeunit:
  9712. description: 合约单位
  9713. type: number
  9714. buyorsell:
  9715. description: 买卖 - 0:买 1:卖
  9716. type: integer
  9717. cancelqty:
  9718. description: 撤单数量
  9719. type: integer
  9720. currencysign:
  9721. description: 货币符号
  9722. type: string
  9723. decimalplace:
  9724. description: 报价小数位
  9725. type: integer
  9726. goodscode:
  9727. description: 商品代码(内部)
  9728. type: string
  9729. goodsid:
  9730. description: 商品ID
  9731. type: integer
  9732. goodsname:
  9733. description: 商品名称
  9734. type: string
  9735. listingselecttype:
  9736. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9737. type: integer
  9738. marketid:
  9739. description: 市场ID
  9740. type: integer
  9741. mybuystatus:
  9742. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  9743. type: integer
  9744. orderamount:
  9745. description: 委托金额
  9746. type: number
  9747. orderid:
  9748. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9749. type: string
  9750. orderprice:
  9751. description: 委托价格
  9752. type: number
  9753. orderqty:
  9754. description: 委托数量
  9755. type: integer
  9756. orderstatus:
  9757. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  9758. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  9759. 16:成交失败违约(荷兰式竞拍专用)
  9760. type: integer
  9761. ordertime:
  9762. description: 委托时间
  9763. type: string
  9764. picurls1:
  9765. description: 预售商品介绍图片[多张用逗号分隔]
  9766. type: string
  9767. picurls2:
  9768. description: 挂牌商品介绍图片[多张用逗号分隔]
  9769. type: string
  9770. trademode:
  9771. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9772. 21:竞拍-大宗式 22:受托竞价
  9773. type: integer
  9774. tradeqty:
  9775. description: 成交数量
  9776. type: integer
  9777. vendorname1:
  9778. description: 预售商品供应商名称
  9779. type: string
  9780. vendorname2:
  9781. description: 挂牌商品供应商名称
  9782. type: string
  9783. required:
  9784. - accountid
  9785. - buyorsell
  9786. - goodscode
  9787. - goodsid
  9788. - goodsname
  9789. - marketid
  9790. - orderid
  9791. - orderqty
  9792. - ordertime
  9793. - trademode
  9794. type: object
  9795. models.Loginaccount:
  9796. properties:
  9797. accountname:
  9798. description: 账户名称
  9799. type: string
  9800. canoutin:
  9801. description: 是否可出入金 - 0:不可 1:可
  9802. type: integer
  9803. clientroleid:
  9804. description: 终端角色ID
  9805. type: integer
  9806. haslogined:
  9807. description: 是否已登录 - 0:未登录 1:已登录
  9808. type: integer
  9809. hasupdatedpwd:
  9810. description: 是否已更改密码 - 0:未修改 1:已修改
  9811. type: integer
  9812. lastloginip:
  9813. description: 最新登录地址
  9814. type: string
  9815. lastloginmode:
  9816. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  9817. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  9818. type: integer
  9819. lastloginremark:
  9820. description: 最新登录描述
  9821. type: string
  9822. lastlogintime:
  9823. description: 最新登录时间
  9824. type: string
  9825. logincode:
  9826. description: 登录代码
  9827. type: string
  9828. loginfailnum:
  9829. description: 连续登录失败次数(登录成功时清零)
  9830. type: integer
  9831. loginid:
  9832. description: 登陆账号
  9833. type: integer
  9834. loginport:
  9835. description: 最新登录端口
  9836. type: integer
  9837. loginstatus:
  9838. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  9839. type: integer
  9840. loginusertype:
  9841. description: 登录账号类型 - 1:投资者 2:机构交易员
  9842. type: integer
  9843. mobile:
  9844. description: 手机号码(加密存储)
  9845. type: string
  9846. modifierid:
  9847. description: 修改人
  9848. type: integer
  9849. modifysrc:
  9850. description: 审核来源 - 1:管理端 2:终端
  9851. type: integer
  9852. modifytime:
  9853. description: 修改时间
  9854. type: string
  9855. password:
  9856. description: 登陆密码
  9857. type: string
  9858. pwdwrongcount:
  9859. description: 密码错误次数
  9860. type: integer
  9861. relateduserid:
  9862. description: 关联用户ID(机构)
  9863. type: integer
  9864. taaccountrighttype:
  9865. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  9866. type: integer
  9867. unfreezetime:
  9868. description: 账户解冻时间
  9869. type: string
  9870. userid:
  9871. description: 用户ID
  9872. type: integer
  9873. required:
  9874. - loginid
  9875. type: object
  9876. models.MainAccountInfo:
  9877. properties:
  9878. accountid:
  9879. description: 账号id
  9880. type: integer
  9881. accountname:
  9882. description: 账号名称(taaccount表中的名称)
  9883. type: string
  9884. appid:
  9885. description: AppID
  9886. type: string
  9887. authcode:
  9888. description: 授权码
  9889. type: string
  9890. brokerid:
  9891. description: 经纪商id
  9892. type: string
  9893. fcid:
  9894. description: 期货公司id
  9895. type: integer
  9896. fcname:
  9897. description: 期货公司代码
  9898. type: string
  9899. hedgeaccountcode:
  9900. description: 外部账号代码(主账号登录代码)
  9901. type: string
  9902. hedgeaccountpwd:
  9903. description: 密码
  9904. type: string
  9905. ismain:
  9906. description: 是否主账号
  9907. type: integer
  9908. relateduserid:
  9909. description: 关联用户id
  9910. type: integer
  9911. userid:
  9912. description: 关联用户id
  9913. type: integer
  9914. type: object
  9915. models.Market:
  9916. properties:
  9917. auctionwrtype:
  9918. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  9919. type: integer
  9920. canacceptquote:
  9921. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  9922. type: integer
  9923. cangoodsexercise:
  9924. description: '[期权]是否可现货行权- 0:否 1:是'
  9925. type: integer
  9926. cangoodsexercisetype:
  9927. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  9928. type: integer
  9929. canmanualquotestrike:
  9930. description: 是否可手动报行权价- 0:否 1:是 [期权]
  9931. type: integer
  9932. canmutistage:
  9933. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  9934. type: integer
  9935. canpreexercise:
  9936. description: '[期权]是否可预申报- 0:否 1:是'
  9937. type: integer
  9938. clearinterval:
  9939. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  9940. type: integer
  9941. contracttmp:
  9942. description: 合同模板[荷兰式][竞价式][仓单贸易]
  9943. type: string
  9944. exchareaid:
  9945. description: 所属交易所,可以没有
  9946. type: integer
  9947. goodstype:
  9948. description: 商品类型 - 1:交易商品 2:仓单商品
  9949. type: integer
  9950. hasrebate:
  9951. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  9952. type: integer
  9953. hastradecredit:
  9954. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  9955. type: integer
  9956. haswr:
  9957. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  9958. type: integer
  9959. isdeductmargin:
  9960. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  9961. type: integer
  9962. isrecordsource:
  9963. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  9964. type: integer
  9965. isreleasemargin:
  9966. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  9967. type: integer
  9968. marginformula:
  9969. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9970. type: integer
  9971. marginformula2:
  9972. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9973. type: integer
  9974. marketid:
  9975. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  9976. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  9977. type: integer
  9978. marketname:
  9979. description: 市场名称
  9980. type: string
  9981. marketserviceid:
  9982. description: 市场服务ID
  9983. type: integer
  9984. marketstatus:
  9985. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  9986. type: integer
  9987. markettype:
  9988. description: 市场类型- 1:非交易服务 2:交易服务
  9989. type: integer
  9990. matchermode:
  9991. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  9992. type: integer
  9993. openmethod:
  9994. description: 开盘模式 - 0 自动 1手动
  9995. type: integer
  9996. otcuserid:
  9997. description: 场外期权做市商[场外期权]
  9998. type: integer
  9999. outersynctime:
  10000. description: 外部同步时间点(h24:mi:ss)[场外期权]
  10001. type: string
  10002. pendingflag:
  10003. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  10004. type: integer
  10005. pendingtime:
  10006. description: 待开市时间[通道交易-对冲](HH:mm)
  10007. type: string
  10008. performancetempid:
  10009. description: 履约计划模板ID - 作废
  10010. type: integer
  10011. premiumquotemode:
  10012. description: 权利金报价方式 - 1:自动 2:手动
  10013. type: integer
  10014. rebateratio:
  10015. description: 返利比率[竞价式]
  10016. type: number
  10017. reckonorder:
  10018. description: 结算顺序
  10019. type: integer
  10020. reckonpricealgorithm:
  10021. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  10022. 6.卖一价 7.买一卖一均价 8.外部结算价'
  10023. type: integer
  10024. reckonpriceparam:
  10025. description: 结算价参数
  10026. type: integer
  10027. reckontime:
  10028. description: 结算时间[通道交易-对冲](HH:mm)
  10029. type: string
  10030. roleprioritytype:
  10031. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  10032. type: integer
  10033. selllistingauditflag:
  10034. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  10035. type: integer
  10036. trademarkettype:
  10037. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  10038. type: integer
  10039. trademode:
  10040. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10041. 21:竞拍-大宗式 22:受托竞价
  10042. type: integer
  10043. tradeproperty:
  10044. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  10045. 8:场外期权
  10046. type: integer
  10047. tradetype:
  10048. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  10049. type: integer
  10050. required:
  10051. - marketid
  10052. - marketstatus
  10053. - openmethod
  10054. - reckonpricealgorithm
  10055. - trademode
  10056. - tradeproperty
  10057. type: object
  10058. models.Marketrun:
  10059. properties:
  10060. afternexttradedate:
  10061. description: 下下交易日
  10062. type: string
  10063. clearquoteflag:
  10064. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  10065. type: integer
  10066. lastreckondate:
  10067. description: 最新交易日(结算成功)
  10068. type: string
  10069. machinedate:
  10070. description: 机器时间
  10071. type: string
  10072. manualflag:
  10073. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  10074. type: integer
  10075. marketid:
  10076. description: 市场ID
  10077. type: integer
  10078. nexttradedate:
  10079. description: 下一交易日
  10080. type: string
  10081. pretradedate:
  10082. description: 上一交易日
  10083. type: string
  10084. reckonflag:
  10085. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  10086. type: integer
  10087. runstatus:
  10088. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  10089. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  10090. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  10091. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  10092. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  10093. 62.今日免清算
  10094. type: integer
  10095. sectionid:
  10096. description: 时间段号[多时段时用]
  10097. type: integer
  10098. tradedate:
  10099. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  10100. type: string
  10101. tradedate2:
  10102. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  10103. type: string
  10104. updatetime:
  10105. description: 更新时间
  10106. type: string
  10107. required:
  10108. - marketid
  10109. - nexttradedate
  10110. - reckonflag
  10111. - runstatus
  10112. - tradedate
  10113. - tradedate2
  10114. type: object
  10115. models.Messageboard:
  10116. properties:
  10117. contactnum:
  10118. description: 联系电话
  10119. type: string
  10120. createtime:
  10121. description: 创建时间
  10122. type: string
  10123. message:
  10124. description: 留言信息
  10125. type: string
  10126. messageboardid:
  10127. description: 留言簿ID(SEQ_MessageBoard)
  10128. type: integer
  10129. userid:
  10130. description: 用户ID
  10131. type: integer
  10132. required:
  10133. - messageboardid
  10134. type: object
  10135. models.MyCoupon:
  10136. properties:
  10137. accountid:
  10138. description: 资金账户ID
  10139. type: integer
  10140. areauserid:
  10141. description: 所属机构
  10142. type: integer
  10143. conditionvalue:
  10144. description: 条件阈值(可为0)
  10145. type: number
  10146. couponcategroy:
  10147. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  10148. type: integer
  10149. couponname:
  10150. description: 优惠券名称
  10151. type: string
  10152. coupontypeid:
  10153. description: 优惠券类型ID
  10154. type: string
  10155. couponvalue:
  10156. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  10157. type: number
  10158. curfreezeqty:
  10159. description: 期末冻结数量
  10160. type: integer
  10161. curqty:
  10162. description: 期末数量
  10163. type: integer
  10164. isgeneral:
  10165. description: 是否通用券 - 0:否 1:是
  10166. type: integer
  10167. isunusable:
  10168. description: 是否不可用
  10169. type: boolean
  10170. limitedflag:
  10171. description: 是否指定商品 - 0:不限 1:限制
  10172. type: integer
  10173. limitedgoodsids:
  10174. description: 指定商品IDs[逗号分隔,前后加逗号]
  10175. type: string
  10176. orifreezeqty:
  10177. description: 期初冻结数量
  10178. type: integer
  10179. oriqty:
  10180. description: 期初数量
  10181. type: integer
  10182. reasontype:
  10183. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  10184. type: integer
  10185. todaydecrease:
  10186. description: 今日减少
  10187. type: integer
  10188. todayincrease:
  10189. description: 今日增加
  10190. type: integer
  10191. userid:
  10192. description: 用户ID
  10193. type: integer
  10194. userscope:
  10195. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  10196. type: string
  10197. required:
  10198. - accountid
  10199. - coupontypeid
  10200. type: object
  10201. models.MyCouponHold:
  10202. properties:
  10203. accountid:
  10204. description: 资金账户ID
  10205. type: integer
  10206. conditionvalue:
  10207. description: 条件阈值(可为0)
  10208. type: number
  10209. couponcategroy:
  10210. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  10211. type: integer
  10212. couponholdid:
  10213. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  10214. type: string
  10215. couponname:
  10216. description: 优惠券名称
  10217. type: string
  10218. coupontypeid:
  10219. description: 优惠券类型ID - SEQ_COUPONTYPE
  10220. type: string
  10221. couponvalue:
  10222. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  10223. type: number
  10224. createtime:
  10225. description: 创建时间
  10226. type: string
  10227. enddate:
  10228. description: 结束日期
  10229. type: string
  10230. giveapplyid:
  10231. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  10232. type: integer
  10233. holdstatus:
  10234. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  10235. type: integer
  10236. isgeneral:
  10237. description: 是否通用券 - 0:否 1:是
  10238. type: integer
  10239. limitedflag:
  10240. description: 是否指定商品 - 0:不限 1:限制
  10241. type: integer
  10242. limitedgoodsids:
  10243. description: 指定商品IDs[逗号分隔]
  10244. type: string
  10245. qty:
  10246. description: 数量(按1平铺)
  10247. type: integer
  10248. startdate:
  10249. description: 开始日期
  10250. type: string
  10251. userid:
  10252. description: 用户ID
  10253. type: integer
  10254. userscope:
  10255. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  10256. type: string
  10257. required:
  10258. - couponholdid
  10259. type: object
  10260. models.MyUsedCoupon:
  10261. properties:
  10262. accountid:
  10263. description: 资金账户ID(买方)
  10264. type: integer
  10265. conditionvalue:
  10266. description: 条件阈值(可为0)
  10267. type: number
  10268. couponcategroy:
  10269. description: 种类 - 1:现金券 2:折扣券
  10270. type: integer
  10271. couponname:
  10272. description: 优惠券名称
  10273. type: string
  10274. coupontypeid:
  10275. description: 优惠券类型ID(买方)
  10276. type: string
  10277. couponvalue:
  10278. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  10279. type: number
  10280. createtime:
  10281. description: 创建时间
  10282. type: string
  10283. goodsid:
  10284. description: 商品ID
  10285. type: integer
  10286. handlestatus:
  10287. description: 处理状态
  10288. type: integer
  10289. marketid:
  10290. description: 市场ID
  10291. type: integer
  10292. offamount:
  10293. description: 优惠金额
  10294. type: number
  10295. orderid:
  10296. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10297. type: string
  10298. sellaccountid:
  10299. description: 资金账户ID(卖方)
  10300. type: integer
  10301. tradeamount:
  10302. description: 成交金额
  10303. type: number
  10304. tradeid:
  10305. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10306. type: string
  10307. usedqty:
  10308. description: 使用数量
  10309. type: integer
  10310. required:
  10311. - coupontypeid
  10312. - orderid
  10313. type: object
  10314. models.OperationPrimaryMenu:
  10315. properties:
  10316. Children:
  10317. description: 二级功能菜单
  10318. items:
  10319. $ref: '#/definitions/models.OperationSecondaryMenu'
  10320. type: array
  10321. Key:
  10322. description: 菜单KEY
  10323. type: string
  10324. Label:
  10325. description: 菜单标题
  10326. type: string
  10327. type: object
  10328. models.OperationSecondaryMenu:
  10329. properties:
  10330. Key:
  10331. description: 菜单KEY
  10332. type: string
  10333. Label:
  10334. description: 菜单标题
  10335. type: string
  10336. TabList:
  10337. description: 三级功能菜单
  10338. items:
  10339. $ref: '#/definitions/models.OperationTabMenu'
  10340. type: array
  10341. type: object
  10342. models.OperationTabMenu:
  10343. properties:
  10344. Key:
  10345. description: 菜单KEY
  10346. type: string
  10347. Label:
  10348. description: 菜单标题
  10349. type: string
  10350. type: object
  10351. models.QhjAccountOutInApply:
  10352. properties:
  10353. accountcode:
  10354. description: 资金账号
  10355. type: string
  10356. accountname:
  10357. description: 用户名称(名称)
  10358. type: string
  10359. accountpwd:
  10360. description: 资金密码
  10361. type: string
  10362. accountticket:
  10363. description: 最新账户服务流水号
  10364. type: string
  10365. amount:
  10366. description: 金额
  10367. type: number
  10368. applyremark:
  10369. description: 申请备注
  10370. type: string
  10371. applystatus:
  10372. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  10373. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  10374. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  10375. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  10376. type: integer
  10377. auditid:
  10378. description: 审核人
  10379. type: integer
  10380. audittime:
  10381. description: 审核时间
  10382. type: string
  10383. bank_apply_ticket:
  10384. description: 银行申请流水
  10385. type: string
  10386. bankaccountname:
  10387. description: 银行账户名
  10388. type: string
  10389. bankaccountno:
  10390. description: 银行卡号
  10391. type: string
  10392. bankid:
  10393. description: 银行编号
  10394. type: string
  10395. bankticket:
  10396. description: 银行流水
  10397. type: string
  10398. branchbankid:
  10399. description: 银行支行号
  10400. type: string
  10401. branchbankname:
  10402. description: 银行支行名称
  10403. type: string
  10404. capamountout:
  10405. description: 出金(劣后本金) - 外部子账户
  10406. type: number
  10407. certificatephotourl:
  10408. description: 凭证地址
  10409. type: string
  10410. charge:
  10411. description: 手续费
  10412. type: number
  10413. checkerrorflag:
  10414. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  10415. type: integer
  10416. currency:
  10417. description: 币种
  10418. type: string
  10419. cusbankid:
  10420. description: 托管银行编号
  10421. type: string
  10422. exchticket:
  10423. description: 银行服务流水号
  10424. type: string
  10425. executetype:
  10426. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  10427. 7:外部子账户:入金 8:外部子账户:出金'
  10428. type: integer
  10429. extendinfo:
  10430. description: 扩展信息
  10431. type: string
  10432. extoperateid:
  10433. description: 交易服务流水号
  10434. type: integer
  10435. infamount:
  10436. description: 劣后金额(自有)
  10437. type: number
  10438. logincode:
  10439. description: 登录账号(账号)
  10440. type: string
  10441. netaddr:
  10442. description: 调转网址
  10443. type: string
  10444. priamount:
  10445. description: 优先金额(授信)
  10446. type: number
  10447. reauditid:
  10448. description: 复审人
  10449. type: integer
  10450. reauditremark:
  10451. description: 复审备注
  10452. type: string
  10453. reaudittime:
  10454. description: 复审时间
  10455. type: string
  10456. relatedorderid:
  10457. description: 三方关联ID
  10458. type: string
  10459. remark:
  10460. description: 备注
  10461. type: string
  10462. remark2:
  10463. description: 备注(失败原因)
  10464. type: string
  10465. soucreamount:
  10466. description: 原始出入金金额
  10467. type: number
  10468. soucrecurrencyid:
  10469. description: 原始出入金币种
  10470. type: integer
  10471. tradedate:
  10472. description: 交易日(yyyyMMdd)
  10473. type: string
  10474. updatetime:
  10475. description: 更新时间(申请时间)
  10476. type: string
  10477. userid:
  10478. description: 用户id
  10479. type: integer
  10480. userinfotype:
  10481. description: 账户类型 1-个人 2-企业
  10482. type: integer
  10483. type: object
  10484. models.QhjAgreementChangeLog:
  10485. properties:
  10486. agreementcontent:
  10487. description: 协议内容
  10488. type: string
  10489. agreementfrequency:
  10490. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  10491. type: integer
  10492. agreementid:
  10493. description: 协议ID
  10494. type: integer
  10495. agreementname:
  10496. description: 协议名称
  10497. type: string
  10498. agreementno:
  10499. description: 协议编号
  10500. type: string
  10501. agreementtype:
  10502. description: 协议类型 - 1:注册 2:登录 3:交易
  10503. type: integer
  10504. agreementversion:
  10505. description: 协议版本号
  10506. type: integer
  10507. logid:
  10508. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  10509. type: integer
  10510. reviserid:
  10511. description: 修改人
  10512. type: integer
  10513. revisersrc:
  10514. description: 修改来源 - 1:管理端 2:终端
  10515. type: integer
  10516. updatetime:
  10517. description: 更新时间
  10518. type: string
  10519. type: object
  10520. models.QhjAgreementConfig:
  10521. properties:
  10522. agreementcontent:
  10523. description: 协议内容
  10524. type: string
  10525. agreementfrequency:
  10526. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  10527. type: integer
  10528. agreementid:
  10529. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  10530. type: integer
  10531. agreementname:
  10532. description: 协议名称
  10533. type: string
  10534. agreementno:
  10535. description: 协议编号
  10536. type: string
  10537. agreementtype:
  10538. description: 协议类型 - 1:注册 2:登录 3:交易
  10539. type: integer
  10540. agreementversion:
  10541. description: 协议版本号(从1开始每次修改加1)
  10542. type: integer
  10543. createtime:
  10544. description: 创建时间
  10545. type: string
  10546. creatorid:
  10547. description: 创建人
  10548. type: integer
  10549. creatorsrc:
  10550. description: 创建来源 - 1:管理端 2:终端
  10551. type: integer
  10552. isvalid:
  10553. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  10554. type: integer
  10555. reviserid:
  10556. description: 修改人
  10557. type: integer
  10558. revisersrc:
  10559. description: 修改来源 - 1:管理端 2:终端
  10560. type: integer
  10561. updatetime:
  10562. description: 更新时间
  10563. type: string
  10564. type: object
  10565. models.QhjAreaFinanceConfig:
  10566. properties:
  10567. additionalratio:
  10568. description: 追加款比例
  10569. type: number
  10570. advanceratio:
  10571. description: 预付款比例
  10572. type: number
  10573. alarmratio:
  10574. description: 告警比例
  10575. type: number
  10576. consumptiondirectreward:
  10577. description: 消费直推奖励值
  10578. type: number
  10579. consumptionenabled:
  10580. description: 是否启用消费奖励 - 0:不启用 1:启用
  10581. type: integer
  10582. consumptionindirectreward:
  10583. description: 消费间推奖励值
  10584. type: number
  10585. consumptionmodel:
  10586. description: 消费奖励方式 - 1:比率 2:固定
  10587. type: integer
  10588. customerservicenum:
  10589. description: 客服电话
  10590. type: string
  10591. dayinterestrate:
  10592. description: 日利率
  10593. type: number
  10594. disableconsumptiontips:
  10595. description: 关闭消费奖励提示
  10596. type: string
  10597. modifierid:
  10598. description: 修改人ID
  10599. type: integer
  10600. modifysrc:
  10601. description: 审核来源 - 1:管理端 2:终端
  10602. type: integer
  10603. modifytime:
  10604. description: 修改时间
  10605. type: string
  10606. promotionvalue:
  10607. description: 推广奖励值(固定)
  10608. type: number
  10609. scoreconfigvalue1:
  10610. description: 提货积分配置1
  10611. type: integer
  10612. scoreconfigvalue2:
  10613. description: 提货积分配置2
  10614. type: integer
  10615. userid:
  10616. description: 机构用户ID其他做市关系,都设置为 1
  10617. type: integer
  10618. username:
  10619. description: 用户名称
  10620. type: string
  10621. type: object
  10622. models.QhjBankAccountSign:
  10623. properties:
  10624. accountcode:
  10625. description: 资金账号
  10626. type: string
  10627. accountname:
  10628. description: 资金账号对应的账号名(UserName)
  10629. type: string
  10630. accountname2:
  10631. description: 资金账号对应的账号名(UserName) - 密文
  10632. type: string
  10633. accounttype:
  10634. description: 账户类型(UserType)
  10635. type: integer
  10636. applicationtime:
  10637. description: 最后一次更新的时间
  10638. type: string
  10639. applyexchticket:
  10640. description: 申请流水
  10641. type: string
  10642. auditid:
  10643. description: 审核人
  10644. type: integer
  10645. audittime:
  10646. description: 审核时间
  10647. type: string
  10648. bankaccountname:
  10649. description: 签约银行卡账号名
  10650. type: string
  10651. bankaccountname2:
  10652. description: 签约银行卡账号名 - 密文
  10653. type: string
  10654. bankaccountno:
  10655. description: 银行卡号
  10656. type: string
  10657. bankaccountno2:
  10658. description: 银行卡号 - 密文
  10659. type: string
  10660. bankaccounttype:
  10661. description: 银行账户类型 - 1-对私; 2-对公
  10662. type: integer
  10663. bankcardtype:
  10664. description: 银行卡类型
  10665. type: integer
  10666. bankchildaccount:
  10667. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  10668. type: string
  10669. bankcity:
  10670. description: 开户行城市
  10671. type: string
  10672. bankid:
  10673. description: 签约银行ID
  10674. type: string
  10675. bankname:
  10676. description: 签约银行名称
  10677. type: string
  10678. bankprovince:
  10679. description: 开户行省份
  10680. type: string
  10681. branchbankid:
  10682. description: 签约银行支行号
  10683. type: string
  10684. branchbankname:
  10685. description: 签约银行支行名称
  10686. type: string
  10687. cardno:
  10688. description: 证件号码
  10689. type: string
  10690. cardno2:
  10691. description: 证件号码 - 密文
  10692. type: string
  10693. cardtype:
  10694. description: 证件类型
  10695. type: string
  10696. currency:
  10697. description: 币种
  10698. type: string
  10699. cusbankid:
  10700. description: 托管银行编号
  10701. type: string
  10702. direct:
  10703. description: 方向(可以判断那方先发起的签约)
  10704. type: integer
  10705. exchticket:
  10706. description: 最后一次签约成功的流水号
  10707. type: string
  10708. extendinfo:
  10709. description: 扩展信息(JSON字符串)
  10710. type: string
  10711. mobilephone:
  10712. description: 手机号
  10713. type: string
  10714. mobilephone2:
  10715. description: 手机号 - 密文
  10716. type: string
  10717. netaddr:
  10718. description: 调转网址
  10719. type: string
  10720. relateduserid:
  10721. description: 关联使用者userid
  10722. type: integer
  10723. signstatus:
  10724. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  10725. 10:审核拒绝 11:换签待审核
  10726. type: integer
  10727. updatetime:
  10728. description: 更新时间(签解约更新时间)
  10729. type: string
  10730. type: object
  10731. models.QhjBankInfo:
  10732. properties:
  10733. bankid:
  10734. description: 银行ID
  10735. type: string
  10736. bankname:
  10737. description: 银行名称
  10738. type: string
  10739. clearbankno:
  10740. description: 清算系统银行编号
  10741. type: string
  10742. orderindex:
  10743. description: 排序顺序
  10744. type: integer
  10745. status:
  10746. description: 状态 - 0:正常 1:注销
  10747. type: integer
  10748. type: object
  10749. models.QhjBrokerApply:
  10750. properties:
  10751. applicantid:
  10752. description: 申请人
  10753. type: integer
  10754. applysrc:
  10755. description: 申请来源 - 1:管理端 2:终端
  10756. type: integer
  10757. applystatus:
  10758. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  10759. type: integer
  10760. applytime:
  10761. description: 申请时间
  10762. type: string
  10763. auditorid:
  10764. description: 审核人
  10765. type: integer
  10766. auditremark:
  10767. description: 审核备注
  10768. type: string
  10769. auditsrc:
  10770. description: 审核来源 - 1:管理端 2:终端
  10771. type: integer
  10772. audittime:
  10773. description: 审核时间
  10774. type: string
  10775. audittradedate:
  10776. description: 审核交易日(yyyyMMdd)
  10777. type: string
  10778. brokerapplyid:
  10779. description: 申请ID(SEQ_BROKERAPPLY)
  10780. type: integer
  10781. cardbackphotourl:
  10782. description: 证件背面图片地址
  10783. type: string
  10784. cardfrontphotourl:
  10785. description: 证件正面图片地址
  10786. type: string
  10787. cardnum:
  10788. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  10789. type: string
  10790. customername:
  10791. description: 姓名
  10792. type: string
  10793. logincode:
  10794. description: 登录代码
  10795. type: string
  10796. mobile:
  10797. description: 手机号码
  10798. type: string
  10799. parentuserid:
  10800. description: 所属机构id
  10801. type: integer
  10802. parentusername:
  10803. description: 所属机构名称
  10804. type: string
  10805. refereeuserid:
  10806. description: 推荐人id(经纪人)
  10807. type: integer
  10808. refernum:
  10809. description: 推荐码
  10810. type: string
  10811. remark:
  10812. description: 备注
  10813. type: string
  10814. subarealevelpath:
  10815. description: 层级路径
  10816. type: string
  10817. tradedate:
  10818. description: 交易日(yyyyMMdd)
  10819. type: string
  10820. userid:
  10821. description: 申请人用户ID
  10822. type: integer
  10823. userinfotype:
  10824. description: 用户类型 1-个人 2-企业
  10825. type: integer
  10826. username:
  10827. description: 用户名称
  10828. type: string
  10829. type: object
  10830. models.QhjBrokerApplyEx:
  10831. properties:
  10832. applylist:
  10833. description: 经纪人申请记录(只返回最新一条)
  10834. items:
  10835. $ref: '#/definitions/models.QhjBrokerApply'
  10836. type: array
  10837. canrecommend:
  10838. description: 是否经纪人 0-不是 1-是
  10839. type: integer
  10840. refernum:
  10841. description: 推荐码
  10842. type: string
  10843. userid:
  10844. description: 用户id
  10845. type: integer
  10846. userinfotype:
  10847. description: 用户类型 1-个人 2-企业
  10848. type: integer
  10849. type: object
  10850. models.QhjBrokerRewardLog:
  10851. properties:
  10852. accountid:
  10853. description: 资金账号ID
  10854. type: integer
  10855. createtime:
  10856. description: 创建时间(时间)
  10857. type: string
  10858. handlestatus:
  10859. description: 处理状态
  10860. type: integer
  10861. logid:
  10862. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10863. type: string
  10864. marketid:
  10865. description: 市场ID
  10866. type: integer
  10867. mmaccountid:
  10868. description: 做市商资金账号ID
  10869. type: string
  10870. mmuserid:
  10871. description: 做市商用户ID
  10872. type: string
  10873. rewardamount:
  10874. description: 奖励金额
  10875. type: number
  10876. rewardmodel:
  10877. description: 消费奖励方式 - 1:比率 2:固定
  10878. type: integer
  10879. rewardtype:
  10880. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  10881. type: integer
  10882. rewardvalue:
  10883. description: 配置奖励值
  10884. type: number
  10885. srcamount:
  10886. description: 成交金额 [消费奖励] (金额)
  10887. type: number
  10888. srcgoodsid:
  10889. description: 来源商品ID [消费奖励]
  10890. type: string
  10891. srctime:
  10892. description: 来源时间 (成交时间) [消费奖励]
  10893. type: string
  10894. srctradeid:
  10895. description: 来源成交单ID [消费奖励] - 排除提货成交
  10896. type: string
  10897. srcuserid:
  10898. description: 来源用户ID(推广账户)
  10899. type: string
  10900. srcusername:
  10901. description: 推广账户名称
  10902. type: string
  10903. tradedate:
  10904. description: 交易日(yyyyMMdd)
  10905. type: string
  10906. userid:
  10907. description: 经纪人用户ID
  10908. type: integer
  10909. type: object
  10910. models.QhjContract:
  10911. properties:
  10912. contractconfirmtime:
  10913. description: 合同确认时间(时间)
  10914. type: string
  10915. currisklevel:
  10916. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  10917. type: integer
  10918. decimalplace:
  10919. description: 商品报价小数位
  10920. type: integer
  10921. enumdicname:
  10922. description: 单位名称
  10923. type: string
  10924. goodscode:
  10925. description: 商品代码
  10926. type: string
  10927. goodsid:
  10928. description: 商品ID [5:融资单]
  10929. type: integer
  10930. goodsname:
  10931. description: 商品名称
  10932. type: string
  10933. goodunitid:
  10934. description: 商品单位id
  10935. type: integer
  10936. initmargin:
  10937. description: 初始保证金(首付款)
  10938. type: number
  10939. lenderamount:
  10940. description: 贷款金额(总额|订单总额)
  10941. type: number
  10942. marginratio:
  10943. description: 保证金比率(首付比例)
  10944. type: number
  10945. payamount:
  10946. description: 已付(已付货款)
  10947. type: number
  10948. reckonrecovermargin:
  10949. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10950. type: number
  10951. recoveredmargin:
  10952. description: 已追缴保证金
  10953. type: number
  10954. remainamount:
  10955. description: 合同剩余金额(融资额)
  10956. type: number
  10957. scfcontractid:
  10958. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10959. type: string
  10960. scfcontractstatus:
  10961. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  10962. 9:违约结束 10:已注销 11:已关闭 99:未提交
  10963. type: integer
  10964. scfcontracttype:
  10965. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10966. type: integer
  10967. totalinterest:
  10968. description: 已计总利息(利息)
  10969. type: number
  10970. tradeprice:
  10971. description: 成交价格(成本价格)
  10972. type: number
  10973. userid:
  10974. description: 用户ID
  10975. type: integer
  10976. username:
  10977. description: 用户名称
  10978. type: string
  10979. wrqty:
  10980. description: 仓单数量(数量)
  10981. type: number
  10982. type: object
  10983. models.QhjContractLog:
  10984. properties:
  10985. amount:
  10986. description: 支付金额
  10987. type: number
  10988. amounttype:
  10989. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  10990. type: integer
  10991. logid:
  10992. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10993. type: string
  10994. remainamount:
  10995. description: 剩余货款
  10996. type: number
  10997. scfcontractid:
  10998. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10999. type: integer
  11000. updatetime:
  11001. description: 更新时间
  11002. type: string
  11003. type: object
  11004. models.QhjCusBankSignBankEx:
  11005. properties:
  11006. banklst:
  11007. description: 银行列表
  11008. items:
  11009. $ref: '#/definitions/models.QhjBankInfo'
  11010. type: array
  11011. canallot:
  11012. description: 是否支持跨行调拨 - 0:不支持 1:支持
  11013. type: integer
  11014. canallotquery:
  11015. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  11016. type: integer
  11017. canbindcard:
  11018. description: 是否可绑卡与解卡 - 0:不可 1:可以
  11019. type: integer
  11020. caninamount:
  11021. description: 是否可入金 - 0:不可 1:可以
  11022. type: integer
  11023. caninamount2:
  11024. description: 是否可入金(网银端) - 0:不可 1:可以
  11025. type: integer
  11026. canmodifybankcard:
  11027. description: 是否可修改银行卡号 - 0:不可 1:可以
  11028. type: integer
  11029. canmodifyphone:
  11030. description: 是否可修改手机号 - 0:不可 1:可以
  11031. type: integer
  11032. canmodifysigninfo:
  11033. description: 是否可修改签约信息 - 0:不可 1:可以
  11034. type: integer
  11035. canoutamount:
  11036. description: 是否可出金 - 0:不可 1:可以
  11037. type: integer
  11038. canoutamount2:
  11039. description: 是否可出金(网银端) - 0:不可 1:可以
  11040. type: integer
  11041. canrelease:
  11042. description: 是否可解约 - 0:不可 1:可以
  11043. type: integer
  11044. canrelease2:
  11045. description: 是否可解约(网银端) - 0:不可 1:可以
  11046. type: integer
  11047. cansign:
  11048. description: 是否可签约 - 0:不可 1:可以
  11049. type: integer
  11050. cansign2:
  11051. description: 是否可签约(网银端) - 0:不可 1:可以
  11052. type: integer
  11053. currency:
  11054. description: 币种
  11055. type: string
  11056. cusbankid:
  11057. description: 托管银行编号(对应清算中心TRAN_NO)
  11058. type: string
  11059. cusbankname:
  11060. description: 银行业务名称
  11061. type: string
  11062. cusbankshortname:
  11063. description: 银行业务简称
  11064. type: string
  11065. exchbankid:
  11066. description: 交易所开户银行ID
  11067. type: string
  11068. exchpaybankaccname:
  11069. description: 交易所支出结算账户户名
  11070. type: string
  11071. exchpaybankaccno:
  11072. description: 交易所支出结算账户
  11073. type: string
  11074. isneedcheck:
  11075. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  11076. type: integer
  11077. isneedclear:
  11078. description: 是否需要清算 - 0:不需要 1:需要
  11079. type: integer
  11080. lastcheckstatus:
  11081. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  11082. type: integer
  11083. lastchecktime:
  11084. description: 最后对账时间
  11085. type: string
  11086. lastclearstatus:
  11087. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  11088. type: integer
  11089. lastcleartime:
  11090. description: 最后清算时间
  11091. type: string
  11092. lastsignintime:
  11093. description: 最后签到时间
  11094. type: string
  11095. lastsignouttime:
  11096. description: 最后签退时间
  11097. type: string
  11098. riskinfo:
  11099. description: 签约风险提示书
  11100. type: string
  11101. signstatus:
  11102. description: 当前签到/签退状态 - 1:签到 2:签退
  11103. type: integer
  11104. tradedate:
  11105. description: 交易日(yyyyMMdd)
  11106. type: string
  11107. updatetime:
  11108. description: 当前签到/签退更新时间
  11109. type: string
  11110. type: object
  11111. models.QhjCustomer:
  11112. properties:
  11113. address:
  11114. description: 通讯地址
  11115. type: string
  11116. attachment1:
  11117. description: 附件1
  11118. type: string
  11119. attachment2:
  11120. description: 附件2
  11121. type: string
  11122. audittime:
  11123. description: 审核时间
  11124. type: string
  11125. cardbackphotourl:
  11126. description: 证件反面图片地址
  11127. type: string
  11128. cardfrontphotourl:
  11129. description: 证件正面图片地址
  11130. type: string
  11131. cardnum:
  11132. description: 证件号码
  11133. type: string
  11134. cardtype:
  11135. description: 证件类型
  11136. type: integer
  11137. cardtypename:
  11138. description: 证件类型名称
  11139. type: string
  11140. cityid:
  11141. description: 市
  11142. type: integer
  11143. cityname:
  11144. description: 城市名称
  11145. type: string
  11146. contactname:
  11147. description: 联系人
  11148. type: string
  11149. countryid:
  11150. description: 国家
  11151. type: integer
  11152. countryname:
  11153. description: 国家名称
  11154. type: string
  11155. createtime:
  11156. description: 创建时间
  11157. type: string
  11158. customername:
  11159. description: 客户名称
  11160. type: string
  11161. districtid:
  11162. description: 区域
  11163. type: integer
  11164. districtname:
  11165. description: 地区名称
  11166. type: string
  11167. email:
  11168. description: 邮件
  11169. type: string
  11170. legalpersonname:
  11171. description: 法人姓名(企业)
  11172. type: string
  11173. logincode:
  11174. description: 登录账号(代码)
  11175. type: string
  11176. memberuserid:
  11177. description: 所属机构ID(所属会员)
  11178. type: integer
  11179. memberusername:
  11180. description: 所属会员名称
  11181. type: string
  11182. mobile:
  11183. description: 手机号码
  11184. type: string
  11185. modifytime:
  11186. description: 修改时间
  11187. type: string
  11188. nickname:
  11189. description: 昵称
  11190. type: string
  11191. parentuserid:
  11192. description: 上级机构(所属机构)
  11193. type: integer
  11194. parentusername:
  11195. description: 所属机构名称
  11196. type: string
  11197. provinceid:
  11198. description: 省
  11199. type: integer
  11200. provincename:
  11201. description: 省名称
  11202. type: string
  11203. proxystatementurl:
  11204. description: 授权委托书
  11205. type: string
  11206. remark:
  11207. description: 备注
  11208. type: string
  11209. status:
  11210. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  11211. type: integer
  11212. statusdesc:
  11213. description: 账户状态中文描述
  11214. type: string
  11215. taxpayernum:
  11216. description: 纳税人识别号
  11217. type: string
  11218. telphone:
  11219. description: 联系电话
  11220. type: string
  11221. userid:
  11222. description: 用户ID
  11223. type: integer
  11224. userinfotype:
  11225. description: 客户类型 1-个人 2-企业
  11226. type: integer
  11227. username:
  11228. description: 用户名称
  11229. type: string
  11230. type: object
  11231. models.QhjCustomerSignLog:
  11232. properties:
  11233. agreementcontent:
  11234. description: 协议内容
  11235. type: string
  11236. agreementid:
  11237. description: 协议ID
  11238. type: integer
  11239. agreementname:
  11240. description: 协议名称
  11241. type: string
  11242. agreementno:
  11243. description: 协议编号
  11244. type: string
  11245. agreementtype:
  11246. description: 协议类型 - 1:注册 2:登录 3:交易
  11247. type: integer
  11248. agreementversion:
  11249. description: 协议版本号
  11250. type: integer
  11251. createtime:
  11252. description: 创建时间
  11253. type: string
  11254. goodscode:
  11255. description: 商品代码
  11256. type: string
  11257. goodsid:
  11258. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11259. type: integer
  11260. goodsname:
  11261. description: 商品名称
  11262. type: string
  11263. logid:
  11264. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  11265. type: integer
  11266. nodetype:
  11267. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  11268. type: integer
  11269. signadressurl:
  11270. description: 签约文件地址
  11271. type: string
  11272. signtimestamp:
  11273. description: 签约状态时间戳
  11274. type: string
  11275. userid:
  11276. description: 客户ID
  11277. type: integer
  11278. username:
  11279. description: 客户名称
  11280. type: string
  11281. type: object
  11282. models.QhjCustomerSignStatus:
  11283. properties:
  11284. createtime:
  11285. description: 创建时间
  11286. type: string
  11287. goodscode:
  11288. description: 商品代码
  11289. type: string
  11290. goodsid:
  11291. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11292. type: integer
  11293. goodsname:
  11294. description: 商品名称
  11295. type: string
  11296. nodetype:
  11297. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  11298. type: integer
  11299. signtimestamp:
  11300. description: 签约状态时间戳
  11301. type: string
  11302. tradedate:
  11303. description: 创建交易日(yyyyMMdd)
  11304. type: string
  11305. updatetime:
  11306. description: 更新时间
  11307. type: string
  11308. userid:
  11309. description: 客户ID
  11310. type: integer
  11311. username:
  11312. description: 客户名称
  11313. type: string
  11314. type: object
  11315. models.QhjMgrAccountOutInApply:
  11316. properties:
  11317. accountcode:
  11318. description: 资金账号
  11319. type: string
  11320. accountname:
  11321. description: 用户名称(名称)
  11322. type: string
  11323. accountpwd:
  11324. description: 资金密码
  11325. type: string
  11326. accountticket:
  11327. description: 最新账户服务流水号
  11328. type: string
  11329. amount:
  11330. description: 金额
  11331. type: number
  11332. applyremark:
  11333. description: 申请备注
  11334. type: string
  11335. applystatus:
  11336. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  11337. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  11338. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  11339. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  11340. type: integer
  11341. auditid:
  11342. description: 审核人
  11343. type: integer
  11344. audittime:
  11345. description: 审核时间
  11346. type: string
  11347. bank_apply_ticket:
  11348. description: 银行申请流水
  11349. type: string
  11350. bankaccountname:
  11351. description: 银行账户名
  11352. type: string
  11353. bankaccountno:
  11354. description: 银行卡号
  11355. type: string
  11356. bankid:
  11357. description: 银行编号
  11358. type: string
  11359. bankname:
  11360. description: 银行名称
  11361. type: string
  11362. bankticket:
  11363. description: 银行流水
  11364. type: string
  11365. branchbankid:
  11366. description: 银行支行号
  11367. type: string
  11368. branchbankname:
  11369. description: 银行支行名称
  11370. type: string
  11371. capamountout:
  11372. description: 出金(劣后本金) - 外部子账户
  11373. type: number
  11374. certificatephotourl:
  11375. description: 凭证地址
  11376. type: string
  11377. charge:
  11378. description: 手续费
  11379. type: number
  11380. checkerrorflag:
  11381. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  11382. type: integer
  11383. currency:
  11384. description: 币种
  11385. type: string
  11386. cusbankid:
  11387. description: 托管银行编号
  11388. type: string
  11389. exchticket:
  11390. description: 银行服务流水号
  11391. type: string
  11392. executetype:
  11393. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  11394. 7:外部子账户:入金 8:外部子账户:出金'
  11395. type: integer
  11396. extendinfo:
  11397. description: 扩展信息
  11398. type: string
  11399. extoperateid:
  11400. description: 交易服务流水号
  11401. type: integer
  11402. infamount:
  11403. description: 劣后金额(自有)
  11404. type: number
  11405. logincode:
  11406. description: 登录账号(账号)
  11407. type: string
  11408. netaddr:
  11409. description: 调转网址
  11410. type: string
  11411. priamount:
  11412. description: 优先金额(授信)
  11413. type: number
  11414. reauditid:
  11415. description: 复审人
  11416. type: integer
  11417. reauditremark:
  11418. description: 复审备注
  11419. type: string
  11420. reaudittime:
  11421. description: 复审时间
  11422. type: string
  11423. relatedorderid:
  11424. description: 三方关联ID
  11425. type: string
  11426. remark:
  11427. description: 备注
  11428. type: string
  11429. remark2:
  11430. description: 备注(失败原因)
  11431. type: string
  11432. soucreamount:
  11433. description: 原始出入金金额
  11434. type: number
  11435. soucrecurrencyid:
  11436. description: 原始出入金币种
  11437. type: integer
  11438. tradedate:
  11439. description: 交易日(yyyyMMdd)
  11440. type: string
  11441. updatetime:
  11442. description: 更新时间(申请时间)
  11443. type: string
  11444. userid:
  11445. description: 用户id
  11446. type: integer
  11447. userinfotype:
  11448. description: 账户类型 1-个人 2-企业
  11449. type: integer
  11450. type: object
  11451. models.QhjMgrBrokerApply:
  11452. properties:
  11453. applicantid:
  11454. description: 申请人
  11455. type: integer
  11456. applysrc:
  11457. description: 申请来源 - 1:管理端 2:终端
  11458. type: integer
  11459. applystatus:
  11460. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  11461. type: integer
  11462. applytime:
  11463. description: 申请时间
  11464. type: string
  11465. auditorid:
  11466. description: 审核人
  11467. type: integer
  11468. auditremark:
  11469. description: 审核备注
  11470. type: string
  11471. auditsrc:
  11472. description: 审核来源 - 1:管理端 2:终端
  11473. type: integer
  11474. audittime:
  11475. description: 审核时间
  11476. type: string
  11477. audittradedate:
  11478. description: 审核交易日(yyyyMMdd)
  11479. type: string
  11480. brokerapplyid:
  11481. description: 申请ID(SEQ_BROKERAPPLY)
  11482. type: integer
  11483. cardbackphotourl:
  11484. description: 证件背面图片地址
  11485. type: string
  11486. cardfrontphotourl:
  11487. description: 证件正面图片地址
  11488. type: string
  11489. cardnum:
  11490. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  11491. type: string
  11492. customername:
  11493. description: 姓名
  11494. type: string
  11495. filterstatus:
  11496. description: 筛选条件
  11497. type: string
  11498. logincode:
  11499. description: 登录代码
  11500. type: string
  11501. mobile:
  11502. description: 手机号码
  11503. type: string
  11504. parentuserid:
  11505. description: 所属机构id
  11506. type: integer
  11507. parentusername:
  11508. description: 所属机构名称
  11509. type: string
  11510. refereeuserid:
  11511. description: 推荐人id(经纪人)
  11512. type: integer
  11513. refernum:
  11514. description: 推荐码
  11515. type: string
  11516. remark:
  11517. description: 备注
  11518. type: string
  11519. subarealevelpath:
  11520. description: 层级路径
  11521. type: string
  11522. tradedate:
  11523. description: 交易日(yyyyMMdd)
  11524. type: string
  11525. userid:
  11526. description: 申请人用户ID
  11527. type: integer
  11528. userinfotype:
  11529. description: 用户类型 1-个人 2-企业
  11530. type: integer
  11531. username:
  11532. description: 用户名称
  11533. type: string
  11534. type: object
  11535. models.QhjMgrBrokerRewardReport:
  11536. properties:
  11537. createtime:
  11538. description: 创建时间(注册时间)
  11539. type: string
  11540. cycletime:
  11541. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  11542. type: string
  11543. cycletype:
  11544. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  11545. type: integer
  11546. directtotalnum:
  11547. description: 直推总人数【期末】
  11548. type: integer
  11549. indirecttotalnum:
  11550. description: 间推总人数【期末】
  11551. type: integer
  11552. mobile:
  11553. description: 电话号码
  11554. type: string
  11555. refereeuserid:
  11556. description: 推荐人id(经纪人id)
  11557. type: integer
  11558. refereeusername:
  11559. description: 推荐人名称(经纪人) 上级经纪人名称
  11560. type: string
  11561. refernum:
  11562. description: 推荐码
  11563. type: string
  11564. subarealevelpath:
  11565. description: 用户层级路径
  11566. type: string
  11567. todayrewardamount:
  11568. description: 奖励总金额【汇总】
  11569. type: number
  11570. updatetime:
  11571. description: 更新时间
  11572. type: string
  11573. userid:
  11574. description: 经纪人用户ID
  11575. type: integer
  11576. userinfotype:
  11577. description: 用户类型 1-个人 2-企业
  11578. type: integer
  11579. username:
  11580. description: 用户名称
  11581. type: string
  11582. type: object
  11583. models.QhjMgrContract:
  11584. properties:
  11585. contractconfirmtime:
  11586. description: 合同确认时间(时间)
  11587. type: string
  11588. currisklevel:
  11589. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  11590. type: integer
  11591. decimalplace:
  11592. description: 商品报价小数位
  11593. type: integer
  11594. enumdicname:
  11595. description: 单位名称
  11596. type: string
  11597. goodscode:
  11598. description: 商品代码
  11599. type: string
  11600. goodsid:
  11601. description: 商品ID [5:融资单]
  11602. type: integer
  11603. goodsname:
  11604. description: 商品名称
  11605. type: string
  11606. goodunitid:
  11607. description: 商品单位id
  11608. type: integer
  11609. initmargin:
  11610. description: 初始保证金(首付款)
  11611. type: number
  11612. lenderamount:
  11613. description: 贷款金额(总额|订单总额)
  11614. type: number
  11615. logincode:
  11616. description: 账号(登录代码)
  11617. type: string
  11618. marginratio:
  11619. description: 保证金比率(首付比例)
  11620. type: number
  11621. mobile:
  11622. description: 电话号码(用户资料里的电话)
  11623. type: string
  11624. payamount:
  11625. description: 已付(已付货款)
  11626. type: number
  11627. reckonrecovermargin:
  11628. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  11629. type: number
  11630. recoveredmargin:
  11631. description: 已追缴保证金
  11632. type: number
  11633. remainamount:
  11634. description: 合同剩余金额(融资额)
  11635. type: number
  11636. scfcontractid:
  11637. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  11638. type: string
  11639. scfcontractstatus:
  11640. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  11641. 9:违约结束 10:已注销 11:已关闭 99:未提交
  11642. type: integer
  11643. scfcontracttype:
  11644. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  11645. type: integer
  11646. totalinterest:
  11647. description: 已计总利息(利息)
  11648. type: number
  11649. tradedate:
  11650. description: 交易日
  11651. type: string
  11652. tradeprice:
  11653. description: 成交价格(成本价格)
  11654. type: number
  11655. userid:
  11656. description: 用户ID
  11657. type: integer
  11658. userinfotype:
  11659. description: 用户类型 1-个人 2-企业
  11660. type: integer
  11661. username:
  11662. description: 用户名称
  11663. type: string
  11664. wrqty:
  11665. description: 仓单数量(数量)
  11666. type: number
  11667. type: object
  11668. models.QhjMgrCustomer:
  11669. properties:
  11670. address:
  11671. description: 通讯地址
  11672. type: string
  11673. attachment1:
  11674. description: 附件1
  11675. type: string
  11676. audittime:
  11677. description: 审核时间
  11678. type: string
  11679. birthday:
  11680. description: 生日
  11681. type: string
  11682. brokerid:
  11683. description: 所属客户经理id
  11684. type: integer
  11685. brokername:
  11686. description: 所属客户经理名称
  11687. type: string
  11688. cardbackphotourl:
  11689. description: 证件反面图片地址
  11690. type: string
  11691. cardfrontphotourl:
  11692. description: 证件正面图片地址
  11693. type: string
  11694. cardnum:
  11695. description: 证件号码
  11696. type: string
  11697. cardtype:
  11698. description: 证件类型
  11699. type: integer
  11700. cardtypename:
  11701. description: 证件类型名称
  11702. type: string
  11703. cityid:
  11704. description: 市
  11705. type: integer
  11706. cityname:
  11707. description: 城市名称
  11708. type: string
  11709. contactname:
  11710. description: 联系人
  11711. type: string
  11712. countryid:
  11713. description: 国家
  11714. type: integer
  11715. countryname:
  11716. description: 国家名称
  11717. type: string
  11718. createtime:
  11719. description: 创建时间
  11720. type: string
  11721. customername:
  11722. description: 客户名称
  11723. type: string
  11724. districtid:
  11725. description: 区域
  11726. type: integer
  11727. districtname:
  11728. description: 地区名称
  11729. type: string
  11730. email:
  11731. description: 邮件
  11732. type: string
  11733. legalpersonname:
  11734. description: 法人姓名(企业)
  11735. type: string
  11736. logincode:
  11737. description: 登录账号(代码)
  11738. type: string
  11739. memberuserid:
  11740. description: 所属机构ID(所属会员)
  11741. type: integer
  11742. memberusername:
  11743. description: 所属会员名称
  11744. type: string
  11745. mobile:
  11746. description: 手机号码
  11747. type: string
  11748. modifytime:
  11749. description: 修改时间
  11750. type: string
  11751. nickname:
  11752. description: 昵称
  11753. type: string
  11754. parentuserid:
  11755. description: 上级机构(所属机构)
  11756. type: integer
  11757. parentusername:
  11758. description: 所属机构名称
  11759. type: string
  11760. provinceid:
  11761. description: 省
  11762. type: integer
  11763. provincename:
  11764. description: 省名称
  11765. type: string
  11766. proxystatementurl:
  11767. description: 授权委托书
  11768. type: string
  11769. querytype:
  11770. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  11771. type: integer
  11772. remark:
  11773. description: 备注
  11774. type: string
  11775. sex:
  11776. description: 性别 0-女 1-男
  11777. type: integer
  11778. status:
  11779. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  11780. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  11781. type: integer
  11782. statusdesc:
  11783. description: 账户状态中文描述
  11784. type: string
  11785. taxpayernum:
  11786. description: 纳税人识别号
  11787. type: string
  11788. telphone:
  11789. description: 联系电话
  11790. type: string
  11791. userid:
  11792. description: 用户ID
  11793. type: integer
  11794. userinfotype:
  11795. description: 客户类型 1-个人 2-企业
  11796. type: integer
  11797. username:
  11798. description: 用户名称
  11799. type: string
  11800. type: object
  11801. models.QhjMgrPickGoods:
  11802. properties:
  11803. enumdicname:
  11804. description: 单位名称(提货商品)
  11805. type: string
  11806. goodsid:
  11807. description: 商品id
  11808. type: integer
  11809. imageaddress:
  11810. description: 图片
  11811. type: string
  11812. modifierid:
  11813. description: 修改人
  11814. type: integer
  11815. modifiername:
  11816. description: 修改人名称
  11817. type: string
  11818. modifysrc:
  11819. description: 修改来源 - 1:管理端 2:终端
  11820. type: integer
  11821. pickupgoodsagreeunit:
  11822. description: 合约乘数
  11823. type: number
  11824. pickupgoodsdesc:
  11825. description: 描述
  11826. type: string
  11827. pickupgoodsid:
  11828. description: 提货商品ID
  11829. type: string
  11830. pickupgoodsname:
  11831. description: 提货商品名称
  11832. type: string
  11833. pickupgoodsstatus:
  11834. description: 状态 - 1:正常 2:停用 3:注销
  11835. type: integer
  11836. pickupgoodsunitid:
  11837. description: 单位ID
  11838. type: integer
  11839. pickupratio:
  11840. description: 提货系数
  11841. type: number
  11842. preparedays:
  11843. description: 备货期(天)
  11844. type: integer
  11845. remark:
  11846. description: 备注
  11847. type: string
  11848. updatetime:
  11849. description: 更新时间
  11850. type: string
  11851. type: object
  11852. models.QhjMgrPositionRsp:
  11853. properties:
  11854. accountid:
  11855. description: 账号Id
  11856. type: integer
  11857. accountname:
  11858. description: 用户名称
  11859. type: string
  11860. agreeunit:
  11861. description: 合约乘数
  11862. type: number
  11863. averageprice:
  11864. description: 均价
  11865. type: number
  11866. avialqty:
  11867. description: 可用数量
  11868. type: number
  11869. decimalplace:
  11870. description: 报价小数位
  11871. type: integer
  11872. enumdicname:
  11873. description: 单位名称(商品)
  11874. type: string
  11875. frozenqty:
  11876. description: 冻结数量
  11877. type: number
  11878. goodscode:
  11879. description: 商品代码(内部)
  11880. type: string
  11881. goodsid:
  11882. description: 商品Id
  11883. type: integer
  11884. goodsname:
  11885. description: 商品名称
  11886. type: string
  11887. goodunitid:
  11888. description: 报价单位ID
  11889. type: integer
  11890. holderamount:
  11891. description: 金额
  11892. type: number
  11893. holderqty:
  11894. description: 持有数量
  11895. type: number
  11896. holdertype:
  11897. description: 持仓类别 - 1:单边持仓 2:双边持仓
  11898. type: integer
  11899. logincode:
  11900. description: 登录代码(账户)
  11901. type: string
  11902. marketid:
  11903. description: 市场id
  11904. type: integer
  11905. qtydecimalplace:
  11906. description: 成交量小数位
  11907. type: integer
  11908. trademode:
  11909. description: 交易模式
  11910. type: integer
  11911. userid:
  11912. description: 用户id
  11913. type: integer
  11914. userinfotype:
  11915. description: 账户类型 1-个人 2-企业
  11916. type: integer
  11917. type: object
  11918. models.QhjMgrSubArea:
  11919. properties:
  11920. accountname:
  11921. description: 账户名称(机构名称)
  11922. type: string
  11923. memberuserid:
  11924. description: 所属会员ID
  11925. type: integer
  11926. parenttopuser:
  11927. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  11928. type: string
  11929. parentuserid:
  11930. description: 所属机构ID
  11931. type: integer
  11932. rootuserid:
  11933. description: 根用户ID
  11934. type: string
  11935. subaccountlevel:
  11936. description: 子账户层数
  11937. type: integer
  11938. subarealevelpath:
  11939. description: 子机构层级路径(逗号分隔,首尾加逗号)
  11940. type: string
  11941. userid:
  11942. description: 用户ID
  11943. type: integer
  11944. usertype:
  11945. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11946. type: integer
  11947. type: object
  11948. models.QhjMgrTradeDetailRsp:
  11949. properties:
  11950. accountid:
  11951. description: 资金账号
  11952. type: integer
  11953. accountname:
  11954. description: 用户名称
  11955. type: string
  11956. agreeunit:
  11957. description: 合约乘数
  11958. type: number
  11959. buyorsell:
  11960. description: 成交类型(方向) 0:买 1:卖
  11961. type: integer
  11962. decimalplace:
  11963. description: 报价小数位
  11964. type: integer
  11965. enumdicname:
  11966. description: 单位名称(商品)
  11967. type: string
  11968. goodscode:
  11969. description: 商品代码(内部)
  11970. type: string
  11971. goodsid:
  11972. description: 商品id
  11973. type: integer
  11974. goodsname:
  11975. description: 商品名称
  11976. type: string
  11977. goodunitid:
  11978. description: 报价单位ID
  11979. type: integer
  11980. logincode:
  11981. description: 登录代码(账户)
  11982. type: string
  11983. marketid:
  11984. description: 市场id
  11985. type: integer
  11986. orderid:
  11987. description: 关联委托单号
  11988. type: string
  11989. qtydecimalplace:
  11990. description: 成交量小数位
  11991. type: integer
  11992. tradeamount:
  11993. description: 金额
  11994. type: number
  11995. tradedate:
  11996. description: 交易日
  11997. type: string
  11998. tradeid:
  11999. description: 成交单号
  12000. type: string
  12001. trademode:
  12002. description: 交易模式
  12003. type: integer
  12004. tradeprice:
  12005. description: 价格
  12006. type: number
  12007. tradeqty:
  12008. description: 数量
  12009. type: number
  12010. tradetime:
  12011. description: 成交时间
  12012. type: string
  12013. userid:
  12014. description: 用户id
  12015. type: integer
  12016. userinfotype:
  12017. description: 账户类型 1-个人 2-企业
  12018. type: integer
  12019. type: object
  12020. models.QhjMgrTradeOrderDetailRsp:
  12021. properties:
  12022. accountid:
  12023. description: 资金账号
  12024. type: integer
  12025. accountname:
  12026. description: 用户名称
  12027. type: string
  12028. agreeunit:
  12029. description: 合约乘数
  12030. type: number
  12031. amount:
  12032. description: 金额
  12033. type: number
  12034. decimalplace:
  12035. description: 报价小数位
  12036. type: integer
  12037. enumdicname:
  12038. description: 单位名称(商品)
  12039. type: string
  12040. goodscode:
  12041. description: 商品代码(内部)
  12042. type: string
  12043. goodsid:
  12044. description: 商品id
  12045. type: integer
  12046. goodsname:
  12047. description: 商品名称
  12048. type: string
  12049. goodunitid:
  12050. description: 报价单位ID
  12051. type: integer
  12052. logincode:
  12053. description: 登录代码(账户)
  12054. type: string
  12055. marketid:
  12056. description: 市场id
  12057. type: integer
  12058. orderid:
  12059. description: 关联委托单号
  12060. type: string
  12061. orderprice:
  12062. description: 价格
  12063. type: number
  12064. orderqty:
  12065. description: 数量
  12066. type: number
  12067. orderstatus:
  12068. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  12069. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  12070. 16:成交失败违约(荷兰式竞拍专用)
  12071. type: integer
  12072. ordertime:
  12073. description: 委托时间
  12074. type: string
  12075. qtydecimalplace:
  12076. description: 成交量小数位
  12077. type: integer
  12078. tradedate:
  12079. description: 交易日
  12080. type: string
  12081. trademode:
  12082. description: 交易模式
  12083. type: integer
  12084. userid:
  12085. description: 用户id
  12086. type: integer
  12087. userinfotype:
  12088. description: 账户类型 1-个人 2-企业
  12089. type: integer
  12090. type: object
  12091. models.QhjMgrTradePayOrder:
  12092. properties:
  12093. accountname:
  12094. description: 用户名称
  12095. type: string
  12096. advanceratio:
  12097. description: 首付比率
  12098. type: number
  12099. agreeunit:
  12100. description: 合约乘数
  12101. type: number
  12102. buyaccountid:
  12103. description: 买方账号ID[报价币种]
  12104. type: integer
  12105. buyorderid:
  12106. description: 买方委托单号(关联单号)
  12107. type: string
  12108. createtime:
  12109. description: 创建时间
  12110. type: string
  12111. decimalplace:
  12112. description: 报价小数位
  12113. type: integer
  12114. enumdicname:
  12115. description: 单位名称(商品)
  12116. type: string
  12117. goodscode:
  12118. description: 商品代码(内部)
  12119. type: string
  12120. goodsid:
  12121. description: 商品ID
  12122. type: integer
  12123. goodsname:
  12124. description: 商品名称
  12125. type: string
  12126. goodunitid:
  12127. description: 报价单位ID
  12128. type: integer
  12129. logincode:
  12130. description: 登录代码(账户)
  12131. type: string
  12132. marketid:
  12133. description: 市场id
  12134. type: integer
  12135. offamount:
  12136. description: 优惠金额
  12137. type: number
  12138. operatetype:
  12139. description: 买委托操作类型 - 1:正常下单 16:融资买入
  12140. type: integer
  12141. payamount:
  12142. description: 支付金额(金额)
  12143. type: number
  12144. payflag:
  12145. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  12146. type: integer
  12147. paylimitedtime:
  12148. description: 支付期限
  12149. type: string
  12150. paytime:
  12151. description: 付款时间
  12152. type: string
  12153. qtydecimalplace:
  12154. description: 成交量小数位
  12155. type: integer
  12156. sellaccountid:
  12157. description: 卖方账号ID[报价币种]
  12158. type: integer
  12159. sellorderid:
  12160. description: 卖方委托单号
  12161. type: string
  12162. tradeamount:
  12163. description: 成交金额(优惠后金额)
  12164. type: number
  12165. tradecharge:
  12166. description: 成交手续费(买方)
  12167. type: number
  12168. tradedate:
  12169. description: 交易日(yyyyMMdd)
  12170. type: string
  12171. tradeid:
  12172. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12173. type: string
  12174. trademode:
  12175. description: 交易模式
  12176. type: integer
  12177. tradeprice:
  12178. description: 成交价格(价格)
  12179. type: number
  12180. tradeqty:
  12181. description: 成交数量(数量)
  12182. type: number
  12183. tradetime:
  12184. description: 成交时间
  12185. type: string
  12186. userid:
  12187. description: 用户id
  12188. type: integer
  12189. userinfotype:
  12190. description: 账户类型 1-个人 2-企业
  12191. type: integer
  12192. type: object
  12193. models.QhjMyTeamEx:
  12194. properties:
  12195. accountname:
  12196. description: 用户名称
  12197. type: string
  12198. accountstatus:
  12199. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  12200. type: integer
  12201. createtime:
  12202. description: 创建时间
  12203. type: string
  12204. mobile:
  12205. description: 手机号码
  12206. type: string
  12207. refereeuserid:
  12208. description: 推荐人id
  12209. type: integer
  12210. refernum:
  12211. description: 推荐码
  12212. type: string
  12213. subList:
  12214. items:
  12215. $ref: '#/definitions/models.QhjMyTeamEx'
  12216. type: array
  12217. userid:
  12218. description: 用户id
  12219. type: integer
  12220. userinfotype:
  12221. description: 用户类型 1-个人 2-企业
  12222. type: integer
  12223. type: object
  12224. models.QhjNodeAgreementConfig:
  12225. properties:
  12226. agreementcontent:
  12227. description: 协议内容
  12228. type: string
  12229. agreementid:
  12230. description: 协议ID
  12231. type: integer
  12232. agreementname:
  12233. description: 协议名称
  12234. type: string
  12235. agreementno:
  12236. description: 协议编号
  12237. type: string
  12238. agreementtype:
  12239. description: 协议类型 - 1:注册 2:登录 3:交易
  12240. type: integer
  12241. agreementversion:
  12242. description: 协议版本号
  12243. type: integer
  12244. configid:
  12245. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12246. type: integer
  12247. createtime:
  12248. description: 创建时间
  12249. type: string
  12250. goodsid:
  12251. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12252. type: integer
  12253. nodetype:
  12254. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12255. type: integer
  12256. type: object
  12257. models.QhjParentAreaList:
  12258. properties:
  12259. accountname:
  12260. description: 账户名称(机构名称)
  12261. type: string
  12262. userid:
  12263. description: 用户ID
  12264. type: integer
  12265. usertype:
  12266. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  12267. type: integer
  12268. type: object
  12269. models.QhjPayOrder:
  12270. properties:
  12271. advanceratio:
  12272. description: 首付比率
  12273. type: number
  12274. buyaccountid:
  12275. description: 买方账号ID[报价币种]
  12276. type: integer
  12277. buyorderid:
  12278. description: 买方委托单号
  12279. type: string
  12280. createtime:
  12281. description: 创建时间
  12282. type: string
  12283. decimalplace:
  12284. description: 商品报价小数位
  12285. type: integer
  12286. enumdicname:
  12287. description: 单位名称
  12288. type: string
  12289. goodscode:
  12290. description: 商品代码
  12291. type: string
  12292. goodsid:
  12293. description: 商品ID
  12294. type: integer
  12295. goodsname:
  12296. description: 商品名称
  12297. type: string
  12298. goodunitid:
  12299. description: 商品单位id
  12300. type: integer
  12301. marketid:
  12302. description: 市场ID
  12303. type: integer
  12304. offamount:
  12305. description: 优惠金额
  12306. type: number
  12307. operatetype:
  12308. description: 买委托操作类型 - 1:正常下单 16:融资买入
  12309. type: integer
  12310. payamount:
  12311. description: 支付金额
  12312. type: number
  12313. payflag:
  12314. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  12315. type: integer
  12316. paylimitedtime:
  12317. description: 支付期限
  12318. type: string
  12319. paytime:
  12320. description: 付款时间
  12321. type: string
  12322. qtydecimalplace:
  12323. description: 成交量小数位
  12324. type: integer
  12325. sellaccountid:
  12326. description: 卖方账号ID[报价币种]
  12327. type: integer
  12328. sellorderid:
  12329. description: 卖方委托单号
  12330. type: string
  12331. tradeamount:
  12332. description: 成交金额(优惠后金额)
  12333. type: number
  12334. tradecharge:
  12335. description: 成交手续费(买方)
  12336. type: number
  12337. tradedate:
  12338. description: 交易日(yyyyMMdd)
  12339. type: string
  12340. tradeid:
  12341. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12342. type: string
  12343. tradeprice:
  12344. description: 成交价格
  12345. type: number
  12346. tradeqty:
  12347. description: 成交数量
  12348. type: number
  12349. type: object
  12350. models.QhjPickArea:
  12351. properties:
  12352. address:
  12353. description: 详细地址
  12354. type: string
  12355. cityid:
  12356. description: 市
  12357. type: integer
  12358. cityname:
  12359. description: 城市名称
  12360. type: string
  12361. countryid:
  12362. description: 国家
  12363. type: integer
  12364. countryname:
  12365. description: 国家名称
  12366. type: string
  12367. districtid:
  12368. description: 地区
  12369. type: integer
  12370. districtname:
  12371. description: 地区名称
  12372. type: string
  12373. fromuserid:
  12374. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  12375. type: integer
  12376. fromusername:
  12377. description: 所属机构名称
  12378. type: string
  12379. provinceid:
  12380. description: 省
  12381. type: integer
  12382. provincename:
  12383. description: 省名称
  12384. type: string
  12385. suborgtype:
  12386. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  12387. type: integer
  12388. userid:
  12389. description: 机构用户ID 其他做市关系,都设置为 1
  12390. type: integer
  12391. username:
  12392. description: 机构用户名称(门店门称)
  12393. type: string
  12394. type: object
  12395. models.QhjPickGoods:
  12396. properties:
  12397. enumdicname:
  12398. description: 单位名称(提货商品)
  12399. type: string
  12400. goodsid:
  12401. description: 商品id
  12402. type: integer
  12403. imageaddress:
  12404. description: 图片
  12405. type: string
  12406. modifierid:
  12407. description: 修改人
  12408. type: integer
  12409. modifiername:
  12410. description: 修改人名称
  12411. type: string
  12412. modifysrc:
  12413. description: 修改来源 - 1:管理端 2:终端
  12414. type: integer
  12415. pickupgoodsagreeunit:
  12416. description: 合约乘数
  12417. type: number
  12418. pickupgoodsdesc:
  12419. description: 描述
  12420. type: string
  12421. pickupgoodsid:
  12422. description: 提货商品ID
  12423. type: string
  12424. pickupgoodsname:
  12425. description: 提货商品名称
  12426. type: string
  12427. pickupgoodsstatus:
  12428. description: 状态 - 1:正常 2:停用 3:注销
  12429. type: integer
  12430. pickupgoodsunitid:
  12431. description: 单位ID
  12432. type: integer
  12433. pickupratio:
  12434. description: 提货系数
  12435. type: number
  12436. preparedays:
  12437. description: 备货期(天)
  12438. type: integer
  12439. remark:
  12440. description: 备注
  12441. type: string
  12442. updatetime:
  12443. description: 更新时间
  12444. type: string
  12445. type: object
  12446. models.QhjRSTriggerLog:
  12447. properties:
  12448. accountid:
  12449. description: 用户资金账户
  12450. type: integer
  12451. accountname:
  12452. description: 账号名称(ACCOUNTID对应的名称)
  12453. type: string
  12454. currencyid:
  12455. description: 币种id
  12456. type: integer
  12457. currencyname:
  12458. description: 币种名称
  12459. type: string
  12460. decimalplace:
  12461. description: 商品报价小数位
  12462. type: integer
  12463. enumdicname:
  12464. description: 单位名称
  12465. type: string
  12466. goodscode:
  12467. description: 定投商品代码
  12468. type: string
  12469. goodsid:
  12470. description: 定投商品ID
  12471. type: integer
  12472. goodsname:
  12473. description: 定投商品名称
  12474. type: string
  12475. goodunitid:
  12476. description: 定投商品单位id
  12477. type: integer
  12478. logid:
  12479. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  12480. type: string
  12481. logincode:
  12482. description: 账号(登录代码)
  12483. type: string
  12484. qtydecimalplace:
  12485. description: 成交量小数位
  12486. type: integer
  12487. regularlycycle:
  12488. description: 定投频率 - 1:每周 2:每月
  12489. type: integer
  12490. regularlycyclevalue:
  12491. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  12492. type: string
  12493. regularlymode:
  12494. description: 定投方式 - 1:按数量 2:按金额
  12495. type: integer
  12496. regularlymodevalue:
  12497. description: 定投方式值 - 数量或金额
  12498. type: number
  12499. regularlystrategyid:
  12500. description: 定投策略ID
  12501. type: integer
  12502. retcode:
  12503. description: 错误码
  12504. type: string
  12505. tradeid:
  12506. description: 成交单ID
  12507. type: string
  12508. triggeramount:
  12509. description: 触发金额
  12510. type: number
  12511. triggerqty:
  12512. description: 触发数量
  12513. type: number
  12514. triggerstatus:
  12515. description: 触发状态 - 1:成功 2:失败
  12516. type: integer
  12517. triggertime:
  12518. description: 触发时间
  12519. type: string
  12520. triggertradedate:
  12521. description: 触发交易日
  12522. type: string
  12523. userid:
  12524. description: 所属用户ID
  12525. type: integer
  12526. userinfotype:
  12527. description: 用户类型 1-个人 2-企业
  12528. type: integer
  12529. username:
  12530. description: 用户名称(userid对应的名称)
  12531. type: string
  12532. type: object
  12533. models.QhjRStrategy:
  12534. properties:
  12535. accountid:
  12536. description: 用户资金账户
  12537. type: integer
  12538. accountname:
  12539. description: 账号名称(ACCOUNTID对应的名称)
  12540. type: string
  12541. currencyid:
  12542. description: 币种id
  12543. type: integer
  12544. currencyname:
  12545. description: 币种名称
  12546. type: string
  12547. decimalplace:
  12548. description: 商品报价小数位
  12549. type: integer
  12550. enumdicname:
  12551. description: 单位名称
  12552. type: string
  12553. goodscode:
  12554. description: 定投商品代码
  12555. type: string
  12556. goodsid:
  12557. description: 定投商品ID
  12558. type: integer
  12559. goodsname:
  12560. description: 定投商品名称
  12561. type: string
  12562. goodunitid:
  12563. description: 定投商品单位id
  12564. type: integer
  12565. lasteffecttradedate:
  12566. description: 最新生效交易日
  12567. type: string
  12568. laststoptradedate:
  12569. description: 最新暂停交易日
  12570. type: string
  12571. lasttriggertradedate:
  12572. description: 最新触发交易日
  12573. type: string
  12574. logincode:
  12575. description: 账号(登录代码)
  12576. type: string
  12577. nexttriggeramount:
  12578. description: 下次触发金额
  12579. type: number
  12580. nexttriggerdate:
  12581. description: 下次触发日期
  12582. type: string
  12583. nexttriggerqty:
  12584. description: 下次触发数量 [按小数位放大值]
  12585. type: number
  12586. qtydecimalplace:
  12587. description: 成交量小数位
  12588. type: integer
  12589. regularlycycle:
  12590. description: 定投频率 - 1:每周 2:每月
  12591. type: integer
  12592. regularlycyclevalue:
  12593. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  12594. type: string
  12595. regularlymode:
  12596. description: 定投方式 - 1:按数量 2:按金额
  12597. type: integer
  12598. regularlymodevalue:
  12599. description: 定投方式值 - 数量或金额
  12600. type: number
  12601. regularlystrategyid:
  12602. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  12603. type: integer
  12604. regularlystrategystatus:
  12605. description: 策略状态 - 1:正常 2:暂停 3:终止
  12606. type: integer
  12607. remark:
  12608. description: 备注
  12609. type: string
  12610. triggersuccesstimes:
  12611. description: 累计定投成功次数
  12612. type: string
  12613. triggertotalamount:
  12614. description: 累计定投金额(成功)
  12615. type: number
  12616. triggertotalqty:
  12617. description: 累计定投数量(成功) [按小数位放大值]
  12618. type: number
  12619. triggertotaltimes:
  12620. description: 累计定投总次数
  12621. type: string
  12622. updatesrc:
  12623. description: 更新来源 - 1:管理端 2:终端
  12624. type: integer
  12625. updatetime:
  12626. description: 更新时间
  12627. type: string
  12628. updatorid:
  12629. description: 更新人
  12630. type: string
  12631. userid:
  12632. description: 所属用户ID
  12633. type: integer
  12634. userinfotype:
  12635. description: 用户类型 1-个人 2-企业
  12636. type: integer
  12637. username:
  12638. description: 用户名称(userid对应的名称)
  12639. type: string
  12640. type: object
  12641. models.QhjReckonPriceLog:
  12642. properties:
  12643. decimalplace:
  12644. description: 商品报价小数位
  12645. type: integer
  12646. goodscode:
  12647. description: 商品代码
  12648. type: string
  12649. goodsid:
  12650. description: 商品ID
  12651. type: integer
  12652. goodsname:
  12653. description: 商品名称
  12654. type: string
  12655. lastreckonprice:
  12656. description: 上日结算价
  12657. type: number
  12658. nextdnlimitprice:
  12659. description: 下个交易日跌停价
  12660. type: number
  12661. nexttrade:
  12662. description: 下个交易日
  12663. type: string
  12664. nextuplimitprice:
  12665. description: 下个交易日涨停价
  12666. type: number
  12667. reckonprice:
  12668. description: 今日结算价(定投价)
  12669. type: number
  12670. reckontime:
  12671. description: 结算时间
  12672. type: string
  12673. totalholderqty:
  12674. description: 总持仓数
  12675. type: integer
  12676. totalstock:
  12677. description: 总库存
  12678. type: integer
  12679. tradedate:
  12680. description: 交易日
  12681. type: string
  12682. updowncount:
  12683. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  12684. type: integer
  12685. updownflag:
  12686. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  12687. type: integer
  12688. updownrate:
  12689. description: 今日涨跌幅
  12690. type: number
  12691. updownrate_2d:
  12692. description: 连续两日涨跌幅
  12693. type: number
  12694. updownrate_3d:
  12695. description: 连续三日涨跌幅
  12696. type: number
  12697. type: object
  12698. models.QhjScoreLog:
  12699. properties:
  12700. accountid:
  12701. description: 账户ID
  12702. type: integer
  12703. createtime:
  12704. description: 创建时间(时间)
  12705. type: string
  12706. goodsid:
  12707. description: 商品ID
  12708. type: integer
  12709. hasuploaded:
  12710. description: 是否已同步(千海金) 0:未同步 1;已同步
  12711. type: integer
  12712. logid:
  12713. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12714. type: string
  12715. marketid:
  12716. description: 市场ID
  12717. type: integer
  12718. relatedamount:
  12719. description: 关联金额
  12720. type: number
  12721. relatedorderid:
  12722. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  12723. type: string
  12724. scoreconfigvalue1:
  12725. description: 积分配置1
  12726. type: integer
  12727. scoreconfigvalue2:
  12728. description: 积分配置1
  12729. type: integer
  12730. scoretype:
  12731. description: 积分类型 - 1:提货积分
  12732. type: integer
  12733. scorevalue:
  12734. description: 积分
  12735. type: number
  12736. tradedate:
  12737. description: 交易日(yyyyMMdd)
  12738. type: string
  12739. uploadedtime:
  12740. description: 同步时间
  12741. type: string
  12742. userid:
  12743. description: 用户ID
  12744. type: integer
  12745. type: object
  12746. models.QhjSiteColumnDetail:
  12747. properties:
  12748. author:
  12749. description: 作者
  12750. type: string
  12751. brief:
  12752. description: 简介
  12753. type: string
  12754. columnid:
  12755. description: 所属栏目
  12756. type: integer
  12757. context:
  12758. description: 内容
  12759. type: string
  12760. coverimage:
  12761. description: 封面图片
  12762. type: string
  12763. creaedate:
  12764. description: 创建时间
  12765. type: string
  12766. creatorid:
  12767. description: 创建人
  12768. type: integer
  12769. hits:
  12770. description: 点击数
  12771. type: integer
  12772. id:
  12773. description: ID(SEQ_SITE_COLUMNDETAIL)
  12774. type: integer
  12775. isshow:
  12776. description: 是否展示 - 0:不展示 1:展示
  12777. type: integer
  12778. istop:
  12779. description: 是否置顶 - 0:不置 1:置顶
  12780. type: integer
  12781. modifierid:
  12782. description: 操作人
  12783. type: integer
  12784. publishdate:
  12785. description: 发布日期
  12786. type: string
  12787. status:
  12788. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  12789. type: integer
  12790. title:
  12791. description: 标题
  12792. type: string
  12793. updatedate:
  12794. description: 修改时间
  12795. type: string
  12796. userid:
  12797. description: 用户ID(默认为0, 核心为为机构用户ID)
  12798. type: integer
  12799. username:
  12800. description: 用户名称
  12801. type: string
  12802. type: object
  12803. models.QhjTeamOrder:
  12804. properties:
  12805. accountid:
  12806. description: 账户ID[报价币种]
  12807. type: integer
  12808. accountname:
  12809. description: 账户名称
  12810. type: string
  12811. agreeunit:
  12812. description: 合约乘数
  12813. type: number
  12814. buyorsell:
  12815. description: 方向 - 0:买 1:卖
  12816. type: integer
  12817. decimalplace:
  12818. description: 报价小数位
  12819. type: integer
  12820. enumdicname:
  12821. description: 单位名称
  12822. type: string
  12823. goodscode:
  12824. description: 商品代码(内部)
  12825. type: string
  12826. goodsid:
  12827. description: 商品ID
  12828. type: integer
  12829. goodsname:
  12830. description: 商品名称
  12831. type: string
  12832. goodunitid:
  12833. description: 报价单位ID
  12834. type: integer
  12835. marketid:
  12836. description: 市场ID
  12837. type: integer
  12838. marketname:
  12839. description: 市场名称
  12840. type: string
  12841. qtydecimalplace:
  12842. description: 成交量小数位
  12843. type: integer
  12844. refereeuserid:
  12845. description: 推荐人ID
  12846. type: integer
  12847. tradeamount:
  12848. description: 成交金额[账户币种,用于所有权]
  12849. type: number
  12850. tradedate:
  12851. description: 交易日(yyyyMMdd)
  12852. type: string
  12853. trademode:
  12854. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12855. 21:竞拍-大宗式 22:受托竞价
  12856. type: integer
  12857. tradeprice:
  12858. description: 成交价格
  12859. type: number
  12860. tradeqty:
  12861. description: 成交数量
  12862. type: number
  12863. tradetime:
  12864. description: 成交时间
  12865. type: string
  12866. userid:
  12867. description: 用户ID
  12868. type: integer
  12869. type: object
  12870. models.QhjTradeGoodsPickup:
  12871. properties:
  12872. accountid:
  12873. description: 账户ID
  12874. type: integer
  12875. address:
  12876. description: 提货人详细地址
  12877. type: string
  12878. amount:
  12879. description: 提货金额
  12880. type: number
  12881. artradedate:
  12882. description: 自动收货交易日(yyyyMMdd)
  12883. type: string
  12884. auditer:
  12885. description: 审核人
  12886. type: integer
  12887. auditsrc:
  12888. description: 更新来源 - 1:管理端 2:终端
  12889. type: integer
  12890. audittime:
  12891. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  12892. type: string
  12893. audittradedate:
  12894. description: 审核交易日(yyyyMMdd)
  12895. type: string
  12896. cardnum:
  12897. description: 提货人证件号码
  12898. type: string
  12899. cardtypeid:
  12900. description: 提货人证件类型
  12901. type: integer
  12902. checkremark:
  12903. description: 审核备注
  12904. type: string
  12905. cityid:
  12906. description: 市
  12907. type: integer
  12908. cityname:
  12909. description: 城市名称
  12910. type: string
  12911. confirmtime:
  12912. description: 取货时间 或 收货时间
  12913. type: string
  12914. countryid:
  12915. description: 国家
  12916. type: integer
  12917. countryname:
  12918. description: 国家名称
  12919. type: string
  12920. decimalplace:
  12921. description: 商品报价小数位
  12922. type: integer
  12923. districtid:
  12924. description: 地区
  12925. type: integer
  12926. districtname:
  12927. description: 地区名称
  12928. type: string
  12929. enumdicname:
  12930. description: 单位名称(提货商品)
  12931. type: string
  12932. expresscompany:
  12933. description: 物流公司
  12934. type: string
  12935. expressnum:
  12936. description: 物流单号
  12937. type: string
  12938. goodsagreeunit:
  12939. description: 交易商品乘数
  12940. type: number
  12941. goodscode:
  12942. description: 商品代码
  12943. type: string
  12944. goodsid:
  12945. description: 商品ID
  12946. type: integer
  12947. goodsname:
  12948. description: 商品名称
  12949. type: string
  12950. goodsqty:
  12951. description: 交易商品手数(69模式按成交量小数位放大取整)
  12952. type: number
  12953. handlestatus:
  12954. description: 处理状态
  12955. type: integer
  12956. logincode:
  12957. description: 账号(登录代码, 有可能为空)
  12958. type: string
  12959. marketid:
  12960. description: 市场ID
  12961. type: integer
  12962. phonenum:
  12963. description: 提货人联系方式
  12964. type: string
  12965. pickupgoodsagreeunit:
  12966. description: 提货商品合约乘数
  12967. type: number
  12968. pickupgoodsid:
  12969. description: 提货商品ID
  12970. type: string
  12971. pickupgoodsname:
  12972. description: 提货商品名称
  12973. type: string
  12974. pickupgoodsqty:
  12975. description: 提货商品手数(数量)
  12976. type: number
  12977. pickupgoodsunitid:
  12978. description: 单位ID(提货商品)
  12979. type: integer
  12980. pickupratio:
  12981. description: 提货系数
  12982. type: number
  12983. preparedays:
  12984. description: 备货期(天)-提货单明细表
  12985. type: integer
  12986. provinceid:
  12987. description: 省
  12988. type: integer
  12989. provincename:
  12990. description: 省名称
  12991. type: string
  12992. qty:
  12993. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  12994. type: number
  12995. qtydecimalplace:
  12996. description: 商品数量小数位
  12997. type: integer
  12998. recivername:
  12999. description: 提货人姓名
  13000. type: string
  13001. reqtime:
  13002. description: 提货申请时间
  13003. type: string
  13004. storeuserid:
  13005. description: 门店用户ID (千海金)
  13006. type: integer
  13007. storeusername:
  13008. description: 门店用户名称
  13009. type: string
  13010. takemode:
  13011. description: 提货方式 - 2:自提 3:配送(邮寄)
  13012. type: integer
  13013. takeorderid:
  13014. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  13015. type: string
  13016. takeorderstatus:
  13017. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  13018. 7:已拒绝 8:已撤销
  13019. type: integer
  13020. takeremark:
  13021. description: 提货备注
  13022. type: string
  13023. tradedate:
  13024. description: 交易日(yyyyMMdd)
  13025. type: string
  13026. updatetime:
  13027. description: 更新时间
  13028. type: string
  13029. userid:
  13030. description: 用户ID
  13031. type: integer
  13032. userinfotype:
  13033. description: 客户类型 1-个人 2-企业
  13034. type: integer
  13035. username:
  13036. description: 用户名称
  13037. type: string
  13038. type: object
  13039. models.QhjUserNodeCfgAndStatus:
  13040. properties:
  13041. agreementcontent:
  13042. description: 协议内容
  13043. type: string
  13044. agreementid:
  13045. description: 协议ID
  13046. type: integer
  13047. agreementname:
  13048. description: 协议名称
  13049. type: string
  13050. agreementno:
  13051. description: 协议编号
  13052. type: string
  13053. agreementtype:
  13054. description: 协议类型 - 1:注册 2:登录 3:交易
  13055. type: integer
  13056. agreementversion:
  13057. description: 协议版本号
  13058. type: integer
  13059. configid:
  13060. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  13061. type: integer
  13062. createtime:
  13063. description: 创建时间
  13064. type: string
  13065. goodsid:
  13066. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  13067. type: integer
  13068. nodetype:
  13069. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  13070. type: integer
  13071. signtimestamp:
  13072. description: 签约状态时间戳(最近一次)
  13073. type: string
  13074. tradedate:
  13075. description: 签约交易日(yyyyMMdd)
  13076. type: string
  13077. userid:
  13078. description: 客户ID
  13079. type: integer
  13080. type: object
  13081. models.Qhjgoodsex:
  13082. properties:
  13083. canfinance:
  13084. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  13085. type: integer
  13086. canregularlybuy:
  13087. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  13088. type: integer
  13089. defaulttradeuserid:
  13090. description: 默认交易用户ID
  13091. type: integer
  13092. deliverygoodsid:
  13093. description: 现货品种ID
  13094. type: integer
  13095. goodsid:
  13096. description: 商品ID(自增ID SEQ_GOODS)
  13097. type: integer
  13098. minamount:
  13099. description: 最小购买金额
  13100. type: number
  13101. regularlybuyminamount:
  13102. description: 定投最小金额
  13103. type: number
  13104. regularlybuyminqty:
  13105. description: 定投最小数量
  13106. type: number
  13107. spotgoodsbrandid:
  13108. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  13109. type: integer
  13110. visibilityforenterprise:
  13111. description: 企业客户是否可见 - 0:不可见 1:可见
  13112. type: integer
  13113. visibilityforpersonal:
  13114. description: 个人客户是否可见 - 0:不可见 1:可见
  13115. type: integer
  13116. wrstandardid:
  13117. description: 现货商品ID
  13118. type: integer
  13119. type: object
  13120. models.QueryErrorInfosRsp:
  13121. properties:
  13122. description:
  13123. description: 异常描述
  13124. type: string
  13125. errorcode:
  13126. description: 异常代码
  13127. type: string
  13128. errorid:
  13129. description: 异常ID
  13130. type: integer
  13131. modulecode:
  13132. description: 所属模块
  13133. type: string
  13134. operatecode:
  13135. description: 所属操作
  13136. type: string
  13137. rownumber:
  13138. description: 行号
  13139. type: string
  13140. required:
  13141. - errorid
  13142. type: object
  13143. models.QueryHedgeOrderDetailRsp:
  13144. properties:
  13145. accountid:
  13146. description: 账户ID
  13147. type: integer
  13148. buyorsell:
  13149. description: 买卖 - 0:买 1:卖
  13150. type: integer
  13151. cancellogincode:
  13152. description: 撤单人
  13153. type: string
  13154. channelbuildtype:
  13155. description: 开平标志 - 0:无 1:建仓 2:平仓
  13156. type: integer
  13157. channelinnerorderstatus:
  13158. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  13159. 9:全部成交
  13160. type: integer
  13161. channeloperatetype:
  13162. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  13163. type: integer
  13164. closetype:
  13165. description: 平仓方式 - 0:无 1:平今 2:平昨
  13166. type: integer
  13167. curexchangerate:
  13168. description: 当前汇率
  13169. type: number
  13170. decimalplace:
  13171. description: 商品报价小数位
  13172. type: integer
  13173. exchangefullname:
  13174. description: 外部交易所全称
  13175. type: string
  13176. goodscode:
  13177. description: 商品代码(内部)
  13178. type: string
  13179. goodsid:
  13180. description: 商品ID
  13181. type: integer
  13182. goodsname:
  13183. description: 商品名称
  13184. type: string
  13185. marketid:
  13186. description: 市场ID
  13187. type: integer
  13188. openfreezemargin:
  13189. description: 冻结保证金(冻结交易金额)
  13190. type: number
  13191. orderid:
  13192. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13193. type: string
  13194. orderlogincode:
  13195. description: 委托人
  13196. type: string
  13197. orderprice:
  13198. description: 委托价格(账户)
  13199. type: number
  13200. orderqty:
  13201. description: 委托数量
  13202. type: integer
  13203. ordertime:
  13204. description: 委托时间
  13205. type: string
  13206. pricemode:
  13207. description: '取价方式 - 1:市价 2: 限价'
  13208. type: integer
  13209. tradedate:
  13210. description: 交易日(yyyyMMdd)
  13211. type: string
  13212. tradeqty:
  13213. description: 成交数量
  13214. type: integer
  13215. type: object
  13216. models.QueryHedgeTradeDetailRsp:
  13217. properties:
  13218. accountid:
  13219. description: 账号ID
  13220. type: integer
  13221. buyorsell:
  13222. description: 方向 - 0:买 1:卖
  13223. type: integer
  13224. channelbuildtype:
  13225. description: 委托单据类型 0:无 1:建仓 2:平仓
  13226. type: integer
  13227. closecharge:
  13228. description: 平仓手续费(账户)
  13229. type: number
  13230. closecharge2:
  13231. description: 平仓手续费(商品)
  13232. type: number
  13233. closepl:
  13234. description: 平仓盈亏(账户)
  13235. type: number
  13236. closepl2:
  13237. description: 平仓盈亏(商品)
  13238. type: number
  13239. closepl3:
  13240. description: 平仓盈亏(账户)(逐笔)
  13241. type: number
  13242. closepl4:
  13243. description: 平仓盈亏(商品)(逐笔)
  13244. type: number
  13245. closetype:
  13246. description: 平仓方式 - 0:无 1:平今 2:平昨
  13247. type: integer
  13248. curexchangerate:
  13249. description: 当前汇率
  13250. type: number
  13251. decimalplace:
  13252. description: 商品报价小数位
  13253. type: integer
  13254. exchangefullname:
  13255. description: 外部交易所全称
  13256. type: string
  13257. goodscode:
  13258. description: 商品代码(内部)
  13259. type: string
  13260. goodsid:
  13261. description: 商品ID
  13262. type: integer
  13263. goodsname:
  13264. description: 商品名称
  13265. type: string
  13266. marketid:
  13267. description: 市场ID
  13268. type: integer
  13269. opencharge:
  13270. description: 建仓手续费(账户)
  13271. type: number
  13272. opencharge2:
  13273. description: 建仓手续费(商品)
  13274. type: number
  13275. orderid:
  13276. description: 委托单号
  13277. type: string
  13278. orderlogincode:
  13279. description: 委托人
  13280. type: string
  13281. tradeamount:
  13282. description: 成交金额(账户)
  13283. type: number
  13284. tradedate:
  13285. description: 交易日(yyyyMMdd)
  13286. type: string
  13287. tradeid:
  13288. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13289. type: string
  13290. tradeprice:
  13291. description: 成交价格
  13292. type: number
  13293. tradeqty:
  13294. description: 成交数量
  13295. type: integer
  13296. tradetime:
  13297. description: 成交时间
  13298. type: string
  13299. tradetype:
  13300. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  13301. type: integer
  13302. type: object
  13303. models.QuotePrimaryMenu:
  13304. properties:
  13305. Index:
  13306. description: 序号
  13307. type: integer
  13308. Key:
  13309. description: 键名
  13310. type: string
  13311. Name:
  13312. description: 菜单名称
  13313. type: string
  13314. SubMenus:
  13315. description: 子菜单
  13316. items:
  13317. $ref: '#/definitions/models.QuoteSecondaryMenu'
  13318. type: array
  13319. SubTitleType:
  13320. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  13321. type: integer
  13322. TradeModes:
  13323. description: 包含市场交易类型
  13324. type: string
  13325. type: object
  13326. models.QuoteSecondaryMenu:
  13327. properties:
  13328. ExExchangeCode:
  13329. description: 外部交易所代码
  13330. type: string
  13331. ExExchangeID:
  13332. description: 外部交易所ID
  13333. type: integer
  13334. GoodsGroupIDs:
  13335. description: 商品组ID列表
  13336. items:
  13337. type: integer
  13338. type: array
  13339. Index:
  13340. description: 序号
  13341. type: integer
  13342. MarketID:
  13343. description: 市场ID
  13344. type: integer
  13345. MenuTitle:
  13346. description: 菜单标题(市场名称或外部交易所名称)
  13347. type: string
  13348. TradeMode:
  13349. description: 交易模式
  13350. type: integer
  13351. type: object
  13352. models.RelatedTaAccount:
  13353. properties:
  13354. accountid:
  13355. description: 资金账户ID
  13356. type: integer
  13357. type: object
  13358. models.RoleMenu:
  13359. properties:
  13360. hasright:
  13361. description: 是否有权限 0-没有权限 1-有权限
  13362. type: integer
  13363. iconame:
  13364. description: 菜单图标
  13365. type: string
  13366. menutype:
  13367. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  13368. type: integer
  13369. parentcode:
  13370. description: 上级资源代码
  13371. type: string
  13372. remark:
  13373. description: 菜单备注
  13374. type: string
  13375. resourcecode:
  13376. description: 菜单代码
  13377. type: string
  13378. resourcelevel:
  13379. description: 级别
  13380. type: integer
  13381. resourcename:
  13382. description: 菜单名称
  13383. type: string
  13384. roleid:
  13385. description: 角色id
  13386. type: integer
  13387. sort:
  13388. description: 排序
  13389. type: integer
  13390. subMenu:
  13391. description: 子级菜单(结构同上层一样, swag解析不出来)
  13392. items:
  13393. $ref: '#/definitions/models.RoleMenu'
  13394. type: array
  13395. url:
  13396. description: URL
  13397. type: string
  13398. userid:
  13399. description: 用户id
  13400. type: integer
  13401. type: object
  13402. models.SearchGoods:
  13403. properties:
  13404. goodscode:
  13405. description: 商品代码(内部)
  13406. type: string
  13407. goodsid:
  13408. description: 商品ID(自增ID SEQ_GOODS)
  13409. type: integer
  13410. goodsname:
  13411. description: 商品名称
  13412. type: string
  13413. marketid:
  13414. description: 所属市场ID
  13415. type: integer
  13416. marketname:
  13417. description: 市场名称
  13418. type: string
  13419. trademode:
  13420. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  13421. 21:竞拍-大宗式 22:受托竞价
  13422. type: integer
  13423. required:
  13424. - goodscode
  13425. - goodsid
  13426. - goodsname
  13427. - marketid
  13428. - trademode
  13429. type: object
  13430. models.Systemparam:
  13431. properties:
  13432. loginid:
  13433. description: 更新用户账号,登录账号
  13434. type: string
  13435. modifyflag:
  13436. description: 修改标志0 不允许修改 1 允许修改
  13437. type: integer
  13438. paramcode:
  13439. description: 参数代码
  13440. type: string
  13441. paramname:
  13442. description: 参数名
  13443. type: string
  13444. paramtype:
  13445. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  13446. type: integer
  13447. paramvalue:
  13448. description: 参数值
  13449. type: string
  13450. paramvalue2:
  13451. description: 参数值(CLOB)
  13452. type: string
  13453. regexpress:
  13454. description: 正则表达式
  13455. type: string
  13456. remark:
  13457. description: 备注
  13458. type: string
  13459. serverip:
  13460. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  13461. type: string
  13462. showflag:
  13463. description: 是否显示0 不显示 1 显示
  13464. type: integer
  13465. updatetime:
  13466. description: 更新时间
  13467. type: string
  13468. userid:
  13469. description: 更新用户ID
  13470. type: integer
  13471. required:
  13472. - paramcode
  13473. type: object
  13474. models.Szdz3convertconfig:
  13475. properties:
  13476. canin:
  13477. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  13478. type: integer
  13479. canout:
  13480. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  13481. type: integer
  13482. converttype:
  13483. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  13484. 6:交易转花生米(不设置)
  13485. type: integer
  13486. createtime:
  13487. description: 创建时间
  13488. type: string
  13489. creatorid:
  13490. description: 创建人
  13491. type: integer
  13492. daymaxvalue:
  13493. description: 当日最大转入限制
  13494. type: number
  13495. freezedays:
  13496. description: 冻结天数 [5:花生米转交易]
  13497. type: integer
  13498. innergoodsid:
  13499. description: 内部商品ID[交易]
  13500. type: integer
  13501. inratio:
  13502. description: 目标值
  13503. type: integer
  13504. modifierid:
  13505. description: 修改人
  13506. type: integer
  13507. modifytime:
  13508. description: 修改时间
  13509. type: string
  13510. outergoodscode:
  13511. description: 外部商品代码[JD\PD]
  13512. type: string
  13513. outratio:
  13514. description: 源值
  13515. type: integer
  13516. pddecimalplace:
  13517. description: PD小数位
  13518. type: integer
  13519. timemaxvalue:
  13520. description: 单次最大转入限制
  13521. type: number
  13522. timeminvalue:
  13523. description: 单次最小转入限制
  13524. type: number
  13525. required:
  13526. - converttype
  13527. - innergoodsid
  13528. - outergoodscode
  13529. type: object
  13530. models.Szdz3searchwhitelist:
  13531. properties:
  13532. createtime:
  13533. description: 创建时间
  13534. type: string
  13535. creatorid:
  13536. description: 创建人
  13537. type: integer
  13538. modifierid:
  13539. description: 修改人
  13540. type: integer
  13541. modifytime:
  13542. description: 修改时间
  13543. type: string
  13544. userid:
  13545. description: 用户ID
  13546. type: integer
  13547. required:
  13548. - userid
  13549. type: object
  13550. models.TBGoods:
  13551. properties:
  13552. agreeunit:
  13553. description: 合约乘数
  13554. type: number
  13555. enumdicname:
  13556. description: 单位名称
  13557. type: string
  13558. goodscode:
  13559. description: 商品代码(内部)
  13560. type: string
  13561. goodsid:
  13562. description: 商品ID(自增ID SEQ_GOODS)
  13563. type: integer
  13564. goodsname:
  13565. description: 商品名称
  13566. type: string
  13567. type: object
  13568. models.TBGoodsGroup:
  13569. properties:
  13570. GDLST:
  13571. description: 商品列表
  13572. items:
  13573. $ref: '#/definitions/models.TBGoods'
  13574. type: array
  13575. convertratio:
  13576. description: 折算系数
  13577. type: number
  13578. enumdicname:
  13579. description: 单位名称
  13580. type: string
  13581. exexchangecode:
  13582. description: 交易所代码
  13583. type: string
  13584. exexchangename:
  13585. description: 交易所名称
  13586. type: string
  13587. goodsgroupid:
  13588. description: 商品组ID(自增ID)
  13589. type: integer
  13590. goodsgroupname:
  13591. description: 商品组名称
  13592. type: string
  13593. goodunitid:
  13594. description: 报价单位ID
  13595. type: integer
  13596. type: object
  13597. models.TBMiddleGoods:
  13598. properties:
  13599. GPLST:
  13600. description: 期货品种列表
  13601. items:
  13602. $ref: '#/definitions/models.TBGoodsGroup'
  13603. type: array
  13604. WDLST:
  13605. description: 商品信息列表(现货品类)
  13606. items:
  13607. $ref: '#/definitions/models.TBWrstandard'
  13608. type: array
  13609. areauserid:
  13610. description: 机构用户ID
  13611. type: integer
  13612. enumdicname:
  13613. description: 单位名称
  13614. type: string
  13615. goodsunitid:
  13616. description: 套保品种单位id
  13617. type: integer
  13618. middlegoodscode:
  13619. description: 套保品种代码
  13620. type: string
  13621. middlegoodsid:
  13622. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  13623. type: integer
  13624. middlegoodsname:
  13625. description: 套保品种名称
  13626. type: string
  13627. needarbitrageratio:
  13628. description: 套利比率
  13629. type: number
  13630. needhedgeratio:
  13631. description: 套保比率
  13632. type: number
  13633. type: object
  13634. models.TBWrstandard:
  13635. properties:
  13636. convertratio:
  13637. description: 折算系数
  13638. type: number
  13639. deliverygoodsname:
  13640. description: 品种名称
  13641. type: string
  13642. enumdicname:
  13643. description: 单位名称
  13644. type: string
  13645. vatrate:
  13646. description: 增值税率
  13647. type: number
  13648. wrstandardcode:
  13649. description: 现货商品代码
  13650. type: string
  13651. wrstandardid:
  13652. description: 现货商品ID(SEQ_WRSTANDARD)
  13653. type: integer
  13654. wrstandardname:
  13655. description: 现货商品名称
  13656. type: string
  13657. type: object
  13658. models.Taaccount:
  13659. properties:
  13660. accountflag:
  13661. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  13662. type: integer
  13663. accountid:
  13664. description: 资金账户ID
  13665. type: integer
  13666. accountname:
  13667. description: 账户名称
  13668. type: string
  13669. balance:
  13670. description: 期初余额
  13671. type: number
  13672. capitalbalance:
  13673. description: 本金余额[外部子账户实际出入金余额]
  13674. type: number
  13675. changeflag:
  13676. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  13677. type: integer
  13678. changetime:
  13679. description: 账户状态变更时间
  13680. type: string
  13681. closepl:
  13682. description: 今日平仓盈亏
  13683. type: number
  13684. creditdecrease:
  13685. description: 今日授信减少
  13686. type: number
  13687. creditincrease:
  13688. description: 今日授信增加
  13689. type: number
  13690. curamount:
  13691. description: 总市值(从持仓中统计)
  13692. type: number
  13693. currencyid:
  13694. description: 货币ID
  13695. type: integer
  13696. currentbalance:
  13697. description: 期末余额
  13698. type: number
  13699. freezecharge:
  13700. description: 手续费冻结
  13701. type: number
  13702. freezemargin:
  13703. description: 冻结保证金
  13704. type: number
  13705. fromaccountid:
  13706. description: 所属上级账户
  13707. type: integer
  13708. inamount:
  13709. description: 今日入金金额(包括三方入金)
  13710. type: number
  13711. ismain:
  13712. description: 是否母账号 0:不是母账户 1:是母账户
  13713. type: integer
  13714. ismarketaccount:
  13715. description: 是否机构接单账号 0:不是 1:是
  13716. type: integer
  13717. isreckonaccount:
  13718. description: 是否机构分润账号 0:不是 1:是
  13719. type: integer
  13720. mortgagecredit:
  13721. description: 授信金额
  13722. type: number
  13723. orifreezecharge:
  13724. description: 期初手续费冻结
  13725. type: number
  13726. orifreezemargin:
  13727. description: 期初冻结保证金
  13728. type: number
  13729. orimortgagecredit:
  13730. description: 期初授信金额
  13731. type: number
  13732. oriothercredit:
  13733. description: 期初其它授信金额
  13734. type: number
  13735. oriotherfreezemargin:
  13736. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  13737. type: number
  13738. orioutamountfreeze:
  13739. description: 期初出金冻结
  13740. type: number
  13741. oriusedmargin:
  13742. description: 期初占用保证金
  13743. type: number
  13744. othercredit:
  13745. description: 其它授信金额
  13746. type: number
  13747. othercreditdecrease:
  13748. description: 今日其它授信减少
  13749. type: number
  13750. othercreditincrease:
  13751. description: 今日其它授信增加
  13752. type: number
  13753. otherfreezemargin:
  13754. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  13755. type: number
  13756. otherincome:
  13757. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  13758. type: number
  13759. otherpay:
  13760. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  13761. type: number
  13762. outamount:
  13763. description: 今日出金金额(包括三方出金)
  13764. type: number
  13765. outamountfreeze:
  13766. description: 出金冻结
  13767. type: number
  13768. outthreshold:
  13769. description: 出金阈值
  13770. type: number
  13771. parentaccountid:
  13772. description: 所属根账号
  13773. type: integer
  13774. paycharge:
  13775. description: 今日手续费支出
  13776. type: number
  13777. relatedaccountstatus:
  13778. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  13779. type: integer
  13780. relateduserid:
  13781. description: 关联用户
  13782. type: integer
  13783. remainamount:
  13784. description: 融资额(从融资合同中统计)
  13785. type: number
  13786. serivcegroup:
  13787. description: 服务分组
  13788. type: integer
  13789. signstatus:
  13790. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  13791. type: integer
  13792. sublevelpath:
  13793. description: 账号层级路径(逗号分隔,首尾加逗号)
  13794. type: string
  13795. taaccounttype:
  13796. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  13797. type: integer
  13798. thirdinamount:
  13799. description: 今日三方入金
  13800. type: number
  13801. thirdoutamount:
  13802. description: 今日三方出金
  13803. type: number
  13804. tradestatus:
  13805. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  13806. type: integer
  13807. tradestatuschangetime:
  13808. description: 激活时间
  13809. type: string
  13810. transferamount:
  13811. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  13812. type: number
  13813. usedmargin:
  13814. description: 占用保证金
  13815. type: number
  13816. userid:
  13817. description: 用户ID
  13818. type: integer
  13819. required:
  13820. - accountid
  13821. - userid
  13822. type: object
  13823. models.Tablecolumnconfig:
  13824. properties:
  13825. aligntype:
  13826. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  13827. type: integer
  13828. autoid:
  13829. description: AutoID
  13830. type: integer
  13831. columnfield:
  13832. description: 列字段
  13833. type: string
  13834. columntitle:
  13835. description: 列Title
  13836. type: string
  13837. columnwidth:
  13838. description: 列宽
  13839. type: string
  13840. formatterstring:
  13841. description: 格式化字符
  13842. type: string
  13843. formattertype:
  13844. description: 格式化类型
  13845. type: string
  13846. groupname:
  13847. description: 表头分组名称
  13848. type: string
  13849. isshow:
  13850. description: 是否显示 - 0:不显示 1:显示
  13851. type: integer
  13852. needsummary:
  13853. description: 是否需要汇总 - 0:不需要 1:需要
  13854. type: integer
  13855. orderindex:
  13856. description: 顺序
  13857. type: integer
  13858. remark:
  13859. description: 备注
  13860. type: string
  13861. summarytype:
  13862. description: 汇总类型 - 1:加总 2:最后一个
  13863. type: integer
  13864. tablekey:
  13865. description: 列表Key
  13866. type: string
  13867. required:
  13868. - autoid
  13869. type: object
  13870. models.TjmdHolderDetailTradeInfo:
  13871. properties:
  13872. agreeunit:
  13873. description: 合约乘数
  13874. type: number
  13875. buyaccountid:
  13876. description: 买方账户
  13877. type: string
  13878. buyusername:
  13879. description: 买方
  13880. type: string
  13881. delistingdate:
  13882. description: 最后结算日
  13883. type: string
  13884. expiredate:
  13885. description: 到期结算价定价日
  13886. type: string
  13887. exprieprice:
  13888. description: 到期清算价格
  13889. type: string
  13890. goodscode:
  13891. description: 商品代码
  13892. type: string
  13893. goodsid:
  13894. description: 商品ID
  13895. type: integer
  13896. goodsname:
  13897. description: 商品名称(交易标的)
  13898. type: string
  13899. lasttradedate:
  13900. description: 最后交易日
  13901. type: string
  13902. listingdate:
  13903. description: 开始交易日
  13904. type: string
  13905. openprice:
  13906. description: 成交价
  13907. type: number
  13908. openqty:
  13909. description: 交易数量
  13910. type: integer
  13911. sellaccountid:
  13912. description: 卖方账户
  13913. type: string
  13914. sellusername:
  13915. description: 卖方
  13916. type: string
  13917. tradeamount:
  13918. description: 初始名义价值
  13919. type: number
  13920. tradedate:
  13921. description: 成交日期
  13922. type: string
  13923. tradeid:
  13924. description: 成交编号
  13925. type: string
  13926. type: object
  13927. models.TjmdMarketSection:
  13928. properties:
  13929. marketsectionid:
  13930. description: 市场版块ID(SEQ_MARKETSECTION)
  13931. type: integer
  13932. marketsectionname:
  13933. description: 市场版块名称
  13934. type: string
  13935. mlist:
  13936. description: 市场列表(板块下面有多少个市场)
  13937. items:
  13938. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  13939. type: array
  13940. orderindex:
  13941. description: 排序
  13942. type: integer
  13943. pictureurl:
  13944. description: 图片url, 规格(90*90)
  13945. type: string
  13946. remark:
  13947. description: 备注
  13948. type: string
  13949. type: object
  13950. models.TjmdMarketSectionConfig:
  13951. properties:
  13952. auctionwrtype:
  13953. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  13954. type: integer
  13955. canacceptquote:
  13956. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  13957. type: integer
  13958. cangoodsexercise:
  13959. description: '[期权]是否可现货行权- 0:否 1:是'
  13960. type: integer
  13961. cangoodsexercisetype:
  13962. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  13963. type: integer
  13964. canmanualquotestrike:
  13965. description: 是否可手动报行权价- 0:否 1:是 [期权]
  13966. type: integer
  13967. canmutistage:
  13968. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  13969. type: integer
  13970. canpreexercise:
  13971. description: '[期权]是否可预申报- 0:否 1:是'
  13972. type: integer
  13973. clearinterval:
  13974. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  13975. type: integer
  13976. contracttmp:
  13977. description: 合同模板[荷兰式][竞价式][仓单贸易]
  13978. type: string
  13979. exchareaid:
  13980. description: 所属交易所,可以没有
  13981. type: integer
  13982. financemarketid:
  13983. description: 融资回购市场ID [仓单贸易]
  13984. type: integer
  13985. goodstype:
  13986. description: 商品类型 - 1:交易商品 2:仓单商品
  13987. type: integer
  13988. hasrebate:
  13989. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  13990. type: integer
  13991. hastradecredit:
  13992. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  13993. type: integer
  13994. haswr:
  13995. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  13996. type: integer
  13997. isdeductmargin:
  13998. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  13999. type: integer
  14000. isrecordsource:
  14001. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  14002. type: integer
  14003. isreleasemargin:
  14004. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  14005. type: integer
  14006. isupdatereckonprice:
  14007. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  14008. type: integer
  14009. listingmode:
  14010. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  14011. type: integer
  14012. marginformula:
  14013. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  14014. type: integer
  14015. marginformula2:
  14016. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  14017. type: integer
  14018. marketid:
  14019. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  14020. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  14021. type: integer
  14022. marketname:
  14023. description: 市场名称
  14024. type: string
  14025. marketsectionid:
  14026. description: 市场版块ID(SEQ_MARKETSECTION)
  14027. type: integer
  14028. marketserviceid:
  14029. description: 市场服务ID
  14030. type: integer
  14031. marketstatus:
  14032. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  14033. type: integer
  14034. markettype:
  14035. description: 市场类型- 1:非交易服务 2:交易服务
  14036. type: integer
  14037. matchermode:
  14038. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  14039. type: integer
  14040. nowrquotaflag:
  14041. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  14042. type: integer
  14043. openmethod:
  14044. description: 开盘模式 - 0 自动 1手动
  14045. type: integer
  14046. orderindex:
  14047. description: 排序
  14048. type: integer
  14049. otcuserid:
  14050. description: 场外期权做市商[场外期权]
  14051. type: integer
  14052. outersynctime:
  14053. description: 外部同步时间点(h24:mi:ss)[场外期权]
  14054. type: string
  14055. paylaterflag:
  14056. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  14057. type: integer
  14058. pendingflag:
  14059. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  14060. type: integer
  14061. pendingtime:
  14062. description: 待开市时间[通道交易-对冲](HH:mm)
  14063. type: string
  14064. performancetempid:
  14065. description: 履约计划模板ID - 作废
  14066. type: integer
  14067. premiumquotemode:
  14068. description: 权利金报价方式 - 1:自动 2:手动
  14069. type: integer
  14070. rebateratio:
  14071. description: 返利比率[竞价式]
  14072. type: number
  14073. reckonorder:
  14074. description: 结算顺序
  14075. type: integer
  14076. reckonpricealgorithm:
  14077. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  14078. 6.卖一价 7.买一卖一均价 8.外部结算价'
  14079. type: integer
  14080. reckonpriceparam:
  14081. description: 结算价参数
  14082. type: integer
  14083. reckontime:
  14084. description: 结算时间[通道交易-对冲](HH:mm)
  14085. type: string
  14086. roleprioritytype:
  14087. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  14088. type: integer
  14089. selllistingauditflag:
  14090. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  14091. type: integer
  14092. trademarkettype:
  14093. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  14094. type: integer
  14095. trademode:
  14096. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  14097. 21:竞拍-大宗式 22:受托竞价
  14098. type: integer
  14099. tradeproperty:
  14100. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  14101. 8:场外期权
  14102. type: integer
  14103. tradetype:
  14104. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  14105. type: integer
  14106. updatereckonpriceinterval:
  14107. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  14108. type: integer
  14109. type: object
  14110. models.TjmdQuoteGoods:
  14111. properties:
  14112. buyqty:
  14113. description: 买量(暂不做, 无值, 保留字段)
  14114. type: number
  14115. decimalplace:
  14116. description: 报价小数位
  14117. type: integer
  14118. goodscode:
  14119. description: 合约代码
  14120. type: string
  14121. goodsgroupid:
  14122. description: 商品组ID(自增ID)
  14123. type: integer
  14124. goodsgroupname:
  14125. description: 商品组名称
  14126. type: string
  14127. goodsid:
  14128. description: 合约id
  14129. type: integer
  14130. goodsname:
  14131. description: 合约名称
  14132. type: string
  14133. refgoodscode:
  14134. description: 标的合约代码
  14135. type: string
  14136. refgoodsid:
  14137. description: 标的合约id
  14138. type: integer
  14139. refgoodsname:
  14140. description: 标的合约名称
  14141. type: string
  14142. sellqty:
  14143. description: 卖量(暂不做, 无值, 保留字段)
  14144. type: number
  14145. type: object
  14146. models.TjmdTodayAccountMargin:
  14147. properties:
  14148. accountid:
  14149. description: 账号ID
  14150. type: integer
  14151. goodsid:
  14152. description: 商品ID
  14153. type: integer
  14154. infoc:
  14155. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  14156. description: 配置参数
  14157. marketid:
  14158. description: 市场ID
  14159. type: integer
  14160. type: object
  14161. models.TjmdTradeOrderDetail:
  14162. properties:
  14163. buyorsell:
  14164. description: 买卖方向 0-买 1-卖
  14165. type: integer
  14166. goodsid:
  14167. description: 商品id
  14168. type: integer
  14169. marketmaxsub:
  14170. description: 市价最大偏移范围 [浮动价 - 点差]
  14171. type: number
  14172. orderid:
  14173. description: 委托单号
  14174. type: string
  14175. orderprice:
  14176. description: 委托价格
  14177. type: number
  14178. orderqty:
  14179. description: 委托数量
  14180. type: integer
  14181. pricemode:
  14182. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  14183. type: integer
  14184. userid:
  14185. description: 用户id
  14186. type: integer
  14187. username:
  14188. description: 用户名称(已脱敏)
  14189. type: string
  14190. type: object
  14191. models.TjmdTransferApply:
  14192. properties:
  14193. applyid:
  14194. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  14195. type: integer
  14196. applystatus:
  14197. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  14198. type: integer
  14199. applytime:
  14200. description: 申请时间(时间)
  14201. type: string
  14202. auditremark:
  14203. description: 审核备注(拒绝原因?)
  14204. type: string
  14205. begindate:
  14206. description: 开始交易日(yyyymmdd)
  14207. type: string
  14208. buyorsell:
  14209. description: 买卖 - 0:买 1:卖
  14210. type: integer
  14211. enddate:
  14212. description: 结束交易日(yyyymmdd)
  14213. type: string
  14214. goodscode:
  14215. description: 商品代码
  14216. type: string
  14217. goodsid:
  14218. description: 商品ID
  14219. type: integer
  14220. goodsname:
  14221. description: 商品名称
  14222. type: string
  14223. marketid:
  14224. description: 市场ID
  14225. type: integer
  14226. qty:
  14227. description: 转让数量(数量)
  14228. type: number
  14229. tradeid:
  14230. description: 成交单号(关联持仓)
  14231. type: string
  14232. transferamount:
  14233. description: 转让总金额(金额)
  14234. type: number
  14235. transferprice:
  14236. description: 转让价格(协议价格)
  14237. type: number
  14238. type: object
  14239. models.TradeHolderDetail:
  14240. properties:
  14241. accountid:
  14242. description: 账号ID
  14243. type: integer
  14244. agreeunit:
  14245. description: 合约乘数
  14246. type: number
  14247. buyorsell:
  14248. description: 方向 - 0:买 1:卖
  14249. type: integer
  14250. currencyid:
  14251. description: 商品币种id
  14252. type: integer
  14253. currencyname:
  14254. description: 币种名称
  14255. type: string
  14256. decimalplace:
  14257. description: 商品价格小数位
  14258. type: integer
  14259. enumdicname:
  14260. description: 商品单位名称
  14261. type: string
  14262. expirecycle:
  14263. description: 行权周期(天) - 1:滚动行权时填写
  14264. type: integer
  14265. expiredate:
  14266. description: 行权日(yyyyMMdd) - 到期日
  14267. type: string
  14268. expiretype:
  14269. description: 行权日类型 - 1:滚动行权 2:固定日行权
  14270. type: integer
  14271. freezeqty:
  14272. description: 冻结数量
  14273. type: number
  14274. goodscode:
  14275. description: 商品代码
  14276. type: string
  14277. goodsid:
  14278. description: 商品ID
  14279. type: integer
  14280. goodsname:
  14281. description: 商品名称
  14282. type: string
  14283. goodunitid:
  14284. description: 商品单位id
  14285. type: integer
  14286. holderamount:
  14287. description: 持仓金额
  14288. type: number
  14289. holdercredit:
  14290. description: 持仓授信金额
  14291. type: number
  14292. holderdays:
  14293. description: 剩余冻结天数
  14294. type: integer
  14295. holderprice:
  14296. description: 持仓价格
  14297. type: number
  14298. holderqty:
  14299. description: 持仓数量
  14300. type: number
  14301. isconfirmexercise:
  14302. description: 是否确认行权- 0:否 1:是
  14303. type: integer
  14304. ispreexercise:
  14305. description: 是否预申报- 0:否 1:是 2:不可行权
  14306. type: integer
  14307. marketid:
  14308. description: 市场id
  14309. type: integer
  14310. marketname:
  14311. description: 市场名称
  14312. type: string
  14313. openprice:
  14314. description: 建仓价格
  14315. type: number
  14316. openqty:
  14317. description: 建仓数量
  14318. type: number
  14319. optiontype:
  14320. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  14321. type: integer
  14322. preexerciseprice:
  14323. description: 预申报价格
  14324. type: number
  14325. premium:
  14326. description: 权利金
  14327. type: number
  14328. qtydecimalplace:
  14329. description: 商品成交量小数位
  14330. type: integer
  14331. refgoodscode:
  14332. description: 标的合约代码
  14333. type: string
  14334. refgoodsid:
  14335. description: 标的合约id
  14336. type: integer
  14337. releaseamount:
  14338. description: 释放持仓金额
  14339. type: number
  14340. releaseholdercredit:
  14341. description: 释放持仓授信金额
  14342. type: number
  14343. taname:
  14344. description: 资金账号名称
  14345. type: string
  14346. tradeamount:
  14347. description: 成交金额
  14348. type: number
  14349. tradedate:
  14350. description: 交易日(yyyyMMdd)
  14351. type: string
  14352. tradeid:
  14353. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14354. type: string
  14355. trademode:
  14356. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  14357. 21:竞拍-大宗式 22:受托竞价 46:掉期
  14358. type: integer
  14359. tradeproperty:
  14360. description: 交易属性
  14361. type: integer
  14362. tradetime:
  14363. description: 交易时间
  14364. type: string
  14365. userid:
  14366. description: 用户id
  14367. type: integer
  14368. username:
  14369. description: 用户名称
  14370. type: string
  14371. type: object
  14372. models.UserCollectConfig:
  14373. properties:
  14374. accountstatus:
  14375. description: 账户状态 - 1:正常 2:停用 3:注销
  14376. type: integer
  14377. collectaccountname:
  14378. description: 收款人账户名称
  14379. type: string
  14380. collectaccountno:
  14381. description: 收款人账户
  14382. type: string
  14383. collectbankname:
  14384. description: 收款人开户行
  14385. type: string
  14386. collectbranchbankname:
  14387. description: 收款人开户支行
  14388. type: string
  14389. collectconfigid:
  14390. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  14391. type: string
  14392. remark:
  14393. description: 备注
  14394. type: string
  14395. userid:
  14396. description: 收款人用户ID
  14397. type: integer
  14398. type: object
  14399. models.UserReceiveInfo:
  14400. properties:
  14401. address:
  14402. description: 提货人详细地址
  14403. type: string
  14404. autoid:
  14405. description: AutoID
  14406. type: integer
  14407. cardnum:
  14408. description: 证件号码(加密存储)
  14409. type: string
  14410. cardtypeid:
  14411. description: 证件类型
  14412. type: integer
  14413. cityid:
  14414. description: 市
  14415. type: integer
  14416. cityname:
  14417. description: 城市名称
  14418. type: string
  14419. countryid:
  14420. description: 国家
  14421. type: integer
  14422. countryname:
  14423. description: 国家名称
  14424. type: string
  14425. districtid:
  14426. description: 地区
  14427. type: integer
  14428. districtname:
  14429. description: 地区名称
  14430. type: string
  14431. hasencrypt:
  14432. description: 数据是否已加密 - 0:未加密 1:已加密
  14433. type: integer
  14434. isdefault:
  14435. description: 是否默认地址 - 0:否 1:是
  14436. type: integer
  14437. phonenum:
  14438. description: 提货人联系方式(加密存储)
  14439. type: string
  14440. provinceid:
  14441. description: 省
  14442. type: integer
  14443. provincename:
  14444. description: 省名称
  14445. type: string
  14446. receivername:
  14447. description: 提货人姓名
  14448. type: string
  14449. takeremark:
  14450. description: 提货备注
  14451. type: string
  14452. userid:
  14453. description: 用户ID
  14454. type: integer
  14455. type: object
  14456. models.Useraccount:
  14457. properties:
  14458. accountname:
  14459. description: 账户名称(机构名称)
  14460. type: string
  14461. accountstatus:
  14462. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  14463. type: integer
  14464. applysrc:
  14465. description: 申请来源 - 1:管理端 2:终端
  14466. type: integer
  14467. auditremark:
  14468. description: 审核备注
  14469. type: string
  14470. auditsrc:
  14471. description: 审核来源 - 1:管理端 2:终端
  14472. type: integer
  14473. audittime:
  14474. description: 审核时间
  14475. type: string
  14476. audituserid:
  14477. description: 审核人
  14478. type: integer
  14479. broker:
  14480. description: 所属经纪人ID
  14481. type: integer
  14482. canceltime:
  14483. description: 销户时间
  14484. type: string
  14485. canceluserid:
  14486. description: 销户人
  14487. type: integer
  14488. canrecommend:
  14489. description: 是否可推荐 - 0:不可 1;可
  14490. type: integer
  14491. createtime:
  14492. description: 创建时间
  14493. type: string
  14494. creatorid:
  14495. description: 创建人
  14496. type: integer
  14497. hasauth:
  14498. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  14499. type: integer
  14500. isanonymous:
  14501. description: 是否匿名下单 - 0:否 1:是
  14502. type: integer
  14503. maxinvestornum:
  14504. description: 最大用户数(经纪会员下投资者个数)
  14505. type: integer
  14506. memberuserid:
  14507. description: 所属会员ID
  14508. type: integer
  14509. modifierid:
  14510. description: 修改人
  14511. type: integer
  14512. modifyremark:
  14513. description: 变更备注
  14514. type: string
  14515. modifystatus:
  14516. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  14517. type: integer
  14518. modifytime:
  14519. description: 修改时间
  14520. type: string
  14521. parenttopuser:
  14522. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  14523. type: string
  14524. parentuserid:
  14525. description: 所属机构ID
  14526. type: integer
  14527. reckonaccountid:
  14528. description: 默认结算资金账号ID(机构分润使用) 作废
  14529. type: integer
  14530. refercount:
  14531. description: 推荐总人数
  14532. type: integer
  14533. refereeuserid:
  14534. description: 推荐人ID
  14535. type: integer
  14536. refernum:
  14537. description: 推荐码
  14538. type: string
  14539. rootuserid:
  14540. description: 根用户ID
  14541. type: integer
  14542. subaccountlevel:
  14543. description: 子账户层数
  14544. type: integer
  14545. subarealevelpath:
  14546. description: 子机构层级路径(逗号分隔,首尾加逗号)
  14547. type: string
  14548. userid:
  14549. description: 用户ID
  14550. type: integer
  14551. usertype:
  14552. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  14553. type: integer
  14554. required:
  14555. - userid
  14556. type: object
  14557. models.Userfavoritegoods:
  14558. properties:
  14559. goodsid:
  14560. description: 商品ID
  14561. type: integer
  14562. required:
  14563. - goodsid
  14564. type: object
  14565. models.Userinfo:
  14566. properties:
  14567. address:
  14568. description: 地址
  14569. type: string
  14570. attachment1:
  14571. description: 附件1
  14572. type: string
  14573. attachment2:
  14574. description: 附件2
  14575. type: string
  14576. bankaccount:
  14577. description: 银行帐号 (加密存储)
  14578. type: string
  14579. bankaccountname:
  14580. description: 收款人名称
  14581. type: string
  14582. bankcardfrontphotourl:
  14583. description: 银行卡正面照地址
  14584. type: string
  14585. bankid:
  14586. description: 银行编码
  14587. type: string
  14588. bankname:
  14589. description: 银行名称
  14590. type: string
  14591. biznature:
  14592. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  14593. type: integer
  14594. bizscope:
  14595. description: 企业经营范围(企业)
  14596. type: string
  14597. cardbackphotourl:
  14598. description: 证件背面图片地址
  14599. type: string
  14600. cardfrontphotourl:
  14601. description: 证件正面图片地址
  14602. type: string
  14603. cardnum:
  14604. description: 证件号码(加密存储)
  14605. type: string
  14606. cardtypeid:
  14607. description: 证件类型ID
  14608. type: integer
  14609. cityid:
  14610. description: 市
  14611. type: integer
  14612. company:
  14613. description: 公司(个人)
  14614. type: string
  14615. contactname:
  14616. description: 联系人
  14617. type: string
  14618. countryid:
  14619. description: 国家
  14620. type: integer
  14621. createtime:
  14622. description: 创建时间
  14623. type: string
  14624. creatorid:
  14625. description: 创建人
  14626. type: integer
  14627. customername:
  14628. description: 客户名称(企业名称)
  14629. type: string
  14630. districtid:
  14631. description: 地区
  14632. type: integer
  14633. email:
  14634. description: 邮件(加密存储)
  14635. type: string
  14636. fax:
  14637. description: 传真(加密存储)
  14638. type: string
  14639. halfbodyphotourl:
  14640. description: 半身照地址
  14641. type: string
  14642. hasencrypt:
  14643. description: 数据是否已加密 - 0:未加密 1:已加密
  14644. type: integer
  14645. headurl:
  14646. description: 头像地址
  14647. type: string
  14648. legalcardbackphotourl:
  14649. description: 法人身份证背面照地址
  14650. type: string
  14651. legalcardfrontphotourl:
  14652. description: 法人身份证正面照地址
  14653. type: string
  14654. legalpersonname:
  14655. description: 法人姓名(企业)
  14656. type: string
  14657. mobile:
  14658. description: 手机号码(加密存储)
  14659. type: string
  14660. mobile2:
  14661. description: 手机号码[明文-尚志]
  14662. type: string
  14663. modifierid:
  14664. description: 修改人
  14665. type: integer
  14666. modifiertime:
  14667. description: 修改时间
  14668. type: string
  14669. needinvoice:
  14670. description: 是否需要发票 - 0:不需要 1:需要
  14671. type: integer
  14672. nickname:
  14673. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  14674. type: string
  14675. openmode:
  14676. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  14677. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  14678. type: integer
  14679. otherurl:
  14680. description: 其它图片地址[使用分号分隔]
  14681. type: string
  14682. postalcode:
  14683. description: 邮政编码
  14684. type: string
  14685. provinceid:
  14686. description: 省
  14687. type: integer
  14688. qq:
  14689. description: QQ(加密存储
  14690. type: string
  14691. remark:
  14692. description: 备注
  14693. type: string
  14694. sex:
  14695. description: '用户性别 0: 女 1: 男'
  14696. type: integer
  14697. signpdfurl:
  14698. description: 签约pdf文件
  14699. type: string
  14700. telphone:
  14701. description: 联系电话(加密存储)
  14702. type: string
  14703. userid:
  14704. description: 用户ID
  14705. type: integer
  14706. userinfotype:
  14707. description: 用户信息类型 - 1:个人 2:企业
  14708. type: integer
  14709. userstatus:
  14710. description: 用户状态 - 1:正常 2:注销
  14711. type: integer
  14712. usertype:
  14713. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  14714. type: integer
  14715. wechat:
  14716. description: 微信(加密存储)
  14717. type: string
  14718. wskhinfo:
  14719. description: 开户申请信息(JSON)
  14720. type: string
  14721. required:
  14722. - userid
  14723. type: object
  14724. models.WRSConverTDetail:
  14725. properties:
  14726. convertratio:
  14727. description: 套保系数
  14728. type: number
  14729. deliverygoodscode:
  14730. description: 现货商品代码
  14731. type: string
  14732. deliverygoodsid:
  14733. description: 现货品种ID
  14734. type: integer
  14735. deliverygoodsname:
  14736. description: 现货商品名称
  14737. type: string
  14738. enumdicname:
  14739. description: 单位名称
  14740. type: string
  14741. goodsunitid:
  14742. description: 套保品种单位id
  14743. type: integer
  14744. middlegoodscode:
  14745. description: 套保品种代码
  14746. type: string
  14747. middlegoodsid:
  14748. description: 套保品种ID
  14749. type: integer
  14750. middlegoodsname:
  14751. description: 套保品种名称
  14752. type: string
  14753. modifytime:
  14754. description: 修改时间
  14755. type: string
  14756. wrstandardid:
  14757. description: 品类ID
  14758. type: integer
  14759. type: object
  14760. models.WRStandardInfo:
  14761. properties:
  14762. areauserid:
  14763. description: 所属机构
  14764. type: integer
  14765. convertfactor:
  14766. description: 标仓系数
  14767. type: number
  14768. createtime:
  14769. description: 创建时间
  14770. type: string
  14771. creatorid:
  14772. description: 创建人
  14773. type: integer
  14774. deliverygoodsid:
  14775. description: 品种ID
  14776. type: integer
  14777. deliverygoodsname:
  14778. description: 交割商品名称
  14779. type: string
  14780. factoryitemjson:
  14781. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  14782. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  14783. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  14784. 逗号分隔'
  14785. type: string
  14786. isvalid:
  14787. description: 是否有效 - 0:无效 1:有效
  14788. type: integer
  14789. minivalue:
  14790. description: 最小变动值
  14791. type: integer
  14792. minivaluedp:
  14793. description: 最小变动值小数位
  14794. type: integer
  14795. realminivalue:
  14796. description: 实际最小变动值
  14797. type: integer
  14798. realminivaluedp:
  14799. description: 实际最小变动值小数位
  14800. type: integer
  14801. remark:
  14802. description: 备注
  14803. type: string
  14804. unitid:
  14805. description: 单位ID
  14806. type: integer
  14807. unitname:
  14808. description: 单位
  14809. type: string
  14810. updatetime:
  14811. description: 更新时间
  14812. type: string
  14813. updatorid:
  14814. description: 更新人
  14815. type: integer
  14816. wrsstatus:
  14817. description: 状态 - 作废 - 0:未激活 1:正常
  14818. type: integer
  14819. wrstandardcode:
  14820. description: 现货品类代码
  14821. type: string
  14822. wrstandardid:
  14823. description: 现货品类ID(SEQ_WRSTANDARD)
  14824. type: integer
  14825. wrstandardname:
  14826. description: 现货品类名称
  14827. type: string
  14828. required:
  14829. - wrstandardid
  14830. type: object
  14831. models.WRTradeBargainApply:
  14832. properties:
  14833. accountid:
  14834. description: 摘牌资金账号
  14835. type: integer
  14836. applyprice:
  14837. description: 申请价格(议价价格)
  14838. type: string
  14839. applyqty:
  14840. description: 摘牌数量(议价数量)
  14841. type: number
  14842. applyremark:
  14843. description: 申请备注
  14844. type: string
  14845. applystatus:
  14846. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  14847. type: integer
  14848. applytime:
  14849. description: 申请时间(议价时间)
  14850. type: string
  14851. begindate:
  14852. description: 开始交易日(yyyymmdd)
  14853. type: string
  14854. buyorsell:
  14855. description: 买卖(挂牌类型) - 0:买 1:卖
  14856. type: integer
  14857. confirmremark:
  14858. description: 确认备注
  14859. type: string
  14860. confirmtime:
  14861. description: 确认时间
  14862. type: string
  14863. confirmuserid:
  14864. description: 确认人
  14865. type: integer
  14866. deliverygoodscode:
  14867. description: 品种代码
  14868. type: string
  14869. deliverygoodsid:
  14870. description: 品种ID
  14871. type: integer
  14872. deliverygoodsname:
  14873. description: 品种名称
  14874. type: string
  14875. deliverymonth:
  14876. description: 交收月
  14877. type: string
  14878. enddate:
  14879. description: 结束交易日(yyyymmdd)
  14880. type: string
  14881. enumdicname:
  14882. description: 单位名称
  14883. type: string
  14884. fixedprice:
  14885. description: 挂牌价格
  14886. type: number
  14887. handlestatus:
  14888. description: 处理状态
  14889. type: integer
  14890. marginvalue:
  14891. description: 履约保证金比例
  14892. type: number
  14893. marketid:
  14894. description: 市场ID
  14895. type: integer
  14896. matchaccountid:
  14897. description: 挂牌方资金账号
  14898. type: integer
  14899. matchuserid:
  14900. description: 挂牌方用户id
  14901. type: integer
  14902. matchusername:
  14903. description: 挂牌方用户名称(已脱敏)
  14904. type: string
  14905. minivalue:
  14906. description: 现货商品最小变动值
  14907. type: integer
  14908. optioncompare:
  14909. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14910. type: string
  14911. orderqty:
  14912. description: 挂牌数量
  14913. type: integer
  14914. refprice:
  14915. description: 参考价格
  14916. type: string
  14917. retcode:
  14918. description: 委托返回代码
  14919. type: integer
  14920. templatename:
  14921. description: 履约方式(履约模板名称)
  14922. type: string
  14923. tradedate:
  14924. description: 交易日(yyyyMMdd)
  14925. type: string
  14926. userid:
  14927. description: 摘牌人用户ID(议价人ID)
  14928. type: integer
  14929. username:
  14930. description: 议价人名字(已脱敏)
  14931. type: string
  14932. validtime:
  14933. description: 有效期限
  14934. type: string
  14935. warehouseid:
  14936. description: 仓库ID
  14937. type: integer
  14938. warehousename:
  14939. description: 仓库名称
  14940. type: string
  14941. wrbargainid:
  14942. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  14943. type: string
  14944. wrfactortypeid:
  14945. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14946. type: string
  14947. wrfactortypename:
  14948. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14949. type: string
  14950. wrstandardcode:
  14951. description: 现货商品代码
  14952. type: string
  14953. wrstandardid:
  14954. description: 现货商品ID
  14955. type: integer
  14956. wrstandardname:
  14957. description: 商品名称
  14958. type: string
  14959. wrtradeorderid:
  14960. description: 关联委托单ID
  14961. type: string
  14962. wrtypename:
  14963. description: 商品
  14964. type: string
  14965. type: object
  14966. models.Warehouseinfo:
  14967. properties:
  14968. address:
  14969. description: 详细地址
  14970. type: string
  14971. areauserid:
  14972. description: 所属机构
  14973. type: integer
  14974. autoid:
  14975. description: 自增ID
  14976. type: integer
  14977. cityid:
  14978. description: 市
  14979. type: integer
  14980. contactname:
  14981. description: 联系人
  14982. type: string
  14983. contactnum:
  14984. description: 联系电话
  14985. type: string
  14986. countryid:
  14987. description: 国家
  14988. type: integer
  14989. createtime:
  14990. description: 创建时间
  14991. type: string
  14992. districtid:
  14993. description: 区
  14994. type: integer
  14995. hasvideo:
  14996. description: 是否有视频 - 0:无 1:有
  14997. type: integer
  14998. provinceid:
  14999. description: 省
  15000. type: integer
  15001. remark:
  15002. description: 审核备注
  15003. type: string
  15004. videourl:
  15005. description: 视频地址
  15006. type: string
  15007. warehousecode:
  15008. description: 仓库代码
  15009. type: string
  15010. warehousename:
  15011. description: 仓库名称
  15012. type: string
  15013. warehousestatus:
  15014. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  15015. type: integer
  15016. warehousetype:
  15017. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  15018. type: integer
  15019. required:
  15020. - autoid
  15021. - warehousecode
  15022. type: object
  15023. models.WrAverageTradePrice:
  15024. properties:
  15025. averageprice:
  15026. description: 成交均价
  15027. type: number
  15028. tradedate:
  15029. description: 交易日yyyymm
  15030. type: string
  15031. type: object
  15032. models.WrBrandAndYears:
  15033. properties:
  15034. brandlst:
  15035. description: 品牌列表
  15036. items:
  15037. $ref: '#/definitions/models.DgFactoryItem'
  15038. type: array
  15039. yearslst:
  15040. description: 年份列表
  15041. items:
  15042. $ref: '#/definitions/models.DgFactoryItem'
  15043. type: array
  15044. type: object
  15045. models.WrBsGoodsInfo:
  15046. properties:
  15047. buyorsell:
  15048. description: 买卖方向 0-买 1-卖
  15049. type: integer
  15050. goodsid:
  15051. description: 交易合约ID
  15052. type: integer
  15053. lstitem:
  15054. description: 商品信息项
  15055. items:
  15056. $ref: '#/definitions/models.WrTypeItem'
  15057. type: array
  15058. lststep:
  15059. description: 履约规则
  15060. items:
  15061. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  15062. type: array
  15063. type: object
  15064. models.WrBuybackDetail:
  15065. properties:
  15066. buybackamount:
  15067. description: 回购金额
  15068. type: number
  15069. buybackqty:
  15070. description: 回购数量
  15071. type: number
  15072. buybackreleasemargin:
  15073. description: 回购释放保证金
  15074. type: number
  15075. buybacktime:
  15076. description: 回购时间
  15077. type: string
  15078. errordesc:
  15079. description: 错误描述
  15080. type: string
  15081. handlestatus:
  15082. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  15083. type: integer
  15084. relatedwrid:
  15085. description: 关联仓单ID
  15086. type: integer
  15087. scfcontractid:
  15088. description: SCF合同ID
  15089. type: string
  15090. scfwrbuybackid:
  15091. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  15092. type: integer
  15093. tradedate:
  15094. description: 交易日(yyyyMMdd)
  15095. type: string
  15096. type: object
  15097. models.WrClientAdSpaceConfig:
  15098. properties:
  15099. adspaceid:
  15100. description: 广告位ID
  15101. type: integer
  15102. adspacename:
  15103. description: 广告位名称
  15104. type: string
  15105. adspacetype:
  15106. description: 广告位类型 - 1:固定广告位
  15107. type: integer
  15108. areauserid:
  15109. description: 所属机构ID
  15110. type: integer
  15111. createdate:
  15112. description: 创建时间
  15113. type: string
  15114. imagepath:
  15115. description: 图片
  15116. type: string
  15117. modifierid:
  15118. description: 操作人
  15119. type: integer
  15120. recsize:
  15121. description: 推荐尺寸
  15122. type: string
  15123. title:
  15124. description: 标题
  15125. type: string
  15126. updatedate:
  15127. description: 更新时间
  15128. type: string
  15129. urlcontent:
  15130. description: 链接(地址\商品ID\功能菜单Key\appid)
  15131. type: string
  15132. urltype:
  15133. description: 链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序
  15134. type: integer
  15135. type: object
  15136. models.WrDeliveryAvalidHoldLB:
  15137. properties:
  15138. accountid:
  15139. description: 资金账号
  15140. type: integer
  15141. avalidqty:
  15142. description: 数量(可点选数量)
  15143. type: number
  15144. deliverygoodsid:
  15145. description: 品种id
  15146. type: integer
  15147. enumdicname:
  15148. description: 单位名称
  15149. type: string
  15150. goodsid:
  15151. description: x合约商品id
  15152. type: integer
  15153. ladingbillid:
  15154. description: 提单id
  15155. type: string
  15156. pgoodscode:
  15157. description: p商品代码(点价合约)
  15158. type: string
  15159. pgoodsid:
  15160. description: p商品id(点价合约)
  15161. type: integer
  15162. pgoodsname:
  15163. description: p商品名称(点价合约)
  15164. type: string
  15165. pricemove:
  15166. description: 升贴水
  15167. type: number
  15168. subnum:
  15169. description: 提单子id
  15170. type: integer
  15171. userid:
  15172. description: 用户id
  15173. type: integer
  15174. username:
  15175. description: 仓单持有人
  15176. type: string
  15177. warehousecode:
  15178. description: 仓库代码
  15179. type: string
  15180. warehouseid:
  15181. description: 仓库id
  15182. type: integer
  15183. warehousename:
  15184. description: 仓库名称
  15185. type: string
  15186. wrfactortypeid:
  15187. description: 仓单要素id
  15188. type: string
  15189. wrstandardcode:
  15190. description: 品代码
  15191. type: string
  15192. wrstandardid:
  15193. description: 品类d
  15194. type: integer
  15195. wrstandardname:
  15196. description: 品类名称
  15197. type: string
  15198. wrtypename:
  15199. description: 商品
  15200. type: string
  15201. xgoodscode:
  15202. description: x合约代码
  15203. type: string
  15204. xgoodsname:
  15205. description: x合约名称
  15206. type: string
  15207. type: object
  15208. models.WrDeliveryDetail:
  15209. properties:
  15210. accountid:
  15211. description: 账号ID
  15212. type: integer
  15213. averageprice:
  15214. description: 交割均价 = 交割金额 / 交割数量
  15215. type: number
  15216. begindate:
  15217. description: 开始交易日(yyyymmdd)
  15218. type: string
  15219. buyorsell:
  15220. description: 方向 - 0:买 1:卖
  15221. type: integer
  15222. deliveryamount:
  15223. description: 货款金额(X总货款+P总货款)
  15224. type: number
  15225. deliveryid:
  15226. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  15227. type: string
  15228. deliveryorderid:
  15229. description: 申报单号
  15230. type: string
  15231. deliverypricemove:
  15232. description: 升贴水(升贴水总额)
  15233. type: number
  15234. deliveryqty:
  15235. description: 交收数量(点选数量)
  15236. type: number
  15237. deliverystatus:
  15238. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  15239. type: integer
  15240. deliverytime:
  15241. description: 交割时间
  15242. type: string
  15243. deliverytotalamount:
  15244. description: 交收金额
  15245. type: number
  15246. enddate:
  15247. description: 结束交易日(yyyymmdd)
  15248. type: string
  15249. enumdicname:
  15250. description: 单位名称
  15251. type: string
  15252. matchaccountid:
  15253. description: 对手账号ID
  15254. type: integer
  15255. matchusername:
  15256. description: 对手方名称(仓单持有人)
  15257. type: string
  15258. p1goodsremainamount:
  15259. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  15260. type: number
  15261. pdeliverycloseqty:
  15262. description: p合约平仓数量
  15263. type: number
  15264. pdeliveryprice:
  15265. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  15266. type: number
  15267. pgoodscode:
  15268. description: 商品代码
  15269. type: string
  15270. pgoodsid:
  15271. description: p点选合约id
  15272. type: integer
  15273. pgoodsname:
  15274. description: 商品名称
  15275. type: string
  15276. ppricemode:
  15277. description: 点价价格方式 - 1:商品价 2:固定值
  15278. type: integer
  15279. tradedate:
  15280. description: 交易日(yyyymmdd)
  15281. type: string
  15282. userid:
  15283. description: 用户id
  15284. type: integer
  15285. username:
  15286. description: 用户名称
  15287. type: string
  15288. warehousename:
  15289. description: 仓库名称
  15290. type: string
  15291. wrfactortypeid:
  15292. description: 仓单要素类型ID
  15293. type: string
  15294. wrtypename:
  15295. description: 商品
  15296. type: string
  15297. xdeliverycloseqty:
  15298. description: 合约数量
  15299. type: number
  15300. xgoodsamount:
  15301. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  15302. type: number
  15303. xgoodscode:
  15304. description: 商品代码
  15305. type: string
  15306. xgoodsid:
  15307. description: x交易合约ID
  15308. type: integer
  15309. xgoodsname:
  15310. description: 商品名称
  15311. type: string
  15312. type: object
  15313. models.WrDeliveryGoodsSection:
  15314. properties:
  15315. dglst:
  15316. description: 板块商品列表
  15317. items:
  15318. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  15319. type: array
  15320. imagepath:
  15321. description: 图片地址
  15322. type: string
  15323. orderindex:
  15324. description: 排序
  15325. type: integer
  15326. sectionid:
  15327. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType
  15328. = 1的版块1 - 云融指数
  15329. type: integer
  15330. sectionname:
  15331. description: 版块名称
  15332. type: string
  15333. sectiontype:
  15334. description: 版块类型 - 1:指数版块 2:普通版块
  15335. type: integer
  15336. type: object
  15337. models.WrDeliveryGoodsSectionConfig:
  15338. properties:
  15339. deliverygoodscode:
  15340. description: 现货商品代码
  15341. type: string
  15342. deliverygoodsid:
  15343. description: 现货品种ID(SEQ_DELIVERYGOODS)
  15344. type: integer
  15345. deliverygoodsname:
  15346. description: 现货商品名称
  15347. type: string
  15348. orderindex:
  15349. description: 排序
  15350. type: integer
  15351. type: object
  15352. models.WrDraftUserInfo:
  15353. properties:
  15354. address:
  15355. description: 地址
  15356. type: string
  15357. attachment1:
  15358. description: 附件1
  15359. type: string
  15360. attachment2:
  15361. description: 附件2
  15362. type: string
  15363. attachment3:
  15364. description: 附件3
  15365. type: string
  15366. attachment4:
  15367. description: 附件4
  15368. type: string
  15369. attachment5:
  15370. description: 附件5
  15371. type: string
  15372. bankaccount:
  15373. description: 银行帐号 (加密存储)
  15374. type: string
  15375. bankaccountname:
  15376. description: 收款人名称
  15377. type: string
  15378. bankcardfrontphotourl:
  15379. description: 银行卡正面照地址
  15380. type: string
  15381. bankid:
  15382. description: 银行编码
  15383. type: string
  15384. bankname:
  15385. description: 银行名称
  15386. type: string
  15387. birthday:
  15388. description: 生日(个人:年月日)
  15389. type: string
  15390. biznature:
  15391. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  15392. type: integer
  15393. bizscope:
  15394. description: 企业经营范围(企业)
  15395. type: string
  15396. biztype:
  15397. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  15398. type: integer
  15399. cardbackphotourl:
  15400. description: 证件背面图片地址
  15401. type: string
  15402. cardfrontphotourl:
  15403. description: 证件正面图片地址
  15404. type: string
  15405. cardnum:
  15406. description: 证件号码(加密存储)
  15407. type: string
  15408. cardtypeid:
  15409. description: 证件类型ID
  15410. type: integer
  15411. cityid:
  15412. description: 市
  15413. type: integer
  15414. company:
  15415. description: 公司(个人)
  15416. type: string
  15417. contactcardbackphotourl:
  15418. description: 联系人证件背面图片地址
  15419. type: string
  15420. contactcardfrontphotourl:
  15421. description: 联系人证件正面图片地址
  15422. type: string
  15423. contactname:
  15424. description: 联系人
  15425. type: string
  15426. countryid:
  15427. description: 国家
  15428. type: integer
  15429. createtime:
  15430. description: 创建时间
  15431. type: string
  15432. creatorid:
  15433. description: 创建人
  15434. type: integer
  15435. creditquota:
  15436. description: 授信额度(金瑞)
  15437. type: number
  15438. customername:
  15439. description: 客户名称(企业名称)
  15440. type: string
  15441. districtid:
  15442. description: 地区
  15443. type: integer
  15444. email:
  15445. description: 邮件(加密存储)
  15446. type: string
  15447. fax:
  15448. description: 传真(加密存储)
  15449. type: string
  15450. halfbodyphotourl:
  15451. description: 半身照地址
  15452. type: string
  15453. hasencrypt:
  15454. description: 数据是否已加密 - 0:未加密 1:已加密
  15455. type: integer
  15456. headurl:
  15457. description: 头像地址
  15458. type: string
  15459. legalcardbackphotourl:
  15460. description: 法人身份证背面照地址
  15461. type: string
  15462. legalcardfrontphotourl:
  15463. description: 法人身份证正面照地址
  15464. type: string
  15465. legalpersonname:
  15466. description: 法人姓名(企业)
  15467. type: string
  15468. mobile:
  15469. description: 手机号码(加密存储)
  15470. type: string
  15471. mobile2:
  15472. description: 手机号码[明文-尚志]
  15473. type: string
  15474. modifierid:
  15475. description: 修改人
  15476. type: integer
  15477. modifiertime:
  15478. description: 修改时间
  15479. type: string
  15480. needinvoice:
  15481. description: 是否需要发票 - 0:不需要 1:需要
  15482. type: integer
  15483. nickname:
  15484. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  15485. type: string
  15486. openmode:
  15487. description: "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  15488. 6:苹果手机端注册 7:PC交易端注册"
  15489. type: integer
  15490. otherurl:
  15491. description: 其它图片地址[使用分号分隔]
  15492. type: string
  15493. postalcode:
  15494. description: 邮政编码
  15495. type: string
  15496. provinceid:
  15497. description: 省
  15498. type: integer
  15499. proxystatementurl:
  15500. description: 授权委托书
  15501. type: string
  15502. qq:
  15503. description: QQ(加密存储
  15504. type: string
  15505. remark:
  15506. description: 备注
  15507. type: string
  15508. sex:
  15509. description: '用户性别 0: 女 1: 男'
  15510. type: integer
  15511. signpdfurl:
  15512. description: 签约pdf文件
  15513. type: string
  15514. taxpayernum:
  15515. description: 纳税人识别号
  15516. type: string
  15517. telphone:
  15518. description: 联系电话(加密存储)
  15519. type: string
  15520. userid:
  15521. description: 用户ID
  15522. type: integer
  15523. userinfotype:
  15524. description: 用户信息类型 - 1:个人 2:企业
  15525. type: integer
  15526. userstatus:
  15527. description: 用户状态 - 1:正常 2:注销
  15528. type: integer
  15529. usertype:
  15530. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者
  15531. type: integer
  15532. wechat:
  15533. description: 微信(加密存储)
  15534. type: string
  15535. wskhinfo:
  15536. description: 开户申请信息(JSON)
  15537. type: string
  15538. type: object
  15539. models.WrFAProductDetail:
  15540. properties:
  15541. accountid:
  15542. description: 资金账号
  15543. type: integer
  15544. areauserid:
  15545. description: 金融机构ID
  15546. type: integer
  15547. financingdays:
  15548. description: 天数(天)
  15549. type: integer
  15550. interestminlen:
  15551. description: 最小起息天数
  15552. type: integer
  15553. interestrate:
  15554. description: 利率
  15555. type: number
  15556. interestratemode:
  15557. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  15558. type: integer
  15559. interestsettlemode:
  15560. description: 结息方式 - 1:按日结息 3:按月结息
  15561. type: integer
  15562. interestsettlevalue:
  15563. description: 结息方式值
  15564. type: integer
  15565. isautoloan:
  15566. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  15567. type: integer
  15568. loantag:
  15569. description: '放款标识: "放款快" 或者为空'
  15570. type: string
  15571. marginratio:
  15572. description: 保证金比率质押率 - [仓单质押]
  15573. type: number
  15574. productdetailid:
  15575. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  15576. type: integer
  15577. productid:
  15578. description: 金融产品ID
  15579. type: integer
  15580. productname:
  15581. description: 产品名称
  15582. type: string
  15583. updatetime:
  15584. description: 更新时间
  15585. type: string
  15586. username:
  15587. description: 融出方
  15588. type: string
  15589. type: object
  15590. models.WrFactorTypeInfo:
  15591. properties:
  15592. deliverygoodscode:
  15593. description: 品种代码
  15594. type: string
  15595. deliverygoodsname:
  15596. description: 品种名称
  15597. type: string
  15598. dgfactoryitemid:
  15599. description: 选择项id
  15600. type: integer
  15601. dgfactoryitemtypeid:
  15602. description: 要素选择项ID (1-仓库 2-品牌)
  15603. type: integer
  15604. dgfactoryitemvalue:
  15605. description: 要素项值
  15606. type: string
  15607. itemtypename:
  15608. description: 要素项名称
  15609. type: string
  15610. optioncompare:
  15611. description: 选择比较串
  15612. type: string
  15613. warehouseid:
  15614. description: 仓库id
  15615. type: integer
  15616. wrfactortypeid:
  15617. description: 仓单要素ID
  15618. type: string
  15619. wrfactortypename:
  15620. description: 要素名称
  15621. type: string
  15622. wrfactortypename2:
  15623. description: 要素名称(不含仓库)
  15624. type: string
  15625. wrstandardcode:
  15626. description: 品类代码
  15627. type: string
  15628. wrstandardid:
  15629. description: 品类id
  15630. type: integer
  15631. wrstandardname:
  15632. description: 品类名称
  15633. type: string
  15634. type: object
  15635. models.WrFilterItem:
  15636. properties:
  15637. itemcode:
  15638. description: 代码
  15639. type: string
  15640. itemid:
  15641. description: 项id
  15642. type: integer
  15643. itemname:
  15644. description: 名称
  15645. type: string
  15646. itemtype:
  15647. description: 类型 1-品种 2-品类(商品) 3-仓库
  15648. type: integer
  15649. type: object
  15650. models.WrFinanceBuyApply:
  15651. properties:
  15652. applydate:
  15653. description: 申请时间
  15654. type: string
  15655. applystatus:
  15656. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  15657. type: integer
  15658. applyuserid:
  15659. description: 申请人
  15660. type: integer
  15661. auditdate:
  15662. description: 审核时间
  15663. type: string
  15664. auditremark:
  15665. description: 审核备注
  15666. type: string
  15667. audituserid:
  15668. description: 审核人
  15669. type: integer
  15670. buyaccountid:
  15671. description: 买方资金账号
  15672. type: integer
  15673. buyorsell:
  15674. description: 买卖 - 0:买 1:卖
  15675. type: integer
  15676. buyuserid:
  15677. description: 买方用户ID
  15678. type: integer
  15679. buyusername:
  15680. description: 买方名称
  15681. type: string
  15682. buywrtradeorderid:
  15683. description: 融资方买委托单ID
  15684. type: string
  15685. deliverygoodscode:
  15686. description: 品种代码
  15687. type: string
  15688. deliverygoodsid:
  15689. description: 品种ID
  15690. type: integer
  15691. deliverygoodsname:
  15692. description: 品种名称
  15693. type: string
  15694. deliverymonth:
  15695. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  15696. type: string
  15697. enumdicname:
  15698. description: 单位名称
  15699. type: string
  15700. financeaccountid:
  15701. description: 融资方资金帐户ID
  15702. type: integer
  15703. financeapplyid:
  15704. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15705. type: string
  15706. financeareauserid:
  15707. description: 融资方用户ID
  15708. type: string
  15709. financename:
  15710. description: 融出方名称
  15711. type: string
  15712. financetype:
  15713. description: 融资类型 1-融资回购
  15714. type: integer
  15715. financingdays:
  15716. description: 天数(天)
  15717. type: integer
  15718. freezebuymargin:
  15719. description: 冻结融资保证金(买方)
  15720. type: number
  15721. handleremark:
  15722. description: 处理备注
  15723. type: string
  15724. handlestatus:
  15725. description: 处理状态
  15726. type: integer
  15727. interestminlen:
  15728. description: 最小起息天数
  15729. type: integer
  15730. interestrate:
  15731. description: 利率
  15732. type: number
  15733. interestratemode:
  15734. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  15735. type: integer
  15736. interestsettlemode:
  15737. description: 结息方式 - 1:按日结息 3:按月结息
  15738. type: integer
  15739. interestsettlevalue:
  15740. description: 结息方式值
  15741. type: integer
  15742. isautoloan:
  15743. description: 是否自动放款 - 0:手动 1:自动
  15744. type: integer
  15745. marginratio:
  15746. description: 保证金比率质押率 - [仓单质押]
  15747. type: number
  15748. marketid:
  15749. description: 市场ID
  15750. type: integer
  15751. minivalue:
  15752. description: 现货商品最小变动值
  15753. type: integer
  15754. optioncompare:
  15755. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15756. type: string
  15757. orderqty:
  15758. description: 委托数量(商品数量)
  15759. type: number
  15760. productdetailid:
  15761. description: 产品组合ID
  15762. type: integer
  15763. productid:
  15764. description: 金融产品ID
  15765. type: integer
  15766. productname:
  15767. description: 产品名称
  15768. type: string
  15769. remark:
  15770. description: 备注
  15771. type: string
  15772. scfcontractid:
  15773. description: 仓单回购合同ID
  15774. type: string
  15775. sellaccountid:
  15776. description: 卖方资金账号
  15777. type: integer
  15778. selluserid:
  15779. description: 卖方用户ID
  15780. type: integer
  15781. sellwrtradeorderid:
  15782. description: 卖方委托单ID
  15783. type: string
  15784. tradeamount:
  15785. description: 成交金额(借款金额)
  15786. type: number
  15787. tradedate:
  15788. description: 交易日(yyyyMMdd)
  15789. type: string
  15790. tradeprice:
  15791. description: 成交价格
  15792. type: number
  15793. warehouseid:
  15794. description: 仓库ID
  15795. type: integer
  15796. warehousename:
  15797. description: 仓库名称
  15798. type: string
  15799. wrfactortypeid:
  15800. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15801. type: string
  15802. wrfactortypename:
  15803. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15804. type: string
  15805. wrpricetype:
  15806. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  15807. type: integer
  15808. wrstandardcode:
  15809. description: 现货商品代码
  15810. type: string
  15811. wrstandardid:
  15812. description: 现货商品ID
  15813. type: integer
  15814. wrstandardname:
  15815. description: 商品名称
  15816. type: string
  15817. wrtypename:
  15818. description: 商品
  15819. type: string
  15820. type: object
  15821. models.WrFriendApply:
  15822. properties:
  15823. applicantid:
  15824. description: 申请人
  15825. type: integer
  15826. applyname:
  15827. description: 申请人名称
  15828. type: string
  15829. applysrc:
  15830. description: 申请来源 - 1:管理端 2:终端
  15831. type: integer
  15832. applystatus:
  15833. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15834. type: integer
  15835. applytime:
  15836. description: 申请时间
  15837. type: string
  15838. auditname:
  15839. description: 审核人名称
  15840. type: string
  15841. auditorid:
  15842. description: 审核人
  15843. type: integer
  15844. auditremark:
  15845. description: 审核备注
  15846. type: string
  15847. auditsrc:
  15848. description: 审核来源 - 1:管理端 2:终端
  15849. type: integer
  15850. audittime:
  15851. description: 审核时间
  15852. type: string
  15853. friendapplyid:
  15854. description: 申请ID(SEQ_FRIENDAPPLY)
  15855. type: string
  15856. friendname:
  15857. description: 好友名字(已脱敏)
  15858. type: string
  15859. frienduserid:
  15860. description: 好友用户ID
  15861. type: string
  15862. remark:
  15863. description: 备注
  15864. type: string
  15865. userid:
  15866. description: 申请人用户ID
  15867. type: integer
  15868. type: object
  15869. models.WrFtDeliveryGoods:
  15870. properties:
  15871. deliverygoodscode:
  15872. description: 品种代码
  15873. type: string
  15874. deliverygoodsid:
  15875. description: 品种ID
  15876. type: integer
  15877. deliverygoodsname:
  15878. description: 品种名称
  15879. type: string
  15880. wdlst:
  15881. description: 商品列表
  15882. items:
  15883. $ref: '#/definitions/models.WrFtWrstandard'
  15884. type: array
  15885. type: object
  15886. models.WrFtWrstandard:
  15887. properties:
  15888. enumdicname:
  15889. description: 单位名称
  15890. type: string
  15891. minivalue:
  15892. description: 最小变动值
  15893. type: integer
  15894. wrstandardcode:
  15895. description: 现货商品代码
  15896. type: string
  15897. wrstandardid:
  15898. description: 现货商品ID
  15899. type: integer
  15900. wrstandardname:
  15901. description: 商品名称
  15902. type: string
  15903. type: object
  15904. models.WrGoodsInfo:
  15905. properties:
  15906. haswr:
  15907. description: 0:仓单预售 1:仓单贸易
  15908. type: integer
  15909. lstitem:
  15910. description: 商品信息项
  15911. items:
  15912. $ref: '#/definitions/models.WrTypeItem'
  15913. type: array
  15914. lststep:
  15915. description: 履约规则
  15916. items:
  15917. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  15918. type: array
  15919. marketid:
  15920. description: 市场id
  15921. type: integer
  15922. type: object
  15923. models.WrGoodsPerformanceStep:
  15924. properties:
  15925. autoid:
  15926. description: AutoID
  15927. type: integer
  15928. isauto:
  15929. description: 是否自动 - 0:不自动 1:自动
  15930. type: integer
  15931. remark:
  15932. description: 备注
  15933. type: string
  15934. stepdate:
  15935. description: 天数信息(T+N)
  15936. type: string
  15937. stepdays:
  15938. description: 距离上一步天数
  15939. type: integer
  15940. stepindex:
  15941. description: 步骤序号
  15942. type: integer
  15943. stepinfo:
  15944. description: 步骤信息(步骤名称+步骤值)
  15945. type: string
  15946. steptypeid:
  15947. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  15948. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15949. type: integer
  15950. steptypename:
  15951. description: 步骤名称
  15952. type: string
  15953. stepvalue:
  15954. description: 步骤值
  15955. type: number
  15956. templateid:
  15957. description: 履约计划模板ID
  15958. type: integer
  15959. type: object
  15960. models.WrHoldLB:
  15961. properties:
  15962. accountid:
  15963. description: 持有人帐户ID
  15964. type: integer
  15965. bannerpicurl:
  15966. description: Banner图
  15967. type: string
  15968. createtime:
  15969. description: 创建时间(过户时间)
  15970. type: string
  15971. deliverygoodscode:
  15972. description: 品种代码
  15973. type: string
  15974. deliverygoodsid:
  15975. description: 品种ID
  15976. type: integer
  15977. deliverygoodsname:
  15978. description: 品种名称
  15979. type: string
  15980. enableqty:
  15981. description: 可用数量
  15982. type: number
  15983. enumdicname:
  15984. description: 单位名称
  15985. type: string
  15986. freezerqty:
  15987. description: 冻结数量
  15988. type: number
  15989. ladingbillid:
  15990. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15991. type: string
  15992. minivalue:
  15993. description: 现货商品最小变动值
  15994. type: integer
  15995. optioncompare:
  15996. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15997. type: string
  15998. parentsubnum:
  15999. description: 拆分父子单号
  16000. type: integer
  16001. pledgeqty:
  16002. description: 质押数量
  16003. type: number
  16004. qty:
  16005. description: 数量
  16006. type: number
  16007. subnum:
  16008. description: 提单子单号
  16009. type: integer
  16010. thumurls:
  16011. description: 缩略图
  16012. type: string
  16013. tradedate:
  16014. description: 交易日(yyyyMMdd)
  16015. type: string
  16016. userid:
  16017. description: 持有人ID
  16018. type: integer
  16019. warehouseid:
  16020. description: 仓库ID
  16021. type: integer
  16022. warehousename:
  16023. description: 仓库名称
  16024. type: string
  16025. wrfactortypeid:
  16026. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16027. type: string
  16028. wrfactortypename:
  16029. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16030. type: string
  16031. wrholdeno:
  16032. description: 仓单编号
  16033. type: string
  16034. wrid:
  16035. description: 仓单变更ID
  16036. type: string
  16037. wrstandardcode:
  16038. description: 现货商品代码
  16039. type: string
  16040. wrstandardid:
  16041. description: 现货商品ID
  16042. type: integer
  16043. wrstandardname:
  16044. description: 商品名称
  16045. type: string
  16046. wrtypename:
  16047. description: 商品
  16048. type: string
  16049. type: object
  16050. models.WrMarketTradeConfig:
  16051. properties:
  16052. basisdownratio:
  16053. description: 浮动价基差下限比例(仓单贸易)
  16054. type: number
  16055. basisupratio:
  16056. description: 浮动价基差上限比例(仓单贸易)
  16057. type: number
  16058. buychargealgorithm:
  16059. description: 买方手续费收取方式 1:比率 2:固定
  16060. type: integer
  16061. buychargealgorithm2:
  16062. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  16063. type: integer
  16064. buychargealgorithmvalue:
  16065. description: 买方手续费设置值(交易所部分)
  16066. type: number
  16067. buychargealgorithmvalue2:
  16068. description: 买方手续费设置值(会员部分)
  16069. type: number
  16070. buychargealgorithmvalue3:
  16071. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  16072. type: number
  16073. buychargealgorithmvalue4:
  16074. description: 回购买方手续费设置值(会员部分) --77:现货商城
  16075. type: number
  16076. buyfirstmarginalgorithm:
  16077. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  16078. type: integer
  16079. buyfirstmarginvalue:
  16080. description: 买方出价保证金设置值 - [竞拍]
  16081. type: number
  16082. buymarginalgorithm:
  16083. description: 买方保证金方式 - 1:比率 2:固定
  16084. type: integer
  16085. buymarginvalue:
  16086. description: 买方保证金设置值
  16087. type: number
  16088. buyreleaseratio:
  16089. description: 买方释放比率[2:分步履约]
  16090. type: number
  16091. executemode:
  16092. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  16093. type: integer
  16094. executeside:
  16095. description: 执行方[2:分步履约] - 1:买方 2:卖方
  16096. type: integer
  16097. failedchargealgorithm:
  16098. description: 流拍手续费收取方式 1:比率 2:固定
  16099. type: integer
  16100. failedchargevalue:
  16101. description: 流拍手续费设置值
  16102. type: number
  16103. failedchargevalue2:
  16104. description: 流拍卖方手续费设置值
  16105. type: number
  16106. holddays:
  16107. description: 合同期限[2:分步履约]
  16108. type: integer
  16109. listingmode:
  16110. description: 挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  16111. type: integer
  16112. marketid:
  16113. description: 市场ID-仓单贸易、竞拍、预售
  16114. type: integer
  16115. minqty:
  16116. description: 最小执行量[2:分步履约]
  16117. type: number
  16118. modifierid:
  16119. description: 修改人
  16120. type: integer
  16121. nowrquotaflag:
  16122. description: 是否校验无仓单额度(仓单贸易) - 0:否 1:是
  16123. type: integer
  16124. performancetempid:
  16125. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  16126. 立即执行(-1)
  16127. type: integer
  16128. performancetempid2:
  16129. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  16130. 立即执行
  16131. type: integer
  16132. performancetempid2s:
  16133. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  16134. - 履约方式: 立即执行
  16135. type: string
  16136. performancetempids:
  16137. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  16138. - 履约方式: 立即执行(-1)
  16139. type: string
  16140. performanceway:
  16141. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  16142. type: integer
  16143. sellchargealgorithm:
  16144. description: 卖方手续费收取方式 1:比率 2:固定
  16145. type: integer
  16146. sellchargealgorithm2:
  16147. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  16148. type: integer
  16149. sellchargealgorithmvalue:
  16150. description: 卖方手续费设置值(交易所部分)
  16151. type: number
  16152. sellchargealgorithmvalue2:
  16153. description: 卖方手续费设置值(会员部分)
  16154. type: number
  16155. sellchargealgorithmvalue3:
  16156. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  16157. type: number
  16158. sellchargealgorithmvalue4:
  16159. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  16160. type: number
  16161. sellmarginalgorithm:
  16162. description: 卖方保证金方式 - 1:比率 2:固定
  16163. type: integer
  16164. sellmarginvalue:
  16165. description: 卖方保证金设置值
  16166. type: number
  16167. sellmarginvalue2:
  16168. description: 卖方保证金设置值(无仓单)
  16169. type: number
  16170. sellreleaseratio:
  16171. description: 卖方释放比率[2:分步履约]
  16172. type: number
  16173. updatetime:
  16174. description: 更新时间
  16175. type: string
  16176. type: object
  16177. models.WrOrderDetail:
  16178. properties:
  16179. accountid:
  16180. description: 交易账号(资金账号)
  16181. type: integer
  16182. allfriendsflag:
  16183. description: 是否全好友可见 - 0:否 1:是
  16184. type: integer
  16185. amount:
  16186. description: 挂牌金额 = 委托数量 * 固定价或升贴水
  16187. type: number
  16188. bannerpicurl:
  16189. description: Banner图
  16190. type: string
  16191. begindate:
  16192. description: 开始交易日(yyyymmdd)
  16193. type: string
  16194. buyorsell:
  16195. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16196. type: integer
  16197. canbargain:
  16198. description: 是否可议价 - 0:不可 1:可
  16199. type: integer
  16200. cancelqty:
  16201. description: 撤销数量
  16202. type: number
  16203. canpart:
  16204. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  16205. type: integer
  16206. delistminqty:
  16207. description: 起摘数量
  16208. type: integer
  16209. deliverygoodscode:
  16210. description: 品种代码
  16211. type: string
  16212. deliverygoodsid:
  16213. description: 品种ID
  16214. type: integer
  16215. deliverygoodsname:
  16216. description: 品种名称
  16217. type: string
  16218. deliverymonth:
  16219. description: 交收月
  16220. type: string
  16221. enddate:
  16222. description: 结束交易日(yyyymmdd)
  16223. type: string
  16224. enumdicname:
  16225. description: 单位名称
  16226. type: string
  16227. fixedprice:
  16228. description: 固定价格 - [挂牌]
  16229. type: number
  16230. freezecharge:
  16231. description: 冻结手续费
  16232. type: number
  16233. freezemargin:
  16234. description: 冻结保证金(保证金)
  16235. type: number
  16236. futupricemove:
  16237. description: 期货升贴水
  16238. type: number
  16239. futushow:
  16240. description: 期货合约/升贴水
  16241. type: string
  16242. goodscode:
  16243. description: 期货合约
  16244. type: string
  16245. goodsid:
  16246. description: 期货商品id
  16247. type: integer
  16248. goodsname:
  16249. description: 商品名称
  16250. type: string
  16251. haswr:
  16252. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16253. type: integer
  16254. isspecified:
  16255. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  16256. type: integer
  16257. ladingbillid:
  16258. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  16259. type: string
  16260. marginvalue:
  16261. description: 保证金设置值(履约保证金)
  16262. type: number
  16263. marketid:
  16264. description: 市场ID
  16265. type: integer
  16266. matchusername:
  16267. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  16268. type: string
  16269. minivalue:
  16270. description: 现货商品最小变动值
  16271. type: integer
  16272. optioncompare:
  16273. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16274. type: string
  16275. orderqty:
  16276. description: 委托数量
  16277. type: number
  16278. ordertime:
  16279. description: 委托时间(挂牌时间)
  16280. type: string
  16281. performancetemplateid:
  16282. description: 履约模板id
  16283. type: integer
  16284. pricemove:
  16285. description: 升贴水(浮动价时填写) - [挂牌]
  16286. type: number
  16287. taname:
  16288. description: 交易用户名称(资金账号名称)
  16289. type: string
  16290. thumurls:
  16291. description: 缩略图
  16292. type: string
  16293. tradedate:
  16294. description: 交易日(yyyyMMdd)
  16295. type: string
  16296. tradeprice:
  16297. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  16298. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  16299. type: number
  16300. tradeqty:
  16301. description: 成交数量
  16302. type: number
  16303. userid:
  16304. description: 用户ID
  16305. type: integer
  16306. validtime:
  16307. description: 挂牌有效期
  16308. type: string
  16309. validtype:
  16310. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  16311. type: integer
  16312. warehouseid:
  16313. description: 仓库ID
  16314. type: integer
  16315. warehousename:
  16316. description: 仓库名称
  16317. type: string
  16318. wrfactortypeid:
  16319. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16320. type: string
  16321. wrfactortypename:
  16322. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16323. type: string
  16324. wrpricetype:
  16325. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  16326. type: integer
  16327. wrstandardcode:
  16328. description: 现货商品代码
  16329. type: string
  16330. wrstandardid:
  16331. description: 现货商品ID
  16332. type: integer
  16333. wrstandardname:
  16334. description: 商品名称
  16335. type: string
  16336. wrtradeorderid:
  16337. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16338. type: string
  16339. wrtradeorderstatus:
  16340. 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:撤单解冻贷款失败
  16341. type: integer
  16342. wrtradetype:
  16343. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16344. type: integer
  16345. wrtypename:
  16346. description: 商品
  16347. type: string
  16348. type: object
  16349. models.WrOrderQuote:
  16350. properties:
  16351. bannerpicurl:
  16352. description: Banner图
  16353. type: string
  16354. buyprice:
  16355. description: 买价
  16356. type: number
  16357. buypricemove:
  16358. description: 买升贴水(基差)
  16359. type: number
  16360. buyqty:
  16361. description: 买量
  16362. type: number
  16363. deliverygoodscode:
  16364. description: 品种代码
  16365. type: string
  16366. deliverygoodsid:
  16367. description: 品种id
  16368. type: integer
  16369. deliverygoodsname:
  16370. description: 品种名称
  16371. type: string
  16372. deliverymonth:
  16373. description: 交收月
  16374. type: string
  16375. enumdicname:
  16376. description: 单位名称
  16377. type: string
  16378. goodscode:
  16379. description: 商品合约(浮动价列表才有)
  16380. type: string
  16381. goodsid:
  16382. description: 商品id(浮动价列表才有)
  16383. type: integer
  16384. minivalue:
  16385. description: 现货商品最小变动值
  16386. type: integer
  16387. pictureurls:
  16388. description: 详情图片(逗号分隔)
  16389. type: string
  16390. sellprice:
  16391. description: 卖价
  16392. type: number
  16393. sellpricemove:
  16394. description: 卖升贴水(基差)
  16395. type: number
  16396. sellqty:
  16397. description: 卖量
  16398. type: number
  16399. thumurls:
  16400. description: 缩略图片(1:1)(逗号分隔)
  16401. type: string
  16402. warehousecode:
  16403. description: 仓库代码
  16404. type: string
  16405. warehouseid:
  16406. description: 仓库id
  16407. type: integer
  16408. warehousename:
  16409. description: 仓库名称
  16410. type: string
  16411. wrfactortypeid:
  16412. description: 仓单要素id
  16413. type: string
  16414. wrfactortypename:
  16415. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16416. type: string
  16417. wrgoodsname:
  16418. description: 商品(商品名称+仓库要素名称 拼接)
  16419. type: string
  16420. wrstandardcode:
  16421. description: 商品代码
  16422. type: string
  16423. wrstandardid:
  16424. description: 商品id
  16425. type: integer
  16426. wrstandardname:
  16427. description: 商品名称
  16428. type: string
  16429. type: object
  16430. models.WrOrderQuoteDetail:
  16431. properties:
  16432. buyorsell:
  16433. description: 买卖 - 0:买 1:卖
  16434. type: integer
  16435. delistminqty:
  16436. description: 起摘数量
  16437. type: number
  16438. deliverymonth:
  16439. description: 交收月
  16440. type: string
  16441. enumdicname:
  16442. description: 单位名称
  16443. type: string
  16444. fixedprice:
  16445. description: 买(卖)价
  16446. type: number
  16447. marketid:
  16448. description: 市场id
  16449. type: integer
  16450. minivalue:
  16451. description: 现货商品最小变动值
  16452. type: integer
  16453. orderqty:
  16454. description: 买(卖)量(=委托量-成交量)
  16455. type: number
  16456. ordertime:
  16457. description: 委托时间
  16458. type: string
  16459. pricemove:
  16460. description: 买(卖)升贴水- 基差
  16461. type: number
  16462. userid:
  16463. description: 购买方(销售方)用户ID
  16464. type: integer
  16465. username:
  16466. description: 购买方(销售方)
  16467. type: string
  16468. wrtradeorderid:
  16469. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16470. type: string
  16471. type: object
  16472. models.WrOutInApply:
  16473. properties:
  16474. applyid:
  16475. description: 申请单id
  16476. type: string
  16477. applystatus:
  16478. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  16479. 8:已撤销
  16480. type: integer
  16481. applytime:
  16482. description: 申请时间
  16483. type: string
  16484. applytype:
  16485. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  16486. type: integer
  16487. bannerpicurl:
  16488. description: Banner图
  16489. type: string
  16490. begindate:
  16491. description: 开始交易日(yyyymmdd)
  16492. type: string
  16493. deliverygoodscode:
  16494. description: 品种代码
  16495. type: string
  16496. deliverygoodsid:
  16497. description: 品种ID
  16498. type: integer
  16499. deliverygoodsname:
  16500. description: 品种名称
  16501. type: string
  16502. enddate:
  16503. description: 结束交易日(yyyymmdd)
  16504. type: string
  16505. enumdicname:
  16506. description: 单位名称
  16507. type: string
  16508. expresscompany:
  16509. description: 物流公司
  16510. type: string
  16511. expressnum:
  16512. description: 物流单号
  16513. type: string
  16514. minivalue:
  16515. description: 现货商品最小变动值
  16516. type: integer
  16517. optioncompare:
  16518. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16519. type: string
  16520. qty:
  16521. description: 数量
  16522. type: integer
  16523. userid:
  16524. description: 用户id
  16525. type: integer
  16526. warehouseid:
  16527. description: 仓库ID
  16528. type: integer
  16529. warehousename:
  16530. description: 仓库名称
  16531. type: string
  16532. wrfactortypeid:
  16533. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16534. type: string
  16535. wrfactortypename:
  16536. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16537. type: string
  16538. wrstandardcode:
  16539. description: 现货商品代码
  16540. type: string
  16541. wrstandardid:
  16542. description: 现货商品ID
  16543. type: integer
  16544. wrstandardname:
  16545. description: 商品名称
  16546. type: string
  16547. wrtypename:
  16548. description: 商品
  16549. type: string
  16550. type: object
  16551. models.WrPerformancePlan:
  16552. properties:
  16553. activatemonth:
  16554. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  16555. type: string
  16556. amount:
  16557. description: 履约金额(总金额)
  16558. type: number
  16559. begindate:
  16560. description: 开始交易日(yyyymmdd)
  16561. type: string
  16562. buyaccountid:
  16563. description: 买方账号
  16564. type: integer
  16565. buyerfreezeamount:
  16566. description: 履约冻结(买履约)
  16567. type: number
  16568. buyerfreezeamountremain:
  16569. description: 履约冻结剩余(买履约)
  16570. type: number
  16571. buyorsell:
  16572. description: 买卖方向 0-买 1-卖
  16573. type: integer
  16574. buypaidamount:
  16575. description: 买方已冻/已扣金额 (已付金额)
  16576. type: number
  16577. buyusername:
  16578. description: 买方名字
  16579. type: string
  16580. contractid:
  16581. description: 合同ID
  16582. type: integer
  16583. createtime:
  16584. description: 创建时间
  16585. type: string
  16586. creatorid:
  16587. description: 创建人
  16588. type: integer
  16589. curstepdeadline:
  16590. description: 当前步骤到期时间
  16591. type: string
  16592. curstepid:
  16593. description: 当前步骤ID
  16594. type: string
  16595. curstepname:
  16596. description: 当前步骤名称
  16597. type: string
  16598. deliverygoodscode:
  16599. description: 品种代码
  16600. type: string
  16601. deliverygoodsid:
  16602. description: 品种ID
  16603. type: integer
  16604. deliverygoodsname:
  16605. description: 品种名称
  16606. type: string
  16607. enddate:
  16608. description: 结束交易日(yyyymmdd)
  16609. type: string
  16610. enumdicname:
  16611. description: 单位名称
  16612. type: string
  16613. expressfee:
  16614. description: 运费
  16615. type: number
  16616. expressfeeconfirmed:
  16617. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  16618. type: integer
  16619. hasovershort:
  16620. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  16621. type: integer
  16622. haswr:
  16623. description: 类型 0-仓单预售 1-仓单贸易
  16624. type: integer
  16625. marketid:
  16626. description: 市场ID
  16627. type: integer
  16628. middleaccountid:
  16629. description: 中间商资金账号ID
  16630. type: integer
  16631. middleuserid:
  16632. description: 中间商用户ID
  16633. type: integer
  16634. minivalue:
  16635. description: 现货商品最小变动值
  16636. type: integer
  16637. optioncompare:
  16638. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16639. type: string
  16640. overshortamount:
  16641. description: 溢短金额
  16642. type: number
  16643. overshortqty:
  16644. description: 溢短数量
  16645. type: number
  16646. paymenttype:
  16647. description: 付款方式 - 1:冻结 2:扣款
  16648. type: integer
  16649. performanceplanid:
  16650. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  16651. type: string
  16652. performancestatus:
  16653. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  16654. 9:超时待处理 10:超时关闭
  16655. type: integer
  16656. performancetype:
  16657. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  16658. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  16659. type: integer
  16660. qty:
  16661. description: 履约数量
  16662. type: number
  16663. relatedorderid:
  16664. description: 关联单号(履约类型的关联单号)
  16665. type: string
  16666. remark:
  16667. description: 备注
  16668. type: string
  16669. sellaccountid:
  16670. description: 卖方账号
  16671. type: integer
  16672. sellerfreezeamount:
  16673. description: 履约冻结(卖履约)
  16674. type: number
  16675. sellerfreezeamountremain:
  16676. description: 履约冻结剩余(卖履约)
  16677. type: number
  16678. sellreceivedamount:
  16679. description: 卖方已收金额
  16680. type: number
  16681. sellusername:
  16682. description: 卖方名字
  16683. type: string
  16684. shipremark:
  16685. description: 发货备注[物流单号]
  16686. type: string
  16687. starttime:
  16688. description: 开始时间
  16689. type: string
  16690. steptypeid:
  16691. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  16692. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  16693. type: integer
  16694. typename:
  16695. description: 履约类型 名称
  16696. type: string
  16697. unpaidamount:
  16698. description: 剩余款(待支付金额)
  16699. type: number
  16700. userid:
  16701. description: 用户id
  16702. type: integer
  16703. warehouseid:
  16704. description: 仓库ID
  16705. type: integer
  16706. warehousename:
  16707. description: 仓库名称
  16708. type: string
  16709. wrfactortypeid:
  16710. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16711. type: string
  16712. wrfactortypename:
  16713. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16714. type: string
  16715. wrstandardcode:
  16716. description: 现货商品代码
  16717. type: string
  16718. wrstandardid:
  16719. description: 现货商品ID
  16720. type: integer
  16721. wrstandardname:
  16722. description: 商品名称
  16723. type: string
  16724. wrtransferuserid:
  16725. description: 仓单受让用户
  16726. type: integer
  16727. wrtypename:
  16728. description: 商品
  16729. type: string
  16730. required:
  16731. - userid
  16732. type: object
  16733. models.WrPerformancePlanStep:
  16734. properties:
  16735. delaydays:
  16736. description: 延期申请天数
  16737. type: integer
  16738. deliverygoodscode:
  16739. description: 品种代码
  16740. type: string
  16741. deliverygoodsid:
  16742. description: 品种ID
  16743. type: integer
  16744. deliverygoodsname:
  16745. description: 品种名称
  16746. type: string
  16747. endtime:
  16748. description: 结束日期
  16749. type: string
  16750. enumdicname:
  16751. description: 单位名称
  16752. type: string
  16753. executeside:
  16754. description: 步骤执行方 - 1:买方 2:卖方
  16755. type: integer
  16756. handlestatus:
  16757. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  16758. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  16759. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  16760. type: integer
  16761. isauto:
  16762. description: 是否自动 - 0:不自动 1:自动
  16763. type: integer
  16764. islastreceivestep:
  16765. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  16766. type: integer
  16767. minivalue:
  16768. description: 现货商品最小变动值
  16769. type: integer
  16770. optioncompare:
  16771. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16772. type: string
  16773. overdays:
  16774. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  16775. type: integer
  16776. performancestepid:
  16777. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  16778. type: string
  16779. planid:
  16780. description: 所属履约计划ID
  16781. type: string
  16782. realamount:
  16783. description: 实际完成金额
  16784. type: number
  16785. relatedorderid:
  16786. description: 关联单号
  16787. type: string
  16788. remaindays:
  16789. description: 剩余天数
  16790. type: integer
  16791. remark:
  16792. description: 错误备注
  16793. type: string
  16794. starttime:
  16795. description: 开始日期
  16796. type: string
  16797. stepamount:
  16798. description: 步骤金额
  16799. type: number
  16800. stepdays:
  16801. description: 距离上一步天数(分钟)
  16802. type: integer
  16803. stepindex:
  16804. description: 步骤序号
  16805. type: integer
  16806. steplanchtype:
  16807. description: 步骤启动类型 - 1:系统自动 2:手动
  16808. type: integer
  16809. stepremark:
  16810. description: 步骤备注
  16811. type: string
  16812. stepstatus:
  16813. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  16814. type: integer
  16815. steptypeid:
  16816. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  16817. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  16818. type: integer
  16819. steptypename:
  16820. description: 步骤名称
  16821. type: string
  16822. stepvalue:
  16823. description: 步骤值
  16824. type: number
  16825. warehouseid:
  16826. description: 仓库ID
  16827. type: integer
  16828. warehousename:
  16829. description: 仓库名称
  16830. type: string
  16831. wrfactortypeid:
  16832. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16833. type: string
  16834. wrfactortypename:
  16835. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16836. type: string
  16837. wrstandardcode:
  16838. description: 现货商品代码
  16839. type: string
  16840. wrstandardid:
  16841. description: 现货商品ID
  16842. type: integer
  16843. wrstandardname:
  16844. description: 商品名称
  16845. type: string
  16846. wrtypename:
  16847. description: 商品
  16848. type: string
  16849. type: object
  16850. models.WrPerformanceStepType:
  16851. properties:
  16852. canauto:
  16853. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  16854. type: integer
  16855. steptypeid:
  16856. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  16857. type: integer
  16858. steptypename:
  16859. description: 步骤类型名称
  16860. type: string
  16861. type: object
  16862. models.WrPerformanceTemplateEx:
  16863. properties:
  16864. autoid:
  16865. description: AutoID 模板id
  16866. type: integer
  16867. createtime:
  16868. description: 创建时间
  16869. type: string
  16870. creatorid:
  16871. description: 创建人
  16872. type: integer
  16873. lstStep:
  16874. description: 步骤信息列表
  16875. items:
  16876. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  16877. type: array
  16878. paymenttype:
  16879. description: 支付方式 - 1:冻结 2:扣款
  16880. type: integer
  16881. takemode:
  16882. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  16883. type: integer
  16884. templatename:
  16885. description: 模板名称
  16886. type: string
  16887. templatetype:
  16888. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  16889. (无仓单) 5:挂牌期权 6:竞拍-降价式
  16890. type: integer
  16891. userid:
  16892. description: 所属用户
  16893. type: integer
  16894. type: object
  16895. models.WrPosition:
  16896. properties:
  16897. accountid:
  16898. description: 帐户ID
  16899. type: integer
  16900. buyexcuteqty:
  16901. description: 采购履约中数量
  16902. type: number
  16903. creditcurqty:
  16904. description: 授信当前数量(预售仓单:预售当前量)
  16905. type: number
  16906. creditenableqty:
  16907. description: '授信可用数量(预售仓单: 可用数量)'
  16908. type: number
  16909. creditfreezeqty:
  16910. description: '授信冻结数量(预售仓单: 当前数量)'
  16911. type: number
  16912. credittotalqty:
  16913. description: 授信总数量(预售仓单:预售总量)
  16914. type: number
  16915. credittradeqty:
  16916. description: 授信成交数量(预售仓单:成交总量)
  16917. type: number
  16918. deliverygoodscode:
  16919. description: 品种代码
  16920. type: string
  16921. deliverygoodsid:
  16922. description: 品种ID
  16923. type: integer
  16924. deliverygoodsname:
  16925. description: 品种名称
  16926. type: string
  16927. enalbeqty:
  16928. description: 可用数量
  16929. type: number
  16930. enumdicname:
  16931. description: 单位名称
  16932. type: string
  16933. freezeqty:
  16934. description: 总冻结数量
  16935. type: number
  16936. haswr:
  16937. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16938. type: integer
  16939. minivalue:
  16940. description: 现货商品最小变动值
  16941. type: integer
  16942. modifytime:
  16943. description: 修改时间(过户时间)
  16944. type: string
  16945. optioncompare:
  16946. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16947. type: string
  16948. pledgeqty:
  16949. description: 质押数量
  16950. type: number
  16951. querytype:
  16952. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  16953. type: integer
  16954. sellexcuteqty:
  16955. description: 销售履约中数量
  16956. type: number
  16957. totalqty:
  16958. description: 总数量(库存数量)
  16959. type: number
  16960. warehouseid:
  16961. description: 仓库ID
  16962. type: integer
  16963. warehousename:
  16964. description: 仓库名称
  16965. type: string
  16966. wrfactortypeid:
  16967. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16968. type: string
  16969. wrfactortypename:
  16970. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16971. type: string
  16972. wrpositionid:
  16973. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  16974. type: string
  16975. wrpositionno:
  16976. description: 仓单编号
  16977. type: string
  16978. wrstandardcode:
  16979. description: 现货商品代码
  16980. type: string
  16981. wrstandardid:
  16982. description: 现货商品ID
  16983. type: integer
  16984. wrstandardname:
  16985. description: 商品名称
  16986. type: string
  16987. wrtypename:
  16988. description: 商品
  16989. type: string
  16990. wruserid:
  16991. description: 持有人ID
  16992. type: integer
  16993. type: object
  16994. models.WrPreSaleInfo:
  16995. properties:
  16996. bannerpicurl:
  16997. description: Banner图
  16998. type: string
  16999. baseqty:
  17000. description: 中签基数
  17001. type: number
  17002. createtime:
  17003. description: 创建时间
  17004. type: string
  17005. deliverygoodsid:
  17006. description: 现货品种ID
  17007. type: integer
  17008. enddate:
  17009. description: 预售结束日期
  17010. type: string
  17011. enumdicname:
  17012. description: 单位名称
  17013. type: string
  17014. lotteryflag:
  17015. description: 摇号标识 - 0:未摇号 1:已摇号
  17016. type: integer
  17017. lotteryqty:
  17018. description: 摇号总量
  17019. type: number
  17020. luckyqty:
  17021. description: 已中签量
  17022. type: number
  17023. marketid:
  17024. description: 市场ID
  17025. type: integer
  17026. maxbuyqty:
  17027. description: 单人最大申购量
  17028. type: number
  17029. maxluckyqty:
  17030. description: 单人最大中签量
  17031. type: number
  17032. pictureurls:
  17033. description: 详情图片(逗号分隔)
  17034. type: string
  17035. placeqty:
  17036. description: 已配售量
  17037. type: number
  17038. presaleapplyid:
  17039. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  17040. example: "0"
  17041. type: string
  17042. presaleqty:
  17043. description: 预售总量
  17044. type: number
  17045. presalestatus:
  17046. description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭
  17047. type: integer
  17048. sellaccountid:
  17049. description: 发行方资金账户ID
  17050. type: integer
  17051. selluserid:
  17052. description: 发行方用户ID
  17053. type: integer
  17054. sellwrtradeorderid:
  17055. description: 发行方卖委托单ID
  17056. type: string
  17057. startdate:
  17058. description: 预售开始日期
  17059. type: string
  17060. takestartdate:
  17061. description: 提货开始日期
  17062. type: string
  17063. thumurls:
  17064. description: 缩略图片(1:1)(逗号分隔)
  17065. type: string
  17066. tradedate:
  17067. description: 交易日
  17068. type: string
  17069. unitid:
  17070. description: 单位ID
  17071. type: integer
  17072. unitprice:
  17073. description: 商品单价
  17074. type: number
  17075. username:
  17076. description: 发行方用户名称
  17077. type: string
  17078. warehousecode:
  17079. description: 仓库代码(仓库简称)
  17080. type: string
  17081. warehouseid:
  17082. description: 仓库ID
  17083. type: integer
  17084. warehousename:
  17085. description: 仓库名称
  17086. type: string
  17087. wrfactortypeid:
  17088. description: 仓单要素类型ID - 根据现货商品\仓库生成
  17089. example: "0"
  17090. type: string
  17091. wrstandardid:
  17092. description: 现货商品ID
  17093. type: integer
  17094. wrstandardname:
  17095. description: 现货商品名称
  17096. type: string
  17097. type: object
  17098. models.WrQuoteOrderMyq:
  17099. properties:
  17100. buyorsell:
  17101. description: 买卖 - 0:买 1:卖
  17102. type: integer
  17103. canbargain:
  17104. description: 是否可议价 - 0:不可 1:可
  17105. type: integer
  17106. canpart:
  17107. description: 是否允许部份摘牌 - 0:不允许 1:允许
  17108. type: integer
  17109. delistminqty:
  17110. description: 起摘数量
  17111. type: number
  17112. deliverygoodscode:
  17113. description: 品种代码
  17114. type: string
  17115. deliverygoodsid:
  17116. description: 品种ID
  17117. type: integer
  17118. deliverygoodsname:
  17119. description: 品种名称
  17120. type: string
  17121. deliverymonth:
  17122. description: 交收月
  17123. type: string
  17124. enumdicname:
  17125. description: 单位名称
  17126. type: string
  17127. fixedprice:
  17128. description: 买(卖)价
  17129. type: number
  17130. goodscode:
  17131. description: 商品合约代码
  17132. type: string
  17133. marginflag:
  17134. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  17135. type: integer
  17136. marginvalue:
  17137. description: 保证金设置值
  17138. type: number
  17139. minivalue:
  17140. description: 现货商品最小变动值
  17141. type: integer
  17142. orderqty:
  17143. description: 买(卖)量(=委托量-成交量)
  17144. type: number
  17145. ordertime:
  17146. description: 委托时间
  17147. type: string
  17148. performancetemplateid:
  17149. description: 履约模板id
  17150. type: integer
  17151. pricemove:
  17152. description: 买(卖)升贴水- 基差
  17153. type: number
  17154. templatename:
  17155. description: 履约模板名称
  17156. type: string
  17157. userid:
  17158. description: 购买方(销售方)用户ID
  17159. type: integer
  17160. username:
  17161. description: 购买方(销售方)
  17162. type: string
  17163. validtime:
  17164. description: 有效期限
  17165. type: string
  17166. validtype:
  17167. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  17168. type: integer
  17169. warehousename:
  17170. description: 仓库名称
  17171. type: string
  17172. wrfactortypeid:
  17173. description: 仓单要素id
  17174. type: string
  17175. wrstandardcode:
  17176. description: 现货商品代码
  17177. type: string
  17178. wrstandardid:
  17179. description: 现货商品ID
  17180. type: integer
  17181. wrstandardname:
  17182. description: 商品名称
  17183. type: string
  17184. wrtradeorderid:
  17185. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  17186. type: string
  17187. wrtypename:
  17188. description: 商品
  17189. type: string
  17190. type: object
  17191. models.WrReckonSpotGoodsTradeSum:
  17192. properties:
  17193. begindate:
  17194. description: 开始日期(结果含开始日期) yyyymmdd
  17195. type: string
  17196. enddate:
  17197. description: 结束日期(结果含结束日期) yyyymmdd
  17198. type: string
  17199. marketid:
  17200. description: 市场ID
  17201. type: integer
  17202. price:
  17203. description: 价格 = 日成交金额 / 日成交数量
  17204. type: string
  17205. reckondate:
  17206. description: 日期 格式 yyyymmdd
  17207. type: string
  17208. tradeamount:
  17209. description: 日成交金额(当日单方向成交金额)
  17210. type: number
  17211. tradeqty:
  17212. description: 日成交数量(当日单方向成交数量)
  17213. type: number
  17214. wrstandardid:
  17215. description: 现货商品ID
  17216. type: integer
  17217. type: object
  17218. models.WrScfContract:
  17219. properties:
  17220. borroweruserid:
  17221. description: 借款用户ID
  17222. type: integer
  17223. buybackwrpositionqty:
  17224. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  17225. type: number
  17226. closeinterest:
  17227. description: 已结利息 -> 已结费用
  17228. type: number
  17229. currisklevel:
  17230. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  17231. type: integer
  17232. deadline:
  17233. description: 截止日期(yyyyMMdd) -> 借款到期时间
  17234. type: string
  17235. deliverygoodscode:
  17236. description: 品种代码
  17237. type: string
  17238. deliverygoodsid:
  17239. description: 品种ID
  17240. type: integer
  17241. deliverygoodsname:
  17242. description: 品种名称
  17243. type: string
  17244. enumdicname:
  17245. description: 单位名称
  17246. type: string
  17247. financingdays:
  17248. description: 天数(天)
  17249. type: integer
  17250. initmargin:
  17251. description: 保证金 - [仓单回购]
  17252. type: number
  17253. interestamount:
  17254. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  17255. type: number
  17256. interestdebt:
  17257. description: 利息欠款(记录负数) -> 费用欠款
  17258. type: number
  17259. interestminlen:
  17260. description: 最小起息天数
  17261. type: integer
  17262. interestrate:
  17263. description: 利率
  17264. type: number
  17265. interestratemode:
  17266. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  17267. type: integer
  17268. interestsettlemode:
  17269. description: 结息方式 - 1:按日结息 3:按月结息
  17270. type: integer
  17271. interestsettlevalue:
  17272. description: 结息方式值
  17273. type: integer
  17274. isautoloan:
  17275. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  17276. type: integer
  17277. lastcloseinterestday:
  17278. description: 最近结息日(yyyyMMdd)
  17279. type: string
  17280. lenderamount:
  17281. description: 贷款金额 -> 借款金额
  17282. type: number
  17283. lenderuserid:
  17284. description: 贷款方用户ID -> 融出方用户ID
  17285. type: integer
  17286. lenderusername:
  17287. description: 融出方
  17288. type: string
  17289. marginratio:
  17290. description: 保证金比率质押率 - [仓单质押]
  17291. type: number
  17292. marketid:
  17293. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  17294. type: integer
  17295. minivalue:
  17296. description: 现货商品最小变动值
  17297. type: integer
  17298. optioncompare:
  17299. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17300. type: string
  17301. pricemove:
  17302. description: 估值升贴水值
  17303. type: number
  17304. productdetailid:
  17305. description: 产品组合ID
  17306. type: integer
  17307. productid:
  17308. description: 金融产品ID
  17309. type: integer
  17310. productname:
  17311. description: 产品名称
  17312. type: string
  17313. remainamount:
  17314. description: 合同剩余金额 -> 剩余金额
  17315. type: number
  17316. remainwrpositionqty:
  17317. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  17318. type: number
  17319. remark:
  17320. description: 备注
  17321. type: string
  17322. scfcontractid:
  17323. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  17324. type: string
  17325. scfcontractstatus:
  17326. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  17327. 9:违约结束 10:已注销 11:已关闭 99:未提交
  17328. type: integer
  17329. scfcontracttype:
  17330. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  17331. type: integer
  17332. startinterestday:
  17333. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  17334. type: string
  17335. totalinterest:
  17336. description: 已计利息 -> 已计费用
  17337. type: number
  17338. unpaidinterest:
  17339. description: 未结费用
  17340. type: number
  17341. updatetime:
  17342. description: 更新时间
  17343. type: string
  17344. warehouseid:
  17345. description: 仓库ID
  17346. type: integer
  17347. warehousename:
  17348. description: 仓库名称
  17349. type: string
  17350. wrfactortypeid:
  17351. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17352. type: string
  17353. wrfactortypename:
  17354. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17355. type: string
  17356. wrqty:
  17357. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  17358. type: number
  17359. wrstandardcode:
  17360. description: 现货商品代码
  17361. type: string
  17362. wrstandardid:
  17363. description: 现货商品ID
  17364. type: integer
  17365. wrstandardname:
  17366. description: 商品名称
  17367. type: string
  17368. wrtypename:
  17369. description: 商品
  17370. type: string
  17371. type: object
  17372. models.WrScfContractInterest:
  17373. properties:
  17374. closeinterest:
  17375. description: 已结利息
  17376. type: number
  17377. closeintereststatus:
  17378. description: 结息状态 - 1:未结 2:已结
  17379. type: integer
  17380. closetime:
  17381. description: 结息时间
  17382. type: string
  17383. closetradedate:
  17384. description: 结息交易日
  17385. type: string
  17386. creatorid:
  17387. description: 操作人ID
  17388. type: integer
  17389. dayrate:
  17390. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  17391. type: number
  17392. interest:
  17393. description: 利息
  17394. type: number
  17395. interestamount:
  17396. description: 计息金额
  17397. type: number
  17398. interestday:
  17399. description: 计息日(yyyyMMdd)
  17400. type: string
  17401. scfcontractid:
  17402. description: SCF合同ID
  17403. type: string
  17404. scfcontractinterestid:
  17405. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  17406. type: integer
  17407. updatetime:
  17408. description: 更新时间
  17409. type: string
  17410. type: object
  17411. models.WrSearchUser:
  17412. properties:
  17413. userid:
  17414. description: 用户ID
  17415. type: integer
  17416. username:
  17417. description: 用户名称(已脱敏)
  17418. type: string
  17419. username2:
  17420. description: 用户名称(未脱敏)
  17421. type: string
  17422. usertype:
  17423. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  17424. type: integer
  17425. required:
  17426. - username
  17427. type: object
  17428. models.WrSiteColumnDetail:
  17429. properties:
  17430. brief:
  17431. description: 简介
  17432. type: string
  17433. context:
  17434. description: 内容
  17435. type: string
  17436. coverimage:
  17437. description: 封面图片
  17438. type: string
  17439. creaedate:
  17440. description: 创建时间
  17441. type: string
  17442. id:
  17443. description: ID(SEQ_SITE_COLUMNDETAIL)
  17444. type: integer
  17445. istop:
  17446. description: 是否置顶 - 0:不置 1:置顶
  17447. type: integer
  17448. publishdate:
  17449. description: 发布日期
  17450. type: string
  17451. title:
  17452. description: 标题
  17453. type: string
  17454. updatedate:
  17455. description: 修改时间
  17456. type: string
  17457. type: object
  17458. models.WrSpecialMatchOrder:
  17459. properties:
  17460. amount:
  17461. description: 金额 = 数量 * 价格
  17462. type: number
  17463. buyorsell:
  17464. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  17465. type: integer
  17466. cancelqty:
  17467. description: 撤销数量
  17468. type: number
  17469. deliverygoodscode:
  17470. description: 品种代码
  17471. type: string
  17472. deliverygoodsid:
  17473. description: 品种ID
  17474. type: integer
  17475. deliverygoodsname:
  17476. description: 品种名称
  17477. type: string
  17478. enumdicname:
  17479. description: 单位名称
  17480. type: string
  17481. fixedprice:
  17482. description: 固定价格(价格)
  17483. type: number
  17484. haswr:
  17485. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  17486. type: integer
  17487. isspecified:
  17488. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  17489. type: integer
  17490. marketid:
  17491. description: 市场ID
  17492. type: integer
  17493. matchuserid:
  17494. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  17495. type: integer
  17496. matchusername:
  17497. description: 指定方
  17498. type: string
  17499. minivalue:
  17500. description: 现货商品最小变动值
  17501. type: integer
  17502. optioncompare:
  17503. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17504. type: string
  17505. orderqty:
  17506. description: 委托数量
  17507. type: number
  17508. ordertime:
  17509. description: 委托时间
  17510. type: string
  17511. pricemove:
  17512. description: 升贴水(浮动价时填写) - [挂牌]
  17513. type: number
  17514. tradedate:
  17515. description: 交易日(yyyyMMdd)
  17516. type: string
  17517. tradeprice:
  17518. description: 成交价格
  17519. type: number
  17520. tradeqty:
  17521. description: 成交数量
  17522. type: number
  17523. userid:
  17524. description: 用户ID
  17525. type: integer
  17526. username:
  17527. description: 发起方
  17528. type: string
  17529. warehouseid:
  17530. description: 仓库ID
  17531. type: integer
  17532. warehousename:
  17533. description: 仓库名称
  17534. type: string
  17535. wrfactortypeid:
  17536. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17537. type: string
  17538. wrfactortypename:
  17539. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17540. type: string
  17541. wrpricetype:
  17542. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  17543. type: integer
  17544. wrstandardcode:
  17545. description: 现货商品代码
  17546. type: string
  17547. wrstandardid:
  17548. description: 现货商品ID
  17549. type: integer
  17550. wrstandardname:
  17551. description: 商品名称
  17552. type: string
  17553. wrtradeorderid:
  17554. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  17555. type: string
  17556. wrtradeorderstatus:
  17557. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  17558. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  17559. type: integer
  17560. wrtradetype:
  17561. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  17562. type: integer
  17563. wrtypename:
  17564. description: 商品
  17565. type: string
  17566. type: object
  17567. models.WrSpotGroupTradeSum:
  17568. properties:
  17569. deliverygoodscode:
  17570. description: 现货品种代码
  17571. type: string
  17572. deliverygoodsid:
  17573. description: 现货品种ID(SEQ_DELIVERYGOODS)
  17574. type: integer
  17575. deliverygoodsname:
  17576. description: 现货品种名称
  17577. type: string
  17578. lastavgprice:
  17579. description: 上上个交易日价格(前2天价格)
  17580. type: string
  17581. lastreckondate:
  17582. description: 上上个交易日(前2天交易日)
  17583. type: string
  17584. reckondate:
  17585. description: 上个交易日(前1天交易日)
  17586. type: string
  17587. todayavgprice:
  17588. description: 上个交易日价格(前1天价格)
  17589. type: string
  17590. updown:
  17591. description: 涨跌
  17592. type: string
  17593. updownratio:
  17594. description: 涨幅(已格式化, 直接显示即可)
  17595. type: string
  17596. type: object
  17597. models.WrSpotGroupTradeSumDetail:
  17598. properties:
  17599. deliverygoodsid:
  17600. description: 现货商品id
  17601. type: integer
  17602. price:
  17603. description: 价格
  17604. type: number
  17605. reckondate:
  17606. description: 日期(yyymmdd, 如:20211031)
  17607. type: string
  17608. type: object
  17609. models.WrSpotGroupTradeSumEx:
  17610. properties:
  17611. lst:
  17612. description: 指数列表
  17613. items:
  17614. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  17615. type: array
  17616. prereckondate:
  17617. description: 上上个交易日(yyymmdd)
  17618. type: string
  17619. reckondate:
  17620. description: 上个交易日(yyyymmdd)
  17621. type: string
  17622. type: object
  17623. models.WrStandardFactoryItem:
  17624. properties:
  17625. dgfactoryitemid:
  17626. description: 选择项id
  17627. type: integer
  17628. dgfactoryitemvalue:
  17629. description: 要素项值
  17630. type: string
  17631. warehouseid:
  17632. description: 仓库id
  17633. type: integer
  17634. type: object
  17635. models.WrStandardFactoryItemEx:
  17636. properties:
  17637. dgfactoryitemtypeid:
  17638. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  17639. type: integer
  17640. itemlst:
  17641. description: 要素项列表
  17642. items:
  17643. $ref: '#/definitions/models.WrStandardFactoryItem'
  17644. type: array
  17645. itemtypename:
  17646. description: 要素项类型名称
  17647. type: string
  17648. wrstandardid:
  17649. description: 品类
  17650. type: integer
  17651. type: object
  17652. models.WrTradeDetail:
  17653. properties:
  17654. accountid:
  17655. description: 资金账号
  17656. type: integer
  17657. bannerpicurl:
  17658. description: Banner图
  17659. type: string
  17660. begindate:
  17661. description: 开始交易日(yyyymmdd)
  17662. type: string
  17663. buyorsell:
  17664. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  17665. type: integer
  17666. chargevalue:
  17667. description: 手续费
  17668. type: number
  17669. deliverygoodscode:
  17670. description: 品种代码
  17671. type: string
  17672. deliverygoodsid:
  17673. description: 品种ID
  17674. type: integer
  17675. deliverygoodsname:
  17676. description: 品种名称
  17677. type: string
  17678. deliverymonth:
  17679. description: 交收月
  17680. type: string
  17681. enddate:
  17682. description: 结束交易日(yyyymmdd)
  17683. type: string
  17684. enumdicname:
  17685. description: 单位名称
  17686. type: string
  17687. haswr:
  17688. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  17689. type: integer
  17690. marketid:
  17691. description: 市场ID
  17692. type: integer
  17693. matchaccountid:
  17694. description: 对手账号
  17695. type: integer
  17696. matchusername:
  17697. description: 对手方
  17698. type: string
  17699. minivalue:
  17700. description: 现货商品最小变动值
  17701. type: integer
  17702. optioncompare:
  17703. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17704. type: string
  17705. thumurls:
  17706. description: 缩略图
  17707. type: string
  17708. tradedate:
  17709. description: 交易日(yyyyMMdd)
  17710. type: string
  17711. tradeprice:
  17712. description: 成交价格
  17713. type: number
  17714. tradeqty:
  17715. description: 成交数量
  17716. type: number
  17717. tradetime:
  17718. description: 成交时间
  17719. type: string
  17720. userid:
  17721. description: 用户ID
  17722. type: integer
  17723. warehouseid:
  17724. description: 仓库ID
  17725. type: integer
  17726. warehousename:
  17727. description: 仓库名称
  17728. type: string
  17729. wrfactortypeid:
  17730. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17731. type: string
  17732. wrfactortypename:
  17733. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17734. type: string
  17735. wrstandardcode:
  17736. description: 现货商品代码
  17737. type: string
  17738. wrstandardid:
  17739. description: 现货商品ID
  17740. type: integer
  17741. wrstandardname:
  17742. description: 商品名称
  17743. type: string
  17744. wrtradedetailid:
  17745. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  17746. type: string
  17747. wrtradetype:
  17748. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  17749. type: integer
  17750. wrtypename:
  17751. description: 商品
  17752. type: string
  17753. type: object
  17754. models.WrTradeOrderDetail:
  17755. properties:
  17756. buyorsell:
  17757. description: 买卖方向 0-买 1-卖
  17758. type: integer
  17759. goodsid:
  17760. description: 商品id
  17761. type: integer
  17762. orderid:
  17763. description: 委托单号
  17764. type: string
  17765. orderprice:
  17766. description: 委托价格
  17767. type: number
  17768. orderqty:
  17769. description: 委托数量
  17770. type: integer
  17771. userid:
  17772. description: 用户id
  17773. type: integer
  17774. username:
  17775. description: 用户名称(已脱敏)
  17776. type: string
  17777. type: object
  17778. models.WrTypeItem:
  17779. properties:
  17780. name:
  17781. description: 名称
  17782. type: string
  17783. value:
  17784. description: 值
  17785. type: string
  17786. type: object
  17787. models.WrUserFriend:
  17788. properties:
  17789. friendname:
  17790. description: 朋友名称(已脱敏)
  17791. type: string
  17792. frienduserid:
  17793. description: 朋友id
  17794. type: integer
  17795. isfriend:
  17796. description: 是否好友 0-不是 1-是
  17797. type: integer
  17798. userid:
  17799. description: 用户id
  17800. type: integer
  17801. type: object
  17802. models.WrUserReceiptInfo:
  17803. properties:
  17804. address:
  17805. description: 地址[发票类型:企业]
  17806. type: string
  17807. autoid:
  17808. description: AutoID
  17809. type: integer
  17810. contactinfo:
  17811. description: 联系方式
  17812. type: string
  17813. idnum:
  17814. description: 身份证号码[发票类型:个人]
  17815. type: string
  17816. isdefault:
  17817. description: 是否默认地址 - 0:否 1:是
  17818. type: integer
  17819. receiptaccount:
  17820. description: 发票帐号[发票类型:企业]
  17821. type: string
  17822. receiptbank:
  17823. description: 发票开户行[发票类型:企业]
  17824. type: string
  17825. receipttype:
  17826. description: 发票类型 - 1:个人 2:企业
  17827. type: integer
  17828. taxpayerid:
  17829. description: 纳税人识别号
  17830. type: string
  17831. userid:
  17832. description: 用户ID
  17833. type: integer
  17834. username:
  17835. description: 户名(个人姓名或企业名称)
  17836. type: string
  17837. type: object
  17838. models.XHBRAND:
  17839. properties:
  17840. brandid:
  17841. description: 品牌id
  17842. type: integer
  17843. brandname:
  17844. description: 品牌名称
  17845. type: string
  17846. isvalid:
  17847. description: 是否有效 0-无效 1-有效
  17848. type: integer
  17849. type: object
  17850. models.XHDeliveryGoods:
  17851. properties:
  17852. areauserid:
  17853. description: 所属机构
  17854. type: integer
  17855. bdlst:
  17856. description: 品牌列表
  17857. items:
  17858. $ref: '#/definitions/models.XHBRAND'
  17859. type: array
  17860. deliverygoodscode:
  17861. description: 现货品种代码
  17862. type: string
  17863. deliverygoodsid:
  17864. description: 现货品种ID(SEQ_DELIVERYGOODS)
  17865. type: integer
  17866. deliverygoodsname:
  17867. description: 现货品种名称
  17868. type: string
  17869. dgstatus:
  17870. description: 品种状态 - 作废 - 0:未激活 1:正常
  17871. type: integer
  17872. filterSubEmpty:
  17873. description: 过滤下级为空的
  17874. type: integer
  17875. isvalid:
  17876. description: 是否有效 - 0:无效 1:有效
  17877. type: integer
  17878. remark:
  17879. description: 备注
  17880. type: string
  17881. unitid:
  17882. description: 单位id(目前看,数据库中是空值)
  17883. type: integer
  17884. wdlst:
  17885. description: 品类(现货商品)列表
  17886. items:
  17887. $ref: '#/definitions/models.XHWrstandard'
  17888. type: array
  17889. type: object
  17890. models.XHMiddleGoods:
  17891. properties:
  17892. GPLST:
  17893. description: 期货品种列表
  17894. items:
  17895. $ref: '#/definitions/models.TBGoodsGroup'
  17896. type: array
  17897. convertratio:
  17898. description: 拆算系数
  17899. type: number
  17900. costratio:
  17901. description: 成本权重
  17902. type: number
  17903. deliverygoodsid:
  17904. description: 现货商品id
  17905. type: integer
  17906. enumdicname:
  17907. description: 单位名称
  17908. type: string
  17909. middlegoodscode:
  17910. description: 套保品种代码
  17911. type: string
  17912. middlegoodsid:
  17913. description: 套保品种id
  17914. type: integer
  17915. middlegoodsname:
  17916. description: 套保品种名称
  17917. type: string
  17918. unitid:
  17919. description: 单位id
  17920. type: integer
  17921. type: object
  17922. models.XHWrstandard:
  17923. properties:
  17924. bannerpicurl:
  17925. description: banner图
  17926. type: string
  17927. deliverygoodsid:
  17928. description: 品种ID
  17929. type: integer
  17930. enumdicname:
  17931. description: 单位名称
  17932. type: string
  17933. mglst:
  17934. description: 套保品列表
  17935. items:
  17936. $ref: '#/definitions/models.XHMiddleGoods'
  17937. type: array
  17938. pictureurls:
  17939. description: 详情图片(逗号分隔)
  17940. type: string
  17941. thumurls:
  17942. description: 缩略图片(1:1)(逗号分隔)
  17943. type: string
  17944. unitid:
  17945. description: 单位id
  17946. type: integer
  17947. vatrate:
  17948. description: 增值税率
  17949. type: number
  17950. wrstandardcode:
  17951. description: 现货商品代码
  17952. type: string
  17953. wrstandardid:
  17954. description: 现货商品ID(SEQ_WRSTANDARD)
  17955. type: integer
  17956. wrstandardname:
  17957. description: 现货商品名称
  17958. type: string
  17959. type: object
  17960. order.QueryHisTradeDetailRsp:
  17961. properties:
  17962. accountid:
  17963. description: 账户ID[报价币种]
  17964. type: integer
  17965. advanceratio:
  17966. description: 首付比率
  17967. type: number
  17968. buildtype:
  17969. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  17970. type: integer
  17971. buyorsell:
  17972. description: 方向 - 0:买 1:卖
  17973. type: integer
  17974. charge:
  17975. description: 手续费
  17976. type: number
  17977. closecharge:
  17978. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17979. type: number
  17980. closeexchagechargevalue:
  17981. description: 平仓交易所手续费设置值
  17982. type: number
  17983. closefeealgorithm:
  17984. description: 平仓手续费收取方式 1:比率 2:固定
  17985. type: integer
  17986. closememberchargevalue:
  17987. description: 平仓会员手续费设置值
  17988. type: number
  17989. closepl:
  17990. description: 平仓盈亏
  17991. type: number
  17992. closepl2:
  17993. description: 平仓盈亏[逐笔]
  17994. type: number
  17995. closeqty:
  17996. description: 平仓数量(先建后平操作 需要记录)
  17997. type: number
  17998. creditamount:
  17999. description: 授信金额
  18000. type: number
  18001. decimalplace:
  18002. description: 商品报价小数位
  18003. type: integer
  18004. enumdicname:
  18005. description: 单位名称
  18006. type: string
  18007. gcaccountid:
  18008. description: 账户ID[合约币种]
  18009. type: integer
  18010. goodscode:
  18011. description: 商品代码
  18012. type: string
  18013. goodsid:
  18014. description: 商品ID
  18015. type: integer
  18016. goodsname:
  18017. description: 商品名称
  18018. type: string
  18019. goodunitid:
  18020. description: 商品单位id
  18021. type: integer
  18022. histradedate:
  18023. description: 历史交易日
  18024. type: string
  18025. intclosepl:
  18026. description: 整型盈亏(用于交易结算试算平衡-收益权)
  18027. type: integer
  18028. isconfirmexercise:
  18029. description: 是否确认行权- 0:否 1:是
  18030. type: integer
  18031. ismain:
  18032. description: 是否主单 - 0:不是 1:是
  18033. type: integer
  18034. ispreexercise:
  18035. description: 是否预申报- 0:否 1:是
  18036. type: integer
  18037. isreckoned:
  18038. description: 是否结算 - 0:未结算 1:已结算
  18039. type: integer
  18040. isvaliddata:
  18041. description: 是否有效 - 0:无效 1:有效
  18042. type: integer
  18043. listingselecttype:
  18044. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  18045. type: integer
  18046. marketid:
  18047. description: 市场ID
  18048. type: integer
  18049. marketname:
  18050. description: 市场名称
  18051. type: string
  18052. matchaccountid:
  18053. description: 对手账号id
  18054. type: integer
  18055. memberuserid:
  18056. description: 会员id 个人投资者 需要填写
  18057. type: integer
  18058. opencharge:
  18059. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  18060. type: number
  18061. openexchagechargevalue:
  18062. description: 建仓交易所手续费设置值
  18063. type: number
  18064. openfeealgorithm:
  18065. description: 建仓手续费收取方式 1:比率 2:固定
  18066. type: integer
  18067. openmemberchargevalue:
  18068. description: 建仓会员手续费设置值
  18069. type: number
  18070. openqty:
  18071. description: 开仓数量(先建后平操作 需要记录)
  18072. type: number
  18073. optiontype:
  18074. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  18075. type: integer
  18076. orderid:
  18077. description: 委托单号
  18078. type: string
  18079. payamount:
  18080. description: 支付金额(付款金额)
  18081. type: number
  18082. performanceplanid:
  18083. description: 履约计划ID[期权]
  18084. type: integer
  18085. performancestatus:
  18086. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  18087. type: integer
  18088. preexerciseprice:
  18089. description: 预申报价格
  18090. type: number
  18091. premium:
  18092. description: 权利金 - [持仓单的权利金]
  18093. type: number
  18094. qtydecimalplace:
  18095. description: 商品报价小数位
  18096. type: integer
  18097. recvamount:
  18098. description: 到账金额 = 成交金额 - 手续费
  18099. type: number
  18100. relatedouttradeid:
  18101. description: 关联外部成交单ID
  18102. type: integer
  18103. status:
  18104. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  18105. type: integer
  18106. totalamount:
  18107. description: 订单总额 = 成交金额 + 手续费
  18108. type: number
  18109. tradeamount:
  18110. description: 成交金额[账户币种,用于所有权]
  18111. type: number
  18112. tradedate:
  18113. description: 交易日(yyyyMMdd)
  18114. type: string
  18115. tradeid:
  18116. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18117. type: string
  18118. trademode:
  18119. description: 交易模式
  18120. type: integer
  18121. tradeprice:
  18122. description: 成交价格
  18123. type: number
  18124. tradeproperty:
  18125. description: 交易属性
  18126. type: integer
  18127. tradeqty:
  18128. description: 成交数量
  18129. type: number
  18130. tradetime:
  18131. description: 成交时间
  18132. type: string
  18133. tradetype:
  18134. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  18135. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  18136. type: integer
  18137. required:
  18138. - accountid
  18139. - buyorsell
  18140. - goodsid
  18141. - histradedate
  18142. - marketid
  18143. - memberuserid
  18144. - orderid
  18145. - tradeamount
  18146. - tradedate
  18147. - tradeid
  18148. - tradeprice
  18149. - tradeqty
  18150. - tradetime
  18151. type: object
  18152. order.QueryHisTradeOrderDetailRsp:
  18153. properties:
  18154. accountid:
  18155. description: 账户ID[报价币种]
  18156. type: integer
  18157. buildtype:
  18158. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  18159. type: integer
  18160. buyorsell:
  18161. description: 买卖 - 0:买 1:卖
  18162. type: integer
  18163. cancelorderid:
  18164. description: 撤单单号(撤单时填写)
  18165. type: string
  18166. cancelqty:
  18167. description: 撤单数量
  18168. type: number
  18169. clientordertime:
  18170. description: 客户端委托时间
  18171. type: string
  18172. clientticket:
  18173. description: 客户端流水号
  18174. type: string
  18175. clienttype:
  18176. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  18177. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  18178. type: integer
  18179. closeexchagechargevalue:
  18180. description: 平仓交易所手续费设置值
  18181. type: number
  18182. closefeealgorithm:
  18183. description: 平仓手续费收取方式 1:比率 2:固定
  18184. type: integer
  18185. closefreezecharge:
  18186. description: 平仓冻结手续费(先建后平操作,需要记录)
  18187. type: number
  18188. closememberchargevalue:
  18189. description: 平仓会员手续费设置值
  18190. type: number
  18191. closeqty:
  18192. description: 平仓数量(先建后平操作 需要记录)
  18193. type: number
  18194. closetradeqty:
  18195. description: 平仓成交数量(先建后平操作,需要记录)
  18196. type: number
  18197. closeunfreezecharge:
  18198. description: 平仓解冻手续费(先建后平操作,需要记录)
  18199. type: number
  18200. decimalplace:
  18201. description: 商品报价小数位
  18202. type: integer
  18203. delistingtype:
  18204. description: 摘牌类型 - 1:价格最优 2:点选成交
  18205. type: integer
  18206. enumdicname:
  18207. description: 单位名称
  18208. type: string
  18209. freezecharge:
  18210. description: 冻结手续费
  18211. type: number
  18212. freezemargin:
  18213. description: 冻结保证金(冻结交易金额)
  18214. type: number
  18215. gcaccountid:
  18216. description: 账户ID[合约币种]
  18217. type: integer
  18218. goodscode:
  18219. description: 商品代码
  18220. type: string
  18221. goodsid:
  18222. description: 商品ID
  18223. type: integer
  18224. goodsname:
  18225. description: 商品名称
  18226. type: string
  18227. goodunitid:
  18228. description: 商品单位id
  18229. type: integer
  18230. histradedate:
  18231. description: 历史交易日
  18232. type: string
  18233. isconfirmexercise:
  18234. description: 是否确认行权- 0:否 1:是
  18235. type: integer
  18236. ispreexercise:
  18237. description: 是否预申报- 0:否 1:是
  18238. type: integer
  18239. isvaliddata:
  18240. description: 是否有效 - 0:无效 1:有效
  18241. type: integer
  18242. listingselecttype:
  18243. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  18244. type: integer
  18245. marginalgorithm:
  18246. description: 保证金收取方式 1:比率 2:固定
  18247. type: integer
  18248. marginvalue:
  18249. description: 即市保证金设置值
  18250. type: number
  18251. marketid:
  18252. description: 市场ID
  18253. type: integer
  18254. marketmaxsub:
  18255. description: 市价最大偏移范围
  18256. type: number
  18257. marketname:
  18258. description: 市场名称
  18259. type: string
  18260. memberuserid:
  18261. description: 所属会员UserID
  18262. type: integer
  18263. openexchagechargevalue:
  18264. description: 建仓交易所手续费设置值
  18265. type: number
  18266. openfeealgorithm:
  18267. description: 建仓手续费收取方式 1:比率 2:固定
  18268. type: integer
  18269. openfreezecharge:
  18270. description: 开仓冻结手续费(先建后平操作,需要记录)
  18271. type: number
  18272. openmemberchargevalue:
  18273. description: 建仓会员手续费设置值
  18274. type: number
  18275. openqty:
  18276. description: 开仓数量(先建后平操作,需要记录)
  18277. type: number
  18278. opentradeqty:
  18279. description: 开仓成交数量(先建后平操作,需要记录)
  18280. type: number
  18281. openunfreezecharge:
  18282. description: 开仓解冻手续费(先建后平操作,需要记录)
  18283. type: number
  18284. operatetype:
  18285. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  18286. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  18287. 15:管理端协议转让
  18288. type: integer
  18289. operatorid:
  18290. description: 登录账号(LoginID)
  18291. type: integer
  18292. optiontype:
  18293. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  18294. type: integer
  18295. orderid:
  18296. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18297. type: string
  18298. orderprice:
  18299. description: 委托价格
  18300. type: number
  18301. orderqty:
  18302. description: 委托数量
  18303. type: number
  18304. ordersrc:
  18305. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  18306. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  18307. type: integer
  18308. orderstatus:
  18309. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  18310. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  18311. 16:成交失败违约(荷兰式竞拍专用)
  18312. type: integer
  18313. ordertime:
  18314. description: 委托时间
  18315. type: string
  18316. preexerciseprice:
  18317. description: 预申报价格
  18318. type: number
  18319. premium:
  18320. description: 权利金
  18321. type: number
  18322. preorderid:
  18323. description: 关联预埋单号(止盈止损单时填写)
  18324. type: string
  18325. pricemode:
  18326. description: '取价方式 - 1:市价 2: 限价'
  18327. type: integer
  18328. qtydecimalplace:
  18329. description: 成交量小数位
  18330. type: integer
  18331. quoteid:
  18332. description: 报价单ID
  18333. type: integer
  18334. relatedid:
  18335. description: 关联单号(交割单)
  18336. type: string
  18337. retcode:
  18338. description: 错误代码
  18339. type: integer
  18340. sessionid:
  18341. description: 会话ID
  18342. type: integer
  18343. tradedate:
  18344. description: 交易日(yyyyMMdd)
  18345. type: string
  18346. trademode:
  18347. description: 交易模式
  18348. type: integer
  18349. tradeproperty:
  18350. description: 交易属性
  18351. type: integer
  18352. tradeqty:
  18353. description: 成交数量
  18354. type: number
  18355. unfreezecharge:
  18356. description: 解冻手续费
  18357. type: number
  18358. unfreezemargin:
  18359. description: 解冻保证金
  18360. type: number
  18361. updatetime:
  18362. description: 更新时间
  18363. type: string
  18364. uuid:
  18365. description: 发起端唯一id
  18366. type: string
  18367. validtime:
  18368. description: 有效期限
  18369. type: string
  18370. validtype:
  18371. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  18372. type: integer
  18373. volumetype:
  18374. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  18375. type: integer
  18376. required:
  18377. - accountid
  18378. - buildtype
  18379. - buyorsell
  18380. - goodsid
  18381. - histradedate
  18382. - marketid
  18383. - memberuserid
  18384. - operatetype
  18385. - orderid
  18386. - orderqty
  18387. - ordertime
  18388. - pricemode
  18389. - tradedate
  18390. - validtype
  18391. type: object
  18392. order.QueryTradeDetailRsp:
  18393. properties:
  18394. accountid:
  18395. description: 账户ID[报价币种]
  18396. type: integer
  18397. advanceratio:
  18398. description: 首付比率
  18399. type: number
  18400. buildtype:
  18401. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  18402. type: integer
  18403. buyorsell:
  18404. description: 方向 - 0:买 1:卖
  18405. type: integer
  18406. charge:
  18407. description: 手续费
  18408. type: number
  18409. closecharge:
  18410. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  18411. type: number
  18412. closeexchagechargevalue:
  18413. description: 平仓交易所手续费设置值
  18414. type: number
  18415. closefeealgorithm:
  18416. description: 平仓手续费收取方式 1:比率 2:固定
  18417. type: integer
  18418. closememberchargevalue:
  18419. description: 平仓会员手续费设置值
  18420. type: number
  18421. closepl:
  18422. description: 平仓盈亏
  18423. type: number
  18424. closepl2:
  18425. description: 平仓盈亏[逐笔]
  18426. type: number
  18427. closeqty:
  18428. description: 平仓数量(先建后平操作 需要记录)
  18429. type: number
  18430. creditamount:
  18431. description: 授信金额
  18432. type: number
  18433. decimalplace:
  18434. description: 商品报价小数位
  18435. type: integer
  18436. enumdicname:
  18437. description: 单位名称
  18438. type: string
  18439. gcaccountid:
  18440. description: 账户ID[合约币种]
  18441. type: integer
  18442. goodscode:
  18443. description: 商品代码
  18444. type: string
  18445. goodsid:
  18446. description: 商品ID
  18447. type: integer
  18448. goodsname:
  18449. description: 商品名称
  18450. type: string
  18451. goodunitid:
  18452. description: 商品单位id
  18453. type: integer
  18454. intclosepl:
  18455. description: 整型盈亏(用于交易结算试算平衡-收益权)
  18456. type: integer
  18457. isconfirmexercise:
  18458. description: 是否确认行权- 0:否 1:是
  18459. type: integer
  18460. ismain:
  18461. description: 是否主单 - 0:不是 1:是
  18462. type: integer
  18463. ispreexercise:
  18464. description: 是否预申报- 0:否 1:是
  18465. type: integer
  18466. isreckoned:
  18467. description: 是否结算 - 0:未结算 1:已结算
  18468. type: integer
  18469. listingselecttype:
  18470. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  18471. type: integer
  18472. marketid:
  18473. description: 市场ID
  18474. type: integer
  18475. marketname:
  18476. description: 市场名称
  18477. type: string
  18478. matchaccountid:
  18479. description: 对手账号id
  18480. type: integer
  18481. memberuserid:
  18482. description: 会员id 个人投资者 需要填写
  18483. type: integer
  18484. opencharge:
  18485. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  18486. type: number
  18487. openexchagechargevalue:
  18488. description: 建仓交易所手续费设置值
  18489. type: number
  18490. openfeealgorithm:
  18491. description: 建仓手续费收取方式 1:比率 2:固定
  18492. type: integer
  18493. openmemberchargevalue:
  18494. description: 建仓会员手续费设置值
  18495. type: number
  18496. openqty:
  18497. description: 开仓数量(先建后平操作 需要记录)
  18498. type: number
  18499. optiontype:
  18500. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  18501. type: integer
  18502. orderid:
  18503. description: 委托单号
  18504. type: string
  18505. payamount:
  18506. description: 支付金额(付款金额)
  18507. type: number
  18508. performanceplanid:
  18509. description: 履约计划ID[期权]
  18510. type: integer
  18511. performancestatus:
  18512. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  18513. type: integer
  18514. preexerciseprice:
  18515. description: 预申报价格
  18516. type: number
  18517. premium:
  18518. description: 权利金 - [持仓单的权利金]
  18519. type: number
  18520. qtydecimalplace:
  18521. description: 商品报价小数位
  18522. type: integer
  18523. recvamount:
  18524. description: 到账金额 = 成交金额 - 手续费
  18525. type: number
  18526. relatedouttradeid:
  18527. description: 关联外部成交单ID
  18528. type: integer
  18529. status:
  18530. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  18531. type: integer
  18532. totalamount:
  18533. description: 订单总额 = 成交金额 + 手续费
  18534. type: number
  18535. tradeamount:
  18536. description: 成交金额[账户币种,用于所有权]
  18537. type: number
  18538. tradedate:
  18539. description: 交易日(yyyyMMdd)
  18540. type: string
  18541. tradeid:
  18542. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18543. type: string
  18544. trademode:
  18545. description: 交易模式
  18546. type: integer
  18547. tradeprice:
  18548. description: 成交价格
  18549. type: number
  18550. tradeproperty:
  18551. description: 交易属性
  18552. type: integer
  18553. tradeqty:
  18554. description: 成交数量
  18555. type: number
  18556. tradetime:
  18557. description: 成交时间
  18558. type: string
  18559. tradetype:
  18560. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  18561. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  18562. type: integer
  18563. required:
  18564. - accountid
  18565. - buyorsell
  18566. - goodsid
  18567. - marketid
  18568. - memberuserid
  18569. - orderid
  18570. - tradeamount
  18571. - tradedate
  18572. - tradeid
  18573. - tradeprice
  18574. - tradeqty
  18575. - tradetime
  18576. type: object
  18577. order.QueryTradeOrderDetailRsp:
  18578. properties:
  18579. accountid:
  18580. description: 账户ID[报价币种]
  18581. type: integer
  18582. buildtype:
  18583. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  18584. type: integer
  18585. buyorsell:
  18586. description: 买卖 - 0:买 1:卖
  18587. type: integer
  18588. cancelorderid:
  18589. description: 撤单单号(撤单时填写)
  18590. type: string
  18591. cancelqty:
  18592. description: 撤单数量
  18593. type: number
  18594. clienttype:
  18595. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  18596. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  18597. type: integer
  18598. closefreezecharge:
  18599. description: 平仓冻结手续费(先建后平操作,需要记录)
  18600. type: number
  18601. closeqty:
  18602. description: 平仓数量(先建后平操作 需要记录)
  18603. type: number
  18604. closetradeqty:
  18605. description: 平仓成交数量(先建后平操作,需要记录)
  18606. type: number
  18607. closeunfreezecharge:
  18608. description: 平仓解冻手续费(先建后平操作,需要记录)
  18609. type: number
  18610. decimalplace:
  18611. description: 商品报价小数位
  18612. type: integer
  18613. delistingtype:
  18614. description: 摘牌类型 - 1:价格最优 2:点选成交
  18615. type: integer
  18616. enableqty:
  18617. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  18618. type: number
  18619. enumdicname:
  18620. description: 单位名称
  18621. type: string
  18622. freezecharge:
  18623. description: 冻结手续费
  18624. type: number
  18625. freezemargin:
  18626. description: 冻结保证金(冻结交易金额)
  18627. type: number
  18628. goodscode:
  18629. description: 商品代码
  18630. type: string
  18631. goodsid:
  18632. description: 商品ID
  18633. type: integer
  18634. goodsname:
  18635. description: 商品名称
  18636. type: string
  18637. goodunitid:
  18638. description: 商品单位id
  18639. type: integer
  18640. listingselecttype:
  18641. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  18642. type: integer
  18643. marketid:
  18644. description: 市场ID
  18645. type: integer
  18646. marketname:
  18647. description: 市场名称
  18648. type: string
  18649. openfreezecharge:
  18650. description: 开仓冻结手续费(先建后平操作,需要记录)
  18651. type: number
  18652. openqty:
  18653. description: 开仓数量(先建后平操作,需要记录)
  18654. type: number
  18655. opentradeqty:
  18656. description: 开仓成交数量(先建后平操作,需要记录)
  18657. type: number
  18658. openunfreezecharge:
  18659. description: 开仓解冻手续费(先建后平操作,需要记录)
  18660. type: number
  18661. operatetype:
  18662. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  18663. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  18664. 15:管理端协议转让
  18665. type: integer
  18666. operatorid:
  18667. description: 登录账号(LoginID)
  18668. type: integer
  18669. orderid:
  18670. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18671. type: string
  18672. orderprice:
  18673. description: 委托价格
  18674. type: number
  18675. orderqty:
  18676. description: 委托数量
  18677. type: number
  18678. ordersrc:
  18679. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  18680. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  18681. type: integer
  18682. orderstatus:
  18683. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  18684. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  18685. 16:成交失败违约(荷兰式竞拍专用)
  18686. type: integer
  18687. ordertime:
  18688. description: 委托时间
  18689. type: string
  18690. preorderid:
  18691. description: 关联预埋单号(止盈止损单时填写)
  18692. type: string
  18693. pricemode:
  18694. description: '取价方式 - 1:市价 2: 限价'
  18695. type: integer
  18696. qtydecimalplace:
  18697. description: 商品报价小数位
  18698. type: integer
  18699. relatedid:
  18700. description: 关联单号(交割单)
  18701. type: string
  18702. tradedate:
  18703. description: 交易日(yyyyMMdd)
  18704. type: string
  18705. trademode:
  18706. description: 交易模式
  18707. type: integer
  18708. tradeqty:
  18709. description: 成交数量
  18710. type: number
  18711. unfreezecharge:
  18712. description: 解冻手续费
  18713. type: number
  18714. unfreezemargin:
  18715. description: 解冻保证金
  18716. type: number
  18717. validtime:
  18718. description: 有效期限
  18719. type: string
  18720. validtype:
  18721. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  18722. type: integer
  18723. volumetype:
  18724. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  18725. type: integer
  18726. required:
  18727. - accountid
  18728. - buildtype
  18729. - buyorsell
  18730. - goodsid
  18731. - marketid
  18732. - operatetype
  18733. - orderqty
  18734. - ordertime
  18735. - pricemode
  18736. - tradedate
  18737. - validtype
  18738. type: object
  18739. order.QueryTradePositionRsp:
  18740. properties:
  18741. accountid:
  18742. description: 资金账户
  18743. type: integer
  18744. agreeunit:
  18745. description: 合约单位
  18746. type: number
  18747. averageprice:
  18748. description: 持仓均价
  18749. type: number
  18750. buyorsell:
  18751. description: 方向 - 0:买 1:卖
  18752. type: integer
  18753. closetotalqty:
  18754. description: 平仓总数量
  18755. type: number
  18756. curholderamount:
  18757. description: 当前持仓总金额[商品币种]
  18758. type: number
  18759. curpositionqty:
  18760. description: 当前持仓总数量
  18761. type: number
  18762. currencyid:
  18763. description: 报价货币ID
  18764. type: integer
  18765. curtdposition:
  18766. description: 期末今日头寸
  18767. type: number
  18768. decimalplace:
  18769. description: 报价小数位
  18770. type: integer
  18771. enableqty:
  18772. description: 可用量
  18773. type: number
  18774. fretdposition:
  18775. description: 冻结今日头寸
  18776. type: number
  18777. frozenqty:
  18778. description: 持仓冻结数量
  18779. type: number
  18780. goodscode:
  18781. description: 商品代码
  18782. type: string
  18783. goodsid:
  18784. description: 商品Id
  18785. type: integer
  18786. goodsname:
  18787. description: 商品名称
  18788. type: string
  18789. goodunit:
  18790. description: 报价单位
  18791. type: string
  18792. goodunitid:
  18793. description: 报价单位ID
  18794. type: integer
  18795. holderamount:
  18796. description: 期初持仓总金额[商品币种]
  18797. type: number
  18798. lastprice:
  18799. description: 最新价
  18800. type: number
  18801. marketamount:
  18802. description: 市值
  18803. type: number
  18804. marketid:
  18805. description: 所属市场ID
  18806. type: integer
  18807. openreqqty:
  18808. description: 开仓申请数量(用于比较最大持仓数量)
  18809. type: number
  18810. opentotalqty:
  18811. description: 开仓总数量
  18812. type: number
  18813. otherfrozenqty:
  18814. description: 持仓其他冻结数量(交割冻结)
  18815. type: number
  18816. positionpl:
  18817. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  18818. * 合约单位
  18819. type: number
  18820. positionplrate:
  18821. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  18822. type: number
  18823. positionqty:
  18824. description: 期初持仓数量
  18825. type: number
  18826. qtydecimalplace:
  18827. description: 成交量小数位
  18828. type: integer
  18829. refgoodscode:
  18830. description: 参考商品代码
  18831. type: string
  18832. refgoodsid:
  18833. description: 参考商品ID
  18834. type: integer
  18835. tnqty:
  18836. description: T+N冻结总量
  18837. type: number
  18838. tnusedqty:
  18839. description: T+N使用量(可以使用T+N的冻结数量)
  18840. type: number
  18841. trademode:
  18842. description: 交易模式
  18843. type: integer
  18844. tradeproperty:
  18845. description: 交易属性
  18846. type: integer
  18847. usedmargin:
  18848. description: 占用保证金[商品币种]
  18849. type: number
  18850. required:
  18851. - goodsid
  18852. type: object
  18853. pb.GoodsMarginCfgStruct:
  18854. properties:
  18855. CustomerTypeID:
  18856. description: 投资者客户类型
  18857. type: integer
  18858. GoodsID:
  18859. description: 商品ID
  18860. type: integer
  18861. IsDefault:
  18862. description: 是否默认标志位
  18863. type: integer
  18864. LockMarginValue:
  18865. description: 锁仓保证金
  18866. type: number
  18867. MarginAlgorithm:
  18868. description: 保证金计算方式
  18869. type: integer
  18870. MarketMarginValue:
  18871. description: 即市保证金值
  18872. type: number
  18873. RealMarginAlgorithm:
  18874. description: 实付保证金计算方式
  18875. type: integer
  18876. RealMarginValue:
  18877. description: 实付比例
  18878. type: number
  18879. ReckonMarginValue:
  18880. description: 结算保证金值
  18881. type: number
  18882. type: object
  18883. quote.HistoryData:
  18884. properties:
  18885. c:
  18886. description: 收盘价
  18887. type: number
  18888. f:
  18889. description: 是否补充数据
  18890. type: boolean
  18891. h:
  18892. description: 最高价
  18893. type: number
  18894. hv:
  18895. description: 持仓量
  18896. type: integer
  18897. l:
  18898. description: 最低价
  18899. type: number
  18900. o:
  18901. description: 开盘价
  18902. type: number
  18903. s:
  18904. description: 结算价,日线周期(包括)以上才有
  18905. type: number
  18906. ts:
  18907. description: 时间
  18908. type: string
  18909. tt:
  18910. description: 总金额
  18911. type: number
  18912. tv:
  18913. description: 总量(成交量)
  18914. type: integer
  18915. type: object
  18916. quote.HistoryTikData:
  18917. properties:
  18918. AV:
  18919. description: 卖量
  18920. type: integer
  18921. Ask:
  18922. description: 卖价
  18923. type: number
  18924. BV:
  18925. description: 买量
  18926. type: integer
  18927. Bid:
  18928. description: 买价
  18929. type: number
  18930. HI:
  18931. description: 单笔持仓
  18932. type: integer
  18933. HV:
  18934. description: 持仓量
  18935. type: integer
  18936. PE:
  18937. description: 现价
  18938. type: number
  18939. TDR:
  18940. description: 交易方向,0:买 1:卖
  18941. type: integer
  18942. TK:
  18943. description: 交易类型
  18944. type: integer
  18945. TS:
  18946. description: 行情时间文本
  18947. type: string
  18948. TT:
  18949. description: 现金额
  18950. type: number
  18951. Vol:
  18952. description: 现量
  18953. type: integer
  18954. type: object
  18955. quote.QueryQuoteDayRsp:
  18956. properties:
  18957. ask:
  18958. description: 卖1
  18959. type: number
  18960. ask2:
  18961. description: 卖2
  18962. type: number
  18963. ask3:
  18964. description: 卖3
  18965. type: number
  18966. ask4:
  18967. description: 卖4
  18968. type: number
  18969. ask5:
  18970. description: 卖5
  18971. type: number
  18972. ask6:
  18973. description: 卖6
  18974. type: number
  18975. ask7:
  18976. description: 卖7
  18977. type: number
  18978. ask8:
  18979. description: 卖8
  18980. type: number
  18981. ask9:
  18982. description: 卖9
  18983. type: number
  18984. ask10:
  18985. description: 卖10
  18986. type: number
  18987. askorderid:
  18988. description: 卖单号1
  18989. type: integer
  18990. askorderid2:
  18991. description: 卖单号2
  18992. type: integer
  18993. askorderid3:
  18994. description: 卖单号3
  18995. type: integer
  18996. askorderid4:
  18997. description: 卖单号4
  18998. type: integer
  18999. askorderid5:
  19000. description: 卖单号5
  19001. type: integer
  19002. askordervolume:
  19003. description: 卖单量1
  19004. type: integer
  19005. askordervolume2:
  19006. description: 卖单量2
  19007. type: integer
  19008. askordervolume3:
  19009. description: 卖单量3
  19010. type: integer
  19011. askordervolume4:
  19012. description: 卖单量4
  19013. type: integer
  19014. askordervolume5:
  19015. description: 卖单量5
  19016. type: integer
  19017. askordervolume6:
  19018. description: 卖单量6
  19019. type: integer
  19020. askordervolume7:
  19021. description: 卖单量7
  19022. type: integer
  19023. askordervolume8:
  19024. description: 卖单量8
  19025. type: integer
  19026. askordervolume9:
  19027. description: 卖单量9
  19028. type: integer
  19029. askordervolume10:
  19030. description: 卖单量10
  19031. type: integer
  19032. askqueueinfo:
  19033. description: 大利市卖港股用
  19034. type: string
  19035. askvolume:
  19036. description: 卖量1
  19037. type: integer
  19038. askvolume2:
  19039. description: 卖量2
  19040. type: integer
  19041. askvolume3:
  19042. description: 卖量3
  19043. type: integer
  19044. askvolume4:
  19045. description: 卖量4
  19046. type: integer
  19047. askvolume5:
  19048. description: 卖量5
  19049. type: integer
  19050. askvolume6:
  19051. description: 卖量6
  19052. type: integer
  19053. askvolume7:
  19054. description: 卖量7
  19055. type: integer
  19056. askvolume8:
  19057. description: 卖量8
  19058. type: integer
  19059. askvolume9:
  19060. description: 卖量9
  19061. type: integer
  19062. askvolume10:
  19063. description: 卖量10
  19064. type: integer
  19065. averageprice:
  19066. description: 均价
  19067. type: number
  19068. bid:
  19069. description: 买1
  19070. type: number
  19071. bid2:
  19072. description: 买2
  19073. type: number
  19074. bid3:
  19075. description: 买3
  19076. type: number
  19077. bid4:
  19078. description: 买4
  19079. type: number
  19080. bid5:
  19081. description: 买5
  19082. type: number
  19083. bid6:
  19084. description: 买6
  19085. type: number
  19086. bid7:
  19087. description: 买7
  19088. type: number
  19089. bid8:
  19090. description: 买8
  19091. type: number
  19092. bid9:
  19093. description: 买9
  19094. type: number
  19095. bid10:
  19096. description: 买10
  19097. type: number
  19098. bidorderid:
  19099. description: 买单号1
  19100. type: integer
  19101. bidorderid2:
  19102. description: 买单号2
  19103. type: integer
  19104. bidorderid3:
  19105. description: 买单号3
  19106. type: integer
  19107. bidorderid4:
  19108. description: 买单号4
  19109. type: integer
  19110. bidorderid5:
  19111. description: 买单号5
  19112. type: integer
  19113. bidordervolume:
  19114. description: 买单量1
  19115. type: integer
  19116. bidordervolume2:
  19117. description: 买单量2
  19118. type: integer
  19119. bidordervolume3:
  19120. description: 买单量3
  19121. type: integer
  19122. bidordervolume4:
  19123. description: 买单量4
  19124. type: integer
  19125. bidordervolume5:
  19126. description: 买单量5
  19127. type: integer
  19128. bidordervolume6:
  19129. description: 买单量6
  19130. type: integer
  19131. bidordervolume7:
  19132. description: 买单量7
  19133. type: integer
  19134. bidordervolume8:
  19135. description: 买单量8
  19136. type: integer
  19137. bidordervolume9:
  19138. description: 买单量9
  19139. type: integer
  19140. bidordervolume10:
  19141. description: 买单量10
  19142. type: integer
  19143. bidqueueinfo:
  19144. description: 大利市买港股用
  19145. type: string
  19146. bidvolume:
  19147. description: 买量1
  19148. type: integer
  19149. bidvolume2:
  19150. description: 买量2
  19151. type: integer
  19152. bidvolume3:
  19153. description: 买量3
  19154. type: integer
  19155. bidvolume4:
  19156. description: 买量4
  19157. type: integer
  19158. bidvolume5:
  19159. description: 买量5
  19160. type: integer
  19161. bidvolume6:
  19162. description: 买量6
  19163. type: integer
  19164. bidvolume7:
  19165. description: 买量7
  19166. type: integer
  19167. bidvolume8:
  19168. description: 买量8
  19169. type: integer
  19170. bidvolume9:
  19171. description: 买量9
  19172. type: integer
  19173. bidvolume10:
  19174. description: 买量10
  19175. type: integer
  19176. calloptionpremiums:
  19177. description: 认购期权1
  19178. type: integer
  19179. calloptionpremiums2:
  19180. description: 认购期权2
  19181. type: integer
  19182. calloptionpremiums3:
  19183. description: 认购期权3
  19184. type: integer
  19185. calloptionpremiums4:
  19186. description: 认购期权4
  19187. type: integer
  19188. calloptionpremiums5:
  19189. description: 认购期权5
  19190. type: integer
  19191. cleartime:
  19192. description: 清盘时间
  19193. type: integer
  19194. exchangecode:
  19195. description: 交易所代码
  19196. type: integer
  19197. exchangedate:
  19198. description: 交易日
  19199. type: integer
  19200. goodscode:
  19201. description: 商品代码
  19202. type: string
  19203. grepmarketprice:
  19204. description: 暗盘价 港股专用
  19205. type: number
  19206. highest:
  19207. description: 最高价
  19208. type: number
  19209. holdincrement:
  19210. description: 单笔持仓
  19211. type: integer
  19212. holdvolume:
  19213. description: 持仓
  19214. type: integer
  19215. iep:
  19216. description: 平衡价 港股专用
  19217. type: number
  19218. iev:
  19219. description: 平衡量 港股专用
  19220. type: number
  19221. inventory:
  19222. description: 库存
  19223. type: integer
  19224. iscleared:
  19225. description: 是否清盘标志
  19226. type: integer
  19227. issettled:
  19228. description: 是否结算标志
  19229. type: integer
  19230. last:
  19231. description: 最新价
  19232. type: number
  19233. lastlot:
  19234. description: 最新成交手数
  19235. type: integer
  19236. lasttime:
  19237. description: 行情时间(只有现价变化行情时间才变化)
  19238. type: string
  19239. lastturnover:
  19240. description: 最新成交金额
  19241. type: number
  19242. lastvolume:
  19243. description: 最新成交量
  19244. type: integer
  19245. limitdown:
  19246. description: 跌停价
  19247. type: number
  19248. limitup:
  19249. description: 涨停价
  19250. type: number
  19251. lowest:
  19252. description: 最低价
  19253. type: number
  19254. nontotalholdervolume:
  19255. description: 非交易持仓量
  19256. type: integer
  19257. nontotallot:
  19258. description: 非交易总手数
  19259. type: integer
  19260. nontotalturnover:
  19261. description: 非交易总金额
  19262. type: integer
  19263. nontotalvolume:
  19264. description: 非交易总量
  19265. type: integer
  19266. opened:
  19267. description: 开盘价
  19268. type: number
  19269. opentime:
  19270. description: 开盘时间
  19271. type: string
  19272. orderid:
  19273. description: 序号
  19274. type: integer
  19275. preclose:
  19276. description: 昨收
  19277. type: number
  19278. preholdvolume:
  19279. description: 昨持仓
  19280. type: integer
  19281. presettle:
  19282. description: 昨结价
  19283. type: number
  19284. publictradetype:
  19285. description: 公共交易标志类型 港股专用
  19286. type: string
  19287. putoptionpremiums:
  19288. description: 认沽期权1
  19289. type: integer
  19290. putoptionpremiums2:
  19291. description: 认沽期权2
  19292. type: integer
  19293. putoptionpremiums3:
  19294. description: 认沽期权3
  19295. type: integer
  19296. putoptionpremiums4:
  19297. description: 认沽期权4
  19298. type: integer
  19299. putoptionpremiums5:
  19300. description: 认沽期权5
  19301. type: integer
  19302. settle:
  19303. description: 结算价
  19304. type: number
  19305. strikeprice:
  19306. description: 发行价
  19307. type: number
  19308. totalaskvolume:
  19309. description: 内盘
  19310. type: integer
  19311. totalbidvolume:
  19312. description: 外盘
  19313. type: integer
  19314. totallot:
  19315. description: 总手数
  19316. type: integer
  19317. totalturnover:
  19318. description: 总金额
  19319. type: number
  19320. totalvolume:
  19321. description: 总量
  19322. type: integer
  19323. utclasttime:
  19324. description: utc的行情时间
  19325. type: string
  19326. type: object
  19327. quote.QueryTSDataRsp:
  19328. properties:
  19329. Count:
  19330. description: 交易日应有数据个数
  19331. type: integer
  19332. decimalPlace:
  19333. description: 小数位
  19334. type: integer
  19335. endTime:
  19336. description: 结束时间
  19337. type: string
  19338. goodsCode:
  19339. description: 商品代码
  19340. type: string
  19341. historyDatas:
  19342. description: 历史数据
  19343. items:
  19344. $ref: '#/definitions/quote.HistoryData'
  19345. type: array
  19346. outGoodsCode:
  19347. description: 外部商品代码
  19348. type: string
  19349. preSettle:
  19350. description: 昨结价
  19351. type: number
  19352. runSteps:
  19353. description: 交易日开休市计划
  19354. items:
  19355. $ref: '#/definitions/quote.TSDataRunStep'
  19356. type: array
  19357. startTime:
  19358. description: 开始时间
  19359. type: string
  19360. tradeDate:
  19361. description: 交易日
  19362. type: string
  19363. type: object
  19364. quote.TSDataRunStep:
  19365. properties:
  19366. end:
  19367. description: 真实结束时间
  19368. type: string
  19369. endflag:
  19370. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  19371. type: integer
  19372. endtime:
  19373. description: 结束时间(HH:mm)
  19374. type: string
  19375. endweekday:
  19376. description: 结束周几
  19377. type: integer
  19378. groupid:
  19379. description: 分组ID
  19380. type: integer
  19381. runstep:
  19382. description: 运行阶段 - 2:连续交易
  19383. type: integer
  19384. sectionid:
  19385. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  19386. 结束时间=结算时间 结束周几=结算周几
  19387. type: integer
  19388. start:
  19389. description: 真实开始时间
  19390. type: string
  19391. startflag:
  19392. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  19393. type: integer
  19394. starttime:
  19395. description: 起始时间(HH:mm)
  19396. type: string
  19397. startweekday:
  19398. description: 起始周几
  19399. type: integer
  19400. tradeweekday:
  19401. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  19402. type: integer
  19403. type: object
  19404. szdz.QueryConvertLogRsp:
  19405. properties:
  19406. accountid:
  19407. description: 资金账户ID
  19408. type: integer
  19409. clientticket:
  19410. description: 客户端流水号
  19411. type: string
  19412. converttype:
  19413. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  19414. type: integer
  19415. createtime:
  19416. description: 记账时间
  19417. type: string
  19418. daymaxvalue:
  19419. description: 配置当日最大转入限制
  19420. type: number
  19421. daymaxvalue2:
  19422. description: 配置当日最大转入限制(转入)
  19423. type: number
  19424. goodscode:
  19425. description: 商品代码
  19426. type: string
  19427. goodsname:
  19428. description: 商品名称
  19429. type: string
  19430. handlestatus:
  19431. description: 处理状态
  19432. type: integer
  19433. innergoodsid:
  19434. description: 内部商品ID
  19435. type: integer
  19436. inratio:
  19437. description: 配置转入比值
  19438. type: integer
  19439. invalue:
  19440. description: 目标值
  19441. type: number
  19442. logid:
  19443. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  19444. type: integer
  19445. mobile:
  19446. description: 手机号码(加密存储)
  19447. type: string
  19448. outergoodscode:
  19449. description: 外部商品代码[JD\PD]
  19450. type: string
  19451. outratio:
  19452. description: 配置转出比值
  19453. type: integer
  19454. outvalue:
  19455. description: 源值
  19456. type: number
  19457. pddecimalplace:
  19458. description: PD小数位
  19459. type: integer
  19460. qty:
  19461. description: 数量
  19462. type: string
  19463. remark:
  19464. description: 备注
  19465. type: string
  19466. sessionid:
  19467. description: 会话ID
  19468. type: integer
  19469. timemaxvalue:
  19470. description: 配置单次最大转入限制
  19471. type: number
  19472. timemaxvalue2:
  19473. description: 配置单次最大转入限制(转入)
  19474. type: number
  19475. timeminvalue:
  19476. description: 配置单次最小数量限制
  19477. type: number
  19478. timeminvalue2:
  19479. description: 配置单次最小数量限制(转入)
  19480. type: number
  19481. tradedate:
  19482. description: 交易日(yyyyMMdd)
  19483. type: string
  19484. userid:
  19485. description: 用户ID
  19486. type: integer
  19487. required:
  19488. - logid
  19489. type: object
  19490. szdz.QueryGoodsPickupRsp:
  19491. properties:
  19492. accountid:
  19493. description: 账户ID
  19494. type: integer
  19495. address:
  19496. description: 提货人详细地址
  19497. type: string
  19498. auditer:
  19499. description: 审核人
  19500. type: integer
  19501. audittime:
  19502. description: 审核时间
  19503. type: string
  19504. cardnum:
  19505. description: 提货人证件号码
  19506. type: string
  19507. cardtypeid:
  19508. description: 提货人证件类型
  19509. type: integer
  19510. checkremark:
  19511. description: 审核备注
  19512. type: string
  19513. goodscode:
  19514. description: 商品代码
  19515. type: string
  19516. goodsid:
  19517. description: 商品ID
  19518. type: integer
  19519. goodsname:
  19520. description: 商品名称
  19521. type: string
  19522. handlestatus:
  19523. description: 处理状态
  19524. type: integer
  19525. marketid:
  19526. description: 市场ID
  19527. type: integer
  19528. phonenum:
  19529. description: 提货人联系方式
  19530. type: string
  19531. qty:
  19532. description: 提货数量
  19533. type: number
  19534. recivername:
  19535. description: 提货人姓名
  19536. type: string
  19537. reqtime:
  19538. description: 更新时间
  19539. type: string
  19540. takemode:
  19541. description: 提货方式 - 2:自提 3:配送
  19542. type: integer
  19543. takeorderid:
  19544. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  19545. type: string
  19546. takeorderstatus:
  19547. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  19548. type: integer
  19549. takeremark:
  19550. description: 提货备注
  19551. type: string
  19552. tradedate:
  19553. description: 交易日(yyyyMMdd)
  19554. type: string
  19555. userid:
  19556. description: 用户ID
  19557. type: integer
  19558. required:
  19559. - takeorderid
  19560. type: object
  19561. szdz.QueryRecieptOrderRsp:
  19562. properties:
  19563. accountName:
  19564. description: 所属账号名称(已脱敏)
  19565. type: string
  19566. accountid:
  19567. description: 资金账号
  19568. type: integer
  19569. buyorsell:
  19570. description: 方向 - 0:买 1:卖
  19571. type: integer
  19572. enableqty:
  19573. description: 可摘数量
  19574. type: integer
  19575. goodscode:
  19576. description: 商品代码
  19577. type: string
  19578. goodsid:
  19579. description: 商品ID
  19580. type: integer
  19581. goodsname:
  19582. description: 商品名称
  19583. type: string
  19584. orderid:
  19585. description: 委托单号
  19586. type: string
  19587. orderprice:
  19588. description: 委托价格
  19589. type: number
  19590. ordertime:
  19591. description: 委托时间
  19592. type: string
  19593. tradedate:
  19594. description: 交易日(yyyyMMdd)
  19595. type: string
  19596. required:
  19597. - ordertime
  19598. type: object
  19599. szdz.QuerySZDZTradePositionRsp:
  19600. properties:
  19601. accountid:
  19602. description: 账号Id
  19603. type: integer
  19604. agreeunit:
  19605. description: 合约单位
  19606. type: number
  19607. averageprice:
  19608. description: 持仓均价
  19609. type: number
  19610. buyorsell:
  19611. description: 方向 - 0:买 1:卖
  19612. type: integer
  19613. closetotalqty:
  19614. description: 平仓总数量
  19615. type: integer
  19616. curholderamount:
  19617. description: 当前持仓总金额
  19618. type: number
  19619. curpositionqty:
  19620. description: 当前持仓总数量
  19621. type: integer
  19622. currencyid:
  19623. description: 报价货币ID
  19624. type: integer
  19625. curtdposition:
  19626. description: 期末今日头寸
  19627. type: integer
  19628. decimalplace:
  19629. description: 报价小数位
  19630. type: integer
  19631. enableqty:
  19632. description: 可用量
  19633. type: integer
  19634. fretdposition:
  19635. description: 冻结今日头寸
  19636. type: integer
  19637. frozenqty:
  19638. description: 持仓冻结数量
  19639. type: integer
  19640. goodscode:
  19641. description: 商品代码(内部)
  19642. type: string
  19643. goodsid:
  19644. description: 商品Id
  19645. type: integer
  19646. goodsname:
  19647. description: 商品名称
  19648. type: string
  19649. goodunit:
  19650. description: 报价单位
  19651. type: string
  19652. goodunitid:
  19653. description: 报价单位ID
  19654. type: integer
  19655. holderamount:
  19656. description: 期初持仓总金额
  19657. type: number
  19658. marketid:
  19659. description: 市场ID
  19660. type: integer
  19661. openreqqty:
  19662. description: 开仓申请数量
  19663. type: integer
  19664. opentotalqty:
  19665. description: 开仓总数量
  19666. type: integer
  19667. otherfrozenqty:
  19668. description: 持仓其他冻结数量(交割冻结)
  19669. type: integer
  19670. positionqty:
  19671. description: 期初持仓数量
  19672. type: integer
  19673. szdz3freezqty:
  19674. description: 尚志大宗转换冻结总数量
  19675. type: integer
  19676. tnqty:
  19677. description: T+N冻结总量
  19678. type: integer
  19679. tnusedqty:
  19680. description: T+N使用量
  19681. type: integer
  19682. trademode:
  19683. description: 交易模式
  19684. type: integer
  19685. usedmargin:
  19686. description: 占用保证金
  19687. type: number
  19688. type: object
  19689. taaccount.QueryAmountLogRsp:
  19690. properties:
  19691. OPERATETYPENAME:
  19692. description: 资金操作类型名称
  19693. type: string
  19694. accountid:
  19695. description: 资金账户ID
  19696. type: integer
  19697. agoodscode:
  19698. description: 竞拍商品代码
  19699. type: string
  19700. agoodsname:
  19701. description: 竞拍商品名称
  19702. type: string
  19703. amount:
  19704. description: 资金金额
  19705. type: number
  19706. amountadjusttype:
  19707. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  19708. type: integer
  19709. autoid:
  19710. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  19711. type: integer
  19712. balance:
  19713. description: 期初余额
  19714. type: number
  19715. businesscode:
  19716. description: 业务编号
  19717. type: integer
  19718. createtime:
  19719. description: 发生时间
  19720. type: string
  19721. currencyid:
  19722. description: 币种ID
  19723. type: integer
  19724. currentbalance:
  19725. description: 期末余额(变动后金额)
  19726. type: number
  19727. dgoodscode:
  19728. description: 交割商品代码
  19729. type: string
  19730. dgoodsname:
  19731. description: 交割商品名称
  19732. type: string
  19733. goodscode:
  19734. description: 商品代码
  19735. type: string
  19736. goodsid:
  19737. description: 商品ID
  19738. type: integer
  19739. goodsname:
  19740. description: 商品名称
  19741. type: string
  19742. marketid:
  19743. description: 市场ID
  19744. type: integer
  19745. marketname:
  19746. description: 市场名称
  19747. type: string
  19748. moneyticket:
  19749. description: 资金流水号:银行端流水号
  19750. type: integer
  19751. operatetype:
  19752. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  19753. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  19754. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  19755. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  19756. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  19757. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  19758. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  19759. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  19760. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  19761. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  19762. type: integer
  19763. relationorderid:
  19764. description: 关联单号
  19765. type: string
  19766. remark:
  19767. description: 备注
  19768. type: string
  19769. trademode:
  19770. description: 交易模式
  19771. type: integer
  19772. required:
  19773. - accountid
  19774. - amount
  19775. - amountadjusttype
  19776. - autoid
  19777. - balance
  19778. - createtime
  19779. - currentbalance
  19780. - operatetype
  19781. type: object
  19782. taaccount.QueryHisAmountLogRsp:
  19783. properties:
  19784. OPERATETYPENAME:
  19785. description: 资金操作类型名称
  19786. type: string
  19787. accountid:
  19788. description: 资金账户ID
  19789. type: integer
  19790. agoodscode:
  19791. description: 竞拍商品代码
  19792. type: string
  19793. agoodsname:
  19794. description: 竞拍商品名称
  19795. type: string
  19796. amount:
  19797. description: 资金金额
  19798. type: number
  19799. amountadjusttype:
  19800. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  19801. type: integer
  19802. autoid:
  19803. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  19804. type: integer
  19805. balance:
  19806. description: 期初余额
  19807. type: number
  19808. businesscode:
  19809. description: 业务编号
  19810. type: integer
  19811. createtime:
  19812. description: 发生时间
  19813. type: string
  19814. currencyid:
  19815. description: 币种ID
  19816. type: integer
  19817. currentbalance:
  19818. description: 期末余额(变动后金额)
  19819. type: number
  19820. dgoodscode:
  19821. description: 交割商品代码
  19822. type: string
  19823. dgoodsname:
  19824. description: 交割商品名称
  19825. type: string
  19826. goodscode:
  19827. description: 商品代码
  19828. type: string
  19829. goodsid:
  19830. description: 商品ID
  19831. type: integer
  19832. goodsname:
  19833. description: 商品名称
  19834. type: string
  19835. histradedate:
  19836. description: 历史交易日
  19837. type: string
  19838. isvaliddata:
  19839. description: 是否有效 - 0:无效 1:有效
  19840. type: integer
  19841. marketid:
  19842. description: 市场ID
  19843. type: integer
  19844. marketname:
  19845. description: 市场名称
  19846. type: string
  19847. moneyticket:
  19848. description: 资金流水号:银行端流水号
  19849. type: integer
  19850. operatetype:
  19851. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  19852. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  19853. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  19854. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  19855. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  19856. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  19857. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  19858. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  19859. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  19860. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  19861. type: integer
  19862. relationorderid:
  19863. description: 关联单号
  19864. type: string
  19865. remark:
  19866. description: 备注
  19867. type: string
  19868. trademode:
  19869. description: 交易模式
  19870. type: integer
  19871. required:
  19872. - accountid
  19873. - amount
  19874. - amountadjusttype
  19875. - autoid
  19876. - balance
  19877. - createtime
  19878. - currentbalance
  19879. - histradedate
  19880. - operatetype
  19881. type: object
  19882. trade.QueryRecieptOrderRsp:
  19883. properties:
  19884. accountName:
  19885. description: 所属账号名称(已脱敏)
  19886. type: string
  19887. accountid:
  19888. description: 资金账号
  19889. type: integer
  19890. buyorsell:
  19891. description: 方向 - 0:买 1:卖
  19892. type: integer
  19893. enableqty:
  19894. description: 可摘数量
  19895. type: integer
  19896. goodscode:
  19897. description: 商品代码
  19898. type: string
  19899. goodsid:
  19900. description: 商品ID
  19901. type: integer
  19902. goodsname:
  19903. description: 商品名称
  19904. type: string
  19905. orderid:
  19906. description: 委托单号
  19907. type: string
  19908. orderprice:
  19909. description: 委托价格
  19910. type: number
  19911. ordertime:
  19912. description: 委托时间
  19913. type: string
  19914. tradedate:
  19915. description: 交易日(yyyyMMdd)
  19916. type: string
  19917. required:
  19918. - ordertime
  19919. type: object
  19920. user.LoginQueryRsp:
  19921. properties:
  19922. areaRoles:
  19923. description: 所属角色信息
  19924. items:
  19925. $ref: '#/definitions/models.Arearole'
  19926. type: array
  19927. externalExchanges:
  19928. description: 外部交易所
  19929. items:
  19930. $ref: '#/definitions/models.Externalexchange'
  19931. type: array
  19932. goodsgroups:
  19933. description: 商品组
  19934. items:
  19935. $ref: '#/definitions/models.Goodsgroup'
  19936. type: array
  19937. loginAccount:
  19938. $ref: '#/definitions/models.Loginaccount'
  19939. description: 登录账号
  19940. markets:
  19941. description: 市场
  19942. items:
  19943. $ref: '#/definitions/models.Market'
  19944. type: array
  19945. systemParams:
  19946. description: 系统参数
  19947. items:
  19948. $ref: '#/definitions/models.Systemparam'
  19949. type: array
  19950. userAccount:
  19951. $ref: '#/definitions/models.Useraccount'
  19952. description: 用户账号
  19953. userInfo:
  19954. $ref: '#/definitions/models.Userinfo'
  19955. description: 用户信息
  19956. username:
  19957. description: 用户姓名
  19958. type: string
  19959. type: object
  19960. info:
  19961. contact: {}
  19962. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  19963. termsOfService: http://www.muchinfo.cn
  19964. title: MTP2.0 查询服务 API
  19965. version: "1.0"
  19966. paths:
  19967. /CPTrade/QueryCPTradeMyBidInfos:
  19968. get:
  19969. parameters:
  19970. - description: 资金账户
  19971. in: query
  19972. name: accountid
  19973. required: true
  19974. type: integer
  19975. - description: 预售市场ID
  19976. in: query
  19977. name: marketid
  19978. type: integer
  19979. - description: 预售商品ID
  19980. in: query
  19981. name: goodsid
  19982. type: integer
  19983. produces:
  19984. - application/json
  19985. responses:
  19986. "200":
  19987. description: OK
  19988. schema:
  19989. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  19990. "500":
  19991. description: Internal Server Error
  19992. schema:
  19993. $ref: '#/definitions/app.Response'
  19994. security:
  19995. - ApiKeyAuth: []
  19996. summary: 查询产能预售我的出价信息
  19997. tags:
  19998. - 产能预售
  19999. /CPTrade/QueryCPTradeOrderDetail:
  20000. get:
  20001. parameters:
  20002. - description: 预售商品ID
  20003. in: query
  20004. name: goodsid
  20005. type: integer
  20006. - description: 预售市场ID
  20007. in: query
  20008. name: marketid
  20009. type: integer
  20010. - description: 预售商品ID列表 - 格式:1,2,3
  20011. in: query
  20012. name: goodsids
  20013. type: string
  20014. produces:
  20015. - application/json
  20016. responses:
  20017. "200":
  20018. description: OK
  20019. schema:
  20020. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  20021. "500":
  20022. description: Internal Server Error
  20023. schema:
  20024. $ref: '#/definitions/app.Response'
  20025. security:
  20026. - ApiKeyAuth: []
  20027. summary: 查询产能预售委托单信息
  20028. tags:
  20029. - 产能预售
  20030. /CPTrade/QueryMyCPTradeGoods:
  20031. get:
  20032. parameters:
  20033. - description: 资金账户
  20034. in: query
  20035. name: accountid
  20036. required: true
  20037. type: integer
  20038. produces:
  20039. - application/json
  20040. responses:
  20041. "200":
  20042. description: OK
  20043. schema:
  20044. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  20045. "500":
  20046. description: Internal Server Error
  20047. schema:
  20048. $ref: '#/definitions/app.Response'
  20049. security:
  20050. - ApiKeyAuth: []
  20051. summary: 查询我的预售信息
  20052. tags:
  20053. - 产能预售
  20054. /CPTrade/QueryPositionCancel:
  20055. get:
  20056. parameters:
  20057. - description: 账户ID
  20058. in: query
  20059. name: userid
  20060. required: true
  20061. type: integer
  20062. - description: 注销ID
  20063. in: query
  20064. name: cancelid
  20065. type: integer
  20066. - description: 资金账户ID
  20067. in: query
  20068. name: accountid
  20069. type: integer
  20070. produces:
  20071. - application/json
  20072. responses:
  20073. "200":
  20074. description: OK
  20075. schema:
  20076. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  20077. "500":
  20078. description: Internal Server Error
  20079. schema:
  20080. $ref: '#/definitions/app.Response'
  20081. security:
  20082. - ApiKeyAuth: []
  20083. summary: 查询远期订单注销申请信息
  20084. tags:
  20085. - 产能预售
  20086. /CPTrade/QueryPreasleApply:
  20087. get:
  20088. parameters:
  20089. - description: 账户ID
  20090. in: query
  20091. name: userid
  20092. required: true
  20093. type: integer
  20094. - description: 申请ID
  20095. in: query
  20096. name: applyid
  20097. type: integer
  20098. - description: 资金账户ID
  20099. in: query
  20100. name: accountid
  20101. type: integer
  20102. produces:
  20103. - application/json
  20104. responses:
  20105. "200":
  20106. description: OK
  20107. schema:
  20108. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  20109. "500":
  20110. description: Internal Server Error
  20111. schema:
  20112. $ref: '#/definitions/app.Response'
  20113. security:
  20114. - ApiKeyAuth: []
  20115. summary: 查询产能预售申请信息
  20116. tags:
  20117. - 产能预售
  20118. /CPTrade/QueryPresaleGoodsEx:
  20119. get:
  20120. parameters:
  20121. - description: 预售商品ID
  20122. in: query
  20123. name: goodsid
  20124. type: integer
  20125. - description: 预售市场ID
  20126. in: query
  20127. name: marketid
  20128. type: integer
  20129. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  20130. in: query
  20131. name: presalemode
  20132. type: integer
  20133. - description: 预售商品ID列表 - 格式:1,2,3
  20134. in: query
  20135. name: goodsids
  20136. type: string
  20137. - description: 预售商品代码
  20138. in: query
  20139. name: goodscode
  20140. type: string
  20141. produces:
  20142. - application/json
  20143. responses:
  20144. "200":
  20145. description: OK
  20146. schema:
  20147. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  20148. "500":
  20149. description: Internal Server Error
  20150. schema:
  20151. $ref: '#/definitions/app.Response'
  20152. security:
  20153. - ApiKeyAuth: []
  20154. summary: 查询产能预售商品扩展信息
  20155. tags:
  20156. - 产能预售
  20157. /CPTrade/QueryUserGoodsData:
  20158. get:
  20159. parameters:
  20160. - description: 资金账户ID
  20161. in: query
  20162. name: accountid
  20163. required: true
  20164. type: integer
  20165. produces:
  20166. - application/json
  20167. responses:
  20168. "200":
  20169. description: OK
  20170. schema:
  20171. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  20172. "500":
  20173. description: Internal Server Error
  20174. schema:
  20175. $ref: '#/definitions/app.Response'
  20176. security:
  20177. - ApiKeyAuth: []
  20178. summary: 查询远期订单信息
  20179. tags:
  20180. - 产能预售
  20181. /Common/GetAllEnums:
  20182. get:
  20183. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  20184. parameters:
  20185. - description: 起始自增ID
  20186. in: query
  20187. name: autoid
  20188. type: integer
  20189. produces:
  20190. - application/json
  20191. responses:
  20192. "200":
  20193. description: OK
  20194. schema:
  20195. $ref: '#/definitions/models.Enumdicitem'
  20196. "500":
  20197. description: Internal Server Error
  20198. schema:
  20199. $ref: '#/definitions/app.Response'
  20200. summary: 获取所有枚举信息
  20201. tags:
  20202. - 通用服务
  20203. /Common/GetClientMenus:
  20204. get:
  20205. parameters:
  20206. - description: 登录账号
  20207. in: query
  20208. name: loginID
  20209. required: true
  20210. type: integer
  20211. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  20212. in: query
  20213. name: clientType
  20214. type: integer
  20215. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  20216. in: query
  20217. name: name
  20218. type: string
  20219. produces:
  20220. - application/json
  20221. responses:
  20222. "200":
  20223. description: OK
  20224. schema:
  20225. items:
  20226. $ref: '#/definitions/common.ClientMenu'
  20227. type: array
  20228. "500":
  20229. description: Internal Server Error
  20230. schema:
  20231. $ref: '#/definitions/app.Response'
  20232. security:
  20233. - ApiKeyAuth: []
  20234. summary: 获取交易端菜单
  20235. tags:
  20236. - 通用服务
  20237. /Common/GetDivisions:
  20238. get:
  20239. produces:
  20240. - application/json
  20241. responses:
  20242. "200":
  20243. description: OK
  20244. schema:
  20245. $ref: '#/definitions/models.Division'
  20246. "500":
  20247. description: Internal Server Error
  20248. schema:
  20249. $ref: '#/definitions/app.Response'
  20250. summary: 查询区域信息
  20251. tags:
  20252. - 通用服务
  20253. /Common/GetPCWebMenus:
  20254. get:
  20255. parameters:
  20256. - description: 登录账号
  20257. in: query
  20258. name: loginID
  20259. required: true
  20260. type: integer
  20261. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  20262. in: query
  20263. name: name
  20264. type: string
  20265. produces:
  20266. - application/json
  20267. responses:
  20268. "200":
  20269. description: OK
  20270. schema:
  20271. items:
  20272. $ref: '#/definitions/common.PCWebMenu'
  20273. type: array
  20274. "500":
  20275. description: Internal Server Error
  20276. schema:
  20277. $ref: '#/definitions/app.Response'
  20278. security:
  20279. - ApiKeyAuth: []
  20280. summary: 获取PCWeb交易端菜单
  20281. tags:
  20282. - 通用服务
  20283. /Common/GetServerTime:
  20284. get:
  20285. produces:
  20286. - application/json
  20287. responses:
  20288. "200":
  20289. description: OK
  20290. schema:
  20291. $ref: '#/definitions/app.Response'
  20292. "500":
  20293. description: Internal Server Error
  20294. schema:
  20295. $ref: '#/definitions/app.Response'
  20296. summary: 获取服务器时间
  20297. tags:
  20298. - 通用服务
  20299. /Common/NoticeReaded:
  20300. post:
  20301. parameters:
  20302. - description: 登录账号
  20303. in: query
  20304. name: loginID
  20305. required: true
  20306. type: integer
  20307. - description: 通知公告ID
  20308. in: query
  20309. name: noticeID
  20310. required: true
  20311. type: integer
  20312. produces:
  20313. - application/json
  20314. responses:
  20315. "200":
  20316. description: OK
  20317. schema:
  20318. $ref: '#/definitions/app.Response'
  20319. "500":
  20320. description: Internal Server Error
  20321. schema:
  20322. $ref: '#/definitions/app.Response'
  20323. security:
  20324. - ApiKeyAuth: []
  20325. summary: 通知公告设置已读请求
  20326. tags:
  20327. - 通用服务
  20328. /Common/QueryErrorInfos:
  20329. get:
  20330. description: 如果传入rowNumber,则返回此rowNumber后的数据
  20331. parameters:
  20332. - description: 起始行号前索引
  20333. in: query
  20334. name: rowNumber
  20335. type: string
  20336. produces:
  20337. - application/json
  20338. responses:
  20339. "200":
  20340. description: OK
  20341. schema:
  20342. $ref: '#/definitions/models.QueryErrorInfosRsp'
  20343. "500":
  20344. description: Internal Server Error
  20345. schema:
  20346. $ref: '#/definitions/app.Response'
  20347. summary: 获取数据库错误信息
  20348. tags:
  20349. - 通用服务
  20350. /Common/QueryImageConfigs:
  20351. get:
  20352. parameters:
  20353. - description: 用户id
  20354. in: query
  20355. name: userId
  20356. type: integer
  20357. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  20358. in: query
  20359. name: imageType
  20360. type: integer
  20361. produces:
  20362. - application/json
  20363. responses:
  20364. "200":
  20365. description: OK
  20366. schema:
  20367. $ref: '#/definitions/common.QueryImageConfigsRsp'
  20368. "500":
  20369. description: Internal Server Error
  20370. schema:
  20371. $ref: '#/definitions/app.Response'
  20372. summary: 查询轮播图配置信息
  20373. tags:
  20374. - 通用服务
  20375. /Common/QueryNotice:
  20376. get:
  20377. parameters:
  20378. - description: 页码
  20379. in: query
  20380. name: page
  20381. type: integer
  20382. - description: 每页条数
  20383. in: query
  20384. name: pagesize
  20385. type: integer
  20386. - description: 登录账号
  20387. in: query
  20388. name: loginID
  20389. required: true
  20390. type: integer
  20391. - description: 消息类型 - 1:公告通知 2:系统消息
  20392. in: query
  20393. name: msgType
  20394. type: integer
  20395. - description: 是否只获取未读信息
  20396. in: query
  20397. name: onlyUnRead
  20398. type: boolean
  20399. - description: 自增ID,传入后会返回这个ID后面的记录
  20400. in: query
  20401. name: lastID
  20402. type: integer
  20403. produces:
  20404. - application/json
  20405. responses:
  20406. "200":
  20407. description: OK
  20408. schema:
  20409. $ref: '#/definitions/common.QueryNoticeRsp'
  20410. "500":
  20411. description: Internal Server Error
  20412. schema:
  20413. $ref: '#/definitions/app.Response'
  20414. security:
  20415. - ApiKeyAuth: []
  20416. summary: 通知公告系统消息查询
  20417. tags:
  20418. - 通用服务
  20419. /Common/QueryProvincesAndCities:
  20420. get:
  20421. parameters:
  20422. - description: 省ID
  20423. in: query
  20424. name: provinceID
  20425. type: integer
  20426. produces:
  20427. - application/json
  20428. responses:
  20429. "200":
  20430. description: OK
  20431. schema:
  20432. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  20433. "500":
  20434. description: Internal Server Error
  20435. schema:
  20436. $ref: '#/definitions/app.Response'
  20437. summary: 查询省市信息(不包括区)
  20438. tags:
  20439. - 通用服务
  20440. /Common/QueryTableDefine:
  20441. get:
  20442. parameters:
  20443. - description: 表key
  20444. in: query
  20445. name: tableKey
  20446. type: string
  20447. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  20448. in: query
  20449. name: tableType
  20450. type: integer
  20451. produces:
  20452. - application/json
  20453. responses:
  20454. "200":
  20455. description: OK
  20456. schema:
  20457. $ref: '#/definitions/common.QueryTableDefineRsp'
  20458. "500":
  20459. description: Internal Server Error
  20460. schema:
  20461. $ref: '#/definitions/app.Response'
  20462. summary: 查询交易端列表头信息
  20463. tags:
  20464. - 通用服务
  20465. /Common/QueryTraderMenu:
  20466. get:
  20467. parameters:
  20468. - description: 登录账号
  20469. in: query
  20470. name: loginid
  20471. required: true
  20472. type: integer
  20473. produces:
  20474. - application/json
  20475. responses:
  20476. "200":
  20477. description: OK
  20478. schema:
  20479. $ref: '#/definitions/common.QueryTraderMenuRsp'
  20480. "500":
  20481. description: Internal Server Error
  20482. schema:
  20483. $ref: '#/definitions/app.Response'
  20484. summary: 查询交易端菜单
  20485. tags:
  20486. - 通用服务
  20487. /Delivery/QueryDeliveryRelation:
  20488. get:
  20489. parameters:
  20490. - description: 商品ID
  20491. in: query
  20492. name: goodsid
  20493. type: integer
  20494. - description: 品种ID
  20495. in: query
  20496. name: deliverygoodsid
  20497. type: integer
  20498. - description: 市场ID
  20499. in: query
  20500. name: marketid
  20501. type: integer
  20502. produces:
  20503. - application/json
  20504. responses:
  20505. "200":
  20506. description: OK
  20507. schema:
  20508. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  20509. "500":
  20510. description: Internal Server Error
  20511. schema:
  20512. $ref: '#/definitions/app.Response'
  20513. security:
  20514. - ApiKeyAuth: []
  20515. summary: 查询商品交割关系表
  20516. tags:
  20517. - 交割服务
  20518. /Ermcp/GetErmcpGoods:
  20519. get:
  20520. parameters:
  20521. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  20522. in: query
  20523. name: userid
  20524. type: integer
  20525. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  20526. in: query
  20527. name: lastUpdateTime
  20528. type: string
  20529. produces:
  20530. - application/json
  20531. responses:
  20532. "200":
  20533. description: OK
  20534. schema:
  20535. $ref: '#/definitions/models.ErmcpGoods'
  20536. "500":
  20537. description: Internal Server Error
  20538. schema:
  20539. $ref: '#/definitions/app.Response'
  20540. security:
  20541. - ApiKeyAuth: []
  20542. summary: 查询企业风管期货商品信息
  20543. tags:
  20544. - 企业风险管理(app)
  20545. /Ermcp/GetErmcpGoodsSortByPosition:
  20546. get:
  20547. parameters:
  20548. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  20549. in: query
  20550. name: sortIndex
  20551. type: string
  20552. produces:
  20553. - application/json
  20554. responses:
  20555. "200":
  20556. description: OK
  20557. schema:
  20558. $ref: '#/definitions/models.Goodssortbypreposition'
  20559. "500":
  20560. description: Internal Server Error
  20561. schema:
  20562. $ref: '#/definitions/app.Response'
  20563. security:
  20564. - ApiKeyAuth: []
  20565. summary: 查询企业风管期货主力、次主力商品信息
  20566. tags:
  20567. - 企业风险管理(app)
  20568. /Ermcp/GetErmcpOutAccountStatus:
  20569. get:
  20570. parameters:
  20571. - description: 登录账号
  20572. in: query
  20573. name: loginID
  20574. required: true
  20575. type: integer
  20576. produces:
  20577. - application/json
  20578. responses:
  20579. "200":
  20580. description: OK
  20581. schema:
  20582. $ref: '#/definitions/models.Hedgemarketopenlog'
  20583. "500":
  20584. description: Internal Server Error
  20585. schema:
  20586. $ref: '#/definitions/app.Response'
  20587. security:
  20588. - ApiKeyAuth: []
  20589. summary: 获取目标登录账号当前对冲账号在线状态
  20590. tags:
  20591. - 企业风险管理(app)
  20592. /Ermcp/GetErmcpRoleFuncMenuLists:
  20593. get:
  20594. parameters:
  20595. - description: 登录账号
  20596. in: query
  20597. name: loginID
  20598. required: true
  20599. type: integer
  20600. produces:
  20601. - application/json
  20602. responses:
  20603. "200":
  20604. description: OK
  20605. schema:
  20606. $ref: '#/definitions/models.Funcmenulist'
  20607. "500":
  20608. description: Internal Server Error
  20609. schema:
  20610. $ref: '#/definitions/app.Response'
  20611. security:
  20612. - ApiKeyAuth: []
  20613. summary: 获取企业风管终端权限
  20614. tags:
  20615. - 企业风险管理(app)
  20616. /Ermcp/QueryAccMgrBizGroupSet:
  20617. get:
  20618. parameters:
  20619. - description: 用户ID
  20620. in: query
  20621. name: userid
  20622. required: true
  20623. type: integer
  20624. - description: 现货商品id
  20625. in: query
  20626. name: deliverygoodsid
  20627. type: integer
  20628. produces:
  20629. - application/json
  20630. responses:
  20631. "200":
  20632. description: OK
  20633. schema:
  20634. items:
  20635. $ref: '#/definitions/models.ErmcpBizGroupEx'
  20636. type: array
  20637. "500":
  20638. description: Internal Server Error
  20639. schema:
  20640. $ref: '#/definitions/app.Response'
  20641. security:
  20642. - ApiKeyAuth: []
  20643. summary: 查询业务类型分组(账户管理/账户设置)
  20644. tags:
  20645. - 企业风险管理(app)
  20646. /Ermcp/QueryAccMgrLoginUser:
  20647. get:
  20648. parameters:
  20649. - description: 用户ID
  20650. in: query
  20651. name: userid
  20652. required: true
  20653. type: integer
  20654. - description: 用户类型 2-机构 7-企业成员
  20655. in: query
  20656. name: usertype
  20657. type: integer
  20658. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  20659. in: query
  20660. name: querytype
  20661. required: true
  20662. type: integer
  20663. produces:
  20664. - application/json
  20665. responses:
  20666. "200":
  20667. description: OK
  20668. schema:
  20669. items:
  20670. $ref: '#/definitions/models.ErmcpLoginUserEx'
  20671. type: array
  20672. "500":
  20673. description: Internal Server Error
  20674. schema:
  20675. $ref: '#/definitions/app.Response'
  20676. security:
  20677. - ApiKeyAuth: []
  20678. summary: 查询账户管理登录账号(账户管理/登录账号)
  20679. tags:
  20680. - 企业风险管理(app)
  20681. /Ermcp/QueryAccMgrMainAccountInfo:
  20682. get:
  20683. parameters:
  20684. - description: 用户ID
  20685. in: query
  20686. name: userid
  20687. type: integer
  20688. - description: 主账号id
  20689. in: query
  20690. name: accountid
  20691. type: integer
  20692. produces:
  20693. - application/json
  20694. responses:
  20695. "200":
  20696. description: OK
  20697. schema:
  20698. items:
  20699. $ref: '#/definitions/models.MainAccountInfo'
  20700. type: array
  20701. "500":
  20702. description: Internal Server Error
  20703. schema:
  20704. $ref: '#/definitions/app.Response'
  20705. security:
  20706. - ApiKeyAuth: []
  20707. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  20708. tags:
  20709. - 企业风险管理(app)
  20710. /Ermcp/QueryAccMgrRole:
  20711. get:
  20712. parameters:
  20713. - description: 用户ID
  20714. in: query
  20715. name: userid
  20716. required: true
  20717. type: integer
  20718. produces:
  20719. - application/json
  20720. responses:
  20721. "200":
  20722. description: OK
  20723. schema:
  20724. items:
  20725. $ref: '#/definitions/models.ErmcpRole'
  20726. type: array
  20727. "500":
  20728. description: Internal Server Error
  20729. schema:
  20730. $ref: '#/definitions/app.Response'
  20731. security:
  20732. - ApiKeyAuth: []
  20733. summary: 查询账户管理角色设置(账户管理/角色设置)
  20734. tags:
  20735. - 企业风险管理(app)
  20736. /Ermcp/QueryAccMgrRoleMenu:
  20737. get:
  20738. parameters:
  20739. - description: 用户ID
  20740. in: query
  20741. name: userid
  20742. required: true
  20743. type: integer
  20744. - description: 角色id(可多个,逗号隔开)
  20745. in: query
  20746. name: roleid
  20747. type: string
  20748. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  20749. in: query
  20750. name: menutype
  20751. type: integer
  20752. produces:
  20753. - application/json
  20754. responses:
  20755. "200":
  20756. description: OK
  20757. schema:
  20758. items:
  20759. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  20760. type: array
  20761. "500":
  20762. description: Internal Server Error
  20763. schema:
  20764. $ref: '#/definitions/app.Response'
  20765. security:
  20766. - ApiKeyAuth: []
  20767. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  20768. tags:
  20769. - 企业风险管理(app)
  20770. /Ermcp/QueryAccMgrTaAccountInfo:
  20771. get:
  20772. parameters:
  20773. - description: 用户ID
  20774. in: query
  20775. name: userid
  20776. required: true
  20777. type: integer
  20778. - description: 账号id
  20779. in: query
  20780. name: accountid
  20781. type: integer
  20782. produces:
  20783. - application/json
  20784. responses:
  20785. "200":
  20786. description: OK
  20787. schema:
  20788. items:
  20789. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  20790. type: array
  20791. "500":
  20792. description: Internal Server Error
  20793. schema:
  20794. $ref: '#/definitions/app.Response'
  20795. security:
  20796. - ApiKeyAuth: []
  20797. summary: 查询账户管理授信(账户管理/账户设置/授信)
  20798. tags:
  20799. - 企业风险管理(app)
  20800. /Ermcp/QueryAccMgrTaaccount:
  20801. get:
  20802. parameters:
  20803. - description: 用户ID
  20804. in: query
  20805. name: userid
  20806. required: true
  20807. type: integer
  20808. produces:
  20809. - application/json
  20810. responses:
  20811. "200":
  20812. description: OK
  20813. schema:
  20814. items:
  20815. $ref: '#/definitions/models.ErmcpTaAccountEx'
  20816. type: array
  20817. "500":
  20818. description: Internal Server Error
  20819. schema:
  20820. $ref: '#/definitions/app.Response'
  20821. security:
  20822. - ApiKeyAuth: []
  20823. summary: 查询账户管理期货账号(账户管理/期货账号)
  20824. tags:
  20825. - 企业风险管理(app)
  20826. /Ermcp/QueryAvaildGoodsGroup:
  20827. get:
  20828. parameters:
  20829. - description: 所属机构ID
  20830. in: query
  20831. name: userid
  20832. required: true
  20833. type: integer
  20834. produces:
  20835. - application/json
  20836. responses:
  20837. "200":
  20838. description: OK
  20839. schema:
  20840. items:
  20841. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  20842. type: array
  20843. "500":
  20844. description: Internal Server Error
  20845. schema:
  20846. $ref: '#/definitions/app.Response'
  20847. security:
  20848. - ApiKeyAuth: []
  20849. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  20850. tags:
  20851. - 企业风险管理(app)
  20852. /Ermcp/QueryBusinessDj:
  20853. get:
  20854. parameters:
  20855. - description: 用户ID
  20856. in: query
  20857. name: UserId
  20858. required: true
  20859. type: integer
  20860. - description: 用户类型 2-机构 7-企业成员
  20861. in: query
  20862. name: usertype
  20863. type: integer
  20864. - description: 现货合同ID, 不填则查所有
  20865. in: query
  20866. name: relatedid
  20867. type: string
  20868. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20869. in: query
  20870. name: applystatus
  20871. type: string
  20872. produces:
  20873. - application/json
  20874. responses:
  20875. "200":
  20876. description: OK
  20877. schema:
  20878. items:
  20879. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  20880. type: array
  20881. "500":
  20882. description: Internal Server Error
  20883. schema:
  20884. $ref: '#/definitions/app.Response'
  20885. security:
  20886. - ApiKeyAuth: []
  20887. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  20888. tags:
  20889. - 企业风险管理(app)
  20890. /Ermcp/QueryBusinessFp:
  20891. get:
  20892. parameters:
  20893. - description: 用户ID
  20894. in: query
  20895. name: UserId
  20896. required: true
  20897. type: integer
  20898. - description: 用户类型 2-机构 7-企业成员
  20899. in: query
  20900. name: usertype
  20901. type: integer
  20902. - description: 现货合同ID, 不填则查所有
  20903. in: query
  20904. name: relatedid
  20905. type: string
  20906. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20907. in: query
  20908. name: applystatus
  20909. type: string
  20910. produces:
  20911. - application/json
  20912. responses:
  20913. "200":
  20914. description: OK
  20915. schema:
  20916. items:
  20917. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  20918. type: array
  20919. "500":
  20920. description: Internal Server Error
  20921. schema:
  20922. $ref: '#/definitions/app.Response'
  20923. security:
  20924. - ApiKeyAuth: []
  20925. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  20926. tags:
  20927. - 企业风险管理(app)
  20928. /Ermcp/QueryBusinessJs:
  20929. get:
  20930. parameters:
  20931. - description: 用户ID
  20932. in: query
  20933. name: UserId
  20934. required: true
  20935. type: integer
  20936. - description: 用户类型 2-机构 7-企业成员
  20937. in: query
  20938. name: usertype
  20939. type: integer
  20940. - description: 现货合同ID, 不填则查所有
  20941. in: query
  20942. name: relatedid
  20943. type: string
  20944. - description: 操作申请id
  20945. in: query
  20946. name: operateapplyid
  20947. type: string
  20948. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20949. in: query
  20950. name: applystatus
  20951. type: string
  20952. produces:
  20953. - application/json
  20954. responses:
  20955. "200":
  20956. description: OK
  20957. schema:
  20958. items:
  20959. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  20960. type: array
  20961. "500":
  20962. description: Internal Server Error
  20963. schema:
  20964. $ref: '#/definitions/app.Response'
  20965. security:
  20966. - ApiKeyAuth: []
  20967. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  20968. tags:
  20969. - 企业风险管理(app)
  20970. /Ermcp/QueryBusinessJsEx:
  20971. get:
  20972. parameters:
  20973. - description: 用户ID
  20974. in: query
  20975. name: UserId
  20976. required: true
  20977. type: integer
  20978. - description: 用户类型 2-机构 7-企业成员
  20979. in: query
  20980. name: usertype
  20981. type: integer
  20982. - description: 现货合同ID, 不填则查所有
  20983. in: query
  20984. name: relatedid
  20985. type: string
  20986. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20987. in: query
  20988. name: applystatus
  20989. type: string
  20990. produces:
  20991. - application/json
  20992. responses:
  20993. "200":
  20994. description: OK
  20995. schema:
  20996. items:
  20997. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  20998. type: array
  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/QueryBusinessKx:
  21009. get:
  21010. parameters:
  21011. - description: 用户ID
  21012. in: query
  21013. name: UserId
  21014. required: true
  21015. type: integer
  21016. - description: 用户类型 2-机构 7-企业成员
  21017. in: query
  21018. name: usertype
  21019. type: integer
  21020. - description: 现货合同ID, 不填则查所有
  21021. in: query
  21022. name: relatedid
  21023. type: string
  21024. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21025. in: query
  21026. name: applystatus
  21027. type: string
  21028. produces:
  21029. - application/json
  21030. responses:
  21031. "200":
  21032. description: OK
  21033. schema:
  21034. items:
  21035. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  21036. type: array
  21037. "500":
  21038. description: Internal Server Error
  21039. schema:
  21040. $ref: '#/definitions/app.Response'
  21041. security:
  21042. - ApiKeyAuth: []
  21043. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  21044. tags:
  21045. - 企业风险管理(app)
  21046. /Ermcp/QueryChangeLog:
  21047. get:
  21048. parameters:
  21049. - description: 合同ID
  21050. in: query
  21051. name: RelatedId
  21052. required: true
  21053. type: string
  21054. produces:
  21055. - application/json
  21056. responses:
  21057. "200":
  21058. description: OK
  21059. schema:
  21060. items:
  21061. $ref: '#/definitions/ermcp.QryOPLogRsp'
  21062. type: array
  21063. "500":
  21064. description: Internal Server Error
  21065. schema:
  21066. $ref: '#/definitions/app.Response'
  21067. security:
  21068. - ApiKeyAuth: []
  21069. summary: 查询变更记录
  21070. tags:
  21071. - 企业风险管理(app)
  21072. /Ermcp/QueryErmcpHisOrderDetails:
  21073. get:
  21074. parameters:
  21075. - description: 资金账户ID
  21076. in: query
  21077. name: accountID
  21078. required: true
  21079. type: integer
  21080. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  21081. in: query
  21082. name: startDate
  21083. type: string
  21084. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  21085. in: query
  21086. name: endDate
  21087. type: string
  21088. produces:
  21089. - application/json
  21090. responses:
  21091. "200":
  21092. description: OK
  21093. schema:
  21094. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  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/QueryErmcpHisTradeDetails:
  21105. get:
  21106. parameters:
  21107. - description: 资金账户ID
  21108. in: query
  21109. name: accountID
  21110. required: true
  21111. type: integer
  21112. - description: 商品ID
  21113. in: query
  21114. name: goodsID
  21115. type: integer
  21116. - description: 买卖方向,0:买 1:卖
  21117. in: query
  21118. name: buyOrSell
  21119. type: integer
  21120. - description: 关联委托单号
  21121. in: query
  21122. name: orderID
  21123. type: integer
  21124. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  21125. in: query
  21126. name: startDate
  21127. type: string
  21128. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  21129. in: query
  21130. name: endDate
  21131. type: string
  21132. produces:
  21133. - application/json
  21134. responses:
  21135. "200":
  21136. description: OK
  21137. schema:
  21138. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  21139. "500":
  21140. description: Internal Server Error
  21141. schema:
  21142. $ref: '#/definitions/app.Response'
  21143. security:
  21144. - ApiKeyAuth: []
  21145. summary: 获取企业风管期货历史成交单信息
  21146. tags:
  21147. - 企业风险管理(app)
  21148. /Ermcp/QueryErmcpInnerHolderDetails:
  21149. get:
  21150. parameters:
  21151. - description: 资金账户ID
  21152. in: query
  21153. name: accountID
  21154. required: true
  21155. type: integer
  21156. - description: 商品ID
  21157. in: query
  21158. name: goodsID
  21159. type: integer
  21160. - description: 买卖方向,0:买 1:卖
  21161. in: query
  21162. name: buyOrSell
  21163. type: integer
  21164. produces:
  21165. - application/json
  21166. responses:
  21167. "200":
  21168. description: OK
  21169. schema:
  21170. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  21171. "500":
  21172. description: Internal Server Error
  21173. schema:
  21174. $ref: '#/definitions/app.Response'
  21175. security:
  21176. - ApiKeyAuth: []
  21177. summary: 获取企业风管期货内部持仓单信息
  21178. tags:
  21179. - 企业风险管理(app)
  21180. /Ermcp/QueryErmcpOrderDetails:
  21181. get:
  21182. parameters:
  21183. - description: 资金账户ID
  21184. in: query
  21185. name: accountID
  21186. required: true
  21187. type: integer
  21188. produces:
  21189. - application/json
  21190. responses:
  21191. "200":
  21192. description: OK
  21193. schema:
  21194. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  21195. "500":
  21196. description: Internal Server Error
  21197. schema:
  21198. $ref: '#/definitions/app.Response'
  21199. security:
  21200. - ApiKeyAuth: []
  21201. summary: 获取企业风管期货委托单信息
  21202. tags:
  21203. - 企业风险管理(app)
  21204. /Ermcp/QueryErmcpTradeDetails:
  21205. get:
  21206. parameters:
  21207. - description: 资金账户ID
  21208. in: query
  21209. name: accountID
  21210. required: true
  21211. type: integer
  21212. - description: 商品ID
  21213. in: query
  21214. name: goodsID
  21215. type: integer
  21216. - description: 买卖方向,0:买 1:卖
  21217. in: query
  21218. name: buyOrSell
  21219. type: integer
  21220. - description: 关联委托单号
  21221. in: query
  21222. name: orderID
  21223. type: integer
  21224. produces:
  21225. - application/json
  21226. responses:
  21227. "200":
  21228. description: OK
  21229. schema:
  21230. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  21231. "500":
  21232. description: Internal Server Error
  21233. schema:
  21234. $ref: '#/definitions/app.Response'
  21235. security:
  21236. - ApiKeyAuth: []
  21237. summary: 获取企业风管期货成交单信息
  21238. tags:
  21239. - 企业风险管理(app)
  21240. /Ermcp/QueryErmcpTradePosition:
  21241. get:
  21242. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  21243. parameters:
  21244. - description: 资金账户ID
  21245. in: query
  21246. name: accountID
  21247. required: true
  21248. type: integer
  21249. - description: 所属市场ID
  21250. in: query
  21251. name: marketID
  21252. type: integer
  21253. produces:
  21254. - application/json
  21255. responses:
  21256. "200":
  21257. description: OK
  21258. schema:
  21259. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  21260. "500":
  21261. description: Internal Server Error
  21262. schema:
  21263. $ref: '#/definitions/app.Response'
  21264. security:
  21265. - ApiKeyAuth: []
  21266. summary: 获取企业风管期货持仓头寸信息
  21267. tags:
  21268. - 企业风险管理(app)
  21269. /Ermcp/QueryExposureDetail:
  21270. get:
  21271. parameters:
  21272. - description: 所属机构ID
  21273. in: query
  21274. name: areaUserId
  21275. required: true
  21276. type: integer
  21277. - description: 套保商品
  21278. in: query
  21279. name: middleGoodsId
  21280. required: true
  21281. type: integer
  21282. produces:
  21283. - application/json
  21284. responses:
  21285. "200":
  21286. description: OK
  21287. schema:
  21288. items:
  21289. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  21290. type: array
  21291. "500":
  21292. description: Internal Server Error
  21293. schema:
  21294. $ref: '#/definitions/app.Response'
  21295. security:
  21296. - ApiKeyAuth: []
  21297. summary: 查询敞口现货明细
  21298. tags:
  21299. - 企业风险管理(app)
  21300. /Ermcp/QueryExposureGoods:
  21301. get:
  21302. parameters:
  21303. - description: 套保商品id
  21304. in: query
  21305. name: middlegoodsid
  21306. required: true
  21307. type: integer
  21308. produces:
  21309. - application/json
  21310. responses:
  21311. "200":
  21312. description: OK
  21313. schema:
  21314. items:
  21315. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  21316. type: array
  21317. "500":
  21318. description: Internal Server Error
  21319. schema:
  21320. $ref: '#/definitions/app.Response'
  21321. security:
  21322. - ApiKeyAuth: []
  21323. summary: 查询敞口主力合约
  21324. tags:
  21325. - 企业风险管理(app)
  21326. /Ermcp/QueryExposureHedgePosition:
  21327. get:
  21328. parameters:
  21329. - description: 用户id
  21330. in: query
  21331. name: userid
  21332. required: true
  21333. type: integer
  21334. produces:
  21335. - application/json
  21336. responses:
  21337. "200":
  21338. description: OK
  21339. schema:
  21340. items:
  21341. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  21342. type: array
  21343. "500":
  21344. description: Internal Server Error
  21345. schema:
  21346. $ref: '#/definitions/app.Response'
  21347. security:
  21348. - ApiKeyAuth: []
  21349. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  21350. tags:
  21351. - 企业风险管理(app)
  21352. /Ermcp/QueryExposureHedgePositionDetail:
  21353. get:
  21354. parameters:
  21355. - description: 所属机构ID
  21356. in: query
  21357. name: userid
  21358. required: true
  21359. type: integer
  21360. - description: 商品id
  21361. in: query
  21362. name: goodsId
  21363. required: true
  21364. type: integer
  21365. produces:
  21366. - application/json
  21367. responses:
  21368. "200":
  21369. description: OK
  21370. schema:
  21371. items:
  21372. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  21373. type: array
  21374. "500":
  21375. description: Internal Server Error
  21376. schema:
  21377. $ref: '#/definitions/app.Response'
  21378. security:
  21379. - ApiKeyAuth: []
  21380. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  21381. tags:
  21382. - 企业风险管理(app)
  21383. /Ermcp/QueryExposureSpot:
  21384. get:
  21385. parameters:
  21386. - description: 所属机构ID
  21387. in: query
  21388. name: areaUserId
  21389. required: true
  21390. type: integer
  21391. produces:
  21392. - application/json
  21393. responses:
  21394. "200":
  21395. description: OK
  21396. schema:
  21397. items:
  21398. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  21399. type: array
  21400. "500":
  21401. description: Internal Server Error
  21402. schema:
  21403. $ref: '#/definitions/app.Response'
  21404. security:
  21405. - ApiKeyAuth: []
  21406. summary: 查询敞口现货头寸(敞口/现货头寸)
  21407. tags:
  21408. - 企业风险管理(app)
  21409. /Ermcp/QueryExposureSpotDetail:
  21410. get:
  21411. parameters:
  21412. - description: 所属机构ID
  21413. in: query
  21414. name: areaUserId
  21415. required: true
  21416. type: integer
  21417. - description: 现货品种ID
  21418. in: query
  21419. name: wrstandardId
  21420. required: true
  21421. type: integer
  21422. produces:
  21423. - application/json
  21424. responses:
  21425. "200":
  21426. description: OK
  21427. schema:
  21428. items:
  21429. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  21430. type: array
  21431. "500":
  21432. description: Internal Server Error
  21433. schema:
  21434. $ref: '#/definitions/app.Response'
  21435. security:
  21436. - ApiKeyAuth: []
  21437. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  21438. tags:
  21439. - 企业风险管理(app)
  21440. /Ermcp/QueryFuturesCompany:
  21441. get:
  21442. produces:
  21443. - application/json
  21444. responses:
  21445. "200":
  21446. description: OK
  21447. schema:
  21448. items:
  21449. $ref: '#/definitions/models.ErmcpFuturesCompany'
  21450. type: array
  21451. "500":
  21452. description: Internal Server Error
  21453. schema:
  21454. $ref: '#/definitions/app.Response'
  21455. security:
  21456. - ApiKeyAuth: []
  21457. summary: 查询期货公司
  21458. tags:
  21459. - 企业风险管理(app)
  21460. /Ermcp/QueryGGConvertConfig:
  21461. get:
  21462. parameters:
  21463. - description: 品种id(不填则查所有)
  21464. in: query
  21465. name: goodsgroupid
  21466. type: integer
  21467. produces:
  21468. - application/json
  21469. responses:
  21470. "200":
  21471. description: OK
  21472. schema:
  21473. items:
  21474. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  21475. type: array
  21476. "500":
  21477. description: Internal Server Error
  21478. schema:
  21479. $ref: '#/definitions/app.Response'
  21480. security:
  21481. - ApiKeyAuth: []
  21482. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  21483. tags:
  21484. - 企业风险管理(app)
  21485. /Ermcp/QueryGoodsBrand:
  21486. get:
  21487. parameters:
  21488. - description: 用户ID
  21489. in: query
  21490. name: userid
  21491. required: true
  21492. type: integer
  21493. - description: 现货商品ID
  21494. in: query
  21495. name: wrstandardid
  21496. type: integer
  21497. produces:
  21498. - application/json
  21499. responses:
  21500. "200":
  21501. description: OK
  21502. schema:
  21503. items:
  21504. $ref: '#/definitions/models.ErmcpGoodsBrand'
  21505. type: array
  21506. "500":
  21507. description: Internal Server Error
  21508. schema:
  21509. $ref: '#/definitions/app.Response'
  21510. security:
  21511. - ApiKeyAuth: []
  21512. summary: 查询商品品牌
  21513. tags:
  21514. - 企业风险管理(app)
  21515. /Ermcp/QueryGoodsModel:
  21516. get:
  21517. parameters:
  21518. - description: 用户ID
  21519. in: query
  21520. name: userid
  21521. required: true
  21522. type: integer
  21523. produces:
  21524. - application/json
  21525. responses:
  21526. "200":
  21527. description: OK
  21528. schema:
  21529. items:
  21530. $ref: '#/definitions/models.ErmcpGoodsModel'
  21531. type: array
  21532. "500":
  21533. description: Internal Server Error
  21534. schema:
  21535. $ref: '#/definitions/app.Response'
  21536. security:
  21537. - ApiKeyAuth: []
  21538. summary: 查询商品型号
  21539. tags:
  21540. - 企业风险管理(app)
  21541. /Ermcp/QueryHisExposure:
  21542. get:
  21543. parameters:
  21544. - description: 用户id
  21545. in: query
  21546. name: userid
  21547. required: true
  21548. type: integer
  21549. - description: 每个品种记录数
  21550. in: query
  21551. name: lastNum
  21552. required: true
  21553. type: integer
  21554. produces:
  21555. - application/json
  21556. responses:
  21557. "200":
  21558. description: OK
  21559. schema:
  21560. items:
  21561. $ref: '#/definitions/ermcp.HisExposureRsp'
  21562. type: array
  21563. "500":
  21564. description: Internal Server Error
  21565. schema:
  21566. $ref: '#/definitions/app.Response'
  21567. security:
  21568. - ApiKeyAuth: []
  21569. summary: 查询历史敞口(菜单:敞口/历史敞口)
  21570. tags:
  21571. - 企业风险管理(app)
  21572. /Ermcp/QueryMiddleGoods:
  21573. get:
  21574. parameters:
  21575. - description: 所属机构ID
  21576. in: query
  21577. name: userid
  21578. required: true
  21579. type: integer
  21580. - description: 状态 0-停用 1-正常
  21581. in: query
  21582. name: status
  21583. required: true
  21584. type: integer
  21585. produces:
  21586. - application/json
  21587. responses:
  21588. "200":
  21589. description: OK
  21590. schema:
  21591. items:
  21592. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  21593. type: array
  21594. "500":
  21595. description: Internal Server Error
  21596. schema:
  21597. $ref: '#/definitions/app.Response'
  21598. security:
  21599. - ApiKeyAuth: []
  21600. summary: 查询套保品种(菜单:套保品种)
  21601. tags:
  21602. - 企业风险管理(app)
  21603. /Ermcp/QueryMiddleGoodsChangeLog:
  21604. get:
  21605. parameters:
  21606. - description: 所属机构ID
  21607. in: query
  21608. name: userid
  21609. required: true
  21610. type: integer
  21611. - description: 套保品种id
  21612. in: query
  21613. name: middlegoodsid
  21614. required: true
  21615. type: integer
  21616. produces:
  21617. - application/json
  21618. responses:
  21619. "200":
  21620. description: OK
  21621. schema:
  21622. items:
  21623. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  21624. type: array
  21625. "500":
  21626. description: Internal Server Error
  21627. schema:
  21628. $ref: '#/definitions/app.Response'
  21629. security:
  21630. - ApiKeyAuth: []
  21631. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  21632. tags:
  21633. - 企业风险管理(app)
  21634. /Ermcp/QueryMiddleGoodsDetail:
  21635. get:
  21636. parameters:
  21637. - description: 所属机构ID
  21638. in: query
  21639. name: userid
  21640. required: true
  21641. type: integer
  21642. - description: 套保品种id
  21643. in: query
  21644. name: middlegoodsid
  21645. type: integer
  21646. produces:
  21647. - application/json
  21648. responses:
  21649. "200":
  21650. description: OK
  21651. schema:
  21652. items:
  21653. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  21654. type: array
  21655. "500":
  21656. description: Internal Server Error
  21657. schema:
  21658. $ref: '#/definitions/app.Response'
  21659. security:
  21660. - ApiKeyAuth: []
  21661. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  21662. tags:
  21663. - 企业风险管理(app)
  21664. /Ermcp/QueryPendingAuditInfo:
  21665. get:
  21666. parameters:
  21667. - description: 用户ID
  21668. in: query
  21669. name: UserId
  21670. required: true
  21671. type: integer
  21672. produces:
  21673. - application/json
  21674. responses:
  21675. "200":
  21676. description: OK
  21677. schema:
  21678. items:
  21679. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  21680. type: array
  21681. "500":
  21682. description: Internal Server Error
  21683. schema:
  21684. $ref: '#/definitions/app.Response'
  21685. security:
  21686. - ApiKeyAuth: []
  21687. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  21688. tags:
  21689. - 企业风险管理(app)
  21690. /Ermcp/QueryRealtimeExposure:
  21691. get:
  21692. parameters:
  21693. - description: 所属机构ID
  21694. in: query
  21695. name: userid
  21696. required: true
  21697. type: integer
  21698. produces:
  21699. - application/json
  21700. responses:
  21701. "200":
  21702. description: OK
  21703. schema:
  21704. items:
  21705. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  21706. type: array
  21707. "500":
  21708. description: Internal Server Error
  21709. schema:
  21710. $ref: '#/definitions/app.Response'
  21711. security:
  21712. - ApiKeyAuth: []
  21713. summary: 查询实时敞口
  21714. tags:
  21715. - 企业风险管理(app)
  21716. /Ermcp/QueryRealtimeExposurePosition:
  21717. get:
  21718. parameters:
  21719. - description: 用户id
  21720. in: query
  21721. name: userid
  21722. required: true
  21723. type: integer
  21724. - description: 套保商品ID
  21725. in: query
  21726. name: middleGoodsId
  21727. required: true
  21728. type: integer
  21729. produces:
  21730. - application/json
  21731. responses:
  21732. "200":
  21733. description: OK
  21734. schema:
  21735. items:
  21736. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  21737. type: array
  21738. "500":
  21739. description: Internal Server Error
  21740. schema:
  21741. $ref: '#/definitions/app.Response'
  21742. security:
  21743. - ApiKeyAuth: []
  21744. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  21745. tags:
  21746. - 企业风险管理(app)
  21747. /Ermcp/QueryRoleMenu:
  21748. get:
  21749. parameters:
  21750. - description: 登录ID
  21751. in: query
  21752. name: loginid
  21753. required: true
  21754. type: integer
  21755. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  21756. in: query
  21757. name: menutype
  21758. type: integer
  21759. produces:
  21760. - application/json
  21761. responses:
  21762. "200":
  21763. description: OK
  21764. schema:
  21765. items:
  21766. $ref: '#/definitions/models.RoleMenu'
  21767. type: array
  21768. "500":
  21769. description: Internal Server Error
  21770. schema:
  21771. $ref: '#/definitions/app.Response'
  21772. security:
  21773. - ApiKeyAuth: []
  21774. summary: 查询角色菜单和权限
  21775. tags:
  21776. - 企业风险管理(app)
  21777. /Ermcp/QueryTradeConfigTMP:
  21778. get:
  21779. parameters:
  21780. - description: 所属机构id
  21781. in: query
  21782. name: areauserid
  21783. type: integer
  21784. produces:
  21785. - application/json
  21786. responses:
  21787. "200":
  21788. description: OK
  21789. schema:
  21790. items:
  21791. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  21792. type: array
  21793. "500":
  21794. description: Internal Server Error
  21795. schema:
  21796. $ref: '#/definitions/app.Response'
  21797. security:
  21798. - ApiKeyAuth: []
  21799. summary: 查询交易模板配置
  21800. tags:
  21801. - 企业风险管理(app)
  21802. /Ermcp/QueryUserInfo:
  21803. get:
  21804. parameters:
  21805. - description: 所属机构用户ID
  21806. in: query
  21807. name: MemberUserID
  21808. required: true
  21809. type: integer
  21810. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  21811. in: query
  21812. name: queryType
  21813. required: true
  21814. type: integer
  21815. produces:
  21816. - application/json
  21817. responses:
  21818. "200":
  21819. description: OK
  21820. schema:
  21821. items:
  21822. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  21823. type: array
  21824. "500":
  21825. description: Internal Server Error
  21826. schema:
  21827. $ref: '#/definitions/app.Response'
  21828. security:
  21829. - ApiKeyAuth: []
  21830. summary: 查询客户资料
  21831. tags:
  21832. - 企业风险管理(app)
  21833. /Ermcp/QueryWarehouseInfo:
  21834. get:
  21835. parameters:
  21836. - description: 用户ID
  21837. in: query
  21838. name: userid
  21839. required: true
  21840. type: integer
  21841. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  21842. in: query
  21843. name: status
  21844. type: string
  21845. produces:
  21846. - application/json
  21847. responses:
  21848. "200":
  21849. description: OK
  21850. schema:
  21851. items:
  21852. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  21853. type: array
  21854. "500":
  21855. description: Internal Server Error
  21856. schema:
  21857. $ref: '#/definitions/app.Response'
  21858. security:
  21859. - ApiKeyAuth: []
  21860. summary: 查询仓库信息
  21861. tags:
  21862. - 企业风险管理(app)
  21863. /Ermcp3/QryAreaExpourseContractDetail:
  21864. get:
  21865. parameters:
  21866. - description: 用户ID
  21867. in: query
  21868. name: userid
  21869. required: true
  21870. type: integer
  21871. - description: 套保商品id
  21872. in: query
  21873. name: middlegoodsid
  21874. required: true
  21875. type: integer
  21876. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21877. in: query
  21878. name: cycletype
  21879. required: true
  21880. type: integer
  21881. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21882. 全(0)【原值】
  21883. in: query
  21884. name: cycletime
  21885. required: true
  21886. type: string
  21887. produces:
  21888. - application/json
  21889. responses:
  21890. "200":
  21891. description: OK
  21892. schema:
  21893. items:
  21894. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  21895. type: array
  21896. "500":
  21897. description: Internal Server Error
  21898. schema:
  21899. $ref: '#/definitions/app.Response'
  21900. security:
  21901. - ApiKeyAuth: []
  21902. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  21903. tags:
  21904. - 企业风险管理v3(app)
  21905. /Ermcp3/QryAreaExpourseFutuDetail:
  21906. get:
  21907. parameters:
  21908. - description: 用户ID
  21909. in: query
  21910. name: userid
  21911. required: true
  21912. type: integer
  21913. - description: 套保商品id
  21914. in: query
  21915. name: middlegoodsid
  21916. required: true
  21917. type: integer
  21918. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21919. in: query
  21920. name: cycletype
  21921. required: true
  21922. type: integer
  21923. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21924. 全(0)【原值】
  21925. in: query
  21926. name: cycletime
  21927. required: true
  21928. type: string
  21929. produces:
  21930. - application/json
  21931. responses:
  21932. "200":
  21933. description: OK
  21934. schema:
  21935. items:
  21936. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  21937. type: array
  21938. "500":
  21939. description: Internal Server Error
  21940. schema:
  21941. $ref: '#/definitions/app.Response'
  21942. security:
  21943. - ApiKeyAuth: []
  21944. summary: 查询敞口期货明细(敞口报表/期货明细)
  21945. tags:
  21946. - 企业风险管理v3(app)
  21947. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  21948. get:
  21949. parameters:
  21950. - description: 用户ID
  21951. in: query
  21952. name: userid
  21953. required: true
  21954. type: integer
  21955. - description: 套保商品id
  21956. in: query
  21957. name: middlegoodsid
  21958. required: true
  21959. type: integer
  21960. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21961. in: query
  21962. name: cycletype
  21963. required: true
  21964. type: integer
  21965. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21966. 全(0)【原值】
  21967. in: query
  21968. name: cycletime
  21969. required: true
  21970. type: string
  21971. produces:
  21972. - application/json
  21973. responses:
  21974. "200":
  21975. description: OK
  21976. schema:
  21977. items:
  21978. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  21979. type: array
  21980. "500":
  21981. description: Internal Server Error
  21982. schema:
  21983. $ref: '#/definitions/app.Response'
  21984. security:
  21985. - ApiKeyAuth: []
  21986. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  21987. tags:
  21988. - 企业风险管理v3(app)
  21989. /Ermcp3/QryAreaExpourseParamChLogDetail:
  21990. get:
  21991. parameters:
  21992. - description: 用户ID
  21993. in: query
  21994. name: userid
  21995. required: true
  21996. type: integer
  21997. - description: 套保商品id
  21998. in: query
  21999. name: middlegoodsid
  22000. required: true
  22001. type: integer
  22002. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22003. in: query
  22004. name: cycletype
  22005. required: true
  22006. type: integer
  22007. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22008. 全(0)【原值】
  22009. in: query
  22010. name: cycletime
  22011. required: true
  22012. type: string
  22013. produces:
  22014. - application/json
  22015. responses:
  22016. "200":
  22017. description: OK
  22018. schema:
  22019. items:
  22020. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  22021. type: array
  22022. "500":
  22023. description: Internal Server Error
  22024. schema:
  22025. $ref: '#/definitions/app.Response'
  22026. security:
  22027. - ApiKeyAuth: []
  22028. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  22029. tags:
  22030. - 企业风险管理v3(app)
  22031. /Ermcp3/QryAreaExpourseReport:
  22032. get:
  22033. parameters:
  22034. - description: 用户ID
  22035. in: query
  22036. name: userid
  22037. required: true
  22038. type: integer
  22039. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  22040. in: query
  22041. name: querytype
  22042. required: true
  22043. type: integer
  22044. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22045. in: query
  22046. name: cycletype
  22047. required: true
  22048. type: integer
  22049. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22050. 全(0)【原值】
  22051. in: query
  22052. name: cycletime
  22053. required: true
  22054. type: string
  22055. produces:
  22056. - application/json
  22057. responses:
  22058. "200":
  22059. description: OK
  22060. schema:
  22061. items:
  22062. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  22063. type: array
  22064. "500":
  22065. description: Internal Server Error
  22066. schema:
  22067. $ref: '#/definitions/app.Response'
  22068. security:
  22069. - ApiKeyAuth: []
  22070. summary: 查询敞口报表
  22071. tags:
  22072. - 企业风险管理v3(app)
  22073. /Ermcp3/QryAreaSpotplReport:
  22074. get:
  22075. description: 目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1
  22076. parameters:
  22077. - description: 用户ID
  22078. in: query
  22079. name: userid
  22080. required: true
  22081. type: integer
  22082. - description: 查询类型 1-报表 2-报表明细
  22083. in: query
  22084. name: querytype
  22085. required: true
  22086. type: integer
  22087. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22088. in: query
  22089. name: cycletype
  22090. required: true
  22091. type: integer
  22092. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22093. 全(0)【原值】
  22094. in: query
  22095. name: cycletime
  22096. required: true
  22097. type: string
  22098. - description: 现货品种id(明细必填)
  22099. in: query
  22100. name: deliverygoodsid
  22101. type: integer
  22102. - description: 币种id(明细必填)
  22103. in: query
  22104. name: currencyid
  22105. type: integer
  22106. - description: 日/周/月报表汇总维度 1:品种+品类
  22107. in: query
  22108. name: sumflag
  22109. type: integer
  22110. produces:
  22111. - application/json
  22112. responses:
  22113. "200":
  22114. description: OK
  22115. schema:
  22116. items:
  22117. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  22118. type: array
  22119. "500":
  22120. description: Internal Server Error
  22121. schema:
  22122. $ref: '#/definitions/app.Response'
  22123. security:
  22124. - ApiKeyAuth: []
  22125. summary: 查询现货报表
  22126. tags:
  22127. - 企业风险管理v3(app)
  22128. /Ermcp3/QryAreaStockReport:
  22129. get:
  22130. parameters:
  22131. - description: 用户ID
  22132. in: query
  22133. name: userid
  22134. required: true
  22135. type: integer
  22136. - description: 查询类型 1-报表 2-报表明细
  22137. in: query
  22138. name: querytype
  22139. required: true
  22140. type: integer
  22141. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22142. in: query
  22143. name: cycletype
  22144. required: true
  22145. type: integer
  22146. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22147. 全(0)【原值】
  22148. in: query
  22149. name: cycletime
  22150. required: true
  22151. type: string
  22152. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  22153. in: query
  22154. name: sumfields
  22155. type: string
  22156. - description: 品种ID
  22157. in: query
  22158. name: deliverygoodsid
  22159. type: integer
  22160. - description: 品类ID
  22161. in: query
  22162. name: wrstandardid
  22163. type: integer
  22164. - description: 品牌ID
  22165. in: query
  22166. name: spotgoodsbrandid
  22167. type: integer
  22168. - description: 仓库ID
  22169. in: query
  22170. name: warehouseinfoid
  22171. type: integer
  22172. produces:
  22173. - application/json
  22174. responses:
  22175. "200":
  22176. description: OK
  22177. schema:
  22178. items:
  22179. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  22180. type: array
  22181. "500":
  22182. description: Internal Server Error
  22183. schema:
  22184. $ref: '#/definitions/app.Response'
  22185. security:
  22186. - ApiKeyAuth: []
  22187. summary: 查询库存报表
  22188. tags:
  22189. - 企业风险管理v3(app)
  22190. /Ermcp3/QryAreaSumPL:
  22191. get:
  22192. parameters:
  22193. - description: 用户ID
  22194. in: query
  22195. name: userid
  22196. required: true
  22197. type: integer
  22198. - description: 查询类型 1-报表 2-报表明细
  22199. in: query
  22200. name: querytype
  22201. required: true
  22202. type: integer
  22203. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22204. in: query
  22205. name: cycletype
  22206. required: true
  22207. type: integer
  22208. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22209. 全(0)【原值】
  22210. in: query
  22211. name: cycletime
  22212. required: true
  22213. type: string
  22214. - description: 币种id(明细必填)
  22215. in: query
  22216. name: currencyid
  22217. type: integer
  22218. produces:
  22219. - application/json
  22220. responses:
  22221. "200":
  22222. description: OK
  22223. schema:
  22224. items:
  22225. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  22226. type: array
  22227. "500":
  22228. description: Internal Server Error
  22229. schema:
  22230. $ref: '#/definitions/app.Response'
  22231. security:
  22232. - ApiKeyAuth: []
  22233. summary: 查询汇总损益表
  22234. tags:
  22235. - 企业风险管理v3(app)
  22236. /Ermcp3/QryFinanceReport:
  22237. get:
  22238. parameters:
  22239. - description: 用户ID
  22240. in: query
  22241. name: userid
  22242. required: true
  22243. type: integer
  22244. - description: 查询类型 1-报表 2-报表明细
  22245. in: query
  22246. name: querytype
  22247. required: true
  22248. type: integer
  22249. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22250. in: query
  22251. name: cycletype
  22252. required: true
  22253. type: integer
  22254. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22255. 全(0)【原值】
  22256. in: query
  22257. name: cycletime
  22258. required: true
  22259. type: string
  22260. - description: 币种id(报表明细必填)
  22261. in: query
  22262. name: currencyid
  22263. type: integer
  22264. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  22265. in: query
  22266. name: sumfields
  22267. type: string
  22268. produces:
  22269. - application/json
  22270. responses:
  22271. "200":
  22272. description: OK
  22273. schema:
  22274. items:
  22275. $ref: '#/definitions/models.Ermcp3FinanceReport'
  22276. type: array
  22277. "500":
  22278. description: Internal Server Error
  22279. schema:
  22280. $ref: '#/definitions/app.Response'
  22281. security:
  22282. - ApiKeyAuth: []
  22283. summary: 查询财务报表
  22284. tags:
  22285. - 企业风险管理v3(app)
  22286. /Ermcp3/QrySCMiddleGoodsReport:
  22287. get:
  22288. parameters:
  22289. - description: 用户ID
  22290. in: query
  22291. name: userid
  22292. required: true
  22293. type: integer
  22294. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22295. in: query
  22296. name: cycletype
  22297. required: true
  22298. type: integer
  22299. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22300. 全(0)【原值】
  22301. in: query
  22302. name: cycletime
  22303. required: true
  22304. type: string
  22305. - description: 合同id
  22306. in: query
  22307. name: spotcontractid
  22308. type: integer
  22309. - description: 套保品种id
  22310. in: query
  22311. name: middlegoodsid
  22312. type: integer
  22313. - description: 现货品种id
  22314. in: query
  22315. name: deliverygoodsid
  22316. type: integer
  22317. - description: 现货商品id
  22318. in: query
  22319. name: wrstandardid
  22320. type: integer
  22321. - description: 合同编号(模糊匹配)
  22322. in: query
  22323. name: contractno
  22324. type: string
  22325. produces:
  22326. - application/json
  22327. responses:
  22328. "200":
  22329. description: OK
  22330. schema:
  22331. items:
  22332. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  22333. type: array
  22334. "500":
  22335. description: Internal Server Error
  22336. schema:
  22337. $ref: '#/definitions/app.Response'
  22338. security:
  22339. - ApiKeyAuth: []
  22340. summary: 查询定价报表
  22341. tags:
  22342. - 企业风险管理v3(app)
  22343. /Ermcp3/QryTaFutureDataReport:
  22344. get:
  22345. parameters:
  22346. - description: 用户ID
  22347. in: query
  22348. name: userid
  22349. required: true
  22350. type: integer
  22351. - description: 查询类型 1-报表 2-报表明细
  22352. in: query
  22353. name: querytype
  22354. required: true
  22355. type: integer
  22356. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22357. in: query
  22358. name: cycletype
  22359. required: true
  22360. type: integer
  22361. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22362. 全(0)【原值】
  22363. in: query
  22364. name: cycletime
  22365. required: true
  22366. type: string
  22367. - description: 币种id(查明细必填)
  22368. in: query
  22369. name: currencyid
  22370. type: integer
  22371. - description: 品种id(查明细必填)
  22372. in: query
  22373. name: goodsgroupid
  22374. type: integer
  22375. - description: 商品id(查明细必填)
  22376. in: query
  22377. name: goodsid
  22378. type: integer
  22379. - description: 买卖方向(查明细必填)
  22380. in: query
  22381. name: buyorsell
  22382. type: integer
  22383. produces:
  22384. - application/json
  22385. responses:
  22386. "200":
  22387. description: OK
  22388. schema:
  22389. items:
  22390. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  22391. type: array
  22392. "500":
  22393. description: Internal Server Error
  22394. schema:
  22395. $ref: '#/definitions/app.Response'
  22396. security:
  22397. - ApiKeyAuth: []
  22398. summary: 查询期货报表
  22399. tags:
  22400. - 企业风险管理v3(app)
  22401. /Ermcp3/QueryAreaStock:
  22402. get:
  22403. parameters:
  22404. - description: 用户ID
  22405. in: query
  22406. name: userid
  22407. required: true
  22408. type: integer
  22409. produces:
  22410. - application/json
  22411. responses:
  22412. "200":
  22413. description: OK
  22414. schema:
  22415. items:
  22416. $ref: '#/definitions/models.Ermcp3AreaStock'
  22417. type: array
  22418. "500":
  22419. description: Internal Server Error
  22420. schema:
  22421. $ref: '#/definitions/app.Response'
  22422. security:
  22423. - ApiKeyAuth: []
  22424. summary: 查询机构库存(库存管理/当前库存)
  22425. tags:
  22426. - 企业风险管理v3(app)
  22427. /Ermcp3/QueryAreaStockApply:
  22428. get:
  22429. parameters:
  22430. - description: 用户ID
  22431. in: query
  22432. name: userid
  22433. required: true
  22434. type: integer
  22435. - description: 用户类型 2-机构 7-企业成员
  22436. in: query
  22437. name: usertype
  22438. type: integer
  22439. - description: 现货商品ID
  22440. in: query
  22441. name: deliverygoodsid
  22442. type: integer
  22443. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  22444. in: query
  22445. name: inouttype
  22446. type: string
  22447. - description: 合同ID
  22448. in: query
  22449. name: spotcontractid
  22450. type: integer
  22451. - description: 品类ID
  22452. in: query
  22453. name: wrstandardid
  22454. type: integer
  22455. - description: 品牌ID
  22456. in: query
  22457. name: spotgoodsbrandid
  22458. type: integer
  22459. - description: 仓库ID
  22460. in: query
  22461. name: warehouseinfoid
  22462. type: integer
  22463. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22464. in: query
  22465. name: applystatus
  22466. type: string
  22467. produces:
  22468. - application/json
  22469. responses:
  22470. "200":
  22471. description: OK
  22472. schema:
  22473. items:
  22474. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  22475. type: array
  22476. "500":
  22477. description: Internal Server Error
  22478. schema:
  22479. $ref: '#/definitions/app.Response'
  22480. security:
  22481. - ApiKeyAuth: []
  22482. summary: 查询库存申请(出入库记录|库存审核)
  22483. tags:
  22484. - 企业风险管理v3(app)
  22485. /Ermcp3/QueryAreaStockApplySum:
  22486. get:
  22487. parameters:
  22488. - description: 合同ID
  22489. in: query
  22490. name: spotcontractid
  22491. required: true
  22492. type: integer
  22493. produces:
  22494. - application/json
  22495. responses:
  22496. "200":
  22497. description: OK
  22498. schema:
  22499. items:
  22500. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  22501. type: array
  22502. "500":
  22503. description: Internal Server Error
  22504. schema:
  22505. $ref: '#/definitions/app.Response'
  22506. security:
  22507. - ApiKeyAuth: []
  22508. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  22509. tags:
  22510. - 企业风险管理v3(app)
  22511. /Ermcp3/QueryDGFactoryItem:
  22512. get:
  22513. parameters:
  22514. - description: 用户id
  22515. in: query
  22516. name: userid
  22517. type: integer
  22518. - description: 用户类型 2-机构 7-企业成员
  22519. in: query
  22520. name: usertype
  22521. type: integer
  22522. - description: 选择项ID(SEQ_DGFACTORYITEM)
  22523. in: query
  22524. name: dgfactoryitemid
  22525. type: integer
  22526. - description: 现货品种ID
  22527. in: query
  22528. name: deliverygoodsid
  22529. type: integer
  22530. - description: 要素项类型
  22531. in: query
  22532. name: dgfactoryitemtypeid
  22533. type: integer
  22534. - description: 顺序
  22535. in: query
  22536. name: orderindex
  22537. type: integer
  22538. produces:
  22539. - application/json
  22540. responses:
  22541. "200":
  22542. description: OK
  22543. schema:
  22544. items:
  22545. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  22546. type: array
  22547. "500":
  22548. description: Internal Server Error
  22549. schema:
  22550. $ref: '#/definitions/app.Response'
  22551. security:
  22552. - ApiKeyAuth: []
  22553. summary: 查询品种要素定义项
  22554. tags:
  22555. - 企业风险管理v3(app)
  22556. /Ermcp3/QueryDeliveryGoods:
  22557. get:
  22558. parameters:
  22559. - description: 用户id
  22560. in: query
  22561. name: userid
  22562. required: true
  22563. type: integer
  22564. - description: 用户类型 2-机构 7-企业成员
  22565. in: query
  22566. name: usertype
  22567. type: integer
  22568. - description: 排除已配置的业务类型商品 1-套保 2-套利
  22569. in: query
  22570. name: excludecfg
  22571. type: integer
  22572. produces:
  22573. - application/json
  22574. responses:
  22575. "200":
  22576. description: OK
  22577. schema:
  22578. items:
  22579. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  22580. type: array
  22581. "500":
  22582. description: Internal Server Error
  22583. schema:
  22584. $ref: '#/definitions/app.Response'
  22585. security:
  22586. - ApiKeyAuth: []
  22587. summary: 查询现货商品
  22588. tags:
  22589. - 企业风险管理v3(app)
  22590. /Ermcp3/QueryDeliveryGoodsDetail:
  22591. get:
  22592. parameters:
  22593. - description: 用户id
  22594. in: query
  22595. name: userid
  22596. required: true
  22597. type: integer
  22598. - description: 用户类型 2-机构 7-企业成员
  22599. in: query
  22600. name: usertype
  22601. type: integer
  22602. - description: 现货商品id
  22603. in: query
  22604. name: deliverygoodsid
  22605. type: integer
  22606. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  22607. in: query
  22608. name: filtersubempty
  22609. type: integer
  22610. produces:
  22611. - application/json
  22612. responses:
  22613. "200":
  22614. description: OK
  22615. schema:
  22616. items:
  22617. $ref: '#/definitions/models.XHDeliveryGoods'
  22618. type: array
  22619. "500":
  22620. description: Internal Server Error
  22621. schema:
  22622. $ref: '#/definitions/app.Response'
  22623. security:
  22624. - ApiKeyAuth: []
  22625. summary: 查询现货商品详情
  22626. tags:
  22627. - 企业风险管理v3(app)
  22628. /Ermcp3/QueryErmcp3ContractMiddleGoodsCfg:
  22629. get:
  22630. parameters:
  22631. - description: 合同id
  22632. in: query
  22633. name: spotcontractid
  22634. required: true
  22635. type: string
  22636. produces:
  22637. - application/json
  22638. responses:
  22639. "200":
  22640. description: OK
  22641. schema:
  22642. items:
  22643. $ref: '#/definitions/models.Ermcp3ContractMiddleGoodsCfg'
  22644. type: array
  22645. "500":
  22646. description: Internal Server Error
  22647. schema:
  22648. $ref: '#/definitions/app.Response'
  22649. security:
  22650. - ApiKeyAuth: []
  22651. summary: 查询现货合同期现配置信息
  22652. tags:
  22653. - 企业风险管理v3(app)
  22654. /Ermcp3/QueryExposureDetail:
  22655. get:
  22656. parameters:
  22657. - description: 用户id
  22658. in: query
  22659. name: userid
  22660. required: true
  22661. type: integer
  22662. - description: 用户类型 2-机构 7-企业成员
  22663. in: query
  22664. name: usertype
  22665. type: integer
  22666. - description: 套保商品
  22667. in: query
  22668. name: middlegoodsid
  22669. required: true
  22670. type: integer
  22671. produces:
  22672. - application/json
  22673. responses:
  22674. "200":
  22675. description: OK
  22676. schema:
  22677. items:
  22678. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  22679. type: array
  22680. "500":
  22681. description: Internal Server Error
  22682. schema:
  22683. $ref: '#/definitions/app.Response'
  22684. security:
  22685. - ApiKeyAuth: []
  22686. summary: 查询敞口现货明细
  22687. tags:
  22688. - 企业风险管理v3(app)
  22689. /Ermcp3/QueryExposureSpot:
  22690. get:
  22691. parameters:
  22692. - description: 用户id
  22693. in: query
  22694. name: userid
  22695. required: true
  22696. type: integer
  22697. - description: 用户类型 2-机构 7-企业成员
  22698. in: query
  22699. name: usertype
  22700. type: integer
  22701. produces:
  22702. - application/json
  22703. responses:
  22704. "200":
  22705. description: OK
  22706. schema:
  22707. items:
  22708. $ref: '#/definitions/models.Ermcp3AreaSpot'
  22709. type: array
  22710. "500":
  22711. description: Internal Server Error
  22712. schema:
  22713. $ref: '#/definitions/app.Response'
  22714. security:
  22715. - ApiKeyAuth: []
  22716. summary: 查询敞口现货头寸(敞口/现货头寸)
  22717. tags:
  22718. - 企业风险管理v3(app)
  22719. /Ermcp3/QueryExposureSpotDetail:
  22720. get:
  22721. parameters:
  22722. - description: 用户id
  22723. in: query
  22724. name: userid
  22725. required: true
  22726. type: integer
  22727. - description: 用户类型 2-机构 7-企业成员
  22728. in: query
  22729. name: usertype
  22730. type: integer
  22731. - description: 现货商品ID
  22732. in: query
  22733. name: wrstandardid
  22734. required: true
  22735. type: integer
  22736. produces:
  22737. - application/json
  22738. responses:
  22739. "200":
  22740. description: OK
  22741. schema:
  22742. items:
  22743. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  22744. type: array
  22745. "500":
  22746. description: Internal Server Error
  22747. schema:
  22748. $ref: '#/definitions/app.Response'
  22749. security:
  22750. - ApiKeyAuth: []
  22751. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  22752. tags:
  22753. - 企业风险管理v3(app)
  22754. /Ermcp3/QueryGoodsGroup:
  22755. get:
  22756. parameters:
  22757. - description: 用户id
  22758. in: query
  22759. name: userid
  22760. required: true
  22761. type: integer
  22762. - description: 用户类型 2-机构 7-企业成员
  22763. in: query
  22764. name: usertype
  22765. type: integer
  22766. - description: 排除套保品中已关联的商品组 1-排除
  22767. in: query
  22768. name: excludecfg
  22769. type: integer
  22770. produces:
  22771. - application/json
  22772. responses:
  22773. "200":
  22774. description: OK
  22775. schema:
  22776. items:
  22777. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  22778. type: array
  22779. "500":
  22780. description: Internal Server Error
  22781. schema:
  22782. $ref: '#/definitions/app.Response'
  22783. security:
  22784. - ApiKeyAuth: []
  22785. summary: 查询期货商品组
  22786. tags:
  22787. - 企业风险管理v3(app)
  22788. /Ermcp3/QueryGoodsWrstandard:
  22789. get:
  22790. parameters:
  22791. - description: 用户id
  22792. in: query
  22793. name: userid
  22794. required: true
  22795. type: integer
  22796. - description: 用户类型 2-机构 7-企业成员
  22797. in: query
  22798. name: usertype
  22799. type: integer
  22800. - description: 现货商品id
  22801. in: query
  22802. name: deliverygoodsid
  22803. type: integer
  22804. produces:
  22805. - application/json
  22806. responses:
  22807. "200":
  22808. description: OK
  22809. schema:
  22810. items:
  22811. $ref: '#/definitions/models.Ermcp3Wrstandard'
  22812. type: array
  22813. "500":
  22814. description: Internal Server Error
  22815. schema:
  22816. $ref: '#/definitions/app.Response'
  22817. security:
  22818. - ApiKeyAuth: []
  22819. summary: 查询商品品类
  22820. tags:
  22821. - 企业风险管理v3(app)
  22822. /Ermcp3/QueryGoodsbrand:
  22823. get:
  22824. parameters:
  22825. - description: 用户id
  22826. in: query
  22827. name: userid
  22828. required: true
  22829. type: integer
  22830. - description: 用户类型 2-机构 7-企业成员
  22831. in: query
  22832. name: usertype
  22833. type: integer
  22834. produces:
  22835. - application/json
  22836. responses:
  22837. "200":
  22838. description: OK
  22839. schema:
  22840. items:
  22841. $ref: '#/definitions/models.Ermcp3Brand'
  22842. type: array
  22843. "500":
  22844. description: Internal Server Error
  22845. schema:
  22846. $ref: '#/definitions/app.Response'
  22847. security:
  22848. - ApiKeyAuth: []
  22849. summary: 查询商品品牌
  22850. tags:
  22851. - 企业风险管理v3(app)
  22852. /Ermcp3/QueryHPMiddleGoods:
  22853. get:
  22854. parameters:
  22855. - description: 用户ID(填登录用户的userid)
  22856. in: query
  22857. name: userid
  22858. required: true
  22859. type: integer
  22860. - description: 买卖方向 0-买 1-卖
  22861. in: query
  22862. name: buyorsell
  22863. required: true
  22864. type: integer
  22865. - description: 商品组id
  22866. in: query
  22867. name: goodsgroupid
  22868. required: true
  22869. type: integer
  22870. - description: 套保计划编号(模糊匹配)
  22871. in: query
  22872. name: hedgeplanno
  22873. type: string
  22874. - description: 现货商品名称(模糊匹配)
  22875. in: query
  22876. name: wrstandardname
  22877. type: string
  22878. produces:
  22879. - application/json
  22880. responses:
  22881. "200":
  22882. description: OK
  22883. schema:
  22884. items:
  22885. $ref: '#/definitions/models.Ermcp3HPMiddleGoods'
  22886. type: array
  22887. "500":
  22888. description: Internal Server Error
  22889. schema:
  22890. $ref: '#/definitions/app.Response'
  22891. security:
  22892. - ApiKeyAuth: []
  22893. summary: 查询可关联套保计划
  22894. tags:
  22895. - 企业风险管理v3(app)
  22896. /Ermcp3/QueryHedgePlan:
  22897. get:
  22898. parameters:
  22899. - description: 用户ID
  22900. in: query
  22901. name: userid
  22902. required: true
  22903. type: integer
  22904. - description: 用户类型 2-机构 7-企业成员
  22905. in: query
  22906. name: usertype
  22907. type: integer
  22908. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22909. in: query
  22910. name: hedgeplanstatus
  22911. required: true
  22912. type: string
  22913. produces:
  22914. - application/json
  22915. responses:
  22916. "200":
  22917. description: OK
  22918. schema:
  22919. items:
  22920. $ref: '#/definitions/models.Ermcp3HedgePlan'
  22921. type: array
  22922. "500":
  22923. description: Internal Server Error
  22924. schema:
  22925. $ref: '#/definitions/app.Response'
  22926. security:
  22927. - ApiKeyAuth: []
  22928. summary: 查询套保计划
  22929. tags:
  22930. - 企业风险管理v3(app)
  22931. /Ermcp3/QueryInnerTradeLink:
  22932. get:
  22933. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  22934. parameters:
  22935. - description: 外部成交单号
  22936. in: query
  22937. name: outtradeid
  22938. required: true
  22939. type: integer
  22940. produces:
  22941. - application/json
  22942. responses:
  22943. "200":
  22944. description: OK
  22945. schema:
  22946. items:
  22947. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  22948. type: array
  22949. "500":
  22950. description: Internal Server Error
  22951. schema:
  22952. $ref: '#/definitions/app.Response'
  22953. security:
  22954. - ApiKeyAuth: []
  22955. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  22956. tags:
  22957. - 企业风险管理v3(app)
  22958. /Ermcp3/QueryMiddleGoodsDetail:
  22959. get:
  22960. parameters:
  22961. - description: 用户id
  22962. in: query
  22963. name: userid
  22964. required: true
  22965. type: integer
  22966. - description: 用户类型 2-机构 7-企业成员
  22967. in: query
  22968. name: usertype
  22969. type: integer
  22970. - description: 套保品种id
  22971. in: query
  22972. name: middlegoodsid
  22973. type: integer
  22974. produces:
  22975. - application/json
  22976. responses:
  22977. "200":
  22978. description: OK
  22979. schema:
  22980. items:
  22981. $ref: '#/definitions/models.TBMiddleGoods'
  22982. type: array
  22983. "500":
  22984. description: Internal Server Error
  22985. schema:
  22986. $ref: '#/definitions/app.Response'
  22987. security:
  22988. - ApiKeyAuth: []
  22989. summary: 查询套保品种详情(套保品种/商品详情)
  22990. tags:
  22991. - 企业风险管理v3(app)
  22992. /Ermcp3/QueryOutTradeLink:
  22993. get:
  22994. description: 页面 app 现货->期现关联->外部成交单关联
  22995. parameters:
  22996. - description: 用户ID(填登录用户的userid)
  22997. in: query
  22998. name: userid
  22999. required: true
  23000. type: integer
  23001. - description: 外部订单号(模糊匹配)
  23002. in: query
  23003. name: outtradeid
  23004. type: string
  23005. - description: 合约名称/代码(模糊匹配)
  23006. in: query
  23007. name: goodsname
  23008. type: string
  23009. - description: 关联状态 0-未关联 1-已关联
  23010. in: query
  23011. name: hasinnerorder
  23012. type: integer
  23013. produces:
  23014. - application/json
  23015. responses:
  23016. "200":
  23017. description: OK
  23018. schema:
  23019. items:
  23020. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  23021. type: array
  23022. "500":
  23023. description: Internal Server Error
  23024. schema:
  23025. $ref: '#/definitions/app.Response'
  23026. security:
  23027. - ApiKeyAuth: []
  23028. summary: 查询外部成交单关联
  23029. tags:
  23030. - 企业风险管理v3(app)
  23031. /Ermcp3/QueryPaAreaAuditCfg:
  23032. get:
  23033. parameters:
  23034. - description: 用户id
  23035. in: query
  23036. name: userid
  23037. required: true
  23038. type: integer
  23039. produces:
  23040. - application/json
  23041. responses:
  23042. "200":
  23043. description: OK
  23044. schema:
  23045. items:
  23046. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  23047. type: array
  23048. "500":
  23049. description: Internal Server Error
  23050. schema:
  23051. $ref: '#/definitions/app.Response'
  23052. security:
  23053. - ApiKeyAuth: []
  23054. summary: 查询审核设置
  23055. tags:
  23056. - 企业风险管理v3(app)
  23057. /Ermcp3/QueryPaAreaSubject:
  23058. get:
  23059. parameters:
  23060. - description: 用户id
  23061. in: query
  23062. name: userid
  23063. required: true
  23064. type: integer
  23065. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  23066. in: query
  23067. name: subjectid
  23068. type: integer
  23069. - description: 主体类型 - 1:交易主体 2:业务部门
  23070. in: query
  23071. name: subjecttype
  23072. type: integer
  23073. - description: '主体状态 - 1:正常 2: 停用'
  23074. in: query
  23075. name: subjectstatus
  23076. type: integer
  23077. produces:
  23078. - application/json
  23079. responses:
  23080. "200":
  23081. description: OK
  23082. schema:
  23083. items:
  23084. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  23085. type: array
  23086. "500":
  23087. description: Internal Server Error
  23088. schema:
  23089. $ref: '#/definitions/app.Response'
  23090. security:
  23091. - ApiKeyAuth: []
  23092. summary: 查询交易主体
  23093. tags:
  23094. - 企业风险管理v3(app)
  23095. /Ermcp3/QueryPaTradeLink:
  23096. get:
  23097. description: 页面 app 现货->期现关联->期现单据关联
  23098. parameters:
  23099. - description: 用户ID
  23100. in: query
  23101. name: userid
  23102. required: true
  23103. type: integer
  23104. produces:
  23105. - application/json
  23106. responses:
  23107. "200":
  23108. description: OK
  23109. schema:
  23110. items:
  23111. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  23112. type: array
  23113. "500":
  23114. description: Internal Server Error
  23115. schema:
  23116. $ref: '#/definitions/app.Response'
  23117. security:
  23118. - ApiKeyAuth: []
  23119. summary: 查询期现单据关联
  23120. tags:
  23121. - 企业风险管理v3(app)
  23122. /Ermcp3/QueryPaTradeLinkDetail:
  23123. get:
  23124. description: 页面 app 现货->期现关联->关联记录
  23125. parameters:
  23126. - description: 用户ID(填登录用户的userid)
  23127. in: query
  23128. name: userid
  23129. required: true
  23130. type: integer
  23131. - description: 关联状态 1:成功 2:失败 3:解绑
  23132. in: query
  23133. name: linkstatus
  23134. type: integer
  23135. - description: 期货订单号(模糊匹配)
  23136. in: query
  23137. name: tradeid
  23138. type: string
  23139. - description: 现货编号(模糊匹配)
  23140. in: query
  23141. name: contractno
  23142. type: string
  23143. - description: 期货账户(模糊匹配)
  23144. in: query
  23145. name: taname
  23146. type: string
  23147. produces:
  23148. - application/json
  23149. responses:
  23150. "200":
  23151. description: OK
  23152. schema:
  23153. items:
  23154. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  23155. type: array
  23156. "500":
  23157. description: Internal Server Error
  23158. schema:
  23159. $ref: '#/definitions/app.Response'
  23160. security:
  23161. - ApiKeyAuth: []
  23162. summary: 查询期现关联记录
  23163. tags:
  23164. - 企业风险管理v3(app)
  23165. /Ermcp3/QueryParamChangeApp:
  23166. get:
  23167. description: |-
  23168. 原型页面:
  23169. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  23170. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  23171. parameters:
  23172. - description: 用户ID
  23173. in: query
  23174. name: userid
  23175. required: true
  23176. type: integer
  23177. - description: 现货品种id
  23178. in: query
  23179. name: deliverygoodsid
  23180. type: integer
  23181. - description: 现货商品id
  23182. in: query
  23183. name: wrstandardid
  23184. type: integer
  23185. - description: 套保商品id
  23186. in: query
  23187. name: middlegoodsid
  23188. type: integer
  23189. - description: 操作类型 1:新增 2:修改
  23190. in: query
  23191. name: operatetype
  23192. type: integer
  23193. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  23194. in: query
  23195. name: paramchangetype
  23196. type: integer
  23197. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23198. in: query
  23199. name: ftstatus
  23200. type: string
  23201. produces:
  23202. - application/json
  23203. responses:
  23204. "200":
  23205. description: OK
  23206. schema:
  23207. items:
  23208. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  23209. type: array
  23210. "500":
  23211. description: Internal Server Error
  23212. schema:
  23213. $ref: '#/definitions/app.Response'
  23214. security:
  23215. - ApiKeyAuth: []
  23216. summary: 查询现货商品参数变更申请(流水)
  23217. tags:
  23218. - 企业风险管理v3(app)
  23219. /Ermcp3/QueryRootUserAccount:
  23220. get:
  23221. parameters:
  23222. - description: 用户ID
  23223. in: query
  23224. name: userid
  23225. required: true
  23226. type: integer
  23227. produces:
  23228. - application/json
  23229. responses:
  23230. "200":
  23231. description: OK
  23232. schema:
  23233. items:
  23234. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  23235. type: array
  23236. "500":
  23237. description: Internal Server Error
  23238. schema:
  23239. $ref: '#/definitions/app.Response'
  23240. security:
  23241. - ApiKeyAuth: []
  23242. summary: 查询顶级用户信息
  23243. tags:
  23244. - 企业风险管理v3(app)
  23245. /Ermcp3/QuerySCMiddleGoods:
  23246. get:
  23247. description: |-
  23248. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  23249. 现货编号 即 合同编号
  23250. parameters:
  23251. - description: 用户ID(填登录用户的userid)
  23252. in: query
  23253. name: userid
  23254. required: true
  23255. type: integer
  23256. - description: 买卖方向 0-买 1-卖
  23257. in: query
  23258. name: buyorsell
  23259. required: true
  23260. type: integer
  23261. - description: 商品组id
  23262. in: query
  23263. name: goodsgroupid
  23264. required: true
  23265. type: integer
  23266. - description: 业务类型 1:套保 2:套利
  23267. in: query
  23268. name: biztype
  23269. type: integer
  23270. - description: 现货编号(模糊匹配)
  23271. in: query
  23272. name: contractno
  23273. type: string
  23274. - description: 对手方(模糊匹配)
  23275. in: query
  23276. name: customername
  23277. type: string
  23278. - description: 现货商品名称(模糊匹配)
  23279. in: query
  23280. name: wrstandardname
  23281. type: string
  23282. produces:
  23283. - application/json
  23284. responses:
  23285. "200":
  23286. description: OK
  23287. schema:
  23288. items:
  23289. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  23290. type: array
  23291. "500":
  23292. description: Internal Server Error
  23293. schema:
  23294. $ref: '#/definitions/app.Response'
  23295. security:
  23296. - ApiKeyAuth: []
  23297. summary: 查询现货订单
  23298. tags:
  23299. - 企业风险管理v3(app)
  23300. /Ermcp3/QuerySpotContract:
  23301. get:
  23302. parameters:
  23303. - description: 用户id(当指定contractid, userid可不填)
  23304. in: query
  23305. name: userid
  23306. required: true
  23307. type: integer
  23308. - description: 用户类型 2-机构 7-企业成员
  23309. in: query
  23310. name: usertype
  23311. type: integer
  23312. - description: 合同类型 1-采购, -1-销售
  23313. in: query
  23314. name: contracttype
  23315. type: integer
  23316. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  23317. in: query
  23318. name: querytype
  23319. type: string
  23320. - description: 合同ID(SpotContractId)
  23321. in: query
  23322. name: contractid
  23323. type: string
  23324. - description: 合同编号(模糊匹配)
  23325. in: query
  23326. name: contractno
  23327. type: string
  23328. - description: 商品名称(模糊匹配)
  23329. in: query
  23330. name: wrstandardname
  23331. type: string
  23332. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  23333. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  23334. in: query
  23335. name: status
  23336. type: string
  23337. - description: 是否只查今日的合同 1-查今日合同
  23338. in: query
  23339. name: istoday
  23340. type: integer
  23341. produces:
  23342. - application/json
  23343. responses:
  23344. "200":
  23345. description: OK
  23346. schema:
  23347. items:
  23348. $ref: '#/definitions/models.Ermcp3Contract'
  23349. type: array
  23350. "500":
  23351. description: Internal Server Error
  23352. schema:
  23353. $ref: '#/definitions/app.Response'
  23354. security:
  23355. - ApiKeyAuth: []
  23356. summary: 查询现货合同
  23357. tags:
  23358. - 企业风险管理v3(app)
  23359. /Ermcp3/QuerySpotContractBS:
  23360. get:
  23361. parameters:
  23362. - description: 用户id
  23363. in: query
  23364. name: userid
  23365. required: true
  23366. type: integer
  23367. - description: 用户类型 2-机构 7-企业成员
  23368. in: query
  23369. name: usertype
  23370. type: integer
  23371. - description: 合同类型 1-采购, -1-销售
  23372. in: query
  23373. name: contracttype
  23374. required: true
  23375. type: integer
  23376. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  23377. in: query
  23378. name: querytype
  23379. type: integer
  23380. - description: 合同ID(SpotContractId)
  23381. in: query
  23382. name: contractid
  23383. type: string
  23384. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  23385. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  23386. in: query
  23387. name: status
  23388. type: string
  23389. - description: 是否只查今日的合同 1-查今日合同
  23390. in: query
  23391. name: istoday
  23392. type: integer
  23393. produces:
  23394. - application/json
  23395. responses:
  23396. "200":
  23397. description: OK
  23398. schema:
  23399. items:
  23400. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  23401. type: array
  23402. "500":
  23403. description: Internal Server Error
  23404. schema:
  23405. $ref: '#/definitions/app.Response'
  23406. security:
  23407. - ApiKeyAuth: []
  23408. summary: 查询合同(采购/销售)
  23409. tags:
  23410. - 企业风险管理v3(app)
  23411. /Ermcp3/QuerySpotGoodsPrice:
  23412. get:
  23413. parameters:
  23414. - description: 用户ID
  23415. in: query
  23416. name: userid
  23417. required: true
  23418. type: integer
  23419. produces:
  23420. - application/json
  23421. responses:
  23422. "200":
  23423. description: OK
  23424. schema:
  23425. items:
  23426. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  23427. type: array
  23428. "500":
  23429. description: Internal Server Error
  23430. schema:
  23431. $ref: '#/definitions/app.Response'
  23432. security:
  23433. - ApiKeyAuth: []
  23434. summary: 查询现货市价(现货市价)
  23435. tags:
  23436. - 企业风险管理v3(app)
  23437. /Ermcp3/QuerySpotGoodsPriceLog:
  23438. get:
  23439. parameters:
  23440. - description: 用户ID
  23441. in: query
  23442. name: userid
  23443. required: true
  23444. type: integer
  23445. - description: 现货商品ID
  23446. in: query
  23447. name: deliverygoodsid
  23448. required: true
  23449. type: integer
  23450. - description: 品牌ID
  23451. in: query
  23452. name: brandid
  23453. type: integer
  23454. - description: 品类ID
  23455. in: query
  23456. name: wrstandardid
  23457. type: integer
  23458. produces:
  23459. - application/json
  23460. responses:
  23461. "200":
  23462. description: OK
  23463. schema:
  23464. items:
  23465. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  23466. type: array
  23467. "500":
  23468. description: Internal Server Error
  23469. schema:
  23470. $ref: '#/definitions/app.Response'
  23471. security:
  23472. - ApiKeyAuth: []
  23473. summary: 查询现货市价详情(现货市价/详情)
  23474. tags:
  23475. - 企业风险管理v3(app)
  23476. /Ermcp3/QuerySubTaaccount:
  23477. get:
  23478. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  23479. parameters:
  23480. - description: 母账号id
  23481. in: query
  23482. name: parentaccountid
  23483. type: integer
  23484. - description: 母账号代码
  23485. in: query
  23486. name: parentaccountcode
  23487. type: string
  23488. produces:
  23489. - application/json
  23490. responses:
  23491. "200":
  23492. description: OK
  23493. schema:
  23494. items:
  23495. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  23496. type: array
  23497. "500":
  23498. description: Internal Server Error
  23499. schema:
  23500. $ref: '#/definitions/app.Response'
  23501. security:
  23502. - ApiKeyAuth: []
  23503. summary: 查询期货子账户
  23504. tags:
  23505. - 企业风险管理v3(app)
  23506. /Erms2/QueryArbitrageStrategy:
  23507. get:
  23508. parameters:
  23509. - description: 账户ID
  23510. in: query
  23511. name: userid
  23512. required: true
  23513. type: integer
  23514. - description: 商品组ID(品种ID)
  23515. in: query
  23516. name: goodsgroupid
  23517. type: string
  23518. produces:
  23519. - application/json
  23520. responses:
  23521. "200":
  23522. description: OK
  23523. schema:
  23524. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  23525. "500":
  23526. description: Internal Server Error
  23527. schema:
  23528. $ref: '#/definitions/app.Response'
  23529. security:
  23530. - ApiKeyAuth: []
  23531. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  23532. tags:
  23533. - 风险管理
  23534. /Erms2/QueryInnerTradeDetail:
  23535. get:
  23536. parameters:
  23537. - description: 资金账户
  23538. in: query
  23539. name: accountid
  23540. required: true
  23541. type: integer
  23542. produces:
  23543. - application/json
  23544. responses:
  23545. "200":
  23546. description: OK
  23547. schema:
  23548. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  23549. "500":
  23550. description: Internal Server Error
  23551. schema:
  23552. $ref: '#/definitions/app.Response'
  23553. security:
  23554. - ApiKeyAuth: []
  23555. summary: 查询内部成交单信息
  23556. tags:
  23557. - 风险管理
  23558. /Erms2/QuerySpotContract:
  23559. get:
  23560. parameters:
  23561. - description: 策略申请ID
  23562. in: query
  23563. name: asapplyid
  23564. required: true
  23565. type: integer
  23566. - description: 现货合同ID
  23567. in: query
  23568. name: spotcontractid
  23569. type: integer
  23570. produces:
  23571. - application/json
  23572. responses:
  23573. "200":
  23574. description: OK
  23575. schema:
  23576. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  23577. "500":
  23578. description: Internal Server Error
  23579. schema:
  23580. $ref: '#/definitions/app.Response'
  23581. security:
  23582. - ApiKeyAuth: []
  23583. summary: 查询现货合同表信息(指定策略ID、未结束的)
  23584. tags:
  23585. - 风险管理
  23586. /Erms3/AddErms2ASApply:
  23587. post:
  23588. parameters:
  23589. - description: 申请参数
  23590. in: body
  23591. name: jsonBody
  23592. required: true
  23593. schema:
  23594. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  23595. produces:
  23596. - application/json
  23597. responses:
  23598. "200":
  23599. description: OK
  23600. schema:
  23601. $ref: '#/definitions/app.Response'
  23602. "500":
  23603. description: Internal Server Error
  23604. schema:
  23605. $ref: '#/definitions/app.Response'
  23606. security:
  23607. - ApiKeyAuth: []
  23608. summary: 新增期现套利业务申请
  23609. tags:
  23610. - 风险管理v3
  23611. /Erms3/AddErms2SpotTradeApply:
  23612. post:
  23613. parameters:
  23614. - description: 申请参数
  23615. in: body
  23616. name: jsonBody
  23617. required: true
  23618. schema:
  23619. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  23620. produces:
  23621. - application/json
  23622. responses:
  23623. "200":
  23624. description: OK
  23625. schema:
  23626. $ref: '#/definitions/app.Response'
  23627. "500":
  23628. description: Internal Server Error
  23629. schema:
  23630. $ref: '#/definitions/app.Response'
  23631. security:
  23632. - ApiKeyAuth: []
  23633. summary: 新增现货贸易业务申请
  23634. tags:
  23635. - 风险管理v3
  23636. /Erms3/AddSpotContractApply:
  23637. post:
  23638. parameters:
  23639. - description: 申请参数
  23640. in: body
  23641. name: jsonBody
  23642. required: true
  23643. schema:
  23644. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  23645. produces:
  23646. - application/json
  23647. responses:
  23648. "200":
  23649. description: OK
  23650. schema:
  23651. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  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/AddUserInfoApply:
  23662. post:
  23663. parameters:
  23664. - description: 用户信息
  23665. in: body
  23666. name: jsonBody
  23667. required: true
  23668. schema:
  23669. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  23670. produces:
  23671. - application/json
  23672. responses:
  23673. "200":
  23674. description: OK
  23675. schema:
  23676. $ref: '#/definitions/app.Response'
  23677. "500":
  23678. description: Internal Server Error
  23679. schema:
  23680. $ref: '#/definitions/app.Response'
  23681. security:
  23682. - ApiKeyAuth: []
  23683. summary: 新增客户申请
  23684. tags:
  23685. - 风险管理v3
  23686. /Erms3/DeleteUserInfoApply:
  23687. get:
  23688. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  23689. parameters:
  23690. - description: 用户ID
  23691. in: query
  23692. name: userID
  23693. required: true
  23694. type: integer
  23695. produces:
  23696. - application/json
  23697. responses:
  23698. "200":
  23699. description: OK
  23700. schema:
  23701. $ref: '#/definitions/app.Response'
  23702. "500":
  23703. description: Internal Server Error
  23704. schema:
  23705. $ref: '#/definitions/app.Response'
  23706. security:
  23707. - ApiKeyAuth: []
  23708. summary: 删除客户申请
  23709. tags:
  23710. - 风险管理v3
  23711. /Erms3/ModifyUserInfoApply:
  23712. post:
  23713. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  23714. int, "userstate": 2 }'
  23715. parameters:
  23716. - description: 用户信息
  23717. in: body
  23718. name: jsonBody
  23719. required: true
  23720. schema:
  23721. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  23722. produces:
  23723. - application/json
  23724. responses:
  23725. "200":
  23726. description: OK
  23727. schema:
  23728. $ref: '#/definitions/app.Response'
  23729. "500":
  23730. description: Internal Server Error
  23731. schema:
  23732. $ref: '#/definitions/app.Response'
  23733. security:
  23734. - ApiKeyAuth: []
  23735. summary: 修改客户申请
  23736. tags:
  23737. - 风险管理v3
  23738. /Erms3/QueryBusinessInfo:
  23739. get:
  23740. parameters:
  23741. - description: 资金账号ID列表,用逗号分隔
  23742. in: query
  23743. name: accountids
  23744. required: true
  23745. type: string
  23746. - description: 状态,0为未结束 1为已结束
  23747. in: query
  23748. name: status
  23749. required: true
  23750. type: integer
  23751. produces:
  23752. - application/json
  23753. responses:
  23754. "200":
  23755. description: OK
  23756. schema:
  23757. items:
  23758. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  23759. type: array
  23760. "500":
  23761. description: Internal Server Error
  23762. schema:
  23763. $ref: '#/definitions/app.Response'
  23764. security:
  23765. - ApiKeyAuth: []
  23766. summary: 查询业务表单数据
  23767. tags:
  23768. - 风险管理v3
  23769. /Erms3/QueryPendingAuditContract:
  23770. get:
  23771. parameters:
  23772. - description: 资金账号ID列表,逗号隔开
  23773. in: query
  23774. name: accountids
  23775. required: true
  23776. type: string
  23777. - description: 合同类型 1-采购 -1-销售
  23778. in: query
  23779. name: contracttype
  23780. required: true
  23781. type: integer
  23782. - description: 合同模式 1-普通 2-回购
  23783. in: query
  23784. name: contractmode
  23785. required: true
  23786. type: integer
  23787. produces:
  23788. - application/json
  23789. responses:
  23790. "200":
  23791. description: OK
  23792. schema:
  23793. items:
  23794. $ref: '#/definitions/erms3.QryAuditContractRsp'
  23795. type: array
  23796. "500":
  23797. description: Internal Server Error
  23798. schema:
  23799. $ref: '#/definitions/app.Response'
  23800. security:
  23801. - ApiKeyAuth: []
  23802. summary: 查询待审核合同
  23803. tags:
  23804. - 风险管理v3
  23805. /Erms3/QueryPendingBusiness:
  23806. get:
  23807. parameters:
  23808. - description: 资金账号ID列表,逗号隔开
  23809. in: query
  23810. name: accountids
  23811. required: true
  23812. type: string
  23813. produces:
  23814. - application/json
  23815. responses:
  23816. "200":
  23817. description: OK
  23818. schema:
  23819. items:
  23820. $ref: '#/definitions/erms3.QryPendingBizRsp'
  23821. type: array
  23822. "500":
  23823. description: Internal Server Error
  23824. schema:
  23825. $ref: '#/definitions/app.Response'
  23826. security:
  23827. - ApiKeyAuth: []
  23828. summary: 查询待审核基差贸易业务
  23829. tags:
  23830. - 风险管理v3
  23831. /Erms3/QuerySpotContractAppleForm:
  23832. get:
  23833. parameters:
  23834. - description: 登录账号
  23835. in: query
  23836. name: loginID
  23837. required: true
  23838. type: integer
  23839. produces:
  23840. - application/json
  23841. responses:
  23842. "200":
  23843. description: OK
  23844. schema:
  23845. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  23846. "500":
  23847. description: Internal Server Error
  23848. schema:
  23849. $ref: '#/definitions/app.Response'
  23850. security:
  23851. - ApiKeyAuth: []
  23852. summary: 查询合同申请表单数据
  23853. tags:
  23854. - 风险管理v3
  23855. /Erms3/QuerySpotContractDetail:
  23856. get:
  23857. parameters:
  23858. - description: 资金账号ID列表,用逗号分隔
  23859. in: query
  23860. name: accountids
  23861. required: true
  23862. type: string
  23863. - description: 合同类型,1为采购合同 -1为销售合同
  23864. in: query
  23865. name: contracttype
  23866. required: true
  23867. type: integer
  23868. - description: 合同模式,1为普通合同 2为回购销售合同
  23869. in: query
  23870. name: contractmode
  23871. required: true
  23872. type: integer
  23873. - description: 状态,0为履约中 1为已完成
  23874. in: query
  23875. name: status
  23876. required: true
  23877. type: integer
  23878. produces:
  23879. - application/json
  23880. responses:
  23881. "200":
  23882. description: OK
  23883. schema:
  23884. items:
  23885. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  23886. type: array
  23887. "500":
  23888. description: Internal Server Error
  23889. schema:
  23890. $ref: '#/definitions/app.Response'
  23891. security:
  23892. - ApiKeyAuth: []
  23893. summary: 查询合同详细信息
  23894. tags:
  23895. - 风险管理v3
  23896. /Erms3/QueryUserInfoApplies:
  23897. get:
  23898. parameters:
  23899. - description: 页码
  23900. in: query
  23901. name: page
  23902. type: integer
  23903. - description: 每页条数
  23904. in: query
  23905. name: pagesize
  23906. type: integer
  23907. - description: 客户名称,支持模糊查询
  23908. in: query
  23909. name: userName
  23910. type: string
  23911. produces:
  23912. - application/json
  23913. responses:
  23914. "200":
  23915. description: OK
  23916. schema:
  23917. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  23918. "500":
  23919. description: Internal Server Error
  23920. schema:
  23921. $ref: '#/definitions/app.Response'
  23922. security:
  23923. - ApiKeyAuth: []
  23924. summary: 客户申请信息查询
  23925. tags:
  23926. - 风险管理v3
  23927. /Erms3/QueryUserInfos:
  23928. get:
  23929. parameters:
  23930. - description: 页码
  23931. in: query
  23932. name: page
  23933. type: integer
  23934. - description: 每页条数
  23935. in: query
  23936. name: pagesize
  23937. type: integer
  23938. - description: 客户名称,支持模糊查询
  23939. in: query
  23940. name: userName
  23941. type: string
  23942. produces:
  23943. - application/json
  23944. responses:
  23945. "200":
  23946. description: OK
  23947. schema:
  23948. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  23949. "500":
  23950. description: Internal Server Error
  23951. schema:
  23952. $ref: '#/definitions/app.Response'
  23953. security:
  23954. - ApiKeyAuth: []
  23955. summary: 客户信息查询
  23956. tags:
  23957. - 风险管理v3
  23958. /HSBY/GetHsbyMyCount:
  23959. get:
  23960. description: 说明: 不包括已完成的数量。
  23961. parameters:
  23962. - description: 资金账户列表,格式:1,2,3
  23963. in: query
  23964. name: accountIDs
  23965. required: true
  23966. type: string
  23967. produces:
  23968. - application/json
  23969. responses:
  23970. "200":
  23971. description: OK
  23972. schema:
  23973. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  23974. "500":
  23975. description: Internal Server Error
  23976. schema:
  23977. $ref: '#/definitions/app.Response'
  23978. security:
  23979. - ApiKeyAuth: []
  23980. summary: 获取我的订单与包裹数量
  23981. tags:
  23982. - 定制【海商报业】
  23983. /HSBY/QueryClientFixedADConfigs:
  23984. get:
  23985. produces:
  23986. - application/json
  23987. responses:
  23988. "200":
  23989. description: OK
  23990. schema:
  23991. $ref: '#/definitions/models.Clientfixedadconfig'
  23992. "500":
  23993. description: Internal Server Error
  23994. schema:
  23995. $ref: '#/definitions/app.Response'
  23996. security:
  23997. - ApiKeyAuth: []
  23998. summary: 获取终端固定广告配置
  23999. tags:
  24000. - 定制【海商报业】
  24001. /HSBY/QueryHsbyBuyMyTradeDetail:
  24002. get:
  24003. parameters:
  24004. - description: 页码
  24005. in: query
  24006. name: page
  24007. type: integer
  24008. - description: 每页条数
  24009. in: query
  24010. name: pagesize
  24011. type: integer
  24012. - description: 资金账户列表,格式:1,2,3
  24013. in: query
  24014. name: accountIDs
  24015. required: true
  24016. type: string
  24017. produces:
  24018. - application/json
  24019. responses:
  24020. "200":
  24021. description: OK
  24022. schema:
  24023. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  24024. "500":
  24025. description: Internal Server Error
  24026. schema:
  24027. $ref: '#/definitions/app.Response'
  24028. security:
  24029. - ApiKeyAuth: []
  24030. summary: 查询"我的订单 - 已完成"单据信息
  24031. tags:
  24032. - 定制【海商报业】
  24033. /HSBY/QueryHsbyGoodsOrderDetails:
  24034. get:
  24035. description: 说明:查询结果已按委托价格和委托时间排序
  24036. parameters:
  24037. - description: 商品ID
  24038. in: query
  24039. name: goodsID
  24040. required: true
  24041. type: integer
  24042. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  24043. in: query
  24044. name: accountIDs
  24045. type: string
  24046. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  24047. in: query
  24048. name: buyOrSell
  24049. type: integer
  24050. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  24051. in: query
  24052. name: price
  24053. type: number
  24054. - description: 档位,不传则默认为3档
  24055. in: query
  24056. name: speed
  24057. type: integer
  24058. produces:
  24059. - application/json
  24060. responses:
  24061. "200":
  24062. description: OK
  24063. schema:
  24064. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  24065. "500":
  24066. description: Internal Server Error
  24067. schema:
  24068. $ref: '#/definitions/app.Response'
  24069. security:
  24070. - ApiKeyAuth: []
  24071. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  24072. tags:
  24073. - 定制【海商报业】
  24074. /HSBY/QueryHsbyListingGoodsDetail:
  24075. get:
  24076. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  24077. parameters:
  24078. - description: 商品ID
  24079. in: query
  24080. name: goodsID
  24081. required: true
  24082. type: integer
  24083. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  24084. in: query
  24085. name: accountID
  24086. type: integer
  24087. produces:
  24088. - application/json
  24089. responses:
  24090. "200":
  24091. description: OK
  24092. schema:
  24093. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  24094. "500":
  24095. description: Internal Server Error
  24096. schema:
  24097. $ref: '#/definitions/app.Response'
  24098. security:
  24099. - ApiKeyAuth: []
  24100. summary: 查询二级市场(挂牌点选)商品信息详情
  24101. tags:
  24102. - 定制【海商报业】
  24103. /HSBY/QueryHsbyMarketGoodsDetail:
  24104. get:
  24105. parameters:
  24106. - description: 委托单号
  24107. in: query
  24108. name: orderID
  24109. required: true
  24110. type: integer
  24111. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  24112. in: query
  24113. name: accountID
  24114. type: integer
  24115. produces:
  24116. - application/json
  24117. responses:
  24118. "200":
  24119. description: OK
  24120. schema:
  24121. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  24122. "500":
  24123. description: Internal Server Error
  24124. schema:
  24125. $ref: '#/definitions/app.Response'
  24126. security:
  24127. - ApiKeyAuth: []
  24128. summary: 查询三级市场(商城)商品信息详情
  24129. tags:
  24130. - 定制【海商报业】
  24131. /HSBY/QueryHsbyMarketGoodses:
  24132. get:
  24133. parameters:
  24134. - description: 页码
  24135. in: query
  24136. name: page
  24137. type: integer
  24138. - description: 每页条数
  24139. in: query
  24140. name: pagesize
  24141. type: integer
  24142. - description: 市场ID列表,格式:1,2,3
  24143. in: query
  24144. name: marketIDs
  24145. required: true
  24146. type: string
  24147. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  24148. in: query
  24149. name: accountID
  24150. required: true
  24151. type: integer
  24152. - description: 类别ID
  24153. in: query
  24154. name: categoryID
  24155. type: integer
  24156. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  24157. in: query
  24158. name: goodsIDs
  24159. type: string
  24160. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  24161. in: query
  24162. name: couponTypeID
  24163. type: integer
  24164. produces:
  24165. - application/json
  24166. responses:
  24167. "200":
  24168. description: OK
  24169. schema:
  24170. $ref: '#/definitions/models.HsbyMarketGoods'
  24171. "500":
  24172. description: Internal Server Error
  24173. schema:
  24174. $ref: '#/definitions/app.Response'
  24175. security:
  24176. - ApiKeyAuth: []
  24177. summary: 查询特卖商品列表(三级商城)
  24178. tags:
  24179. - 定制【海商报业】
  24180. /HSBY/QueryHsbyMarkets:
  24181. get:
  24182. produces:
  24183. - application/json
  24184. responses:
  24185. "200":
  24186. description: OK
  24187. schema:
  24188. $ref: '#/definitions/models.HsbyMarketInfo'
  24189. "500":
  24190. description: Internal Server Error
  24191. schema:
  24192. $ref: '#/definitions/app.Response'
  24193. security:
  24194. - ApiKeyAuth: []
  24195. summary: 查询海商报业相关市场信息
  24196. tags:
  24197. - 定制【海商报业】
  24198. /HSBY/QueryHsbyMyBuyOrderDetails:
  24199. get:
  24200. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  24201. parameters:
  24202. - description: 资金账户列表,格式:1,2,3
  24203. in: query
  24204. name: accountIDs
  24205. required: true
  24206. type: string
  24207. produces:
  24208. - application/json
  24209. responses:
  24210. "200":
  24211. description: OK
  24212. schema:
  24213. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  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/QueryHsbyMyGoods:
  24224. get:
  24225. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  24226. parameters:
  24227. - description: 资金账户列表,格式:1,2,3
  24228. in: query
  24229. name: accountIDs
  24230. required: true
  24231. type: string
  24232. produces:
  24233. - application/json
  24234. responses:
  24235. "200":
  24236. description: OK
  24237. schema:
  24238. $ref: '#/definitions/models.HsbyMyGoods'
  24239. "500":
  24240. description: Internal Server Error
  24241. schema:
  24242. $ref: '#/definitions/app.Response'
  24243. security:
  24244. - ApiKeyAuth: []
  24245. summary: 查询“我的商品”信息
  24246. tags:
  24247. - 定制【海商报业】
  24248. /HSBY/QueryHsbyMyPackages:
  24249. get:
  24250. parameters:
  24251. - description: 资金账户列表,格式:1,2,3
  24252. in: query
  24253. name: accountIDs
  24254. required: true
  24255. type: string
  24256. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  24257. in: query
  24258. name: takeOrderStatus
  24259. type: integer
  24260. produces:
  24261. - application/json
  24262. responses:
  24263. "200":
  24264. description: OK
  24265. schema:
  24266. $ref: '#/definitions/models.HsbyMyPackage'
  24267. "500":
  24268. description: Internal Server Error
  24269. schema:
  24270. $ref: '#/definitions/app.Response'
  24271. security:
  24272. - ApiKeyAuth: []
  24273. summary: 查询我的包裹信息
  24274. tags:
  24275. - 定制【海商报业】
  24276. /HSBY/QueryHsbyPreGoodsDetail:
  24277. get:
  24278. parameters:
  24279. - description: 商品ID
  24280. in: query
  24281. name: goodsID
  24282. required: true
  24283. type: integer
  24284. - description: 资金账户,主要用于获取预售商品购买上限
  24285. in: query
  24286. name: accountID
  24287. type: integer
  24288. produces:
  24289. - application/json
  24290. responses:
  24291. "200":
  24292. description: OK
  24293. schema:
  24294. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  24295. "500":
  24296. description: Internal Server Error
  24297. schema:
  24298. $ref: '#/definitions/app.Response'
  24299. security:
  24300. - ApiKeyAuth: []
  24301. summary: 查询一级市场(预售)商品信息详情
  24302. tags:
  24303. - 定制【海商报业】
  24304. /HSBY/QueryHsbyPreGoodses:
  24305. get:
  24306. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  24307. parameters:
  24308. - description: 页码
  24309. in: query
  24310. name: page
  24311. type: integer
  24312. - description: 每页条数
  24313. in: query
  24314. name: pagesize
  24315. type: integer
  24316. - description: 市场ID列表,格式:1,2,3
  24317. in: query
  24318. name: marketIDs
  24319. required: true
  24320. type: string
  24321. - description: 目的地(省)ID
  24322. in: query
  24323. name: descProvinceID
  24324. type: integer
  24325. - description: 目的地(市)ID
  24326. in: query
  24327. name: descCityID
  24328. type: integer
  24329. produces:
  24330. - application/json
  24331. responses:
  24332. "200":
  24333. description: OK
  24334. schema:
  24335. $ref: '#/definitions/models.HsbyPreGoods'
  24336. "500":
  24337. description: Internal Server Error
  24338. schema:
  24339. $ref: '#/definitions/app.Response'
  24340. security:
  24341. - ApiKeyAuth: []
  24342. summary: 查询新品上市商品列表(一级市场预售)
  24343. tags:
  24344. - 定制【海商报业】
  24345. /HSBY/QueryHsbySellMyDetails:
  24346. get:
  24347. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  24348. parameters:
  24349. - description: 页码
  24350. in: query
  24351. name: page
  24352. type: integer
  24353. - description: 每页条数
  24354. in: query
  24355. name: pagesize
  24356. type: integer
  24357. - description: 资金账户列表,格式:1,2,3
  24358. in: query
  24359. name: accountIDs
  24360. required: true
  24361. type: string
  24362. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  24363. in: query
  24364. name: orderType
  24365. type: integer
  24366. produces:
  24367. - application/json
  24368. responses:
  24369. "200":
  24370. description: OK
  24371. schema:
  24372. $ref: '#/definitions/models.HsbySellMyDetail'
  24373. "500":
  24374. description: Internal Server Error
  24375. schema:
  24376. $ref: '#/definitions/app.Response'
  24377. security:
  24378. - ApiKeyAuth: []
  24379. summary: 查询"我的闲置"单据信息
  24380. tags:
  24381. - 定制【海商报业】
  24382. /HSBY/QueryHsbyTopGoodses:
  24383. get:
  24384. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  24385. parameters:
  24386. - description: 页码
  24387. in: query
  24388. name: page
  24389. type: integer
  24390. - description: 每页条数
  24391. in: query
  24392. name: pagesize
  24393. type: integer
  24394. - description: 市场ID列表,格式:1,2,3
  24395. in: query
  24396. name: marketIDs
  24397. required: true
  24398. type: string
  24399. - description: 目的地(省)ID
  24400. in: query
  24401. name: descProvinceID
  24402. type: integer
  24403. - description: 目的地(市)ID
  24404. in: query
  24405. name: descCityID
  24406. type: integer
  24407. produces:
  24408. - application/json
  24409. responses:
  24410. "200":
  24411. description: OK
  24412. schema:
  24413. $ref: '#/definitions/models.HsbyTopGoods'
  24414. "500":
  24415. description: Internal Server Error
  24416. schema:
  24417. $ref: '#/definitions/app.Response'
  24418. security:
  24419. - ApiKeyAuth: []
  24420. summary: 查询热卖商品列表(二级市场挂牌点选)
  24421. tags:
  24422. - 定制【海商报业】
  24423. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  24424. get:
  24425. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  24426. parameters:
  24427. - description: 商品ID
  24428. in: query
  24429. name: goodsID
  24430. required: true
  24431. type: integer
  24432. produces:
  24433. - application/json
  24434. responses:
  24435. "200":
  24436. description: OK
  24437. schema:
  24438. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  24439. "500":
  24440. description: Internal Server Error
  24441. schema:
  24442. $ref: '#/definitions/app.Response'
  24443. security:
  24444. - ApiKeyAuth: []
  24445. summary: 查询游客三级市场(商城)商品信息详情
  24446. tags:
  24447. - 定制【海商报业】
  24448. /HSBY/QueryHsbyVisitorMarketGoodses:
  24449. get:
  24450. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  24451. parameters:
  24452. - description: 页码
  24453. in: query
  24454. name: page
  24455. type: integer
  24456. - description: 每页条数
  24457. in: query
  24458. name: pagesize
  24459. type: integer
  24460. - description: 市场ID列表,格式:1,2,3
  24461. in: query
  24462. name: marketIDs
  24463. required: true
  24464. type: string
  24465. - description: 类别ID
  24466. in: query
  24467. name: categoryID
  24468. type: integer
  24469. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  24470. in: query
  24471. name: goodsIDs
  24472. type: string
  24473. produces:
  24474. - application/json
  24475. responses:
  24476. "200":
  24477. description: OK
  24478. schema:
  24479. $ref: '#/definitions/models.HsbyMarketGoods'
  24480. "500":
  24481. description: Internal Server Error
  24482. schema:
  24483. $ref: '#/definitions/app.Response'
  24484. security:
  24485. - ApiKeyAuth: []
  24486. summary: 查询游客特卖商品列表(三级商城)
  24487. tags:
  24488. - 定制【海商报业】
  24489. /HSBY/QueryMyCollectionOrders:
  24490. get:
  24491. parameters:
  24492. - description: 页码
  24493. in: query
  24494. name: page
  24495. type: integer
  24496. - description: 每页条数
  24497. in: query
  24498. name: pagesize
  24499. type: integer
  24500. - description: 资金账户,格式:1,2,3
  24501. in: query
  24502. name: accountIDs
  24503. required: true
  24504. type: string
  24505. produces:
  24506. - application/json
  24507. responses:
  24508. "200":
  24509. description: OK
  24510. schema:
  24511. $ref: '#/definitions/models.HsbySellCollectionOrder'
  24512. "500":
  24513. description: Internal Server Error
  24514. schema:
  24515. $ref: '#/definitions/app.Response'
  24516. security:
  24517. - ApiKeyAuth: []
  24518. summary: 我的闲置中收款信息查询
  24519. tags:
  24520. - 定制【海商报业】
  24521. /HSBY/QueryMyCouponHolds:
  24522. get:
  24523. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  24524. parameters:
  24525. - description: 资金账户列表,格式:1,2,3
  24526. in: query
  24527. name: accountIDs
  24528. required: true
  24529. type: string
  24530. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  24531. in: query
  24532. name: holdStatus
  24533. type: string
  24534. produces:
  24535. - application/json
  24536. responses:
  24537. "200":
  24538. description: OK
  24539. schema:
  24540. $ref: '#/definitions/models.MyCouponHold'
  24541. "500":
  24542. description: Internal Server Error
  24543. schema:
  24544. $ref: '#/definitions/app.Response'
  24545. security:
  24546. - ApiKeyAuth: []
  24547. summary: 我的优惠卷持仓查询
  24548. tags:
  24549. - 定制【海商报业】
  24550. /HSBY/QueryMyCoupons:
  24551. get:
  24552. parameters:
  24553. - description: 资金账户列表,格式:1,2,3
  24554. in: query
  24555. name: accountIDs
  24556. required: true
  24557. type: string
  24558. - description: 商品ID, 一般与sellUserID配套传入
  24559. in: query
  24560. name: goodsID
  24561. type: integer
  24562. - description: 卖方UserID
  24563. in: query
  24564. name: sellUserID
  24565. type: integer
  24566. produces:
  24567. - application/json
  24568. responses:
  24569. "200":
  24570. description: OK
  24571. schema:
  24572. $ref: '#/definitions/models.MyCoupon'
  24573. "500":
  24574. description: Internal Server Error
  24575. schema:
  24576. $ref: '#/definitions/app.Response'
  24577. security:
  24578. - ApiKeyAuth: []
  24579. summary: 我的优惠卷查询
  24580. tags:
  24581. - 定制【海商报业】
  24582. /HSBY/QueryMyPayOrders:
  24583. get:
  24584. parameters:
  24585. - description: 页码
  24586. in: query
  24587. name: page
  24588. type: integer
  24589. - description: 每页条数
  24590. in: query
  24591. name: pagesize
  24592. type: integer
  24593. - description: 资金账户列表,格式:1,2,3
  24594. in: query
  24595. name: accountIDs
  24596. required: true
  24597. type: string
  24598. - description: 买方委托单号
  24599. in: query
  24600. name: buyOrderID
  24601. type: integer
  24602. - description: 卖方委托单号
  24603. in: query
  24604. name: sellOrderID
  24605. type: integer
  24606. produces:
  24607. - application/json
  24608. responses:
  24609. "200":
  24610. description: OK
  24611. schema:
  24612. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  24613. "500":
  24614. description: Internal Server Error
  24615. schema:
  24616. $ref: '#/definitions/app.Response'
  24617. security:
  24618. - ApiKeyAuth: []
  24619. summary: 获取我的订单中待付款信息
  24620. tags:
  24621. - 定制【海商报业】
  24622. /HSBY/QueryMyUsedCoupon:
  24623. get:
  24624. parameters:
  24625. - description: 资金账户列表,格式:1,2,3
  24626. in: query
  24627. name: accountIDs
  24628. required: true
  24629. type: string
  24630. produces:
  24631. - application/json
  24632. responses:
  24633. "200":
  24634. description: OK
  24635. schema:
  24636. $ref: '#/definitions/models.MyUsedCoupon'
  24637. "500":
  24638. description: Internal Server Error
  24639. schema:
  24640. $ref: '#/definitions/app.Response'
  24641. security:
  24642. - ApiKeyAuth: []
  24643. summary: 已使用优惠卷查询
  24644. tags:
  24645. - 定制【海商报业】
  24646. /HSBY/QueryProvincesAndCities:
  24647. get:
  24648. description: 查询结果只包括二级市场商品已关连的省市信息。
  24649. parameters:
  24650. - description: 省ID
  24651. in: query
  24652. name: provinceID
  24653. type: integer
  24654. produces:
  24655. - application/json
  24656. responses:
  24657. "200":
  24658. description: OK
  24659. schema:
  24660. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  24661. "500":
  24662. description: Internal Server Error
  24663. schema:
  24664. $ref: '#/definitions/app.Response'
  24665. security:
  24666. - ApiKeyAuth: []
  24667. summary: 查询省市信息(不包括区)
  24668. tags:
  24669. - 定制【海商报业】
  24670. /HSBY/SetHsbyMyPackagesStatus:
  24671. post:
  24672. parameters:
  24673. - description: 提货单号
  24674. in: query
  24675. name: takeOrderID
  24676. required: true
  24677. type: string
  24678. - description: 资金账号
  24679. in: query
  24680. name: accountID
  24681. required: true
  24682. type: integer
  24683. produces:
  24684. - application/json
  24685. responses:
  24686. "200":
  24687. description: OK
  24688. schema:
  24689. $ref: '#/definitions/app.Response'
  24690. "500":
  24691. description: Internal Server Error
  24692. schema:
  24693. $ref: '#/definitions/app.Response'
  24694. security:
  24695. - ApiKeyAuth: []
  24696. summary: 设置我的包裹已收货状态
  24697. tags:
  24698. - 定制【海商报业】
  24699. /Market/GetAllExExchanges:
  24700. get:
  24701. produces:
  24702. - application/json
  24703. responses:
  24704. "200":
  24705. description: OK
  24706. schema:
  24707. $ref: '#/definitions/models.Goods'
  24708. "500":
  24709. description: Internal Server Error
  24710. schema:
  24711. $ref: '#/definitions/app.Response'
  24712. security:
  24713. - ApiKeyAuth: []
  24714. summary: 获取所有外部交易所信息
  24715. tags:
  24716. - 通用市场
  24717. /Market/QueryGoodsesByLoginID:
  24718. get:
  24719. parameters:
  24720. - description: 登录账号
  24721. in: query
  24722. name: loginID
  24723. required: true
  24724. type: integer
  24725. - description: 市场ID列表,格式:1,2,3
  24726. in: query
  24727. name: marketIDs
  24728. type: string
  24729. produces:
  24730. - application/json
  24731. responses:
  24732. "200":
  24733. description: OK
  24734. schema:
  24735. $ref: '#/definitions/models.Goods'
  24736. "500":
  24737. description: Internal Server Error
  24738. schema:
  24739. $ref: '#/definitions/app.Response'
  24740. security:
  24741. - ApiKeyAuth: []
  24742. summary: 获取登录账号有权限的商品信息
  24743. tags:
  24744. - 通用市场
  24745. /Market/QueryMarketRun:
  24746. get:
  24747. parameters:
  24748. - description: 市场ID,不传返回所有
  24749. in: query
  24750. name: marketID
  24751. type: integer
  24752. produces:
  24753. - application/json
  24754. responses:
  24755. "200":
  24756. description: OK
  24757. schema:
  24758. $ref: '#/definitions/models.Marketrun'
  24759. "500":
  24760. description: Internal Server Error
  24761. schema:
  24762. $ref: '#/definitions/app.Response'
  24763. security:
  24764. - ApiKeyAuth: []
  24765. summary: 查询市场运行信息
  24766. tags:
  24767. - 通用市场
  24768. /Market/QueryMarketsByLoginID:
  24769. get:
  24770. parameters:
  24771. - description: 登录账号
  24772. in: query
  24773. name: loginID
  24774. required: true
  24775. type: integer
  24776. produces:
  24777. - application/json
  24778. responses:
  24779. "200":
  24780. description: OK
  24781. schema:
  24782. $ref: '#/definitions/models.Market'
  24783. "500":
  24784. description: Internal Server Error
  24785. schema:
  24786. $ref: '#/definitions/app.Response'
  24787. security:
  24788. - ApiKeyAuth: []
  24789. summary: 获取登录账号有权限的市场信息
  24790. tags:
  24791. - 通用市场
  24792. /Order/QueryHisTradeDetail:
  24793. get:
  24794. parameters:
  24795. - description: 资金账户 - 格式:1,2,3
  24796. in: query
  24797. name: accountID
  24798. required: true
  24799. type: string
  24800. - description: 成交单号
  24801. in: query
  24802. name: tradeID
  24803. type: integer
  24804. - description: 委托单号
  24805. in: query
  24806. name: orderID
  24807. type: integer
  24808. - description: 商品ID
  24809. in: query
  24810. name: goodsID
  24811. type: integer
  24812. - description: 交易模式 - 格式:1,2,3
  24813. in: query
  24814. name: tradeMode
  24815. type: string
  24816. - description: 委托单据类型
  24817. in: query
  24818. name: buildType
  24819. type: integer
  24820. - description: 成交类别 - 格式:1,2,3
  24821. in: query
  24822. name: tradeType
  24823. type: string
  24824. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24825. in: query
  24826. name: startDate
  24827. type: string
  24828. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24829. in: query
  24830. name: endDate
  24831. type: string
  24832. produces:
  24833. - application/json
  24834. responses:
  24835. "200":
  24836. description: OK
  24837. schema:
  24838. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  24839. "500":
  24840. description: Internal Server Error
  24841. schema:
  24842. $ref: '#/definitions/app.Response'
  24843. security:
  24844. - ApiKeyAuth: []
  24845. summary: 历史成交单查询(合约市场)
  24846. tags:
  24847. - 通用单据
  24848. /Order/QueryHisTradeOrderDetail:
  24849. get:
  24850. parameters:
  24851. - description: 资金账户 - 格式:1,2,3
  24852. in: query
  24853. name: accountID
  24854. required: true
  24855. type: string
  24856. - description: 交易模式 - 格式:1,2,3
  24857. in: query
  24858. name: tradeMode
  24859. type: string
  24860. - description: 委托状态 - 格式:1,2,3
  24861. in: query
  24862. name: orderStatus
  24863. type: string
  24864. - description: 委托单号
  24865. in: query
  24866. name: orderID
  24867. type: integer
  24868. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24869. in: query
  24870. name: startDate
  24871. type: string
  24872. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24873. in: query
  24874. name: endDate
  24875. type: string
  24876. produces:
  24877. - application/json
  24878. responses:
  24879. "200":
  24880. description: OK
  24881. schema:
  24882. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  24883. "500":
  24884. description: Internal Server Error
  24885. schema:
  24886. $ref: '#/definitions/app.Response'
  24887. security:
  24888. - ApiKeyAuth: []
  24889. summary: 历史委托单查询请求(合约市场)
  24890. tags:
  24891. - 通用单据
  24892. /Order/QueryTradeDetail:
  24893. get:
  24894. parameters:
  24895. - description: 资金账户 - 格式:1,2,3
  24896. in: query
  24897. name: accountID
  24898. required: true
  24899. type: string
  24900. - description: 成交单号
  24901. in: query
  24902. name: tradeID
  24903. type: integer
  24904. - description: 委托单号
  24905. in: query
  24906. name: orderID
  24907. type: integer
  24908. - description: 交易模式 - 格式:1,2,3
  24909. in: query
  24910. name: tradeMode
  24911. type: string
  24912. - description: 委托单据类型
  24913. in: query
  24914. name: buildType
  24915. type: integer
  24916. - description: 成交类别 - 格式:1,2,3
  24917. in: query
  24918. name: tradeType
  24919. type: string
  24920. - description: 商品ID
  24921. in: query
  24922. name: goodsID
  24923. type: integer
  24924. produces:
  24925. - application/json
  24926. responses:
  24927. "200":
  24928. description: OK
  24929. schema:
  24930. $ref: '#/definitions/order.QueryTradeDetailRsp'
  24931. "500":
  24932. description: Internal Server Error
  24933. schema:
  24934. $ref: '#/definitions/app.Response'
  24935. security:
  24936. - ApiKeyAuth: []
  24937. summary: 成交单查询(合约市场)
  24938. tags:
  24939. - 通用单据
  24940. /Order/QueryTradeHolderDetail:
  24941. get:
  24942. parameters:
  24943. - description: 用户id
  24944. in: query
  24945. name: userid
  24946. type: integer
  24947. - description: 资金账号, 格式 1,2,3
  24948. in: query
  24949. name: accids
  24950. type: string
  24951. - description: 交易模式, 格式 1,2,3
  24952. in: query
  24953. name: trademodes
  24954. type: string
  24955. - description: 市场id, 格式 1,2,3
  24956. in: query
  24957. name: marketids
  24958. type: string
  24959. - description: 商品id
  24960. in: query
  24961. name: goodsid
  24962. type: integer
  24963. - description: 买卖方向 0-买 1-卖
  24964. in: query
  24965. name: buyorsell
  24966. type: integer
  24967. produces:
  24968. - application/json
  24969. responses:
  24970. "200":
  24971. description: OK
  24972. schema:
  24973. items:
  24974. $ref: '#/definitions/models.TradeHolderDetail'
  24975. type: array
  24976. "500":
  24977. description: Internal Server Error
  24978. schema:
  24979. $ref: '#/definitions/app.Response'
  24980. security:
  24981. - ApiKeyAuth: []
  24982. summary: 查询持仓明细
  24983. tags:
  24984. - 通用单据
  24985. /Order/QueryTradeOrderDetail:
  24986. get:
  24987. parameters:
  24988. - description: 资金账户 - 格式:1,2,3
  24989. in: query
  24990. name: accountID
  24991. required: true
  24992. type: string
  24993. - description: 交易模式 - 格式:1,2,3
  24994. in: query
  24995. name: tradeMode
  24996. type: string
  24997. - description: 委托状态 - 格式:1,2,3
  24998. in: query
  24999. name: orderStatus
  25000. type: string
  25001. - description: 委托单号
  25002. in: query
  25003. name: orderID
  25004. type: integer
  25005. produces:
  25006. - application/json
  25007. responses:
  25008. "200":
  25009. description: OK
  25010. schema:
  25011. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  25012. "500":
  25013. description: Internal Server Error
  25014. schema:
  25015. $ref: '#/definitions/app.Response'
  25016. security:
  25017. - ApiKeyAuth: []
  25018. summary: 委托单查询请求(合约市场)
  25019. tags:
  25020. - 通用单据
  25021. /Order/QueryTradePosition:
  25022. get:
  25023. parameters:
  25024. - description: 资金账户 - 格式:1,2,3
  25025. in: query
  25026. name: accountID
  25027. required: true
  25028. type: string
  25029. - description: 交易模式 - 格式:1,2,3
  25030. in: query
  25031. name: tradeMode
  25032. type: string
  25033. produces:
  25034. - application/json
  25035. responses:
  25036. "200":
  25037. description: OK
  25038. schema:
  25039. $ref: '#/definitions/order.QueryTradePositionRsp'
  25040. "500":
  25041. description: Internal Server Error
  25042. schema:
  25043. $ref: '#/definitions/app.Response'
  25044. security:
  25045. - ApiKeyAuth: []
  25046. summary: 持仓汇总查询(合约市场)
  25047. tags:
  25048. - 通用单据
  25049. /Qhj/QueryAccountInOutApply:
  25050. get:
  25051. parameters:
  25052. - description: 用户ID
  25053. in: query
  25054. name: userid
  25055. required: true
  25056. type: integer
  25057. - description: 申请起始日期(格式yyyymmdd)
  25058. in: query
  25059. name: begindate
  25060. type: string
  25061. - description: 申请截止日期(格式yyyymmdd)
  25062. in: query
  25063. name: enddate
  25064. type: string
  25065. - description: 模糊搜索名称
  25066. in: query
  25067. name: likename
  25068. type: string
  25069. produces:
  25070. - application/json
  25071. responses:
  25072. "200":
  25073. description: OK
  25074. schema:
  25075. items:
  25076. $ref: '#/definitions/models.QhjAccountOutInApply'
  25077. type: array
  25078. "500":
  25079. description: Internal Server Error
  25080. schema:
  25081. $ref: '#/definitions/app.Response'
  25082. security:
  25083. - ApiKeyAuth: []
  25084. summary: 查询充值提现
  25085. tags:
  25086. - 大连千海金
  25087. /Qhj/QueryAreaFinanceConfig:
  25088. get:
  25089. parameters:
  25090. - description: 机构用户ID 其他做市关系,都设置为 1
  25091. in: query
  25092. name: userid
  25093. type: integer
  25094. produces:
  25095. - application/json
  25096. responses:
  25097. "200":
  25098. description: OK
  25099. schema:
  25100. items:
  25101. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  25102. type: array
  25103. "500":
  25104. description: Internal Server Error
  25105. schema:
  25106. $ref: '#/definitions/app.Response'
  25107. security:
  25108. - ApiKeyAuth: []
  25109. summary: 查询企业配置表
  25110. tags:
  25111. - 大连千海金
  25112. /Qhj/QueryBankAccountSign:
  25113. get:
  25114. parameters:
  25115. - description: 用户ID
  25116. in: query
  25117. name: userid
  25118. required: true
  25119. type: integer
  25120. produces:
  25121. - application/json
  25122. responses:
  25123. "200":
  25124. description: OK
  25125. schema:
  25126. items:
  25127. $ref: '#/definitions/models.QhjBankAccountSign'
  25128. type: array
  25129. "500":
  25130. description: Internal Server Error
  25131. schema:
  25132. $ref: '#/definitions/app.Response'
  25133. security:
  25134. - ApiKeyAuth: []
  25135. summary: 查询签约银行信息(提现账户管理)
  25136. tags:
  25137. - 大连千海金
  25138. /Qhj/QueryBankInfo:
  25139. get:
  25140. produces:
  25141. - application/json
  25142. responses:
  25143. "200":
  25144. description: OK
  25145. schema:
  25146. items:
  25147. $ref: '#/definitions/models.QhjBankInfo'
  25148. type: array
  25149. "500":
  25150. description: Internal Server Error
  25151. schema:
  25152. $ref: '#/definitions/app.Response'
  25153. security:
  25154. - ApiKeyAuth: []
  25155. summary: 查询开户行
  25156. tags:
  25157. - 大连千海金
  25158. /Qhj/QueryBrokerApply:
  25159. get:
  25160. parameters:
  25161. - description: 所属机构ID
  25162. in: query
  25163. name: userid
  25164. type: integer
  25165. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  25166. in: query
  25167. name: filterstatus
  25168. type: string
  25169. produces:
  25170. - application/json
  25171. responses:
  25172. "200":
  25173. description: OK
  25174. schema:
  25175. items:
  25176. $ref: '#/definitions/models.QhjBrokerApply'
  25177. type: array
  25178. "500":
  25179. description: Internal Server Error
  25180. schema:
  25181. $ref: '#/definitions/app.Response'
  25182. security:
  25183. - ApiKeyAuth: []
  25184. summary: 查询经纪人申请
  25185. tags:
  25186. - 大连千海金
  25187. /Qhj/QueryBrokerApplyEx:
  25188. get:
  25189. parameters:
  25190. - description: 所属机构ID
  25191. in: query
  25192. name: userid
  25193. type: integer
  25194. produces:
  25195. - application/json
  25196. responses:
  25197. "200":
  25198. description: OK
  25199. schema:
  25200. items:
  25201. $ref: '#/definitions/models.QhjBrokerApplyEx'
  25202. type: array
  25203. "500":
  25204. description: Internal Server Error
  25205. schema:
  25206. $ref: '#/definitions/app.Response'
  25207. security:
  25208. - ApiKeyAuth: []
  25209. summary: 查询经纪人信息和申请记录
  25210. tags:
  25211. - 大连千海金
  25212. /Qhj/QueryBrokerRewardLog:
  25213. get:
  25214. parameters:
  25215. - description: 用户ID
  25216. in: query
  25217. name: userid
  25218. required: true
  25219. type: integer
  25220. - description: 开始交易日(yyyymmdd)
  25221. in: query
  25222. name: begindate
  25223. type: string
  25224. - description: 结束交易日(yyyymmdd)
  25225. in: query
  25226. name: enddate
  25227. type: string
  25228. produces:
  25229. - application/json
  25230. responses:
  25231. "200":
  25232. description: OK
  25233. schema:
  25234. items:
  25235. $ref: '#/definitions/models.QhjBrokerRewardLog'
  25236. type: array
  25237. "500":
  25238. description: Internal Server Error
  25239. schema:
  25240. $ref: '#/definitions/app.Response'
  25241. security:
  25242. - ApiKeyAuth: []
  25243. summary: 查询奖励流水(我的奖励)
  25244. tags:
  25245. - 大连千海金
  25246. /Qhj/QueryContract:
  25247. get:
  25248. parameters:
  25249. - description: 用户ID
  25250. in: query
  25251. name: userid
  25252. type: integer
  25253. - description: scf合同id
  25254. in: query
  25255. name: scfcontractid
  25256. type: integer
  25257. produces:
  25258. - application/json
  25259. responses:
  25260. "200":
  25261. description: OK
  25262. schema:
  25263. items:
  25264. $ref: '#/definitions/models.QhjContract'
  25265. type: array
  25266. "500":
  25267. description: Internal Server Error
  25268. schema:
  25269. $ref: '#/definitions/app.Response'
  25270. security:
  25271. - ApiKeyAuth: []
  25272. summary: 查询融资明细(合同)
  25273. tags:
  25274. - 大连千海金
  25275. /Qhj/QueryContractLog:
  25276. get:
  25277. parameters:
  25278. - description: scf合同id
  25279. in: query
  25280. name: scfcontractid
  25281. required: true
  25282. type: integer
  25283. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  25284. in: query
  25285. name: amounttype
  25286. type: string
  25287. produces:
  25288. - application/json
  25289. responses:
  25290. "200":
  25291. description: OK
  25292. schema:
  25293. items:
  25294. $ref: '#/definitions/models.QhjContractLog'
  25295. type: array
  25296. "500":
  25297. description: Internal Server Error
  25298. schema:
  25299. $ref: '#/definitions/app.Response'
  25300. security:
  25301. - ApiKeyAuth: []
  25302. summary: 查询融资明细流水(融资明细详情页中的流水)
  25303. tags:
  25304. - 大连千海金
  25305. /Qhj/QueryCusBankSignBank:
  25306. get:
  25307. produces:
  25308. - application/json
  25309. responses:
  25310. "200":
  25311. description: OK
  25312. schema:
  25313. items:
  25314. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  25315. type: array
  25316. "500":
  25317. description: Internal Server Error
  25318. schema:
  25319. $ref: '#/definitions/app.Response'
  25320. security:
  25321. - ApiKeyAuth: []
  25322. summary: 查询托管银行
  25323. tags:
  25324. - 大连千海金
  25325. /Qhj/QueryCustomerInfo:
  25326. get:
  25327. parameters:
  25328. - description: 用户ID
  25329. in: query
  25330. name: userid
  25331. required: true
  25332. type: integer
  25333. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  25334. in: query
  25335. name: querytype
  25336. required: true
  25337. type: integer
  25338. - description: 客户类型 1-个人 2-企业
  25339. in: query
  25340. name: userinfotype
  25341. type: integer
  25342. - description: 客户名称(模糊匹配)
  25343. in: query
  25344. name: customername
  25345. type: string
  25346. - description: 昵称(模糊匹配)
  25347. in: query
  25348. name: nickname
  25349. type: string
  25350. - description: 是否包含子级 1-包含
  25351. in: query
  25352. name: includesub
  25353. type: integer
  25354. produces:
  25355. - application/json
  25356. responses:
  25357. "200":
  25358. description: OK
  25359. schema:
  25360. items:
  25361. $ref: '#/definitions/models.QhjCustomer'
  25362. type: array
  25363. "500":
  25364. description: Internal Server Error
  25365. schema:
  25366. $ref: '#/definitions/app.Response'
  25367. security:
  25368. - ApiKeyAuth: []
  25369. summary: 查询客户资料
  25370. tags:
  25371. - 大连千海金
  25372. /Qhj/QueryGoodsEx:
  25373. get:
  25374. parameters:
  25375. - description: 商品id
  25376. in: query
  25377. name: goodsid
  25378. type: integer
  25379. produces:
  25380. - application/json
  25381. responses:
  25382. "200":
  25383. description: OK
  25384. schema:
  25385. items:
  25386. $ref: '#/definitions/models.Qhjgoodsex'
  25387. type: array
  25388. "500":
  25389. description: Internal Server Error
  25390. schema:
  25391. $ref: '#/definitions/app.Response'
  25392. security:
  25393. - ApiKeyAuth: []
  25394. summary: 交易商品扩展表
  25395. tags:
  25396. - 大连千海金
  25397. /Qhj/QueryMyTeam:
  25398. get:
  25399. parameters:
  25400. - description: 用户ID
  25401. in: query
  25402. name: userid
  25403. required: true
  25404. type: integer
  25405. produces:
  25406. - application/json
  25407. responses:
  25408. "200":
  25409. description: OK
  25410. schema:
  25411. items:
  25412. $ref: '#/definitions/models.QhjMyTeamEx'
  25413. type: array
  25414. "500":
  25415. description: Internal Server Error
  25416. schema:
  25417. $ref: '#/definitions/app.Response'
  25418. security:
  25419. - ApiKeyAuth: []
  25420. summary: 查询我的团队
  25421. tags:
  25422. - 大连千海金
  25423. /Qhj/QueryMyTeamOrder:
  25424. get:
  25425. parameters:
  25426. - description: 页码
  25427. in: query
  25428. name: page
  25429. type: integer
  25430. - description: 每页条数
  25431. in: query
  25432. name: pagesize
  25433. type: integer
  25434. - description: 用户ID
  25435. in: query
  25436. name: userid
  25437. required: true
  25438. type: integer
  25439. - description: 交易模式
  25440. in: query
  25441. name: trademode
  25442. type: integer
  25443. - description: 名称(模糊搜索账户)
  25444. in: query
  25445. name: filtername
  25446. type: string
  25447. produces:
  25448. - application/json
  25449. responses:
  25450. "200":
  25451. description: OK
  25452. schema:
  25453. items:
  25454. $ref: '#/definitions/models.QhjTeamOrder'
  25455. type: array
  25456. "500":
  25457. description: Internal Server Error
  25458. schema:
  25459. $ref: '#/definitions/app.Response'
  25460. security:
  25461. - ApiKeyAuth: []
  25462. summary: 查询团队订单(我的团队/团队订单)
  25463. tags:
  25464. - 大连千海金
  25465. /Qhj/QueryParentAreaList:
  25466. get:
  25467. parameters:
  25468. - description: 用户ID
  25469. in: query
  25470. name: userid
  25471. required: true
  25472. type: integer
  25473. produces:
  25474. - application/json
  25475. responses:
  25476. "200":
  25477. description: OK
  25478. schema:
  25479. items:
  25480. $ref: '#/definitions/models.QhjParentAreaList'
  25481. type: array
  25482. "500":
  25483. description: Internal Server Error
  25484. schema:
  25485. $ref: '#/definitions/app.Response'
  25486. security:
  25487. - ApiKeyAuth: []
  25488. summary: 查询所属机构列表
  25489. tags:
  25490. - 大连千海金
  25491. /Qhj/QueryPayOrder:
  25492. get:
  25493. parameters:
  25494. - description: 资金账号id
  25495. in: query
  25496. name: accountid
  25497. required: true
  25498. type: integer
  25499. - description: 成交单号
  25500. in: query
  25501. name: tradeid
  25502. type: integer
  25503. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  25504. in: query
  25505. name: payflag
  25506. type: string
  25507. produces:
  25508. - application/json
  25509. responses:
  25510. "200":
  25511. description: OK
  25512. schema:
  25513. items:
  25514. $ref: '#/definitions/models.QhjPayOrder'
  25515. type: array
  25516. "500":
  25517. description: Internal Server Error
  25518. schema:
  25519. $ref: '#/definitions/app.Response'
  25520. security:
  25521. - ApiKeyAuth: []
  25522. summary: 查询待付款单据
  25523. tags:
  25524. - 大连千海金
  25525. /Qhj/QueryPickArea:
  25526. get:
  25527. parameters:
  25528. - description: 用户ID
  25529. in: query
  25530. name: userid
  25531. type: integer
  25532. produces:
  25533. - application/json
  25534. responses:
  25535. "200":
  25536. description: OK
  25537. schema:
  25538. items:
  25539. $ref: '#/definitions/models.QhjPickArea'
  25540. type: array
  25541. "500":
  25542. description: Internal Server Error
  25543. schema:
  25544. $ref: '#/definitions/app.Response'
  25545. security:
  25546. - ApiKeyAuth: []
  25547. summary: 查询提货门店
  25548. tags:
  25549. - 大连千海金
  25550. /Qhj/QueryPickGoods:
  25551. get:
  25552. parameters:
  25553. - description: 交易商品id
  25554. in: query
  25555. name: goodsid
  25556. required: true
  25557. type: integer
  25558. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  25559. in: query
  25560. name: status
  25561. type: string
  25562. produces:
  25563. - application/json
  25564. responses:
  25565. "200":
  25566. description: OK
  25567. schema:
  25568. items:
  25569. $ref: '#/definitions/models.QhjPickGoods'
  25570. type: array
  25571. "500":
  25572. description: Internal Server Error
  25573. schema:
  25574. $ref: '#/definitions/app.Response'
  25575. security:
  25576. - ApiKeyAuth: []
  25577. summary: 查询提货商品
  25578. tags:
  25579. - 大连千海金
  25580. /Qhj/QueryRSTriggerLog:
  25581. get:
  25582. parameters:
  25583. - description: 用户ID
  25584. in: query
  25585. name: userid
  25586. type: integer
  25587. - description: 定投策略id
  25588. in: query
  25589. name: regularlystrategyid
  25590. type: integer
  25591. - description: 商品id
  25592. in: query
  25593. name: goodsid
  25594. type: integer
  25595. - description: 开始交易日(yyyymmdd)
  25596. in: query
  25597. name: begindate
  25598. type: string
  25599. - description: 结束交易日(yyyymmdd)
  25600. in: query
  25601. name: enddate
  25602. type: string
  25603. - description: 名称(模糊搜索账户)
  25604. in: query
  25605. name: filtername
  25606. type: string
  25607. produces:
  25608. - application/json
  25609. responses:
  25610. "200":
  25611. description: OK
  25612. schema:
  25613. items:
  25614. $ref: '#/definitions/models.QhjRSTriggerLog'
  25615. type: array
  25616. "500":
  25617. description: Internal Server Error
  25618. schema:
  25619. $ref: '#/definitions/app.Response'
  25620. security:
  25621. - ApiKeyAuth: []
  25622. summary: 查询定投记录(定投管理/详情/定投记录)
  25623. tags:
  25624. - 大连千海金
  25625. /Qhj/QueryRStrategy:
  25626. get:
  25627. parameters:
  25628. - description: 用户ID
  25629. in: query
  25630. name: userid
  25631. type: integer
  25632. - description: 商品id
  25633. in: query
  25634. name: goodsid
  25635. type: integer
  25636. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  25637. in: query
  25638. name: status
  25639. type: string
  25640. - description: 名称(模糊搜索账户)
  25641. in: query
  25642. name: filtername
  25643. type: string
  25644. produces:
  25645. - application/json
  25646. responses:
  25647. "200":
  25648. description: OK
  25649. schema:
  25650. items:
  25651. $ref: '#/definitions/models.QhjRStrategy'
  25652. type: array
  25653. "500":
  25654. description: Internal Server Error
  25655. schema:
  25656. $ref: '#/definitions/app.Response'
  25657. security:
  25658. - ApiKeyAuth: []
  25659. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  25660. tags:
  25661. - 大连千海金
  25662. /Qhj/QueryReckonPriceLog:
  25663. get:
  25664. parameters:
  25665. - description: 商品ID
  25666. in: query
  25667. name: goodsid
  25668. type: integer
  25669. - description: 交易日 格式(yyyymmdd)
  25670. in: query
  25671. name: tradedate
  25672. type: string
  25673. produces:
  25674. - application/json
  25675. responses:
  25676. "200":
  25677. description: OK
  25678. schema:
  25679. items:
  25680. $ref: '#/definitions/models.QhjReckonPriceLog'
  25681. type: array
  25682. "500":
  25683. description: Internal Server Error
  25684. schema:
  25685. $ref: '#/definitions/app.Response'
  25686. security:
  25687. - ApiKeyAuth: []
  25688. summary: 查询定投价(结算价)
  25689. tags:
  25690. - 大连千海金
  25691. /Qhj/QueryScoreLog:
  25692. get:
  25693. parameters:
  25694. - description: 用户ID
  25695. in: query
  25696. name: userid
  25697. required: true
  25698. type: integer
  25699. - description: 开始交易日(yyyymmdd)
  25700. in: query
  25701. name: begindate
  25702. type: string
  25703. - description: 结束交易日(yyyymmdd)
  25704. in: query
  25705. name: enddate
  25706. type: string
  25707. - description: 最近多少条
  25708. in: query
  25709. name: lastnum
  25710. type: integer
  25711. produces:
  25712. - application/json
  25713. responses:
  25714. "200":
  25715. description: OK
  25716. schema:
  25717. items:
  25718. $ref: '#/definitions/models.QhjScoreLog'
  25719. type: array
  25720. "500":
  25721. description: Internal Server Error
  25722. schema:
  25723. $ref: '#/definitions/app.Response'
  25724. security:
  25725. - ApiKeyAuth: []
  25726. summary: 查询积分流水(我的积分)
  25727. tags:
  25728. - 大连千海金
  25729. /Qhj/QuerySiteColumnDetail:
  25730. get:
  25731. parameters:
  25732. - description: 用户ID
  25733. in: query
  25734. name: userid
  25735. required: true
  25736. type: integer
  25737. produces:
  25738. - application/json
  25739. responses:
  25740. "200":
  25741. description: OK
  25742. schema:
  25743. items:
  25744. $ref: '#/definitions/models.QhjSiteColumnDetail'
  25745. type: array
  25746. "500":
  25747. description: Internal Server Error
  25748. schema:
  25749. $ref: '#/definitions/app.Response'
  25750. security:
  25751. - ApiKeyAuth: []
  25752. summary: 查询资讯
  25753. tags:
  25754. - 大连千海金
  25755. /Qhj/QueryTradeGoodsPickup:
  25756. get:
  25757. parameters:
  25758. - description: 用户ID
  25759. in: query
  25760. name: userid
  25761. required: true
  25762. type: integer
  25763. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  25764. 7:已拒绝 8:已撤销
  25765. in: query
  25766. name: takeorderstatus
  25767. type: integer
  25768. produces:
  25769. - application/json
  25770. responses:
  25771. "200":
  25772. description: OK
  25773. schema:
  25774. items:
  25775. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  25776. type: array
  25777. "500":
  25778. description: Internal Server Error
  25779. schema:
  25780. $ref: '#/definitions/app.Response'
  25781. security:
  25782. - ApiKeyAuth: []
  25783. summary: 查询提货
  25784. tags:
  25785. - 大连千海金
  25786. /Qhj/QueryUserCollectConfig:
  25787. get:
  25788. parameters:
  25789. - description: 用户ID
  25790. in: query
  25791. name: userid
  25792. required: true
  25793. type: integer
  25794. produces:
  25795. - application/json
  25796. responses:
  25797. "200":
  25798. description: OK
  25799. schema:
  25800. items:
  25801. $ref: '#/definitions/models.UserCollectConfig'
  25802. type: array
  25803. "500":
  25804. description: Internal Server Error
  25805. schema:
  25806. $ref: '#/definitions/app.Response'
  25807. security:
  25808. - ApiKeyAuth: []
  25809. summary: 查询提现账户设置
  25810. tags:
  25811. - 大连千海金
  25812. /Qhj/QueryUserReceiveInfo:
  25813. get:
  25814. parameters:
  25815. - description: 用户ID
  25816. in: query
  25817. name: userid
  25818. required: true
  25819. type: integer
  25820. produces:
  25821. - application/json
  25822. responses:
  25823. "200":
  25824. description: OK
  25825. schema:
  25826. items:
  25827. $ref: '#/definitions/models.UserReceiveInfo'
  25828. type: array
  25829. "500":
  25830. description: Internal Server Error
  25831. schema:
  25832. $ref: '#/definitions/app.Response'
  25833. security:
  25834. - ApiKeyAuth: []
  25835. summary: 查询收货地址信息
  25836. tags:
  25837. - 大连千海金
  25838. /QhjMgr/QueryAccountInOutApply:
  25839. get:
  25840. parameters:
  25841. - description: 查询类型 1-提现(出金) 2-充值(出金)
  25842. in: query
  25843. name: querytype
  25844. required: true
  25845. type: integer
  25846. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  25847. in: query
  25848. name: applystatus
  25849. type: integer
  25850. - description: 申请起始日期(格式yyyymmdd)
  25851. in: query
  25852. name: begindate
  25853. type: string
  25854. - description: 申请截止日期(格式yyyymmdd)
  25855. in: query
  25856. name: enddate
  25857. type: string
  25858. - description: 模糊搜索名称
  25859. in: query
  25860. name: likename
  25861. type: string
  25862. produces:
  25863. - application/json
  25864. responses:
  25865. "200":
  25866. description: OK
  25867. schema:
  25868. items:
  25869. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  25870. type: array
  25871. "500":
  25872. description: Internal Server Error
  25873. schema:
  25874. $ref: '#/definitions/app.Response'
  25875. security:
  25876. - ApiKeyAuth: []
  25877. summary: 查询充值提现
  25878. tags:
  25879. - 大连千海金(PCWeb)
  25880. /QhjMgr/QueryBrokerApply:
  25881. get:
  25882. parameters:
  25883. - description: 所属机构ID
  25884. in: query
  25885. name: userid
  25886. type: integer
  25887. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  25888. in: query
  25889. name: filterstatus
  25890. type: string
  25891. - description: 名称(模糊匹配)
  25892. in: query
  25893. name: filtername
  25894. type: string
  25895. - description: 是否包含子级 1-包含
  25896. in: query
  25897. name: includesub
  25898. type: integer
  25899. produces:
  25900. - application/json
  25901. responses:
  25902. "200":
  25903. description: OK
  25904. schema:
  25905. items:
  25906. $ref: '#/definitions/models.QhjMgrBrokerApply'
  25907. type: array
  25908. "500":
  25909. description: Internal Server Error
  25910. schema:
  25911. $ref: '#/definitions/app.Response'
  25912. security:
  25913. - ApiKeyAuth: []
  25914. summary: 查询经纪人申请
  25915. tags:
  25916. - 大连千海金(PCWeb)
  25917. /QhjMgr/QueryBrokerRewardReport:
  25918. get:
  25919. parameters:
  25920. - description: 所属机构ID
  25921. in: query
  25922. name: userid
  25923. required: true
  25924. type: integer
  25925. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25926. in: query
  25927. name: cycletype
  25928. required: true
  25929. type: integer
  25930. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  25931. in: query
  25932. name: cycletime
  25933. required: true
  25934. type: string
  25935. - description: 名称(模糊匹配)
  25936. in: query
  25937. name: filtername
  25938. type: string
  25939. - description: 是否包含子级 1-包含
  25940. in: query
  25941. name: includesub
  25942. type: integer
  25943. produces:
  25944. - application/json
  25945. responses:
  25946. "200":
  25947. description: OK
  25948. schema:
  25949. items:
  25950. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  25951. type: array
  25952. "500":
  25953. description: Internal Server Error
  25954. schema:
  25955. $ref: '#/definitions/app.Response'
  25956. security:
  25957. - ApiKeyAuth: []
  25958. summary: 查询经纪人奖励报表(废弃)
  25959. tags:
  25960. - 大连千海金(PCWeb)
  25961. /QhjMgr/QueryContract:
  25962. get:
  25963. parameters:
  25964. - description: 用户ID
  25965. in: query
  25966. name: userid
  25967. type: integer
  25968. - description: 商品id
  25969. in: query
  25970. name: goodsid
  25971. type: integer
  25972. - description: 名称(模糊搜索账户)
  25973. in: query
  25974. name: filtername
  25975. type: string
  25976. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  25977. in: query
  25978. name: risklevel
  25979. type: string
  25980. - description: 开始交易日(yyyymmdd)
  25981. in: query
  25982. name: begindate
  25983. type: string
  25984. - description: 结束交易日(yyyymmdd)
  25985. in: query
  25986. name: enddate
  25987. type: string
  25988. produces:
  25989. - application/json
  25990. responses:
  25991. "200":
  25992. description: OK
  25993. schema:
  25994. items:
  25995. $ref: '#/definitions/models.QhjMgrContract'
  25996. type: array
  25997. "500":
  25998. description: Internal Server Error
  25999. schema:
  26000. $ref: '#/definitions/app.Response'
  26001. security:
  26002. - ApiKeyAuth: []
  26003. summary: 查询融资信息(合同)
  26004. tags:
  26005. - 大连千海金(PCWeb)
  26006. /QhjMgr/QueryCustomerInfo:
  26007. get:
  26008. parameters:
  26009. - description: 用户ID
  26010. in: query
  26011. name: userid
  26012. required: true
  26013. type: integer
  26014. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  26015. in: query
  26016. name: querytype
  26017. required: true
  26018. type: integer
  26019. - description: 客户类型 1-个人 2-企业
  26020. in: query
  26021. name: userinfotype
  26022. type: integer
  26023. - description: 客户名称(模糊匹配)
  26024. in: query
  26025. name: customername
  26026. type: string
  26027. - description: 昵称(模糊匹配)
  26028. in: query
  26029. name: nickname
  26030. type: string
  26031. - description: 所属客户经理(模糊匹配)
  26032. in: query
  26033. name: brokername
  26034. type: string
  26035. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  26036. 如0503 -5月3日)
  26037. in: query
  26038. name: birthday
  26039. type: string
  26040. - description: 是否包含子级 1-包含
  26041. in: query
  26042. name: includesub
  26043. type: integer
  26044. produces:
  26045. - application/json
  26046. responses:
  26047. "200":
  26048. description: OK
  26049. schema:
  26050. items:
  26051. $ref: '#/definitions/models.QhjMgrCustomer'
  26052. type: array
  26053. "500":
  26054. description: Internal Server Error
  26055. schema:
  26056. $ref: '#/definitions/app.Response'
  26057. security:
  26058. - ApiKeyAuth: []
  26059. summary: 查询客户资料
  26060. tags:
  26061. - 大连千海金(PCWeb)
  26062. /QhjMgr/QueryPickGoods:
  26063. get:
  26064. parameters:
  26065. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  26066. in: query
  26067. name: status
  26068. type: string
  26069. produces:
  26070. - application/json
  26071. responses:
  26072. "200":
  26073. description: OK
  26074. schema:
  26075. items:
  26076. $ref: '#/definitions/models.QhjMgrPickGoods'
  26077. type: array
  26078. "500":
  26079. description: Internal Server Error
  26080. schema:
  26081. $ref: '#/definitions/app.Response'
  26082. security:
  26083. - ApiKeyAuth: []
  26084. summary: 查询提货商品
  26085. tags:
  26086. - 大连千海金(PCWeb)
  26087. /QhjMgr/QuerySubArea:
  26088. get:
  26089. parameters:
  26090. - description: 用户ID
  26091. in: query
  26092. name: userid
  26093. required: true
  26094. type: integer
  26095. produces:
  26096. - application/json
  26097. responses:
  26098. "200":
  26099. description: OK
  26100. schema:
  26101. items:
  26102. $ref: '#/definitions/models.QhjMgrSubArea'
  26103. type: array
  26104. "500":
  26105. description: Internal Server Error
  26106. schema:
  26107. $ref: '#/definitions/app.Response'
  26108. security:
  26109. - ApiKeyAuth: []
  26110. summary: 查询子机构列表
  26111. tags:
  26112. - 大连千海金(PCWeb)
  26113. /QhjMgr/QueryTradeDetail:
  26114. get:
  26115. parameters:
  26116. - description: 用户ID
  26117. in: query
  26118. name: userid
  26119. required: true
  26120. type: integer
  26121. - description: 用户类型 1-个人 2-企业
  26122. in: query
  26123. name: userinfotype
  26124. type: integer
  26125. - description: 交易模式
  26126. in: query
  26127. name: trademode
  26128. type: integer
  26129. - description: 商品id
  26130. in: query
  26131. name: goodsid
  26132. type: integer
  26133. - description: 名称(模糊搜索账户)
  26134. in: query
  26135. name: filtername
  26136. type: string
  26137. - description: 开始交易日(yyyymmdd)
  26138. in: query
  26139. name: begindate
  26140. type: string
  26141. - description: 结束交易日(yyyymmdd)
  26142. in: query
  26143. name: enddate
  26144. type: string
  26145. - description: 是否包含子级 1-包含
  26146. in: query
  26147. name: includesub
  26148. type: integer
  26149. produces:
  26150. - application/json
  26151. responses:
  26152. "200":
  26153. description: OK
  26154. schema:
  26155. items:
  26156. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  26157. type: array
  26158. "500":
  26159. description: Internal Server Error
  26160. schema:
  26161. $ref: '#/definitions/app.Response'
  26162. security:
  26163. - ApiKeyAuth: []
  26164. summary: 查询成交明细
  26165. tags:
  26166. - 大连千海金(PCWeb)
  26167. /QhjMgr/QueryTradeOrderDetail:
  26168. get:
  26169. parameters:
  26170. - description: 用户ID
  26171. in: query
  26172. name: userid
  26173. required: true
  26174. type: integer
  26175. - description: 用户类型 1-个人 2-企业
  26176. in: query
  26177. name: userinfotype
  26178. type: integer
  26179. - description: 交易模式
  26180. in: query
  26181. name: trademode
  26182. type: integer
  26183. - description: 商品id
  26184. in: query
  26185. name: goodsid
  26186. type: integer
  26187. - description: 名称(模糊搜索账户)
  26188. in: query
  26189. name: filtername
  26190. type: string
  26191. - description: 开始交易日(yyyymmdd)
  26192. in: query
  26193. name: begindate
  26194. type: string
  26195. - description: 结束交易日(yyyymmdd)
  26196. in: query
  26197. name: enddate
  26198. type: string
  26199. - description: 是否包含子级 1-包含
  26200. in: query
  26201. name: includesub
  26202. type: integer
  26203. produces:
  26204. - application/json
  26205. responses:
  26206. "200":
  26207. description: OK
  26208. schema:
  26209. items:
  26210. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  26211. type: array
  26212. "500":
  26213. description: Internal Server Error
  26214. schema:
  26215. $ref: '#/definitions/app.Response'
  26216. security:
  26217. - ApiKeyAuth: []
  26218. summary: 查询委托明细
  26219. tags:
  26220. - 大连千海金(PCWeb)
  26221. /QhjMgr/QueryTradePayOrder:
  26222. get:
  26223. parameters:
  26224. - description: 用户ID
  26225. in: query
  26226. name: userid
  26227. required: true
  26228. type: integer
  26229. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  26230. in: query
  26231. name: payflag
  26232. type: string
  26233. - description: 用户类型 1-个人 2-企业
  26234. in: query
  26235. name: userinfotype
  26236. type: integer
  26237. - description: 交易模式
  26238. in: query
  26239. name: trademode
  26240. type: integer
  26241. - description: 商品id
  26242. in: query
  26243. name: goodsid
  26244. type: integer
  26245. - description: 名称(模糊搜索账户)
  26246. in: query
  26247. name: filtername
  26248. type: string
  26249. - description: 开始交易日(yyyymmdd)
  26250. in: query
  26251. name: begindate
  26252. type: string
  26253. - description: 结束交易日(yyyymmdd)
  26254. in: query
  26255. name: enddate
  26256. type: string
  26257. - description: 是否包含子级 1-包含
  26258. in: query
  26259. name: includesub
  26260. type: integer
  26261. produces:
  26262. - application/json
  26263. responses:
  26264. "200":
  26265. description: OK
  26266. schema:
  26267. items:
  26268. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  26269. type: array
  26270. "500":
  26271. description: Internal Server Error
  26272. schema:
  26273. $ref: '#/definitions/app.Response'
  26274. security:
  26275. - ApiKeyAuth: []
  26276. summary: 查询待付款单
  26277. tags:
  26278. - 大连千海金(PCWeb)
  26279. /QhjMgr/QueryTradePosition:
  26280. get:
  26281. parameters:
  26282. - description: 用户ID
  26283. in: query
  26284. name: userid
  26285. required: true
  26286. type: integer
  26287. - description: 用户类型 1-个人 2-企业
  26288. in: query
  26289. name: userinfotype
  26290. type: integer
  26291. - description: 交易模式
  26292. in: query
  26293. name: trademode
  26294. type: integer
  26295. - description: 商品id
  26296. in: query
  26297. name: goodsid
  26298. type: integer
  26299. - description: 名称(模糊搜索账户)
  26300. in: query
  26301. name: filtername
  26302. type: string
  26303. - description: 是否包含子级 1-包含
  26304. in: query
  26305. name: includesub
  26306. type: integer
  26307. produces:
  26308. - application/json
  26309. responses:
  26310. "200":
  26311. description: OK
  26312. schema:
  26313. items:
  26314. $ref: '#/definitions/models.QhjMgrPositionRsp'
  26315. type: array
  26316. "500":
  26317. description: Internal Server Error
  26318. schema:
  26319. $ref: '#/definitions/app.Response'
  26320. security:
  26321. - ApiKeyAuth: []
  26322. summary: 查询持仓汇总
  26323. tags:
  26324. - 大连千海金(PCWeb)
  26325. /QhjSys/QueryAgreementChangeLog:
  26326. get:
  26327. parameters:
  26328. - description: 协议ID
  26329. in: query
  26330. name: agreementid
  26331. type: integer
  26332. - description: 协议版本号
  26333. in: query
  26334. name: agreementversion
  26335. type: integer
  26336. - description: 协议类型 - 1:注册 2:登录 3:交易
  26337. in: query
  26338. name: agreementtype
  26339. type: integer
  26340. - description: 协议编号(模糊匹配)
  26341. in: query
  26342. name: agreementno
  26343. type: string
  26344. - description: 协议名称(模糊匹配)
  26345. in: query
  26346. name: agreementname
  26347. type: string
  26348. produces:
  26349. - application/json
  26350. responses:
  26351. "200":
  26352. description: OK
  26353. schema:
  26354. items:
  26355. $ref: '#/definitions/models.QhjAgreementChangeLog'
  26356. type: array
  26357. "500":
  26358. description: Internal Server Error
  26359. schema:
  26360. $ref: '#/definitions/app.Response'
  26361. security:
  26362. - ApiKeyAuth: []
  26363. summary: 查询协议配置变更流水
  26364. tags:
  26365. - 大连千海金(协议和签约信息)
  26366. /QhjSys/QueryAgreementConfig:
  26367. get:
  26368. parameters:
  26369. - description: 协议ID
  26370. in: query
  26371. name: agreementid
  26372. type: integer
  26373. - description: 协议版本号
  26374. in: query
  26375. name: agreementversion
  26376. type: integer
  26377. - description: 协议类型 - 1:注册 2:登录 3:交易
  26378. in: query
  26379. name: agreementtype
  26380. type: integer
  26381. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  26382. in: query
  26383. name: isvalid
  26384. type: integer
  26385. - description: 协议编号(模糊匹配)
  26386. in: query
  26387. name: agreementno
  26388. type: string
  26389. - description: 协议名称(模糊匹配)
  26390. in: query
  26391. name: agreementname
  26392. type: string
  26393. produces:
  26394. - application/json
  26395. responses:
  26396. "200":
  26397. description: OK
  26398. schema:
  26399. items:
  26400. $ref: '#/definitions/models.QhjAgreementConfig'
  26401. type: array
  26402. "500":
  26403. description: Internal Server Error
  26404. schema:
  26405. $ref: '#/definitions/app.Response'
  26406. security:
  26407. - ApiKeyAuth: []
  26408. summary: 查询协议配置
  26409. tags:
  26410. - 大连千海金(协议和签约信息)
  26411. /QhjSys/QueryCustomerSignStatus:
  26412. get:
  26413. parameters:
  26414. - description: 客户ID
  26415. in: query
  26416. name: userid
  26417. type: integer
  26418. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  26419. in: query
  26420. name: nodetype
  26421. type: integer
  26422. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  26423. in: query
  26424. name: goodsid
  26425. type: integer
  26426. - description: 创建交易日(yyyyMMdd)
  26427. in: query
  26428. name: tradedate
  26429. type: string
  26430. - description: 用户名称(模糊匹配)
  26431. in: query
  26432. name: username
  26433. type: string
  26434. produces:
  26435. - application/json
  26436. responses:
  26437. "200":
  26438. description: OK
  26439. schema:
  26440. items:
  26441. $ref: '#/definitions/models.QhjCustomerSignStatus'
  26442. type: array
  26443. "500":
  26444. description: Internal Server Error
  26445. schema:
  26446. $ref: '#/definitions/app.Response'
  26447. security:
  26448. - ApiKeyAuth: []
  26449. summary: 查询客户协议签约状态
  26450. tags:
  26451. - 大连千海金(协议和签约信息)
  26452. /QhjSys/QueryNodeAgreementConfig:
  26453. get:
  26454. parameters:
  26455. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  26456. in: query
  26457. name: configid
  26458. type: integer
  26459. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  26460. in: query
  26461. name: nodetype
  26462. type: integer
  26463. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  26464. in: query
  26465. name: goodsid
  26466. type: integer
  26467. - description: 协议ID
  26468. in: query
  26469. name: agreementid
  26470. type: integer
  26471. - description: 协议类型 - 1:注册 2:登录 3:交易
  26472. in: query
  26473. name: agreementtype
  26474. type: integer
  26475. - description: 协议版本号
  26476. in: query
  26477. name: agreementversion
  26478. type: integer
  26479. - description: 协议编号(模糊匹配)
  26480. in: query
  26481. name: agreementno
  26482. type: string
  26483. - description: 协议名称(模糊匹配)
  26484. in: query
  26485. name: agreementname
  26486. type: string
  26487. produces:
  26488. - application/json
  26489. responses:
  26490. "200":
  26491. description: OK
  26492. schema:
  26493. items:
  26494. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  26495. type: array
  26496. "500":
  26497. description: Internal Server Error
  26498. schema:
  26499. $ref: '#/definitions/app.Response'
  26500. security:
  26501. - ApiKeyAuth: []
  26502. summary: 查询协议节点配置
  26503. tags:
  26504. - 大连千海金(协议和签约信息)
  26505. /QhjSys/QueryQhjCustomerSignLog:
  26506. get:
  26507. parameters:
  26508. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  26509. in: query
  26510. name: logid
  26511. type: integer
  26512. - description: 客户ID
  26513. in: query
  26514. name: userid
  26515. type: integer
  26516. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  26517. in: query
  26518. name: nodetype
  26519. type: integer
  26520. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  26521. in: query
  26522. name: goodsid
  26523. type: integer
  26524. - description: 协议ID
  26525. in: query
  26526. name: agreementid
  26527. type: integer
  26528. - description: 用户名称(模糊匹配)
  26529. in: query
  26530. name: username
  26531. type: string
  26532. - description: 协议编号(模糊匹配)
  26533. in: query
  26534. name: agreementno
  26535. type: string
  26536. - description: 协议名称(模糊匹配)
  26537. in: query
  26538. name: agreementname
  26539. type: string
  26540. produces:
  26541. - application/json
  26542. responses:
  26543. "200":
  26544. description: OK
  26545. schema:
  26546. items:
  26547. $ref: '#/definitions/models.QhjCustomerSignLog'
  26548. type: array
  26549. "500":
  26550. description: Internal Server Error
  26551. schema:
  26552. $ref: '#/definitions/app.Response'
  26553. security:
  26554. - ApiKeyAuth: []
  26555. summary: 查询客户协议签约流水
  26556. tags:
  26557. - 大连千海金(协议和签约信息)
  26558. /QhjSys/QueryUserNodeCfgAndStatus:
  26559. get:
  26560. parameters:
  26561. - description: 客户ID
  26562. in: query
  26563. name: userid
  26564. type: integer
  26565. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  26566. in: query
  26567. name: configid
  26568. type: integer
  26569. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  26570. in: query
  26571. name: nodetype
  26572. type: string
  26573. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  26574. in: query
  26575. name: goodsid
  26576. type: integer
  26577. - description: 协议ID
  26578. in: query
  26579. name: agreementid
  26580. type: integer
  26581. - description: 协议类型 - 1:注册 2:登录 3:交易
  26582. in: query
  26583. name: agreementtype
  26584. type: integer
  26585. - description: 协议版本号
  26586. in: query
  26587. name: agreementversion
  26588. type: integer
  26589. - description: 协议编号(模糊匹配)
  26590. in: query
  26591. name: agreementno
  26592. type: string
  26593. - description: 协议名称(模糊匹配)
  26594. in: query
  26595. name: agreementname
  26596. type: string
  26597. produces:
  26598. - application/json
  26599. responses:
  26600. "200":
  26601. description: OK
  26602. schema:
  26603. items:
  26604. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  26605. type: array
  26606. "500":
  26607. description: Internal Server Error
  26608. schema:
  26609. $ref: '#/definitions/app.Response'
  26610. security:
  26611. - ApiKeyAuth: []
  26612. summary: 查询用户协议节点配置和状态
  26613. tags:
  26614. - 大连千海金(协议和签约信息)
  26615. /Quote/QueryHistoryDatas:
  26616. get:
  26617. parameters:
  26618. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  26619. 日线 12:周线 13:月线 14:年线'
  26620. in: query
  26621. name: cycleType
  26622. required: true
  26623. type: integer
  26624. - description: 商品代码
  26625. in: query
  26626. name: goodsCode
  26627. required: true
  26628. type: string
  26629. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  26630. in: query
  26631. name: startTime
  26632. type: string
  26633. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  26634. in: query
  26635. name: endTime
  26636. type: string
  26637. - description: 条数
  26638. in: query
  26639. name: count
  26640. type: integer
  26641. - description: 是否按时间顺序排序(默认为时间倒序排序)
  26642. in: query
  26643. name: isAsc
  26644. type: boolean
  26645. produces:
  26646. - application/json
  26647. responses:
  26648. "200":
  26649. description: OK
  26650. schema:
  26651. $ref: '#/definitions/quote.HistoryData'
  26652. "500":
  26653. description: Internal Server Error
  26654. schema:
  26655. $ref: '#/definitions/app.Response'
  26656. security:
  26657. - ApiKeyAuth: []
  26658. summary: 查询行情历史数据
  26659. tags:
  26660. - 行情服务
  26661. /Quote/QueryHistoryTikDatas:
  26662. get:
  26663. parameters:
  26664. - description: 商品代码
  26665. in: query
  26666. name: goodsCode
  26667. required: true
  26668. type: string
  26669. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  26670. in: query
  26671. name: startTime
  26672. type: string
  26673. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  26674. in: query
  26675. name: endTime
  26676. type: string
  26677. - description: 条数
  26678. in: query
  26679. name: count
  26680. type: integer
  26681. - description: 是否按时间顺序排序(默认为时间倒序排序)
  26682. in: query
  26683. name: isAsc
  26684. type: boolean
  26685. produces:
  26686. - application/json
  26687. responses:
  26688. "200":
  26689. description: OK
  26690. schema:
  26691. $ref: '#/definitions/quote.HistoryTikData'
  26692. "500":
  26693. description: Internal Server Error
  26694. schema:
  26695. $ref: '#/definitions/app.Response'
  26696. security:
  26697. - ApiKeyAuth: []
  26698. summary: 查询行情Tik数据
  26699. tags:
  26700. - 行情服务
  26701. /Quote/QueryQuoteDay:
  26702. get:
  26703. parameters:
  26704. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  26705. in: query
  26706. name: goodsCodes
  26707. type: string
  26708. produces:
  26709. - application/json
  26710. responses:
  26711. "200":
  26712. description: OK
  26713. schema:
  26714. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  26715. "500":
  26716. description: Internal Server Error
  26717. schema:
  26718. $ref: '#/definitions/app.Response'
  26719. security:
  26720. - ApiKeyAuth: []
  26721. summary: 获取商品盘面信息
  26722. tags:
  26723. - 行情服务
  26724. /Quote/QueryTSData:
  26725. get:
  26726. parameters:
  26727. - description: 商品代码
  26728. in: query
  26729. name: goodsCode
  26730. required: true
  26731. type: string
  26732. produces:
  26733. - application/json
  26734. responses:
  26735. "200":
  26736. description: OK
  26737. schema:
  26738. $ref: '#/definitions/quote.QueryTSDataRsp'
  26739. "500":
  26740. description: Internal Server Error
  26741. schema:
  26742. $ref: '#/definitions/app.Response'
  26743. security:
  26744. - ApiKeyAuth: []
  26745. summary: 分时图数据查询
  26746. tags:
  26747. - 行情服务
  26748. /SZDZ/QueryConvertConfig:
  26749. get:
  26750. parameters:
  26751. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  26752. 6:交易转花生米(不设置)
  26753. in: query
  26754. name: convertType
  26755. type: integer
  26756. - description: 外部商品代码[JD\PD]
  26757. in: query
  26758. name: outerGoodsCode
  26759. type: string
  26760. - description: 内部商品ID列表[交易],格式:1,2,3
  26761. in: query
  26762. name: innerGoodsIDs
  26763. type: string
  26764. produces:
  26765. - application/json
  26766. responses:
  26767. "200":
  26768. description: OK
  26769. schema:
  26770. $ref: '#/definitions/models.Szdz3convertconfig'
  26771. "500":
  26772. description: Internal Server Error
  26773. schema:
  26774. $ref: '#/definitions/app.Response'
  26775. security:
  26776. - ApiKeyAuth: []
  26777. summary: 查询交易系统转换设置
  26778. tags:
  26779. - 定制【尚志大宗】
  26780. /SZDZ/QueryConvertLog:
  26781. get:
  26782. parameters:
  26783. - description: 资金账户 - 格式:1,2,3
  26784. in: query
  26785. name: accountID
  26786. required: true
  26787. type: string
  26788. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  26789. in: query
  26790. name: startDate
  26791. type: string
  26792. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  26793. in: query
  26794. name: endDate
  26795. type: string
  26796. produces:
  26797. - application/json
  26798. responses:
  26799. "200":
  26800. description: OK
  26801. schema:
  26802. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  26803. "500":
  26804. description: Internal Server Error
  26805. schema:
  26806. $ref: '#/definitions/app.Response'
  26807. security:
  26808. - ApiKeyAuth: []
  26809. summary: 交易系统转换流水查询
  26810. tags:
  26811. - 定制【尚志大宗】
  26812. /SZDZ/QueryGoodsPickup:
  26813. get:
  26814. parameters:
  26815. - description: 资金账户 - 格式:1,2,3
  26816. in: query
  26817. name: accountID
  26818. required: true
  26819. type: string
  26820. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  26821. in: query
  26822. name: takeOrderStatus
  26823. type: integer
  26824. produces:
  26825. - application/json
  26826. responses:
  26827. "200":
  26828. description: OK
  26829. schema:
  26830. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  26831. "500":
  26832. description: Internal Server Error
  26833. schema:
  26834. $ref: '#/definitions/app.Response'
  26835. security:
  26836. - ApiKeyAuth: []
  26837. summary: 商品提货单查询
  26838. tags:
  26839. - 定制【尚志大宗】
  26840. /SZDZ/QueryRecieptOrder:
  26841. get:
  26842. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  26843. parameters:
  26844. - description: 页码
  26845. in: query
  26846. name: page
  26847. type: integer
  26848. - description: 每页条数
  26849. in: query
  26850. name: pagesize
  26851. type: integer
  26852. - description: 商品ID
  26853. in: query
  26854. name: goodsID
  26855. required: true
  26856. type: integer
  26857. - description: 所属账户名称
  26858. in: query
  26859. name: accountName
  26860. type: string
  26861. - description: 市场ID
  26862. in: query
  26863. name: marketID
  26864. type: integer
  26865. - description: 方向 - 0:买 1:卖
  26866. in: query
  26867. name: buyorsell
  26868. required: true
  26869. type: integer
  26870. produces:
  26871. - application/json
  26872. responses:
  26873. "200":
  26874. description: OK
  26875. schema:
  26876. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  26877. "500":
  26878. description: Internal Server Error
  26879. schema:
  26880. $ref: '#/definitions/app.Response'
  26881. security:
  26882. - ApiKeyAuth: []
  26883. summary: 点选挂牌委托单据查询(摘牌大厅)
  26884. tags:
  26885. - 定制【尚志大宗】
  26886. /SZDZ/QuerySZDZTradePosition:
  26887. get:
  26888. parameters:
  26889. - description: 资金账户
  26890. in: query
  26891. name: accountID
  26892. required: true
  26893. type: integer
  26894. produces:
  26895. - application/json
  26896. responses:
  26897. "200":
  26898. description: OK
  26899. schema:
  26900. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  26901. "500":
  26902. description: Internal Server Error
  26903. schema:
  26904. $ref: '#/definitions/app.Response'
  26905. security:
  26906. - ApiKeyAuth: []
  26907. summary: 持仓汇总查询(尚志大宗)
  26908. tags:
  26909. - 定制【尚志大宗】
  26910. /SZDZ/SearchWhite:
  26911. get:
  26912. parameters:
  26913. - description: 用户ID
  26914. in: query
  26915. name: userID
  26916. required: true
  26917. type: integer
  26918. produces:
  26919. - application/json
  26920. responses:
  26921. "200":
  26922. description: OK
  26923. schema:
  26924. $ref: '#/definitions/models.Szdz3searchwhitelist'
  26925. "500":
  26926. description: Internal Server Error
  26927. schema:
  26928. $ref: '#/definitions/app.Response'
  26929. security:
  26930. - ApiKeyAuth: []
  26931. summary: 搜索白名单
  26932. tags:
  26933. - 定制【尚志大宗】
  26934. /Search/SearchGoodses:
  26935. get:
  26936. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  26937. parameters:
  26938. - description: 检索内容
  26939. in: query
  26940. name: content
  26941. required: true
  26942. type: string
  26943. - description: 交易模式,格式:1,2,3
  26944. in: query
  26945. name: tradeModes
  26946. type: string
  26947. produces:
  26948. - application/json
  26949. responses:
  26950. "200":
  26951. description: OK
  26952. schema:
  26953. $ref: '#/definitions/models.SearchGoods'
  26954. "500":
  26955. description: Internal Server Error
  26956. schema:
  26957. $ref: '#/definitions/app.Response'
  26958. summary: 检索商品信息
  26959. tags:
  26960. - 检索服务
  26961. /TaAccount/GetTaAccounts:
  26962. get:
  26963. parameters:
  26964. - description: 登录账户
  26965. in: query
  26966. name: loginID
  26967. required: true
  26968. type: integer
  26969. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  26970. in: query
  26971. name: taAccountType
  26972. type: integer
  26973. produces:
  26974. - application/json
  26975. responses:
  26976. "200":
  26977. description: OK
  26978. schema:
  26979. $ref: '#/definitions/models.Taaccount'
  26980. "500":
  26981. description: Internal Server Error
  26982. schema:
  26983. $ref: '#/definitions/app.Response'
  26984. security:
  26985. - ApiKeyAuth: []
  26986. summary: 获取资金账户信息
  26987. tags:
  26988. - 资金账户
  26989. /TaAccount/QueryAmountLog:
  26990. get:
  26991. parameters:
  26992. - description: 页码
  26993. in: query
  26994. name: page
  26995. type: integer
  26996. - description: 每页条数
  26997. in: query
  26998. name: pagesize
  26999. type: integer
  27000. - description: 资金账户 - 格式:1,2,3
  27001. in: query
  27002. name: accountID
  27003. required: true
  27004. type: string
  27005. - description: 资金操作类型 - 格式:1,2,3
  27006. in: query
  27007. name: OperateType
  27008. type: string
  27009. produces:
  27010. - application/json
  27011. responses:
  27012. "200":
  27013. description: OK
  27014. schema:
  27015. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  27016. "500":
  27017. description: Internal Server Error
  27018. schema:
  27019. $ref: '#/definitions/app.Response'
  27020. security:
  27021. - ApiKeyAuth: []
  27022. summary: 资金流水查询(当前)
  27023. tags:
  27024. - 资金账户
  27025. /TaAccount/QueryHisAmountLog:
  27026. get:
  27027. parameters:
  27028. - description: 页码
  27029. in: query
  27030. name: page
  27031. type: integer
  27032. - description: 每页条数
  27033. in: query
  27034. name: pagesize
  27035. type: integer
  27036. - description: 资金账户 - 格式:1,2,3
  27037. in: query
  27038. name: accountID
  27039. required: true
  27040. type: string
  27041. - description: 资金操作类型 - 格式:1,2,3
  27042. in: query
  27043. name: OperateType
  27044. type: string
  27045. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  27046. in: query
  27047. name: startDate
  27048. type: string
  27049. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  27050. in: query
  27051. name: endDate
  27052. type: string
  27053. produces:
  27054. - application/json
  27055. responses:
  27056. "200":
  27057. description: OK
  27058. schema:
  27059. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  27060. "500":
  27061. description: Internal Server Error
  27062. schema:
  27063. $ref: '#/definitions/app.Response'
  27064. security:
  27065. - ApiKeyAuth: []
  27066. summary: 资金流水查询(历史)
  27067. tags:
  27068. - 资金账户
  27069. /TaAccount/QueryRelatedTaAccount:
  27070. get:
  27071. parameters:
  27072. - description: 关联UserID
  27073. in: query
  27074. name: relateduserid
  27075. required: true
  27076. type: string
  27077. produces:
  27078. - application/json
  27079. responses:
  27080. "200":
  27081. description: OK
  27082. schema:
  27083. items:
  27084. $ref: '#/definitions/models.RelatedTaAccount'
  27085. type: array
  27086. "500":
  27087. description: Internal Server Error
  27088. schema:
  27089. $ref: '#/definitions/app.Response'
  27090. security:
  27091. - ApiKeyAuth: []
  27092. summary: 查询关联资金账户信息
  27093. tags:
  27094. - 资金账户
  27095. /Tjmd/QueryQuoteGoodsList:
  27096. get:
  27097. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  27098. parameters:
  27099. - description: 用户类型
  27100. in: query
  27101. name: usertype
  27102. required: true
  27103. type: integer
  27104. - description: 市场id, 格式 1,2,3
  27105. in: query
  27106. name: marketids
  27107. type: string
  27108. - description: 商品组id
  27109. in: query
  27110. name: goodsgroupid
  27111. type: integer
  27112. - description: 商品id
  27113. in: query
  27114. name: goodsid
  27115. type: integer
  27116. produces:
  27117. - application/json
  27118. responses:
  27119. "200":
  27120. description: OK
  27121. schema:
  27122. items:
  27123. $ref: '#/definitions/models.TjmdQuoteGoods'
  27124. type: array
  27125. "500":
  27126. description: Internal Server Error
  27127. schema:
  27128. $ref: '#/definitions/app.Response'
  27129. security:
  27130. - ApiKeyAuth: []
  27131. summary: 查询掉期报价列表
  27132. tags:
  27133. - 天津麦顿
  27134. /Tjmd/QueryTjmdHolderDetailTradeInfo:
  27135. get:
  27136. parameters:
  27137. - description: 成交单号
  27138. in: query
  27139. name: tradeid
  27140. required: true
  27141. type: string
  27142. produces:
  27143. - application/json
  27144. responses:
  27145. "200":
  27146. description: OK
  27147. schema:
  27148. items:
  27149. $ref: '#/definitions/models.TjmdHolderDetailTradeInfo'
  27150. type: array
  27151. "500":
  27152. description: Internal Server Error
  27153. schema:
  27154. $ref: '#/definitions/app.Response'
  27155. security:
  27156. - ApiKeyAuth: []
  27157. summary: 掉期商品订单详情(交易确认书)
  27158. tags:
  27159. - 天津麦顿
  27160. /Tjmd/QueryTjmdMarketSection:
  27161. get:
  27162. produces:
  27163. - application/json
  27164. responses:
  27165. "200":
  27166. description: OK
  27167. schema:
  27168. items:
  27169. $ref: '#/definitions/models.TjmdMarketSection'
  27170. type: array
  27171. "500":
  27172. description: Internal Server Error
  27173. schema:
  27174. $ref: '#/definitions/app.Response'
  27175. security:
  27176. - ApiKeyAuth: []
  27177. summary: 查询市场板块
  27178. tags:
  27179. - 天津麦顿
  27180. /Tjmd/QueryTjmdTodayAccountMargin:
  27181. get:
  27182. parameters:
  27183. - description: 市场id
  27184. in: query
  27185. name: marketid
  27186. type: string
  27187. - description: 商品id
  27188. in: query
  27189. name: goodsid
  27190. type: string
  27191. - description: 资金账号
  27192. in: query
  27193. name: accountid
  27194. type: string
  27195. produces:
  27196. - application/json
  27197. responses:
  27198. "200":
  27199. description: OK
  27200. schema:
  27201. items:
  27202. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  27203. type: array
  27204. "500":
  27205. description: Internal Server Error
  27206. schema:
  27207. $ref: '#/definitions/app.Response'
  27208. security:
  27209. - ApiKeyAuth: []
  27210. summary: 查询今日账户保证金配置
  27211. tags:
  27212. - 天津麦顿
  27213. /Tjmd/QueryTjmdTradeOrderDetail:
  27214. get:
  27215. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  27216. parameters:
  27217. - description: 页码
  27218. in: query
  27219. name: page
  27220. type: integer
  27221. - description: 每页条数
  27222. in: query
  27223. name: pagesize
  27224. type: integer
  27225. - description: 用户id
  27226. in: query
  27227. name: userid
  27228. required: true
  27229. type: integer
  27230. - description: 用户类型
  27231. in: query
  27232. name: usertype
  27233. required: true
  27234. type: integer
  27235. - description: 市场id, 格式 1,2,3
  27236. in: query
  27237. name: marketids
  27238. type: string
  27239. - description: 商品id
  27240. in: query
  27241. name: goodsid
  27242. required: true
  27243. type: integer
  27244. - description: 买卖方向 0-买 1-卖
  27245. in: query
  27246. name: buyorsell
  27247. required: true
  27248. type: integer
  27249. produces:
  27250. - application/json
  27251. responses:
  27252. "200":
  27253. description: OK
  27254. schema:
  27255. items:
  27256. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  27257. type: array
  27258. "500":
  27259. description: Internal Server Error
  27260. schema:
  27261. $ref: '#/definitions/app.Response'
  27262. security:
  27263. - ApiKeyAuth: []
  27264. summary: 查询掉期买卖大厅
  27265. tags:
  27266. - 天津麦顿
  27267. /Tjmd/QueryTjmdTransferApply:
  27268. get:
  27269. parameters:
  27270. - description: 类型 1-我的申请 2-对方申请
  27271. in: query
  27272. name: applytype
  27273. required: true
  27274. type: integer
  27275. - description: 市场id, 格式 1,2,3
  27276. in: query
  27277. name: marketids
  27278. type: string
  27279. - description: 资金账号, 格式 25000000001,25000000003
  27280. in: query
  27281. name: accountids
  27282. type: string
  27283. - description: 开始交易日(yyyymmdd)
  27284. in: query
  27285. name: begindate
  27286. type: string
  27287. - description: 结束交易日(yyyymmdd)
  27288. in: query
  27289. name: enddate
  27290. type: string
  27291. produces:
  27292. - application/json
  27293. responses:
  27294. "200":
  27295. description: OK
  27296. schema:
  27297. items:
  27298. $ref: '#/definitions/models.TjmdTransferApply'
  27299. type: array
  27300. "500":
  27301. description: Internal Server Error
  27302. schema:
  27303. $ref: '#/definitions/app.Response'
  27304. security:
  27305. - ApiKeyAuth: []
  27306. summary: 查询掉期协议单
  27307. tags:
  27308. - 天津麦顿
  27309. /Trade/QueryRecieptOrder:
  27310. get:
  27311. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  27312. parameters:
  27313. - description: 页码
  27314. in: query
  27315. name: page
  27316. type: integer
  27317. - description: 每页条数
  27318. in: query
  27319. name: pagesize
  27320. type: integer
  27321. - description: 商品ID
  27322. in: query
  27323. name: goodsID
  27324. required: true
  27325. type: integer
  27326. - description: 所属账户名称
  27327. in: query
  27328. name: accountName
  27329. type: string
  27330. - description: 市场ID
  27331. in: query
  27332. name: marketID
  27333. type: integer
  27334. - description: 方向 - 0:买 1:卖
  27335. in: query
  27336. name: buyorsell
  27337. required: true
  27338. type: integer
  27339. produces:
  27340. - application/json
  27341. responses:
  27342. "200":
  27343. description: OK
  27344. schema:
  27345. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  27346. "500":
  27347. description: Internal Server Error
  27348. schema:
  27349. $ref: '#/definitions/app.Response'
  27350. security:
  27351. - ApiKeyAuth: []
  27352. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  27353. tags:
  27354. - 通用交易
  27355. /User/AddMessageBoard:
  27356. post:
  27357. parameters:
  27358. - description: 用户ID
  27359. in: query
  27360. name: userID
  27361. required: true
  27362. type: integer
  27363. - description: 留言信息
  27364. in: query
  27365. name: message
  27366. required: true
  27367. type: string
  27368. - description: 联系电话
  27369. in: query
  27370. name: contactNum
  27371. required: true
  27372. type: string
  27373. produces:
  27374. - application/json
  27375. responses:
  27376. "200":
  27377. description: OK
  27378. schema:
  27379. $ref: '#/definitions/app.Response'
  27380. "500":
  27381. description: Internal Server Error
  27382. schema:
  27383. $ref: '#/definitions/app.Response'
  27384. security:
  27385. - ApiKeyAuth: []
  27386. summary: 添加用户留言板信息
  27387. tags:
  27388. - 用户信息
  27389. /User/AddUserFavoriteGoods:
  27390. post:
  27391. parameters:
  27392. - description: 用户ID
  27393. in: query
  27394. name: userID
  27395. required: true
  27396. type: integer
  27397. - description: 商品ID
  27398. in: query
  27399. name: goodsID
  27400. required: true
  27401. type: integer
  27402. produces:
  27403. - application/json
  27404. responses:
  27405. "200":
  27406. description: OK
  27407. schema:
  27408. $ref: '#/definitions/app.Response'
  27409. "500":
  27410. description: Internal Server Error
  27411. schema:
  27412. $ref: '#/definitions/app.Response'
  27413. security:
  27414. - ApiKeyAuth: []
  27415. summary: 添加用户商品收藏信息
  27416. tags:
  27417. - 用户信息
  27418. /User/GetLoginID:
  27419. get:
  27420. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  27421. parameters:
  27422. - description: 登录代码
  27423. in: query
  27424. name: username
  27425. required: true
  27426. type: string
  27427. produces:
  27428. - application/json
  27429. responses:
  27430. "200":
  27431. description: OK
  27432. schema:
  27433. $ref: '#/definitions/app.Response'
  27434. "500":
  27435. description: Internal Server Error
  27436. schema:
  27437. $ref: '#/definitions/app.Response'
  27438. summary: 获取登录ID
  27439. tags:
  27440. - 用户信息
  27441. /User/GetUserAccount:
  27442. get:
  27443. parameters:
  27444. - description: 用户ID
  27445. in: query
  27446. name: userID
  27447. required: true
  27448. type: integer
  27449. produces:
  27450. - application/json
  27451. responses:
  27452. "200":
  27453. description: OK
  27454. schema:
  27455. $ref: '#/definitions/models.Useraccount'
  27456. "500":
  27457. description: Internal Server Error
  27458. schema:
  27459. $ref: '#/definitions/app.Response'
  27460. security:
  27461. - ApiKeyAuth: []
  27462. summary: 获取用户账号信息
  27463. tags:
  27464. - 用户信息
  27465. /User/GetUserAuthStatus:
  27466. get:
  27467. parameters:
  27468. - description: 用户ID
  27469. in: query
  27470. name: userID
  27471. required: true
  27472. type: integer
  27473. produces:
  27474. - application/json
  27475. responses:
  27476. "200":
  27477. description: OK
  27478. schema:
  27479. $ref: '#/definitions/app.Response'
  27480. "500":
  27481. description: Internal Server Error
  27482. schema:
  27483. $ref: '#/definitions/app.Response'
  27484. security:
  27485. - ApiKeyAuth: []
  27486. summary: 获取用户实名认证状态
  27487. tags:
  27488. - 用户信息
  27489. /User/LoginQuery:
  27490. get:
  27491. parameters:
  27492. - description: 登录账号
  27493. in: query
  27494. name: loginID
  27495. required: true
  27496. type: integer
  27497. produces:
  27498. - application/json
  27499. responses:
  27500. "200":
  27501. description: OK
  27502. schema:
  27503. $ref: '#/definitions/user.LoginQueryRsp'
  27504. "500":
  27505. description: Internal Server Error
  27506. schema:
  27507. $ref: '#/definitions/app.Response'
  27508. security:
  27509. - ApiKeyAuth: []
  27510. summary: 账户登录后信息查询
  27511. tags:
  27512. - 用户信息
  27513. /User/QueryMessageBoard:
  27514. get:
  27515. parameters:
  27516. - description: 用户ID
  27517. in: query
  27518. name: userID
  27519. required: true
  27520. type: integer
  27521. produces:
  27522. - application/json
  27523. responses:
  27524. "200":
  27525. description: OK
  27526. schema:
  27527. $ref: '#/definitions/models.Messageboard'
  27528. "500":
  27529. description: Internal Server Error
  27530. schema:
  27531. $ref: '#/definitions/app.Response'
  27532. security:
  27533. - ApiKeyAuth: []
  27534. summary: 获取用户留言板信息
  27535. tags:
  27536. - 用户信息
  27537. /User/QueryUserFavoriteGoodses:
  27538. get:
  27539. parameters:
  27540. - description: 用户ID
  27541. in: query
  27542. name: userID
  27543. required: true
  27544. type: integer
  27545. produces:
  27546. - application/json
  27547. responses:
  27548. "200":
  27549. description: OK
  27550. schema:
  27551. $ref: '#/definitions/models.Userfavoritegoods'
  27552. "500":
  27553. description: Internal Server Error
  27554. schema:
  27555. $ref: '#/definitions/app.Response'
  27556. security:
  27557. - ApiKeyAuth: []
  27558. summary: 获取用户商品收藏信息
  27559. tags:
  27560. - 用户信息
  27561. /User/QueryUserInfo:
  27562. get:
  27563. parameters:
  27564. - description: 用户ID
  27565. in: query
  27566. name: userID
  27567. required: true
  27568. type: integer
  27569. - description: 是否解密
  27570. in: query
  27571. name: isDecrypt
  27572. type: boolean
  27573. produces:
  27574. - application/json
  27575. responses:
  27576. "200":
  27577. description: OK
  27578. schema:
  27579. $ref: '#/definitions/models.Userinfo'
  27580. "500":
  27581. description: Internal Server Error
  27582. schema:
  27583. $ref: '#/definitions/app.Response'
  27584. security:
  27585. - ApiKeyAuth: []
  27586. summary: 获取用户信息
  27587. tags:
  27588. - 用户信息
  27589. /User/QueryUserReferNum:
  27590. get:
  27591. parameters:
  27592. - description: 用户ID
  27593. in: query
  27594. name: userID
  27595. required: true
  27596. type: integer
  27597. produces:
  27598. - application/json
  27599. responses:
  27600. "200":
  27601. description: OK
  27602. schema:
  27603. $ref: '#/definitions/app.Response'
  27604. "500":
  27605. description: Internal Server Error
  27606. schema:
  27607. $ref: '#/definitions/app.Response'
  27608. summary: 获取用户邀请码
  27609. tags:
  27610. - 用户信息
  27611. /User/RemoveUserFavoriteGoods:
  27612. post:
  27613. parameters:
  27614. - description: 用户ID
  27615. in: query
  27616. name: userID
  27617. required: true
  27618. type: integer
  27619. - description: 商品ID
  27620. in: query
  27621. name: goodsID
  27622. required: true
  27623. type: integer
  27624. produces:
  27625. - application/json
  27626. responses:
  27627. "200":
  27628. description: OK
  27629. schema:
  27630. $ref: '#/definitions/app.Response'
  27631. "500":
  27632. description: Internal Server Error
  27633. schema:
  27634. $ref: '#/definitions/app.Response'
  27635. security:
  27636. - ApiKeyAuth: []
  27637. summary: 移除用户商品收藏信息
  27638. tags:
  27639. - 用户信息
  27640. /User/UpdateUserAccountStatus:
  27641. post:
  27642. parameters:
  27643. - description: 用户ID
  27644. in: query
  27645. name: userID
  27646. required: true
  27647. type: integer
  27648. - description: 账户状态 - 4:正常 6:注销(停用)
  27649. in: query
  27650. name: accountStatus
  27651. required: true
  27652. type: integer
  27653. produces:
  27654. - application/json
  27655. responses:
  27656. "200":
  27657. description: OK
  27658. schema:
  27659. $ref: '#/definitions/app.Response'
  27660. "500":
  27661. description: Internal Server Error
  27662. schema:
  27663. $ref: '#/definitions/app.Response'
  27664. security:
  27665. - ApiKeyAuth: []
  27666. summary: 更新用户状态
  27667. tags:
  27668. - 用户信息
  27669. /WRTrade/GetAllDeliveryGoods:
  27670. get:
  27671. produces:
  27672. - application/json
  27673. responses:
  27674. "200":
  27675. description: OK
  27676. schema:
  27677. $ref: '#/definitions/app.Response'
  27678. "500":
  27679. description: Internal Server Error
  27680. schema:
  27681. $ref: '#/definitions/app.Response'
  27682. security:
  27683. - ApiKeyAuth: []
  27684. summary: 获取带仓单分类的种类信息
  27685. tags:
  27686. - 仓单贸易
  27687. - 仓单贸易
  27688. /WrTrade2/QueryDeliveryGoodsSection:
  27689. get:
  27690. produces:
  27691. - application/json
  27692. responses:
  27693. "200":
  27694. description: OK
  27695. schema:
  27696. items:
  27697. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  27698. type: array
  27699. "500":
  27700. description: Internal Server Error
  27701. schema:
  27702. $ref: '#/definitions/app.Response'
  27703. security:
  27704. - ApiKeyAuth: []
  27705. summary: 查询板块(分类)
  27706. tags:
  27707. - 仓单贸易v2
  27708. /WrTrade2/QueryFaProductDetail:
  27709. get:
  27710. description: 页面 买卖大厅 -> 选择融资方案
  27711. parameters:
  27712. - description: 仓单要素id
  27713. in: query
  27714. name: wrfactortypeid
  27715. required: true
  27716. type: integer
  27717. produces:
  27718. - application/json
  27719. responses:
  27720. "200":
  27721. description: OK
  27722. schema:
  27723. items:
  27724. $ref: '#/definitions/models.WrFAProductDetail'
  27725. type: array
  27726. "500":
  27727. description: Internal Server Error
  27728. schema:
  27729. $ref: '#/definitions/app.Response'
  27730. security:
  27731. - ApiKeyAuth: []
  27732. summary: 查询融资产品列表
  27733. tags:
  27734. - 仓单贸易v2
  27735. /WrTrade2/QueryFilterItem:
  27736. get:
  27737. parameters:
  27738. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  27739. in: query
  27740. name: itype
  27741. required: true
  27742. type: string
  27743. produces:
  27744. - application/json
  27745. responses:
  27746. "200":
  27747. description: OK
  27748. schema:
  27749. items:
  27750. $ref: '#/definitions/models.WrFilterItem'
  27751. type: array
  27752. "500":
  27753. description: Internal Server Error
  27754. schema:
  27755. $ref: '#/definitions/app.Response'
  27756. security:
  27757. - ApiKeyAuth: []
  27758. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  27759. tags:
  27760. - 仓单贸易v2
  27761. /WrTrade2/QueryFtDeliveryGoods:
  27762. get:
  27763. produces:
  27764. - application/json
  27765. responses:
  27766. "200":
  27767. description: OK
  27768. schema:
  27769. items:
  27770. $ref: '#/definitions/models.WrFtDeliveryGoods'
  27771. type: array
  27772. "500":
  27773. description: Internal Server Error
  27774. schema:
  27775. $ref: '#/definitions/app.Response'
  27776. security:
  27777. - ApiKeyAuth: []
  27778. summary: 查询品种品类筛选框列表
  27779. tags:
  27780. - 仓单贸易v2
  27781. /WrTrade2/QueryHoldLB:
  27782. get:
  27783. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  27784. parameters:
  27785. - description: 资金账号
  27786. in: query
  27787. name: accountid
  27788. required: true
  27789. type: integer
  27790. - description: 仓库id
  27791. in: query
  27792. name: warehouseid
  27793. type: integer
  27794. - description: 品种id
  27795. in: query
  27796. name: deliverygoodsid
  27797. type: integer
  27798. - description: 品类id
  27799. in: query
  27800. name: wrstandardid
  27801. type: integer
  27802. - description: 仓单要素id
  27803. in: query
  27804. name: wrfactortypeid
  27805. type: integer
  27806. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27807. in: query
  27808. name: dgitemname
  27809. type: string
  27810. produces:
  27811. - application/json
  27812. responses:
  27813. "200":
  27814. description: OK
  27815. schema:
  27816. items:
  27817. $ref: '#/definitions/models.WrHoldLB'
  27818. type: array
  27819. "500":
  27820. description: Internal Server Error
  27821. schema:
  27822. $ref: '#/definitions/app.Response'
  27823. security:
  27824. - ApiKeyAuth: []
  27825. summary: 查询仓单持有记录
  27826. tags:
  27827. - 仓单贸易v2
  27828. /WrTrade2/QueryOrderQuote:
  27829. get:
  27830. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  27831. 唯一确定1条记录
  27832. parameters:
  27833. - description: 页码
  27834. in: query
  27835. name: page
  27836. type: integer
  27837. - description: 每页条数
  27838. in: query
  27839. name: pagesize
  27840. type: integer
  27841. - description: 仓单贸易市场id
  27842. in: query
  27843. name: marketid
  27844. type: integer
  27845. - description: 价格方式 - 1:固定价 2-浮动价
  27846. in: query
  27847. name: wrpricetype
  27848. required: true
  27849. type: integer
  27850. - description: 0:仓单预售 1:仓单贸易
  27851. in: query
  27852. name: haswr
  27853. type: integer
  27854. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27855. in: query
  27856. name: dgitemname
  27857. type: string
  27858. - description: 仓库id(筛选条件)
  27859. in: query
  27860. name: warehouseid
  27861. type: integer
  27862. - description: 品种id
  27863. in: query
  27864. name: deliverygoodsid
  27865. type: integer
  27866. - description: 品类id
  27867. in: query
  27868. name: wrstandardid
  27869. type: integer
  27870. - description: 品牌id(dgfactoryitemid)
  27871. in: query
  27872. name: brandid
  27873. type: integer
  27874. - description: 年份id(dgfactoryitemid)
  27875. in: query
  27876. name: yearsid
  27877. type: integer
  27878. - description: 仓单要素id
  27879. in: query
  27880. name: wrfactortypeid
  27881. type: integer
  27882. - description: 交收月(yyyy-mm) 仓单预售填写
  27883. in: query
  27884. name: deliverymonth
  27885. type: string
  27886. produces:
  27887. - application/json
  27888. responses:
  27889. "200":
  27890. description: OK
  27891. schema:
  27892. items:
  27893. $ref: '#/definitions/models.WrOrderQuote'
  27894. type: array
  27895. "500":
  27896. description: Internal Server Error
  27897. schema:
  27898. $ref: '#/definitions/app.Response'
  27899. security:
  27900. - ApiKeyAuth: []
  27901. summary: 查询大厅行情列表
  27902. tags:
  27903. - 仓单贸易v2
  27904. /WrTrade2/QueryOrderQuoteDetail:
  27905. get:
  27906. parameters:
  27907. - description: 页码
  27908. in: query
  27909. name: page
  27910. type: integer
  27911. - description: 每页条数
  27912. in: query
  27913. name: pagesize
  27914. type: integer
  27915. - description: 仓单贸易市场id
  27916. in: query
  27917. name: marketid
  27918. type: integer
  27919. - description: 价格方式 - 1:固定价 2-浮动价
  27920. in: query
  27921. name: wrpricetype
  27922. required: true
  27923. type: integer
  27924. - description: 0:仓单预售 1:仓单贸易
  27925. in: query
  27926. name: haswr
  27927. type: integer
  27928. - description: 仓单要素id
  27929. in: query
  27930. name: wrfactortypeid
  27931. required: true
  27932. type: integer
  27933. - description: 期货商品id(浮动价方式时填)
  27934. in: query
  27935. name: goodsid
  27936. type: integer
  27937. - description: 买卖方向 0-买 1-卖
  27938. in: query
  27939. name: buyorsell
  27940. required: true
  27941. type: integer
  27942. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  27943. in: query
  27944. name: deliverymonth
  27945. type: string
  27946. produces:
  27947. - application/json
  27948. responses:
  27949. "200":
  27950. description: OK
  27951. schema:
  27952. items:
  27953. $ref: '#/definitions/models.WrOrderQuoteDetail'
  27954. type: array
  27955. "500":
  27956. description: Internal Server Error
  27957. schema:
  27958. $ref: '#/definitions/app.Response'
  27959. security:
  27960. - ApiKeyAuth: []
  27961. summary: 查询买卖大厅
  27962. tags:
  27963. - 仓单贸易v2
  27964. /WrTrade2/QueryOrderQuoteMyq:
  27965. get:
  27966. parameters:
  27967. - description: 页码
  27968. in: query
  27969. name: page
  27970. type: integer
  27971. - description: 每页条数
  27972. in: query
  27973. name: pagesize
  27974. type: integer
  27975. - description: 用户id
  27976. in: query
  27977. name: userid
  27978. required: true
  27979. type: integer
  27980. - description: 仓单贸易市场id
  27981. in: query
  27982. name: marketid
  27983. type: integer
  27984. - description: 0:仓单预售 1:仓单贸易
  27985. in: query
  27986. name: haswr
  27987. type: integer
  27988. - description: 买卖方向 0-买 1-卖
  27989. in: query
  27990. name: buyorsell
  27991. required: true
  27992. type: integer
  27993. - description: 品种id
  27994. in: query
  27995. name: deliverygoodsid
  27996. type: integer
  27997. - description: 品类id
  27998. in: query
  27999. name: wrstandardid
  28000. type: integer
  28001. - description: 交收月(yyyy-mm) 仓单预售填写
  28002. in: query
  28003. name: deliverymonth
  28004. type: string
  28005. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  28006. in: query
  28007. name: dgitemname
  28008. type: string
  28009. produces:
  28010. - application/json
  28011. responses:
  28012. "200":
  28013. description: OK
  28014. schema:
  28015. items:
  28016. $ref: '#/definitions/models.WrQuoteOrderMyq'
  28017. type: array
  28018. "500":
  28019. description: Internal Server Error
  28020. schema:
  28021. $ref: '#/definitions/app.Response'
  28022. security:
  28023. - ApiKeyAuth: []
  28024. summary: 查询贸易圈挂牌大厅
  28025. tags:
  28026. - 仓单贸易v2
  28027. /WrTrade2/QueryPerformancePlan:
  28028. get:
  28029. parameters:
  28030. - description: 用户id
  28031. in: query
  28032. name: userid
  28033. required: true
  28034. type: integer
  28035. - description: 买卖方向 0-买 1-卖
  28036. in: query
  28037. name: buyorsell
  28038. required: true
  28039. type: integer
  28040. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  28041. 8:释放冻结失败 9:超时待处理 10:超时关闭
  28042. in: query
  28043. name: status
  28044. type: string
  28045. - description: 开始交易日(yyyymmdd)
  28046. in: query
  28047. name: begindate
  28048. type: string
  28049. - description: 结束交易日(yyyymmdd)
  28050. in: query
  28051. name: enddate
  28052. type: string
  28053. produces:
  28054. - application/json
  28055. responses:
  28056. "200":
  28057. description: OK
  28058. schema:
  28059. items:
  28060. $ref: '#/definitions/models.WrPerformancePlan'
  28061. type: array
  28062. "500":
  28063. description: Internal Server Error
  28064. schema:
  28065. $ref: '#/definitions/app.Response'
  28066. security:
  28067. - ApiKeyAuth: []
  28068. summary: 查询履约信息
  28069. tags:
  28070. - 仓单贸易v2
  28071. /WrTrade2/QueryPermancePlanTmp:
  28072. get:
  28073. description: |-
  28074. 返回指定用户的模板和公共模板(用户id为空)
  28075. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  28076. parameters:
  28077. - description: 用户id
  28078. in: query
  28079. name: userid
  28080. type: integer
  28081. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  28082. (无仓单) 5:挂牌期权 6:竞拍-降价式
  28083. in: query
  28084. name: tmptype
  28085. type: string
  28086. - description: 是否包含公共模板(用户id为空的) 1-包含
  28087. in: query
  28088. name: includepub
  28089. type: integer
  28090. - description: 市场id(天津麦顿指定此参数,其它不用)
  28091. in: query
  28092. name: marketid
  28093. type: integer
  28094. produces:
  28095. - application/json
  28096. responses:
  28097. "200":
  28098. description: OK
  28099. schema:
  28100. items:
  28101. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  28102. type: array
  28103. "500":
  28104. description: Internal Server Error
  28105. schema:
  28106. $ref: '#/definitions/app.Response'
  28107. security:
  28108. - ApiKeyAuth: []
  28109. summary: 查询履约模板
  28110. tags:
  28111. - 仓单贸易v2
  28112. /WrTrade2/QuerySiteColumnDetail:
  28113. get:
  28114. parameters:
  28115. - description: 页码
  28116. in: query
  28117. name: page
  28118. type: integer
  28119. - description: 每页条数
  28120. in: query
  28121. name: pagesize
  28122. type: integer
  28123. - description: 所属栏目id
  28124. in: query
  28125. name: columnid
  28126. type: integer
  28127. produces:
  28128. - application/json
  28129. responses:
  28130. "200":
  28131. description: OK
  28132. schema:
  28133. items:
  28134. $ref: '#/definitions/models.WrSiteColumnDetail'
  28135. type: array
  28136. "500":
  28137. description: Internal Server Error
  28138. schema:
  28139. $ref: '#/definitions/app.Response'
  28140. security:
  28141. - ApiKeyAuth: []
  28142. summary: 查询资讯
  28143. tags:
  28144. - 仓单贸易v2
  28145. /WrTrade2/QuerySpotGroupTradeSum:
  28146. get:
  28147. produces:
  28148. - application/json
  28149. responses:
  28150. "200":
  28151. description: OK
  28152. schema:
  28153. items:
  28154. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  28155. type: array
  28156. "500":
  28157. description: Internal Server Error
  28158. schema:
  28159. $ref: '#/definitions/app.Response'
  28160. security:
  28161. - ApiKeyAuth: []
  28162. summary: 查询指数
  28163. tags:
  28164. - 仓单贸易v2
  28165. /WrTrade2/QuerySpotGroupTradeSumDetail:
  28166. get:
  28167. description: 查询的结果将会按日期 从小到大 排序
  28168. parameters:
  28169. - description: 现货商品id
  28170. in: query
  28171. name: deliverygoodsid
  28172. required: true
  28173. type: integer
  28174. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  28175. in: query
  28176. name: lastnum
  28177. type: integer
  28178. produces:
  28179. - application/json
  28180. responses:
  28181. "200":
  28182. description: OK
  28183. schema:
  28184. items:
  28185. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  28186. type: array
  28187. "500":
  28188. description: Internal Server Error
  28189. schema:
  28190. $ref: '#/definitions/app.Response'
  28191. security:
  28192. - ApiKeyAuth: []
  28193. summary: 查询指数详细(价格走势图)
  28194. tags:
  28195. - 仓单贸易v2
  28196. /WrTrade2/QueryWrAverageTradePrice:
  28197. get:
  28198. parameters:
  28199. - description: 页码
  28200. in: query
  28201. name: page
  28202. type: integer
  28203. - description: 每页条数
  28204. in: query
  28205. name: pagesize
  28206. type: integer
  28207. - description: 0:仓单预售 1:仓单贸易
  28208. in: query
  28209. name: haswr
  28210. required: true
  28211. type: integer
  28212. - description: 仓单要素id
  28213. in: query
  28214. name: wrfactortypeid
  28215. required: true
  28216. type: integer
  28217. produces:
  28218. - application/json
  28219. responses:
  28220. "200":
  28221. description: OK
  28222. schema:
  28223. items:
  28224. $ref: '#/definitions/models.WrAverageTradePrice'
  28225. type: array
  28226. "500":
  28227. description: Internal Server Error
  28228. schema:
  28229. $ref: '#/definitions/app.Response'
  28230. security:
  28231. - ApiKeyAuth: []
  28232. summary: 查询成交价(历史走势)
  28233. tags:
  28234. - 仓单贸易v2
  28235. /WrTrade2/QueryWrBrandAndYears:
  28236. get:
  28237. produces:
  28238. - application/json
  28239. responses:
  28240. "200":
  28241. description: OK
  28242. schema:
  28243. items:
  28244. $ref: '#/definitions/models.WrBrandAndYears'
  28245. type: array
  28246. "500":
  28247. description: Internal Server Error
  28248. schema:
  28249. $ref: '#/definitions/app.Response'
  28250. security:
  28251. - ApiKeyAuth: []
  28252. summary: 查询品牌和年份
  28253. tags:
  28254. - 仓单贸易v2
  28255. /WrTrade2/QueryWrBsGoodsInfo:
  28256. get:
  28257. description: 合约交易/买卖大厅/详情
  28258. parameters:
  28259. - description: 商品id
  28260. in: query
  28261. name: goodsid
  28262. required: true
  28263. type: integer
  28264. produces:
  28265. - application/json
  28266. responses:
  28267. "200":
  28268. description: OK
  28269. schema:
  28270. items:
  28271. $ref: '#/definitions/models.WrBsGoodsInfo'
  28272. type: array
  28273. "500":
  28274. description: Internal Server Error
  28275. schema:
  28276. $ref: '#/definitions/app.Response'
  28277. security:
  28278. - ApiKeyAuth: []
  28279. summary: 查询合约交易买卖大厅详情
  28280. tags:
  28281. - 仓单贸易v2
  28282. /WrTrade2/QueryWrBuybackDetail:
  28283. get:
  28284. parameters:
  28285. - description: 融资合同id
  28286. in: query
  28287. name: scfcontractid
  28288. type: integer
  28289. produces:
  28290. - application/json
  28291. responses:
  28292. "200":
  28293. description: OK
  28294. schema:
  28295. items:
  28296. $ref: '#/definitions/models.WrBuybackDetail'
  28297. type: array
  28298. "500":
  28299. description: Internal Server Error
  28300. schema:
  28301. $ref: '#/definitions/app.Response'
  28302. security:
  28303. - ApiKeyAuth: []
  28304. summary: 查询仓单回购明细
  28305. tags:
  28306. - 仓单贸易v2
  28307. /WrTrade2/QueryWrClientAdSpaceConfig:
  28308. get:
  28309. produces:
  28310. - application/json
  28311. responses:
  28312. "200":
  28313. description: OK
  28314. schema:
  28315. items:
  28316. $ref: '#/definitions/models.WrClientAdSpaceConfig'
  28317. type: array
  28318. "500":
  28319. description: Internal Server Error
  28320. schema:
  28321. $ref: '#/definitions/app.Response'
  28322. security:
  28323. - ApiKeyAuth: []
  28324. summary: 查询固定广告配置
  28325. tags:
  28326. - 仓单贸易v2
  28327. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  28328. get:
  28329. parameters:
  28330. - description: 资金账号
  28331. in: query
  28332. name: accountid
  28333. required: true
  28334. type: integer
  28335. - description: 商品id
  28336. in: query
  28337. name: goodsid
  28338. required: true
  28339. type: integer
  28340. produces:
  28341. - application/json
  28342. responses:
  28343. "200":
  28344. description: OK
  28345. schema:
  28346. items:
  28347. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  28348. type: array
  28349. "500":
  28350. description: Internal Server Error
  28351. schema:
  28352. $ref: '#/definitions/app.Response'
  28353. security:
  28354. - ApiKeyAuth: []
  28355. summary: 查询合约交收可点选仓单
  28356. tags:
  28357. - 仓单贸易v2
  28358. /WrTrade2/QueryWrDeliveryDetail:
  28359. get:
  28360. parameters:
  28361. - description: 用户id
  28362. in: query
  28363. name: userid
  28364. required: true
  28365. type: integer
  28366. - description: 资金账号id
  28367. in: query
  28368. name: accountid
  28369. type: integer
  28370. - description: 开始交易日(yyyymmdd)
  28371. in: query
  28372. name: begindate
  28373. type: string
  28374. - description: 结束交易日(yyyymmdd)
  28375. in: query
  28376. name: enddate
  28377. type: string
  28378. produces:
  28379. - application/json
  28380. responses:
  28381. "200":
  28382. description: OK
  28383. schema:
  28384. items:
  28385. $ref: '#/definitions/models.WrDeliveryDetail'
  28386. type: array
  28387. "500":
  28388. description: Internal Server Error
  28389. schema:
  28390. $ref: '#/definitions/app.Response'
  28391. security:
  28392. - ApiKeyAuth: []
  28393. summary: 查询交收
  28394. tags:
  28395. - 仓单贸易v2
  28396. /WrTrade2/QueryWrDraftUserInfo:
  28397. get:
  28398. parameters:
  28399. - description: 用户ID
  28400. in: query
  28401. name: userid
  28402. required: true
  28403. type: integer
  28404. - description: 用户状态 1:正常 2:注销
  28405. in: query
  28406. name: userstatus
  28407. type: integer
  28408. produces:
  28409. - application/json
  28410. responses:
  28411. "200":
  28412. description: OK
  28413. schema:
  28414. items:
  28415. $ref: '#/definitions/models.WrDraftUserInfo'
  28416. type: array
  28417. "500":
  28418. description: Internal Server Error
  28419. schema:
  28420. $ref: '#/definitions/app.Response'
  28421. security:
  28422. - ApiKeyAuth: []
  28423. summary: 查询实名认证信息
  28424. tags:
  28425. - 仓单贸易v2
  28426. /WrTrade2/QueryWrFactorTypeInfo:
  28427. get:
  28428. parameters:
  28429. - description: 仓单要素id
  28430. in: query
  28431. name: wrfactortypeid
  28432. required: true
  28433. type: integer
  28434. produces:
  28435. - application/json
  28436. responses:
  28437. "200":
  28438. description: OK
  28439. schema:
  28440. items:
  28441. $ref: '#/definitions/models.WrFactorTypeInfo'
  28442. type: array
  28443. "500":
  28444. description: Internal Server Error
  28445. schema:
  28446. $ref: '#/definitions/app.Response'
  28447. security:
  28448. - ApiKeyAuth: []
  28449. summary: 查询仓单要素详细信息
  28450. tags:
  28451. - 仓单贸易v2
  28452. /WrTrade2/QueryWrFactorTypeInfoEx:
  28453. get:
  28454. parameters:
  28455. - description: 仓单要素id
  28456. in: query
  28457. name: wrfactortypeid
  28458. required: true
  28459. type: integer
  28460. produces:
  28461. - application/json
  28462. responses:
  28463. "200":
  28464. description: OK
  28465. schema:
  28466. items:
  28467. $ref: '#/definitions/models.WrTypeItem'
  28468. type: array
  28469. "500":
  28470. description: Internal Server Error
  28471. schema:
  28472. $ref: '#/definitions/app.Response'
  28473. security:
  28474. - ApiKeyAuth: []
  28475. summary: 查询仓单要素详细信息列表项
  28476. tags:
  28477. - 仓单贸易v2
  28478. /WrTrade2/QueryWrFinanceBuyApply:
  28479. get:
  28480. description: 页面 融资信息+ / 申请单
  28481. parameters:
  28482. - description: 用户id
  28483. in: query
  28484. name: userid
  28485. required: true
  28486. type: integer
  28487. produces:
  28488. - application/json
  28489. responses:
  28490. "200":
  28491. description: OK
  28492. schema:
  28493. items:
  28494. $ref: '#/definitions/models.WrFinanceBuyApply'
  28495. type: array
  28496. "500":
  28497. description: Internal Server Error
  28498. schema:
  28499. $ref: '#/definitions/app.Response'
  28500. security:
  28501. - ApiKeyAuth: []
  28502. summary: 查询融资购买申请
  28503. tags:
  28504. - 仓单贸易v2
  28505. /WrTrade2/QueryWrFriendApply:
  28506. get:
  28507. parameters:
  28508. - description: 用户id
  28509. in: query
  28510. name: userid
  28511. required: true
  28512. type: integer
  28513. produces:
  28514. - application/json
  28515. responses:
  28516. "200":
  28517. description: OK
  28518. schema:
  28519. items:
  28520. $ref: '#/definitions/models.WrFriendApply'
  28521. type: array
  28522. "500":
  28523. description: Internal Server Error
  28524. schema:
  28525. $ref: '#/definitions/app.Response'
  28526. security:
  28527. - ApiKeyAuth: []
  28528. summary: 查询好友申请记录
  28529. tags:
  28530. - 仓单贸易v2
  28531. /WrTrade2/QueryWrGoodsInfo:
  28532. get:
  28533. parameters:
  28534. - description: 仓单贸易市场id
  28535. in: query
  28536. name: marketid
  28537. type: integer
  28538. - description: 0:仓单预售 1:仓单贸易
  28539. in: query
  28540. name: haswr
  28541. required: true
  28542. type: integer
  28543. - description: 仓单要素id
  28544. in: query
  28545. name: wrfactortypeid
  28546. required: true
  28547. type: integer
  28548. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  28549. in: query
  28550. name: tmplateid
  28551. type: integer
  28552. produces:
  28553. - application/json
  28554. responses:
  28555. "200":
  28556. description: OK
  28557. schema:
  28558. items:
  28559. $ref: '#/definitions/models.WrGoodsInfo'
  28560. type: array
  28561. "500":
  28562. description: Internal Server Error
  28563. schema:
  28564. $ref: '#/definitions/app.Response'
  28565. security:
  28566. - ApiKeyAuth: []
  28567. summary: 查询仓单商品信息
  28568. tags:
  28569. - 仓单贸易v2
  28570. /WrTrade2/QueryWrMarketTradeConfig:
  28571. get:
  28572. parameters:
  28573. - description: 市场id
  28574. in: query
  28575. name: marketid
  28576. type: integer
  28577. produces:
  28578. - application/json
  28579. responses:
  28580. "200":
  28581. description: OK
  28582. schema:
  28583. items:
  28584. $ref: '#/definitions/models.WrMarketTradeConfig'
  28585. type: array
  28586. "500":
  28587. description: Internal Server Error
  28588. schema:
  28589. $ref: '#/definitions/app.Response'
  28590. security:
  28591. - ApiKeyAuth: []
  28592. summary: 查询市场交易参数配置
  28593. tags:
  28594. - 仓单贸易v2
  28595. /WrTrade2/QueryWrOrderDetail:
  28596. get:
  28597. description: 页面 现货仓单 | 预售仓单 -> 委托单
  28598. parameters:
  28599. - description: 页码
  28600. in: query
  28601. name: page
  28602. type: integer
  28603. - description: 每页条数
  28604. in: query
  28605. name: pagesize
  28606. type: integer
  28607. - description: 用户id
  28608. in: query
  28609. name: userid
  28610. required: true
  28611. type: integer
  28612. - description: 仓单贸易市场id
  28613. in: query
  28614. name: marketid
  28615. type: integer
  28616. - description: 0:仓单预售 1:仓单贸易
  28617. in: query
  28618. name: haswr
  28619. required: true
  28620. type: integer
  28621. - description: 是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场
  28622. in: query
  28623. name: bcancel
  28624. type: integer
  28625. - description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  28626. in: query
  28627. name: wrtradetype
  28628. type: integer
  28629. - description: 开始交易日(yyyymmdd)
  28630. in: query
  28631. name: begindate
  28632. type: string
  28633. - description: 结束交易日(yyyymmdd)
  28634. in: query
  28635. name: enddate
  28636. type: string
  28637. produces:
  28638. - application/json
  28639. responses:
  28640. "200":
  28641. description: OK
  28642. schema:
  28643. items:
  28644. $ref: '#/definitions/models.WrOrderDetail'
  28645. type: array
  28646. "500":
  28647. description: Internal Server Error
  28648. schema:
  28649. $ref: '#/definitions/app.Response'
  28650. security:
  28651. - ApiKeyAuth: []
  28652. summary: 查询仓单委托单
  28653. tags:
  28654. - 仓单贸易v2
  28655. /WrTrade2/QueryWrOutInApply:
  28656. get:
  28657. parameters:
  28658. - description: 用户id
  28659. in: query
  28660. name: userid
  28661. required: true
  28662. type: integer
  28663. - description: 开始交易日(yyyymmdd)
  28664. in: query
  28665. name: begindate
  28666. type: string
  28667. - description: 结束交易日(yyyymmdd)
  28668. in: query
  28669. name: enddate
  28670. type: string
  28671. produces:
  28672. - application/json
  28673. responses:
  28674. "200":
  28675. description: OK
  28676. schema:
  28677. items:
  28678. $ref: '#/definitions/models.WrOutInApply'
  28679. type: array
  28680. "500":
  28681. description: Internal Server Error
  28682. schema:
  28683. $ref: '#/definitions/app.Response'
  28684. security:
  28685. - ApiKeyAuth: []
  28686. summary: 查询提货申请
  28687. tags:
  28688. - 仓单贸易v2
  28689. /WrTrade2/QueryWrPerformancePlanStep:
  28690. get:
  28691. parameters:
  28692. - description: 履约计划id(performanceplanid)
  28693. in: query
  28694. name: planid
  28695. required: true
  28696. type: integer
  28697. - description: 当前步骤id
  28698. in: query
  28699. name: curstepid
  28700. type: integer
  28701. produces:
  28702. - application/json
  28703. responses:
  28704. "200":
  28705. description: OK
  28706. schema:
  28707. items:
  28708. $ref: '#/definitions/models.WrPerformancePlanStep'
  28709. type: array
  28710. "500":
  28711. description: Internal Server Error
  28712. schema:
  28713. $ref: '#/definitions/app.Response'
  28714. security:
  28715. - ApiKeyAuth: []
  28716. summary: 查询履约信息详情
  28717. tags:
  28718. - 仓单贸易v2
  28719. /WrTrade2/QueryWrPerformanceStepType:
  28720. get:
  28721. produces:
  28722. - application/json
  28723. responses:
  28724. "200":
  28725. description: OK
  28726. schema:
  28727. items:
  28728. $ref: '#/definitions/models.WrPerformanceStepType'
  28729. type: array
  28730. "500":
  28731. description: Internal Server Error
  28732. schema:
  28733. $ref: '#/definitions/app.Response'
  28734. security:
  28735. - ApiKeyAuth: []
  28736. summary: 查询履约步骤枚举
  28737. tags:
  28738. - 仓单贸易v2
  28739. /WrTrade2/QueryWrPosition:
  28740. get:
  28741. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  28742. parameters:
  28743. - description: 用户id
  28744. in: query
  28745. name: userid
  28746. required: true
  28747. type: integer
  28748. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  28749. in: query
  28750. name: querytype
  28751. required: true
  28752. type: integer
  28753. - description: 0:仓单预售 1:仓单贸易
  28754. in: query
  28755. name: haswr
  28756. required: true
  28757. type: integer
  28758. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  28759. in: query
  28760. name: dgitemname
  28761. type: string
  28762. - description: 仓库id(筛选条件)
  28763. in: query
  28764. name: warehouseid
  28765. type: integer
  28766. - description: 品种id
  28767. in: query
  28768. name: deliverygoodsid
  28769. type: integer
  28770. - description: 品类id
  28771. in: query
  28772. name: wrstandardid
  28773. type: integer
  28774. produces:
  28775. - application/json
  28776. responses:
  28777. "200":
  28778. description: OK
  28779. schema:
  28780. items:
  28781. $ref: '#/definitions/models.WrPosition'
  28782. type: array
  28783. "500":
  28784. description: Internal Server Error
  28785. schema:
  28786. $ref: '#/definitions/app.Response'
  28787. security:
  28788. - ApiKeyAuth: []
  28789. summary: 查询现货(预售)仓单持仓
  28790. tags:
  28791. - 仓单贸易v2
  28792. /WrTrade2/QueryWrPreSaleInfo:
  28793. get:
  28794. parameters:
  28795. - description: 市场id
  28796. in: query
  28797. name: marketid
  28798. type: integer
  28799. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  28800. in: query
  28801. name: presalestatus
  28802. type: string
  28803. - description: 摇号标识 - 0:未摇号 1:已摇号
  28804. in: query
  28805. name: lotteryflag
  28806. type: integer
  28807. - description: 最近多少条记录(按创建时间倒序)
  28808. in: query
  28809. name: lastnum
  28810. type: integer
  28811. produces:
  28812. - application/json
  28813. responses:
  28814. "200":
  28815. description: OK
  28816. schema:
  28817. items:
  28818. $ref: '#/definitions/models.WrPreSaleInfo'
  28819. type: array
  28820. "500":
  28821. description: Internal Server Error
  28822. schema:
  28823. $ref: '#/definitions/app.Response'
  28824. security:
  28825. - ApiKeyAuth: []
  28826. summary: 查询新品发布
  28827. tags:
  28828. - 仓单贸易v2
  28829. /WrTrade2/QueryWrReckonSpotGoodsTradeSum:
  28830. get:
  28831. parameters:
  28832. - description: 市场id
  28833. in: query
  28834. name: marketid
  28835. required: true
  28836. type: integer
  28837. - description: 现货商品id
  28838. in: query
  28839. name: wrstandardid
  28840. required: true
  28841. type: integer
  28842. - description: 开始交易日(yyyymmdd)
  28843. in: query
  28844. name: begindate
  28845. type: string
  28846. - description: 结束交易日(yyyymmdd)
  28847. in: query
  28848. name: enddate
  28849. type: string
  28850. - description: 最近多少条记录(按交易日倒序)
  28851. in: query
  28852. name: lastnum
  28853. type: integer
  28854. produces:
  28855. - application/json
  28856. responses:
  28857. "200":
  28858. description: OK
  28859. schema:
  28860. items:
  28861. $ref: '#/definitions/models.WrReckonSpotGoodsTradeSum'
  28862. type: array
  28863. "500":
  28864. description: Internal Server Error
  28865. schema:
  28866. $ref: '#/definitions/app.Response'
  28867. security:
  28868. - ApiKeyAuth: []
  28869. summary: 查询价格走势
  28870. tags:
  28871. - 仓单贸易v2
  28872. /WrTrade2/QueryWrScfContract:
  28873. get:
  28874. parameters:
  28875. - description: 用户id
  28876. in: query
  28877. name: userid
  28878. required: true
  28879. type: integer
  28880. - description: 融资合同id
  28881. in: query
  28882. name: scfcontractid
  28883. type: integer
  28884. produces:
  28885. - application/json
  28886. responses:
  28887. "200":
  28888. description: OK
  28889. schema:
  28890. items:
  28891. $ref: '#/definitions/models.WrScfContract'
  28892. type: array
  28893. "500":
  28894. description: Internal Server Error
  28895. schema:
  28896. $ref: '#/definitions/app.Response'
  28897. security:
  28898. - ApiKeyAuth: []
  28899. summary: 查询仓单贸易融资合同
  28900. tags:
  28901. - 仓单贸易v2
  28902. /WrTrade2/QueryWrScfContractInterest:
  28903. get:
  28904. parameters:
  28905. - description: 融资合同id
  28906. in: query
  28907. name: scfcontractid
  28908. type: integer
  28909. produces:
  28910. - application/json
  28911. responses:
  28912. "200":
  28913. description: OK
  28914. schema:
  28915. items:
  28916. $ref: '#/definitions/models.WrScfContractInterest'
  28917. type: array
  28918. "500":
  28919. description: Internal Server Error
  28920. schema:
  28921. $ref: '#/definitions/app.Response'
  28922. security:
  28923. - ApiKeyAuth: []
  28924. summary: 查询融资合同费用明细
  28925. tags:
  28926. - 仓单贸易v2
  28927. /WrTrade2/QueryWrSearchUser:
  28928. get:
  28929. parameters:
  28930. - description: 用户名称(模糊匹配)
  28931. in: query
  28932. name: username
  28933. required: true
  28934. type: string
  28935. produces:
  28936. - application/json
  28937. responses:
  28938. "200":
  28939. description: OK
  28940. schema:
  28941. items:
  28942. $ref: '#/definitions/models.WrSearchUser'
  28943. type: array
  28944. "500":
  28945. description: Internal Server Error
  28946. schema:
  28947. $ref: '#/definitions/app.Response'
  28948. security:
  28949. - ApiKeyAuth: []
  28950. summary: 查询用户
  28951. tags:
  28952. - 仓单贸易v2
  28953. /WrTrade2/QueryWrSpecialMatchOrder:
  28954. get:
  28955. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  28956. parameters:
  28957. - description: 页码
  28958. in: query
  28959. name: page
  28960. type: integer
  28961. - description: 每页条数
  28962. in: query
  28963. name: pagesize
  28964. type: integer
  28965. - description: 用户id
  28966. in: query
  28967. name: userid
  28968. required: true
  28969. type: integer
  28970. - description: 仓单贸易市场id
  28971. in: query
  28972. name: marketid
  28973. type: integer
  28974. - description: 0:仓单预售 1:仓单贸易
  28975. in: query
  28976. name: haswr
  28977. required: true
  28978. type: integer
  28979. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  28980. in: query
  28981. name: isspecified
  28982. type: integer
  28983. produces:
  28984. - application/json
  28985. responses:
  28986. "200":
  28987. description: OK
  28988. schema:
  28989. items:
  28990. $ref: '#/definitions/models.WrSpecialMatchOrder'
  28991. type: array
  28992. "500":
  28993. description: Internal Server Error
  28994. schema:
  28995. $ref: '#/definitions/app.Response'
  28996. security:
  28997. - ApiKeyAuth: []
  28998. summary: 查询指定成交
  28999. tags:
  29000. - 仓单贸易v2
  29001. /WrTrade2/QueryWrStandardFactoryItem:
  29002. get:
  29003. parameters:
  29004. - description: 品类id
  29005. in: query
  29006. name: wrstandardid
  29007. required: true
  29008. type: integer
  29009. produces:
  29010. - application/json
  29011. responses:
  29012. "200":
  29013. description: OK
  29014. schema:
  29015. items:
  29016. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  29017. type: array
  29018. "500":
  29019. description: Internal Server Error
  29020. schema:
  29021. $ref: '#/definitions/app.Response'
  29022. security:
  29023. - ApiKeyAuth: []
  29024. summary: 查询品类要素定义项
  29025. tags:
  29026. - 仓单贸易v2
  29027. /WrTrade2/QueryWrTradeBargainApply:
  29028. get:
  29029. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  29030. 议价->对方议价 填写matchuserid=登录用户id
  29031. parameters:
  29032. - description: 议价人id(摘牌方)
  29033. in: query
  29034. name: userid
  29035. type: integer
  29036. - description: 挂牌方id(查对方议价时,填写此项)
  29037. in: query
  29038. name: matchuserid
  29039. type: integer
  29040. - description: 关联委托单id
  29041. in: query
  29042. name: wrtradeorderid
  29043. type: integer
  29044. - description: 0:仓单预售 1:仓单贸易
  29045. in: query
  29046. name: haswr
  29047. required: true
  29048. type: integer
  29049. - description: 开始交易日(yyyymmdd)
  29050. in: query
  29051. name: begindate
  29052. type: string
  29053. - description: 结束交易日(yyyymmdd)
  29054. in: query
  29055. name: enddate
  29056. type: string
  29057. produces:
  29058. - application/json
  29059. responses:
  29060. "200":
  29061. description: OK
  29062. schema:
  29063. items:
  29064. $ref: '#/definitions/models.WRTradeBargainApply'
  29065. type: array
  29066. "500":
  29067. description: Internal Server Error
  29068. schema:
  29069. $ref: '#/definitions/app.Response'
  29070. security:
  29071. - ApiKeyAuth: []
  29072. summary: 查询议价单
  29073. tags:
  29074. - 仓单贸易v2
  29075. /WrTrade2/QueryWrTradeDetail:
  29076. get:
  29077. parameters:
  29078. - description: 页码
  29079. in: query
  29080. name: page
  29081. type: integer
  29082. - description: 每页条数
  29083. in: query
  29084. name: pagesize
  29085. type: integer
  29086. - description: 用户id
  29087. in: query
  29088. name: userid
  29089. required: true
  29090. type: integer
  29091. - description: 仓单贸易市场id
  29092. in: query
  29093. name: marketid
  29094. type: integer
  29095. - description: 0:仓单预售 1:仓单贸易
  29096. in: query
  29097. name: haswr
  29098. required: true
  29099. type: integer
  29100. - description: 开始交易日(yyyymmdd)
  29101. in: query
  29102. name: begindate
  29103. type: string
  29104. - description: 结束交易日(yyyymmdd)
  29105. in: query
  29106. name: enddate
  29107. type: string
  29108. produces:
  29109. - application/json
  29110. responses:
  29111. "200":
  29112. description: OK
  29113. schema:
  29114. items:
  29115. $ref: '#/definitions/models.WrTradeDetail'
  29116. type: array
  29117. "500":
  29118. description: Internal Server Error
  29119. schema:
  29120. $ref: '#/definitions/app.Response'
  29121. security:
  29122. - ApiKeyAuth: []
  29123. summary: 查询仓单成交明细
  29124. tags:
  29125. - 仓单贸易v2
  29126. /WrTrade2/QueryWrTradeOrderDetail:
  29127. get:
  29128. parameters:
  29129. - description: 页码
  29130. in: query
  29131. name: page
  29132. type: integer
  29133. - description: 每页条数
  29134. in: query
  29135. name: pagesize
  29136. type: integer
  29137. - description: 商品id
  29138. in: query
  29139. name: goodsid
  29140. required: true
  29141. type: integer
  29142. - description: 买卖方向 0-买 1-卖
  29143. in: query
  29144. name: buyorsell
  29145. required: true
  29146. type: integer
  29147. produces:
  29148. - application/json
  29149. responses:
  29150. "200":
  29151. description: OK
  29152. schema:
  29153. items:
  29154. $ref: '#/definitions/models.WrTradeOrderDetail'
  29155. type: array
  29156. "500":
  29157. description: Internal Server Error
  29158. schema:
  29159. $ref: '#/definitions/app.Response'
  29160. security:
  29161. - ApiKeyAuth: []
  29162. summary: 查询合约交易买卖大厅
  29163. tags:
  29164. - 仓单贸易v2
  29165. /WrTrade2/QueryWrUserFriend:
  29166. get:
  29167. parameters:
  29168. - description: 用户id
  29169. in: query
  29170. name: userid
  29171. required: true
  29172. type: integer
  29173. - description: 新朋友userid, 如果填写了此项则查找新朋友
  29174. in: query
  29175. name: newuserid
  29176. type: integer
  29177. produces:
  29178. - application/json
  29179. responses:
  29180. "200":
  29181. description: OK
  29182. schema:
  29183. items:
  29184. $ref: '#/definitions/models.WrUserFriend'
  29185. type: array
  29186. "500":
  29187. description: Internal Server Error
  29188. schema:
  29189. $ref: '#/definitions/app.Response'
  29190. security:
  29191. - ApiKeyAuth: []
  29192. summary: 查询我的朋友
  29193. tags:
  29194. - 仓单贸易v2
  29195. /WrTrade2/QueryWrUserReceiptInfo:
  29196. get:
  29197. parameters:
  29198. - description: 用户id
  29199. in: query
  29200. name: userid
  29201. type: integer
  29202. - description: 发票类型 - 1:个人 2:企业
  29203. in: query
  29204. name: receipttype
  29205. type: integer
  29206. produces:
  29207. - application/json
  29208. responses:
  29209. "200":
  29210. description: OK
  29211. schema:
  29212. items:
  29213. $ref: '#/definitions/models.WrUserReceiptInfo'
  29214. type: array
  29215. "500":
  29216. description: Internal Server Error
  29217. schema:
  29218. $ref: '#/definitions/app.Response'
  29219. security:
  29220. - ApiKeyAuth: []
  29221. summary: 查询发票信息
  29222. tags:
  29223. - 仓单贸易v2
  29224. /ZJ/GetBankTip:
  29225. get:
  29226. produces:
  29227. - application/json
  29228. responses:
  29229. "200":
  29230. description: OK
  29231. schema:
  29232. type: string
  29233. "500":
  29234. description: Internal Server Error
  29235. schema:
  29236. $ref: '#/definitions/app.Response'
  29237. summary: 获取中江网银端出入金提示信息
  29238. tags:
  29239. - 中江
  29240. /ZJ/GetCusBankChannels:
  29241. get:
  29242. produces:
  29243. - application/json
  29244. responses:
  29245. "200":
  29246. description: OK
  29247. schema:
  29248. items:
  29249. type: string
  29250. type: array
  29251. "500":
  29252. description: Internal Server Error
  29253. schema:
  29254. $ref: '#/definitions/app.Response'
  29255. summary: 获取中江出入金渠道显示列表
  29256. tags:
  29257. - 中江
  29258. securityDefinitions:
  29259. ApiKeyAuth:
  29260. in: header
  29261. name: Authorization
  29262. type: apiKey
  29263. swagger: "2.0"