swagger.yaml 811 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data: {}
  8. msg:
  9. type: string
  10. page:
  11. description: 页码
  12. type: integer
  13. pagesize:
  14. description: 每页条数
  15. type: integer
  16. total:
  17. description: 总条数
  18. type: integer
  19. type: object
  20. common.ClientMenu:
  21. properties:
  22. children:
  23. description: 子菜单列表
  24. items:
  25. $ref: '#/definitions/common.ClientMenu'
  26. type: array
  27. code:
  28. description: ID
  29. type: string
  30. isshow:
  31. description: 是否显示
  32. type: boolean
  33. remark:
  34. description: 备注
  35. type: string
  36. rulekey:
  37. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  38. type: string
  39. sort:
  40. description: 排序
  41. type: integer
  42. title:
  43. description: 标题
  44. type: string
  45. type:
  46. description: 类型,1:菜单 2:按钮
  47. type: integer
  48. url:
  49. description: URL
  50. type: string
  51. type: object
  52. common.PCWebMenu:
  53. properties:
  54. auth:
  55. description: 页面权限列表
  56. items:
  57. $ref: '#/definitions/common.PCWebMenuAuth'
  58. type: array
  59. children:
  60. description: 子菜单列表
  61. items:
  62. $ref: '#/definitions/common.PCWebMenu'
  63. type: array
  64. code:
  65. description: ID,新版本中权限KEY也是这个字段
  66. type: string
  67. component:
  68. description: 路由组件
  69. type: string
  70. isshow:
  71. description: 是否显示
  72. type: boolean
  73. path:
  74. description: 路由路径
  75. type: string
  76. remark:
  77. description: 备注
  78. type: string
  79. rulekey:
  80. description: 权限主键,非空表示需要判断控制,非空值不可重复
  81. type: string
  82. sort:
  83. description: 排序
  84. type: integer
  85. title:
  86. description: 标题
  87. type: string
  88. url:
  89. description: URL
  90. type: string
  91. type: object
  92. common.PCWebMenuAuth:
  93. properties:
  94. code:
  95. description: ID,新版本中权限KEY也是这个字段
  96. type: string
  97. isshow:
  98. description: 是否显示
  99. type: boolean
  100. label:
  101. description: 标题
  102. type: string
  103. remark:
  104. description: 备注
  105. type: string
  106. rulekey:
  107. description: 权限主键,非空表示需要判断控制,非空值不可重复
  108. type: string
  109. type: object
  110. common.QueryImageConfigsRsp:
  111. properties:
  112. areauserid:
  113. description: 所属机构ID
  114. type: integer
  115. configid:
  116. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  117. type: integer
  118. createdate:
  119. description: 创建时间
  120. type: string
  121. creatorid:
  122. description: 创建人
  123. type: integer
  124. imagedetailpath:
  125. description: 详情图片 [UrlType = 3时 有且必填,其它类型不需要]
  126. type: string
  127. imagepath:
  128. description: 图片
  129. type: string
  130. imagetype:
  131. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  132. type: integer
  133. isshow:
  134. description: 是否展示 - 0:不展示 1:展示
  135. type: integer
  136. marketid:
  137. description: 市场ID
  138. type: integer
  139. modifierid:
  140. description: 操作人
  141. type: integer
  142. sort:
  143. description: 排序
  144. type: integer
  145. title:
  146. description: 标题
  147. type: string
  148. trademode:
  149. description: 交易模式
  150. type: integer
  151. updatedate:
  152. description: 修改时间
  153. type: string
  154. url:
  155. description: 链接(地址或商品ID)
  156. type: string
  157. urltype:
  158. description: 链接类型 - 1:直接地址 2:商品ID
  159. type: integer
  160. required:
  161. - configid
  162. type: object
  163. common.QueryNoticeRsp:
  164. properties:
  165. auditoruserid:
  166. description: 审核人
  167. type: integer
  168. auditremark:
  169. description: 审核备注
  170. type: string
  171. audittime:
  172. description: 审核日期
  173. type: string
  174. autoid:
  175. description: 自增ID
  176. type: integer
  177. content:
  178. description: 内容
  179. type: string
  180. createtime:
  181. description: 创建时间
  182. type: string
  183. creatorid:
  184. description: 建仓人
  185. type: integer
  186. endtime:
  187. description: 结束时间
  188. type: string
  189. istop:
  190. description: 是否置顶 - 0:不置顶 1:置顶
  191. type: integer
  192. msgiconurl:
  193. description: 消息图标Url
  194. type: string
  195. msgtype:
  196. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  197. type: integer
  198. publisher:
  199. description: 消息发布者
  200. type: string
  201. readed:
  202. description: 是否已读
  203. type: boolean
  204. scheduletime:
  205. description: 计划发送时间
  206. type: string
  207. sendtype:
  208. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  209. type: integer
  210. sentstatus:
  211. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  212. type: integer
  213. title:
  214. description: 标题
  215. type: string
  216. userid:
  217. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  218. type: integer
  219. required:
  220. - autoid
  221. type: object
  222. common.QueryProvincesAndCitiesRsp:
  223. properties:
  224. cities:
  225. description: 市
  226. items:
  227. $ref: '#/definitions/models.Division'
  228. type: array
  229. province:
  230. $ref: '#/definitions/models.Division'
  231. description: 省
  232. type: object
  233. common.QueryTableDefineRsp:
  234. properties:
  235. columns:
  236. description: 列头信息数组
  237. items:
  238. $ref: '#/definitions/models.Tablecolumnconfig'
  239. type: array
  240. remark:
  241. description: Remark
  242. type: string
  243. tabelmenu:
  244. description: 列表菜单
  245. type: string
  246. tablekey:
  247. description: 列表Key
  248. type: string
  249. tablename:
  250. description: 列表名称
  251. type: string
  252. tabletype:
  253. description: 列表类型 - 1:管理端 2:终端
  254. type: integer
  255. required:
  256. - tablekey
  257. type: object
  258. common.QueryTraderMenuRsp:
  259. properties:
  260. OperationMenu:
  261. description: 功能菜单
  262. items:
  263. $ref: '#/definitions/models.OperationPrimaryMenu'
  264. type: array
  265. QuoteMenu:
  266. description: 报价牌分类菜单
  267. items:
  268. $ref: '#/definitions/models.QuotePrimaryMenu'
  269. type: array
  270. type: object
  271. cptrade.Cptradepositioncancel:
  272. properties:
  273. accountid:
  274. description: 申请人账户ID
  275. type: integer
  276. applystatus:
  277. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  278. type: integer
  279. applytime:
  280. description: 申请时间
  281. type: string
  282. cancelid:
  283. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  284. type: integer
  285. cancelqty:
  286. description: 注销数量
  287. type: integer
  288. createtime:
  289. description: 创建时间
  290. type: string
  291. creatorid:
  292. description: 创建人ID
  293. type: integer
  294. creatorname:
  295. description: 创建人
  296. type: string
  297. goodscode:
  298. description: 订单商品代码
  299. type: string
  300. goodsid:
  301. description: 商品ID
  302. type: integer
  303. goodsname:
  304. description: 订单商品名称
  305. type: string
  306. goodunit:
  307. description: 报价单位
  308. type: string
  309. handlestatus:
  310. description: 处理状态
  311. type: integer
  312. marketid:
  313. description: 市场ID
  314. type: integer
  315. marketname:
  316. description: 市场名称
  317. type: string
  318. tradedate:
  319. description: 交易日(yyyyMMdd)
  320. type: string
  321. userid:
  322. description: 申请人ID
  323. type: integer
  324. required:
  325. - cancelid
  326. type: object
  327. cptrade.Cptradepresaleapply:
  328. properties:
  329. accountid:
  330. description: 申请人账户ID
  331. type: integer
  332. applyid:
  333. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  334. type: integer
  335. applyremark:
  336. description: 申请备注
  337. type: string
  338. applystatus:
  339. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  340. type: integer
  341. applytime:
  342. description: 申请时间
  343. type: string
  344. attachmenturl:
  345. description: 附件地址
  346. type: string
  347. endtime:
  348. description: 预售结束时间
  349. type: string
  350. goodscode:
  351. description: 商品代码
  352. type: string
  353. goodsid:
  354. description: 商品ID
  355. type: integer
  356. goodsname:
  357. description: 商品名称
  358. type: string
  359. goodunit:
  360. description: 报价单位
  361. type: string
  362. handlestatus:
  363. description: 处理状态
  364. type: integer
  365. marketid:
  366. description: 预售市场ID
  367. type: integer
  368. marketname:
  369. description: 预售市场名称
  370. type: string
  371. presaleqty:
  372. description: 预售数量
  373. type: integer
  374. relatedgoodscode:
  375. description: 关联交易合约代码
  376. type: string
  377. relatedgoodsid:
  378. description: 关联交易合约ID
  379. type: integer
  380. relatedgoodsname:
  381. description: 关联交易合约名称
  382. type: string
  383. starttime:
  384. description: 预售开始时间
  385. type: string
  386. tradedate:
  387. description: 交易日(yyyyMMdd)
  388. type: string
  389. trademode:
  390. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  391. type: integer
  392. userid:
  393. description: 申请人ID
  394. type: integer
  395. required:
  396. - applyid
  397. type: object
  398. cptrade.Cptradeusergoodsdata:
  399. properties:
  400. EnabledQty:
  401. description: 可用量
  402. type: integer
  403. GoodsCode:
  404. description: 订单商品代码
  405. type: string
  406. GoodsName:
  407. description: 订单商品名称
  408. type: string
  409. WRStandardCode:
  410. description: 仓单标准代码
  411. type: string
  412. WRStandardName:
  413. description: 仓单标准名称
  414. type: string
  415. accountid:
  416. description: 账户ID
  417. type: integer
  418. cancelqty:
  419. description: 注销量
  420. type: integer
  421. curpresaleqty:
  422. description: 当前预售量
  423. type: integer
  424. deliveryqty:
  425. description: 交割量
  426. type: integer
  427. freezeamount:
  428. description: 冻结金额
  429. type: number
  430. goodsid:
  431. description: 商品ID
  432. type: integer
  433. goodunit:
  434. description: 报价单位
  435. type: string
  436. hasspotfreeze:
  437. description: 是否有现货冻结 - 0:否 1:有
  438. type: integer
  439. inqty:
  440. description: 转入量(总数量)
  441. type: integer
  442. marketid:
  443. description: 市场ID
  444. type: integer
  445. presaledamount:
  446. description: 已预售总金额
  447. type: integer
  448. presaledqty:
  449. description: 已预售量
  450. type: integer
  451. userid:
  452. description: 用户ID
  453. type: integer
  454. wrstandardid:
  455. description: 仓单标准ID
  456. type: integer
  457. required:
  458. - accountid
  459. - goodsid
  460. type: object
  461. cptrade.QueryCPTradeMyBidRsp:
  462. properties:
  463. accountid:
  464. description: 账户ID[报价币种]
  465. type: integer
  466. goodsid:
  467. description: 商品ID
  468. type: integer
  469. goodunit:
  470. description: 报价单位
  471. type: string
  472. marketid:
  473. description: 市场ID
  474. type: integer
  475. orderid:
  476. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  477. type: integer
  478. orderprice:
  479. description: 委托价格
  480. type: number
  481. orderqty:
  482. description: 委托数量
  483. type: integer
  484. ordertime:
  485. description: 委托时间
  486. type: string
  487. ordertotalprice:
  488. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  489. type: number
  490. ordertotalweight:
  491. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  492. type: integer
  493. totaltotalprice:
  494. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  495. type: number
  496. tradeprice:
  497. description: 成交价格
  498. type: number
  499. tradeqty:
  500. description: 成交数量
  501. type: integer
  502. required:
  503. - accountid
  504. - goodsid
  505. - marketid
  506. - orderid
  507. - orderqty
  508. - ordertime
  509. - tradeprice
  510. - tradeqty
  511. type: object
  512. cptrade.QueryCPTradeOrderDetailRsq:
  513. properties:
  514. accountid:
  515. description: 账户ID[报价币种]
  516. type: integer
  517. buildtype:
  518. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  519. type: integer
  520. buyorsell:
  521. description: 买卖 - 0:买 1:卖
  522. type: integer
  523. cancelorderid:
  524. description: 撤单单号(撤单时填写)
  525. type: integer
  526. cancelqty:
  527. description: 撤单数量
  528. type: integer
  529. clientordertime:
  530. description: 客户端委托时间
  531. type: string
  532. clientticket:
  533. description: 客户端流水号
  534. type: string
  535. clienttype:
  536. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  537. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  538. type: integer
  539. closeexchagechargevalue:
  540. description: 平仓交易所手续费设置值
  541. type: number
  542. closefeealgorithm:
  543. description: 平仓手续费收取方式 1:比率 2:固定
  544. type: integer
  545. closefreezecharge:
  546. description: 平仓冻结手续费(先建后平操作,需要记录)
  547. type: number
  548. closememberchargevalue:
  549. description: 平仓会员手续费设置值
  550. type: number
  551. closeqty:
  552. description: 平仓数量(先建后平操作 需要记录)
  553. type: integer
  554. closetradeqty:
  555. description: 平仓成交数量(先建后平操作,需要记录)
  556. type: integer
  557. closeunfreezecharge:
  558. description: 平仓解冻手续费(先建后平操作,需要记录)
  559. type: number
  560. delistingtype:
  561. description: 摘牌类型 - 1:价格最优 2:点选成交
  562. type: integer
  563. freezecharge:
  564. description: 冻结手续费
  565. type: number
  566. freezemargin:
  567. description: 冻结保证金(冻结交易金额)
  568. type: number
  569. gcaccountid:
  570. description: 账户ID[合约币种]
  571. type: integer
  572. goodsid:
  573. description: 商品ID
  574. type: integer
  575. isconfirmexercise:
  576. description: 是否确认行权- 0:否 1:是
  577. type: integer
  578. ispreexercise:
  579. description: 是否预申报- 0:否 1:是
  580. type: integer
  581. listingselecttype:
  582. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  583. type: integer
  584. marginalgorithm:
  585. description: 保证金收取方式 1:比率 2:固定
  586. type: integer
  587. marginvalue:
  588. description: 即市保证金设置值
  589. type: number
  590. marketid:
  591. description: 市场ID
  592. type: integer
  593. marketmaxsub:
  594. description: 市价最大偏移范围
  595. type: number
  596. memberuserid:
  597. description: 所属会员UserID
  598. type: integer
  599. openexchagechargevalue:
  600. description: 建仓交易所手续费设置值
  601. type: number
  602. openfeealgorithm:
  603. description: 建仓手续费收取方式 1:比率 2:固定
  604. type: integer
  605. openfreezecharge:
  606. description: 开仓冻结手续费(先建后平操作,需要记录)
  607. type: number
  608. openmemberchargevalue:
  609. description: 建仓会员手续费设置值
  610. type: number
  611. openqty:
  612. description: 开仓数量(先建后平操作,需要记录)
  613. type: integer
  614. opentradeqty:
  615. description: 开仓成交数量(先建后平操作,需要记录)
  616. type: integer
  617. openunfreezecharge:
  618. description: 开仓解冻手续费(先建后平操作,需要记录)
  619. type: number
  620. operatetype:
  621. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  622. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  623. 15:管理端协议转让
  624. type: integer
  625. operatorid:
  626. description: 登录账号(LoginID)
  627. type: integer
  628. optiontype:
  629. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  630. type: integer
  631. orderprice:
  632. description: 委托价格
  633. type: number
  634. orderqty:
  635. description: 委托数量
  636. type: integer
  637. ordersrc:
  638. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  639. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  640. type: integer
  641. orderstatus:
  642. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  643. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  644. 16:成交失败违约(荷兰式竞拍专用)
  645. type: integer
  646. ordertime:
  647. description: 委托时间
  648. type: string
  649. preexerciseprice:
  650. description: 预申报价格
  651. type: number
  652. premium:
  653. description: 权利金
  654. type: number
  655. preorderid:
  656. description: 关联预埋单号(止盈止损单时填写)
  657. type: integer
  658. pricemode:
  659. description: '取价方式 - 1:市价 2: 限价'
  660. type: integer
  661. quoteid:
  662. description: 报价单ID
  663. type: integer
  664. relatedid:
  665. description: 关联单号(交割单)
  666. type: integer
  667. retcode:
  668. description: 错误代码
  669. type: integer
  670. sessionid:
  671. description: 会话ID
  672. type: integer
  673. strorderid:
  674. description: 委托单号
  675. type: string
  676. tradedate:
  677. description: 交易日(yyyyMMdd)
  678. type: string
  679. tradeproperty:
  680. description: 交易属性
  681. type: integer
  682. tradeqty:
  683. description: 成交数量
  684. type: integer
  685. unfreezecharge:
  686. description: 解冻手续费
  687. type: number
  688. unfreezemargin:
  689. description: 解冻保证金
  690. type: number
  691. updatetime:
  692. description: 更新时间
  693. type: string
  694. uuid:
  695. description: 发起端唯一id
  696. type: string
  697. validtime:
  698. description: 有效期限
  699. type: string
  700. validtype:
  701. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  702. type: integer
  703. volumetype:
  704. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  705. type: integer
  706. required:
  707. - accountid
  708. - buildtype
  709. - buyorsell
  710. - goodsid
  711. - marketid
  712. - memberuserid
  713. - operatetype
  714. - orderqty
  715. - ordertime
  716. - pricemode
  717. - strorderid
  718. - tradedate
  719. - validtype
  720. type: object
  721. cptrade.QueryMyCPTradeGoodsRsp:
  722. properties:
  723. accountid:
  724. description: 卖方账户ID
  725. type: integer
  726. agreeunit:
  727. description: 合约单位
  728. type: number
  729. applyid:
  730. description: 关联申请ID
  731. type: integer
  732. attachmenturl:
  733. description: 附件地址
  734. type: string
  735. createtime:
  736. description: 创建时间
  737. type: string
  738. currencyid:
  739. description: 报价货币ID
  740. type: integer
  741. decimalplace:
  742. description: 报价小数位
  743. type: integer
  744. endtime:
  745. description: 预售结束时间
  746. type: string
  747. floorprice:
  748. description: 底价[大宗式竞拍]
  749. type: number
  750. goodscode:
  751. description: 商品代码(预售)
  752. type: string
  753. goodsdetail:
  754. description: 详情[大宗]
  755. type: string
  756. goodsid:
  757. description: 商品ID(自增ID SEQ_GOODS)
  758. type: integer
  759. goodsname:
  760. description: 商品名称(预售)
  761. type: string
  762. goodunit:
  763. description: 报价单位
  764. type: string
  765. goodunitid:
  766. description: 报价单位ID
  767. type: integer
  768. marketid:
  769. description: 所属市场ID
  770. type: integer
  771. marketname:
  772. description: 预售市场名称
  773. type: string
  774. presaledamount:
  775. description: 已预售总金额(预售结束时更新)
  776. type: number
  777. presaledqty:
  778. description: 已预售量(预售结束时更新)
  779. type: integer
  780. presalemode:
  781. description: 预售模式 - 1:一口价 2:大宗式竞拍
  782. type: integer
  783. presaleqty:
  784. description: 预售数量
  785. type: integer
  786. refprice:
  787. description: 参考价格[一口价]
  788. type: number
  789. relatedgoodscode:
  790. description: 商品代码(订单)
  791. type: string
  792. relatedgoodsid:
  793. description: 关联交易合约ID
  794. type: integer
  795. relatedgoodsname:
  796. description: 商品名称(订单)
  797. type: string
  798. relatedmarketid:
  799. description: 关联交易合约市场ID
  800. type: integer
  801. sellstatus:
  802. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  803. type: integer
  804. startprice:
  805. description: 起拍价[大宗式竞拍]
  806. type: number
  807. starttime:
  808. description: 预售开始时间
  809. type: string
  810. tradedate:
  811. description: 交易日(yyyyMMdd)
  812. type: string
  813. tradeprice:
  814. description: 成交价[大宗]
  815. type: number
  816. userid:
  817. description: 卖方用户ID
  818. type: integer
  819. required:
  820. - goodscode
  821. - goodsid
  822. - goodsname
  823. - marketid
  824. - relatedgoodscode
  825. - relatedgoodsname
  826. type: object
  827. cptrade.QueryPresaleGoodsExRsp:
  828. properties:
  829. attachmenturl:
  830. description: 附件地址
  831. type: string
  832. createtime:
  833. description: 创建时间
  834. type: string
  835. endtime:
  836. description: 预售结束时间
  837. type: string
  838. floorprice:
  839. description: 底价[大宗式竞拍]
  840. type: number
  841. goodsdetail:
  842. description: 详情[大宗]
  843. type: string
  844. goodsid:
  845. description: 商品ID(预售)
  846. type: integer
  847. goodunit:
  848. description: 报价单位
  849. type: string
  850. marketid:
  851. description: 预售市场ID - 根据预售模式选择市场
  852. type: integer
  853. presaledamount:
  854. description: 已预售总金额(预售结束时更新)
  855. type: number
  856. presaledqty:
  857. description: 已预售量(预售结束时更新)
  858. type: integer
  859. presalemode:
  860. description: 预售模式 - 1:一口价 2:大宗式竞拍
  861. type: integer
  862. presaleqty:
  863. description: 预售数量
  864. type: integer
  865. refprice:
  866. description: 参考价格[一口价]
  867. type: number
  868. relatedgoodsid:
  869. description: 关联交易合约ID
  870. type: integer
  871. relatedmarketid:
  872. description: 关联交易合约市场ID
  873. type: integer
  874. sellstatus:
  875. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  876. type: integer
  877. startprice:
  878. description: 起拍价[大宗式竞拍]
  879. type: number
  880. starttime:
  881. description: 预售开始时间
  882. type: string
  883. tradedate:
  884. description: 交易日(yyyyMMdd)
  885. type: string
  886. tradeprice:
  887. description: 成交价[大宗]
  888. type: number
  889. required:
  890. - goodsid
  891. type: object
  892. delivery.QueryDeliveryRelationRsp:
  893. properties:
  894. begindate:
  895. description: 起始日期(yyyyMMdd)
  896. type: string
  897. buytemplateid:
  898. description: 买履约计划模板ID
  899. type: integer
  900. deliverygoodscode:
  901. description: 品种代码
  902. type: string
  903. deliverygoodsid:
  904. description: 交割商品
  905. type: integer
  906. deliverygoodsname:
  907. description: 品种名称
  908. type: string
  909. deliverymode:
  910. description: 交割方式 - 1:点选式 2:申报式
  911. type: integer
  912. deliverypricerule:
  913. description: 交割价规则- 1:行情价 2:建仓价
  914. type: integer
  915. deliverytype:
  916. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  917. type: integer
  918. enddate:
  919. description: 结束日期(yyyyMMdd)
  920. type: string
  921. enumdicname:
  922. description: 品类单位名称
  923. type: string
  924. goodscode:
  925. description: 商品代码
  926. type: string
  927. goodsid:
  928. description: 交易合约ID
  929. type: integer
  930. goodsname:
  931. description: 商品名称
  932. type: string
  933. marketid:
  934. description: 市场ID
  935. type: integer
  936. mindeliveryqty:
  937. description: 最小交割系数(K)
  938. type: integer
  939. p2deliveryprice:
  940. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  941. type: number
  942. p2deliveryratio:
  943. description: P2合约系数(p)
  944. type: integer
  945. p2goodsid:
  946. description: P2合约ID
  947. type: integer
  948. p2pricemode:
  949. description: P2合约价格方式 - 1:商品价 2:固定值
  950. type: integer
  951. pdeliveryprice:
  952. description: P合约价格(商品价时填写0,固定值时填写固定值)
  953. type: number
  954. pdeliveryratio:
  955. description: P合约系数(n)
  956. type: integer
  957. pgoodscode:
  958. description: p合约代码
  959. type: string
  960. pgoodsid:
  961. description: P合约ID
  962. type: integer
  963. ppricemode:
  964. description: P合约价格方式 - 1:商品价 2:固定值
  965. type: integer
  966. rratio:
  967. description: 兑换系数(R)
  968. type: integer
  969. rratio1:
  970. description: 兑换系数(交易合约)(R1)
  971. type: integer
  972. rratio2:
  973. description: 兑换系数(仓单标准)(R2)
  974. type: integer
  975. selltemplateid:
  976. description: 卖履约计划模板ID
  977. type: integer
  978. wrstandardid:
  979. description: 仓单标准ID
  980. type: integer
  981. xdeliveryratio:
  982. description: 交易合约系数(m)
  983. type: integer
  984. required:
  985. - begindate
  986. - enddate
  987. - goodsid
  988. - mindeliveryqty
  989. - xdeliveryratio
  990. type: object
  991. ermcp.ExposureDetailRsp:
  992. properties:
  993. areauserid:
  994. description: 机构ID
  995. type: integer
  996. changeQty:
  997. description: 套保变动量
  998. type: number
  999. contracttype:
  1000. description: 现货合同类型 - 1:采购 -1:销售
  1001. type: integer
  1002. convertfactor:
  1003. description: 标仓系数
  1004. type: number
  1005. convertratio:
  1006. description: 套保系数
  1007. type: number
  1008. createtime:
  1009. description: 时间
  1010. type: string
  1011. enumdicname:
  1012. description: 现货商品单位名称
  1013. type: string
  1014. logtype:
  1015. description: 类型 - 1:套保计划 2:现货合同
  1016. type: integer
  1017. middlegoodsId:
  1018. description: 套保商品id
  1019. type: integer
  1020. middlegoodscode:
  1021. description: 套保商品代码
  1022. type: string
  1023. middlegoodsname:
  1024. description: 套保商品名称
  1025. type: string
  1026. qty:
  1027. description: 数量
  1028. type: number
  1029. relateNo:
  1030. description: 现货合同/套保计划编号
  1031. type: string
  1032. wrstandardcode:
  1033. description: 现货商品代码
  1034. type: string
  1035. wrstandardid:
  1036. description: 现货商品ID
  1037. type: integer
  1038. wrstandardname:
  1039. description: 现货商品名称
  1040. type: string
  1041. type: object
  1042. ermcp.ExposureHedgePosDetailRsp:
  1043. properties:
  1044. buyorsell:
  1045. description: 买卖方向 0-买 1-卖
  1046. type: integer
  1047. channelbuildtype:
  1048. description: 开平方向 1-建仓 2-平仓
  1049. type: integer
  1050. goodscode:
  1051. description: 商品代码
  1052. type: string
  1053. goodsname:
  1054. description: 商品名称
  1055. type: string
  1056. hedgegoodsid:
  1057. description: 商品id
  1058. type: integer
  1059. tradeqty:
  1060. description: 数量(成交数量)
  1061. type: integer
  1062. tradetime:
  1063. description: 时间(成交时间)
  1064. type: string
  1065. type: object
  1066. ermcp.ExposureHedgePositionRsp:
  1067. properties:
  1068. accountid:
  1069. description: 资金账号[外部母账户]
  1070. type: integer
  1071. curbuyposition:
  1072. description: 期末买头寸
  1073. type: integer
  1074. cursellposition:
  1075. description: 期末卖头寸
  1076. type: integer
  1077. curtdbuyposition:
  1078. description: 期末今日买头寸
  1079. type: integer
  1080. curtdsellposition:
  1081. description: 期末今日卖头寸
  1082. type: integer
  1083. curydbuyposition:
  1084. description: 期末上日买头寸
  1085. type: integer
  1086. curydsellposition:
  1087. description: 期末上日卖头寸
  1088. type: integer
  1089. decreaseqty:
  1090. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  1091. type: integer
  1092. fretdbuyposition:
  1093. description: 冻结今日买头寸
  1094. type: integer
  1095. fretdsellposition:
  1096. description: 冻结今日卖头寸
  1097. type: integer
  1098. freydbuyposition:
  1099. description: 冻结上日买头寸
  1100. type: integer
  1101. freydsellposition:
  1102. description: 冻结上日卖头寸
  1103. type: integer
  1104. goodscode:
  1105. description: 商品代码
  1106. type: string
  1107. goodsid:
  1108. description: 商品id
  1109. type: integer
  1110. goodsname:
  1111. description: 商品名称
  1112. type: string
  1113. hedgeaccountcode:
  1114. description: 对冲账号
  1115. type: string
  1116. hedgegoodsid:
  1117. description: 对冲合约ID
  1118. type: integer
  1119. increaseqty:
  1120. description: 增加数量 = 期末买头寸 - 期初买头寸
  1121. type: integer
  1122. marketid:
  1123. description: 市场ID
  1124. type: integer
  1125. relateduserid:
  1126. description: 关联用户id
  1127. type: integer
  1128. totalcurqty:
  1129. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  1130. type: integer
  1131. totalydqty:
  1132. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  1133. type: integer
  1134. tradedate:
  1135. description: 交易日(yyyyMMdd)
  1136. type: string
  1137. ydbuyposition:
  1138. description: 期初买头寸
  1139. type: integer
  1140. ydsellposition:
  1141. description: 期初卖头寸
  1142. type: integer
  1143. type: object
  1144. ermcp.ExposureSpotDetailRsp:
  1145. properties:
  1146. contracttype:
  1147. description: 合同类型 1-采购 -1-销售
  1148. type: integer
  1149. createtime:
  1150. description: 创建时间
  1151. type: string
  1152. enumdicname:
  1153. description: 现货商品单位名称
  1154. type: string
  1155. logtype:
  1156. description: 记录类型 1-套保 2-现货合同
  1157. type: integer
  1158. qty:
  1159. description: 数量
  1160. type: number
  1161. recordname:
  1162. description: 类型名称
  1163. type: string
  1164. relatedid:
  1165. description: 套保计划ID/现货合同ID
  1166. type: string
  1167. relatedno:
  1168. description: 编号
  1169. type: string
  1170. strtime:
  1171. description: 时间
  1172. type: string
  1173. wrstandardcode:
  1174. description: 现货商品代码
  1175. type: string
  1176. wrstandardname:
  1177. description: 现货商品名称
  1178. type: string
  1179. type: object
  1180. ermcp.ExposureSpotRsp:
  1181. properties:
  1182. areauserid:
  1183. description: 所属机构
  1184. type: integer
  1185. decreaseqty:
  1186. description: 减少数量=-(销售已定价数量+采购计划数量)
  1187. type: number
  1188. increaseqty:
  1189. description: 增加数量=销售计划数量+采购已定价数量
  1190. type: number
  1191. oritoalspotqty:
  1192. description: 昨日数量
  1193. type: number
  1194. totalspotqty:
  1195. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  1196. type: number
  1197. updatetime:
  1198. description: 更新时间
  1199. type: string
  1200. wrstandardcode:
  1201. description: 现货品种代码
  1202. type: string
  1203. wrstandardid:
  1204. description: 现货商品ID
  1205. type: integer
  1206. wrstandardname:
  1207. description: 现货品种
  1208. type: string
  1209. type: object
  1210. ermcp.HisExposureRsp:
  1211. properties:
  1212. data:
  1213. description: 历史敞口
  1214. items:
  1215. $ref: '#/definitions/models.ErmcpHisExposure'
  1216. type: array
  1217. enumdicname:
  1218. description: 单位名称
  1219. type: string
  1220. middlegoodscode:
  1221. description: 套保品种代码
  1222. type: string
  1223. middlegoodsid:
  1224. description: 套保品种ID
  1225. type: integer
  1226. middlegoodsname:
  1227. description: 套保品种名称
  1228. type: string
  1229. type: object
  1230. ermcp.PendingAuditCntRsp:
  1231. properties:
  1232. areastockqty:
  1233. description: '待审核数量: 库存申请'
  1234. type: integer
  1235. businessdjqty:
  1236. description: '待审核数量: 点价'
  1237. type: integer
  1238. businessfpqty:
  1239. description: '待审核数量: 发票'
  1240. type: integer
  1241. businessjsqty:
  1242. description: '待审核数量: 结算'
  1243. type: integer
  1244. businesskxqty:
  1245. description: '待审核数量: 款项'
  1246. type: integer
  1247. hedgeplanqty:
  1248. description: '待审核数量: 套保计划'
  1249. type: integer
  1250. spotcontractqty:
  1251. description: '待审核数量: 现货合同'
  1252. type: integer
  1253. userqty:
  1254. description: '待审核数量: 用户'
  1255. type: integer
  1256. type: object
  1257. ermcp.QryAvalidGPRsp:
  1258. properties:
  1259. goodsgroupid:
  1260. description: 期货品种id
  1261. type: integer
  1262. goodsgroupname:
  1263. description: 期货品种名称
  1264. type: string
  1265. goodunitid:
  1266. description: 品种单位id
  1267. type: integer
  1268. goodunitname:
  1269. description: 品种单位名称
  1270. type: string
  1271. outergroupcode:
  1272. description: 期货品种代码
  1273. type: string
  1274. type: object
  1275. ermcp.QryBusinessDjRsp:
  1276. properties:
  1277. amount:
  1278. description: 点价金额=(点价价格+升贴水)*点价数量
  1279. type: number
  1280. applyid:
  1281. description: 申请人
  1282. type: string
  1283. applyname:
  1284. description: 申请人名称
  1285. type: string
  1286. applystatus:
  1287. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1288. type: integer
  1289. applytime:
  1290. description: 申请时间
  1291. type: string
  1292. attachurl:
  1293. description: 附件
  1294. type: string
  1295. auditid:
  1296. description: 审核人ID
  1297. type: string
  1298. auditname:
  1299. description: 审核人名称
  1300. type: string
  1301. auditremark:
  1302. description: 审核备注
  1303. type: string
  1304. audittime:
  1305. description: 审核时间
  1306. type: string
  1307. buyusername:
  1308. description: 采购方名称
  1309. type: string
  1310. contractno:
  1311. description: 合同编号
  1312. type: string
  1313. contractstatus:
  1314. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1315. type: integer
  1316. contracttype:
  1317. description: 现货合同类型 - 1:采购 -1:销售
  1318. type: integer
  1319. deliverygoodscode:
  1320. description: 现货品种代码
  1321. type: string
  1322. deliverygoodsid:
  1323. description: 现货商品ID
  1324. type: integer
  1325. deliverygoodsname:
  1326. description: 现货品种名称
  1327. type: string
  1328. enumdicname:
  1329. description: 单位名称
  1330. type: string
  1331. goodscode:
  1332. description: 点价合约
  1333. type: string
  1334. goodsname:
  1335. description: 商品名称
  1336. type: string
  1337. operateapplyid:
  1338. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1339. type: string
  1340. operateapplytype:
  1341. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1342. type: integer
  1343. pricedPrice:
  1344. description: 点价价格(非必填)
  1345. type: number
  1346. pricedQty:
  1347. description: 点价数量(非必填)
  1348. type: number
  1349. pricemove:
  1350. description: 升贴水
  1351. type: number
  1352. pricetype:
  1353. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1354. type: integer
  1355. relatedid:
  1356. description: 现货合同ID
  1357. type: string
  1358. sellusername:
  1359. description: 销售方名字
  1360. type: string
  1361. userid:
  1362. description: 用户ID
  1363. type: integer
  1364. wrstandardcode:
  1365. description: 品类代码
  1366. type: string
  1367. wrstandardid:
  1368. description: 品类id
  1369. type: integer
  1370. wrstandardname:
  1371. description: 品类名称
  1372. type: string
  1373. type: object
  1374. ermcp.QryBussinessFpRsp:
  1375. properties:
  1376. applyid:
  1377. description: 申请人
  1378. type: string
  1379. applyname:
  1380. description: 申请人名称
  1381. type: string
  1382. applystatus:
  1383. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1384. type: integer
  1385. applytime:
  1386. description: 申请时间
  1387. type: string
  1388. attachurl:
  1389. description: 附件
  1390. type: string
  1391. auditid:
  1392. description: 审核人ID
  1393. type: string
  1394. auditname:
  1395. description: 审核人名称
  1396. type: string
  1397. auditremark:
  1398. description: 审核备注
  1399. type: string
  1400. audittime:
  1401. description: 审核时间
  1402. type: string
  1403. buyusername:
  1404. description: 采购方名称
  1405. type: string
  1406. contractno:
  1407. description: 合同编号
  1408. type: string
  1409. contractstatus:
  1410. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1411. type: integer
  1412. contracttype:
  1413. description: 现货合同类型 - 1:采购 -1:销售
  1414. type: integer
  1415. deliverygoodscode:
  1416. description: 现货品种代码
  1417. type: string
  1418. deliverygoodsid:
  1419. description: 现货商品ID
  1420. type: integer
  1421. deliverygoodsname:
  1422. description: 现货品种名称
  1423. type: string
  1424. enumdicname:
  1425. description: 单位名称
  1426. type: string
  1427. goodscode:
  1428. description: 点价合约
  1429. type: string
  1430. goodsname:
  1431. description: 商品名称
  1432. type: string
  1433. invoiceamount:
  1434. description: 已开收票金额(销售为开票,采购为收票)
  1435. type: number
  1436. operateapplyid:
  1437. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1438. type: string
  1439. operateapplytype:
  1440. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1441. type: integer
  1442. pricemove:
  1443. description: 升贴水
  1444. type: number
  1445. pricetype:
  1446. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1447. type: integer
  1448. relatedid:
  1449. description: 现货合同ID
  1450. type: string
  1451. sellusername:
  1452. description: 销售方名字
  1453. type: string
  1454. userid:
  1455. description: 用户ID
  1456. type: integer
  1457. wrstandardcode:
  1458. description: 品类代码
  1459. type: string
  1460. wrstandardid:
  1461. description: 品类id
  1462. type: integer
  1463. wrstandardname:
  1464. description: 品类名称
  1465. type: string
  1466. type: object
  1467. ermcp.QryBussinessJsExRsp:
  1468. properties:
  1469. applyid:
  1470. description: 申请人
  1471. type: string
  1472. applyname:
  1473. description: 申请人名称
  1474. type: string
  1475. applystatus:
  1476. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1477. type: integer
  1478. applytime:
  1479. description: 申请时间
  1480. type: string
  1481. attachurl:
  1482. description: 附件
  1483. type: string
  1484. auditid:
  1485. description: 审核人ID
  1486. type: string
  1487. auditname:
  1488. description: 审核人名称
  1489. type: string
  1490. auditremark:
  1491. description: 审核备注
  1492. type: string
  1493. audittime:
  1494. description: 审核时间
  1495. type: string
  1496. buyusername:
  1497. description: 采购方名称
  1498. type: string
  1499. contractno:
  1500. description: 合同编号
  1501. type: string
  1502. contractstatus:
  1503. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1504. type: integer
  1505. contracttype:
  1506. description: 现货合同类型 - 1:采购 -1:销售
  1507. type: integer
  1508. deliverygoodscode:
  1509. description: 现货品种代码
  1510. type: string
  1511. deliverygoodsid:
  1512. description: 现货商品ID
  1513. type: integer
  1514. deliverygoodsname:
  1515. description: 现货品种名称
  1516. type: string
  1517. enumdicname:
  1518. description: 单位名称
  1519. type: string
  1520. goodscode:
  1521. description: 点价合约
  1522. type: string
  1523. goodsname:
  1524. description: 商品名称
  1525. type: string
  1526. operateapplyid:
  1527. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1528. type: string
  1529. operateapplytype:
  1530. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1531. type: integer
  1532. pricemove:
  1533. description: 升贴水
  1534. type: number
  1535. pricetype:
  1536. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1537. type: integer
  1538. reckontype:
  1539. description: 结算类型
  1540. type: string
  1541. reckonvalue:
  1542. description: 值
  1543. type: number
  1544. relatedid:
  1545. description: 现货合同ID
  1546. type: string
  1547. sellusername:
  1548. description: 销售方名字
  1549. type: string
  1550. userid:
  1551. description: 用户ID
  1552. type: integer
  1553. wrstandardcode:
  1554. description: 品类代码
  1555. type: string
  1556. wrstandardid:
  1557. description: 品类id
  1558. type: integer
  1559. wrstandardname:
  1560. description: 品类名称
  1561. type: string
  1562. type: object
  1563. ermcp.QryBussinessJsRsp:
  1564. properties:
  1565. addmargin:
  1566. description: 追加保证金(非必填)
  1567. type: number
  1568. applyid:
  1569. description: 申请人
  1570. type: string
  1571. applyname:
  1572. description: 申请人名称
  1573. type: string
  1574. applystatus:
  1575. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1576. type: integer
  1577. applytime:
  1578. description: 申请时间
  1579. type: string
  1580. attachurl:
  1581. description: 附件
  1582. type: string
  1583. auditid:
  1584. description: 审核人ID
  1585. type: string
  1586. auditname:
  1587. description: 审核人名称
  1588. type: string
  1589. auditremark:
  1590. description: 审核备注
  1591. type: string
  1592. audittime:
  1593. description: 审核时间
  1594. type: string
  1595. buyusername:
  1596. description: 采购方名称
  1597. type: string
  1598. contractno:
  1599. description: 合同编号
  1600. type: string
  1601. contractstatus:
  1602. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1603. type: integer
  1604. contracttype:
  1605. description: 现货合同类型 - 1:采购 -1:销售
  1606. type: integer
  1607. decmargin:
  1608. description: 减少保证金(非必填)
  1609. type: number
  1610. deliverygoodscode:
  1611. description: 现货品种代码
  1612. type: string
  1613. deliverygoodsid:
  1614. description: 现货商品ID
  1615. type: integer
  1616. deliverygoodsname:
  1617. description: 现货品种名称
  1618. type: string
  1619. enumdicname:
  1620. description: 单位名称
  1621. type: string
  1622. goodscode:
  1623. description: 点价合约
  1624. type: string
  1625. goodsname:
  1626. description: 商品名称
  1627. type: string
  1628. operateapplyid:
  1629. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1630. type: string
  1631. operateapplytype:
  1632. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1633. type: integer
  1634. pricemove:
  1635. description: 升贴水
  1636. type: number
  1637. pricetype:
  1638. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1639. type: integer
  1640. reckonadjustamount:
  1641. description: 结算调整金额(非必填)
  1642. type: number
  1643. reckonosamount:
  1644. description: 结算溢短金额(非必填)
  1645. type: number
  1646. reckonotheramount:
  1647. description: 结算其他费用(非必填)
  1648. type: number
  1649. reckonrealqty:
  1650. description: 结算实际数量(非必填)
  1651. type: number
  1652. relatedid:
  1653. description: 现货合同ID
  1654. type: string
  1655. sellusername:
  1656. description: 销售方名字
  1657. type: string
  1658. userid:
  1659. description: 用户ID
  1660. type: integer
  1661. wrstandardcode:
  1662. description: 品类代码
  1663. type: string
  1664. wrstandardid:
  1665. description: 品类id
  1666. type: integer
  1667. wrstandardname:
  1668. description: 品类名称
  1669. type: string
  1670. type: object
  1671. ermcp.QryBussinessKxRsp:
  1672. properties:
  1673. applyid:
  1674. description: 申请人
  1675. type: string
  1676. applyname:
  1677. description: 申请人名称
  1678. type: string
  1679. applystatus:
  1680. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1681. type: integer
  1682. applytime:
  1683. description: 申请时间
  1684. type: string
  1685. attachurl:
  1686. description: 附件
  1687. type: string
  1688. auditid:
  1689. description: 审核人ID
  1690. type: string
  1691. auditname:
  1692. description: 审核人名称
  1693. type: string
  1694. auditremark:
  1695. description: 审核备注
  1696. type: string
  1697. audittime:
  1698. description: 审核时间
  1699. type: string
  1700. buyusername:
  1701. description: 采购方名称
  1702. type: string
  1703. contractno:
  1704. description: 合同编号
  1705. type: string
  1706. contractstatus:
  1707. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1708. type: integer
  1709. contracttype:
  1710. description: 现货合同类型 - 1:采购 -1:销售
  1711. type: integer
  1712. deductamount:
  1713. description: 退款(非必填)
  1714. type: number
  1715. deliverygoodscode:
  1716. description: 现货品种代码
  1717. type: string
  1718. deliverygoodsid:
  1719. description: 现货商品ID
  1720. type: integer
  1721. deliverygoodsname:
  1722. description: 现货品种名称
  1723. type: string
  1724. enumdicname:
  1725. description: 单位名称
  1726. type: string
  1727. goodscode:
  1728. description: 点价合约
  1729. type: string
  1730. goodsname:
  1731. description: 商品名称
  1732. type: string
  1733. kxtype:
  1734. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1735. type: integer
  1736. operateapplyid:
  1737. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1738. type: string
  1739. operateapplytype:
  1740. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1741. type: integer
  1742. payamount:
  1743. description: 收付款(非必填)
  1744. type: number
  1745. pricemove:
  1746. description: 升贴水
  1747. type: number
  1748. pricetype:
  1749. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1750. type: integer
  1751. relatedid:
  1752. description: 现货合同ID
  1753. type: string
  1754. sellusername:
  1755. description: 销售方名字
  1756. type: string
  1757. userid:
  1758. description: 用户ID
  1759. type: integer
  1760. wrstandardcode:
  1761. description: 品类代码
  1762. type: string
  1763. wrstandardid:
  1764. description: 品类id
  1765. type: integer
  1766. wrstandardname:
  1767. description: 品类名称
  1768. type: string
  1769. type: object
  1770. ermcp.QryGGCovertCfgRsp:
  1771. properties:
  1772. convertratio:
  1773. description: 折算系数
  1774. type: number
  1775. destgoodsgroupid:
  1776. description: 目标品种ID
  1777. type: integer
  1778. dstcode:
  1779. description: 目录品种代码
  1780. type: string
  1781. dstexchangecode:
  1782. description: 目标期货交易所
  1783. type: string
  1784. dstname:
  1785. description: 目标品种名称
  1786. type: string
  1787. dstunitid:
  1788. description: 目标品种单位ID
  1789. type: integer
  1790. dstunitidname:
  1791. description: 目标品种单位名称
  1792. type: string
  1793. modifytime:
  1794. description: 修改时间
  1795. type: string
  1796. srccode:
  1797. description: 源品种代码
  1798. type: string
  1799. srcexchangecode:
  1800. description: 源期货交易所
  1801. type: string
  1802. srcgoodsgroupid:
  1803. description: 源品种ID
  1804. type: integer
  1805. srcname:
  1806. description: 源品种名称
  1807. type: string
  1808. srcunitid:
  1809. description: 源品种单位ID
  1810. type: integer
  1811. srcunitidname:
  1812. description: 源品种单位名称
  1813. type: string
  1814. type: object
  1815. ermcp.QryMGChangeLogRsp:
  1816. properties:
  1817. aftervalue:
  1818. description: 变更后
  1819. type: number
  1820. applyid:
  1821. description: 操作人
  1822. type: integer
  1823. applyname:
  1824. description: 操作人名称
  1825. type: string
  1826. applysrc:
  1827. description: 操作来源 - 1:管理端 2:终端
  1828. type: integer
  1829. beforevalue:
  1830. description: 变更前
  1831. type: number
  1832. changelogtype:
  1833. description: 变更流水类型 - 1:套保比率变更
  1834. type: integer
  1835. handlestatus:
  1836. description: 处理状态
  1837. type: integer
  1838. logdatetime:
  1839. description: 流水日期
  1840. type: string
  1841. logid:
  1842. description: 流水ID
  1843. type: integer
  1844. logremark:
  1845. description: 流水备注
  1846. type: string
  1847. middlegoodsid:
  1848. description: 套保品种ID
  1849. type: integer
  1850. tradedate:
  1851. description: 交易日(yyyyMMdd)
  1852. type: string
  1853. updatetime:
  1854. description: 更新时间
  1855. type: string
  1856. type: object
  1857. ermcp.QryMiddleGoodsDetailRsp:
  1858. properties:
  1859. cvList:
  1860. description: 期货品种折算列表
  1861. items:
  1862. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1863. type: array
  1864. mg:
  1865. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1866. description: 套保品种基本信息
  1867. wrcList:
  1868. description: 现货品种列表(现货商品折算配置)
  1869. items:
  1870. $ref: '#/definitions/models.WRSConverTDetail'
  1871. type: array
  1872. type: object
  1873. ermcp.QryMiddleGoodsRsp:
  1874. properties:
  1875. areauserid:
  1876. description: 机构用户ID
  1877. type: integer
  1878. createtime:
  1879. description: 修改时间
  1880. type: string
  1881. enumdicname:
  1882. description: 单位名称
  1883. type: string
  1884. evaluateratio:
  1885. description: 估价系数
  1886. type: number
  1887. goodsgroupid:
  1888. description: 关联期货品种ID
  1889. type: integer
  1890. goodsunitid:
  1891. description: 单位ID
  1892. type: integer
  1893. isvalid:
  1894. description: 状态 0-无效(停用) 1-有效(正常)
  1895. type: integer
  1896. middlegoodscode:
  1897. description: 套保品种代码
  1898. type: string
  1899. middlegoodsid:
  1900. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  1901. type: integer
  1902. middlegoodsname:
  1903. description: 套保品种名称
  1904. type: string
  1905. modifytime:
  1906. description: 修改时间
  1907. type: string
  1908. needarbitrageratio:
  1909. description: 套利比例
  1910. type: number
  1911. needhedgeratio:
  1912. description: 套保比率
  1913. type: number
  1914. qtydecimalplace:
  1915. description: 数量小数位
  1916. type: integer
  1917. relatedgoodsid:
  1918. description: 关联交易商品ID
  1919. type: integer
  1920. relatedgoodstype:
  1921. description: 关联商品类型 - 1:期货合约 2:现货品种
  1922. type: integer
  1923. remark:
  1924. description: 备注
  1925. type: string
  1926. type: object
  1927. ermcp.QryOPLogRsp:
  1928. properties:
  1929. aftervalue:
  1930. description: 变更后
  1931. type: number
  1932. applyid:
  1933. description: 操作人ID
  1934. type: string
  1935. applyname:
  1936. description: 操作人名称
  1937. type: string
  1938. beforevalue:
  1939. description: 变更前
  1940. type: number
  1941. biztype:
  1942. description: 业务类型 - 1:套保计划 2:现货合同
  1943. type: integer
  1944. contracttype:
  1945. description: 现货合同类型 - 1:采购 -1:销售
  1946. type: integer
  1947. logvalue:
  1948. description: 数值
  1949. type: number
  1950. operatelogtype:
  1951. description: 操作流水类型
  1952. type: integer
  1953. operatelogtypedesc:
  1954. description: 操作流水类型名称
  1955. type: string
  1956. relatedid:
  1957. description: 现货合同ID\套保计划
  1958. type: string
  1959. updatetime:
  1960. description: 更新时间
  1961. type: string
  1962. type: object
  1963. ermcp.QryUserInfoRsp:
  1964. properties:
  1965. address:
  1966. description: 通讯地址
  1967. type: string
  1968. attachment1:
  1969. description: 附件1
  1970. type: string
  1971. audittime:
  1972. description: 审核时间
  1973. type: string
  1974. cardbackphotourl:
  1975. description: 证件反面图片地址
  1976. type: string
  1977. cardfrontphotourl:
  1978. description: 证件正面图片地址
  1979. type: string
  1980. cardnum:
  1981. description: 证件号码
  1982. type: string
  1983. cardtype:
  1984. description: 证件类型
  1985. type: integer
  1986. cardtypename:
  1987. description: 证件类型名称
  1988. type: string
  1989. cityid:
  1990. description: 市
  1991. type: integer
  1992. contactname:
  1993. description: 联系人
  1994. type: string
  1995. countryid:
  1996. description: 国家
  1997. type: integer
  1998. createtime:
  1999. description: 创建时间
  2000. type: string
  2001. customername:
  2002. description: 企业名称
  2003. type: string
  2004. districtid:
  2005. description: 区域
  2006. type: integer
  2007. email:
  2008. description: 邮件
  2009. type: string
  2010. legalpersonname:
  2011. description: 法人姓名(企业)
  2012. type: string
  2013. memberuserid:
  2014. description: 所属机构ID
  2015. type: integer
  2016. mobile:
  2017. description: 手机号码
  2018. type: string
  2019. modifytime:
  2020. description: 修改时间
  2021. type: string
  2022. nickname:
  2023. description: 昵称
  2024. type: string
  2025. provinceid:
  2026. description: 省
  2027. type: integer
  2028. remark:
  2029. description: 备注
  2030. type: string
  2031. status:
  2032. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  2033. type: integer
  2034. statusdesc:
  2035. description: 账户状态中文描述
  2036. type: string
  2037. taxpayernum:
  2038. description: 纳税人识别号
  2039. type: string
  2040. telphone:
  2041. description: 联系电话
  2042. type: string
  2043. userid:
  2044. description: 用户ID
  2045. type: integer
  2046. userinfotype:
  2047. description: 客户类型
  2048. type: string
  2049. type: object
  2050. ermcp.QryWarehouseRsp:
  2051. properties:
  2052. address:
  2053. description: 详细地址
  2054. type: string
  2055. areauserid:
  2056. description: 所属机构
  2057. type: integer
  2058. autoid:
  2059. description: 自增ID(仓库ID)
  2060. type: integer
  2061. cityid:
  2062. description: 市
  2063. type: integer
  2064. contactname:
  2065. description: 联系人
  2066. type: string
  2067. contactnum:
  2068. description: 联系电话
  2069. type: string
  2070. countryid:
  2071. description: 国家
  2072. type: integer
  2073. createtime:
  2074. description: 创建时间
  2075. type: string
  2076. districtid:
  2077. description: 区
  2078. type: integer
  2079. hasvideo:
  2080. description: 是否有视频 - 0:无 1:有
  2081. type: integer
  2082. provinceid:
  2083. description: 省
  2084. type: integer
  2085. remark:
  2086. description: 审核备注
  2087. type: string
  2088. videourl:
  2089. description: 视频地址
  2090. type: string
  2091. warehousecode:
  2092. description: 仓库代码
  2093. type: string
  2094. warehousename:
  2095. description: 仓库名称
  2096. type: string
  2097. warehousestatus:
  2098. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  2099. type: integer
  2100. warehousetype:
  2101. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2102. type: integer
  2103. type: object
  2104. ermcp.QueryErmcpTradePositionRsp:
  2105. properties:
  2106. agreeunit:
  2107. description: 合约单位
  2108. type: number
  2109. buyorsell:
  2110. description: 方向 - 0:买 1:卖
  2111. type: integer
  2112. curpositionqty:
  2113. description: 持仓(总仓数量, 期末头寸)
  2114. type: integer
  2115. curtdposition:
  2116. description: 今仓数量(期末今日头寸)
  2117. type: integer
  2118. curtdpositionenabled:
  2119. description: 今仓可用
  2120. type: integer
  2121. decimalplace:
  2122. description: 报价小数位
  2123. type: integer
  2124. enableqty:
  2125. description: 可用(总仓可用)
  2126. type: integer
  2127. exexchangename:
  2128. description: 外部交易所名称
  2129. type: string
  2130. exexehangecode:
  2131. description: 外部交易所代码
  2132. type: string
  2133. exexehangeid:
  2134. description: 外部交易所id
  2135. type: integer
  2136. goodscode:
  2137. description: 商品代码(内部)
  2138. type: string
  2139. goodsid:
  2140. description: 商品ID(自增ID SEQ_GOODS)
  2141. type: integer
  2142. goodsname:
  2143. description: 商品名称
  2144. type: string
  2145. last:
  2146. description: 现价
  2147. type: number
  2148. marketid:
  2149. description: 所属市场ID
  2150. type: integer
  2151. openaverageprice:
  2152. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  2153. type: number
  2154. opencost:
  2155. description: 开仓成本
  2156. type: number
  2157. openpl:
  2158. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  2159. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2160. type: number
  2161. outgoodscode:
  2162. description: 商品代码(外部)
  2163. type: string
  2164. positionaverageprice:
  2165. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  2166. type: number
  2167. positioncost:
  2168. description: 持仓成本
  2169. type: number
  2170. positionpl:
  2171. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  2172. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2173. type: number
  2174. positionplrate:
  2175. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  2176. type: number
  2177. usedmargin:
  2178. description: 占用保证金
  2179. type: number
  2180. type: object
  2181. ermcp.RealtimeExposurePositionRsp:
  2182. properties:
  2183. agreeunit:
  2184. description: 合约单位
  2185. type: string
  2186. areauserid:
  2187. description: 所属机构id
  2188. type: integer
  2189. convertratio:
  2190. description: 期货品种系数(折算系数)
  2191. type: number
  2192. curqty:
  2193. description: 当前持仓
  2194. type: integer
  2195. diffhedgeqty:
  2196. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  2197. type: number
  2198. diffqty:
  2199. description: 持仓变动量=当前持仓-昨日持仓
  2200. type: integer
  2201. goodscode:
  2202. description: 商品代码
  2203. type: string
  2204. goodsid:
  2205. description: 商品id
  2206. type: integer
  2207. goodsname:
  2208. description: 商品名称
  2209. type: string
  2210. middlegoodsid:
  2211. description: 套保商品id
  2212. type: integer
  2213. ydqty:
  2214. description: 昨日持仓
  2215. type: integer
  2216. type: object
  2217. ermcp.RealtimeExposureRsp:
  2218. properties:
  2219. AreaUserID:
  2220. description: 所属机构
  2221. type: integer
  2222. BuyFutureQty:
  2223. description: 买入期货数量
  2224. type: number
  2225. BuyPlanQty:
  2226. description: 采购计划数量
  2227. type: number
  2228. BuyPricedQty:
  2229. description: 采购合同已定价数量
  2230. type: number
  2231. MiddleGoodsCode:
  2232. description: 套保品种代码
  2233. type: string
  2234. MiddleGoodsHedgeRatio:
  2235. description: 套保比例
  2236. type: number
  2237. MiddleGoodsID:
  2238. description: 套保品种
  2239. type: integer
  2240. MiddleGoodsName:
  2241. description: 套保品种名称
  2242. type: string
  2243. NeedHedgeExposoure:
  2244. description: 应套保敞口(套保敞口)
  2245. type: number
  2246. NeedHedgeRatio:
  2247. description: 应套保敞口比例
  2248. type: number
  2249. OriBuyFutureQty:
  2250. description: 期初买入期货数量
  2251. type: number
  2252. OriBuyPlanQty:
  2253. description: 期初采购计划数量
  2254. type: number
  2255. OriBuyPricedQty:
  2256. description: 期初采购合同已定价数量
  2257. type: number
  2258. OriSellFutureQty:
  2259. description: 期初卖出期货数量
  2260. type: number
  2261. OriSellPlanQty:
  2262. description: 期初销售计划数量
  2263. type: number
  2264. OriSellPricedQty:
  2265. description: 期初销售合同已定价数量
  2266. type: number
  2267. OriTotalSpotQty:
  2268. description: 期初现货总量
  2269. type: number
  2270. SellFutureQty:
  2271. description: 卖出期货数量
  2272. type: number
  2273. SellPlanQty:
  2274. description: 销售计划数量
  2275. type: number
  2276. SellPricedQty:
  2277. description: 销售合同已定价数量
  2278. type: number
  2279. TotalExposure:
  2280. description: 总敞口 平安:净敞口
  2281. type: number
  2282. TotalFutureQty:
  2283. description: 期货总量 平安:保值净持仓量
  2284. type: number
  2285. TotalHedgeRatio:
  2286. description: 敞口比例
  2287. type: number
  2288. TotalNeedHedgeQty:
  2289. description: 应套保总量(现货应套保总量)
  2290. type: number
  2291. TotalSpotQty:
  2292. description: 现货总量 平安:采销定价净值
  2293. type: number
  2294. arbitrageqty:
  2295. description: 套利量
  2296. type: number
  2297. diffArbitrageQty:
  2298. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  2299. type: number
  2300. diffExposoureQty:
  2301. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  2302. type: number
  2303. diffFutuQty:
  2304. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  2305. type: number
  2306. diffHedgeQty:
  2307. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  2308. type: number
  2309. diffQty:
  2310. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  2311. type: number
  2312. diffSpotHedgeQty:
  2313. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  2314. type: number
  2315. diffSpotQty:
  2316. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  2317. type: number
  2318. enumdicname:
  2319. description: 单位名称
  2320. type: string
  2321. hedgeqty:
  2322. description: 套保量
  2323. type: number
  2324. needarbitrageqty:
  2325. description: 应套利量
  2326. type: number
  2327. needarbitrageratio:
  2328. description: 套利比例
  2329. type: number
  2330. needhedgeqty:
  2331. description: 应套保量
  2332. type: number
  2333. oriarbitrageqty:
  2334. description: 期初套利量
  2335. type: number
  2336. orihedgeqty:
  2337. description: 期初套保量
  2338. type: number
  2339. orineedhedgeexposoure:
  2340. description: 期初套保敞口
  2341. type: number
  2342. oritotalexposure:
  2343. description: 期初总敞口
  2344. type: number
  2345. oritotalfutureqty:
  2346. description: 期初期货总量
  2347. type: number
  2348. oritotalneedhedgeqty:
  2349. description: 期初现货应套保量
  2350. type: number
  2351. type: object
  2352. erms2.QueryArbitrageStrategyRsp:
  2353. properties:
  2354. applybasis:
  2355. description: 申请基差
  2356. type: number
  2357. asapplyid:
  2358. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2359. type: string
  2360. asname:
  2361. description: 策略名称
  2362. type: string
  2363. asno:
  2364. description: 策略编号
  2365. type: string
  2366. basischangepl:
  2367. description: 基差变动损益[结算更新]
  2368. type: number
  2369. biztype:
  2370. description: 业务类型 - 1:正向套利 -1:反向套利
  2371. type: integer
  2372. closetradedate:
  2373. description: 完结交易日(yyyyMMdd)
  2374. type: string
  2375. curbasis:
  2376. description: 当前基差[结算更新]
  2377. type: number
  2378. deliverygoodsid:
  2379. description: 现货品种ID
  2380. type: integer
  2381. futureavgprice:
  2382. description: 期货建仓均价
  2383. type: number
  2384. futurecloseamount:
  2385. description: 期货平仓金额
  2386. type: number
  2387. futurecloseqty:
  2388. description: 期货平仓数量
  2389. type: number
  2390. futureopenamount:
  2391. description: 期货开仓金额
  2392. type: number
  2393. futureopenqty:
  2394. description: 期货开仓数量
  2395. type: number
  2396. futurepl:
  2397. description: 期货总盈亏[结算更新]
  2398. type: number
  2399. futureqty:
  2400. description: 期货持仓数量
  2401. type: number
  2402. futurequote:
  2403. description: 期货额度
  2404. type: number
  2405. goodsgroupid:
  2406. description: 期货品种ID
  2407. type: integer
  2408. marketid:
  2409. description: 市场ID
  2410. type: integer
  2411. netexposure:
  2412. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2413. type: number
  2414. netexposurepl:
  2415. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2416. type: number
  2417. netexposurerate:
  2418. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2419. type: number
  2420. openbasis:
  2421. description: 建仓基差
  2422. type: number
  2423. pricedspotqty:
  2424. description: 已定价现货数量
  2425. type: number
  2426. pricedspotqtynotax:
  2427. description: 已定价现货不含税数量
  2428. type: number
  2429. remark:
  2430. description: 备注
  2431. type: string
  2432. spotavgprice:
  2433. description: 现货均价
  2434. type: number
  2435. spotbuyamount:
  2436. description: 现货采购金额
  2437. type: number
  2438. spotbuyqty:
  2439. description: 现货采购数量
  2440. type: number
  2441. spotpl:
  2442. description: 现货总盈亏[结算更新]
  2443. type: number
  2444. spotquota:
  2445. description: 现货额度
  2446. type: number
  2447. spotsellamount:
  2448. description: 现货销售金额
  2449. type: number
  2450. spotsellqty:
  2451. description: 现货销售数量
  2452. type: number
  2453. spotusedquota:
  2454. description: 现货占用资金
  2455. type: number
  2456. strategystatus:
  2457. description: 策略状态 - 0:未结束 1:已结束
  2458. type: integer
  2459. totalpl:
  2460. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2461. type: number
  2462. tradedate:
  2463. description: 交易日(yyyyMMdd)
  2464. type: string
  2465. updatetime:
  2466. description: 更新时间
  2467. type: string
  2468. usedquota:
  2469. description: 已占用资金
  2470. type: number
  2471. userid:
  2472. description: 所属机构
  2473. type: integer
  2474. required:
  2475. - asapplyid
  2476. type: object
  2477. erms2.QueryInnerTradeDetailRsp:
  2478. properties:
  2479. accountid:
  2480. description: 账号ID
  2481. type: integer
  2482. agreeunit:
  2483. description: 合约单位
  2484. type: number
  2485. asapplyid:
  2486. description: 策略申请ID
  2487. type: integer
  2488. asname:
  2489. description: 策略名称
  2490. type: string
  2491. asno:
  2492. description: 策略编号
  2493. type: string
  2494. buyorsell:
  2495. description: 方向 - 0:买 1:卖
  2496. type: integer
  2497. channelbuildtype:
  2498. description: 委托单据类型 0:无 1:建仓 2:平仓
  2499. type: integer
  2500. closetype:
  2501. description: 平仓方式 - 0:无 1:平今 2:平昨
  2502. type: integer
  2503. decimalplace:
  2504. description: 报价小数位
  2505. type: integer
  2506. detailtype:
  2507. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2508. type: integer
  2509. exexchangecode:
  2510. description: 外部交易所代码
  2511. type: string
  2512. exexchangename:
  2513. description: 外部交易所名称
  2514. type: string
  2515. goodscode:
  2516. description: 商品代码(合约)
  2517. type: string
  2518. goodsgroupid:
  2519. description: 商品组ID(品种ID)
  2520. type: integer
  2521. goodsgroupname:
  2522. description: 商品组名称(品种)
  2523. type: string
  2524. goodsid:
  2525. description: 商品ID
  2526. type: integer
  2527. goodsname:
  2528. description: 商品名称(合约)
  2529. type: string
  2530. goodunit:
  2531. description: 报价单位
  2532. type: string
  2533. marketid:
  2534. description: 市场ID
  2535. type: integer
  2536. orderid:
  2537. description: 委托单号
  2538. type: string
  2539. outgoodscode:
  2540. description: 商品代码(外部)
  2541. type: string
  2542. relatedouttradeid:
  2543. description: 关联外部成交单ID
  2544. type: string
  2545. remark:
  2546. description: 备注
  2547. type: string
  2548. spotcontractid:
  2549. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2550. type: integer
  2551. spotcontractno:
  2552. description: 现货合同编号
  2553. type: string
  2554. tradeid:
  2555. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2556. type: string
  2557. tradeprice:
  2558. description: 成交价格
  2559. type: number
  2560. tradeqty:
  2561. description: 成交数量
  2562. type: integer
  2563. tradetime:
  2564. description: 成交时间
  2565. type: string
  2566. updatetime:
  2567. description: 更新时间
  2568. type: string
  2569. required:
  2570. - asapplyid
  2571. - buyorsell
  2572. - goodscode
  2573. - goodsgroupid
  2574. - goodsgroupname
  2575. - goodsname
  2576. - tradeid
  2577. type: object
  2578. erms2.QuerySpotContractRsp:
  2579. properties:
  2580. accountid:
  2581. description: 资金账户ID
  2582. type: integer
  2583. areauserid:
  2584. description: 所属机构
  2585. type: integer
  2586. closedate:
  2587. description: 终止日期
  2588. type: string
  2589. closeremark:
  2590. description: 结束备注
  2591. type: string
  2592. closetradedate:
  2593. description: 完结交易日(yyyyMMdd)
  2594. type: string
  2595. closetype:
  2596. description: 终止类型 - 1:违约 2:提前终止
  2597. type: integer
  2598. contractamount:
  2599. description: 合同金额
  2600. type: number
  2601. contractattachment:
  2602. description: 合同附件
  2603. type: string
  2604. contractno:
  2605. description: 现货合同编号
  2606. type: string
  2607. contractqty:
  2608. description: 合同数量(数值) (用于计算)
  2609. type: number
  2610. contractqtychar:
  2611. description: 合同数量\已订价数量 (用于显示)
  2612. type: string
  2613. contractstatus:
  2614. description: 合同状态 - 0:未结束 1:已结束
  2615. type: integer
  2616. contracttype:
  2617. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2618. type: integer
  2619. customeraccountid:
  2620. description: 客户资金账户ID
  2621. type: integer
  2622. customeruserid:
  2623. description: 客户ID
  2624. type: integer
  2625. deliverygoodsdesc:
  2626. description: 品种说明
  2627. type: string
  2628. deliverygoodsid:
  2629. description: 现货品种ID
  2630. type: integer
  2631. handlestatus:
  2632. description: 处理状态
  2633. type: integer
  2634. invoiceatt:
  2635. description: 发票附件
  2636. type: string
  2637. invoicedatetime:
  2638. description: 开收票更新时间
  2639. type: string
  2640. invoiceopentime:
  2641. description: 开票时间
  2642. type: string
  2643. invoiceremark:
  2644. description: 发票备注
  2645. type: string
  2646. invoicestatus:
  2647. description: 开收票状态 - 0:未开票 1:已开票
  2648. type: integer
  2649. lastdate:
  2650. description: 交货时间
  2651. type: string
  2652. marketid:
  2653. description: 市场ID
  2654. type: integer
  2655. paydatetime:
  2656. description: 收付款更新时间
  2657. type: string
  2658. payremark:
  2659. description: 收付款备注
  2660. type: string
  2661. paystatus:
  2662. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  2663. type: integer
  2664. positionqty:
  2665. description: 头寸数量 - 合同数量去小数部分
  2666. type: integer
  2667. producttype:
  2668. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2669. type: integer
  2670. relatedqty:
  2671. description: 已关联数量
  2672. type: number
  2673. relatedstatus:
  2674. description: 关联完结状态 - 0:未结束 1:已结束
  2675. type: integer
  2676. remark:
  2677. description: 备注
  2678. type: string
  2679. signdate:
  2680. description: 签订日期
  2681. type: string
  2682. spotcontractid:
  2683. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  2684. type: string
  2685. spotdatetime:
  2686. description: 收发货更新时间
  2687. type: string
  2688. spotprice:
  2689. description: 价格
  2690. type: number
  2691. spotremark:
  2692. description: 收发货备注
  2693. type: string
  2694. spotstatus:
  2695. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  2696. type: integer
  2697. tradedate:
  2698. description: 交易日(yyyyMMdd)
  2699. type: string
  2700. userid:
  2701. description: 业务员用户ID
  2702. type: integer
  2703. warehouseid:
  2704. description: 仓库ID
  2705. type: integer
  2706. wrfactortypeid:
  2707. description: 仓单要素类型ID
  2708. type: integer
  2709. wrstandardid:
  2710. description: 仓单标准ID(SEQ_WRSTANDARD)
  2711. type: integer
  2712. required:
  2713. - spotcontractid
  2714. type: object
  2715. erms3.AddErms2ASApplyReq:
  2716. properties:
  2717. applybasis:
  2718. description: 申请基差
  2719. type: number
  2720. applystatus:
  2721. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2722. type: integer
  2723. asapplyid:
  2724. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  2725. type: integer
  2726. asname:
  2727. description: 策略名称
  2728. type: string
  2729. asno:
  2730. description: 策略编号
  2731. type: string
  2732. auditid:
  2733. description: 审核人
  2734. type: integer
  2735. auditremark:
  2736. description: 审核备注
  2737. type: string
  2738. audittime:
  2739. description: 审核时间
  2740. type: string
  2741. biztype:
  2742. description: 业务类型 - 1:正向套利 2:反向套利
  2743. type: integer
  2744. createtime:
  2745. description: 创建时间
  2746. type: string
  2747. creatorid:
  2748. description: 创建人
  2749. type: integer
  2750. deliverygoodsid:
  2751. description: 现货品种ID
  2752. type: integer
  2753. futurequote:
  2754. description: 期货额度
  2755. type: number
  2756. goodsgroupid:
  2757. description: 期货品种ID
  2758. type: integer
  2759. marketid:
  2760. description: 市场ID
  2761. type: integer
  2762. remark:
  2763. description: 备注
  2764. type: string
  2765. spotquota:
  2766. description: 现货额度
  2767. type: number
  2768. tradedate:
  2769. description: 交易日(yyyyMMdd)
  2770. type: string
  2771. userid:
  2772. description: 所属机构
  2773. type: integer
  2774. required:
  2775. - asapplyid
  2776. type: object
  2777. erms3.AddErms2SpotTradeApplyReq:
  2778. properties:
  2779. applyjsondetail:
  2780. description: 申请明细(JSON)
  2781. type: string
  2782. applystatus:
  2783. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2784. type: integer
  2785. areauserid:
  2786. description: 所属机构
  2787. type: integer
  2788. auditid:
  2789. description: 审核人
  2790. type: integer
  2791. auditremark:
  2792. description: 审核备注
  2793. type: string
  2794. audittime:
  2795. description: 审核时间
  2796. type: string
  2797. createtime:
  2798. description: 创建时间
  2799. type: string
  2800. creatorid:
  2801. description: 创建人
  2802. type: integer
  2803. deliverygoodsid:
  2804. description: 现货品种ID
  2805. type: integer
  2806. futureaccountid:
  2807. description: 期货资金账户
  2808. type: integer
  2809. goodsgroupid:
  2810. description: 期货品种
  2811. type: integer
  2812. marketid:
  2813. description: 市场ID
  2814. type: integer
  2815. remark:
  2816. description: 备注
  2817. type: string
  2818. spotaccountid:
  2819. description: 现货资金账户
  2820. type: integer
  2821. spottradeid:
  2822. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2823. type: integer
  2824. spottradename:
  2825. description: 业务名称
  2826. type: string
  2827. spottradeno:
  2828. description: 业务编号
  2829. type: string
  2830. tradedate:
  2831. description: 交易日(yyyyMMdd)
  2832. type: string
  2833. wrstandardid:
  2834. description: 仓单标准ID
  2835. type: integer
  2836. required:
  2837. - spottradeid
  2838. type: object
  2839. erms3.AddSpotContractApplyReq:
  2840. properties:
  2841. accountid:
  2842. description: 资金账户ID
  2843. type: integer
  2844. areauserid:
  2845. description: 所属机构
  2846. type: integer
  2847. contractattachment:
  2848. description: 合同附件
  2849. type: string
  2850. contractno:
  2851. description: 现货合同编号
  2852. type: string
  2853. contracttype:
  2854. description: 现货合同类型 - 1:采购 -1:销售
  2855. type: integer
  2856. creatorid:
  2857. description: 申请人
  2858. type: integer
  2859. customeraccountid:
  2860. description: 客户资金账户ID
  2861. type: integer
  2862. customeruserid:
  2863. description: 客户ID
  2864. type: integer
  2865. details:
  2866. description: 明细
  2867. items:
  2868. $ref: '#/definitions/erms3.SoptContractDetail'
  2869. type: array
  2870. orimargin:
  2871. description: 初始保证金
  2872. type: number
  2873. remark:
  2874. description: 备注
  2875. type: string
  2876. signdate:
  2877. description: 签订日期
  2878. type: string
  2879. required:
  2880. - accountid
  2881. - areauserid
  2882. - contractno
  2883. - contracttype
  2884. - customeraccountid
  2885. - customeruserid
  2886. - details
  2887. - orimargin
  2888. - signdate
  2889. type: object
  2890. erms3.AddSpotContractApplyRsp:
  2891. properties:
  2892. contractno:
  2893. description: 现货合同编号
  2894. type: string
  2895. spotcontractid:
  2896. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2897. type: integer
  2898. required:
  2899. - contractno
  2900. type: object
  2901. erms3.AddUserInfoApplyReq:
  2902. properties:
  2903. accountid:
  2904. description: 交易系统帐号Id (加密存储)
  2905. type: integer
  2906. areacode:
  2907. description: 机构代码
  2908. type: string
  2909. areaid:
  2910. description: 机构Id
  2911. type: integer
  2912. attachment1:
  2913. description: 附件1
  2914. type: string
  2915. attachment2:
  2916. description: 附件2
  2917. type: string
  2918. attachment3:
  2919. description: 附件3
  2920. type: string
  2921. attachment4:
  2922. description: 附件4
  2923. type: string
  2924. attachment5:
  2925. description: 附件5
  2926. type: string
  2927. auditedby:
  2928. description: 审核人
  2929. type: string
  2930. auditime:
  2931. description: 审核时间
  2932. type: string
  2933. auditsrc:
  2934. description: 审核来源 - 1:管理端 2:终端
  2935. type: integer
  2936. bankaccount:
  2937. description: 银行帐号 (加密存储)
  2938. type: string
  2939. bankaccountname:
  2940. description: 收款人名称
  2941. type: string
  2942. bankcardbackphotourl:
  2943. description: 银行卡背面照地址
  2944. type: string
  2945. bankcardfrontphotourl:
  2946. description: 银行卡正面照地址
  2947. type: string
  2948. bankid:
  2949. description: 银行编码
  2950. type: string
  2951. bankname:
  2952. description: 银行名称
  2953. type: string
  2954. bankpictureurl:
  2955. description: 银行卡正面地址
  2956. type: string
  2957. biznature:
  2958. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2959. type: integer
  2960. bizscope:
  2961. description: 企业经营范围(企业)
  2962. type: string
  2963. biztype:
  2964. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2965. type: integer
  2966. brokerid:
  2967. description: 经纪人ID(加密存储)
  2968. type: string
  2969. cardaddress:
  2970. description: 证件地址 (加密存储)
  2971. type: string
  2972. cardbackphotourl:
  2973. description: 背面证件照地址
  2974. type: string
  2975. cardfrontphotourl:
  2976. description: 正面证件照地址
  2977. type: string
  2978. cardnum:
  2979. description: 证件号码 (加密存储)
  2980. type: string
  2981. cardtype:
  2982. description: 证件类型
  2983. type: integer
  2984. cityid:
  2985. description: 市
  2986. type: integer
  2987. company:
  2988. description: 公司(个人)
  2989. type: string
  2990. contactcardbackphotourl:
  2991. description: 联系人证件背面图片地址
  2992. type: string
  2993. contactcardfrontphotourl:
  2994. description: 联系人证件正面图片地址
  2995. type: string
  2996. contactname:
  2997. description: 联系人
  2998. type: string
  2999. countryid:
  3000. description: 国家
  3001. type: integer
  3002. createtime:
  3003. description: 开户申请时间
  3004. type: string
  3005. cusbankid:
  3006. description: 签约类型
  3007. type: string
  3008. cusbankname:
  3009. description: 签约类型名称
  3010. type: string
  3011. customername:
  3012. description: 客户名称(企业名称)
  3013. type: string
  3014. districtid:
  3015. description: 地区
  3016. type: integer
  3017. email:
  3018. description: Email地址(加密存储)
  3019. type: string
  3020. halfbodyphotourl:
  3021. description: 半身照地址
  3022. type: string
  3023. headurl:
  3024. description: 头像地址
  3025. type: string
  3026. ipaddress:
  3027. description: IP地址
  3028. type: string
  3029. isvalidate:
  3030. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3031. type: string
  3032. legalcardbackphotourl:
  3033. description: 法人身份证背面照地址
  3034. type: string
  3035. legalcardfrontphotourl:
  3036. description: 法人身份证正面照地址
  3037. type: string
  3038. legalpersonname:
  3039. description: 法人姓名(企业)
  3040. type: string
  3041. logincode:
  3042. description: 登录帐号 (加密存储)
  3043. type: string
  3044. memberareaid:
  3045. description: 所属会员ID
  3046. type: integer
  3047. mobile2:
  3048. description: 手机号码[明文-尚志]
  3049. type: string
  3050. mobilephone:
  3051. description: 手机号码 (加密存储)
  3052. type: string
  3053. modifiedby:
  3054. description: 修改人帐号
  3055. type: integer
  3056. modifiedtime:
  3057. description: 修改时间
  3058. type: string
  3059. nickname:
  3060. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3061. type: string
  3062. openmode:
  3063. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3064. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3065. type: integer
  3066. otherurl:
  3067. description: 其它图片地址[使用分号分隔]
  3068. type: string
  3069. postalcode:
  3070. description: 邮政编码
  3071. type: string
  3072. provinceid:
  3073. description: 省
  3074. type: integer
  3075. proxystatementurl:
  3076. description: 授权委托书
  3077. type: string
  3078. qq:
  3079. description: QQ(加密存储
  3080. type: string
  3081. referral:
  3082. description: 推荐人编码
  3083. type: string
  3084. remark:
  3085. description: 备注
  3086. type: string
  3087. removebeforestatus:
  3088. description: REMOVEBEFORESTATUS
  3089. type: integer
  3090. sex:
  3091. description: 性别 - 0:女 1:男
  3092. type: integer
  3093. signedstatus:
  3094. description: 账户一号签签约状态
  3095. type: integer
  3096. signpdfurl:
  3097. description: 签约pdf文件
  3098. type: string
  3099. subbranch:
  3100. description: 开户支行
  3101. type: string
  3102. taxpayernum:
  3103. description: 纳税人识别号
  3104. type: string
  3105. telphone:
  3106. description: 联系电话(加密存储)
  3107. type: string
  3108. userid:
  3109. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3110. type: integer
  3111. userinfotype:
  3112. description: 用户信息类型 - 1:个人 2:企业
  3113. type: integer
  3114. username:
  3115. description: 用户姓名
  3116. type: string
  3117. userstate:
  3118. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3119. type: integer
  3120. usertype:
  3121. description: 用户类型 - 1:投资者 2:机构
  3122. type: integer
  3123. videourl:
  3124. description: 视频地址
  3125. type: string
  3126. wechat:
  3127. description: 微信号 (加密存储)
  3128. type: string
  3129. required:
  3130. - userid
  3131. type: object
  3132. erms3.CustomerInfo:
  3133. properties:
  3134. accountids:
  3135. description: 资金账户ID列表
  3136. items:
  3137. type: integer
  3138. type: array
  3139. customername:
  3140. description: 名称(企业名称)
  3141. type: string
  3142. mobile:
  3143. description: 手机号码
  3144. type: string
  3145. userid:
  3146. description: 用户ID
  3147. type: integer
  3148. required:
  3149. - userid
  3150. type: object
  3151. erms3.ModifyUserInfoApplyReq:
  3152. properties:
  3153. accountid:
  3154. description: 交易系统帐号Id (加密存储)
  3155. type: integer
  3156. areacode:
  3157. description: 机构代码
  3158. type: string
  3159. areaid:
  3160. description: 机构Id
  3161. type: integer
  3162. attachment1:
  3163. description: 附件1
  3164. type: string
  3165. attachment2:
  3166. description: 附件2
  3167. type: string
  3168. attachment3:
  3169. description: 附件3
  3170. type: string
  3171. attachment4:
  3172. description: 附件4
  3173. type: string
  3174. attachment5:
  3175. description: 附件5
  3176. type: string
  3177. auditedby:
  3178. description: 审核人
  3179. type: string
  3180. auditime:
  3181. description: 审核时间
  3182. type: string
  3183. auditsrc:
  3184. description: 审核来源 - 1:管理端 2:终端
  3185. type: integer
  3186. bankaccount:
  3187. description: 银行帐号 (加密存储)
  3188. type: string
  3189. bankaccountname:
  3190. description: 收款人名称
  3191. type: string
  3192. bankcardbackphotourl:
  3193. description: 银行卡背面照地址
  3194. type: string
  3195. bankcardfrontphotourl:
  3196. description: 银行卡正面照地址
  3197. type: string
  3198. bankid:
  3199. description: 银行编码
  3200. type: string
  3201. bankname:
  3202. description: 银行名称
  3203. type: string
  3204. bankpictureurl:
  3205. description: 银行卡正面地址
  3206. type: string
  3207. biznature:
  3208. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3209. type: integer
  3210. bizscope:
  3211. description: 企业经营范围(企业)
  3212. type: string
  3213. biztype:
  3214. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3215. type: integer
  3216. brokerid:
  3217. description: 经纪人ID(加密存储)
  3218. type: string
  3219. cardaddress:
  3220. description: 证件地址 (加密存储)
  3221. type: string
  3222. cardbackphotourl:
  3223. description: 背面证件照地址
  3224. type: string
  3225. cardfrontphotourl:
  3226. description: 正面证件照地址
  3227. type: string
  3228. cardnum:
  3229. description: 证件号码 (加密存储)
  3230. type: string
  3231. cardtype:
  3232. description: 证件类型
  3233. type: integer
  3234. cityid:
  3235. description: 市
  3236. type: integer
  3237. company:
  3238. description: 公司(个人)
  3239. type: string
  3240. contactcardbackphotourl:
  3241. description: 联系人证件背面图片地址
  3242. type: string
  3243. contactcardfrontphotourl:
  3244. description: 联系人证件正面图片地址
  3245. type: string
  3246. contactname:
  3247. description: 联系人
  3248. type: string
  3249. countryid:
  3250. description: 国家
  3251. type: integer
  3252. createtime:
  3253. description: 开户申请时间
  3254. type: string
  3255. cusbankid:
  3256. description: 签约类型
  3257. type: string
  3258. cusbankname:
  3259. description: 签约类型名称
  3260. type: string
  3261. customername:
  3262. description: 客户名称(企业名称)
  3263. type: string
  3264. districtid:
  3265. description: 地区
  3266. type: integer
  3267. email:
  3268. description: Email地址(加密存储)
  3269. type: string
  3270. halfbodyphotourl:
  3271. description: 半身照地址
  3272. type: string
  3273. headurl:
  3274. description: 头像地址
  3275. type: string
  3276. ipaddress:
  3277. description: IP地址
  3278. type: string
  3279. isvalidate:
  3280. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3281. type: string
  3282. legalcardbackphotourl:
  3283. description: 法人身份证背面照地址
  3284. type: string
  3285. legalcardfrontphotourl:
  3286. description: 法人身份证正面照地址
  3287. type: string
  3288. legalpersonname:
  3289. description: 法人姓名(企业)
  3290. type: string
  3291. logincode:
  3292. description: 登录帐号 (加密存储)
  3293. type: string
  3294. memberareaid:
  3295. description: 所属会员ID
  3296. type: integer
  3297. mobile2:
  3298. description: 手机号码[明文-尚志]
  3299. type: string
  3300. mobilephone:
  3301. description: 手机号码 (加密存储)
  3302. type: string
  3303. modifiedby:
  3304. description: 修改人帐号
  3305. type: integer
  3306. modifiedtime:
  3307. description: 修改时间
  3308. type: string
  3309. nickname:
  3310. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3311. type: string
  3312. openmode:
  3313. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3314. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3315. type: integer
  3316. otherurl:
  3317. description: 其它图片地址[使用分号分隔]
  3318. type: string
  3319. postalcode:
  3320. description: 邮政编码
  3321. type: string
  3322. provinceid:
  3323. description: 省
  3324. type: integer
  3325. proxystatementurl:
  3326. description: 授权委托书
  3327. type: string
  3328. qq:
  3329. description: QQ(加密存储
  3330. type: string
  3331. referral:
  3332. description: 推荐人编码
  3333. type: string
  3334. remark:
  3335. description: 备注
  3336. type: string
  3337. removebeforestatus:
  3338. description: REMOVEBEFORESTATUS
  3339. type: integer
  3340. sex:
  3341. description: 性别 - 0:女 1:男
  3342. type: integer
  3343. signedstatus:
  3344. description: 账户一号签签约状态
  3345. type: integer
  3346. signpdfurl:
  3347. description: 签约pdf文件
  3348. type: string
  3349. subbranch:
  3350. description: 开户支行
  3351. type: string
  3352. taxpayernum:
  3353. description: 纳税人识别号
  3354. type: string
  3355. telphone:
  3356. description: 联系电话(加密存储)
  3357. type: string
  3358. userid:
  3359. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3360. type: integer
  3361. userinfotype:
  3362. description: 用户信息类型 - 1:个人 2:企业
  3363. type: integer
  3364. username:
  3365. description: 用户姓名
  3366. type: string
  3367. userstate:
  3368. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3369. type: integer
  3370. usertype:
  3371. description: 用户类型 - 1:投资者 2:机构
  3372. type: integer
  3373. videourl:
  3374. description: 视频地址
  3375. type: string
  3376. wechat:
  3377. description: 微信号 (加密存储)
  3378. type: string
  3379. required:
  3380. - userid
  3381. type: object
  3382. erms3.QryAuditContractRsp:
  3383. properties:
  3384. accountid:
  3385. description: 交易员ID
  3386. type: string
  3387. applystatus:
  3388. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3389. type: integer
  3390. curdeliveryqty:
  3391. description: 未交收量
  3392. type: integer
  3393. customername:
  3394. description: 采购方ID
  3395. type: string
  3396. deliverygoodsid:
  3397. description: 品种ID
  3398. type: string
  3399. deliveryqty:
  3400. description: 交收量
  3401. type: integer
  3402. enumdicname:
  3403. description: 单位名称
  3404. type: string
  3405. matchaccountid:
  3406. description: 业务员ID
  3407. type: string
  3408. matchcustomername:
  3409. description: 销售方ID
  3410. type: string
  3411. pricedqty:
  3412. description: 定价量
  3413. type: number
  3414. signdate:
  3415. description: 签订日期
  3416. type: string
  3417. spotcontractid:
  3418. description: 合同ID
  3419. type: string
  3420. totaldqty:
  3421. description: 合同量
  3422. type: number
  3423. unpricedqty:
  3424. description: 未定价量
  3425. type: number
  3426. wrstandardname:
  3427. description: 商品名称
  3428. type: string
  3429. required:
  3430. - matchcustomername
  3431. - spotcontractid
  3432. type: object
  3433. erms3.QryPendingBizRsp:
  3434. properties:
  3435. accountid:
  3436. description: 现货账户
  3437. type: string
  3438. areaname:
  3439. description: 所属部门
  3440. type: string
  3441. bizid:
  3442. description: 业务ID
  3443. type: string
  3444. bizname:
  3445. description: 业务名称
  3446. type: string
  3447. status:
  3448. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3449. type: integer
  3450. type:
  3451. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3452. type: integer
  3453. type: object
  3454. erms3.QueryBusinessInfoRsp:
  3455. properties:
  3456. businessid:
  3457. description: 业务ID.
  3458. type: integer
  3459. buyamount:
  3460. description: 采购额.
  3461. type: number
  3462. buyqty:
  3463. description: 采购量.
  3464. type: string
  3465. futurepl:
  3466. description: 期货盈亏.
  3467. type: number
  3468. futureqty:
  3469. description: 期货敞口.
  3470. type: string
  3471. goodsid:
  3472. description: 商品名称/商品代码.
  3473. type: string
  3474. hedgingqty:
  3475. description: 套保量.
  3476. type: string
  3477. sellamount:
  3478. description: 销售额.
  3479. type: number
  3480. sellqty:
  3481. description: 销售量.
  3482. type: string
  3483. spotmarketvalue:
  3484. description: 现货市值.
  3485. type: number
  3486. spotpl:
  3487. description: 浮动权益.
  3488. type: number
  3489. spotqty:
  3490. description: 现货量.
  3491. type: string
  3492. statu:
  3493. description: 状态,0-未结束 1-已结束.
  3494. type: integer
  3495. totalpl:
  3496. description: 总盈亏.
  3497. type: number
  3498. totalqty:
  3499. description: 总敞口.
  3500. type: string
  3501. type:
  3502. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3503. type: integer
  3504. type: object
  3505. erms3.QuerySpotContractAppleFormRsp:
  3506. properties:
  3507. goodses:
  3508. description: 合约列表
  3509. items:
  3510. $ref: '#/definitions/models.GoodsIDAndName'
  3511. type: array
  3512. oppositeusers:
  3513. description: 对方账号列表
  3514. items:
  3515. $ref: '#/definitions/erms3.CustomerInfo'
  3516. type: array
  3517. ouruser:
  3518. $ref: '#/definitions/erms3.CustomerInfo'
  3519. description: 我方账号
  3520. warehouseinfos:
  3521. description: 仓库信息列表
  3522. items:
  3523. $ref: '#/definitions/models.Warehouseinfo'
  3524. type: array
  3525. wrstandards:
  3526. description: 仓单标准列表
  3527. items:
  3528. $ref: '#/definitions/models.WRStandardInfo'
  3529. type: array
  3530. type: object
  3531. erms3.QuerySpotContractInfoRsp:
  3532. properties:
  3533. accountid:
  3534. description: 表示交易员ID.
  3535. type: integer
  3536. curdeliveryqty:
  3537. description: 表示未交收量.
  3538. type: number
  3539. customername:
  3540. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3541. type: string
  3542. deliverygoodsid:
  3543. description: 表示品种ID.
  3544. type: string
  3545. deliveryqty:
  3546. description: 表示交收量.
  3547. type: number
  3548. matchaccountid:
  3549. description: 表示业务员ID.
  3550. type: integer
  3551. matchcustomername:
  3552. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3553. type: string
  3554. priceqty:
  3555. description: 表示定价量.
  3556. type: number
  3557. relatedbizid:
  3558. description: 表示业务ID.
  3559. type: string
  3560. signdate:
  3561. description: 表示签订日期.
  3562. type: string
  3563. spotcontractid:
  3564. description: 合同ID
  3565. type: string
  3566. status:
  3567. description: 表示状态,0-履约中 1-已完成.
  3568. type: integer
  3569. totalqty:
  3570. description: 表示合同量.
  3571. type: number
  3572. unpricedqty:
  3573. description: 表示未定价量.
  3574. type: number
  3575. wrstandardname:
  3576. description: 表示商品ID.
  3577. type: string
  3578. type: object
  3579. erms3.QueryUserInfoAppliesRsp:
  3580. properties:
  3581. biznature:
  3582. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3583. type: integer
  3584. contactname:
  3585. description: 联系人
  3586. type: string
  3587. createtime:
  3588. description: 开户申请时间
  3589. type: string
  3590. userid:
  3591. description: 用户ID(自增ID)
  3592. type: integer
  3593. userinfotype:
  3594. description: 用户信息类型 - 1:个人 2:企业
  3595. type: integer
  3596. username:
  3597. description: 用户姓名
  3598. type: string
  3599. userstate:
  3600. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3601. type: integer
  3602. required:
  3603. - userid
  3604. type: object
  3605. erms3.QueryUserInfosRsp:
  3606. properties:
  3607. biznature:
  3608. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3609. type: integer
  3610. contactname:
  3611. description: 联系人
  3612. type: string
  3613. customername:
  3614. description: 客户名称(企业名称)
  3615. type: string
  3616. userid:
  3617. description: 用户ID
  3618. type: integer
  3619. userinfotype:
  3620. description: 用户信息类型 - 1:个人 2:企业
  3621. type: integer
  3622. userstatus:
  3623. description: 用户状态 - 1:正常 2:注销
  3624. type: integer
  3625. required:
  3626. - userid
  3627. type: object
  3628. erms3.SoptContractDetail:
  3629. properties:
  3630. deliverygoodsdesc:
  3631. description: 现货品种说明
  3632. type: string
  3633. deliverygoodsid:
  3634. description: 现货品种ID
  3635. type: integer
  3636. deliverygoodsname:
  3637. description: 现货品种名称
  3638. type: string
  3639. pointdesc:
  3640. description: 点价描述
  3641. type: string
  3642. producttype:
  3643. description: 产品类型 1:标准仓单 2:等标 3:非标
  3644. type: integer
  3645. producttypename:
  3646. description: 产品类型名称
  3647. type: string
  3648. spotPointOrderVoList:
  3649. description: 点价列表
  3650. items:
  3651. $ref: '#/definitions/erms3.SpotPointOrder'
  3652. type: array
  3653. spotPriceOrderList:
  3654. description: 定价列表
  3655. items:
  3656. $ref: '#/definitions/erms3.SpotPriceOrder'
  3657. type: array
  3658. unitname:
  3659. description: 单位名称
  3660. type: string
  3661. warehouseid:
  3662. description: 仓库ID
  3663. type: integer
  3664. warehousename:
  3665. description: 仓库名称
  3666. type: string
  3667. wrstandardid:
  3668. description: 交易标的ID
  3669. type: integer
  3670. wrstandardname:
  3671. description: 交易标的名称
  3672. type: string
  3673. required:
  3674. - deliverygoodsid
  3675. - producttype
  3676. - unitname
  3677. - warehouseid
  3678. - wrstandardid
  3679. - wrstandardname
  3680. type: object
  3681. erms3.SpotPointOrder:
  3682. properties:
  3683. basic:
  3684. description: 基差
  3685. type: number
  3686. deliveryenddate:
  3687. description: 交收结束日期
  3688. type: string
  3689. deliverystartdate:
  3690. description: 交收开始日期
  3691. type: string
  3692. enddate:
  3693. description: 点价结束日期
  3694. type: string
  3695. goodsid:
  3696. description: 商品ID
  3697. type: integer
  3698. goodsname:
  3699. description: 商品名称
  3700. type: string
  3701. qty:
  3702. description: 数量
  3703. type: number
  3704. startdate:
  3705. description: 点价开始日期
  3706. type: string
  3707. required:
  3708. - basic
  3709. - goodsid
  3710. - qty
  3711. type: object
  3712. erms3.SpotPriceOrder:
  3713. properties:
  3714. amount:
  3715. description: 金额
  3716. type: number
  3717. deliveryenddate:
  3718. description: 交收结束日期
  3719. type: string
  3720. deliverystartdate:
  3721. description: 交收开始日期
  3722. type: string
  3723. price:
  3724. description: 价格
  3725. type: number
  3726. qty:
  3727. description: 数量
  3728. type: number
  3729. required:
  3730. - amount
  3731. - price
  3732. - qty
  3733. type: object
  3734. hsby.GetHsbyMyCountRsp:
  3735. properties:
  3736. myCouponCount:
  3737. description: 我的优惠卷数量
  3738. type: integer
  3739. myOrderDetailListingCount:
  3740. description: 我的订单求购中数量
  3741. type: integer
  3742. myOrderDetailPreCount:
  3743. description: 我的订单抢购中数量
  3744. type: integer
  3745. myPackageUnReceiveCount:
  3746. description: 我的包裹待收货数量
  3747. type: integer
  3748. myPackageUnSendCount:
  3749. description: 我的包裹待发货数量
  3750. type: integer
  3751. myPayOrderCount:
  3752. description: 我的订单待付款数量
  3753. type: integer
  3754. type: object
  3755. hsby.QueryProvincesAndCitiesRsp:
  3756. properties:
  3757. cities:
  3758. description: 市
  3759. items:
  3760. $ref: '#/definitions/models.Division'
  3761. type: array
  3762. province:
  3763. $ref: '#/definitions/models.Division'
  3764. description: 省
  3765. type: object
  3766. models.Arearole:
  3767. properties:
  3768. createtime:
  3769. description: 创建时间
  3770. type: string
  3771. creatorid:
  3772. description: 创建人ID
  3773. type: integer
  3774. fromuserid:
  3775. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  3776. type: integer
  3777. isreturnscore:
  3778. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  3779. type: integer
  3780. modifierid:
  3781. description: 修改人ID
  3782. type: integer
  3783. modifytime:
  3784. description: 修改时间
  3785. type: string
  3786. orgtype:
  3787. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  3788. type: integer
  3789. outuserid:
  3790. description: 外部账户[场外期权做市商]
  3791. type: string
  3792. parentuserid:
  3793. description: 上级组织机构(组织机构)
  3794. type: integer
  3795. roletype:
  3796. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  3797. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  3798. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  3799. type: integer
  3800. rootuserid:
  3801. description: 顶级组织机构用户ID(组织机构)
  3802. type: integer
  3803. shoppassword:
  3804. description: 商城店铺登陆密码(商城店铺角色使用)
  3805. type: string
  3806. sublevelpath:
  3807. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  3808. type: string
  3809. suborgtype:
  3810. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  3811. type: integer
  3812. tradeaccountid:
  3813. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  3814. type: integer
  3815. transurl:
  3816. description: 物流地址(物流机构)
  3817. type: string
  3818. userid:
  3819. description: 机构用户ID其他做市关系,都设置为 1
  3820. type: integer
  3821. required:
  3822. - roletype
  3823. - userid
  3824. type: object
  3825. models.Clientfixedadconfig:
  3826. properties:
  3827. adsort:
  3828. description: 排序
  3829. type: integer
  3830. adtype:
  3831. description: 广告位类型 - 1:新品抢购(HSBY)
  3832. type: integer
  3833. areauserid:
  3834. description: 所属机构ID
  3835. type: integer
  3836. createdate:
  3837. description: 创建时间
  3838. type: string
  3839. creatorid:
  3840. description: 创建人
  3841. type: integer
  3842. imagepath:
  3843. description: 图片
  3844. type: string
  3845. isshow:
  3846. description: 是否展示 - 0:不展示 1:展示
  3847. type: integer
  3848. modifierid:
  3849. description: 操作人
  3850. type: integer
  3851. recsize:
  3852. description: 推荐尺寸
  3853. type: string
  3854. title:
  3855. description: 标题
  3856. type: string
  3857. updatedate:
  3858. description: 更新时间
  3859. type: string
  3860. urlcontent:
  3861. description: 链接(地址或商品ID)
  3862. type: string
  3863. urltype:
  3864. description: 链接类型 - 1:直接地址 2:商品ID
  3865. type: integer
  3866. required:
  3867. - adsort
  3868. - adtype
  3869. type: object
  3870. models.DgFactoryItem:
  3871. properties:
  3872. dgfactoryitemid:
  3873. description: 选择项ID(SEQ_DGFACTORYITEM)
  3874. type: integer
  3875. dgfactoryitemtypeid:
  3876. description: 要素项类型
  3877. type: integer
  3878. dgfactoryitemvalue:
  3879. description: 要素项值(类型为仓库时填写仓库名称)
  3880. type: string
  3881. orderindex:
  3882. description: 顺序
  3883. type: integer
  3884. type: object
  3885. models.Division:
  3886. properties:
  3887. autoid:
  3888. description: 自增ID
  3889. type: integer
  3890. divisioncode:
  3891. description: 行政代码
  3892. type: string
  3893. divisionlevel:
  3894. description: 行政级别
  3895. type: string
  3896. divisionname:
  3897. description: 行政名称
  3898. type: string
  3899. modifierid:
  3900. description: 修改人
  3901. type: integer
  3902. modifytime:
  3903. description: 修改时间
  3904. type: string
  3905. parentcode:
  3906. description: 上级行政代码
  3907. type: string
  3908. pathname:
  3909. description: 路径名称
  3910. type: string
  3911. postcode:
  3912. description: 邮政编码
  3913. type: string
  3914. separablename:
  3915. description: 可拆分的全称
  3916. type: string
  3917. shortcode:
  3918. description: 地区简码
  3919. type: string
  3920. required:
  3921. - autoid
  3922. - divisioncode
  3923. type: object
  3924. models.Enumdicitem:
  3925. properties:
  3926. autoid:
  3927. description: 自增ID
  3928. type: integer
  3929. bankmappedvalue:
  3930. description: 银行服务对应值
  3931. type: string
  3932. enumdiccode:
  3933. description: 所属枚举代码
  3934. type: string
  3935. enumdicid:
  3936. description: 所属枚举ID
  3937. type: integer
  3938. enumdicname:
  3939. description: 枚举项名称
  3940. type: string
  3941. enumitemname:
  3942. description: 枚举项值
  3943. type: integer
  3944. enumitemstatus:
  3945. description: 枚举项状态 - 1.启用 2.不启用
  3946. type: integer
  3947. enumitemvalue:
  3948. description: 通用值 - [币种通用简写]
  3949. type: string
  3950. param1:
  3951. description: 参数1[币种:币种小数位]
  3952. type: string
  3953. param2:
  3954. description: 参数1[币种:币种显示单位]
  3955. type: string
  3956. remark:
  3957. description: 备注
  3958. type: string
  3959. required:
  3960. - autoid
  3961. - enumdiccode
  3962. - enumdicid
  3963. - enumitemname
  3964. type: object
  3965. models.Ermcp3AreaSpot:
  3966. properties:
  3967. areauserid:
  3968. description: 所属机构
  3969. type: integer
  3970. convertratio:
  3971. description: 套保系数
  3972. type: number
  3973. decreaseqty:
  3974. description: 减少数量=-(销售已定价数量+采购计划数量)
  3975. type: number
  3976. enumdicname:
  3977. description: 单位名称
  3978. type: string
  3979. increaseqty:
  3980. description: 增加数量=销售计划数量+采购已定价数量
  3981. type: number
  3982. oritoalspotqty:
  3983. description: 昨日数量
  3984. type: number
  3985. totalspotqty:
  3986. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  3987. type: number
  3988. unitid:
  3989. description: 现货商品单位id
  3990. type: integer
  3991. updatetime:
  3992. description: 更新时间
  3993. type: string
  3994. wrstandardcode:
  3995. description: 现货商品代码
  3996. type: string
  3997. wrstandardid:
  3998. description: 现货商品ID(SEQ_WRSTANDARD)
  3999. type: integer
  4000. wrstandardname:
  4001. description: 现货商品名称
  4002. type: string
  4003. type: object
  4004. models.Ermcp3AreaSpotDetail:
  4005. properties:
  4006. contracttype:
  4007. description: 合同类型 1-采购 -1-销售
  4008. type: integer
  4009. createtime:
  4010. description: 创建时间
  4011. type: string
  4012. enumdicname:
  4013. description: 现货商品单位名称
  4014. type: string
  4015. logtype:
  4016. description: 记录类型 1-套保 2-现货合同
  4017. type: integer
  4018. qty:
  4019. description: 数量
  4020. type: number
  4021. recordname:
  4022. description: 类型名称
  4023. type: string
  4024. relatedid:
  4025. description: 套保计划ID/现货合同ID
  4026. type: string
  4027. relatedno:
  4028. description: 编号
  4029. type: string
  4030. strtime:
  4031. description: 时间
  4032. type: string
  4033. wrstandardcode:
  4034. description: 现货商品代码
  4035. type: string
  4036. wrstandardid:
  4037. description: 现货商品ID(SEQ_WRSTANDARD)
  4038. type: integer
  4039. wrstandardname:
  4040. description: 现货商品名称
  4041. type: string
  4042. type: object
  4043. models.Ermcp3AreaSpotPLReport:
  4044. properties:
  4045. accountid:
  4046. description: 期货账户ID (作废, 默认为0)
  4047. type: integer
  4048. accountname:
  4049. description: 机构名称
  4050. type: string
  4051. actualpl:
  4052. description: 现货损益
  4053. type: number
  4054. areauserid:
  4055. description: 所属机构\交易用户ID
  4056. type: integer
  4057. begindate:
  4058. description: 开始交易日
  4059. type: string
  4060. biztype:
  4061. description: 业务类型 - 1:套保 2:套利
  4062. type: integer
  4063. brandname:
  4064. description: 品牌名称
  4065. type: string
  4066. curamount:
  4067. description: 期末额
  4068. type: number
  4069. curaverageprice:
  4070. description: 期末均价
  4071. type: number
  4072. curbuyamount:
  4073. description: 期末采购总额
  4074. type: number
  4075. curbuyqty:
  4076. description: 期末采购总量
  4077. type: number
  4078. curmarketvalue:
  4079. description: 参考市值(期末市值)
  4080. type: number
  4081. curqty:
  4082. description: 期末量
  4083. type: number
  4084. currencyid:
  4085. description: 结算币种ID【原值】
  4086. type: integer
  4087. currencyname:
  4088. description: 币种名称
  4089. type: string
  4090. cursellamount:
  4091. description: 期末销售总额
  4092. type: number
  4093. cursellqty:
  4094. description: 期末销售总量
  4095. type: number
  4096. curspotprice:
  4097. description: 参考市价(最新价)
  4098. type: number
  4099. cycletime:
  4100. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4101. type: string
  4102. cycletype:
  4103. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4104. type: integer
  4105. deliverygoodscode:
  4106. description: 现货品种代码
  4107. type: string
  4108. deliverygoodsid:
  4109. description: 现货品种ID
  4110. type: integer
  4111. deliverygoodsname:
  4112. description: 现货品种名称
  4113. type: string
  4114. enddate:
  4115. description: 结束交易日
  4116. type: string
  4117. enumdicname:
  4118. description: 现货品种单位名称(作废)
  4119. type: string
  4120. floatpl:
  4121. description: 浮动损益
  4122. type: number
  4123. goodsunitid:
  4124. description: 现货品种单位id(作废)
  4125. type: integer
  4126. oriamount:
  4127. description: 期初额
  4128. type: number
  4129. oriaverageprice:
  4130. description: 期初均价
  4131. type: number
  4132. oribuyamount:
  4133. description: 期初采购总额
  4134. type: number
  4135. oribuyqty:
  4136. description: 期初采购总量
  4137. type: number
  4138. oriqty:
  4139. description: 期初量
  4140. type: number
  4141. orisellamount:
  4142. description: 期初销售总额
  4143. type: number
  4144. orisellqty:
  4145. description: 期初销售总量
  4146. type: number
  4147. reckondate:
  4148. description: 日照时期(yyyyMMdd)
  4149. type: string
  4150. spotgoodsbrandid:
  4151. description: 现货品牌ID
  4152. type: integer
  4153. todaybuyamount:
  4154. description: 今日采购额(今采购额)
  4155. type: number
  4156. todaybuyaverageprice:
  4157. description: 今日采购均价
  4158. type: number
  4159. todaybuyqty:
  4160. description: 今日采购量(今采购量)
  4161. type: number
  4162. todayinqty:
  4163. description: 今日入库量(今入库量)
  4164. type: number
  4165. todayoutqty:
  4166. description: 今日出库量(今出库量)
  4167. type: number
  4168. todaysellamount:
  4169. description: 今日销售额(今销售额)
  4170. type: number
  4171. todaysellaverageprice:
  4172. description: 今日销售均价
  4173. type: number
  4174. todaysellqty:
  4175. description: 今日销售量(今销售量)
  4176. type: number
  4177. unitid:
  4178. description: 品类单位id
  4179. type: integer
  4180. unitidname:
  4181. description: 品类单位名称
  4182. type: string
  4183. updatetime:
  4184. description: 更新时间
  4185. type: string
  4186. wrfactortypeid:
  4187. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4188. type: integer
  4189. wrstandardcode:
  4190. description: 现货商品(品类)代码
  4191. type: string
  4192. wrstandardid:
  4193. description: 现货品类ID
  4194. type: integer
  4195. wrstandardname:
  4196. description: 现货商品(品类)名称
  4197. type: string
  4198. type: object
  4199. models.Ermcp3AreaStock:
  4200. properties:
  4201. brandname:
  4202. description: 品牌名称
  4203. type: string
  4204. curstock:
  4205. description: 期末库存量(今日量)
  4206. type: number
  4207. deliverygoodscode:
  4208. description: 现货品种代码
  4209. type: string
  4210. deliverygoodsid:
  4211. description: 现货品种id
  4212. type: integer
  4213. deliverygoodsname:
  4214. description: 现货品种名称
  4215. type: string
  4216. enumdicname:
  4217. description: 单位名称
  4218. type: string
  4219. goodsunitid:
  4220. description: 现货商品单位id
  4221. type: integer
  4222. oristock:
  4223. description: 期初库存量(昨日量)
  4224. type: number
  4225. spotgoodsbrandid:
  4226. description: 现货品牌ID
  4227. type: integer
  4228. todaybuyinqty:
  4229. description: 今日采购入库量
  4230. type: number
  4231. todayproduceinqty:
  4232. description: 今日生产入库量
  4233. type: number
  4234. todayproduceoutqty:
  4235. description: 今日生产出库量
  4236. type: number
  4237. todayselloutqty:
  4238. description: 今日销售出库量
  4239. type: number
  4240. unitid:
  4241. description: 单位id
  4242. type: integer
  4243. updatetime:
  4244. description: 更新时间
  4245. type: string
  4246. userid:
  4247. description: 机构ID
  4248. type: integer
  4249. username:
  4250. description: 机构名称
  4251. type: string
  4252. warehousecode:
  4253. description: 仓库代码
  4254. type: string
  4255. warehouseinfoid:
  4256. description: 仓库ID
  4257. type: string
  4258. warehousename:
  4259. description: 仓库名称
  4260. type: string
  4261. warehousetype:
  4262. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4263. type: integer
  4264. wrstandardcode:
  4265. description: 品类代码
  4266. type: string
  4267. wrstandardid:
  4268. description: 品类ID
  4269. type: string
  4270. wrstandardname:
  4271. description: 品类名称
  4272. type: string
  4273. required:
  4274. - userid
  4275. type: object
  4276. models.Ermcp3AreaStockApply:
  4277. properties:
  4278. applyid:
  4279. description: 申请人
  4280. type: integer
  4281. applyname:
  4282. description: 申请人名称
  4283. type: string
  4284. applyremark:
  4285. description: 申请备注
  4286. type: string
  4287. applysrc:
  4288. description: 申请来源 - 1:管理端 2:终端
  4289. type: integer
  4290. applystatus:
  4291. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  4292. type: integer
  4293. applytime:
  4294. description: 申请时间
  4295. type: string
  4296. auditid:
  4297. description: 审核人
  4298. type: integer
  4299. auditname:
  4300. description: 审核人名称
  4301. type: string
  4302. auditremark:
  4303. description: 审核备注
  4304. type: string
  4305. auditsrc:
  4306. description: 审核来源 - 1:管理端 2:终端
  4307. type: integer
  4308. audittime:
  4309. description: 审核时间
  4310. type: string
  4311. audittradedate:
  4312. description: 审核交易日(yyyyMMdd)
  4313. type: string
  4314. brandname:
  4315. description: 品牌名称
  4316. type: string
  4317. buynickname:
  4318. description: 采购方昵称
  4319. type: string
  4320. buyuserid:
  4321. description: 采购方userid
  4322. type: integer
  4323. buyusername:
  4324. description: 采购方名称
  4325. type: string
  4326. contractno:
  4327. description: 合同编号
  4328. type: string
  4329. contractqty:
  4330. description: 合同量
  4331. type: number
  4332. contracttype:
  4333. description: 现货合同类型 - 1:采购 -1:销售
  4334. type: integer
  4335. deliverygoodscode:
  4336. description: 现货品种代码
  4337. type: string
  4338. deliverygoodsid:
  4339. description: 现货品种id
  4340. type: integer
  4341. deliverygoodsname:
  4342. description: 现货品种名称
  4343. type: string
  4344. detailjson:
  4345. description: 明细数据
  4346. type: string
  4347. enumdicname:
  4348. description: 现货商品单位名称
  4349. type: string
  4350. inoutapplyid:
  4351. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  4352. type: string
  4353. inouttype:
  4354. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4355. type: integer
  4356. pricetype:
  4357. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4358. type: integer
  4359. qty:
  4360. description: 数量
  4361. type: number
  4362. sellnickname:
  4363. description: 销售方昵称
  4364. type: string
  4365. selluserid:
  4366. description: 销售方userid
  4367. type: integer
  4368. sellusername:
  4369. description: 销售方名称
  4370. type: string
  4371. spotcontractid:
  4372. description: 关联现货合同ID
  4373. type: string
  4374. spotgoodsbrandid:
  4375. description: 现货品牌ID
  4376. type: integer
  4377. unitid:
  4378. description: 单位id
  4379. type: integer
  4380. userid:
  4381. description: 机构ID
  4382. type: integer
  4383. warehousecode:
  4384. description: 仓库代码
  4385. type: string
  4386. warehouseinfoid:
  4387. description: 现货仓库ID
  4388. type: string
  4389. warehousename:
  4390. description: 仓库名称
  4391. type: string
  4392. warehousetype:
  4393. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4394. type: integer
  4395. wrstandardcode:
  4396. description: 品类代码
  4397. type: string
  4398. wrstandardid:
  4399. description: 品类ID
  4400. type: integer
  4401. wrstandardname:
  4402. description: 品类名称
  4403. type: string
  4404. type: object
  4405. models.Ermcp3AreaStockApplySum:
  4406. properties:
  4407. brandname:
  4408. description: 品牌名称
  4409. type: string
  4410. inouttype:
  4411. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4412. type: integer
  4413. spotcontractid:
  4414. description: 关联现货合同ID
  4415. type: string
  4416. spotgoodsbrandid:
  4417. description: 品牌id
  4418. type: integer
  4419. totalqty:
  4420. description: 总数量
  4421. type: number
  4422. wrstandardid:
  4423. description: 品类id
  4424. type: integer
  4425. wrstandardname:
  4426. description: 品类名称
  4427. type: string
  4428. type: object
  4429. models.Ermcp3AreaStockReportEx:
  4430. properties:
  4431. begindate:
  4432. description: 开始交易日
  4433. type: string
  4434. brandname:
  4435. description: 品牌名称
  4436. type: string
  4437. curstock:
  4438. description: 期末库存量
  4439. type: number
  4440. cycletime:
  4441. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4442. type: string
  4443. cycletype:
  4444. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4445. type: integer
  4446. deliverygoodscode:
  4447. description: 现货品种代码
  4448. type: string
  4449. deliverygoodsid:
  4450. description: 现货品种id
  4451. type: integer
  4452. deliverygoodsname:
  4453. description: 现货品种名称
  4454. type: string
  4455. diffqty:
  4456. description: 库存变化量 = 期末 - 期初
  4457. type: number
  4458. enddate:
  4459. description: 结束交易日
  4460. type: string
  4461. enumdicname:
  4462. description: 单位名称
  4463. type: string
  4464. goodsunitid:
  4465. description: 现货单位id
  4466. type: integer
  4467. oristock:
  4468. description: 期初库存量
  4469. type: number
  4470. reckondate:
  4471. description: 日照时期(yyyyMMdd)
  4472. type: string
  4473. spotgoodsbrandid:
  4474. description: 现货品牌ID
  4475. type: integer
  4476. todaybuyinqty:
  4477. description: 今采购入库量
  4478. type: number
  4479. todayproduceinqty:
  4480. description: 今内部入库量
  4481. type: number
  4482. todayproduceoutqty:
  4483. description: 今内部出库量
  4484. type: number
  4485. todayselloutqty:
  4486. description: 今销售出库量
  4487. type: number
  4488. unbuyinqty:
  4489. description: 采购未入库量(数据库未找到相关字段?)
  4490. type: number
  4491. unitid:
  4492. description: 品类单位id
  4493. type: integer
  4494. unselloutqty:
  4495. description: 销售未出库量(数据库未找到相关字段?)
  4496. type: number
  4497. updatetime:
  4498. description: 更新时间
  4499. type: string
  4500. userid:
  4501. description: 机构ID
  4502. type: integer
  4503. username:
  4504. description: 机构名称
  4505. type: string
  4506. warehousecode:
  4507. description: 仓库代码
  4508. type: string
  4509. warehouseinfoid:
  4510. description: 仓库ID
  4511. type: string
  4512. warehousename:
  4513. description: 仓库名称
  4514. type: string
  4515. warehousetype:
  4516. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4517. type: integer
  4518. wrstandardcode:
  4519. description: 品类代码
  4520. type: string
  4521. wrstandardid:
  4522. description: 品类ID
  4523. type: integer
  4524. wrstandardname:
  4525. description: 品类名称
  4526. type: string
  4527. type: object
  4528. models.Ermcp3ArealSumPL:
  4529. properties:
  4530. accountname:
  4531. description: 机构名称
  4532. type: string
  4533. areauserid:
  4534. description: 所属机构\交易用户ID
  4535. type: integer
  4536. begindate:
  4537. description: 开始交易日
  4538. type: string
  4539. currencyid:
  4540. description: 结算币种ID
  4541. type: integer
  4542. currencyname:
  4543. description: 币种名称
  4544. type: string
  4545. cycletime:
  4546. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4547. type: string
  4548. cycletype:
  4549. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4550. type: integer
  4551. enddate:
  4552. description: 结束交易日
  4553. type: string
  4554. enumdicname:
  4555. description: 单位名称(套保品种)
  4556. type: string
  4557. futureactualpl:
  4558. description: 期货损益
  4559. type: number
  4560. futurefloatpl:
  4561. description: 期货浮动损益
  4562. type: number
  4563. futurespotratio:
  4564. description: 期现比例 = 期货头寸总量 / 现货头寸总量
  4565. type: number
  4566. goodsunitid:
  4567. description: 套保品种单位id
  4568. type: integer
  4569. hedgeexposurepl:
  4570. description: 套保敞口损益
  4571. type: number
  4572. middlegoodscode:
  4573. description: 套保品种代码
  4574. type: string
  4575. middlegoodsid:
  4576. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  4577. type: integer
  4578. middlegoodsname:
  4579. description: 套保品种名称
  4580. type: string
  4581. reckondate:
  4582. description: 日照时期(yyyyMMdd)
  4583. type: string
  4584. spotactualpl:
  4585. description: 现货损益
  4586. type: number
  4587. spotfloatpl:
  4588. description: 现货浮动损益
  4589. type: number
  4590. sumactualpl:
  4591. description: 实际损益 = (ActualPL + FutureActualPL)
  4592. type: number
  4593. sumpl:
  4594. description: 总敞口损益 | 汇总损益
  4595. type: number
  4596. totalfutureqty:
  4597. description: 期货头寸总量
  4598. type: number
  4599. totalneedhedgeqty:
  4600. description: 应套保总量
  4601. type: number
  4602. totalspotqty:
  4603. description: 现货头寸总量
  4604. type: number
  4605. updatetime:
  4606. description: 更新时间
  4607. type: string
  4608. type: object
  4609. models.Ermcp3Brand:
  4610. properties:
  4611. areauserid:
  4612. description: 用户id
  4613. type: integer
  4614. brandid:
  4615. description: 品牌id
  4616. type: integer
  4617. brandname:
  4618. description: 品牌名称
  4619. type: string
  4620. deliverygoodsid:
  4621. description: 品种ID
  4622. type: integer
  4623. isvalid:
  4624. description: 是否有效
  4625. type: integer
  4626. type: object
  4627. models.Ermcp3Contract:
  4628. properties:
  4629. accountid:
  4630. description: 期货账户id
  4631. type: string
  4632. amount:
  4633. description: 金额 [1:一口价、3:暂定价]
  4634. type: number
  4635. attachment:
  4636. description: 附件
  4637. type: string
  4638. auditremark:
  4639. description: 审核意见
  4640. type: string
  4641. audittime:
  4642. description: 审核时间
  4643. type: string
  4644. biztype:
  4645. description: 业务类型 1-套保 2-套利
  4646. type: integer
  4647. brandname:
  4648. description: 品牌名称
  4649. type: string
  4650. buynickname:
  4651. description: 销售方昵称
  4652. type: string
  4653. buyuserid:
  4654. description: 采购方ID
  4655. type: integer
  4656. buyusername:
  4657. description: 采购方名称
  4658. type: string
  4659. contracctstatus:
  4660. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4661. type: integer
  4662. contractmargin:
  4663. description: 合同保证金
  4664. type: number
  4665. contractno:
  4666. description: 现货合同编号
  4667. type: string
  4668. contracttype:
  4669. description: 现货合同类型 - 1:采购 -1:销售
  4670. type: integer
  4671. convertfactor:
  4672. description: 标仓系数(品类)
  4673. type: number
  4674. createtime:
  4675. description: 创建时间
  4676. type: string
  4677. currencyid:
  4678. description: 币种id
  4679. type: integer
  4680. currencyname:
  4681. description: 币种名称
  4682. type: string
  4683. deliveryenddate:
  4684. description: 交收期(结束)
  4685. type: string
  4686. deliverygoodscode:
  4687. description: 现货品种代码
  4688. type: string
  4689. deliverygoodsid:
  4690. description: 现货品种ID
  4691. type: integer
  4692. deliverygoodsname:
  4693. description: 现货品种名称
  4694. type: string
  4695. deliverystartdate:
  4696. description: 交收期(开始)
  4697. type: string
  4698. enddate:
  4699. description: 点价结束日期 [2:点价 3:暂定价]
  4700. type: string
  4701. enumdicname:
  4702. description: 单位名称
  4703. type: string
  4704. goodscode:
  4705. description: 点价合约代码
  4706. type: string
  4707. goodsid:
  4708. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  4709. type: integer
  4710. goodsname:
  4711. description: 点价商品名称
  4712. type: string
  4713. margin:
  4714. description: 当前保证金
  4715. type: number
  4716. meruserid:
  4717. description: 跟单员id
  4718. type: integer
  4719. meruserlogincode:
  4720. description: 跟单员登录代码
  4721. type: string
  4722. merusername:
  4723. description: 跟单员名称
  4724. type: string
  4725. pointdesc:
  4726. description: 点价备注
  4727. type: string
  4728. price:
  4729. description: 价格\暂定价 [1:一口价、3:暂定价]
  4730. type: number
  4731. pricemove:
  4732. description: 升贴水 [2:点价 3:暂定价]
  4733. type: number
  4734. pricetype:
  4735. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4736. type: integer
  4737. producttype:
  4738. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4739. type: integer
  4740. qty:
  4741. description: 数量
  4742. type: number
  4743. remark:
  4744. description: 备注
  4745. type: string
  4746. saleuserid:
  4747. description: 业务员id
  4748. type: integer
  4749. saleuserlogincode:
  4750. description: 业务员登录代码
  4751. type: string
  4752. saleusername:
  4753. description: 业务员名称
  4754. type: string
  4755. sellnickname:
  4756. description: 采购方昵称
  4757. type: string
  4758. selluserid:
  4759. description: 销售方ID
  4760. type: integer
  4761. sellusername:
  4762. description: 销售方名称
  4763. type: string
  4764. spotcontractid:
  4765. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  4766. type: string
  4767. spotgoodsbrandid:
  4768. description: 现货品牌ID(DGFactoryItem表的ID)
  4769. type: integer
  4770. spotgoodsdesc:
  4771. description: 商品型号
  4772. type: string
  4773. startdate:
  4774. description: 点价开始日期 [2:点价 3:暂定价]
  4775. type: string
  4776. subjectid:
  4777. description: 交易主体ID
  4778. type: integer
  4779. subjectname:
  4780. description: 交易主体名称
  4781. type: string
  4782. tradeuserid:
  4783. description: 交易员id
  4784. type: integer
  4785. tradeuserlogincode:
  4786. description: 交易员登录代码
  4787. type: string
  4788. tradeusername:
  4789. description: 交易员名称
  4790. type: string
  4791. unitid:
  4792. description: 单位id(取品类上的单位id)
  4793. type: integer
  4794. updatetime:
  4795. description: 更新时间
  4796. type: string
  4797. userid:
  4798. description: 所属机构ID
  4799. type: integer
  4800. vatrate:
  4801. description: 增值税率
  4802. type: number
  4803. wrstandardcode:
  4804. description: 品类代码
  4805. type: string
  4806. wrstandardid:
  4807. description: 品类ID
  4808. type: integer
  4809. wrstandardname:
  4810. description: 品类名称
  4811. type: string
  4812. type: object
  4813. models.Ermcp3ContractMiddleGoodsCfg:
  4814. properties:
  4815. agreeunit:
  4816. description: 合约乘数
  4817. type: number
  4818. convertratio:
  4819. description: 期货品种系数
  4820. type: number
  4821. covertqty:
  4822. description: 折算手数 =【待点价量 / (合约乘数*期货品种系数) 】
  4823. type: integer
  4824. middlegoodsid:
  4825. description: 套保品种ID
  4826. type: integer
  4827. middlegoodspricedqty3:
  4828. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  4829. example: "0"
  4830. type: string
  4831. pendingpricedqty:
  4832. description: 待点价量
  4833. example: "0"
  4834. type: string
  4835. relatedmiddlegoodsqty:
  4836. description: 已关联量(套保品种-期货)
  4837. example: "0"
  4838. type: string
  4839. spotcontractid:
  4840. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  4841. type: string
  4842. type: object
  4843. models.Ermcp3ExposureContractDetail:
  4844. properties:
  4845. biztype:
  4846. description: 业务类型 1-套保 2-套利
  4847. type: integer
  4848. brandname:
  4849. description: 品牌名称
  4850. type: string
  4851. buyuserid:
  4852. description: 采购方id
  4853. type: integer
  4854. buyusername:
  4855. description: 采购方名称
  4856. type: string
  4857. contractno:
  4858. description: 合同编号
  4859. type: string
  4860. contracttype:
  4861. description: 现货合同类型 - 1:采购 -1:销售
  4862. type: integer
  4863. convertfactor:
  4864. description: 标仓系数
  4865. type: number
  4866. convertratio:
  4867. description: 折算系数(套保品种)
  4868. type: number
  4869. curqty:
  4870. description: 今定价量
  4871. type: number
  4872. deliverygoodscode:
  4873. description: 现货品种代码
  4874. type: string
  4875. deliverygoodsid:
  4876. description: 现货品种id
  4877. type: integer
  4878. deliverygoodsname:
  4879. description: 现货品种名称
  4880. type: string
  4881. diffhedgeqty:
  4882. description: 套保变动量
  4883. type: number
  4884. diffneedhedgeqty:
  4885. description: 应套保变动量
  4886. type: number
  4887. diffqty:
  4888. description: 套保品种今变动量
  4889. type: number
  4890. enumdicname:
  4891. description: 单位名称
  4892. type: string
  4893. mgunitname:
  4894. description: 套保品种单位名称
  4895. type: string
  4896. middlegoodscode:
  4897. description: 套保品种代码
  4898. type: string
  4899. middlegoodsid:
  4900. description: 套保品种id
  4901. type: integer
  4902. middlegoodsname:
  4903. description: 套保品种名称
  4904. type: string
  4905. needarbitrageratio:
  4906. description: 应套利比例
  4907. type: number
  4908. needhedgeratio:
  4909. description: 应套保比例
  4910. type: number
  4911. pricedqty:
  4912. description: 已定价量
  4913. type: number
  4914. qty:
  4915. description: 合同量
  4916. type: number
  4917. reckondate:
  4918. description: 交易日(reckondate)
  4919. type: string
  4920. selluserid:
  4921. description: 销售方id
  4922. type: integer
  4923. sellusername:
  4924. description: 销售方名称
  4925. type: string
  4926. spotcontractid:
  4927. description: 合同id
  4928. type: string
  4929. todaypricedqty:
  4930. description: 今定价量
  4931. type: number
  4932. tradedate:
  4933. description: 交易日
  4934. type: string
  4935. unitid:
  4936. description: 品类单位id
  4937. type: integer
  4938. userid:
  4939. description: 机构id
  4940. type: integer
  4941. username:
  4942. description: 交易用户
  4943. type: string
  4944. wrstandardcode:
  4945. description: 现货商品代码
  4946. type: string
  4947. wrstandardid:
  4948. description: 现货商品id
  4949. type: integer
  4950. wrstandardname:
  4951. description: 现货商品名称
  4952. type: string
  4953. type: object
  4954. models.Ermcp3ExposureDetail:
  4955. properties:
  4956. areauserid:
  4957. description: 机构ID
  4958. type: integer
  4959. changeQty:
  4960. description: 套保变动量
  4961. type: number
  4962. contracttype:
  4963. description: 现货合同类型 - 1:采购 -1:销售
  4964. type: integer
  4965. convertfactor:
  4966. description: 标仓系数
  4967. type: number
  4968. convertratio:
  4969. description: 折算系数
  4970. type: number
  4971. createtime:
  4972. description: 时间
  4973. type: string
  4974. enumdicname:
  4975. description: 现货商品单位名称
  4976. type: string
  4977. logtype:
  4978. description: 类型 - 1:套保计划 2:现货合同
  4979. type: integer
  4980. mgunitid:
  4981. description: 套保品种单位id
  4982. type: integer
  4983. mgunitidname:
  4984. description: 套保品种单位名称
  4985. type: string
  4986. middlegoodsId:
  4987. description: 套保商品id
  4988. type: integer
  4989. middlegoodscode:
  4990. description: 套保商品代码
  4991. type: string
  4992. middlegoodsname:
  4993. description: 套保商品名称
  4994. type: string
  4995. qty:
  4996. description: 数量
  4997. type: number
  4998. relateNo:
  4999. description: 现货合同/套保计划编号
  5000. type: string
  5001. unitid:
  5002. description: 现货商品单位id
  5003. type: integer
  5004. wrstandardcode:
  5005. description: 现货商品代码
  5006. type: string
  5007. wrstandardid:
  5008. description: 现货商品ID(SEQ_WRSTANDARD)
  5009. type: integer
  5010. wrstandardname:
  5011. description: 现货商品名称
  5012. type: string
  5013. type: object
  5014. models.Ermcp3ExposureFutuDetail:
  5015. properties:
  5016. accountid:
  5017. description: 交易账户id
  5018. type: integer
  5019. accountname:
  5020. description: 交易账户
  5021. type: string
  5022. begindate:
  5023. description: 开始交易日
  5024. type: string
  5025. buyorsell:
  5026. description: 方向 0-买 1-卖
  5027. type: integer
  5028. diffmgqty:
  5029. description: 套保品种今变化量
  5030. type: number
  5031. diffneedqty:
  5032. description: 应套保总量变化量
  5033. type: number
  5034. difftradeqty:
  5035. description: 交易品种今变化量
  5036. type: number
  5037. enddate:
  5038. description: 结束交易日
  5039. type: string
  5040. enumdicname:
  5041. description: 单位名称
  5042. type: string
  5043. goodscode:
  5044. description: 商品代码
  5045. type: string
  5046. goodsid:
  5047. description: 商品id
  5048. type: integer
  5049. goodsname:
  5050. description: 商品名称
  5051. type: string
  5052. holdqty:
  5053. description: 期末持仓量
  5054. type: number
  5055. middlegoodscode:
  5056. description: 套保商品代码
  5057. type: string
  5058. middlegoodsid:
  5059. description: 套保商品id
  5060. type: integer
  5061. middlegoodsname:
  5062. description: 套保商品名称
  5063. type: string
  5064. oriholdqty:
  5065. description: 期初持仓量
  5066. type: number
  5067. reckondate:
  5068. description: 交易日(RECKONDATE)
  5069. type: string
  5070. todaycloseqty:
  5071. description: 今平仓量
  5072. type: number
  5073. todayopenqty:
  5074. description: 今开仓量
  5075. type: number
  5076. tradedate:
  5077. description: 交易日(RECKONDATE)
  5078. type: string
  5079. username:
  5080. description: 用户名称(交易用户)
  5081. type: string
  5082. type: object
  5083. models.Ermcp3ExposureHedgeplanDetail:
  5084. properties:
  5085. biztype:
  5086. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  5087. type: integer
  5088. changqty:
  5089. description: 应套保总量变化量
  5090. type: number
  5091. contracttype:
  5092. description: 计划类型 - 1:采购 -1:销售
  5093. type: integer
  5094. convertratio:
  5095. description: 折算系数(套保品种)
  5096. type: number
  5097. deliverygoodscode:
  5098. description: 现货商品代码
  5099. type: string
  5100. deliverygoodsid:
  5101. description: 现货商品id
  5102. type: integer
  5103. deliverygoodsname:
  5104. description: 现货商吕名称
  5105. type: string
  5106. dgunitid:
  5107. description: 现货商品单位id
  5108. type: integer
  5109. dgunitidname:
  5110. description: 单位名称(现货商品)
  5111. type: string
  5112. diffqty:
  5113. description: 套保品种今变动量
  5114. type: number
  5115. enumdicname:
  5116. description: 单位名称(品类)
  5117. type: string
  5118. hedgeplanid:
  5119. description: 套保计划id
  5120. type: string
  5121. hedgeplanno:
  5122. description: 套保计划名称
  5123. type: string
  5124. hedgeplanstatus:
  5125. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5126. type: integer
  5127. mgunitidname:
  5128. description: 单位名称(套保商品)
  5129. type: string
  5130. middlegoodscode:
  5131. description: 套保品种代码
  5132. type: string
  5133. middlegoodsid:
  5134. description: 套保品种id
  5135. type: integer
  5136. middlegoodsname:
  5137. description: 套保品种名称
  5138. type: string
  5139. needarbitrageratio:
  5140. description: 应套利比例
  5141. type: number
  5142. needhedgeratio:
  5143. description: 应套保比例
  5144. type: number
  5145. pricedqty:
  5146. description: 已定价量
  5147. type: number
  5148. qty:
  5149. description: 合同量
  5150. type: number
  5151. reckondate:
  5152. description: 交易日(reckondate)
  5153. type: string
  5154. tradedate:
  5155. description: 交易日(登记日)
  5156. type: string
  5157. unitid:
  5158. description: 品类单位id
  5159. type: integer
  5160. userid:
  5161. description: 机构id
  5162. type: integer
  5163. wrstandardcode:
  5164. description: 品类代码
  5165. type: string
  5166. wrstandardid:
  5167. description: 品类id
  5168. type: integer
  5169. wrstandardname:
  5170. description: 品类名称
  5171. type: string
  5172. type: object
  5173. models.Ermcp3ExposureParamChLog:
  5174. properties:
  5175. accountid:
  5176. description: 期货账户ID (作废, 默认为0)
  5177. type: integer
  5178. aftervalue:
  5179. description: 应套保\套利量变更后(调整后应套保总量)
  5180. type: number
  5181. areauserid:
  5182. description: 所属机构\交易用户ID
  5183. type: integer
  5184. beforevalue:
  5185. description: 应套保\套利量变更前(调整前应套保总量)
  5186. type: number
  5187. begindate:
  5188. description: 开始交易日
  5189. type: string
  5190. changelogtype:
  5191. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5192. type: integer
  5193. curvalue:
  5194. description: 当前套保\套利量(套保总量|套利总量)
  5195. type: number
  5196. diffvalue:
  5197. description: 应套保总量变化量
  5198. type: number
  5199. enddate:
  5200. description: 结束交易日
  5201. type: string
  5202. logdatetime:
  5203. description: 流水日期
  5204. type: string
  5205. logid:
  5206. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  5207. type: string
  5208. middlegoodscode:
  5209. description: 套保品种代码
  5210. type: string
  5211. middlegoodsid:
  5212. description: 套保品种
  5213. type: integer
  5214. middlegoodsname:
  5215. description: 套保品种名称
  5216. type: string
  5217. paramaftervalue:
  5218. description: 参数变更后(调整后参数值)
  5219. type: number
  5220. parambeforevalue:
  5221. description: 参数变更前(调整前参数值)
  5222. type: number
  5223. reckondate:
  5224. description: 交易日(reckondate)
  5225. type: string
  5226. tradedate:
  5227. description: 交易日(yyyyMMdd)
  5228. type: string
  5229. type: object
  5230. models.Ermcp3ExpourseReport:
  5231. properties:
  5232. accountid:
  5233. description: 期货账户ID (作废, 默认为0)
  5234. type: integer
  5235. accountname:
  5236. description: 机构名称
  5237. type: string
  5238. arbitrageqty:
  5239. description: 套利量
  5240. type: number
  5241. areauserid:
  5242. description: 所属机构\交易用户ID
  5243. type: integer
  5244. begindate:
  5245. description: 开始交易日
  5246. type: string
  5247. buyfutureqty:
  5248. description: 买入期货数量
  5249. type: number
  5250. buyplanqty:
  5251. description: 采购计划数量
  5252. type: number
  5253. buypricedqty:
  5254. description: 采购合同已定价数量
  5255. type: number
  5256. cycletime:
  5257. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5258. type: string
  5259. cycletype:
  5260. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5261. type: integer
  5262. diffexposure:
  5263. description: 变动量(套保敞口)
  5264. type: number
  5265. difffutuqty:
  5266. description: 变动量(期货)
  5267. type: number
  5268. diffhedgeqty:
  5269. description: 变动量(现货应套保总量)
  5270. type: number
  5271. diffmgqtya:
  5272. description: 套保变动量
  5273. type: number
  5274. diffmgqtyb:
  5275. description: 套利变动量
  5276. type: number
  5277. diffneedqty:
  5278. description: 应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量
  5279. type: number
  5280. diffqty:
  5281. description: 变动量(总敞口)
  5282. type: number
  5283. diffspotqty:
  5284. description: 变动量(现货) | 除税变动量
  5285. type: number
  5286. enddate:
  5287. description: 结束交易日
  5288. type: string
  5289. enumdicname:
  5290. description: 单位名称
  5291. type: string
  5292. hedgeqty:
  5293. description: 套保量
  5294. type: number
  5295. mgneedhedgeratio:
  5296. description: 套保比例(套保品的)
  5297. type: number
  5298. middlegoodsid:
  5299. description: 套保品种ID
  5300. type: integer
  5301. middlegoodsname:
  5302. description: 套保商品名称
  5303. type: string
  5304. middlgoodscode:
  5305. description: 套保商品代码
  5306. type: string
  5307. needarbitrageqty:
  5308. description: 应套利量
  5309. type: number
  5310. needarbitrageratio:
  5311. description: 套利比例(套保品的)
  5312. type: number
  5313. needhedgeexposoure:
  5314. description: 应套保敞口(套保敞口)
  5315. type: number
  5316. needhedgeqty:
  5317. description: 应套保量
  5318. type: number
  5319. needhedgeratio:
  5320. description: 应套保敞口比例
  5321. type: number
  5322. needqty:
  5323. description: 应套总量 = 应套保量 + 应套利量
  5324. type: number
  5325. oriarbitrageqty:
  5326. description: 期初套利量
  5327. type: number
  5328. oribuyfutureqty:
  5329. description: 期初买入期货数量
  5330. type: number
  5331. oribuyplanqty:
  5332. description: 期初采购计划数量
  5333. type: number
  5334. oribuypricedqty:
  5335. description: 期初采购合同已定价数量
  5336. type: number
  5337. orihedgeqty:
  5338. description: 期初套保量
  5339. type: number
  5340. orineedarbitrageqty:
  5341. description: 期初应套利量
  5342. type: number
  5343. orineedhedgeexposoure:
  5344. description: 期初应套保敞口
  5345. type: number
  5346. orineedhedgeqty:
  5347. description: 期初应套保量
  5348. type: number
  5349. orisellfutureqty:
  5350. description: 期初卖出期货数量
  5351. type: number
  5352. orisellplanqty:
  5353. description: 期初销售计划数量
  5354. type: number
  5355. orisellpricedqty:
  5356. description: 期初销售合同已定价数量
  5357. type: number
  5358. oritotalexposure:
  5359. description: 期初实时总敞口
  5360. type: number
  5361. oritotalfutureqty:
  5362. description: 期初期货头寸总量
  5363. type: number
  5364. oritotalneedhedgeqty:
  5365. description: 期初应套保总量
  5366. type: number
  5367. oritotalspotqty:
  5368. description: 期初现货头寸总量
  5369. type: number
  5370. reckondate:
  5371. description: 日照时期(yyyyMMdd)
  5372. type: string
  5373. sellfutureqty:
  5374. description: 卖出期货数量
  5375. type: number
  5376. sellplanqty:
  5377. description: 销售计划数量
  5378. type: number
  5379. sellpricedqty:
  5380. description: 销售合同已定价数量
  5381. type: number
  5382. totalexposure:
  5383. description: 实时总敞口(总敞口)
  5384. type: number
  5385. totalfutureqty:
  5386. description: 期货头寸总量(期货总量)
  5387. type: number
  5388. totalhedgeratio:
  5389. description: 敞口比例
  5390. type: number
  5391. totalneedhedgeqty:
  5392. description: 应套保总量(现货应套保总量)
  5393. type: number
  5394. totalspotqty:
  5395. description: 现货头寸总量 | 除税总量
  5396. type: number
  5397. unitid:
  5398. description: 单位id
  5399. type: integer
  5400. updatetime:
  5401. description: 更新时间
  5402. type: string
  5403. type: object
  5404. models.Ermcp3FinanceReport:
  5405. properties:
  5406. accountname:
  5407. description: 机构名称
  5408. type: string
  5409. areauserid:
  5410. description: 所属机构\交易用户ID
  5411. type: integer
  5412. begindate:
  5413. description: 开始交易日
  5414. type: string
  5415. biztype:
  5416. description: 业务类型 - 1:套保 2:套利
  5417. type: integer
  5418. brandname:
  5419. description: 品牌名称
  5420. type: string
  5421. buypreinvoicedamount:
  5422. description: 采购预收票额(预收票额)
  5423. type: number
  5424. buyprepaidamount:
  5425. description: 采购预付款额(预付货款额)
  5426. type: number
  5427. buytodayinvoiceamount:
  5428. description: 采购今收票额(今收票额)
  5429. type: number
  5430. buytodayrefundamount:
  5431. description: 采购今收退款额(今收退款额)
  5432. type: number
  5433. buytodaysettleamount:
  5434. description: 采购今付款额(今付货款额)
  5435. type: number
  5436. buyuninvoicedamount:
  5437. description: 采购应收票额(应收票额)
  5438. type: number
  5439. buyunpaidamount:
  5440. description: 采购应付款额(应付货款额)
  5441. type: number
  5442. currencyid:
  5443. description: 结算币种ID
  5444. type: integer
  5445. currencyname:
  5446. description: 币种名称
  5447. type: string
  5448. cycletime:
  5449. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5450. type: string
  5451. cycletype:
  5452. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5453. type: integer
  5454. deliverygoodscode:
  5455. description: 现货品种代码
  5456. type: string
  5457. deliverygoodsid:
  5458. description: 现货品种ID
  5459. type: integer
  5460. deliverygoodsname:
  5461. description: 现货品种名称
  5462. type: string
  5463. enddate:
  5464. description: 结束交易日
  5465. type: string
  5466. reckondate:
  5467. description: 日照时期(yyyyMMdd)
  5468. type: string
  5469. sellpreinvoicedamount:
  5470. description: 销售预开票额(预开票额)
  5471. type: number
  5472. sellprepaidamount:
  5473. description: 销售预收款额(预收货款额)
  5474. type: number
  5475. selltodayinvoiceamount:
  5476. description: 销售今开票额(今开票额)
  5477. type: number
  5478. selltodayrefundamount:
  5479. description: 销售今付退款额(今付退款额)
  5480. type: number
  5481. selltodaysettleamount:
  5482. description: 销售今收款额(今收货款额)
  5483. type: number
  5484. selluninvoicedamount:
  5485. description: 销售应开票额(应开票额)
  5486. type: number
  5487. sellunpaidamount:
  5488. description: 销售应收款额(应收货款额)
  5489. type: number
  5490. spotgoodsbrandid:
  5491. description: 现货品牌ID
  5492. type: integer
  5493. todaypaysum:
  5494. description: 今付款合计
  5495. type: number
  5496. todayreceivesum:
  5497. description: 今收款合计
  5498. type: number
  5499. updatetime:
  5500. description: 更新时间
  5501. type: string
  5502. wrfactortypeid:
  5503. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  5504. type: integer
  5505. wrstandardcode:
  5506. description: 品类代码
  5507. type: string
  5508. wrstandardid:
  5509. description: 现货商品ID
  5510. type: integer
  5511. wrstandardname:
  5512. description: 品类名称
  5513. type: string
  5514. type: object
  5515. models.Ermcp3GoodsGroup:
  5516. properties:
  5517. agreeunit:
  5518. description: 合约单位
  5519. type: number
  5520. areauserid:
  5521. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  5522. type: integer
  5523. canshort:
  5524. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  5525. type: integer
  5526. closepricemode:
  5527. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5528. type: integer
  5529. createtime:
  5530. description: 创建时间
  5531. type: string
  5532. creatorid:
  5533. description: 创建人
  5534. type: integer
  5535. currencyid:
  5536. description: 报价货币ID
  5537. type: integer
  5538. decimalplace:
  5539. description: 报价小数位
  5540. type: integer
  5541. enumdicname:
  5542. description: 单位名称
  5543. type: string
  5544. exchangefullname:
  5545. description: 交易所全称
  5546. type: string
  5547. excludecfg:
  5548. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  5549. type: integer
  5550. exexchangecode:
  5551. description: 交易所代码
  5552. type: string
  5553. exexchangeid:
  5554. description: 外部交易所ID[通道交易]
  5555. type: integer
  5556. exexchangename:
  5557. description: 交易所名称
  5558. type: string
  5559. goodsgroupid:
  5560. description: 商品组ID(自增ID)
  5561. type: integer
  5562. goodsgroupname:
  5563. description: 商品组名称
  5564. type: string
  5565. goodsgroupstatus:
  5566. description: 商品组状态 - 1:正常 2:注销
  5567. type: integer
  5568. goodunitid:
  5569. description: 报价单位ID
  5570. type: integer
  5571. groupcategroyid:
  5572. description: 品种分类ID
  5573. type: integer
  5574. innerdealmode:
  5575. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  5576. type: integer
  5577. marketid:
  5578. description: 所属市场ID
  5579. type: integer
  5580. modifierid:
  5581. description: 修改人
  5582. type: integer
  5583. modifytime:
  5584. description: 修改时间
  5585. type: string
  5586. outerdealmode:
  5587. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  5588. type: integer
  5589. outergroupcode:
  5590. description: 外部商品组代码[通道交易]
  5591. type: string
  5592. quoteminunit:
  5593. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5594. type: integer
  5595. quotesourcegroupid:
  5596. description: 所属行情源分组ID[参考行情市场用\通道交易]
  5597. type: integer
  5598. syncgoodsqty:
  5599. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  5600. type: integer
  5601. required:
  5602. - areauserid
  5603. type: object
  5604. models.Ermcp3HPMiddleGoods:
  5605. properties:
  5606. biztype:
  5607. description: 业务类型 1:套保 2:套利
  5608. type: integer
  5609. contracttype:
  5610. description: 合同类型 1:采购 -1:销售
  5611. type: integer
  5612. convertratio:
  5613. description: 折算系数
  5614. type: number
  5615. customername:
  5616. description: 对手手名称
  5617. type: string
  5618. customeruserid:
  5619. description: 对手id
  5620. type: integer
  5621. enumdicname:
  5622. description: 现货单位名称
  5623. type: string
  5624. hedgeplanid:
  5625. description: 计划id
  5626. type: string
  5627. hedgeplanno:
  5628. description: 计划编号
  5629. type: string
  5630. middlegoodsid:
  5631. description: 套保品种ID
  5632. type: integer
  5633. middlegoodsplanqty3:
  5634. description: 应套保计划量
  5635. type: number
  5636. needhedgeratio:
  5637. description: 套保比例
  5638. type: number
  5639. pricedqty:
  5640. description: 已定价量
  5641. type: number
  5642. relatedmiddlegoodsqty:
  5643. description: 已关联量(套保品种)(期货)
  5644. type: number
  5645. unitid:
  5646. description: 现货单位id
  5647. type: integer
  5648. userid:
  5649. description: 用户id
  5650. type: integer
  5651. vatrate:
  5652. description: 增值税率
  5653. type: number
  5654. wrstandardcode:
  5655. description: 现货商品代码
  5656. type: string
  5657. wrstandardid:
  5658. description: 现货商品id
  5659. type: integer
  5660. wrstandardname:
  5661. description: 现货商品名称
  5662. type: string
  5663. type: object
  5664. models.Ermcp3HedgePlan:
  5665. properties:
  5666. accountid:
  5667. description: 资金账号
  5668. type: integer
  5669. areauserid:
  5670. description: 用户ID
  5671. type: integer
  5672. auditid:
  5673. description: 审核id
  5674. type: integer
  5675. auditname:
  5676. description: 审核人名称
  5677. type: string
  5678. auditremark:
  5679. description: 审核备注
  5680. type: string
  5681. auditsrc:
  5682. description: 审核来源 1-管理端 2-终端
  5683. type: integer
  5684. audittime:
  5685. description: 审核时间
  5686. type: string
  5687. contracttype:
  5688. description: 计划类型 - 1:采购 -1:销售
  5689. type: integer
  5690. convertfactor:
  5691. description: 标仓系数
  5692. type: number
  5693. createtime:
  5694. description: 创建时间
  5695. type: string
  5696. currencyid:
  5697. description: 币种id
  5698. type: integer
  5699. currencyname:
  5700. description: 币种名称
  5701. type: string
  5702. deliverygoodscode:
  5703. description: 现货品种代码
  5704. type: string
  5705. deliverygoodsid:
  5706. description: 现货品种ID
  5707. type: integer
  5708. deliverygoodsname:
  5709. description: 现货品种名称
  5710. type: string
  5711. enumdicname:
  5712. description: 单位名称(现货商品)
  5713. type: string
  5714. hedgeplanid:
  5715. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  5716. type: string
  5717. hedgeplanno:
  5718. description: 套保计划编号(名称)
  5719. type: string
  5720. hedgeplanstatus:
  5721. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5722. type: integer
  5723. planqty:
  5724. description: 计划数量
  5725. type: number
  5726. plantime:
  5727. description: 计划时间
  5728. type: string
  5729. producttype:
  5730. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5731. type: integer
  5732. remark:
  5733. description: 备注
  5734. type: string
  5735. spotgoodsdesc:
  5736. description: 商品型号
  5737. type: string
  5738. taaccountname:
  5739. description: 资金账号名称
  5740. type: string
  5741. tradeuserid:
  5742. description: 交易用户id
  5743. type: integer
  5744. tradeusername:
  5745. description: 交易用户名称
  5746. type: string
  5747. unitid:
  5748. description: 单位id(现货商品)
  5749. type: integer
  5750. updatetime:
  5751. description: 更新时间
  5752. type: string
  5753. vatrate:
  5754. description: 增值税率
  5755. type: number
  5756. wrstandardcode:
  5757. description: 品类代码
  5758. type: string
  5759. wrstandardid:
  5760. description: 品类id
  5761. type: integer
  5762. wrstandardname:
  5763. description: 品类名称
  5764. type: string
  5765. wrunitid:
  5766. description: 品类单位id
  5767. type: integer
  5768. wrunitidame:
  5769. description: 品类单位名称
  5770. type: string
  5771. type: object
  5772. models.Ermcp3InnerTradeLink:
  5773. properties:
  5774. accountid:
  5775. description: 期货账号代码 | 资金账号ID
  5776. type: integer
  5777. buyorsell:
  5778. description: 方向 - 0:买 1:卖
  5779. type: integer
  5780. channelbuildtype:
  5781. description: 委托单据类型 0:无 1:建仓 2:平仓
  5782. type: integer
  5783. currencyid:
  5784. description: 币种id
  5785. type: integer
  5786. currencyname:
  5787. description: 结算币种 名称
  5788. type: string
  5789. goodscode:
  5790. description: 商品代码
  5791. type: string
  5792. goodsid:
  5793. description: 商品ID
  5794. type: integer
  5795. goodsname:
  5796. description: 商品名称
  5797. type: string
  5798. outtradeid:
  5799. description: 外部成交单号
  5800. type: string
  5801. taname:
  5802. description: 期货账户名称
  5803. type: string
  5804. tradeid:
  5805. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5806. type: string
  5807. tradeprice:
  5808. description: 成交价格
  5809. type: number
  5810. tradeqty:
  5811. description: 期货成交数量
  5812. type: integer
  5813. tradetime:
  5814. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  5815. type: string
  5816. username:
  5817. description: 用户名称
  5818. type: string
  5819. type: object
  5820. models.Ermcp3OutTradeLink:
  5821. properties:
  5822. buyorsell:
  5823. description: 买卖方向 - 0:买 1:卖
  5824. type: integer
  5825. channelbuildtype:
  5826. description: 开平标志- 0:无 1:建仓 2:平仓
  5827. type: integer
  5828. currencyname:
  5829. description: 币种名称
  5830. type: string
  5831. exexchangecode:
  5832. description: 交易所代码
  5833. type: string
  5834. exexchangename:
  5835. description: 交易所名称
  5836. type: string
  5837. goodscode:
  5838. description: 合约代码
  5839. type: string
  5840. goodsid:
  5841. description: 合约id
  5842. type: integer
  5843. goodsname:
  5844. description: 合约名称
  5845. type: string
  5846. hasinnerorder:
  5847. description: 是否有内部单关联 - 0:无 1:有
  5848. type: integer
  5849. hedgeaccountcode:
  5850. description: 外部账号 | 对冲账号
  5851. type: string
  5852. outtradeid:
  5853. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5854. type: string
  5855. tradeprice:
  5856. description: 成交价格
  5857. type: number
  5858. tradeqty:
  5859. description: 成交数量
  5860. type: integer
  5861. tradetime:
  5862. description: 成交时间
  5863. type: string
  5864. type: object
  5865. models.Ermcp3PaAreaAuditCfg:
  5866. properties:
  5867. areauserid:
  5868. description: 用户ID
  5869. type: integer
  5870. buyinauditflag:
  5871. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  5872. type: integer
  5873. costratioauditflag:
  5874. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  5875. type: integer
  5876. customerauditflag:
  5877. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  5878. type: integer
  5879. deliveryauditflag:
  5880. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  5881. type: integer
  5882. invoiceauditflag:
  5883. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  5884. type: integer
  5885. mgneedhedgeratioauditflag:
  5886. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  5887. type: integer
  5888. moneyauditflag:
  5889. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  5890. type: integer
  5891. operatorid:
  5892. description: 操作人
  5893. type: integer
  5894. operatorsrc:
  5895. description: 操作来源 - 1:管理端 2:终端
  5896. type: integer
  5897. pointpriceauditflag:
  5898. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  5899. type: integer
  5900. produceinauditflag:
  5901. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  5902. type: integer
  5903. produceoutauditflag:
  5904. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  5905. type: integer
  5906. selloutauditflag:
  5907. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  5908. type: integer
  5909. sgconvertratioauditflag:
  5910. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  5911. type: integer
  5912. sgvtaratioauditflag:
  5913. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  5914. type: integer
  5915. spotcontractauditflag:
  5916. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  5917. type: integer
  5918. updatetime:
  5919. description: 更新时间
  5920. type: string
  5921. type: object
  5922. models.Ermcp3PaAreaSubject:
  5923. properties:
  5924. areauserid:
  5925. description: 所属机构
  5926. type: integer
  5927. canmodify:
  5928. description: 是否可修改 - 0:否 1:是
  5929. type: integer
  5930. createtime:
  5931. description: 创建时间
  5932. type: string
  5933. creatorid:
  5934. description: 创建人ID
  5935. type: string
  5936. creatorsrc:
  5937. description: 创建人来源 - 1:管理端 2:终端 3:交易
  5938. type: integer
  5939. modifierid:
  5940. description: 修改人
  5941. type: string
  5942. modifiersrc:
  5943. description: 修改人来源 - 1:管理端 2:终端
  5944. type: integer
  5945. modifytime:
  5946. description: 修改时间
  5947. type: string
  5948. parentsubjectid:
  5949. description: 上级主体ID
  5950. type: string
  5951. remark:
  5952. description: 备注
  5953. type: string
  5954. subjectid:
  5955. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  5956. type: integer
  5957. subjectname:
  5958. description: 主体名称
  5959. type: string
  5960. subjectstatus:
  5961. description: '主体状态 - 1:正常 2: 停用'
  5962. type: integer
  5963. subjecttype:
  5964. description: 主体类型 - 1:交易主体 2:业务部门
  5965. type: integer
  5966. type: object
  5967. models.Ermcp3PaTradeLink:
  5968. properties:
  5969. accountid:
  5970. description: 期货账户代码 | 账号ID
  5971. type: integer
  5972. agreeunit:
  5973. description: 合约乘数
  5974. type: number
  5975. buyorsell:
  5976. description: 方向 - 0:买 1:卖
  5977. type: integer
  5978. channelbuildtype:
  5979. description: 委托单据类型 0:无 1:建仓 2:平仓
  5980. type: integer
  5981. charge:
  5982. description: 手续费
  5983. type: number
  5984. closepl:
  5985. description: 平仓盈亏
  5986. type: number
  5987. closetype:
  5988. description: 平仓方式 - 0:无 1:平今 2:平昨
  5989. type: integer
  5990. convertratio:
  5991. description: 折算系数
  5992. type: number
  5993. enumdicname:
  5994. description: 单位名称
  5995. type: string
  5996. executeprice:
  5997. description: 执行价 [期权]
  5998. type: integer
  5999. goodscode:
  6000. description: 合约代码
  6001. type: string
  6002. goodsgroupid:
  6003. description: 对冲品种ID[期货合约商品组ID]
  6004. type: integer
  6005. goodsid:
  6006. description: 商品ID
  6007. type: integer
  6008. goodsname:
  6009. description: 合约名称
  6010. type: string
  6011. goodunitid:
  6012. description: 单位id
  6013. type: integer
  6014. hedgeflag:
  6015. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  6016. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6017. type: integer
  6018. marketid:
  6019. description: 市场ID
  6020. type: integer
  6021. middlegoodsid:
  6022. description: 套保品种ID
  6023. type: integer
  6024. middlegoodsqty:
  6025. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  6026. type: number
  6027. optioncode:
  6028. description: 期权代码 [期权]
  6029. type: string
  6030. ordertype:
  6031. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  6032. type: integer
  6033. ordertypename:
  6034. description: 订单类型
  6035. type: string
  6036. parentaccountid:
  6037. description: 所属母账户
  6038. type: integer
  6039. premium:
  6040. description: 权利金 [期权]
  6041. type: number
  6042. relatedlot:
  6043. description: 已关联数量(已关联数量手) | db:关联手数
  6044. type: number
  6045. relatedouttradeid:
  6046. description: 关联外部成交单ID
  6047. type: string
  6048. relatedqty:
  6049. description: 关联数量
  6050. type: number
  6051. spotcontractid:
  6052. description: 现货合同ID [4:套期保值\10\11]
  6053. type: string
  6054. taname:
  6055. description: 期货账户名称
  6056. type: string
  6057. tradeamount:
  6058. description: 成交金额(账户)
  6059. type: number
  6060. tradedate:
  6061. description: 交易日(yyyyMMdd)
  6062. type: string
  6063. tradeid:
  6064. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6065. type: string
  6066. tradelot:
  6067. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  6068. type: integer
  6069. tradeprice:
  6070. description: 成交价格
  6071. type: number
  6072. tradetime:
  6073. description: 时间 | db:成交时间
  6074. type: string
  6075. tradetype:
  6076. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  6077. type: integer
  6078. userid:
  6079. description: 所属机构 - 所属母账户的UserID
  6080. type: string
  6081. username:
  6082. description: 用户名称
  6083. type: string
  6084. type: object
  6085. models.Ermcp3ParamChangeApp:
  6086. properties:
  6087. aftervalue:
  6088. description: 变更后
  6089. type: number
  6090. applicationid:
  6091. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  6092. type: string
  6093. applyid:
  6094. description: 申请人
  6095. type: string
  6096. applyname:
  6097. description: 申请人名称(代码)
  6098. type: string
  6099. applyremark:
  6100. description: 申请备注
  6101. type: string
  6102. applysrc:
  6103. description: 申请来源 - 1:管理端 2:终端
  6104. type: integer
  6105. applystatus:
  6106. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  6107. type: integer
  6108. applytime:
  6109. description: 申请时间
  6110. type: string
  6111. areauserid:
  6112. description: 所属机构用户ID
  6113. type: integer
  6114. auditid:
  6115. description: 审核人
  6116. type: string
  6117. auditname:
  6118. description: 审核人名称(代码)
  6119. type: string
  6120. auditremark:
  6121. description: 审核备注
  6122. type: string
  6123. auditsrc:
  6124. description: 审核来源 - 1:管理端 2:终端
  6125. type: integer
  6126. audittime:
  6127. description: 审核时间
  6128. type: string
  6129. audittradedate:
  6130. description: 审核交易日(yyyyMMdd)
  6131. type: string
  6132. beforevalue:
  6133. description: 变更前
  6134. type: number
  6135. deliverygoodscode:
  6136. description: 品种代码
  6137. type: string
  6138. deliverygoodsid:
  6139. description: 品种id
  6140. type: integer
  6141. deliverygoodsname:
  6142. description: 品种名称
  6143. type: string
  6144. middlegoodscode:
  6145. description: 套保品种代码
  6146. type: string
  6147. middlegoodsid:
  6148. description: 套保品种ID [ParamChangeType = 2,3,4]
  6149. type: integer
  6150. middlegoodsname:
  6151. description: 套保品种名称
  6152. type: string
  6153. operatetype:
  6154. description: 操作类型 - 1:新增 2:修改
  6155. type: integer
  6156. paramchangetype:
  6157. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  6158. type: integer
  6159. wrstandardcode:
  6160. description: 现货商品代码
  6161. type: string
  6162. wrstandardid:
  6163. description: 现货商品ID [ParamChangeType = 1,2,3]
  6164. type: integer
  6165. wrstandardname:
  6166. description: 现货商品名称
  6167. type: string
  6168. type: object
  6169. models.Ermcp3RootUserAccount:
  6170. properties:
  6171. accountname:
  6172. description: 账户名称(机构名称)
  6173. type: string
  6174. accountstatus:
  6175. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6176. type: integer
  6177. applysrc:
  6178. description: 申请来源 - 1:管理端 2:终端
  6179. type: integer
  6180. auditremark:
  6181. description: 审核备注
  6182. type: string
  6183. auditsrc:
  6184. description: 审核来源 - 1:管理端 2:终端
  6185. type: integer
  6186. audittime:
  6187. description: 审核时间
  6188. type: string
  6189. audituserid:
  6190. description: 审核人
  6191. type: integer
  6192. broker:
  6193. description: 所属经纪人ID
  6194. type: integer
  6195. canceltime:
  6196. description: 销户时间
  6197. type: string
  6198. canceluserid:
  6199. description: 销户人
  6200. type: integer
  6201. canrecommend:
  6202. description: 是否可推荐 - 0:不可 1;可
  6203. type: integer
  6204. createtime:
  6205. description: 创建时间
  6206. type: string
  6207. creatorid:
  6208. description: 创建人
  6209. type: integer
  6210. hasauth:
  6211. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  6212. type: integer
  6213. isanonymous:
  6214. description: 是否匿名下单 - 0:否 1:是
  6215. type: integer
  6216. maxinvestornum:
  6217. description: 最大用户数(经纪会员下投资者个数)
  6218. type: integer
  6219. memberuserid:
  6220. description: 所属会员ID
  6221. type: integer
  6222. modifierid:
  6223. description: 修改人
  6224. type: integer
  6225. modifyremark:
  6226. description: 变更备注
  6227. type: string
  6228. modifystatus:
  6229. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  6230. type: integer
  6231. modifytime:
  6232. description: 修改时间
  6233. type: string
  6234. nickname:
  6235. description: 昵称
  6236. type: string
  6237. parenttopuser:
  6238. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  6239. type: string
  6240. parentuserid:
  6241. description: 所属机构ID
  6242. type: integer
  6243. reckonaccountid:
  6244. description: 默认结算资金账号ID(机构分润使用) 作废
  6245. type: integer
  6246. refercount:
  6247. description: 推荐总人数
  6248. type: integer
  6249. refereeuserid:
  6250. description: 推荐人ID
  6251. type: integer
  6252. refernum:
  6253. description: 推荐码
  6254. type: string
  6255. rootuserid:
  6256. description: 根用户ID
  6257. type: integer
  6258. subaccountlevel:
  6259. description: 子账户层数
  6260. type: integer
  6261. subarealevelpath:
  6262. description: 子机构层级路径(逗号分隔,首尾加逗号)
  6263. type: string
  6264. userid:
  6265. description: 用户ID
  6266. type: integer
  6267. usertype:
  6268. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6269. type: integer
  6270. type: object
  6271. models.Ermcp3SCMiddleGoods:
  6272. properties:
  6273. biztype:
  6274. description: 业务类型 1:套保 2:套利
  6275. type: integer
  6276. contractno:
  6277. description: 合同编号
  6278. type: string
  6279. contracttype:
  6280. description: 合同类型 1:采购 -1:销售
  6281. type: integer
  6282. convertratio:
  6283. description: 折算系数
  6284. type: number
  6285. customername:
  6286. description: 对手手名称
  6287. type: string
  6288. customeruserid:
  6289. description: 对手id
  6290. type: integer
  6291. deliverygoodscode:
  6292. description: 现货品种代码
  6293. type: string
  6294. deliverygoodsid:
  6295. description: 现货品种ID
  6296. type: integer
  6297. deliverygoodsname:
  6298. description: 现货品种名称
  6299. type: string
  6300. enumdicname:
  6301. description: 现货单位名称
  6302. type: string
  6303. middlegoodsid:
  6304. description: 套保品种ID
  6305. type: integer
  6306. middlegoodspricedqty3:
  6307. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  6308. type: number
  6309. needhedgeratio:
  6310. description: 套保比例
  6311. type: number
  6312. pricedqty:
  6313. description: 已定价量
  6314. type: number
  6315. relatedmiddlegoodsqty:
  6316. description: 已关联量(套保品种)(期货)
  6317. type: number
  6318. spotcontractid:
  6319. description: 合同编号
  6320. type: string
  6321. unitid:
  6322. description: 现货单位id
  6323. type: integer
  6324. userid:
  6325. description: 用户id
  6326. type: integer
  6327. vatrate:
  6328. description: 增值税率
  6329. type: number
  6330. wrstandardcode:
  6331. description: 现货商品代码
  6332. type: string
  6333. wrstandardid:
  6334. description: 现货商品id
  6335. type: integer
  6336. wrstandardname:
  6337. description: 现货商品名称
  6338. type: string
  6339. type: object
  6340. models.Ermcp3SCMiddleGoodsReport:
  6341. properties:
  6342. begindate:
  6343. description: 开始交易日
  6344. type: string
  6345. contractno:
  6346. description: 合同编号
  6347. type: string
  6348. contracttype:
  6349. description: 合同类型 1:采购 -1:销售
  6350. type: integer
  6351. convertratio:
  6352. description: 折算系数
  6353. type: number
  6354. cycletime:
  6355. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6356. type: string
  6357. cycletype:
  6358. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6359. type: integer
  6360. deliverygoodscode:
  6361. description: 品种代码
  6362. type: string
  6363. deliverygoodsid:
  6364. description: 现货品种ID
  6365. type: integer
  6366. deliverygoodsname:
  6367. description: 品种名称
  6368. type: string
  6369. diffprice:
  6370. description: 现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价
  6371. type: number
  6372. diffqty:
  6373. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  6374. type: number
  6375. enddate:
  6376. description: 结束交易日
  6377. type: string
  6378. hedgeplanqty:
  6379. description: 套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例
  6380. type: number
  6381. matchname:
  6382. description: 交易对手方(个人:用户名称 企业:简称)
  6383. type: string
  6384. matchnickname:
  6385. description: 交易对手方昵称
  6386. type: string
  6387. middlegoodscode:
  6388. description: 套保品种代码
  6389. type: string
  6390. middlegoodsid:
  6391. description: 套保品种ID
  6392. type: integer
  6393. middlegoodsname:
  6394. description: 套保品种名称
  6395. type: string
  6396. middlegoodspricedqty:
  6397. description: 已定价量(套保品种 - 税前) = PricedQty * 折算系数
  6398. type: number
  6399. middlegoodspricedqty2:
  6400. description: 已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))
  6401. type: number
  6402. middlegoodspricedqty3:
  6403. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  6404. type: number
  6405. needhedgeratio:
  6406. description: 套保系数
  6407. type: number
  6408. pricedamount:
  6409. description: 已定价额(现货)
  6410. type: number
  6411. pricedamount2:
  6412. description: 已定价额(现货-基价额)
  6413. type: number
  6414. pricedqty:
  6415. description: 已定价量(现货)
  6416. type: number
  6417. reckondate:
  6418. description: 日照时期(yyyyMMdd)
  6419. type: string
  6420. relatedmiddlegoodsamount:
  6421. description: 已关联额(期货)
  6422. type: number
  6423. relatedmiddlegoodsqty:
  6424. description: 已关联量(套保品种)(期货)
  6425. type: number
  6426. spotcontractid:
  6427. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  6428. type: string
  6429. todayavgfutuprice:
  6430. description: 今日期货成交均价 = TodayRelatedMiddleGoodsAmount /todayrelatedfutureqty
  6431. type: number
  6432. todayavgprice:
  6433. description: 今日定价均价 = TodayPricedAmount / TodayPricedQty
  6434. type: number
  6435. todayavgprice2:
  6436. description: 今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty
  6437. type: number
  6438. todaypricedamount:
  6439. description: 今日定价额(现货)
  6440. type: number
  6441. todaypricedamount2:
  6442. description: 今日定价额(现货-基价额)
  6443. type: number
  6444. todaypricedqty:
  6445. description: 今日定价量(现货)
  6446. type: number
  6447. todayrelatedfutureqty:
  6448. description: 今日关联量(期货)
  6449. type: number
  6450. todayrelatedmiddlegoodsamount:
  6451. description: 今日关联额(期货)
  6452. type: number
  6453. todayrelatedmiddlegoodsqty:
  6454. description: 今日关联量(套保品-期货)
  6455. type: number
  6456. updatetime:
  6457. description: 更新时间
  6458. type: string
  6459. userid:
  6460. description: 合同所属用户id
  6461. type: integer
  6462. vatrate:
  6463. description: 增值税率
  6464. type: number
  6465. wrstandardcode:
  6466. description: 商品(品类) 代码
  6467. type: string
  6468. wrstandardid:
  6469. description: 现货商品ID
  6470. type: integer
  6471. wrstandardname:
  6472. description: 商品(品类) 名称
  6473. type: string
  6474. type: object
  6475. models.Ermcp3SellBuyContract:
  6476. properties:
  6477. accountid:
  6478. description: 期货账户id
  6479. type: string
  6480. accountname:
  6481. description: 账户名称
  6482. type: string
  6483. attachment:
  6484. description: 附件
  6485. type: string
  6486. audittime:
  6487. description: 审核时间
  6488. type: string
  6489. bizsubjectid:
  6490. description: 归属业务部门ID - SubjectID
  6491. type: integer
  6492. biztype:
  6493. description: 业务类型 1-套保 2-套利
  6494. type: integer
  6495. brandname:
  6496. description: 品牌名称
  6497. type: string
  6498. contracctstatus:
  6499. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6500. type: integer
  6501. contractmargin:
  6502. description: 合同保证金
  6503. type: number
  6504. contractno:
  6505. description: 合同编号
  6506. type: string
  6507. contracttype:
  6508. description: 合同类型 1-采购, -1-销售
  6509. type: integer
  6510. convertfactor:
  6511. description: 标仓系数(品类)
  6512. type: number
  6513. createtime:
  6514. description: 创建时间
  6515. type: string
  6516. currencyid:
  6517. description: 币种id
  6518. type: integer
  6519. currencyname:
  6520. description: 币种名称
  6521. type: string
  6522. daikaiamount:
  6523. description: 应收(开)票额 | 未收票额
  6524. type: number
  6525. deliveryenddate:
  6526. description: 交割结束日
  6527. type: string
  6528. deliverygoodscode:
  6529. description: 现货品种代码
  6530. type: string
  6531. deliverygoodsid:
  6532. description: 现货商品ID
  6533. type: integer
  6534. deliverygoodsname:
  6535. description: 现货品种名称
  6536. type: string
  6537. deliverystartdate:
  6538. description: 交割开始日
  6539. type: string
  6540. enddate:
  6541. description: 点价结束日
  6542. type: string
  6543. enumdicname:
  6544. description: 单位名称
  6545. type: string
  6546. goodscode:
  6547. description: 点价商品代码
  6548. type: string
  6549. goodsgroupid:
  6550. description: 点价商品组id
  6551. type: integer
  6552. goodsid:
  6553. description: 点价商品ID
  6554. type: integer
  6555. goodsname:
  6556. description: 点价商品名称
  6557. type: string
  6558. invoiceamount:
  6559. description: 已开票额
  6560. type: number
  6561. loanamount:
  6562. description: 贷款总额=已定价额+调整金额
  6563. type: number
  6564. margin:
  6565. description: 保证金
  6566. type: number
  6567. meruserid:
  6568. description: 跟单员id
  6569. type: integer
  6570. meruserlogincode:
  6571. description: 跟单员登录代码
  6572. type: string
  6573. merusername:
  6574. description: 跟单员名称
  6575. type: string
  6576. nickname:
  6577. description: 账户昵称
  6578. type: string
  6579. orireckonrealqty:
  6580. description: 应交收量
  6581. type: number
  6582. payamount:
  6583. description: 已收付额(收款或付款)
  6584. type: number
  6585. preinvoiceamount:
  6586. description: 预收(开)票额
  6587. type: number
  6588. prepayamount:
  6589. description: 预收付额
  6590. type: number
  6591. price:
  6592. description: 价格
  6593. type: number
  6594. pricedamount:
  6595. description: 已定价额
  6596. type: number
  6597. pricedavg:
  6598. description: 已点均价
  6599. type: number
  6600. pricedqty:
  6601. description: 已定价量
  6602. type: number
  6603. pricemove:
  6604. description: 升贴水
  6605. type: number
  6606. pricetype:
  6607. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  6608. type: integer
  6609. producttype:
  6610. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6611. type: integer
  6612. qty:
  6613. description: 合同量
  6614. type: number
  6615. reckonadjustamount:
  6616. description: 调整金额
  6617. type: number
  6618. reckonedamount:
  6619. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  6620. type: number
  6621. reckonotheramount:
  6622. description: 其它费用
  6623. type: number
  6624. reckonrealqty:
  6625. description: 已交收量
  6626. type: number
  6627. remark:
  6628. description: 备注
  6629. type: string
  6630. saleuserid:
  6631. description: 业务员id
  6632. type: integer
  6633. saleuserlogincode:
  6634. description: 业务员登录代码
  6635. type: string
  6636. saleusername:
  6637. description: 业务员名称
  6638. type: string
  6639. spotcontractid:
  6640. description: 合同ID
  6641. type: string
  6642. spotgoodsbrandid:
  6643. description: 现货品牌ID(DGFactoryItem表的ID)
  6644. type: integer
  6645. spotgoodsdesc:
  6646. description: 商品型号(商品规格)
  6647. type: string
  6648. startdate:
  6649. description: 点价开始日
  6650. type: string
  6651. subjectid:
  6652. description: 交易主体ID
  6653. type: integer
  6654. subjectname:
  6655. description: 交易主体名称
  6656. type: string
  6657. totalamount:
  6658. description: 合计总额
  6659. type: number
  6660. tradeuserid:
  6661. description: 交易员id
  6662. type: integer
  6663. tradeuserlogincode:
  6664. description: 交易员登录代码
  6665. type: string
  6666. tradeusername:
  6667. description: 交易员名称
  6668. type: string
  6669. unpayamount:
  6670. description: 应收付款额(应支付或应收款) | 未付款额
  6671. type: number
  6672. unpricedqty:
  6673. description: 未定价量
  6674. type: number
  6675. unsureqty:
  6676. description: 未确定量 | 未交收量
  6677. type: number
  6678. userid:
  6679. description: 机构ID
  6680. type: integer
  6681. vatrate:
  6682. description: 增值税率
  6683. type: number
  6684. wrstandardcode:
  6685. description: 品类代码
  6686. type: string
  6687. wrstandardid:
  6688. description: 品类ID
  6689. type: integer
  6690. wrstandardname:
  6691. description: 品类名称
  6692. type: string
  6693. type: object
  6694. models.Ermcp3SpotGoodsPrice:
  6695. properties:
  6696. areauserid:
  6697. description: 所属机构id
  6698. type: integer
  6699. brandname:
  6700. description: 品牌名称
  6701. type: string
  6702. currencyid:
  6703. description: 报价货币ID
  6704. type: integer
  6705. currencyname:
  6706. description: 币种名称
  6707. type: string
  6708. deliverygoodscode:
  6709. description: 现货商品代码
  6710. type: string
  6711. deliverygoodsid:
  6712. description: 现货商品id
  6713. type: integer
  6714. deliverygoodsname:
  6715. description: 现货商品名称
  6716. type: string
  6717. enumdicname:
  6718. description: 现货商品单位名称
  6719. type: string
  6720. gbenumdicname:
  6721. description: 品类单位名称
  6722. type: string
  6723. gmunitid:
  6724. description: 品类单位id
  6725. type: integer
  6726. isvalid:
  6727. description: 是否有效 - 0:无效 1:有效
  6728. type: integer
  6729. operateid:
  6730. description: 最后操作人
  6731. type: integer
  6732. operatesrc:
  6733. description: 最后操作来源 - 1:管理端 2:终端
  6734. type: integer
  6735. operatetime:
  6736. description: 最后操作时间
  6737. type: string
  6738. operatorname:
  6739. description: 操作人名称
  6740. type: string
  6741. spotgoodsbrandid:
  6742. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6743. type: integer
  6744. spotgoodsprice:
  6745. description: 现货价格
  6746. type: number
  6747. tradedate:
  6748. description: 交易日(yyyyMMdd)
  6749. type: string
  6750. unitid:
  6751. description: 现货商品单位id
  6752. type: integer
  6753. wrstandardcode:
  6754. description: 品类代码
  6755. type: string
  6756. wrstandardid:
  6757. description: 现货品类ID(通用则为0)
  6758. type: integer
  6759. wrstandardname:
  6760. description: 品类名称
  6761. type: string
  6762. type: object
  6763. models.Ermcp3SpotGoodsPriceLog:
  6764. properties:
  6765. areauserid:
  6766. description: 所属机构id
  6767. type: integer
  6768. brandname:
  6769. description: 品牌名称
  6770. type: string
  6771. currencyid:
  6772. description: 报价货币ID
  6773. type: integer
  6774. deliverygoodscode:
  6775. description: 现货商品代码
  6776. type: string
  6777. deliverygoodsid:
  6778. description: 现货商品id
  6779. type: integer
  6780. deliverygoodsname:
  6781. description: 现货商品名称
  6782. type: string
  6783. enumdicname:
  6784. description: 现货商品单位名称
  6785. type: string
  6786. gbenumdicname:
  6787. description: 品类单位名称
  6788. type: string
  6789. gmunitid:
  6790. description: 品类单位id
  6791. type: integer
  6792. logid:
  6793. description: 日志id
  6794. type: integer
  6795. operateid:
  6796. description: 最后操作人
  6797. type: integer
  6798. operatesrc:
  6799. description: 最后操作来源 - 1:管理端 2:终端
  6800. type: integer
  6801. operatetime:
  6802. description: 最后操作时间
  6803. type: string
  6804. operatorname:
  6805. description: 操作人名称
  6806. type: string
  6807. spotgoodsbrandid:
  6808. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6809. type: integer
  6810. spotgoodsprice:
  6811. description: 现货价格
  6812. type: number
  6813. tradedate:
  6814. description: 交易日(yyyyMMdd)
  6815. type: string
  6816. unitid:
  6817. description: 现货商品单位id
  6818. type: integer
  6819. wrstandardcode:
  6820. description: 品类代码
  6821. type: string
  6822. wrstandardid:
  6823. description: 现货品类ID(通用则为0)
  6824. type: integer
  6825. wrstandardname:
  6826. description: 品类名称
  6827. type: string
  6828. type: object
  6829. models.Ermcp3SubTaaccount:
  6830. properties:
  6831. accountid:
  6832. description: 资金账户ID
  6833. type: integer
  6834. parentaccountcode:
  6835. description: 所属根账号代码(母账号代码)
  6836. type: string
  6837. parentaccountid:
  6838. description: 所属根账号(母账号)
  6839. type: integer
  6840. taname:
  6841. description: 资金账号名称
  6842. type: string
  6843. tradestatus:
  6844. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  6845. type: integer
  6846. username:
  6847. description: 交易用户
  6848. type: string
  6849. type: object
  6850. models.Ermcp3TaFutuReDataReport:
  6851. properties:
  6852. accountid:
  6853. description: 交易账户
  6854. type: integer
  6855. accountname:
  6856. description: 交易账号名称
  6857. type: string
  6858. agreeunit:
  6859. description: 商品合约单位
  6860. type: number
  6861. begindate:
  6862. description: 开始交易日
  6863. type: string
  6864. buyorsell:
  6865. description: 持仓方向
  6866. type: integer
  6867. charge:
  6868. description: 手续费
  6869. type: number
  6870. closeavgprice:
  6871. description: 平仓均价
  6872. type: number
  6873. closepl:
  6874. description: 平仓损益
  6875. type: number
  6876. currencyid:
  6877. description: 结算币种ID
  6878. type: integer
  6879. currencyname:
  6880. description: 币种名称
  6881. type: string
  6882. cycletime:
  6883. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6884. type: string
  6885. cycletype:
  6886. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6887. type: integer
  6888. enddate:
  6889. description: 结束交易日
  6890. type: string
  6891. enumdicname:
  6892. description: 单位名称
  6893. type: string
  6894. floatpl:
  6895. description: 浮动损益
  6896. type: number
  6897. goodscode:
  6898. description: 交易合约代码
  6899. type: string
  6900. goodsgroupid:
  6901. description: 交易品种
  6902. type: integer
  6903. goodsgroupname:
  6904. description: 交易品种名称
  6905. type: string
  6906. goodsgroupspotqty:
  6907. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  6908. type: number
  6909. goodsid:
  6910. description: 交易合约
  6911. type: integer
  6912. goodsname:
  6913. description: 交易合约名称
  6914. type: string
  6915. goodunitid:
  6916. description: 交易合约单位id
  6917. type: integer
  6918. holdamount:
  6919. description: 期末持仓额
  6920. type: number
  6921. holdqty:
  6922. description: 期末持仓量
  6923. type: number
  6924. lastholdamount:
  6925. description: 当前持仓额
  6926. type: number
  6927. lastprice:
  6928. description: 最新价
  6929. type: number
  6930. middlegoodsid:
  6931. description: 套保品种id
  6932. type: integer
  6933. middlegoodsname:
  6934. description: 套保商品名称
  6935. type: string
  6936. middlegoodsqty:
  6937. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  6938. type: number
  6939. middlgoodscode:
  6940. description: 套保商品代码
  6941. type: string
  6942. openamount:
  6943. description: 期末开仓额
  6944. type: number
  6945. openavgprice:
  6946. description: 开仓均价
  6947. type: number
  6948. oriholdamount:
  6949. description: 期初持仓额
  6950. type: number
  6951. oriholdqty:
  6952. description: 期初持仓量
  6953. type: number
  6954. oriopenamount:
  6955. description: 期初开仓额
  6956. type: number
  6957. outergroupcode:
  6958. description: 交易品种代码
  6959. type: string
  6960. qtydecimalplace:
  6961. description: 成交量小数位
  6962. type: integer
  6963. reckondate:
  6964. description: 日照时期(yyyyMMdd)
  6965. type: string
  6966. reckonholdamount:
  6967. description: 结算持仓额
  6968. type: number
  6969. reckonpl:
  6970. description: 结算损益
  6971. type: number
  6972. reckonpl2:
  6973. description: 结算逐笔盈亏
  6974. type: number
  6975. reckonprice:
  6976. description: 结算价
  6977. type: number
  6978. relateduserid:
  6979. description: 账户关联用户ID
  6980. type: integer
  6981. todaycloseamount:
  6982. description: 今平仓额
  6983. type: number
  6984. todaycloseqty:
  6985. description: 今平仓量
  6986. type: number
  6987. todaygoodsgroupspotqty:
  6988. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  6989. type: number
  6990. todaymiddlegoodsqty:
  6991. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  6992. type: number
  6993. todayopenamount:
  6994. description: 今开仓额
  6995. type: number
  6996. todayopenqty:
  6997. description: 今开仓量
  6998. type: number
  6999. userid:
  7000. description: 账户所属用户ID
  7001. type: integer
  7002. type: object
  7003. models.Ermcp3TradeLinkDetail:
  7004. properties:
  7005. accountid:
  7006. description: 资金账号
  7007. type: integer
  7008. agreeunit:
  7009. description: 合约乘数
  7010. type: number
  7011. areauserid:
  7012. description: 所属机构
  7013. type: string
  7014. bizsubjectid:
  7015. description: 归属业务部门ID - SubjectID
  7016. type: string
  7017. buyorsell:
  7018. description: 方向 - 0:买 1:卖
  7019. type: integer
  7020. channelbuildtype:
  7021. description: 委托单据类型 0:无 1:建仓 2:平仓
  7022. type: integer
  7023. contractno:
  7024. description: 现货编号 (合同编号)
  7025. type: string
  7026. convertratio:
  7027. description: 折算系数
  7028. type: number
  7029. createtime:
  7030. description: 关联时间 | 创建时间
  7031. type: string
  7032. creatorid:
  7033. description: 创建人ID
  7034. type: string
  7035. creatorsrc:
  7036. description: 创建人来源 - 1:管理端 2:终端 3:交易
  7037. type: integer
  7038. enumdicname:
  7039. description: 单位名称
  7040. type: string
  7041. goodscode:
  7042. description: 合约代码
  7043. type: string
  7044. goodsgroupid:
  7045. description: 对冲品种ID[期货合约商品组ID]
  7046. type: integer
  7047. goodsid:
  7048. description: 商品ID
  7049. type: integer
  7050. goodsname:
  7051. description: 合约名称
  7052. type: string
  7053. hedgeflag:
  7054. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安)
  7055. 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  7056. type: integer
  7057. linkdetailid:
  7058. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  7059. type: string
  7060. linkstatus:
  7061. description: 关联状态 - 1:成功 2:失败 3:解绑
  7062. type: integer
  7063. middlegoodscode:
  7064. description: 套保品种代码
  7065. type: string
  7066. middlegoodsid:
  7067. description: 套保品种ID
  7068. type: integer
  7069. middlegoodsname:
  7070. description: 套保品种名称
  7071. type: string
  7072. relatedlot:
  7073. description: 关联手数
  7074. type: number
  7075. relatedmode:
  7076. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  7077. type: integer
  7078. relatedqty:
  7079. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  7080. type: number
  7081. retcode:
  7082. description: 返回码
  7083. type: integer
  7084. saleuserid:
  7085. description: 业务员ID
  7086. type: string
  7087. spotcontractid:
  7088. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  7089. type: string
  7090. taname:
  7091. description: 期货账户
  7092. type: string
  7093. tradedate:
  7094. description: 关联交易日(yyyyMMdd)
  7095. type: string
  7096. tradeid:
  7097. description: 期货订单号 | 内部成交单ID
  7098. type: string
  7099. tradelot:
  7100. description: 成交数量 | 成交手数
  7101. type: integer
  7102. tradeprice:
  7103. description: 成交价格
  7104. type: number
  7105. tradetime:
  7106. description: 期货成交时间
  7107. type: string
  7108. tradetradedate:
  7109. description: 成交交易日(yyyyMMdd)
  7110. type: string
  7111. username:
  7112. description: 用户名称
  7113. type: string
  7114. type: object
  7115. models.Ermcp3Wrstandard:
  7116. properties:
  7117. areauserid:
  7118. description: 所属机构
  7119. type: integer
  7120. cantrade:
  7121. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  7122. type: integer
  7123. convertfactor:
  7124. description: 标仓系数
  7125. type: number
  7126. createtime:
  7127. description: 创建时间
  7128. type: string
  7129. creatorid:
  7130. description: 创建人
  7131. type: integer
  7132. deliverygoodsid:
  7133. description: 现货品种ID
  7134. type: integer
  7135. enumdicname:
  7136. description: 品类单位名称
  7137. type: string
  7138. isvalid:
  7139. description: 是否有效 0-无效(停用) 1-有效(正常)
  7140. type: integer
  7141. minivalue:
  7142. description: 最小变动值
  7143. type: integer
  7144. minivaluedp:
  7145. description: 最小变动值小数位
  7146. type: integer
  7147. realminivalue:
  7148. description: 实际最小变动值
  7149. type: integer
  7150. realminivaluedp:
  7151. description: 实际最小变动值小数位
  7152. type: integer
  7153. remark:
  7154. description: 备注
  7155. type: string
  7156. unitid:
  7157. description: 品类单位ID
  7158. type: integer
  7159. updatetime:
  7160. description: 更新时间
  7161. type: string
  7162. wrstandardcode:
  7163. description: 品类代码
  7164. type: string
  7165. wrstandardid:
  7166. description: 品类ID(SEQ_WRSTANDARD)
  7167. type: integer
  7168. wrstandardname:
  7169. description: 品类名称
  7170. type: string
  7171. type: object
  7172. models.ErmcpBizGroupEx:
  7173. properties:
  7174. acclist:
  7175. description: 账号列表
  7176. items:
  7177. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  7178. type: array
  7179. bizgroupid:
  7180. description: 业务分组id
  7181. type: integer
  7182. biztype:
  7183. description: 业务类型 1-套保 2-套利
  7184. type: integer
  7185. wrlist:
  7186. description: 现货商品表
  7187. items:
  7188. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  7189. type: array
  7190. type: object
  7191. models.ErmcpBizGroupSpotGoods:
  7192. properties:
  7193. areauserid:
  7194. description: 所属机构id
  7195. type: integer
  7196. bizgroupid:
  7197. description: 分组id
  7198. type: integer
  7199. biztype:
  7200. description: 业务类型 1-套保 2-套利
  7201. type: integer
  7202. deliverygoodscode:
  7203. description: 现货商品代码
  7204. type: string
  7205. deliverygoodsid:
  7206. description: 现货商品id
  7207. type: integer
  7208. deliverygoodsname:
  7209. description: 现货商品名称
  7210. type: string
  7211. unitid:
  7212. description: 现货商品单位id
  7213. type: integer
  7214. type: object
  7215. models.ErmcpBizGroupTaAccount:
  7216. properties:
  7217. accountid:
  7218. description: 账号id
  7219. type: integer
  7220. accountname:
  7221. description: 账号名称
  7222. type: string
  7223. areauserid:
  7224. description: 所属机构id
  7225. type: integer
  7226. bizgroupid:
  7227. description: 业务分组id
  7228. type: integer
  7229. ismain:
  7230. description: 是否主账号 1-是 0-否
  7231. type: integer
  7232. type: object
  7233. models.ErmcpDGFactoryItem:
  7234. properties:
  7235. areauserid:
  7236. description: 用户id
  7237. type: integer
  7238. deliverygoodsid:
  7239. description: 现货品种ID
  7240. type: integer
  7241. dgfactoryitemid:
  7242. description: 选择项ID(SEQ_DGFACTORYITEM)
  7243. type: integer
  7244. dgfactoryitemtypeid:
  7245. description: 要素项类型
  7246. type: integer
  7247. dgfactoryitemvalue:
  7248. description: 要素项值(类型为仓库时填写仓库名称)
  7249. type: string
  7250. isvalid:
  7251. description: 是否有效 - 0:无效 1:有效
  7252. type: integer
  7253. orderindex:
  7254. description: 顺序
  7255. type: integer
  7256. warehouseid:
  7257. description: 仓库ID(类型为仓库时填写)
  7258. type: integer
  7259. type: object
  7260. models.ErmcpDeliveryGoods:
  7261. properties:
  7262. agreeunit:
  7263. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  7264. type: integer
  7265. areauserid:
  7266. description: 所属机构
  7267. type: integer
  7268. auditflag:
  7269. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  7270. type: integer
  7271. categoryid:
  7272. description: 类别ID(SEQ_WRCATEGORY)
  7273. type: integer
  7274. deliverygoodscode:
  7275. description: 现货品种代码
  7276. type: string
  7277. deliverygoodsid:
  7278. description: 现货品种ID(SEQ_DELIVERYGOODS)
  7279. type: integer
  7280. deliverygoodsname:
  7281. description: 现货品种名称
  7282. type: string
  7283. deliverygoodstype:
  7284. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  7285. type: integer
  7286. dgstatus:
  7287. description: 品种状态 - 作废 - 0:未激活 1:正常
  7288. type: integer
  7289. enumdicname:
  7290. description: 现货品种单位名称
  7291. type: string
  7292. goodsunitid:
  7293. description: 现货品种单位ID
  7294. type: integer
  7295. isvalid:
  7296. description: 是否有效 - 0:无效 1:有效
  7297. type: integer
  7298. qtydecimalplace:
  7299. description: 成交量小数位
  7300. type: integer
  7301. remark:
  7302. description: 备注
  7303. type: string
  7304. standardqty:
  7305. description: 标准数量(库位数量) [标准品特有]
  7306. type: integer
  7307. standardqtyrange:
  7308. description: 标准数量偏差范围 [标准品特有]
  7309. type: integer
  7310. type: object
  7311. models.ErmcpFuturesCompany:
  7312. properties:
  7313. brokerid:
  7314. description: 经纪公司代码
  7315. type: string
  7316. channeladdress:
  7317. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  7318. type: string
  7319. channelid:
  7320. description: 对冲渠道ID
  7321. type: string
  7322. createtime:
  7323. description: 创建时间
  7324. type: string
  7325. creatorid:
  7326. description: 创建人
  7327. type: string
  7328. fcid:
  7329. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  7330. type: integer
  7331. fcname:
  7332. description: 期货公司名称
  7333. type: string
  7334. isvalid:
  7335. description: 是否有效 - 0:无效 1:有效
  7336. type: integer
  7337. mhpaddress:
  7338. description: MHP服务地址(IP:Port)
  7339. type: string
  7340. riskrulegroupid:
  7341. description: 风控规则组ID
  7342. type: string
  7343. tradefeetmpid:
  7344. description: 手续费模板ID[TradeConfigTmpType为2]
  7345. type: string
  7346. trademargintmpid:
  7347. description: 保证金模板ID [TradeConfigTmpType为1]
  7348. type: string
  7349. traderatetmpid:
  7350. description: 汇率模板ID[TradeConfigTmpType为3]
  7351. type: string
  7352. updatetime:
  7353. description: 更新时间
  7354. type: string
  7355. updatorid:
  7356. description: 更新人
  7357. type: string
  7358. type: object
  7359. models.ErmcpGGConvertCfg:
  7360. properties:
  7361. convertratio:
  7362. description: 折算系数
  7363. type: number
  7364. destgoodsgroupid:
  7365. description: 目标品种ID
  7366. type: integer
  7367. dstcode:
  7368. description: 目录品种代码
  7369. type: string
  7370. dstexchangecode:
  7371. description: 目标期货交易所
  7372. type: string
  7373. dstname:
  7374. description: 目标品种名称
  7375. type: string
  7376. dstunitid:
  7377. description: 目标品种单位ID
  7378. type: integer
  7379. dstunitidname:
  7380. description: 目标品种单位名称
  7381. type: string
  7382. modifytime:
  7383. description: 修改时间
  7384. type: string
  7385. srccode:
  7386. description: 源品种代码
  7387. type: string
  7388. srcexchangecode:
  7389. description: 源期货交易所
  7390. type: string
  7391. srcgoodsgroupid:
  7392. description: 源品种ID
  7393. type: integer
  7394. srcname:
  7395. description: 源品种名称
  7396. type: string
  7397. srcunitid:
  7398. description: 源品种单位ID
  7399. type: integer
  7400. srcunitidname:
  7401. description: 源品种单位名称
  7402. type: string
  7403. type: object
  7404. models.ErmcpGoods:
  7405. properties:
  7406. agreeunit:
  7407. description: 合约单位
  7408. type: number
  7409. areauserid:
  7410. description: 所属机构
  7411. type: integer
  7412. auditaccountid:
  7413. description: 审核操作员账号
  7414. type: integer
  7415. audittime:
  7416. description: 审核时间
  7417. type: string
  7418. cancelaccountid:
  7419. description: 注销操作员账号
  7420. type: integer
  7421. canceltime:
  7422. description: 注销时间
  7423. type: string
  7424. closepricemode:
  7425. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7426. type: integer
  7427. closepriceparam:
  7428. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7429. type: number
  7430. createtime:
  7431. description: 创建时间
  7432. type: string
  7433. creatorid:
  7434. description: 创建人
  7435. type: integer
  7436. currencyid:
  7437. description: 报价货币ID
  7438. type: integer
  7439. cutmode:
  7440. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7441. type: integer
  7442. decimalplace:
  7443. description: 报价小数位
  7444. type: integer
  7445. delistingdate:
  7446. description: 商品退市时间(状态:退市) -- 已作废
  7447. type: string
  7448. delistingmode:
  7449. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7450. type: integer
  7451. deliveryflag:
  7452. description: 交割标志 - 0:不可交割 1:可交割
  7453. type: integer
  7454. enumdicname:
  7455. description: 单位名称
  7456. type: string
  7457. forceclosemode:
  7458. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7459. type: integer
  7460. forceclosevalue:
  7461. description: 定期强平参数 [收益权]
  7462. type: integer
  7463. goodscode:
  7464. description: 商品代码(内部)
  7465. type: string
  7466. goodscurrencyid:
  7467. description: 合约货币ID
  7468. type: integer
  7469. goodsgroupid:
  7470. description: 所属商品组ID
  7471. type: integer
  7472. goodsid:
  7473. description: 商品ID(自增ID SEQ_GOODS)
  7474. type: integer
  7475. goodsname:
  7476. description: 商品名称
  7477. type: string
  7478. goodsquotetype:
  7479. description: '合约报价类型: 1-直接报价 2-间接报价'
  7480. type: integer
  7481. goodsstatus:
  7482. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7483. type: integer
  7484. goodstradetype:
  7485. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7486. type: integer
  7487. goodunitid:
  7488. description: 报价单位ID
  7489. type: integer
  7490. hasquoter:
  7491. description: 是否有报价商 - 0:无报价商 1:有报价商
  7492. type: integer
  7493. hqprotecttime:
  7494. description: 行情保护时间(秒)
  7495. type: integer
  7496. innerdealmode:
  7497. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7498. type: integer
  7499. isbuylimited:
  7500. description: 是否限制建仓量 - 0:不限制 1:限制
  7501. type: integer
  7502. isvisible:
  7503. description: 游客是否可见 - 0:不可见 1:可见
  7504. type: integer
  7505. lasttradedate:
  7506. description: 最后交易日期(状态:待退市)
  7507. type: string
  7508. listingdate:
  7509. description: 交易开始日期
  7510. type: string
  7511. marketid:
  7512. description: 所属市场ID
  7513. type: integer
  7514. modifierid:
  7515. description: 修改人
  7516. type: integer
  7517. modifystatus:
  7518. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7519. type: integer
  7520. modifytime:
  7521. description: 修改时间
  7522. type: string
  7523. outerdealmode:
  7524. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7525. type: integer
  7526. outgoodscode:
  7527. description: 商品代码(外部)
  7528. type: string
  7529. pictureurl:
  7530. description: 商品图片
  7531. type: string
  7532. qtydecimalplace:
  7533. description: 成交量小数位
  7534. type: integer
  7535. quotegear:
  7536. description: 行情档位(1-10)
  7537. type: integer
  7538. quoteminunit:
  7539. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7540. type: integer
  7541. quoteshowtype:
  7542. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7543. type: integer
  7544. quoteshowtypeinterval:
  7545. description: 行情报价间隔时间(秒)(成交价时为0)
  7546. type: integer
  7547. relatedgoodsid:
  7548. description: 关联参考商品ID
  7549. type: integer
  7550. remark:
  7551. description: 备注
  7552. type: string
  7553. trademode:
  7554. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7555. 21:竞拍-大宗式 22:受托竞价
  7556. type: integer
  7557. required:
  7558. - goodscode
  7559. - goodsid
  7560. - goodsname
  7561. - marketid
  7562. type: object
  7563. models.ErmcpGoodsBrand:
  7564. properties:
  7565. areauserid:
  7566. description: 所属机构
  7567. type: integer
  7568. brandid:
  7569. description: BrandID(SEQ_SPOTGOODSBRAND)
  7570. type: integer
  7571. brandname:
  7572. description: 品牌名称
  7573. type: string
  7574. createtime:
  7575. description: 创建时间
  7576. type: string
  7577. creatorid:
  7578. description: 创建人
  7579. type: integer
  7580. creatorsrc:
  7581. description: 创建人来源 - 1:管理端 2:终端
  7582. type: integer
  7583. deliverygoodsid:
  7584. description: 现货品种ID
  7585. type: integer
  7586. isvalid:
  7587. description: 是否有效 - 0:无效 1:有效
  7588. type: integer
  7589. updatetime:
  7590. description: 更新时间
  7591. type: string
  7592. updatorid:
  7593. description: 更新人
  7594. type: integer
  7595. updatorsrc:
  7596. description: 更新人来源 - 1:管理端 2:终端
  7597. type: integer
  7598. wrstandardid:
  7599. description: 现货商品ID
  7600. type: integer
  7601. type: object
  7602. models.ErmcpGoodsModel:
  7603. properties:
  7604. areauserid:
  7605. description: 所属机构
  7606. type: integer
  7607. convertfactor:
  7608. description: 标仓系数
  7609. type: number
  7610. createtime:
  7611. description: 创建时间
  7612. type: string
  7613. creatorid:
  7614. description: 创建人
  7615. type: integer
  7616. creatorsrc:
  7617. description: 创建人来源 - 1:管理端 2:终端
  7618. type: integer
  7619. deliverygoodsid:
  7620. description: 现货品种ID
  7621. type: integer
  7622. isvalid:
  7623. description: 是否有效 - 0:无效 1:有效
  7624. type: integer
  7625. modelid:
  7626. description: ModelID(SEQ_SPOTGOODSMODEL)
  7627. type: integer
  7628. modelname:
  7629. description: 型号名称
  7630. type: string
  7631. updatetime:
  7632. description: 更新时间
  7633. type: string
  7634. updatorid:
  7635. description: 更新人
  7636. type: integer
  7637. updatorsrc:
  7638. description: 更新人来源 - 1:管理端 2:终端
  7639. type: integer
  7640. wrstandardid:
  7641. description: 现货商品ID
  7642. type: integer
  7643. type: object
  7644. models.ErmcpHisExposure:
  7645. properties:
  7646. needhedgeexposoure:
  7647. description: 应套保敞口
  7648. type: number
  7649. reckondate:
  7650. description: 日照时期(yyyyMMdd)
  7651. type: string
  7652. totalexposure:
  7653. description: 总敞口
  7654. type: number
  7655. type: object
  7656. models.ErmcpLoginTaAccount:
  7657. properties:
  7658. accountid:
  7659. description: 账号id
  7660. type: integer
  7661. accountname:
  7662. description: 账号名称
  7663. type: string
  7664. type: object
  7665. models.ErmcpLoginUser:
  7666. properties:
  7667. acclist:
  7668. description: 关联资金账号
  7669. items:
  7670. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  7671. type: array
  7672. accountname:
  7673. description: 用户名称
  7674. type: string
  7675. clientroleid:
  7676. description: 角色id(usertype=2)
  7677. type: integer
  7678. createtime:
  7679. description: 创建时间
  7680. type: string
  7681. logincode:
  7682. description: 登录代码
  7683. type: string
  7684. loginid:
  7685. description: 登录id(LOGINID)
  7686. type: integer
  7687. loginname:
  7688. description: 登录名称(loginaccount表中的accountname字段)
  7689. type: string
  7690. loginstatus:
  7691. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  7692. type: integer
  7693. memberuserid:
  7694. description: 所属会员id
  7695. type: integer
  7696. mobile:
  7697. description: 手机号
  7698. type: string
  7699. modifytime:
  7700. description: 修改时间
  7701. type: string
  7702. password:
  7703. description: 密码(不可解密)
  7704. type: string
  7705. rolename:
  7706. description: 角色名称
  7707. type: string
  7708. rolestatus:
  7709. description: 角色状态 1-启用 2-停用
  7710. type: integer
  7711. roletype:
  7712. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  7713. type: string
  7714. userid:
  7715. description: 用户id
  7716. type: integer
  7717. usertype:
  7718. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  7719. type: integer
  7720. type: object
  7721. models.ErmcpLoginUserEx:
  7722. properties:
  7723. accountstatus:
  7724. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  7725. type: integer
  7726. mobile:
  7727. description: 手机号
  7728. type: string
  7729. querytype:
  7730. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  7731. type: integer
  7732. roleid:
  7733. description: 角色id(交易账户->用户id)
  7734. type: integer
  7735. rolename:
  7736. description: 角色名称(交易账户->用户名称)
  7737. type: string
  7738. userlist:
  7739. description: 用户列表
  7740. items:
  7741. $ref: '#/definitions/models.ErmcpLoginUser'
  7742. type: array
  7743. usertype:
  7744. description: 用户类型 2-机构 7-企业成员(云平台)
  7745. type: integer
  7746. type: object
  7747. models.ErmcpMiddleGoodsModel:
  7748. properties:
  7749. areauserid:
  7750. description: 机构用户ID
  7751. type: integer
  7752. createtime:
  7753. description: 修改时间
  7754. type: string
  7755. enumdicname:
  7756. description: 单位名称
  7757. type: string
  7758. evaluateratio:
  7759. description: 估价系数
  7760. type: number
  7761. goodsgroupid:
  7762. description: 关联期货品种ID
  7763. type: integer
  7764. goodsunitid:
  7765. description: 单位ID
  7766. type: integer
  7767. isvalid:
  7768. description: 状态 0-无效(停用) 1-有效(正常)
  7769. type: integer
  7770. middlegoodscode:
  7771. description: 套保品种代码
  7772. type: string
  7773. middlegoodsid:
  7774. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  7775. type: integer
  7776. middlegoodsname:
  7777. description: 套保品种名称
  7778. type: string
  7779. modifytime:
  7780. description: 修改时间
  7781. type: string
  7782. needarbitrageratio:
  7783. description: 套利比例
  7784. type: number
  7785. needhedgeratio:
  7786. description: 套保比率
  7787. type: number
  7788. qtydecimalplace:
  7789. description: 数量小数位
  7790. type: integer
  7791. relatedgoodsid:
  7792. description: 关联交易商品ID
  7793. type: integer
  7794. relatedgoodstype:
  7795. description: 关联商品类型 - 1:期货合约 2:现货品种
  7796. type: integer
  7797. remark:
  7798. description: 备注
  7799. type: string
  7800. type: object
  7801. models.ErmcpMiddlegoodsRelateGoods:
  7802. properties:
  7803. agreeunit:
  7804. description: 合约乘数
  7805. type: number
  7806. convertratio:
  7807. description: 折算系数
  7808. type: number
  7809. enumdicname:
  7810. description: 单位名称(交易商品)
  7811. type: string
  7812. goodscode:
  7813. description: 交易商品代码
  7814. type: string
  7815. goodsgroupid:
  7816. description: 交易品种id
  7817. type: integer
  7818. goodsid:
  7819. description: 商品Id
  7820. type: integer
  7821. goodsname:
  7822. description: 交易商品名称
  7823. type: string
  7824. goodunitid:
  7825. description: 交易商品单位id
  7826. type: integer
  7827. middlegoodsid:
  7828. description: 套保商品id
  7829. type: integer
  7830. middlegoodsname:
  7831. description: 套保商品名称
  7832. type: string
  7833. middlegoodsswcode:
  7834. description: 套保商品代码
  7835. type: string
  7836. needarbitrageratio:
  7837. description: 应套利比例
  7838. type: number
  7839. needhedgeratio:
  7840. description: 应套保比例
  7841. type: number
  7842. type: object
  7843. models.ErmcpRole:
  7844. properties:
  7845. areauserid:
  7846. description: 所属机构
  7847. type: integer
  7848. autoid:
  7849. description: 角色ID(自增ID)
  7850. type: integer
  7851. modifierid:
  7852. description: 修改人(创建人)
  7853. type: integer
  7854. modifiername:
  7855. description: 修改人名称
  7856. type: string
  7857. modifytime:
  7858. description: 修改时间(创建时间)
  7859. type: string
  7860. rolename:
  7861. description: 角色名称
  7862. type: string
  7863. rolestatus:
  7864. description: 角色状态 - 1:启用 2:停用
  7865. type: integer
  7866. roletype:
  7867. description: 角色类型 - 1- 管理端 2- 交易端
  7868. type: integer
  7869. type: object
  7870. models.ErmcpRoleMenu:
  7871. properties:
  7872. iconame:
  7873. description: 菜单图标
  7874. type: string
  7875. ishadrole:
  7876. description: 是否有权限
  7877. type: boolean
  7878. menutype:
  7879. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)
  7880. type: integer
  7881. parentcode:
  7882. description: 上级资源代码
  7883. type: string
  7884. remark:
  7885. description: 菜单备注
  7886. type: string
  7887. resourcecode:
  7888. description: 菜单代码
  7889. type: string
  7890. resourcelevel:
  7891. description: 级别
  7892. type: integer
  7893. resourcename:
  7894. description: 菜单名称
  7895. type: string
  7896. roleid:
  7897. description: 角色id
  7898. type: integer
  7899. sort:
  7900. description: 排序
  7901. type: integer
  7902. url:
  7903. description: URL
  7904. type: string
  7905. userid:
  7906. description: 用户id
  7907. type: integer
  7908. type: object
  7909. models.ErmcpRoleMenuEx:
  7910. properties:
  7911. menu:
  7912. $ref: '#/definitions/models.ErmcpRoleMenu'
  7913. description: 父级菜单
  7914. subMenu:
  7915. description: 子级菜单
  7916. items:
  7917. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  7918. type: array
  7919. type: object
  7920. models.ErmcpTaAccount:
  7921. properties:
  7922. accountid:
  7923. description: 账户id
  7924. type: integer
  7925. accountname:
  7926. description: 账户名称
  7927. type: string
  7928. currencyid:
  7929. description: 币种id
  7930. type: integer
  7931. hedgeaccountcode:
  7932. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7933. type: string
  7934. ismain:
  7935. description: 是否主账户 0-否 1-是
  7936. type: integer
  7937. parentaccountid:
  7938. description: 父账户id
  7939. type: integer
  7940. relateduserid:
  7941. description: 关联userid
  7942. type: integer
  7943. tradefeetmpid:
  7944. description: 手续费模板id
  7945. type: integer
  7946. tradefeetmpname:
  7947. description: 手续费模板名称
  7948. type: string
  7949. trademargintmpid:
  7950. description: 保证金模板id
  7951. type: integer
  7952. trademargintmpname:
  7953. description: 保证金模板名称
  7954. type: string
  7955. traderatetmpid:
  7956. description: 汇率模板id
  7957. type: integer
  7958. traderatetmpname:
  7959. description: 汇率模板名称
  7960. type: string
  7961. tradestatus:
  7962. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7963. type: integer
  7964. userid:
  7965. description: 用户id
  7966. type: integer
  7967. type: object
  7968. models.ErmcpTaAccountEx:
  7969. properties:
  7970. mainAcc:
  7971. $ref: '#/definitions/models.ErmcpTaAccountM'
  7972. description: 主账号
  7973. subacclist:
  7974. description: 子账号列表
  7975. items:
  7976. $ref: '#/definitions/models.ErmcpTaAccount'
  7977. type: array
  7978. type: object
  7979. models.ErmcpTaAccountInfo:
  7980. properties:
  7981. accountid:
  7982. description: 资金账户ID
  7983. type: integer
  7984. accountname:
  7985. description: 账户名称
  7986. type: string
  7987. balance:
  7988. description: 期初余额
  7989. type: number
  7990. capitalbalance:
  7991. description: 本金余额[外部子账户实际出入金余额]
  7992. type: number
  7993. closepl:
  7994. description: 今日平仓盈亏
  7995. type: number
  7996. creditdecrease:
  7997. description: 今日授信减少
  7998. type: number
  7999. creditincrease:
  8000. description: 今日授信增加
  8001. type: number
  8002. curdebt:
  8003. description: 期末欠款
  8004. type: number
  8005. currencyid:
  8006. description: 货币ID
  8007. type: integer
  8008. currentbalance:
  8009. description: 期末余额
  8010. type: number
  8011. freezecharge:
  8012. description: 手续费冻结
  8013. type: number
  8014. freezemargin:
  8015. description: 冻结保证金
  8016. type: number
  8017. fromaccountid:
  8018. description: 所属上级账户
  8019. type: integer
  8020. inamount:
  8021. description: 今日入金金额(包括三方入金)
  8022. type: number
  8023. ismain:
  8024. description: 是否母账号 0:不是母账户 1:是母账户
  8025. type: integer
  8026. mortgagecredit:
  8027. description: 授信金额
  8028. type: number
  8029. oridebt:
  8030. description: 期初欠款
  8031. type: number
  8032. orifreezecharge:
  8033. description: 期初手续费冻结
  8034. type: number
  8035. orifreezemargin:
  8036. description: 期初冻结保证金
  8037. type: number
  8038. orimortgagecredit:
  8039. description: 期初授信金额
  8040. type: number
  8041. oriothercredit:
  8042. description: 期初其它授信金额
  8043. type: number
  8044. oriotherfreezemargin:
  8045. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  8046. type: number
  8047. orioutamountfreeze:
  8048. description: 期初出金冻结
  8049. type: number
  8050. oriusedmargin:
  8051. description: 期初占用保证金
  8052. type: number
  8053. othercredit:
  8054. description: 其它授信金额
  8055. type: number
  8056. othercreditdecrease:
  8057. description: 今日其它授信减少
  8058. type: number
  8059. othercreditincrease:
  8060. description: 今日其它授信增加
  8061. type: number
  8062. otherfreezemargin:
  8063. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  8064. type: number
  8065. outamount:
  8066. description: 今日出金金额(包括三方出金)
  8067. type: number
  8068. outamountfreeze:
  8069. description: 出金冻结
  8070. type: number
  8071. outthreshold:
  8072. description: 出金阈值
  8073. type: number
  8074. parentaccountid:
  8075. description: 所属根账号
  8076. type: integer
  8077. paycharge:
  8078. description: 今日手续费支出
  8079. type: number
  8080. relateduserid:
  8081. description: 关联用户
  8082. type: integer
  8083. signstatus:
  8084. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  8085. type: integer
  8086. sublevelpath:
  8087. description: 账号层级路径(逗号分隔,首尾加逗号)
  8088. type: string
  8089. taaccounttype:
  8090. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  8091. type: integer
  8092. thirdinamount:
  8093. description: 今日三方入金
  8094. type: number
  8095. thirdoutamount:
  8096. description: 今日三方出金
  8097. type: number
  8098. tradestatus:
  8099. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  8100. type: integer
  8101. transferamount:
  8102. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  8103. type: number
  8104. usedmargin:
  8105. description: 占用保证金
  8106. type: number
  8107. userid:
  8108. description: 用户ID
  8109. type: integer
  8110. type: object
  8111. models.ErmcpTaAccountM:
  8112. properties:
  8113. accountid:
  8114. description: 账户id
  8115. type: integer
  8116. accountname:
  8117. description: 账户名称
  8118. type: string
  8119. currencyid:
  8120. description: 币种id
  8121. type: integer
  8122. fcid:
  8123. description: 期货公司id
  8124. type: integer
  8125. fcname:
  8126. description: 期货公司代码
  8127. type: string
  8128. hedgeaccountcode:
  8129. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  8130. type: string
  8131. ismain:
  8132. description: 是否主账户 0-否 1-是
  8133. type: integer
  8134. parentaccountid:
  8135. description: 父账户id
  8136. type: integer
  8137. relateduserid:
  8138. description: 关联userid
  8139. type: integer
  8140. tradefeetmpid:
  8141. description: 手续费模板id
  8142. type: integer
  8143. tradefeetmpname:
  8144. description: 手续费模板名称
  8145. type: string
  8146. trademargintmpid:
  8147. description: 保证金模板id
  8148. type: integer
  8149. trademargintmpname:
  8150. description: 保证金模板名称
  8151. type: string
  8152. traderatetmpid:
  8153. description: 汇率模板id
  8154. type: integer
  8155. traderatetmpname:
  8156. description: 汇率模板名称
  8157. type: string
  8158. tradestatus:
  8159. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  8160. type: integer
  8161. userid:
  8162. description: 用户id
  8163. type: integer
  8164. type: object
  8165. models.ErmcpTradeConfigTMP:
  8166. properties:
  8167. areauserid:
  8168. description: 所属机构
  8169. type: integer
  8170. basiccurrencyid:
  8171. description: 基本币种ID[汇率] - 目标币种
  8172. type: integer
  8173. mainaccountid:
  8174. description: 主账户ID
  8175. type: integer
  8176. modifierid:
  8177. description: 修改人
  8178. type: integer
  8179. remark:
  8180. description: 备注
  8181. type: string
  8182. tradeconfigtmpid:
  8183. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  8184. type: integer
  8185. tradeconfigtmpname:
  8186. description: 交易配置模板名称
  8187. type: string
  8188. tradeconfigtmptype:
  8189. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  8190. type: integer
  8191. updatetime:
  8192. description: 更新时间
  8193. type: string
  8194. type: object
  8195. models.Externalexchange:
  8196. properties:
  8197. autoid:
  8198. description: AutoID - SEQ_EXTERNALEXCHANGE
  8199. type: integer
  8200. exchangefullname:
  8201. description: 外部交易所全称
  8202. type: string
  8203. exexchangecode:
  8204. description: 外部交易所代码
  8205. type: string
  8206. exexchangename:
  8207. description: 外部交易所名称(简称)
  8208. type: string
  8209. ismarketprice:
  8210. description: 是否支持市价 - 0:不支持 1:支持
  8211. type: integer
  8212. quotegear:
  8213. description: 行情档位(1-10)
  8214. type: integer
  8215. showbrokerflag:
  8216. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  8217. type: integer
  8218. updatetime:
  8219. description: 更新时间
  8220. type: string
  8221. required:
  8222. - autoid
  8223. type: object
  8224. models.Funcmenulist:
  8225. properties:
  8226. iconame:
  8227. description: 菜单图标
  8228. type: string
  8229. menutype:
  8230. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  8231. type: integer
  8232. parentcode:
  8233. description: 上级资源代码
  8234. type: string
  8235. remark:
  8236. description: 备注
  8237. type: string
  8238. resourcecode:
  8239. description: 资源代码
  8240. type: string
  8241. resourcelevel:
  8242. description: 级别 1-一级 2-二级 3-三级 4-四级
  8243. type: integer
  8244. resourcename:
  8245. description: 资源名
  8246. type: string
  8247. sort:
  8248. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  8249. type: integer
  8250. url:
  8251. description: URL
  8252. type: string
  8253. required:
  8254. - resourcecode
  8255. type: object
  8256. models.Goods:
  8257. properties:
  8258. agreeunit:
  8259. description: 合约单位
  8260. type: number
  8261. areauserid:
  8262. description: 所属机构
  8263. type: integer
  8264. auditaccountid:
  8265. description: 审核操作员账号
  8266. type: integer
  8267. audittime:
  8268. description: 审核时间
  8269. type: string
  8270. cancelaccountid:
  8271. description: 注销操作员账号
  8272. type: integer
  8273. canceltime:
  8274. description: 注销时间
  8275. type: string
  8276. closepricemode:
  8277. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8278. type: integer
  8279. closepriceparam:
  8280. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8281. type: number
  8282. createtime:
  8283. description: 创建时间
  8284. type: string
  8285. creatorid:
  8286. description: 创建人
  8287. type: integer
  8288. currencyid:
  8289. description: 报价货币ID
  8290. type: integer
  8291. cutmode:
  8292. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8293. type: integer
  8294. decimalplace:
  8295. description: 报价小数位
  8296. type: integer
  8297. delistingdate:
  8298. description: 商品退市时间(状态:退市) -- 已作废
  8299. type: string
  8300. delistingmode:
  8301. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8302. type: integer
  8303. deliveryflag:
  8304. description: 交割标志 - 0:不可交割 1:可交割
  8305. type: integer
  8306. forceclosemode:
  8307. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8308. type: integer
  8309. forceclosevalue:
  8310. description: 定期强平参数 [收益权]
  8311. type: integer
  8312. goodscode:
  8313. description: 商品代码(内部)
  8314. type: string
  8315. goodscurrencyid:
  8316. description: 合约货币ID
  8317. type: integer
  8318. goodsgroupid:
  8319. description: 所属商品组ID
  8320. type: integer
  8321. goodsid:
  8322. description: 商品ID(自增ID SEQ_GOODS)
  8323. type: integer
  8324. goodsname:
  8325. description: 商品名称
  8326. type: string
  8327. goodsquotetype:
  8328. description: '合约报价类型: 1-直接报价 2-间接报价'
  8329. type: integer
  8330. goodsstatus:
  8331. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8332. type: integer
  8333. goodstradetype:
  8334. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8335. type: integer
  8336. goodunitid:
  8337. description: 报价单位ID
  8338. type: integer
  8339. hasquoter:
  8340. description: 是否有报价商 - 0:无报价商 1:有报价商
  8341. type: integer
  8342. hqprotecttime:
  8343. description: 行情保护时间(秒)
  8344. type: integer
  8345. innerdealmode:
  8346. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8347. type: integer
  8348. isbuylimited:
  8349. description: 是否限制建仓量 - 0:不限制 1:限制
  8350. type: integer
  8351. isvisible:
  8352. description: 游客是否可见 - 0:不可见 1:可见
  8353. type: integer
  8354. lasttradedate:
  8355. description: 最后交易日期(状态:待退市)
  8356. type: string
  8357. listingdate:
  8358. description: 交易开始日期
  8359. type: string
  8360. marketid:
  8361. description: 所属市场ID
  8362. type: integer
  8363. modifierid:
  8364. description: 修改人
  8365. type: integer
  8366. modifystatus:
  8367. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8368. type: integer
  8369. modifytime:
  8370. description: 修改时间
  8371. type: string
  8372. outerdealmode:
  8373. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8374. type: integer
  8375. outgoodscode:
  8376. description: 商品代码(外部)
  8377. type: string
  8378. pictureurl:
  8379. description: 商品图片
  8380. type: string
  8381. qtydecimalplace:
  8382. description: 成交量小数位
  8383. type: integer
  8384. quotegear:
  8385. description: 行情档位(1-10)
  8386. type: integer
  8387. quoteminunit:
  8388. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8389. type: integer
  8390. quoteshowtype:
  8391. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8392. type: integer
  8393. quoteshowtypeinterval:
  8394. description: 行情报价间隔时间(秒)(成交价时为0)
  8395. type: integer
  8396. remark:
  8397. description: 备注
  8398. type: string
  8399. required:
  8400. - goodscode
  8401. - goodsid
  8402. - goodsname
  8403. - marketid
  8404. type: object
  8405. models.GoodsIDAndName:
  8406. properties:
  8407. goodscode:
  8408. description: 商品代码(内部)
  8409. type: string
  8410. goodsid:
  8411. description: 商品ID(自增ID SEQ_GOODS)
  8412. type: integer
  8413. goodsname:
  8414. description: 商品名称
  8415. type: string
  8416. marketid:
  8417. description: 所属市场ID
  8418. type: integer
  8419. required:
  8420. - goodscode
  8421. - goodsid
  8422. - goodsname
  8423. - marketid
  8424. type: object
  8425. models.Goodsgroup:
  8426. properties:
  8427. agreeunit:
  8428. description: 合约单位
  8429. type: number
  8430. canshort:
  8431. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  8432. type: integer
  8433. closepricemode:
  8434. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8435. type: integer
  8436. closepriceparam:
  8437. description: 强平最新价浮动比例 - 方式为2时使用
  8438. type: number
  8439. createtime:
  8440. description: 创建时间
  8441. type: string
  8442. creatorid:
  8443. description: 创建人
  8444. type: integer
  8445. currencyid:
  8446. description: 报价货币ID
  8447. type: integer
  8448. decimalplace:
  8449. description: 报价小数位
  8450. type: integer
  8451. exercisetype:
  8452. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  8453. type: integer
  8454. exexchangeid:
  8455. description: 外部交易所ID[通道交易]
  8456. type: integer
  8457. goodsgroupid:
  8458. description: 商品组ID(自增ID)
  8459. type: integer
  8460. goodsgroupname:
  8461. description: 商品组名称
  8462. type: string
  8463. goodsgroupstatus:
  8464. description: 商品组状态 - 1:正常 2:注销
  8465. type: integer
  8466. goodunitid:
  8467. description: 报价单位ID
  8468. type: integer
  8469. innerdealmode:
  8470. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8471. type: integer
  8472. isbuylimited:
  8473. description: 是否限制建仓量 - 0:不限制 1:限制
  8474. type: integer
  8475. marketid:
  8476. description: 所属市场ID
  8477. type: integer
  8478. modifierid:
  8479. description: 修改人
  8480. type: integer
  8481. modifytime:
  8482. description: 修改时间
  8483. type: string
  8484. outerdealmode:
  8485. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8486. type: integer
  8487. outergroupcode:
  8488. description: 外部商品组代码[通道交易]
  8489. type: string
  8490. premiumdecimalplace:
  8491. description: 权利金小数位[场外期权]
  8492. type: integer
  8493. premiumspreadalgorithm:
  8494. description: 权利金点差方式[场外期权] 1:比率 2:固定
  8495. type: integer
  8496. premiumspreadvalue:
  8497. description: 权利金点差值[场外期权]
  8498. type: number
  8499. qtydecimalplace:
  8500. description: 成交量小数位
  8501. type: integer
  8502. quotegear:
  8503. description: 行情档位(1-10)
  8504. type: integer
  8505. quoteminunit:
  8506. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8507. type: integer
  8508. quoterid:
  8509. description: 报价商ID[场外期权]
  8510. type: integer
  8511. quotesourcegroupid:
  8512. description: 所属行情源分组ID[参考行情市场用\通道交易]
  8513. type: integer
  8514. syncgoodsqty:
  8515. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  8516. type: integer
  8517. required:
  8518. - goodsgroupid
  8519. - goodsgroupname
  8520. - goodsgroupstatus
  8521. - marketid
  8522. type: object
  8523. models.Goodssortbypreposition:
  8524. properties:
  8525. goodscode:
  8526. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  8527. type: string
  8528. goodsgroupcode:
  8529. description: 品种代码
  8530. type: string
  8531. prepositionqty:
  8532. description: 昨持仓量
  8533. type: integer
  8534. sortindex:
  8535. description: 排序
  8536. type: integer
  8537. tradedate:
  8538. description: 交易日
  8539. type: string
  8540. updatetime:
  8541. description: 更新时间
  8542. type: string
  8543. required:
  8544. - goodscode
  8545. - tradedate
  8546. type: object
  8547. models.Hedgeinnerholderdetail:
  8548. properties:
  8549. accountid:
  8550. description: 账号ID
  8551. type: integer
  8552. buyorsell:
  8553. description: 方向 - 0:买 1:卖
  8554. type: integer
  8555. freezeqty:
  8556. description: 冻结数量 - 按单平使用
  8557. type: integer
  8558. goodsid:
  8559. description: 商品ID
  8560. type: integer
  8561. holderamount:
  8562. description: 持仓金额 [商品币种]
  8563. type: number
  8564. holderdays:
  8565. description: 剩余冻结天数
  8566. type: integer
  8567. holderprice:
  8568. description: 持仓价格
  8569. type: number
  8570. holderqty:
  8571. description: 持仓数量
  8572. type: integer
  8573. marketid:
  8574. description: 市场ID
  8575. type: integer
  8576. openprice:
  8577. description: 建仓价格
  8578. type: number
  8579. openqty:
  8580. description: 建仓数量
  8581. type: integer
  8582. parentaccountid:
  8583. description: 所属母账户
  8584. type: integer
  8585. releaseamount:
  8586. description: 释放持仓金额[商品币种]
  8587. type: number
  8588. tradeamount:
  8589. description: 成交金额[账户]
  8590. type: number
  8591. tradedate:
  8592. description: 交易日(yyyyMMdd)
  8593. type: string
  8594. tradeid:
  8595. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8596. type: string
  8597. tradetime:
  8598. description: 交易时间
  8599. type: string
  8600. required:
  8601. - buyorsell
  8602. - tradeid
  8603. type: object
  8604. models.Hedgemarketopenlog:
  8605. properties:
  8606. accountid:
  8607. description: 资金账号[外部母账户]
  8608. type: integer
  8609. fcname:
  8610. description: 期货公司名称
  8611. type: string
  8612. handlestatus:
  8613. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  8614. type: integer
  8615. marketid:
  8616. description: 市场ID
  8617. type: integer
  8618. status:
  8619. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  8620. type: integer
  8621. tradedate:
  8622. description: 交易日(yyyyMMdd)
  8623. type: string
  8624. updatetime:
  8625. description: 更新时间
  8626. type: string
  8627. required:
  8628. - accountid
  8629. type: object
  8630. models.HsbyBuyMyPayOrder:
  8631. properties:
  8632. agreeunit:
  8633. description: 合约单位
  8634. type: number
  8635. buyaccountid:
  8636. description: 买方账号ID[报价币种]
  8637. type: integer
  8638. buyorderid:
  8639. description: 买方委托单号
  8640. type: string
  8641. createtime:
  8642. description: 创建时间
  8643. type: string
  8644. currencysign:
  8645. description: 货币符号
  8646. type: string
  8647. decimalplace:
  8648. description: 报价小数位
  8649. type: integer
  8650. goodscode:
  8651. description: 商品代码(内部)
  8652. type: string
  8653. goodsid:
  8654. description: 商品ID
  8655. type: integer
  8656. goodsname:
  8657. description: 商品名称
  8658. type: string
  8659. marketid:
  8660. description: 市场ID
  8661. type: integer
  8662. offamount:
  8663. description: 优惠金额
  8664. type: number
  8665. originalamount:
  8666. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  8667. type: number
  8668. payamount:
  8669. description: 支付金额 = TradeAmount + TradeCharge
  8670. type: number
  8671. payflag:
  8672. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8673. type: integer
  8674. paylimitedtime:
  8675. description: 支付期限
  8676. type: string
  8677. paytime:
  8678. description: 付款时间
  8679. type: string
  8680. picurls1:
  8681. description: 预售商品介绍图片[多张用逗号分隔]
  8682. type: string
  8683. picurls2:
  8684. description: 挂牌商品介绍图片[多张用逗号分隔]
  8685. type: string
  8686. sellaccountid:
  8687. description: 卖方账号ID[报价币种]
  8688. type: integer
  8689. sellorderid:
  8690. description: 卖方委托单号
  8691. type: string
  8692. tradeamount:
  8693. description: 成交金额
  8694. type: number
  8695. tradecharge:
  8696. description: 成交手续费(买方)
  8697. type: number
  8698. tradedate:
  8699. description: 交易日(yyyyMMdd)
  8700. type: string
  8701. tradeid:
  8702. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8703. type: string
  8704. trademode:
  8705. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8706. 21:竞拍-大宗式 22:受托竞价
  8707. type: integer
  8708. tradeprice:
  8709. description: 成交价格
  8710. type: number
  8711. tradeqty:
  8712. description: 成交数量
  8713. type: integer
  8714. vendorname1:
  8715. description: 预售商品供应商名称
  8716. type: string
  8717. vendorname2:
  8718. description: 挂牌商品供应商名称
  8719. type: string
  8720. required:
  8721. - goodscode
  8722. - goodsname
  8723. - tradeid
  8724. - trademode
  8725. type: object
  8726. models.HsbyBuyMyTradeDetail:
  8727. properties:
  8728. accountid:
  8729. description: 账户ID[报价币种]
  8730. type: integer
  8731. agreeunit:
  8732. description: 合约单位
  8733. type: number
  8734. amount:
  8735. description: 金额 = 价格 * 数量 * 合约单位
  8736. type: number
  8737. buyorsell:
  8738. description: 买卖 - 0:买 1:卖
  8739. type: integer
  8740. currencysign:
  8741. description: 货币符号
  8742. type: string
  8743. decimalplace:
  8744. description: 报价小数位
  8745. type: integer
  8746. goodscode:
  8747. description: 商品代码(内部)
  8748. type: string
  8749. goodsid:
  8750. description: 商品ID
  8751. type: integer
  8752. goodsname:
  8753. description: 商品名称
  8754. type: string
  8755. marketid:
  8756. description: 市场ID
  8757. type: integer
  8758. orderamount:
  8759. description: 委托金额
  8760. type: number
  8761. orderid:
  8762. description: 单号(成交单号)
  8763. type: string
  8764. picurls1:
  8765. description: 预售商品介绍图片[多张用逗号分隔]
  8766. type: string
  8767. picurls2:
  8768. description: 挂牌商品介绍图片[多张用逗号分隔]
  8769. type: string
  8770. price:
  8771. description: 价格
  8772. type: number
  8773. qty:
  8774. description: 数量
  8775. type: integer
  8776. time:
  8777. description: 时间
  8778. type: string
  8779. trademode:
  8780. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8781. 21:竞拍-大宗式 22:受托竞价
  8782. type: integer
  8783. vendorname1:
  8784. description: 预售商品供应商名称
  8785. type: string
  8786. vendorname2:
  8787. description: 挂牌商品供应商名称
  8788. type: string
  8789. required:
  8790. - accountid
  8791. - buyorsell
  8792. - goodscode
  8793. - goodsid
  8794. - goodsname
  8795. - marketid
  8796. - orderid
  8797. - qty
  8798. - time
  8799. - trademode
  8800. type: object
  8801. models.HsbyGoodsOrderDetail:
  8802. properties:
  8803. buyorsell:
  8804. description: 买卖 - 0:买 1:卖
  8805. type: integer
  8806. currencysign:
  8807. description: 货币符号
  8808. type: string
  8809. customername:
  8810. description: 客户名称(企业名称),已脱敏
  8811. type: string
  8812. enableqty:
  8813. description: 可用数量
  8814. type: integer
  8815. goodunit:
  8816. description: 报价单位
  8817. type: string
  8818. orderid:
  8819. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8820. type: string
  8821. orderprice:
  8822. description: 委托价格
  8823. type: number
  8824. ordertime:
  8825. description: 委托时间
  8826. type: string
  8827. required:
  8828. - buyorsell
  8829. - orderid
  8830. - ordertime
  8831. type: object
  8832. models.HsbyListingGoodsDetail:
  8833. properties:
  8834. agreeunit:
  8835. description: 合约单位
  8836. type: number
  8837. buymaxqty:
  8838. description: 购买上限 [71] - 0为不限
  8839. type: integer
  8840. currency:
  8841. description: 货币
  8842. type: string
  8843. currencysign:
  8844. description: 货币符号
  8845. type: string
  8846. decimalplace:
  8847. description: 报价小数位
  8848. type: integer
  8849. desccityid:
  8850. description: 目的地(市)ID
  8851. type: integer
  8852. descprovinceid:
  8853. description: 目的地(省)ID
  8854. type: integer
  8855. goodscode:
  8856. description: 商品代码(内部)
  8857. type: string
  8858. goodsdesc:
  8859. description: 商品详情
  8860. type: string
  8861. goodsid:
  8862. description: 商品ID(自增ID SEQ_GOODS)
  8863. type: integer
  8864. goodsname:
  8865. description: 商品名称
  8866. type: string
  8867. goodsprice:
  8868. description: 商品价格
  8869. type: number
  8870. hotindex:
  8871. description: 景点热度
  8872. type: integer
  8873. last:
  8874. description: 现价
  8875. type: number
  8876. limitdown:
  8877. description: 跌停价
  8878. type: number
  8879. limitup:
  8880. description: 涨停价
  8881. type: number
  8882. lotsize:
  8883. description: 手数最小变动单位
  8884. type: integer
  8885. marketid:
  8886. description: 所属市场ID
  8887. type: integer
  8888. picurls:
  8889. description: 介绍图片[多张用逗号分隔]
  8890. type: string
  8891. quoteminunit:
  8892. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8893. type: integer
  8894. stepvalue:
  8895. description: 价格最小变动单位
  8896. type: number
  8897. trademode:
  8898. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8899. 21:竞拍-大宗式 22:受托竞价
  8900. type: integer
  8901. vendorattr:
  8902. description: 供应商附件(多张,逗号分隔)
  8903. type: string
  8904. vendorname:
  8905. description: 供应商名称
  8906. type: string
  8907. vendorphone:
  8908. description: 供应商客服电话
  8909. type: string
  8910. videourls:
  8911. description: 介绍视频[多张用逗号分隔]
  8912. type: string
  8913. required:
  8914. - goodscode
  8915. - goodsid
  8916. - goodsname
  8917. - marketid
  8918. - trademode
  8919. type: object
  8920. models.HsbyMarketGoods:
  8921. properties:
  8922. accountid:
  8923. description: 账户ID[报价币种]
  8924. type: integer
  8925. agreeunit:
  8926. description: 合约单位
  8927. type: number
  8928. buyorsell:
  8929. description: 买卖 - 0:买 1:卖
  8930. type: integer
  8931. categoryid:
  8932. description: 类别ID(WRCATEGORY)
  8933. type: integer
  8934. currency:
  8935. description: 货币
  8936. type: string
  8937. currencysign:
  8938. description: 货币符号
  8939. type: string
  8940. customername:
  8941. description: 卖家名称
  8942. type: string
  8943. decimalplace:
  8944. description: 报价小数位
  8945. type: integer
  8946. goodscode:
  8947. description: 商品代码(内部)
  8948. type: string
  8949. goodsid:
  8950. description: 商品ID
  8951. type: integer
  8952. goodsname:
  8953. description: 商品名称
  8954. type: string
  8955. goodsprice:
  8956. description: 商品价格
  8957. type: number
  8958. hascoupon:
  8959. description: 是否可用优惠卷
  8960. type: boolean
  8961. hotindex:
  8962. description: 景点热度
  8963. type: integer
  8964. marketid:
  8965. description: 市场ID
  8966. type: integer
  8967. orderid:
  8968. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8969. type: string
  8970. orderprice:
  8971. description: 委托价格
  8972. type: number
  8973. orderstatus:
  8974. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8975. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8976. 16:成交失败违约(荷兰式竞拍专用)
  8977. type: integer
  8978. picurls:
  8979. description: 介绍图片[多张用逗号分隔]
  8980. type: string
  8981. quoteminunit:
  8982. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8983. type: integer
  8984. sellUserID:
  8985. description: 卖方UserID
  8986. type: integer
  8987. trademode:
  8988. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8989. 21:竞拍-大宗式 22:受托竞价
  8990. type: integer
  8991. videourls:
  8992. description: 介绍视频[多张用逗号分隔]
  8993. type: string
  8994. required:
  8995. - accountid
  8996. - buyorsell
  8997. - goodscode
  8998. - goodsid
  8999. - goodsname
  9000. - marketid
  9001. - orderid
  9002. - trademode
  9003. type: object
  9004. models.HsbyMarketGoodsDetail:
  9005. properties:
  9006. accountid:
  9007. description: 账户ID[报价币种]
  9008. type: integer
  9009. agreeunit:
  9010. description: 合约单位
  9011. type: number
  9012. buymaxqty:
  9013. description: 购买上限 [71] - 0为不限
  9014. type: integer
  9015. buyorsell:
  9016. description: 买卖 - 0:买 1:卖
  9017. type: integer
  9018. cancelqty:
  9019. description: 撤单数量
  9020. type: integer
  9021. categoryid:
  9022. description: 类别ID(WRCATEGORY)
  9023. type: integer
  9024. currency:
  9025. description: 货币
  9026. type: string
  9027. currencysign:
  9028. description: 货币符号
  9029. type: string
  9030. customername:
  9031. description: 卖家名称
  9032. type: string
  9033. decimalplace:
  9034. description: 报价小数位
  9035. type: integer
  9036. goodscode:
  9037. description: 商品代码(内部)
  9038. type: string
  9039. goodsdesc:
  9040. description: 商品详情
  9041. type: string
  9042. goodsid:
  9043. description: 商品ID
  9044. type: integer
  9045. goodsname:
  9046. description: 商品名称
  9047. type: string
  9048. goodsprice:
  9049. description: 商品价格
  9050. type: number
  9051. hotindex:
  9052. description: 景点热度
  9053. type: integer
  9054. lotsize:
  9055. description: 手数最小变动单位
  9056. type: integer
  9057. marketid:
  9058. description: 市场ID
  9059. type: integer
  9060. orderid:
  9061. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9062. type: string
  9063. orderprice:
  9064. description: 委托价格
  9065. type: number
  9066. orderqty:
  9067. description: 委托数量
  9068. type: integer
  9069. orderstatus:
  9070. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  9071. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  9072. 16:成交失败违约(荷兰式竞拍专用)
  9073. type: integer
  9074. picurls:
  9075. description: 介绍图片[多张用逗号分隔]
  9076. type: string
  9077. quoteminunit:
  9078. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9079. type: integer
  9080. sellUserID:
  9081. description: 卖方UserID
  9082. type: integer
  9083. trademode:
  9084. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9085. 21:竞拍-大宗式 22:受托竞价
  9086. type: integer
  9087. tradeqty:
  9088. description: 成交数量
  9089. type: integer
  9090. vendorattr:
  9091. description: 供应商附件(多张,逗号分隔)
  9092. type: string
  9093. vendorname:
  9094. description: 供应商名称
  9095. type: string
  9096. vendorphone:
  9097. description: 供应商客服电话
  9098. type: string
  9099. videourls:
  9100. description: 介绍视频[多张用逗号分隔]
  9101. type: string
  9102. required:
  9103. - accountid
  9104. - buyorsell
  9105. - goodscode
  9106. - goodsid
  9107. - goodsname
  9108. - marketid
  9109. - orderid
  9110. - orderqty
  9111. - trademode
  9112. type: object
  9113. models.HsbyMarketInfo:
  9114. properties:
  9115. marketid:
  9116. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  9117. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  9118. type: integer
  9119. marketname:
  9120. description: 市场名称
  9121. type: string
  9122. marketstatus:
  9123. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  9124. type: integer
  9125. trademode:
  9126. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9127. 21:竞拍-大宗式 22:受托竞价
  9128. type: integer
  9129. required:
  9130. - marketid
  9131. - marketstatus
  9132. - trademode
  9133. type: object
  9134. models.HsbyMyGoods:
  9135. properties:
  9136. accountid:
  9137. description: 账号Id
  9138. type: integer
  9139. agreeunit:
  9140. description: 合约单位
  9141. type: number
  9142. buyaverageprice:
  9143. description: 持仓均价
  9144. type: number
  9145. buycurholderamount:
  9146. description: 买当前持仓总金额[商品币种]
  9147. type: number
  9148. buycurpositionqty:
  9149. description: 买当前持仓总数量
  9150. type: integer
  9151. buymaxqty:
  9152. description: 购买上限 [71] - 0为不限
  9153. type: integer
  9154. currencysign:
  9155. description: 货币符号
  9156. type: string
  9157. decimalplace:
  9158. description: 报价小数位
  9159. type: integer
  9160. enableqty:
  9161. description: 可用数量
  9162. type: integer
  9163. goodscode:
  9164. description: 商品代码(内部)
  9165. type: string
  9166. goodsid:
  9167. description: 商品Id
  9168. type: integer
  9169. goodsname:
  9170. description: 商品名称
  9171. type: string
  9172. goodsprice:
  9173. description: 商品价格
  9174. type: number
  9175. goodsstatus:
  9176. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  9177. type: integer
  9178. last:
  9179. description: 现价(仅使用于挂牌点选)
  9180. type: number
  9181. limitdown:
  9182. description: 跌停价(仅使用于挂牌点选)
  9183. type: number
  9184. limitup:
  9185. description: 涨停价(仅使用于挂牌点选)
  9186. type: number
  9187. lotsize:
  9188. description: 手数最小变动单位
  9189. type: integer
  9190. marketid:
  9191. description: 所属市场ID
  9192. type: integer
  9193. picurls:
  9194. description: 介绍图片[多张用逗号分隔]
  9195. type: string
  9196. quoteminunit:
  9197. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9198. type: integer
  9199. stepvalue:
  9200. description: 价格最小变动单位
  9201. type: number
  9202. trademode:
  9203. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9204. 21:竞拍-大宗式 22:受托竞价
  9205. type: integer
  9206. required:
  9207. - accountid
  9208. - goodscode
  9209. - goodsid
  9210. - goodsname
  9211. - marketid
  9212. - trademode
  9213. type: object
  9214. models.HsbyMyPackage:
  9215. properties:
  9216. accountid:
  9217. description: 账户ID
  9218. type: integer
  9219. address:
  9220. description: 提货人详细地址
  9221. type: string
  9222. agreeunit:
  9223. description: 合约单位
  9224. type: number
  9225. amount:
  9226. description: 提货金额
  9227. type: number
  9228. auditer:
  9229. description: 审核人
  9230. type: integer
  9231. audittime:
  9232. description: 审核时间
  9233. type: string
  9234. averageprice:
  9235. description: 均价
  9236. type: number
  9237. cardnum:
  9238. description: 提货人证件号码
  9239. type: string
  9240. cardtypeid:
  9241. description: 提货人证件类型
  9242. type: integer
  9243. checkremark:
  9244. description: 审核备注
  9245. type: string
  9246. currencysign:
  9247. description: 货币符号
  9248. type: string
  9249. decimalplace:
  9250. description: 报价小数位
  9251. type: integer
  9252. goodscode:
  9253. description: 商品代码(内部)
  9254. type: string
  9255. goodsid:
  9256. description: 商品ID
  9257. type: integer
  9258. goodsname:
  9259. description: 商品名称
  9260. type: string
  9261. handlestatus:
  9262. description: 处理状态
  9263. type: integer
  9264. marketid:
  9265. description: 市场ID
  9266. type: integer
  9267. phonenum:
  9268. description: 提货人联系方式
  9269. type: string
  9270. picurls:
  9271. description: 介绍图片[多张用逗号分隔]
  9272. type: string
  9273. qty:
  9274. description: 提货数量
  9275. type: number
  9276. recivername:
  9277. description: 提货人姓名
  9278. type: string
  9279. reqtime:
  9280. description: 更新时间
  9281. type: string
  9282. takemode:
  9283. description: 提货方式 - 2:自提 3:配送
  9284. type: integer
  9285. takeorderid:
  9286. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  9287. type: string
  9288. takeorderstatus:
  9289. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  9290. type: integer
  9291. takeremark:
  9292. description: 提货备注
  9293. type: string
  9294. tradedate:
  9295. description: 交易日(yyyyMMdd)
  9296. type: string
  9297. trademode:
  9298. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9299. 21:竞拍-大宗式 22:受托竞价
  9300. type: integer
  9301. userid:
  9302. description: 用户ID
  9303. type: integer
  9304. vendorname:
  9305. description: 供应商名称
  9306. type: string
  9307. required:
  9308. - goodscode
  9309. - goodsname
  9310. - takeorderid
  9311. - trademode
  9312. type: object
  9313. models.HsbyPreGoods:
  9314. properties:
  9315. agreeunit:
  9316. description: 合约单位
  9317. type: number
  9318. currency:
  9319. description: 货币
  9320. type: string
  9321. currencysign:
  9322. description: 货币符号
  9323. type: string
  9324. decimalplace:
  9325. description: 报价小数位
  9326. type: integer
  9327. desccityid:
  9328. description: 目的地(市)
  9329. type: integer
  9330. descprovinceid:
  9331. description: 目的地(省)
  9332. type: integer
  9333. enableqty:
  9334. description: 剩余数量
  9335. type: integer
  9336. goodscode:
  9337. description: 商品代码(内部)
  9338. type: string
  9339. goodsid:
  9340. description: 商品ID(自增ID SEQ_GOODS)
  9341. type: integer
  9342. goodsname:
  9343. description: 商品名称
  9344. type: string
  9345. goodsstatus:
  9346. description: 商品状态- 2:未上市 3:上市
  9347. type: integer
  9348. lasttradedate:
  9349. description: 最后交易日期(状态:待退市)
  9350. type: string
  9351. listingdate:
  9352. description: 交易开始日期
  9353. type: string
  9354. marketid:
  9355. description: 所属市场ID
  9356. type: integer
  9357. picurls:
  9358. description: 介绍图片[多张用逗号分隔]
  9359. type: string
  9360. presaledqty:
  9361. description: 已预售量(预售结束时更新)
  9362. type: integer
  9363. presaleqty:
  9364. description: 预售数量
  9365. type: integer
  9366. quoteminunit:
  9367. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9368. type: integer
  9369. refprice:
  9370. description: 参考价格[一口价]
  9371. type: number
  9372. relatedgoodsid:
  9373. description: 关联交易合约ID
  9374. type: integer
  9375. trademode:
  9376. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9377. 21:竞拍-大宗式 22:受托竞价
  9378. type: integer
  9379. videourls:
  9380. description: 介绍视频[多张用逗号分隔]
  9381. type: string
  9382. required:
  9383. - goodscode
  9384. - goodsid
  9385. - goodsname
  9386. - marketid
  9387. - trademode
  9388. type: object
  9389. models.HsbyPreGoodsDetail:
  9390. properties:
  9391. agreeunit:
  9392. description: 合约单位
  9393. type: number
  9394. buymaxqty:
  9395. description: 购买上限 [71] - 0为不限
  9396. type: integer
  9397. currency:
  9398. description: 货币
  9399. type: string
  9400. currencysign:
  9401. description: 货币符号
  9402. type: string
  9403. customername:
  9404. description: 发行单位
  9405. type: string
  9406. decimalplace:
  9407. description: 报价小数位
  9408. type: integer
  9409. desccityid:
  9410. description: 目的地(市)ID
  9411. type: integer
  9412. descprovinceid:
  9413. description: 目的地(省)ID
  9414. type: integer
  9415. enableqty:
  9416. description: 剩余数量
  9417. type: integer
  9418. goodscode:
  9419. description: 商品代码(内部)
  9420. type: string
  9421. goodsdesc:
  9422. description: 商品详情
  9423. type: string
  9424. goodsid:
  9425. description: 商品ID(自增ID SEQ_GOODS)
  9426. type: integer
  9427. goodsname:
  9428. description: 商品名称
  9429. type: string
  9430. goodsstatus:
  9431. description: 商品状态- 2:未上市 3:上市
  9432. type: integer
  9433. goodunit:
  9434. description: 报价单位
  9435. type: string
  9436. lasttradedate:
  9437. description: 最后交易日期(状态:待退市)
  9438. type: string
  9439. listingdate:
  9440. description: 交易开始日期
  9441. type: string
  9442. lotsize:
  9443. description: 手数最小变动单位
  9444. type: integer
  9445. marketid:
  9446. description: 所属市场ID
  9447. type: integer
  9448. picurls:
  9449. description: 介绍图片[多张用逗号分隔]
  9450. type: string
  9451. presaledqty:
  9452. description: 已预售量(预售结束时更新)
  9453. type: integer
  9454. presaleqty:
  9455. description: 预售数量
  9456. type: integer
  9457. quoteminunit:
  9458. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9459. type: integer
  9460. refprice:
  9461. description: 参考价格[一口价]
  9462. type: number
  9463. relatedgoodsid:
  9464. description: 关联交易合约ID
  9465. type: integer
  9466. stepvalue:
  9467. description: 价格最小变动单位
  9468. type: number
  9469. trademode:
  9470. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9471. 21:竞拍-大宗式 22:受托竞价
  9472. type: integer
  9473. vendorattr:
  9474. description: 供应商附件(多张,逗号分隔)
  9475. type: string
  9476. vendorname:
  9477. description: 供应商名称
  9478. type: string
  9479. vendorphone:
  9480. description: 供应商客服电话
  9481. type: string
  9482. videourls:
  9483. description: 介绍视频[多张用逗号分隔]
  9484. type: string
  9485. required:
  9486. - goodscode
  9487. - goodsid
  9488. - goodsname
  9489. - marketid
  9490. - trademode
  9491. type: object
  9492. models.HsbySellCollectionOrder:
  9493. properties:
  9494. agreeunit:
  9495. description: 合约单位
  9496. type: number
  9497. buyaccountid:
  9498. description: 买方账号ID[报价币种]
  9499. type: integer
  9500. buyorderid:
  9501. description: 买方委托单号
  9502. type: string
  9503. createtime:
  9504. description: 创建时间
  9505. type: string
  9506. currencysign:
  9507. description: 货币符号
  9508. type: string
  9509. decimalplace:
  9510. description: 报价小数位
  9511. type: integer
  9512. goodscode:
  9513. description: 商品代码(内部)
  9514. type: string
  9515. goodsid:
  9516. description: 商品ID
  9517. type: integer
  9518. goodsname:
  9519. description: 商品名称
  9520. type: string
  9521. marketid:
  9522. description: 市场ID
  9523. type: integer
  9524. offamount:
  9525. description: 优惠金额
  9526. type: number
  9527. payamount:
  9528. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  9529. type: number
  9530. payflag:
  9531. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  9532. type: integer
  9533. paylimitedtime:
  9534. description: 支付期限
  9535. type: string
  9536. paytime:
  9537. description: 付款时间
  9538. type: string
  9539. picurls:
  9540. description: 商品介绍图片[多张用逗号分隔]
  9541. type: string
  9542. sellaccountid:
  9543. description: 卖方账号ID[报价币种]
  9544. type: integer
  9545. sellorderid:
  9546. description: 卖方委托单号
  9547. type: string
  9548. tradeamount:
  9549. description: 成交金额
  9550. type: number
  9551. tradecharge:
  9552. description: 成交手续费(买方)
  9553. type: number
  9554. tradedate:
  9555. description: 交易日(yyyyMMdd)
  9556. type: string
  9557. tradeid:
  9558. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9559. type: string
  9560. trademode:
  9561. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9562. 21:竞拍-大宗式 22:受托竞价
  9563. type: integer
  9564. tradeprice:
  9565. description: 成交价格
  9566. type: number
  9567. tradeqty:
  9568. description: 成交数量
  9569. type: integer
  9570. required:
  9571. - goodscode
  9572. - goodsname
  9573. - tradeid
  9574. - trademode
  9575. type: object
  9576. models.HsbySellMyDetail:
  9577. properties:
  9578. accountid:
  9579. description: 账户ID[报价币种]
  9580. type: integer
  9581. agreeunit:
  9582. description: 合约单位
  9583. type: number
  9584. buyorsell:
  9585. description: 买卖 - 0:买 1:卖
  9586. type: integer
  9587. currencysign:
  9588. description: 货币符号
  9589. type: string
  9590. decimalplace:
  9591. description: 报价小数位
  9592. type: integer
  9593. goodscode:
  9594. description: 商品代码(内部)
  9595. type: string
  9596. goodsid:
  9597. description: 商品ID
  9598. type: integer
  9599. goodsname:
  9600. description: 商品名称
  9601. type: string
  9602. marketid:
  9603. description: 市场ID
  9604. type: integer
  9605. orderid:
  9606. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  9607. type: string
  9608. ordertype:
  9609. description: 单据类型:0 - 发布中, 1 - 已完成
  9610. type: integer
  9611. picurls:
  9612. description: 介绍图片[多张用逗号分隔]
  9613. type: string
  9614. price:
  9615. description: 价格
  9616. type: number
  9617. qty:
  9618. description: 数量
  9619. type: integer
  9620. time:
  9621. description: 时间
  9622. type: string
  9623. trademode:
  9624. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9625. 21:竞拍-大宗式 22:受托竞价
  9626. type: integer
  9627. vendorname:
  9628. description: 供应商名称
  9629. type: string
  9630. required:
  9631. - accountid
  9632. - buyorsell
  9633. - goodscode
  9634. - goodsid
  9635. - goodsname
  9636. - marketid
  9637. - orderid
  9638. - time
  9639. - trademode
  9640. type: object
  9641. models.HsbyTopGoods:
  9642. properties:
  9643. agreeunit:
  9644. description: 合约单位
  9645. type: number
  9646. currency:
  9647. description: 货币
  9648. type: string
  9649. currencysign:
  9650. description: 货币符号
  9651. type: string
  9652. decimalplace:
  9653. description: 报价小数位
  9654. type: integer
  9655. desccityid:
  9656. description: 目的地(市)
  9657. type: integer
  9658. descprovinceid:
  9659. description: 目的地(省)
  9660. type: integer
  9661. goodscode:
  9662. description: 商品代码(内部)
  9663. type: string
  9664. goodsid:
  9665. description: 商品ID(自增ID SEQ_GOODS)
  9666. type: integer
  9667. goodsname:
  9668. description: 商品名称
  9669. type: string
  9670. hotindex:
  9671. description: 景点热度
  9672. type: integer
  9673. last:
  9674. description: 现价
  9675. type: number
  9676. marketid:
  9677. description: 所属市场ID
  9678. type: integer
  9679. picurls:
  9680. description: 介绍图片[多张用逗号分隔]
  9681. type: string
  9682. quoteminunit:
  9683. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9684. type: integer
  9685. trademode:
  9686. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9687. 21:竞拍-大宗式 22:受托竞价
  9688. type: integer
  9689. videourls:
  9690. description: 介绍视频[多张用逗号分隔]
  9691. type: string
  9692. required:
  9693. - goodscode
  9694. - goodsid
  9695. - goodsname
  9696. - marketid
  9697. - trademode
  9698. type: object
  9699. models.HybsMyBuyOrderDetail:
  9700. properties:
  9701. accountid:
  9702. description: 账户ID[报价币种]
  9703. type: integer
  9704. agreeunit:
  9705. description: 合约单位
  9706. type: number
  9707. buyorsell:
  9708. description: 买卖 - 0:买 1:卖
  9709. type: integer
  9710. cancelqty:
  9711. description: 撤单数量
  9712. type: integer
  9713. currencysign:
  9714. description: 货币符号
  9715. type: string
  9716. decimalplace:
  9717. description: 报价小数位
  9718. type: integer
  9719. goodscode:
  9720. description: 商品代码(内部)
  9721. type: string
  9722. goodsid:
  9723. description: 商品ID
  9724. type: integer
  9725. goodsname:
  9726. description: 商品名称
  9727. type: string
  9728. listingselecttype:
  9729. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9730. type: integer
  9731. marketid:
  9732. description: 市场ID
  9733. type: integer
  9734. mybuystatus:
  9735. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  9736. type: integer
  9737. orderamount:
  9738. description: 委托金额
  9739. type: number
  9740. orderid:
  9741. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9742. type: string
  9743. orderprice:
  9744. description: 委托价格
  9745. type: number
  9746. orderqty:
  9747. description: 委托数量
  9748. type: integer
  9749. orderstatus:
  9750. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  9751. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  9752. 16:成交失败违约(荷兰式竞拍专用)
  9753. type: integer
  9754. ordertime:
  9755. description: 委托时间
  9756. type: string
  9757. picurls1:
  9758. description: 预售商品介绍图片[多张用逗号分隔]
  9759. type: string
  9760. picurls2:
  9761. description: 挂牌商品介绍图片[多张用逗号分隔]
  9762. type: string
  9763. trademode:
  9764. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9765. 21:竞拍-大宗式 22:受托竞价
  9766. type: integer
  9767. tradeqty:
  9768. description: 成交数量
  9769. type: integer
  9770. vendorname1:
  9771. description: 预售商品供应商名称
  9772. type: string
  9773. vendorname2:
  9774. description: 挂牌商品供应商名称
  9775. type: string
  9776. required:
  9777. - accountid
  9778. - buyorsell
  9779. - goodscode
  9780. - goodsid
  9781. - goodsname
  9782. - marketid
  9783. - orderid
  9784. - orderqty
  9785. - ordertime
  9786. - trademode
  9787. type: object
  9788. models.Loginaccount:
  9789. properties:
  9790. accountname:
  9791. description: 账户名称
  9792. type: string
  9793. canoutin:
  9794. description: 是否可出入金 - 0:不可 1:可
  9795. type: integer
  9796. clientroleid:
  9797. description: 终端角色ID
  9798. type: integer
  9799. haslogined:
  9800. description: 是否已登录 - 0:未登录 1:已登录
  9801. type: integer
  9802. hasupdatedpwd:
  9803. description: 是否已更改密码 - 0:未修改 1:已修改
  9804. type: integer
  9805. lastloginip:
  9806. description: 最新登录地址
  9807. type: string
  9808. lastloginmode:
  9809. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  9810. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  9811. type: integer
  9812. lastloginremark:
  9813. description: 最新登录描述
  9814. type: string
  9815. lastlogintime:
  9816. description: 最新登录时间
  9817. type: string
  9818. logincode:
  9819. description: 登录代码
  9820. type: string
  9821. loginfailnum:
  9822. description: 连续登录失败次数(登录成功时清零)
  9823. type: integer
  9824. loginid:
  9825. description: 登陆账号
  9826. type: integer
  9827. loginport:
  9828. description: 最新登录端口
  9829. type: integer
  9830. loginstatus:
  9831. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  9832. type: integer
  9833. loginusertype:
  9834. description: 登录账号类型 - 1:投资者 2:机构交易员
  9835. type: integer
  9836. mobile:
  9837. description: 手机号码(加密存储)
  9838. type: string
  9839. modifierid:
  9840. description: 修改人
  9841. type: integer
  9842. modifysrc:
  9843. description: 审核来源 - 1:管理端 2:终端
  9844. type: integer
  9845. modifytime:
  9846. description: 修改时间
  9847. type: string
  9848. password:
  9849. description: 登陆密码
  9850. type: string
  9851. pwdwrongcount:
  9852. description: 密码错误次数
  9853. type: integer
  9854. relateduserid:
  9855. description: 关联用户ID(机构)
  9856. type: integer
  9857. taaccountrighttype:
  9858. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  9859. type: integer
  9860. unfreezetime:
  9861. description: 账户解冻时间
  9862. type: string
  9863. userid:
  9864. description: 用户ID
  9865. type: integer
  9866. required:
  9867. - loginid
  9868. type: object
  9869. models.MainAccountInfo:
  9870. properties:
  9871. accountid:
  9872. description: 账号id
  9873. type: integer
  9874. accountname:
  9875. description: 账号名称(taaccount表中的名称)
  9876. type: string
  9877. appid:
  9878. description: AppID
  9879. type: string
  9880. authcode:
  9881. description: 授权码
  9882. type: string
  9883. brokerid:
  9884. description: 经纪商id
  9885. type: string
  9886. fcid:
  9887. description: 期货公司id
  9888. type: integer
  9889. fcname:
  9890. description: 期货公司代码
  9891. type: string
  9892. hedgeaccountcode:
  9893. description: 外部账号代码(主账号登录代码)
  9894. type: string
  9895. hedgeaccountpwd:
  9896. description: 密码
  9897. type: string
  9898. ismain:
  9899. description: 是否主账号
  9900. type: integer
  9901. relateduserid:
  9902. description: 关联用户id
  9903. type: integer
  9904. userid:
  9905. description: 关联用户id
  9906. type: integer
  9907. type: object
  9908. models.Market:
  9909. properties:
  9910. auctionwrtype:
  9911. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  9912. type: integer
  9913. canacceptquote:
  9914. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  9915. type: integer
  9916. cangoodsexercise:
  9917. description: '[期权]是否可现货行权- 0:否 1:是'
  9918. type: integer
  9919. cangoodsexercisetype:
  9920. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  9921. type: integer
  9922. canmanualquotestrike:
  9923. description: 是否可手动报行权价- 0:否 1:是 [期权]
  9924. type: integer
  9925. canmutistage:
  9926. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  9927. type: integer
  9928. canpreexercise:
  9929. description: '[期权]是否可预申报- 0:否 1:是'
  9930. type: integer
  9931. clearinterval:
  9932. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  9933. type: integer
  9934. contracttmp:
  9935. description: 合同模板[荷兰式][竞价式][仓单贸易]
  9936. type: string
  9937. exchareaid:
  9938. description: 所属交易所,可以没有
  9939. type: integer
  9940. goodstype:
  9941. description: 商品类型 - 1:交易商品 2:仓单商品
  9942. type: integer
  9943. hasrebate:
  9944. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  9945. type: integer
  9946. hastradecredit:
  9947. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  9948. type: integer
  9949. haswr:
  9950. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  9951. type: integer
  9952. isdeductmargin:
  9953. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  9954. type: integer
  9955. isrecordsource:
  9956. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  9957. type: integer
  9958. isreleasemargin:
  9959. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  9960. type: integer
  9961. marginformula:
  9962. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9963. type: integer
  9964. marginformula2:
  9965. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9966. type: integer
  9967. marketid:
  9968. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  9969. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  9970. type: integer
  9971. marketname:
  9972. description: 市场名称
  9973. type: string
  9974. marketserviceid:
  9975. description: 市场服务ID
  9976. type: integer
  9977. marketstatus:
  9978. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  9979. type: integer
  9980. markettype:
  9981. description: 市场类型- 1:非交易服务 2:交易服务
  9982. type: integer
  9983. matchermode:
  9984. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  9985. type: integer
  9986. openmethod:
  9987. description: 开盘模式 - 0 自动 1手动
  9988. type: integer
  9989. otcuserid:
  9990. description: 场外期权做市商[场外期权]
  9991. type: integer
  9992. outersynctime:
  9993. description: 外部同步时间点(h24:mi:ss)[场外期权]
  9994. type: string
  9995. pendingflag:
  9996. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  9997. type: integer
  9998. pendingtime:
  9999. description: 待开市时间[通道交易-对冲](HH:mm)
  10000. type: string
  10001. performancetempid:
  10002. description: 履约计划模板ID - 作废
  10003. type: integer
  10004. premiumquotemode:
  10005. description: 权利金报价方式 - 1:自动 2:手动
  10006. type: integer
  10007. rebateratio:
  10008. description: 返利比率[竞价式]
  10009. type: number
  10010. reckonorder:
  10011. description: 结算顺序
  10012. type: integer
  10013. reckonpricealgorithm:
  10014. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  10015. 6.卖一价 7.买一卖一均价 8.外部结算价'
  10016. type: integer
  10017. reckonpriceparam:
  10018. description: 结算价参数
  10019. type: integer
  10020. reckontime:
  10021. description: 结算时间[通道交易-对冲](HH:mm)
  10022. type: string
  10023. roleprioritytype:
  10024. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  10025. type: integer
  10026. selllistingauditflag:
  10027. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  10028. type: integer
  10029. trademarkettype:
  10030. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  10031. type: integer
  10032. trademode:
  10033. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10034. 21:竞拍-大宗式 22:受托竞价
  10035. type: integer
  10036. tradeproperty:
  10037. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  10038. 8:场外期权
  10039. type: integer
  10040. tradetype:
  10041. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  10042. type: integer
  10043. required:
  10044. - marketid
  10045. - marketstatus
  10046. - openmethod
  10047. - reckonpricealgorithm
  10048. - trademode
  10049. - tradeproperty
  10050. type: object
  10051. models.Marketrun:
  10052. properties:
  10053. afternexttradedate:
  10054. description: 下下交易日
  10055. type: string
  10056. clearquoteflag:
  10057. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  10058. type: integer
  10059. lastreckondate:
  10060. description: 最新交易日(结算成功)
  10061. type: string
  10062. machinedate:
  10063. description: 机器时间
  10064. type: string
  10065. manualflag:
  10066. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  10067. type: integer
  10068. marketid:
  10069. description: 市场ID
  10070. type: integer
  10071. nexttradedate:
  10072. description: 下一交易日
  10073. type: string
  10074. pretradedate:
  10075. description: 上一交易日
  10076. type: string
  10077. reckonflag:
  10078. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  10079. type: integer
  10080. runstatus:
  10081. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  10082. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  10083. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  10084. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  10085. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  10086. 62.今日免清算
  10087. type: integer
  10088. sectionid:
  10089. description: 时间段号[多时段时用]
  10090. type: integer
  10091. tradedate:
  10092. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  10093. type: string
  10094. tradedate2:
  10095. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  10096. type: string
  10097. updatetime:
  10098. description: 更新时间
  10099. type: string
  10100. required:
  10101. - marketid
  10102. - nexttradedate
  10103. - reckonflag
  10104. - runstatus
  10105. - tradedate
  10106. - tradedate2
  10107. type: object
  10108. models.Messageboard:
  10109. properties:
  10110. contactnum:
  10111. description: 联系电话
  10112. type: string
  10113. createtime:
  10114. description: 创建时间
  10115. type: string
  10116. message:
  10117. description: 留言信息
  10118. type: string
  10119. messageboardid:
  10120. description: 留言簿ID(SEQ_MessageBoard)
  10121. type: integer
  10122. userid:
  10123. description: 用户ID
  10124. type: integer
  10125. required:
  10126. - messageboardid
  10127. type: object
  10128. models.MyCoupon:
  10129. properties:
  10130. accountid:
  10131. description: 资金账户ID
  10132. type: integer
  10133. areauserid:
  10134. description: 所属机构
  10135. type: integer
  10136. conditionvalue:
  10137. description: 条件阈值(可为0)
  10138. type: number
  10139. couponcategroy:
  10140. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  10141. type: integer
  10142. couponname:
  10143. description: 优惠券名称
  10144. type: string
  10145. coupontypeid:
  10146. description: 优惠券类型ID
  10147. type: string
  10148. couponvalue:
  10149. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  10150. type: number
  10151. curfreezeqty:
  10152. description: 期末冻结数量
  10153. type: integer
  10154. curqty:
  10155. description: 期末数量
  10156. type: integer
  10157. isgeneral:
  10158. description: 是否通用券 - 0:否 1:是
  10159. type: integer
  10160. isunusable:
  10161. description: 是否不可用
  10162. type: boolean
  10163. limitedflag:
  10164. description: 是否指定商品 - 0:不限 1:限制
  10165. type: integer
  10166. limitedgoodsids:
  10167. description: 指定商品IDs[逗号分隔,前后加逗号]
  10168. type: string
  10169. orifreezeqty:
  10170. description: 期初冻结数量
  10171. type: integer
  10172. oriqty:
  10173. description: 期初数量
  10174. type: integer
  10175. reasontype:
  10176. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  10177. type: integer
  10178. todaydecrease:
  10179. description: 今日减少
  10180. type: integer
  10181. todayincrease:
  10182. description: 今日增加
  10183. type: integer
  10184. userid:
  10185. description: 用户ID
  10186. type: integer
  10187. userscope:
  10188. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  10189. type: string
  10190. required:
  10191. - accountid
  10192. - coupontypeid
  10193. type: object
  10194. models.MyCouponHold:
  10195. properties:
  10196. accountid:
  10197. description: 资金账户ID
  10198. type: integer
  10199. conditionvalue:
  10200. description: 条件阈值(可为0)
  10201. type: number
  10202. couponcategroy:
  10203. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  10204. type: integer
  10205. couponholdid:
  10206. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  10207. type: string
  10208. couponname:
  10209. description: 优惠券名称
  10210. type: string
  10211. coupontypeid:
  10212. description: 优惠券类型ID - SEQ_COUPONTYPE
  10213. type: string
  10214. couponvalue:
  10215. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  10216. type: number
  10217. createtime:
  10218. description: 创建时间
  10219. type: string
  10220. enddate:
  10221. description: 结束日期
  10222. type: string
  10223. giveapplyid:
  10224. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  10225. type: integer
  10226. holdstatus:
  10227. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  10228. type: integer
  10229. isgeneral:
  10230. description: 是否通用券 - 0:否 1:是
  10231. type: integer
  10232. limitedflag:
  10233. description: 是否指定商品 - 0:不限 1:限制
  10234. type: integer
  10235. limitedgoodsids:
  10236. description: 指定商品IDs[逗号分隔]
  10237. type: string
  10238. qty:
  10239. description: 数量(按1平铺)
  10240. type: integer
  10241. startdate:
  10242. description: 开始日期
  10243. type: string
  10244. userid:
  10245. description: 用户ID
  10246. type: integer
  10247. userscope:
  10248. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  10249. type: string
  10250. required:
  10251. - couponholdid
  10252. type: object
  10253. models.MyUsedCoupon:
  10254. properties:
  10255. accountid:
  10256. description: 资金账户ID(买方)
  10257. type: integer
  10258. conditionvalue:
  10259. description: 条件阈值(可为0)
  10260. type: number
  10261. couponcategroy:
  10262. description: 种类 - 1:现金券 2:折扣券
  10263. type: integer
  10264. couponname:
  10265. description: 优惠券名称
  10266. type: string
  10267. coupontypeid:
  10268. description: 优惠券类型ID(买方)
  10269. type: string
  10270. couponvalue:
  10271. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  10272. type: number
  10273. createtime:
  10274. description: 创建时间
  10275. type: string
  10276. goodsid:
  10277. description: 商品ID
  10278. type: integer
  10279. handlestatus:
  10280. description: 处理状态
  10281. type: integer
  10282. marketid:
  10283. description: 市场ID
  10284. type: integer
  10285. offamount:
  10286. description: 优惠金额
  10287. type: number
  10288. orderid:
  10289. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10290. type: string
  10291. sellaccountid:
  10292. description: 资金账户ID(卖方)
  10293. type: integer
  10294. tradeamount:
  10295. description: 成交金额
  10296. type: number
  10297. tradeid:
  10298. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10299. type: string
  10300. usedqty:
  10301. description: 使用数量
  10302. type: integer
  10303. required:
  10304. - coupontypeid
  10305. - orderid
  10306. type: object
  10307. models.OperationPrimaryMenu:
  10308. properties:
  10309. Children:
  10310. description: 二级功能菜单
  10311. items:
  10312. $ref: '#/definitions/models.OperationSecondaryMenu'
  10313. type: array
  10314. Key:
  10315. description: 菜单KEY
  10316. type: string
  10317. Label:
  10318. description: 菜单标题
  10319. type: string
  10320. type: object
  10321. models.OperationSecondaryMenu:
  10322. properties:
  10323. Key:
  10324. description: 菜单KEY
  10325. type: string
  10326. Label:
  10327. description: 菜单标题
  10328. type: string
  10329. TabList:
  10330. description: 三级功能菜单
  10331. items:
  10332. $ref: '#/definitions/models.OperationTabMenu'
  10333. type: array
  10334. type: object
  10335. models.OperationTabMenu:
  10336. properties:
  10337. Key:
  10338. description: 菜单KEY
  10339. type: string
  10340. Label:
  10341. description: 菜单标题
  10342. type: string
  10343. type: object
  10344. models.QhjAccountOutInApply:
  10345. properties:
  10346. accountcode:
  10347. description: 资金账号
  10348. type: string
  10349. accountname:
  10350. description: 用户名称(名称)
  10351. type: string
  10352. accountpwd:
  10353. description: 资金密码
  10354. type: string
  10355. accountticket:
  10356. description: 最新账户服务流水号
  10357. type: string
  10358. amount:
  10359. description: 金额
  10360. type: number
  10361. applyremark:
  10362. description: 申请备注
  10363. type: string
  10364. applystatus:
  10365. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  10366. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  10367. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  10368. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  10369. type: integer
  10370. auditid:
  10371. description: 审核人
  10372. type: integer
  10373. audittime:
  10374. description: 审核时间
  10375. type: string
  10376. bank_apply_ticket:
  10377. description: 银行申请流水
  10378. type: string
  10379. bankaccountname:
  10380. description: 银行账户名
  10381. type: string
  10382. bankaccountno:
  10383. description: 银行卡号
  10384. type: string
  10385. bankid:
  10386. description: 银行编号
  10387. type: string
  10388. bankticket:
  10389. description: 银行流水
  10390. type: string
  10391. branchbankid:
  10392. description: 银行支行号
  10393. type: string
  10394. branchbankname:
  10395. description: 银行支行名称
  10396. type: string
  10397. capamountout:
  10398. description: 出金(劣后本金) - 外部子账户
  10399. type: number
  10400. certificatephotourl:
  10401. description: 凭证地址
  10402. type: string
  10403. charge:
  10404. description: 手续费
  10405. type: number
  10406. checkerrorflag:
  10407. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  10408. type: integer
  10409. currency:
  10410. description: 币种
  10411. type: string
  10412. cusbankid:
  10413. description: 托管银行编号
  10414. type: string
  10415. exchticket:
  10416. description: 银行服务流水号
  10417. type: string
  10418. executetype:
  10419. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  10420. 7:外部子账户:入金 8:外部子账户:出金'
  10421. type: integer
  10422. extendinfo:
  10423. description: 扩展信息
  10424. type: string
  10425. extoperateid:
  10426. description: 交易服务流水号
  10427. type: integer
  10428. infamount:
  10429. description: 劣后金额(自有)
  10430. type: number
  10431. logincode:
  10432. description: 登录账号(账号)
  10433. type: string
  10434. netaddr:
  10435. description: 调转网址
  10436. type: string
  10437. priamount:
  10438. description: 优先金额(授信)
  10439. type: number
  10440. reauditid:
  10441. description: 复审人
  10442. type: integer
  10443. reauditremark:
  10444. description: 复审备注
  10445. type: string
  10446. reaudittime:
  10447. description: 复审时间
  10448. type: string
  10449. relatedorderid:
  10450. description: 三方关联ID
  10451. type: string
  10452. remark:
  10453. description: 备注
  10454. type: string
  10455. remark2:
  10456. description: 备注(失败原因)
  10457. type: string
  10458. soucreamount:
  10459. description: 原始出入金金额
  10460. type: number
  10461. soucrecurrencyid:
  10462. description: 原始出入金币种
  10463. type: integer
  10464. tradedate:
  10465. description: 交易日(yyyyMMdd)
  10466. type: string
  10467. updatetime:
  10468. description: 更新时间(申请时间)
  10469. type: string
  10470. userid:
  10471. description: 用户id
  10472. type: integer
  10473. userinfotype:
  10474. description: 账户类型 1-个人 2-企业
  10475. type: integer
  10476. type: object
  10477. models.QhjAgreementChangeLog:
  10478. properties:
  10479. agreementcontent:
  10480. description: 协议内容
  10481. type: string
  10482. agreementfrequency:
  10483. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  10484. type: integer
  10485. agreementid:
  10486. description: 协议ID
  10487. type: integer
  10488. agreementname:
  10489. description: 协议名称
  10490. type: string
  10491. agreementno:
  10492. description: 协议编号
  10493. type: string
  10494. agreementtype:
  10495. description: 协议类型 - 1:注册 2:登录 3:交易
  10496. type: integer
  10497. agreementversion:
  10498. description: 协议版本号
  10499. type: integer
  10500. logid:
  10501. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  10502. type: integer
  10503. reviserid:
  10504. description: 修改人
  10505. type: integer
  10506. revisersrc:
  10507. description: 修改来源 - 1:管理端 2:终端
  10508. type: integer
  10509. updatetime:
  10510. description: 更新时间
  10511. type: string
  10512. type: object
  10513. models.QhjAgreementConfig:
  10514. properties:
  10515. agreementcontent:
  10516. description: 协议内容
  10517. type: string
  10518. agreementfrequency:
  10519. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  10520. type: integer
  10521. agreementid:
  10522. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  10523. type: integer
  10524. agreementname:
  10525. description: 协议名称
  10526. type: string
  10527. agreementno:
  10528. description: 协议编号
  10529. type: string
  10530. agreementtype:
  10531. description: 协议类型 - 1:注册 2:登录 3:交易
  10532. type: integer
  10533. agreementversion:
  10534. description: 协议版本号(从1开始每次修改加1)
  10535. type: integer
  10536. createtime:
  10537. description: 创建时间
  10538. type: string
  10539. creatorid:
  10540. description: 创建人
  10541. type: integer
  10542. creatorsrc:
  10543. description: 创建来源 - 1:管理端 2:终端
  10544. type: integer
  10545. isvalid:
  10546. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  10547. type: integer
  10548. reviserid:
  10549. description: 修改人
  10550. type: integer
  10551. revisersrc:
  10552. description: 修改来源 - 1:管理端 2:终端
  10553. type: integer
  10554. updatetime:
  10555. description: 更新时间
  10556. type: string
  10557. type: object
  10558. models.QhjAreaFinanceConfig:
  10559. properties:
  10560. additionalratio:
  10561. description: 追加款比例
  10562. type: number
  10563. advanceratio:
  10564. description: 预付款比例
  10565. type: number
  10566. alarmratio:
  10567. description: 告警比例
  10568. type: number
  10569. consumptiondirectreward:
  10570. description: 消费直推奖励值
  10571. type: number
  10572. consumptionenabled:
  10573. description: 是否启用消费奖励 - 0:不启用 1:启用
  10574. type: integer
  10575. consumptionindirectreward:
  10576. description: 消费间推奖励值
  10577. type: number
  10578. consumptionmodel:
  10579. description: 消费奖励方式 - 1:比率 2:固定
  10580. type: integer
  10581. customerservicenum:
  10582. description: 客服电话
  10583. type: string
  10584. dayinterestrate:
  10585. description: 日利率
  10586. type: number
  10587. disableconsumptiontips:
  10588. description: 关闭消费奖励提示
  10589. type: string
  10590. modifierid:
  10591. description: 修改人ID
  10592. type: integer
  10593. modifysrc:
  10594. description: 审核来源 - 1:管理端 2:终端
  10595. type: integer
  10596. modifytime:
  10597. description: 修改时间
  10598. type: string
  10599. promotionvalue:
  10600. description: 推广奖励值(固定)
  10601. type: number
  10602. scoreconfigvalue1:
  10603. description: 提货积分配置1
  10604. type: integer
  10605. scoreconfigvalue2:
  10606. description: 提货积分配置2
  10607. type: integer
  10608. userid:
  10609. description: 机构用户ID其他做市关系,都设置为 1
  10610. type: integer
  10611. username:
  10612. description: 用户名称
  10613. type: string
  10614. type: object
  10615. models.QhjBankAccountSign:
  10616. properties:
  10617. accountcode:
  10618. description: 资金账号
  10619. type: string
  10620. accountname:
  10621. description: 资金账号对应的账号名(UserName)
  10622. type: string
  10623. accountname2:
  10624. description: 资金账号对应的账号名(UserName) - 密文
  10625. type: string
  10626. accounttype:
  10627. description: 账户类型(UserType)
  10628. type: integer
  10629. applicationtime:
  10630. description: 最后一次更新的时间
  10631. type: string
  10632. applyexchticket:
  10633. description: 申请流水
  10634. type: string
  10635. auditid:
  10636. description: 审核人
  10637. type: integer
  10638. audittime:
  10639. description: 审核时间
  10640. type: string
  10641. bankaccountname:
  10642. description: 签约银行卡账号名
  10643. type: string
  10644. bankaccountname2:
  10645. description: 签约银行卡账号名 - 密文
  10646. type: string
  10647. bankaccountno:
  10648. description: 银行卡号
  10649. type: string
  10650. bankaccountno2:
  10651. description: 银行卡号 - 密文
  10652. type: string
  10653. bankaccounttype:
  10654. description: 银行账户类型 - 1-对私; 2-对公
  10655. type: integer
  10656. bankcardtype:
  10657. description: 银行卡类型
  10658. type: integer
  10659. bankchildaccount:
  10660. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  10661. type: string
  10662. bankcity:
  10663. description: 开户行城市
  10664. type: string
  10665. bankid:
  10666. description: 签约银行ID
  10667. type: string
  10668. bankname:
  10669. description: 签约银行名称
  10670. type: string
  10671. bankprovince:
  10672. description: 开户行省份
  10673. type: string
  10674. branchbankid:
  10675. description: 签约银行支行号
  10676. type: string
  10677. branchbankname:
  10678. description: 签约银行支行名称
  10679. type: string
  10680. cardno:
  10681. description: 证件号码
  10682. type: string
  10683. cardno2:
  10684. description: 证件号码 - 密文
  10685. type: string
  10686. cardtype:
  10687. description: 证件类型
  10688. type: string
  10689. currency:
  10690. description: 币种
  10691. type: string
  10692. cusbankid:
  10693. description: 托管银行编号
  10694. type: string
  10695. direct:
  10696. description: 方向(可以判断那方先发起的签约)
  10697. type: integer
  10698. exchticket:
  10699. description: 最后一次签约成功的流水号
  10700. type: string
  10701. extendinfo:
  10702. description: 扩展信息(JSON字符串)
  10703. type: string
  10704. mobilephone:
  10705. description: 手机号
  10706. type: string
  10707. mobilephone2:
  10708. description: 手机号 - 密文
  10709. type: string
  10710. netaddr:
  10711. description: 调转网址
  10712. type: string
  10713. relateduserid:
  10714. description: 关联使用者userid
  10715. type: integer
  10716. signstatus:
  10717. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  10718. 10:审核拒绝 11:换签待审核
  10719. type: integer
  10720. updatetime:
  10721. description: 更新时间(签解约更新时间)
  10722. type: string
  10723. type: object
  10724. models.QhjBankInfo:
  10725. properties:
  10726. bankid:
  10727. description: 银行ID
  10728. type: string
  10729. bankname:
  10730. description: 银行名称
  10731. type: string
  10732. clearbankno:
  10733. description: 清算系统银行编号
  10734. type: string
  10735. orderindex:
  10736. description: 排序顺序
  10737. type: integer
  10738. status:
  10739. description: 状态 - 0:正常 1:注销
  10740. type: integer
  10741. type: object
  10742. models.QhjBrokerApply:
  10743. properties:
  10744. applicantid:
  10745. description: 申请人
  10746. type: integer
  10747. applysrc:
  10748. description: 申请来源 - 1:管理端 2:终端
  10749. type: integer
  10750. applystatus:
  10751. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  10752. type: integer
  10753. applytime:
  10754. description: 申请时间
  10755. type: string
  10756. auditorid:
  10757. description: 审核人
  10758. type: integer
  10759. auditremark:
  10760. description: 审核备注
  10761. type: string
  10762. auditsrc:
  10763. description: 审核来源 - 1:管理端 2:终端
  10764. type: integer
  10765. audittime:
  10766. description: 审核时间
  10767. type: string
  10768. audittradedate:
  10769. description: 审核交易日(yyyyMMdd)
  10770. type: string
  10771. brokerapplyid:
  10772. description: 申请ID(SEQ_BROKERAPPLY)
  10773. type: integer
  10774. cardbackphotourl:
  10775. description: 证件背面图片地址
  10776. type: string
  10777. cardfrontphotourl:
  10778. description: 证件正面图片地址
  10779. type: string
  10780. cardnum:
  10781. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  10782. type: string
  10783. customername:
  10784. description: 姓名
  10785. type: string
  10786. logincode:
  10787. description: 登录代码
  10788. type: string
  10789. mobile:
  10790. description: 手机号码
  10791. type: string
  10792. parentuserid:
  10793. description: 所属机构id
  10794. type: integer
  10795. parentusername:
  10796. description: 所属机构名称
  10797. type: string
  10798. refereeuserid:
  10799. description: 推荐人id(经纪人)
  10800. type: integer
  10801. refernum:
  10802. description: 推荐码
  10803. type: string
  10804. remark:
  10805. description: 备注
  10806. type: string
  10807. subarealevelpath:
  10808. description: 层级路径
  10809. type: string
  10810. tradedate:
  10811. description: 交易日(yyyyMMdd)
  10812. type: string
  10813. userid:
  10814. description: 申请人用户ID
  10815. type: integer
  10816. userinfotype:
  10817. description: 用户类型 1-个人 2-企业
  10818. type: integer
  10819. username:
  10820. description: 用户名称
  10821. type: string
  10822. type: object
  10823. models.QhjBrokerApplyEx:
  10824. properties:
  10825. applylist:
  10826. description: 经纪人申请记录(只返回最新一条)
  10827. items:
  10828. $ref: '#/definitions/models.QhjBrokerApply'
  10829. type: array
  10830. canrecommend:
  10831. description: 是否经纪人 0-不是 1-是
  10832. type: integer
  10833. refernum:
  10834. description: 推荐码
  10835. type: string
  10836. userid:
  10837. description: 用户id
  10838. type: integer
  10839. userinfotype:
  10840. description: 用户类型 1-个人 2-企业
  10841. type: integer
  10842. type: object
  10843. models.QhjBrokerRewardLog:
  10844. properties:
  10845. accountid:
  10846. description: 资金账号ID
  10847. type: integer
  10848. createtime:
  10849. description: 创建时间(时间)
  10850. type: string
  10851. handlestatus:
  10852. description: 处理状态
  10853. type: integer
  10854. logid:
  10855. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10856. type: string
  10857. marketid:
  10858. description: 市场ID
  10859. type: integer
  10860. mmaccountid:
  10861. description: 做市商资金账号ID
  10862. type: string
  10863. mmuserid:
  10864. description: 做市商用户ID
  10865. type: string
  10866. rewardamount:
  10867. description: 奖励金额
  10868. type: number
  10869. rewardmodel:
  10870. description: 消费奖励方式 - 1:比率 2:固定
  10871. type: integer
  10872. rewardtype:
  10873. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  10874. type: integer
  10875. rewardvalue:
  10876. description: 配置奖励值
  10877. type: number
  10878. srcamount:
  10879. description: 成交金额 [消费奖励] (金额)
  10880. type: number
  10881. srcgoodsid:
  10882. description: 来源商品ID [消费奖励]
  10883. type: string
  10884. srctime:
  10885. description: 来源时间 (成交时间) [消费奖励]
  10886. type: string
  10887. srctradeid:
  10888. description: 来源成交单ID [消费奖励] - 排除提货成交
  10889. type: string
  10890. srcuserid:
  10891. description: 来源用户ID(推广账户)
  10892. type: string
  10893. srcusername:
  10894. description: 推广账户名称
  10895. type: string
  10896. tradedate:
  10897. description: 交易日(yyyyMMdd)
  10898. type: string
  10899. userid:
  10900. description: 经纪人用户ID
  10901. type: integer
  10902. type: object
  10903. models.QhjContract:
  10904. properties:
  10905. contractconfirmtime:
  10906. description: 合同确认时间(时间)
  10907. type: string
  10908. currisklevel:
  10909. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  10910. type: integer
  10911. decimalplace:
  10912. description: 商品报价小数位
  10913. type: integer
  10914. enumdicname:
  10915. description: 单位名称
  10916. type: string
  10917. goodscode:
  10918. description: 商品代码
  10919. type: string
  10920. goodsid:
  10921. description: 商品ID [5:融资单]
  10922. type: integer
  10923. goodsname:
  10924. description: 商品名称
  10925. type: string
  10926. goodunitid:
  10927. description: 商品单位id
  10928. type: integer
  10929. initmargin:
  10930. description: 初始保证金(首付款)
  10931. type: number
  10932. lenderamount:
  10933. description: 贷款金额(总额|订单总额)
  10934. type: number
  10935. marginratio:
  10936. description: 保证金比率(首付比例)
  10937. type: number
  10938. payamount:
  10939. description: 已付(已付货款)
  10940. type: number
  10941. reckonrecovermargin:
  10942. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10943. type: number
  10944. recoveredmargin:
  10945. description: 已追缴保证金
  10946. type: number
  10947. remainamount:
  10948. description: 合同剩余金额(融资额)
  10949. type: number
  10950. scfcontractid:
  10951. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10952. type: string
  10953. scfcontractstatus:
  10954. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  10955. 9:违约结束 10:已注销 11:已关闭 99:未提交
  10956. type: integer
  10957. scfcontracttype:
  10958. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10959. type: integer
  10960. totalinterest:
  10961. description: 已计总利息(利息)
  10962. type: number
  10963. tradeprice:
  10964. description: 成交价格(成本价格)
  10965. type: number
  10966. userid:
  10967. description: 用户ID
  10968. type: integer
  10969. username:
  10970. description: 用户名称
  10971. type: string
  10972. wrqty:
  10973. description: 仓单数量(数量)
  10974. type: number
  10975. type: object
  10976. models.QhjContractLog:
  10977. properties:
  10978. amount:
  10979. description: 支付金额
  10980. type: number
  10981. amounttype:
  10982. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  10983. type: integer
  10984. logid:
  10985. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10986. type: string
  10987. remainamount:
  10988. description: 剩余货款
  10989. type: number
  10990. scfcontractid:
  10991. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10992. type: integer
  10993. updatetime:
  10994. description: 更新时间
  10995. type: string
  10996. type: object
  10997. models.QhjCusBankSignBankEx:
  10998. properties:
  10999. banklst:
  11000. description: 银行列表
  11001. items:
  11002. $ref: '#/definitions/models.QhjBankInfo'
  11003. type: array
  11004. canallot:
  11005. description: 是否支持跨行调拨 - 0:不支持 1:支持
  11006. type: integer
  11007. canallotquery:
  11008. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  11009. type: integer
  11010. canbindcard:
  11011. description: 是否可绑卡与解卡 - 0:不可 1:可以
  11012. type: integer
  11013. caninamount:
  11014. description: 是否可入金 - 0:不可 1:可以
  11015. type: integer
  11016. caninamount2:
  11017. description: 是否可入金(网银端) - 0:不可 1:可以
  11018. type: integer
  11019. canmodifybankcard:
  11020. description: 是否可修改银行卡号 - 0:不可 1:可以
  11021. type: integer
  11022. canmodifyphone:
  11023. description: 是否可修改手机号 - 0:不可 1:可以
  11024. type: integer
  11025. canmodifysigninfo:
  11026. description: 是否可修改签约信息 - 0:不可 1:可以
  11027. type: integer
  11028. canoutamount:
  11029. description: 是否可出金 - 0:不可 1:可以
  11030. type: integer
  11031. canoutamount2:
  11032. description: 是否可出金(网银端) - 0:不可 1:可以
  11033. type: integer
  11034. canrelease:
  11035. description: 是否可解约 - 0:不可 1:可以
  11036. type: integer
  11037. canrelease2:
  11038. description: 是否可解约(网银端) - 0:不可 1:可以
  11039. type: integer
  11040. cansign:
  11041. description: 是否可签约 - 0:不可 1:可以
  11042. type: integer
  11043. cansign2:
  11044. description: 是否可签约(网银端) - 0:不可 1:可以
  11045. type: integer
  11046. currency:
  11047. description: 币种
  11048. type: string
  11049. cusbankid:
  11050. description: 托管银行编号(对应清算中心TRAN_NO)
  11051. type: string
  11052. cusbankname:
  11053. description: 银行业务名称
  11054. type: string
  11055. cusbankshortname:
  11056. description: 银行业务简称
  11057. type: string
  11058. exchbankid:
  11059. description: 交易所开户银行ID
  11060. type: string
  11061. exchpaybankaccname:
  11062. description: 交易所支出结算账户户名
  11063. type: string
  11064. exchpaybankaccno:
  11065. description: 交易所支出结算账户
  11066. type: string
  11067. isneedcheck:
  11068. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  11069. type: integer
  11070. isneedclear:
  11071. description: 是否需要清算 - 0:不需要 1:需要
  11072. type: integer
  11073. lastcheckstatus:
  11074. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  11075. type: integer
  11076. lastchecktime:
  11077. description: 最后对账时间
  11078. type: string
  11079. lastclearstatus:
  11080. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  11081. type: integer
  11082. lastcleartime:
  11083. description: 最后清算时间
  11084. type: string
  11085. lastsignintime:
  11086. description: 最后签到时间
  11087. type: string
  11088. lastsignouttime:
  11089. description: 最后签退时间
  11090. type: string
  11091. riskinfo:
  11092. description: 签约风险提示书
  11093. type: string
  11094. signstatus:
  11095. description: 当前签到/签退状态 - 1:签到 2:签退
  11096. type: integer
  11097. tradedate:
  11098. description: 交易日(yyyyMMdd)
  11099. type: string
  11100. updatetime:
  11101. description: 当前签到/签退更新时间
  11102. type: string
  11103. type: object
  11104. models.QhjCustomer:
  11105. properties:
  11106. address:
  11107. description: 通讯地址
  11108. type: string
  11109. attachment1:
  11110. description: 附件1
  11111. type: string
  11112. attachment2:
  11113. description: 附件2
  11114. type: string
  11115. audittime:
  11116. description: 审核时间
  11117. type: string
  11118. cardbackphotourl:
  11119. description: 证件反面图片地址
  11120. type: string
  11121. cardfrontphotourl:
  11122. description: 证件正面图片地址
  11123. type: string
  11124. cardnum:
  11125. description: 证件号码
  11126. type: string
  11127. cardtype:
  11128. description: 证件类型
  11129. type: integer
  11130. cardtypename:
  11131. description: 证件类型名称
  11132. type: string
  11133. cityid:
  11134. description: 市
  11135. type: integer
  11136. cityname:
  11137. description: 城市名称
  11138. type: string
  11139. contactname:
  11140. description: 联系人
  11141. type: string
  11142. countryid:
  11143. description: 国家
  11144. type: integer
  11145. countryname:
  11146. description: 国家名称
  11147. type: string
  11148. createtime:
  11149. description: 创建时间
  11150. type: string
  11151. customername:
  11152. description: 客户名称
  11153. type: string
  11154. districtid:
  11155. description: 区域
  11156. type: integer
  11157. districtname:
  11158. description: 地区名称
  11159. type: string
  11160. email:
  11161. description: 邮件
  11162. type: string
  11163. legalpersonname:
  11164. description: 法人姓名(企业)
  11165. type: string
  11166. logincode:
  11167. description: 登录账号(代码)
  11168. type: string
  11169. memberuserid:
  11170. description: 所属机构ID(所属会员)
  11171. type: integer
  11172. memberusername:
  11173. description: 所属会员名称
  11174. type: string
  11175. mobile:
  11176. description: 手机号码
  11177. type: string
  11178. modifytime:
  11179. description: 修改时间
  11180. type: string
  11181. nickname:
  11182. description: 昵称
  11183. type: string
  11184. parentuserid:
  11185. description: 上级机构(所属机构)
  11186. type: integer
  11187. parentusername:
  11188. description: 所属机构名称
  11189. type: string
  11190. provinceid:
  11191. description: 省
  11192. type: integer
  11193. provincename:
  11194. description: 省名称
  11195. type: string
  11196. proxystatementurl:
  11197. description: 授权委托书
  11198. type: string
  11199. remark:
  11200. description: 备注
  11201. type: string
  11202. status:
  11203. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  11204. type: integer
  11205. statusdesc:
  11206. description: 账户状态中文描述
  11207. type: string
  11208. taxpayernum:
  11209. description: 纳税人识别号
  11210. type: string
  11211. telphone:
  11212. description: 联系电话
  11213. type: string
  11214. userid:
  11215. description: 用户ID
  11216. type: integer
  11217. userinfotype:
  11218. description: 客户类型 1-个人 2-企业
  11219. type: integer
  11220. username:
  11221. description: 用户名称
  11222. type: string
  11223. type: object
  11224. models.QhjCustomerSignLog:
  11225. properties:
  11226. agreementcontent:
  11227. description: 协议内容
  11228. type: string
  11229. agreementid:
  11230. description: 协议ID
  11231. type: integer
  11232. agreementname:
  11233. description: 协议名称
  11234. type: string
  11235. agreementno:
  11236. description: 协议编号
  11237. type: string
  11238. agreementtype:
  11239. description: 协议类型 - 1:注册 2:登录 3:交易
  11240. type: integer
  11241. agreementversion:
  11242. description: 协议版本号
  11243. type: integer
  11244. createtime:
  11245. description: 创建时间
  11246. type: string
  11247. goodscode:
  11248. description: 商品代码
  11249. type: string
  11250. goodsid:
  11251. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11252. type: integer
  11253. goodsname:
  11254. description: 商品名称
  11255. type: string
  11256. logid:
  11257. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  11258. type: integer
  11259. nodetype:
  11260. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  11261. type: integer
  11262. signadressurl:
  11263. description: 签约文件地址
  11264. type: string
  11265. signtimestamp:
  11266. description: 签约状态时间戳
  11267. type: string
  11268. userid:
  11269. description: 客户ID
  11270. type: integer
  11271. username:
  11272. description: 客户名称
  11273. type: string
  11274. type: object
  11275. models.QhjCustomerSignStatus:
  11276. properties:
  11277. createtime:
  11278. description: 创建时间
  11279. type: string
  11280. goodscode:
  11281. description: 商品代码
  11282. type: string
  11283. goodsid:
  11284. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11285. type: integer
  11286. goodsname:
  11287. description: 商品名称
  11288. type: string
  11289. nodetype:
  11290. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  11291. type: integer
  11292. signtimestamp:
  11293. description: 签约状态时间戳
  11294. type: string
  11295. tradedate:
  11296. description: 创建交易日(yyyyMMdd)
  11297. type: string
  11298. updatetime:
  11299. description: 更新时间
  11300. type: string
  11301. userid:
  11302. description: 客户ID
  11303. type: integer
  11304. username:
  11305. description: 客户名称
  11306. type: string
  11307. type: object
  11308. models.QhjMgrAccountOutInApply:
  11309. properties:
  11310. accountcode:
  11311. description: 资金账号
  11312. type: string
  11313. accountname:
  11314. description: 用户名称(名称)
  11315. type: string
  11316. accountpwd:
  11317. description: 资金密码
  11318. type: string
  11319. accountticket:
  11320. description: 最新账户服务流水号
  11321. type: string
  11322. amount:
  11323. description: 金额
  11324. type: number
  11325. applyremark:
  11326. description: 申请备注
  11327. type: string
  11328. applystatus:
  11329. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  11330. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  11331. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  11332. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  11333. type: integer
  11334. auditid:
  11335. description: 审核人
  11336. type: integer
  11337. audittime:
  11338. description: 审核时间
  11339. type: string
  11340. bank_apply_ticket:
  11341. description: 银行申请流水
  11342. type: string
  11343. bankaccountname:
  11344. description: 银行账户名
  11345. type: string
  11346. bankaccountno:
  11347. description: 银行卡号
  11348. type: string
  11349. bankid:
  11350. description: 银行编号
  11351. type: string
  11352. bankname:
  11353. description: 银行名称
  11354. type: string
  11355. bankticket:
  11356. description: 银行流水
  11357. type: string
  11358. branchbankid:
  11359. description: 银行支行号
  11360. type: string
  11361. branchbankname:
  11362. description: 银行支行名称
  11363. type: string
  11364. capamountout:
  11365. description: 出金(劣后本金) - 外部子账户
  11366. type: number
  11367. certificatephotourl:
  11368. description: 凭证地址
  11369. type: string
  11370. charge:
  11371. description: 手续费
  11372. type: number
  11373. checkerrorflag:
  11374. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  11375. type: integer
  11376. currency:
  11377. description: 币种
  11378. type: string
  11379. cusbankid:
  11380. description: 托管银行编号
  11381. type: string
  11382. exchticket:
  11383. description: 银行服务流水号
  11384. type: string
  11385. executetype:
  11386. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  11387. 7:外部子账户:入金 8:外部子账户:出金'
  11388. type: integer
  11389. extendinfo:
  11390. description: 扩展信息
  11391. type: string
  11392. extoperateid:
  11393. description: 交易服务流水号
  11394. type: integer
  11395. infamount:
  11396. description: 劣后金额(自有)
  11397. type: number
  11398. logincode:
  11399. description: 登录账号(账号)
  11400. type: string
  11401. netaddr:
  11402. description: 调转网址
  11403. type: string
  11404. priamount:
  11405. description: 优先金额(授信)
  11406. type: number
  11407. reauditid:
  11408. description: 复审人
  11409. type: integer
  11410. reauditremark:
  11411. description: 复审备注
  11412. type: string
  11413. reaudittime:
  11414. description: 复审时间
  11415. type: string
  11416. relatedorderid:
  11417. description: 三方关联ID
  11418. type: string
  11419. remark:
  11420. description: 备注
  11421. type: string
  11422. remark2:
  11423. description: 备注(失败原因)
  11424. type: string
  11425. soucreamount:
  11426. description: 原始出入金金额
  11427. type: number
  11428. soucrecurrencyid:
  11429. description: 原始出入金币种
  11430. type: integer
  11431. tradedate:
  11432. description: 交易日(yyyyMMdd)
  11433. type: string
  11434. updatetime:
  11435. description: 更新时间(申请时间)
  11436. type: string
  11437. userid:
  11438. description: 用户id
  11439. type: integer
  11440. userinfotype:
  11441. description: 账户类型 1-个人 2-企业
  11442. type: integer
  11443. type: object
  11444. models.QhjMgrBrokerApply:
  11445. properties:
  11446. applicantid:
  11447. description: 申请人
  11448. type: integer
  11449. applysrc:
  11450. description: 申请来源 - 1:管理端 2:终端
  11451. type: integer
  11452. applystatus:
  11453. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  11454. type: integer
  11455. applytime:
  11456. description: 申请时间
  11457. type: string
  11458. auditorid:
  11459. description: 审核人
  11460. type: integer
  11461. auditremark:
  11462. description: 审核备注
  11463. type: string
  11464. auditsrc:
  11465. description: 审核来源 - 1:管理端 2:终端
  11466. type: integer
  11467. audittime:
  11468. description: 审核时间
  11469. type: string
  11470. audittradedate:
  11471. description: 审核交易日(yyyyMMdd)
  11472. type: string
  11473. brokerapplyid:
  11474. description: 申请ID(SEQ_BROKERAPPLY)
  11475. type: integer
  11476. cardbackphotourl:
  11477. description: 证件背面图片地址
  11478. type: string
  11479. cardfrontphotourl:
  11480. description: 证件正面图片地址
  11481. type: string
  11482. cardnum:
  11483. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  11484. type: string
  11485. customername:
  11486. description: 姓名
  11487. type: string
  11488. filterstatus:
  11489. description: 筛选条件
  11490. type: string
  11491. logincode:
  11492. description: 登录代码
  11493. type: string
  11494. mobile:
  11495. description: 手机号码
  11496. type: string
  11497. parentuserid:
  11498. description: 所属机构id
  11499. type: integer
  11500. parentusername:
  11501. description: 所属机构名称
  11502. type: string
  11503. refereeuserid:
  11504. description: 推荐人id(经纪人)
  11505. type: integer
  11506. refernum:
  11507. description: 推荐码
  11508. type: string
  11509. remark:
  11510. description: 备注
  11511. type: string
  11512. subarealevelpath:
  11513. description: 层级路径
  11514. type: string
  11515. tradedate:
  11516. description: 交易日(yyyyMMdd)
  11517. type: string
  11518. userid:
  11519. description: 申请人用户ID
  11520. type: integer
  11521. userinfotype:
  11522. description: 用户类型 1-个人 2-企业
  11523. type: integer
  11524. username:
  11525. description: 用户名称
  11526. type: string
  11527. type: object
  11528. models.QhjMgrBrokerRewardReport:
  11529. properties:
  11530. createtime:
  11531. description: 创建时间(注册时间)
  11532. type: string
  11533. cycletime:
  11534. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  11535. type: string
  11536. cycletype:
  11537. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  11538. type: integer
  11539. directtotalnum:
  11540. description: 直推总人数【期末】
  11541. type: integer
  11542. indirecttotalnum:
  11543. description: 间推总人数【期末】
  11544. type: integer
  11545. mobile:
  11546. description: 电话号码
  11547. type: string
  11548. refereeuserid:
  11549. description: 推荐人id(经纪人id)
  11550. type: integer
  11551. refereeusername:
  11552. description: 推荐人名称(经纪人) 上级经纪人名称
  11553. type: string
  11554. refernum:
  11555. description: 推荐码
  11556. type: string
  11557. subarealevelpath:
  11558. description: 用户层级路径
  11559. type: string
  11560. todayrewardamount:
  11561. description: 奖励总金额【汇总】
  11562. type: number
  11563. updatetime:
  11564. description: 更新时间
  11565. type: string
  11566. userid:
  11567. description: 经纪人用户ID
  11568. type: integer
  11569. userinfotype:
  11570. description: 用户类型 1-个人 2-企业
  11571. type: integer
  11572. username:
  11573. description: 用户名称
  11574. type: string
  11575. type: object
  11576. models.QhjMgrContract:
  11577. properties:
  11578. contractconfirmtime:
  11579. description: 合同确认时间(时间)
  11580. type: string
  11581. currisklevel:
  11582. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  11583. type: integer
  11584. decimalplace:
  11585. description: 商品报价小数位
  11586. type: integer
  11587. enumdicname:
  11588. description: 单位名称
  11589. type: string
  11590. goodscode:
  11591. description: 商品代码
  11592. type: string
  11593. goodsid:
  11594. description: 商品ID [5:融资单]
  11595. type: integer
  11596. goodsname:
  11597. description: 商品名称
  11598. type: string
  11599. goodunitid:
  11600. description: 商品单位id
  11601. type: integer
  11602. initmargin:
  11603. description: 初始保证金(首付款)
  11604. type: number
  11605. lenderamount:
  11606. description: 贷款金额(总额|订单总额)
  11607. type: number
  11608. logincode:
  11609. description: 账号(登录代码)
  11610. type: string
  11611. marginratio:
  11612. description: 保证金比率(首付比例)
  11613. type: number
  11614. mobile:
  11615. description: 电话号码(用户资料里的电话)
  11616. type: string
  11617. payamount:
  11618. description: 已付(已付货款)
  11619. type: number
  11620. reckonrecovermargin:
  11621. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  11622. type: number
  11623. recoveredmargin:
  11624. description: 已追缴保证金
  11625. type: number
  11626. remainamount:
  11627. description: 合同剩余金额(融资额)
  11628. type: number
  11629. scfcontractid:
  11630. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  11631. type: string
  11632. scfcontractstatus:
  11633. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  11634. 9:违约结束 10:已注销 11:已关闭 99:未提交
  11635. type: integer
  11636. scfcontracttype:
  11637. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  11638. type: integer
  11639. totalinterest:
  11640. description: 已计总利息(利息)
  11641. type: number
  11642. tradedate:
  11643. description: 交易日
  11644. type: string
  11645. tradeprice:
  11646. description: 成交价格(成本价格)
  11647. type: number
  11648. userid:
  11649. description: 用户ID
  11650. type: integer
  11651. userinfotype:
  11652. description: 用户类型 1-个人 2-企业
  11653. type: integer
  11654. username:
  11655. description: 用户名称
  11656. type: string
  11657. wrqty:
  11658. description: 仓单数量(数量)
  11659. type: number
  11660. type: object
  11661. models.QhjMgrCustomer:
  11662. properties:
  11663. address:
  11664. description: 通讯地址
  11665. type: string
  11666. attachment1:
  11667. description: 附件1
  11668. type: string
  11669. audittime:
  11670. description: 审核时间
  11671. type: string
  11672. birthday:
  11673. description: 生日
  11674. type: string
  11675. brokerid:
  11676. description: 所属客户经理id
  11677. type: integer
  11678. brokername:
  11679. description: 所属客户经理名称
  11680. type: string
  11681. cardbackphotourl:
  11682. description: 证件反面图片地址
  11683. type: string
  11684. cardfrontphotourl:
  11685. description: 证件正面图片地址
  11686. type: string
  11687. cardnum:
  11688. description: 证件号码
  11689. type: string
  11690. cardtype:
  11691. description: 证件类型
  11692. type: integer
  11693. cardtypename:
  11694. description: 证件类型名称
  11695. type: string
  11696. cityid:
  11697. description: 市
  11698. type: integer
  11699. cityname:
  11700. description: 城市名称
  11701. type: string
  11702. contactname:
  11703. description: 联系人
  11704. type: string
  11705. countryid:
  11706. description: 国家
  11707. type: integer
  11708. countryname:
  11709. description: 国家名称
  11710. type: string
  11711. createtime:
  11712. description: 创建时间
  11713. type: string
  11714. customername:
  11715. description: 客户名称
  11716. type: string
  11717. districtid:
  11718. description: 区域
  11719. type: integer
  11720. districtname:
  11721. description: 地区名称
  11722. type: string
  11723. email:
  11724. description: 邮件
  11725. type: string
  11726. legalpersonname:
  11727. description: 法人姓名(企业)
  11728. type: string
  11729. logincode:
  11730. description: 登录账号(代码)
  11731. type: string
  11732. memberuserid:
  11733. description: 所属机构ID(所属会员)
  11734. type: integer
  11735. memberusername:
  11736. description: 所属会员名称
  11737. type: string
  11738. mobile:
  11739. description: 手机号码
  11740. type: string
  11741. modifytime:
  11742. description: 修改时间
  11743. type: string
  11744. nickname:
  11745. description: 昵称
  11746. type: string
  11747. parentuserid:
  11748. description: 上级机构(所属机构)
  11749. type: integer
  11750. parentusername:
  11751. description: 所属机构名称
  11752. type: string
  11753. provinceid:
  11754. description: 省
  11755. type: integer
  11756. provincename:
  11757. description: 省名称
  11758. type: string
  11759. proxystatementurl:
  11760. description: 授权委托书
  11761. type: string
  11762. querytype:
  11763. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  11764. type: integer
  11765. remark:
  11766. description: 备注
  11767. type: string
  11768. sex:
  11769. description: 性别 0-女 1-男
  11770. type: integer
  11771. status:
  11772. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  11773. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  11774. type: integer
  11775. statusdesc:
  11776. description: 账户状态中文描述
  11777. type: string
  11778. taxpayernum:
  11779. description: 纳税人识别号
  11780. type: string
  11781. telphone:
  11782. description: 联系电话
  11783. type: string
  11784. userid:
  11785. description: 用户ID
  11786. type: integer
  11787. userinfotype:
  11788. description: 客户类型 1-个人 2-企业
  11789. type: integer
  11790. username:
  11791. description: 用户名称
  11792. type: string
  11793. type: object
  11794. models.QhjMgrPickGoods:
  11795. properties:
  11796. enumdicname:
  11797. description: 单位名称(提货商品)
  11798. type: string
  11799. goodsid:
  11800. description: 商品id
  11801. type: integer
  11802. imageaddress:
  11803. description: 图片
  11804. type: string
  11805. modifierid:
  11806. description: 修改人
  11807. type: integer
  11808. modifiername:
  11809. description: 修改人名称
  11810. type: string
  11811. modifysrc:
  11812. description: 修改来源 - 1:管理端 2:终端
  11813. type: integer
  11814. pickupgoodsagreeunit:
  11815. description: 合约乘数
  11816. type: number
  11817. pickupgoodsdesc:
  11818. description: 描述
  11819. type: string
  11820. pickupgoodsid:
  11821. description: 提货商品ID
  11822. type: string
  11823. pickupgoodsname:
  11824. description: 提货商品名称
  11825. type: string
  11826. pickupgoodsstatus:
  11827. description: 状态 - 1:正常 2:停用 3:注销
  11828. type: integer
  11829. pickupgoodsunitid:
  11830. description: 单位ID
  11831. type: integer
  11832. pickupratio:
  11833. description: 提货系数
  11834. type: number
  11835. preparedays:
  11836. description: 备货期(天)
  11837. type: integer
  11838. remark:
  11839. description: 备注
  11840. type: string
  11841. updatetime:
  11842. description: 更新时间
  11843. type: string
  11844. type: object
  11845. models.QhjMgrPositionRsp:
  11846. properties:
  11847. accountid:
  11848. description: 账号Id
  11849. type: integer
  11850. accountname:
  11851. description: 用户名称
  11852. type: string
  11853. agreeunit:
  11854. description: 合约乘数
  11855. type: number
  11856. averageprice:
  11857. description: 均价
  11858. type: number
  11859. avialqty:
  11860. description: 可用数量
  11861. type: number
  11862. decimalplace:
  11863. description: 报价小数位
  11864. type: integer
  11865. enumdicname:
  11866. description: 单位名称(商品)
  11867. type: string
  11868. frozenqty:
  11869. description: 冻结数量
  11870. type: number
  11871. goodscode:
  11872. description: 商品代码(内部)
  11873. type: string
  11874. goodsid:
  11875. description: 商品Id
  11876. type: integer
  11877. goodsname:
  11878. description: 商品名称
  11879. type: string
  11880. goodunitid:
  11881. description: 报价单位ID
  11882. type: integer
  11883. holderamount:
  11884. description: 金额
  11885. type: number
  11886. holderqty:
  11887. description: 持有数量
  11888. type: number
  11889. holdertype:
  11890. description: 持仓类别 - 1:单边持仓 2:双边持仓
  11891. type: integer
  11892. logincode:
  11893. description: 登录代码(账户)
  11894. type: string
  11895. marketid:
  11896. description: 市场id
  11897. type: integer
  11898. qtydecimalplace:
  11899. description: 成交量小数位
  11900. type: integer
  11901. trademode:
  11902. description: 交易模式
  11903. type: integer
  11904. userid:
  11905. description: 用户id
  11906. type: integer
  11907. userinfotype:
  11908. description: 账户类型 1-个人 2-企业
  11909. type: integer
  11910. type: object
  11911. models.QhjMgrSubArea:
  11912. properties:
  11913. accountname:
  11914. description: 账户名称(机构名称)
  11915. type: string
  11916. memberuserid:
  11917. description: 所属会员ID
  11918. type: integer
  11919. parenttopuser:
  11920. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  11921. type: string
  11922. parentuserid:
  11923. description: 所属机构ID
  11924. type: integer
  11925. rootuserid:
  11926. description: 根用户ID
  11927. type: string
  11928. subaccountlevel:
  11929. description: 子账户层数
  11930. type: integer
  11931. subarealevelpath:
  11932. description: 子机构层级路径(逗号分隔,首尾加逗号)
  11933. type: string
  11934. userid:
  11935. description: 用户ID
  11936. type: integer
  11937. usertype:
  11938. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11939. type: integer
  11940. type: object
  11941. models.QhjMgrTradeDetailRsp:
  11942. properties:
  11943. accountid:
  11944. description: 资金账号
  11945. type: integer
  11946. accountname:
  11947. description: 用户名称
  11948. type: string
  11949. agreeunit:
  11950. description: 合约乘数
  11951. type: number
  11952. buyorsell:
  11953. description: 成交类型(方向) 0:买 1:卖
  11954. type: integer
  11955. decimalplace:
  11956. description: 报价小数位
  11957. type: integer
  11958. enumdicname:
  11959. description: 单位名称(商品)
  11960. type: string
  11961. goodscode:
  11962. description: 商品代码(内部)
  11963. type: string
  11964. goodsid:
  11965. description: 商品id
  11966. type: integer
  11967. goodsname:
  11968. description: 商品名称
  11969. type: string
  11970. goodunitid:
  11971. description: 报价单位ID
  11972. type: integer
  11973. logincode:
  11974. description: 登录代码(账户)
  11975. type: string
  11976. marketid:
  11977. description: 市场id
  11978. type: integer
  11979. orderid:
  11980. description: 关联委托单号
  11981. type: string
  11982. qtydecimalplace:
  11983. description: 成交量小数位
  11984. type: integer
  11985. tradeamount:
  11986. description: 金额
  11987. type: number
  11988. tradedate:
  11989. description: 交易日
  11990. type: string
  11991. tradeid:
  11992. description: 成交单号
  11993. type: string
  11994. trademode:
  11995. description: 交易模式
  11996. type: integer
  11997. tradeprice:
  11998. description: 价格
  11999. type: number
  12000. tradeqty:
  12001. description: 数量
  12002. type: number
  12003. tradetime:
  12004. description: 成交时间
  12005. type: string
  12006. userid:
  12007. description: 用户id
  12008. type: integer
  12009. userinfotype:
  12010. description: 账户类型 1-个人 2-企业
  12011. type: integer
  12012. type: object
  12013. models.QhjMgrTradeOrderDetailRsp:
  12014. properties:
  12015. accountid:
  12016. description: 资金账号
  12017. type: integer
  12018. accountname:
  12019. description: 用户名称
  12020. type: string
  12021. agreeunit:
  12022. description: 合约乘数
  12023. type: number
  12024. amount:
  12025. description: 金额
  12026. type: number
  12027. decimalplace:
  12028. description: 报价小数位
  12029. type: integer
  12030. enumdicname:
  12031. description: 单位名称(商品)
  12032. type: string
  12033. goodscode:
  12034. description: 商品代码(内部)
  12035. type: string
  12036. goodsid:
  12037. description: 商品id
  12038. type: integer
  12039. goodsname:
  12040. description: 商品名称
  12041. type: string
  12042. goodunitid:
  12043. description: 报价单位ID
  12044. type: integer
  12045. logincode:
  12046. description: 登录代码(账户)
  12047. type: string
  12048. marketid:
  12049. description: 市场id
  12050. type: integer
  12051. orderid:
  12052. description: 关联委托单号
  12053. type: string
  12054. orderprice:
  12055. description: 价格
  12056. type: number
  12057. orderqty:
  12058. description: 数量
  12059. type: number
  12060. orderstatus:
  12061. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  12062. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  12063. 16:成交失败违约(荷兰式竞拍专用)
  12064. type: integer
  12065. ordertime:
  12066. description: 委托时间
  12067. type: string
  12068. qtydecimalplace:
  12069. description: 成交量小数位
  12070. type: integer
  12071. tradedate:
  12072. description: 交易日
  12073. type: string
  12074. trademode:
  12075. description: 交易模式
  12076. type: integer
  12077. userid:
  12078. description: 用户id
  12079. type: integer
  12080. userinfotype:
  12081. description: 账户类型 1-个人 2-企业
  12082. type: integer
  12083. type: object
  12084. models.QhjMgrTradePayOrder:
  12085. properties:
  12086. accountname:
  12087. description: 用户名称
  12088. type: string
  12089. advanceratio:
  12090. description: 首付比率
  12091. type: number
  12092. agreeunit:
  12093. description: 合约乘数
  12094. type: number
  12095. buyaccountid:
  12096. description: 买方账号ID[报价币种]
  12097. type: integer
  12098. buyorderid:
  12099. description: 买方委托单号(关联单号)
  12100. type: string
  12101. createtime:
  12102. description: 创建时间
  12103. type: string
  12104. decimalplace:
  12105. description: 报价小数位
  12106. type: integer
  12107. enumdicname:
  12108. description: 单位名称(商品)
  12109. type: string
  12110. goodscode:
  12111. description: 商品代码(内部)
  12112. type: string
  12113. goodsid:
  12114. description: 商品ID
  12115. type: integer
  12116. goodsname:
  12117. description: 商品名称
  12118. type: string
  12119. goodunitid:
  12120. description: 报价单位ID
  12121. type: integer
  12122. logincode:
  12123. description: 登录代码(账户)
  12124. type: string
  12125. marketid:
  12126. description: 市场id
  12127. type: integer
  12128. offamount:
  12129. description: 优惠金额
  12130. type: number
  12131. operatetype:
  12132. description: 买委托操作类型 - 1:正常下单 16:融资买入
  12133. type: integer
  12134. payamount:
  12135. description: 支付金额(金额)
  12136. type: number
  12137. payflag:
  12138. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  12139. type: integer
  12140. paylimitedtime:
  12141. description: 支付期限
  12142. type: string
  12143. paytime:
  12144. description: 付款时间
  12145. type: string
  12146. qtydecimalplace:
  12147. description: 成交量小数位
  12148. type: integer
  12149. sellaccountid:
  12150. description: 卖方账号ID[报价币种]
  12151. type: integer
  12152. sellorderid:
  12153. description: 卖方委托单号
  12154. type: string
  12155. tradeamount:
  12156. description: 成交金额(优惠后金额)
  12157. type: number
  12158. tradecharge:
  12159. description: 成交手续费(买方)
  12160. type: number
  12161. tradedate:
  12162. description: 交易日(yyyyMMdd)
  12163. type: string
  12164. tradeid:
  12165. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12166. type: string
  12167. trademode:
  12168. description: 交易模式
  12169. type: integer
  12170. tradeprice:
  12171. description: 成交价格(价格)
  12172. type: number
  12173. tradeqty:
  12174. description: 成交数量(数量)
  12175. type: number
  12176. tradetime:
  12177. description: 成交时间
  12178. type: string
  12179. userid:
  12180. description: 用户id
  12181. type: integer
  12182. userinfotype:
  12183. description: 账户类型 1-个人 2-企业
  12184. type: integer
  12185. type: object
  12186. models.QhjMyTeamEx:
  12187. properties:
  12188. accountname:
  12189. description: 用户名称
  12190. type: string
  12191. accountstatus:
  12192. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  12193. type: integer
  12194. createtime:
  12195. description: 创建时间
  12196. type: string
  12197. mobile:
  12198. description: 手机号码
  12199. type: string
  12200. refereeuserid:
  12201. description: 推荐人id
  12202. type: integer
  12203. refernum:
  12204. description: 推荐码
  12205. type: string
  12206. subList:
  12207. items:
  12208. $ref: '#/definitions/models.QhjMyTeamEx'
  12209. type: array
  12210. userid:
  12211. description: 用户id
  12212. type: integer
  12213. userinfotype:
  12214. description: 用户类型 1-个人 2-企业
  12215. type: integer
  12216. type: object
  12217. models.QhjNodeAgreementConfig:
  12218. properties:
  12219. agreementcontent:
  12220. description: 协议内容
  12221. type: string
  12222. agreementid:
  12223. description: 协议ID
  12224. type: integer
  12225. agreementname:
  12226. description: 协议名称
  12227. type: string
  12228. agreementno:
  12229. description: 协议编号
  12230. type: string
  12231. agreementtype:
  12232. description: 协议类型 - 1:注册 2:登录 3:交易
  12233. type: integer
  12234. agreementversion:
  12235. description: 协议版本号
  12236. type: integer
  12237. configid:
  12238. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12239. type: integer
  12240. createtime:
  12241. description: 创建时间
  12242. type: string
  12243. goodsid:
  12244. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12245. type: integer
  12246. nodetype:
  12247. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12248. type: integer
  12249. type: object
  12250. models.QhjParentAreaList:
  12251. properties:
  12252. accountname:
  12253. description: 账户名称(机构名称)
  12254. type: string
  12255. userid:
  12256. description: 用户ID
  12257. type: integer
  12258. usertype:
  12259. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  12260. type: integer
  12261. type: object
  12262. models.QhjPayOrder:
  12263. properties:
  12264. advanceratio:
  12265. description: 首付比率
  12266. type: number
  12267. buyaccountid:
  12268. description: 买方账号ID[报价币种]
  12269. type: integer
  12270. buyorderid:
  12271. description: 买方委托单号
  12272. type: string
  12273. createtime:
  12274. description: 创建时间
  12275. type: string
  12276. decimalplace:
  12277. description: 商品报价小数位
  12278. type: integer
  12279. enumdicname:
  12280. description: 单位名称
  12281. type: string
  12282. goodscode:
  12283. description: 商品代码
  12284. type: string
  12285. goodsid:
  12286. description: 商品ID
  12287. type: integer
  12288. goodsname:
  12289. description: 商品名称
  12290. type: string
  12291. goodunitid:
  12292. description: 商品单位id
  12293. type: integer
  12294. marketid:
  12295. description: 市场ID
  12296. type: integer
  12297. offamount:
  12298. description: 优惠金额
  12299. type: number
  12300. operatetype:
  12301. description: 买委托操作类型 - 1:正常下单 16:融资买入
  12302. type: integer
  12303. payamount:
  12304. description: 支付金额
  12305. type: number
  12306. payflag:
  12307. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  12308. type: integer
  12309. paylimitedtime:
  12310. description: 支付期限
  12311. type: string
  12312. paytime:
  12313. description: 付款时间
  12314. type: string
  12315. qtydecimalplace:
  12316. description: 成交量小数位
  12317. type: integer
  12318. sellaccountid:
  12319. description: 卖方账号ID[报价币种]
  12320. type: integer
  12321. sellorderid:
  12322. description: 卖方委托单号
  12323. type: string
  12324. tradeamount:
  12325. description: 成交金额(优惠后金额)
  12326. type: number
  12327. tradecharge:
  12328. description: 成交手续费(买方)
  12329. type: number
  12330. tradedate:
  12331. description: 交易日(yyyyMMdd)
  12332. type: string
  12333. tradeid:
  12334. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12335. type: string
  12336. tradeprice:
  12337. description: 成交价格
  12338. type: number
  12339. tradeqty:
  12340. description: 成交数量
  12341. type: number
  12342. type: object
  12343. models.QhjPickArea:
  12344. properties:
  12345. address:
  12346. description: 详细地址
  12347. type: string
  12348. cityid:
  12349. description: 市
  12350. type: integer
  12351. cityname:
  12352. description: 城市名称
  12353. type: string
  12354. countryid:
  12355. description: 国家
  12356. type: integer
  12357. countryname:
  12358. description: 国家名称
  12359. type: string
  12360. districtid:
  12361. description: 地区
  12362. type: integer
  12363. districtname:
  12364. description: 地区名称
  12365. type: string
  12366. fromuserid:
  12367. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  12368. type: integer
  12369. fromusername:
  12370. description: 所属机构名称
  12371. type: string
  12372. provinceid:
  12373. description: 省
  12374. type: integer
  12375. provincename:
  12376. description: 省名称
  12377. type: string
  12378. suborgtype:
  12379. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  12380. type: integer
  12381. userid:
  12382. description: 机构用户ID 其他做市关系,都设置为 1
  12383. type: integer
  12384. username:
  12385. description: 机构用户名称(门店门称)
  12386. type: string
  12387. type: object
  12388. models.QhjPickGoods:
  12389. properties:
  12390. enumdicname:
  12391. description: 单位名称(提货商品)
  12392. type: string
  12393. goodsid:
  12394. description: 商品id
  12395. type: integer
  12396. imageaddress:
  12397. description: 图片
  12398. type: string
  12399. modifierid:
  12400. description: 修改人
  12401. type: integer
  12402. modifiername:
  12403. description: 修改人名称
  12404. type: string
  12405. modifysrc:
  12406. description: 修改来源 - 1:管理端 2:终端
  12407. type: integer
  12408. pickupgoodsagreeunit:
  12409. description: 合约乘数
  12410. type: number
  12411. pickupgoodsdesc:
  12412. description: 描述
  12413. type: string
  12414. pickupgoodsid:
  12415. description: 提货商品ID
  12416. type: string
  12417. pickupgoodsname:
  12418. description: 提货商品名称
  12419. type: string
  12420. pickupgoodsstatus:
  12421. description: 状态 - 1:正常 2:停用 3:注销
  12422. type: integer
  12423. pickupgoodsunitid:
  12424. description: 单位ID
  12425. type: integer
  12426. pickupratio:
  12427. description: 提货系数
  12428. type: number
  12429. preparedays:
  12430. description: 备货期(天)
  12431. type: integer
  12432. remark:
  12433. description: 备注
  12434. type: string
  12435. updatetime:
  12436. description: 更新时间
  12437. type: string
  12438. type: object
  12439. models.QhjRSTriggerLog:
  12440. properties:
  12441. accountid:
  12442. description: 用户资金账户
  12443. type: integer
  12444. accountname:
  12445. description: 账号名称(ACCOUNTID对应的名称)
  12446. type: string
  12447. currencyid:
  12448. description: 币种id
  12449. type: integer
  12450. currencyname:
  12451. description: 币种名称
  12452. type: string
  12453. decimalplace:
  12454. description: 商品报价小数位
  12455. type: integer
  12456. enumdicname:
  12457. description: 单位名称
  12458. type: string
  12459. goodscode:
  12460. description: 定投商品代码
  12461. type: string
  12462. goodsid:
  12463. description: 定投商品ID
  12464. type: integer
  12465. goodsname:
  12466. description: 定投商品名称
  12467. type: string
  12468. goodunitid:
  12469. description: 定投商品单位id
  12470. type: integer
  12471. logid:
  12472. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  12473. type: string
  12474. logincode:
  12475. description: 账号(登录代码)
  12476. type: string
  12477. qtydecimalplace:
  12478. description: 成交量小数位
  12479. type: integer
  12480. regularlycycle:
  12481. description: 定投频率 - 1:每周 2:每月
  12482. type: integer
  12483. regularlycyclevalue:
  12484. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  12485. type: string
  12486. regularlymode:
  12487. description: 定投方式 - 1:按数量 2:按金额
  12488. type: integer
  12489. regularlymodevalue:
  12490. description: 定投方式值 - 数量或金额
  12491. type: number
  12492. regularlystrategyid:
  12493. description: 定投策略ID
  12494. type: integer
  12495. retcode:
  12496. description: 错误码
  12497. type: string
  12498. tradeid:
  12499. description: 成交单ID
  12500. type: string
  12501. triggeramount:
  12502. description: 触发金额
  12503. type: number
  12504. triggerqty:
  12505. description: 触发数量
  12506. type: number
  12507. triggerstatus:
  12508. description: 触发状态 - 1:成功 2:失败
  12509. type: integer
  12510. triggertime:
  12511. description: 触发时间
  12512. type: string
  12513. triggertradedate:
  12514. description: 触发交易日
  12515. type: string
  12516. userid:
  12517. description: 所属用户ID
  12518. type: integer
  12519. userinfotype:
  12520. description: 用户类型 1-个人 2-企业
  12521. type: integer
  12522. username:
  12523. description: 用户名称(userid对应的名称)
  12524. type: string
  12525. type: object
  12526. models.QhjRStrategy:
  12527. properties:
  12528. accountid:
  12529. description: 用户资金账户
  12530. type: integer
  12531. accountname:
  12532. description: 账号名称(ACCOUNTID对应的名称)
  12533. type: string
  12534. currencyid:
  12535. description: 币种id
  12536. type: integer
  12537. currencyname:
  12538. description: 币种名称
  12539. type: string
  12540. decimalplace:
  12541. description: 商品报价小数位
  12542. type: integer
  12543. enumdicname:
  12544. description: 单位名称
  12545. type: string
  12546. goodscode:
  12547. description: 定投商品代码
  12548. type: string
  12549. goodsid:
  12550. description: 定投商品ID
  12551. type: integer
  12552. goodsname:
  12553. description: 定投商品名称
  12554. type: string
  12555. goodunitid:
  12556. description: 定投商品单位id
  12557. type: integer
  12558. lasteffecttradedate:
  12559. description: 最新生效交易日
  12560. type: string
  12561. laststoptradedate:
  12562. description: 最新暂停交易日
  12563. type: string
  12564. lasttriggertradedate:
  12565. description: 最新触发交易日
  12566. type: string
  12567. logincode:
  12568. description: 账号(登录代码)
  12569. type: string
  12570. nexttriggeramount:
  12571. description: 下次触发金额
  12572. type: number
  12573. nexttriggerdate:
  12574. description: 下次触发日期
  12575. type: string
  12576. nexttriggerqty:
  12577. description: 下次触发数量 [按小数位放大值]
  12578. type: number
  12579. qtydecimalplace:
  12580. description: 成交量小数位
  12581. type: integer
  12582. regularlycycle:
  12583. description: 定投频率 - 1:每周 2:每月
  12584. type: integer
  12585. regularlycyclevalue:
  12586. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  12587. type: string
  12588. regularlymode:
  12589. description: 定投方式 - 1:按数量 2:按金额
  12590. type: integer
  12591. regularlymodevalue:
  12592. description: 定投方式值 - 数量或金额
  12593. type: number
  12594. regularlystrategyid:
  12595. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  12596. type: integer
  12597. regularlystrategystatus:
  12598. description: 策略状态 - 1:正常 2:暂停 3:终止
  12599. type: integer
  12600. remark:
  12601. description: 备注
  12602. type: string
  12603. triggersuccesstimes:
  12604. description: 累计定投成功次数
  12605. type: string
  12606. triggertotalamount:
  12607. description: 累计定投金额(成功)
  12608. type: number
  12609. triggertotalqty:
  12610. description: 累计定投数量(成功) [按小数位放大值]
  12611. type: number
  12612. triggertotaltimes:
  12613. description: 累计定投总次数
  12614. type: string
  12615. updatesrc:
  12616. description: 更新来源 - 1:管理端 2:终端
  12617. type: integer
  12618. updatetime:
  12619. description: 更新时间
  12620. type: string
  12621. updatorid:
  12622. description: 更新人
  12623. type: string
  12624. userid:
  12625. description: 所属用户ID
  12626. type: integer
  12627. userinfotype:
  12628. description: 用户类型 1-个人 2-企业
  12629. type: integer
  12630. username:
  12631. description: 用户名称(userid对应的名称)
  12632. type: string
  12633. type: object
  12634. models.QhjReckonPriceLog:
  12635. properties:
  12636. decimalplace:
  12637. description: 商品报价小数位
  12638. type: integer
  12639. goodscode:
  12640. description: 商品代码
  12641. type: string
  12642. goodsid:
  12643. description: 商品ID
  12644. type: integer
  12645. goodsname:
  12646. description: 商品名称
  12647. type: string
  12648. lastreckonprice:
  12649. description: 上日结算价
  12650. type: number
  12651. nextdnlimitprice:
  12652. description: 下个交易日跌停价
  12653. type: number
  12654. nexttrade:
  12655. description: 下个交易日
  12656. type: string
  12657. nextuplimitprice:
  12658. description: 下个交易日涨停价
  12659. type: number
  12660. reckonprice:
  12661. description: 今日结算价(定投价)
  12662. type: number
  12663. reckontime:
  12664. description: 结算时间
  12665. type: string
  12666. totalholderqty:
  12667. description: 总持仓数
  12668. type: integer
  12669. totalstock:
  12670. description: 总库存
  12671. type: integer
  12672. tradedate:
  12673. description: 交易日
  12674. type: string
  12675. updowncount:
  12676. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  12677. type: integer
  12678. updownflag:
  12679. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  12680. type: integer
  12681. updownrate:
  12682. description: 今日涨跌幅
  12683. type: number
  12684. updownrate_2d:
  12685. description: 连续两日涨跌幅
  12686. type: number
  12687. updownrate_3d:
  12688. description: 连续三日涨跌幅
  12689. type: number
  12690. type: object
  12691. models.QhjScoreLog:
  12692. properties:
  12693. accountid:
  12694. description: 账户ID
  12695. type: integer
  12696. createtime:
  12697. description: 创建时间(时间)
  12698. type: string
  12699. goodsid:
  12700. description: 商品ID
  12701. type: integer
  12702. hasuploaded:
  12703. description: 是否已同步(千海金) 0:未同步 1;已同步
  12704. type: integer
  12705. logid:
  12706. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12707. type: string
  12708. marketid:
  12709. description: 市场ID
  12710. type: integer
  12711. relatedamount:
  12712. description: 关联金额
  12713. type: number
  12714. relatedorderid:
  12715. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  12716. type: string
  12717. scoreconfigvalue1:
  12718. description: 积分配置1
  12719. type: integer
  12720. scoreconfigvalue2:
  12721. description: 积分配置1
  12722. type: integer
  12723. scoretype:
  12724. description: 积分类型 - 1:提货积分
  12725. type: integer
  12726. scorevalue:
  12727. description: 积分
  12728. type: number
  12729. tradedate:
  12730. description: 交易日(yyyyMMdd)
  12731. type: string
  12732. uploadedtime:
  12733. description: 同步时间
  12734. type: string
  12735. userid:
  12736. description: 用户ID
  12737. type: integer
  12738. type: object
  12739. models.QhjSiteColumnDetail:
  12740. properties:
  12741. author:
  12742. description: 作者
  12743. type: string
  12744. brief:
  12745. description: 简介
  12746. type: string
  12747. columnid:
  12748. description: 所属栏目
  12749. type: integer
  12750. context:
  12751. description: 内容
  12752. type: string
  12753. coverimage:
  12754. description: 封面图片
  12755. type: string
  12756. creaedate:
  12757. description: 创建时间
  12758. type: string
  12759. creatorid:
  12760. description: 创建人
  12761. type: integer
  12762. hits:
  12763. description: 点击数
  12764. type: integer
  12765. id:
  12766. description: ID(SEQ_SITE_COLUMNDETAIL)
  12767. type: integer
  12768. isshow:
  12769. description: 是否展示 - 0:不展示 1:展示
  12770. type: integer
  12771. istop:
  12772. description: 是否置顶 - 0:不置 1:置顶
  12773. type: integer
  12774. modifierid:
  12775. description: 操作人
  12776. type: integer
  12777. publishdate:
  12778. description: 发布日期
  12779. type: string
  12780. status:
  12781. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  12782. type: integer
  12783. title:
  12784. description: 标题
  12785. type: string
  12786. updatedate:
  12787. description: 修改时间
  12788. type: string
  12789. userid:
  12790. description: 用户ID(默认为0, 核心为为机构用户ID)
  12791. type: integer
  12792. username:
  12793. description: 用户名称
  12794. type: string
  12795. type: object
  12796. models.QhjTeamOrder:
  12797. properties:
  12798. accountid:
  12799. description: 账户ID[报价币种]
  12800. type: integer
  12801. accountname:
  12802. description: 账户名称
  12803. type: string
  12804. agreeunit:
  12805. description: 合约乘数
  12806. type: number
  12807. buyorsell:
  12808. description: 方向 - 0:买 1:卖
  12809. type: integer
  12810. decimalplace:
  12811. description: 报价小数位
  12812. type: integer
  12813. enumdicname:
  12814. description: 单位名称
  12815. type: string
  12816. goodscode:
  12817. description: 商品代码(内部)
  12818. type: string
  12819. goodsid:
  12820. description: 商品ID
  12821. type: integer
  12822. goodsname:
  12823. description: 商品名称
  12824. type: string
  12825. goodunitid:
  12826. description: 报价单位ID
  12827. type: integer
  12828. marketid:
  12829. description: 市场ID
  12830. type: integer
  12831. marketname:
  12832. description: 市场名称
  12833. type: string
  12834. qtydecimalplace:
  12835. description: 成交量小数位
  12836. type: integer
  12837. refereeuserid:
  12838. description: 推荐人ID
  12839. type: integer
  12840. tradeamount:
  12841. description: 成交金额[账户币种,用于所有权]
  12842. type: number
  12843. tradedate:
  12844. description: 交易日(yyyyMMdd)
  12845. type: string
  12846. trademode:
  12847. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12848. 21:竞拍-大宗式 22:受托竞价
  12849. type: integer
  12850. tradeprice:
  12851. description: 成交价格
  12852. type: number
  12853. tradeqty:
  12854. description: 成交数量
  12855. type: number
  12856. tradetime:
  12857. description: 成交时间
  12858. type: string
  12859. userid:
  12860. description: 用户ID
  12861. type: integer
  12862. type: object
  12863. models.QhjTradeGoodsPickup:
  12864. properties:
  12865. accountid:
  12866. description: 账户ID
  12867. type: integer
  12868. address:
  12869. description: 提货人详细地址
  12870. type: string
  12871. amount:
  12872. description: 提货金额
  12873. type: number
  12874. artradedate:
  12875. description: 自动收货交易日(yyyyMMdd)
  12876. type: string
  12877. auditer:
  12878. description: 审核人
  12879. type: integer
  12880. auditsrc:
  12881. description: 更新来源 - 1:管理端 2:终端
  12882. type: integer
  12883. audittime:
  12884. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  12885. type: string
  12886. audittradedate:
  12887. description: 审核交易日(yyyyMMdd)
  12888. type: string
  12889. cardnum:
  12890. description: 提货人证件号码
  12891. type: string
  12892. cardtypeid:
  12893. description: 提货人证件类型
  12894. type: integer
  12895. checkremark:
  12896. description: 审核备注
  12897. type: string
  12898. cityid:
  12899. description: 市
  12900. type: integer
  12901. cityname:
  12902. description: 城市名称
  12903. type: string
  12904. confirmtime:
  12905. description: 取货时间 或 收货时间
  12906. type: string
  12907. countryid:
  12908. description: 国家
  12909. type: integer
  12910. countryname:
  12911. description: 国家名称
  12912. type: string
  12913. decimalplace:
  12914. description: 商品报价小数位
  12915. type: integer
  12916. districtid:
  12917. description: 地区
  12918. type: integer
  12919. districtname:
  12920. description: 地区名称
  12921. type: string
  12922. enumdicname:
  12923. description: 单位名称(提货商品)
  12924. type: string
  12925. expresscompany:
  12926. description: 物流公司
  12927. type: string
  12928. expressnum:
  12929. description: 物流单号
  12930. type: string
  12931. goodsagreeunit:
  12932. description: 交易商品乘数
  12933. type: number
  12934. goodscode:
  12935. description: 商品代码
  12936. type: string
  12937. goodsid:
  12938. description: 商品ID
  12939. type: integer
  12940. goodsname:
  12941. description: 商品名称
  12942. type: string
  12943. goodsqty:
  12944. description: 交易商品手数(69模式按成交量小数位放大取整)
  12945. type: number
  12946. handlestatus:
  12947. description: 处理状态
  12948. type: integer
  12949. logincode:
  12950. description: 账号(登录代码, 有可能为空)
  12951. type: string
  12952. marketid:
  12953. description: 市场ID
  12954. type: integer
  12955. phonenum:
  12956. description: 提货人联系方式
  12957. type: string
  12958. pickupgoodsagreeunit:
  12959. description: 提货商品合约乘数
  12960. type: number
  12961. pickupgoodsid:
  12962. description: 提货商品ID
  12963. type: string
  12964. pickupgoodsname:
  12965. description: 提货商品名称
  12966. type: string
  12967. pickupgoodsqty:
  12968. description: 提货商品手数(数量)
  12969. type: number
  12970. pickupgoodsunitid:
  12971. description: 单位ID(提货商品)
  12972. type: integer
  12973. pickupratio:
  12974. description: 提货系数
  12975. type: number
  12976. preparedays:
  12977. description: 备货期(天)-提货单明细表
  12978. type: integer
  12979. provinceid:
  12980. description: 省
  12981. type: integer
  12982. provincename:
  12983. description: 省名称
  12984. type: string
  12985. qty:
  12986. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  12987. type: number
  12988. qtydecimalplace:
  12989. description: 商品数量小数位
  12990. type: integer
  12991. recivername:
  12992. description: 提货人姓名
  12993. type: string
  12994. reqtime:
  12995. description: 提货申请时间
  12996. type: string
  12997. storeuserid:
  12998. description: 门店用户ID (千海金)
  12999. type: integer
  13000. storeusername:
  13001. description: 门店用户名称
  13002. type: string
  13003. takemode:
  13004. description: 提货方式 - 2:自提 3:配送(邮寄)
  13005. type: integer
  13006. takeorderid:
  13007. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  13008. type: string
  13009. takeorderstatus:
  13010. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  13011. 7:已拒绝 8:已撤销
  13012. type: integer
  13013. takeremark:
  13014. description: 提货备注
  13015. type: string
  13016. tradedate:
  13017. description: 交易日(yyyyMMdd)
  13018. type: string
  13019. updatetime:
  13020. description: 更新时间
  13021. type: string
  13022. userid:
  13023. description: 用户ID
  13024. type: integer
  13025. userinfotype:
  13026. description: 客户类型 1-个人 2-企业
  13027. type: integer
  13028. username:
  13029. description: 用户名称
  13030. type: string
  13031. type: object
  13032. models.QhjUserNodeCfgAndStatus:
  13033. properties:
  13034. agreementcontent:
  13035. description: 协议内容
  13036. type: string
  13037. agreementid:
  13038. description: 协议ID
  13039. type: integer
  13040. agreementname:
  13041. description: 协议名称
  13042. type: string
  13043. agreementno:
  13044. description: 协议编号
  13045. type: string
  13046. agreementtype:
  13047. description: 协议类型 - 1:注册 2:登录 3:交易
  13048. type: integer
  13049. agreementversion:
  13050. description: 协议版本号
  13051. type: integer
  13052. configid:
  13053. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  13054. type: integer
  13055. createtime:
  13056. description: 创建时间
  13057. type: string
  13058. goodsid:
  13059. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  13060. type: integer
  13061. nodetype:
  13062. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  13063. type: integer
  13064. signtimestamp:
  13065. description: 签约状态时间戳(最近一次)
  13066. type: string
  13067. tradedate:
  13068. description: 签约交易日(yyyyMMdd)
  13069. type: string
  13070. userid:
  13071. description: 客户ID
  13072. type: integer
  13073. type: object
  13074. models.Qhjgoodsex:
  13075. properties:
  13076. canfinance:
  13077. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  13078. type: integer
  13079. canregularlybuy:
  13080. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  13081. type: integer
  13082. defaulttradeuserid:
  13083. description: 默认交易用户ID
  13084. type: integer
  13085. deliverygoodsid:
  13086. description: 现货品种ID
  13087. type: integer
  13088. goodsid:
  13089. description: 商品ID(自增ID SEQ_GOODS)
  13090. type: integer
  13091. minamount:
  13092. description: 最小购买金额
  13093. type: number
  13094. regularlybuyminamount:
  13095. description: 定投最小金额
  13096. type: number
  13097. regularlybuyminqty:
  13098. description: 定投最小数量
  13099. type: number
  13100. spotgoodsbrandid:
  13101. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  13102. type: integer
  13103. visibilityforenterprise:
  13104. description: 企业客户是否可见 - 0:不可见 1:可见
  13105. type: integer
  13106. visibilityforpersonal:
  13107. description: 个人客户是否可见 - 0:不可见 1:可见
  13108. type: integer
  13109. wrstandardid:
  13110. description: 现货商品ID
  13111. type: integer
  13112. type: object
  13113. models.QueryErrorInfosRsp:
  13114. properties:
  13115. description:
  13116. description: 异常描述
  13117. type: string
  13118. errorcode:
  13119. description: 异常代码
  13120. type: string
  13121. errorid:
  13122. description: 异常ID
  13123. type: integer
  13124. modulecode:
  13125. description: 所属模块
  13126. type: string
  13127. operatecode:
  13128. description: 所属操作
  13129. type: string
  13130. rownumber:
  13131. description: 行号
  13132. type: string
  13133. required:
  13134. - errorid
  13135. type: object
  13136. models.QueryHedgeOrderDetailRsp:
  13137. properties:
  13138. accountid:
  13139. description: 账户ID
  13140. type: integer
  13141. buyorsell:
  13142. description: 买卖 - 0:买 1:卖
  13143. type: integer
  13144. cancellogincode:
  13145. description: 撤单人
  13146. type: string
  13147. channelbuildtype:
  13148. description: 开平标志 - 0:无 1:建仓 2:平仓
  13149. type: integer
  13150. channelinnerorderstatus:
  13151. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  13152. 9:全部成交
  13153. type: integer
  13154. channeloperatetype:
  13155. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  13156. type: integer
  13157. closetype:
  13158. description: 平仓方式 - 0:无 1:平今 2:平昨
  13159. type: integer
  13160. curexchangerate:
  13161. description: 当前汇率
  13162. type: number
  13163. decimalplace:
  13164. description: 商品报价小数位
  13165. type: integer
  13166. exchangefullname:
  13167. description: 外部交易所全称
  13168. type: string
  13169. goodscode:
  13170. description: 商品代码(内部)
  13171. type: string
  13172. goodsid:
  13173. description: 商品ID
  13174. type: integer
  13175. goodsname:
  13176. description: 商品名称
  13177. type: string
  13178. marketid:
  13179. description: 市场ID
  13180. type: integer
  13181. openfreezemargin:
  13182. description: 冻结保证金(冻结交易金额)
  13183. type: number
  13184. orderid:
  13185. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13186. type: string
  13187. orderlogincode:
  13188. description: 委托人
  13189. type: string
  13190. orderprice:
  13191. description: 委托价格(账户)
  13192. type: number
  13193. orderqty:
  13194. description: 委托数量
  13195. type: integer
  13196. ordertime:
  13197. description: 委托时间
  13198. type: string
  13199. pricemode:
  13200. description: '取价方式 - 1:市价 2: 限价'
  13201. type: integer
  13202. tradedate:
  13203. description: 交易日(yyyyMMdd)
  13204. type: string
  13205. tradeqty:
  13206. description: 成交数量
  13207. type: integer
  13208. type: object
  13209. models.QueryHedgeTradeDetailRsp:
  13210. properties:
  13211. accountid:
  13212. description: 账号ID
  13213. type: integer
  13214. buyorsell:
  13215. description: 方向 - 0:买 1:卖
  13216. type: integer
  13217. channelbuildtype:
  13218. description: 委托单据类型 0:无 1:建仓 2:平仓
  13219. type: integer
  13220. closecharge:
  13221. description: 平仓手续费(账户)
  13222. type: number
  13223. closecharge2:
  13224. description: 平仓手续费(商品)
  13225. type: number
  13226. closepl:
  13227. description: 平仓盈亏(账户)
  13228. type: number
  13229. closepl2:
  13230. description: 平仓盈亏(商品)
  13231. type: number
  13232. closepl3:
  13233. description: 平仓盈亏(账户)(逐笔)
  13234. type: number
  13235. closepl4:
  13236. description: 平仓盈亏(商品)(逐笔)
  13237. type: number
  13238. closetype:
  13239. description: 平仓方式 - 0:无 1:平今 2:平昨
  13240. type: integer
  13241. curexchangerate:
  13242. description: 当前汇率
  13243. type: number
  13244. decimalplace:
  13245. description: 商品报价小数位
  13246. type: integer
  13247. exchangefullname:
  13248. description: 外部交易所全称
  13249. type: string
  13250. goodscode:
  13251. description: 商品代码(内部)
  13252. type: string
  13253. goodsid:
  13254. description: 商品ID
  13255. type: integer
  13256. goodsname:
  13257. description: 商品名称
  13258. type: string
  13259. marketid:
  13260. description: 市场ID
  13261. type: integer
  13262. opencharge:
  13263. description: 建仓手续费(账户)
  13264. type: number
  13265. opencharge2:
  13266. description: 建仓手续费(商品)
  13267. type: number
  13268. orderid:
  13269. description: 委托单号
  13270. type: string
  13271. orderlogincode:
  13272. description: 委托人
  13273. type: string
  13274. tradeamount:
  13275. description: 成交金额(账户)
  13276. type: number
  13277. tradedate:
  13278. description: 交易日(yyyyMMdd)
  13279. type: string
  13280. tradeid:
  13281. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13282. type: string
  13283. tradeprice:
  13284. description: 成交价格
  13285. type: number
  13286. tradeqty:
  13287. description: 成交数量
  13288. type: integer
  13289. tradetime:
  13290. description: 成交时间
  13291. type: string
  13292. tradetype:
  13293. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  13294. type: integer
  13295. type: object
  13296. models.QuotePrimaryMenu:
  13297. properties:
  13298. Index:
  13299. description: 序号
  13300. type: integer
  13301. Key:
  13302. description: 键名
  13303. type: string
  13304. Name:
  13305. description: 菜单名称
  13306. type: string
  13307. SubMenus:
  13308. description: 子菜单
  13309. items:
  13310. $ref: '#/definitions/models.QuoteSecondaryMenu'
  13311. type: array
  13312. SubTitleType:
  13313. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  13314. type: integer
  13315. TradeModes:
  13316. description: 包含市场交易类型
  13317. type: string
  13318. type: object
  13319. models.QuoteSecondaryMenu:
  13320. properties:
  13321. ExExchangeCode:
  13322. description: 外部交易所代码
  13323. type: string
  13324. ExExchangeID:
  13325. description: 外部交易所ID
  13326. type: integer
  13327. GoodsGroupIDs:
  13328. description: 商品组ID列表
  13329. items:
  13330. type: integer
  13331. type: array
  13332. Index:
  13333. description: 序号
  13334. type: integer
  13335. MarketID:
  13336. description: 市场ID
  13337. type: integer
  13338. MenuTitle:
  13339. description: 菜单标题(市场名称或外部交易所名称)
  13340. type: string
  13341. TradeMode:
  13342. description: 交易模式
  13343. type: integer
  13344. type: object
  13345. models.RoleMenu:
  13346. properties:
  13347. hasright:
  13348. description: 是否有权限 0-没有权限 1-有权限
  13349. type: integer
  13350. iconame:
  13351. description: 菜单图标
  13352. type: string
  13353. menutype:
  13354. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  13355. type: integer
  13356. parentcode:
  13357. description: 上级资源代码
  13358. type: string
  13359. remark:
  13360. description: 菜单备注
  13361. type: string
  13362. resourcecode:
  13363. description: 菜单代码
  13364. type: string
  13365. resourcelevel:
  13366. description: 级别
  13367. type: integer
  13368. resourcename:
  13369. description: 菜单名称
  13370. type: string
  13371. roleid:
  13372. description: 角色id
  13373. type: integer
  13374. sort:
  13375. description: 排序
  13376. type: integer
  13377. subMenu:
  13378. description: 子级菜单(结构同上层一样, swag解析不出来)
  13379. items:
  13380. $ref: '#/definitions/models.RoleMenu'
  13381. type: array
  13382. url:
  13383. description: URL
  13384. type: string
  13385. userid:
  13386. description: 用户id
  13387. type: integer
  13388. type: object
  13389. models.SearchGoods:
  13390. properties:
  13391. goodscode:
  13392. description: 商品代码(内部)
  13393. type: string
  13394. goodsid:
  13395. description: 商品ID(自增ID SEQ_GOODS)
  13396. type: integer
  13397. goodsname:
  13398. description: 商品名称
  13399. type: string
  13400. marketid:
  13401. description: 所属市场ID
  13402. type: integer
  13403. marketname:
  13404. description: 市场名称
  13405. type: string
  13406. trademode:
  13407. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  13408. 21:竞拍-大宗式 22:受托竞价
  13409. type: integer
  13410. required:
  13411. - goodscode
  13412. - goodsid
  13413. - goodsname
  13414. - marketid
  13415. - trademode
  13416. type: object
  13417. models.Systemparam:
  13418. properties:
  13419. loginid:
  13420. description: 更新用户账号,登录账号
  13421. type: string
  13422. modifyflag:
  13423. description: 修改标志0 不允许修改 1 允许修改
  13424. type: integer
  13425. paramcode:
  13426. description: 参数代码
  13427. type: string
  13428. paramname:
  13429. description: 参数名
  13430. type: string
  13431. paramtype:
  13432. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  13433. type: integer
  13434. paramvalue:
  13435. description: 参数值
  13436. type: string
  13437. paramvalue2:
  13438. description: 参数值(CLOB)
  13439. type: string
  13440. regexpress:
  13441. description: 正则表达式
  13442. type: string
  13443. remark:
  13444. description: 备注
  13445. type: string
  13446. serverip:
  13447. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  13448. type: string
  13449. showflag:
  13450. description: 是否显示0 不显示 1 显示
  13451. type: integer
  13452. updatetime:
  13453. description: 更新时间
  13454. type: string
  13455. userid:
  13456. description: 更新用户ID
  13457. type: integer
  13458. required:
  13459. - paramcode
  13460. type: object
  13461. models.Szdz3convertconfig:
  13462. properties:
  13463. canin:
  13464. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  13465. type: integer
  13466. canout:
  13467. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  13468. type: integer
  13469. converttype:
  13470. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  13471. 6:交易转花生米(不设置)
  13472. type: integer
  13473. createtime:
  13474. description: 创建时间
  13475. type: string
  13476. creatorid:
  13477. description: 创建人
  13478. type: integer
  13479. daymaxvalue:
  13480. description: 当日最大转入限制
  13481. type: number
  13482. freezedays:
  13483. description: 冻结天数 [5:花生米转交易]
  13484. type: integer
  13485. innergoodsid:
  13486. description: 内部商品ID[交易]
  13487. type: integer
  13488. inratio:
  13489. description: 目标值
  13490. type: integer
  13491. modifierid:
  13492. description: 修改人
  13493. type: integer
  13494. modifytime:
  13495. description: 修改时间
  13496. type: string
  13497. outergoodscode:
  13498. description: 外部商品代码[JD\PD]
  13499. type: string
  13500. outratio:
  13501. description: 源值
  13502. type: integer
  13503. pddecimalplace:
  13504. description: PD小数位
  13505. type: integer
  13506. timemaxvalue:
  13507. description: 单次最大转入限制
  13508. type: number
  13509. timeminvalue:
  13510. description: 单次最小转入限制
  13511. type: number
  13512. required:
  13513. - converttype
  13514. - innergoodsid
  13515. - outergoodscode
  13516. type: object
  13517. models.Szdz3searchwhitelist:
  13518. properties:
  13519. createtime:
  13520. description: 创建时间
  13521. type: string
  13522. creatorid:
  13523. description: 创建人
  13524. type: integer
  13525. modifierid:
  13526. description: 修改人
  13527. type: integer
  13528. modifytime:
  13529. description: 修改时间
  13530. type: string
  13531. userid:
  13532. description: 用户ID
  13533. type: integer
  13534. required:
  13535. - userid
  13536. type: object
  13537. models.TBGoods:
  13538. properties:
  13539. agreeunit:
  13540. description: 合约乘数
  13541. type: number
  13542. enumdicname:
  13543. description: 单位名称
  13544. type: string
  13545. goodscode:
  13546. description: 商品代码(内部)
  13547. type: string
  13548. goodsid:
  13549. description: 商品ID(自增ID SEQ_GOODS)
  13550. type: integer
  13551. goodsname:
  13552. description: 商品名称
  13553. type: string
  13554. type: object
  13555. models.TBGoodsGroup:
  13556. properties:
  13557. GDLST:
  13558. description: 商品列表
  13559. items:
  13560. $ref: '#/definitions/models.TBGoods'
  13561. type: array
  13562. convertratio:
  13563. description: 折算系数
  13564. type: number
  13565. enumdicname:
  13566. description: 单位名称
  13567. type: string
  13568. exexchangecode:
  13569. description: 交易所代码
  13570. type: string
  13571. exexchangename:
  13572. description: 交易所名称
  13573. type: string
  13574. goodsgroupid:
  13575. description: 商品组ID(自增ID)
  13576. type: integer
  13577. goodsgroupname:
  13578. description: 商品组名称
  13579. type: string
  13580. goodunitid:
  13581. description: 报价单位ID
  13582. type: integer
  13583. type: object
  13584. models.TBMiddleGoods:
  13585. properties:
  13586. GPLST:
  13587. description: 期货品种列表
  13588. items:
  13589. $ref: '#/definitions/models.TBGoodsGroup'
  13590. type: array
  13591. WDLST:
  13592. description: 商品信息列表(现货品类)
  13593. items:
  13594. $ref: '#/definitions/models.TBWrstandard'
  13595. type: array
  13596. areauserid:
  13597. description: 机构用户ID
  13598. type: integer
  13599. enumdicname:
  13600. description: 单位名称
  13601. type: string
  13602. goodsunitid:
  13603. description: 套保品种单位id
  13604. type: integer
  13605. middlegoodscode:
  13606. description: 套保品种代码
  13607. type: string
  13608. middlegoodsid:
  13609. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  13610. type: integer
  13611. middlegoodsname:
  13612. description: 套保品种名称
  13613. type: string
  13614. needarbitrageratio:
  13615. description: 套利比率
  13616. type: number
  13617. needhedgeratio:
  13618. description: 套保比率
  13619. type: number
  13620. type: object
  13621. models.TBWrstandard:
  13622. properties:
  13623. convertratio:
  13624. description: 折算系数
  13625. type: number
  13626. deliverygoodsname:
  13627. description: 品种名称
  13628. type: string
  13629. enumdicname:
  13630. description: 单位名称
  13631. type: string
  13632. vatrate:
  13633. description: 增值税率
  13634. type: number
  13635. wrstandardcode:
  13636. description: 现货商品代码
  13637. type: string
  13638. wrstandardid:
  13639. description: 现货商品ID(SEQ_WRSTANDARD)
  13640. type: integer
  13641. wrstandardname:
  13642. description: 现货商品名称
  13643. type: string
  13644. type: object
  13645. models.Taaccount:
  13646. properties:
  13647. accountflag:
  13648. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  13649. type: integer
  13650. accountid:
  13651. description: 资金账户ID
  13652. type: integer
  13653. accountname:
  13654. description: 账户名称
  13655. type: string
  13656. balance:
  13657. description: 期初余额
  13658. type: number
  13659. capitalbalance:
  13660. description: 本金余额[外部子账户实际出入金余额]
  13661. type: number
  13662. changeflag:
  13663. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  13664. type: integer
  13665. changetime:
  13666. description: 账户状态变更时间
  13667. type: string
  13668. closepl:
  13669. description: 今日平仓盈亏
  13670. type: number
  13671. creditdecrease:
  13672. description: 今日授信减少
  13673. type: number
  13674. creditincrease:
  13675. description: 今日授信增加
  13676. type: number
  13677. curamount:
  13678. description: 总市值(从持仓中统计)
  13679. type: number
  13680. currencyid:
  13681. description: 货币ID
  13682. type: integer
  13683. currentbalance:
  13684. description: 期末余额
  13685. type: number
  13686. freezecharge:
  13687. description: 手续费冻结
  13688. type: number
  13689. freezemargin:
  13690. description: 冻结保证金
  13691. type: number
  13692. fromaccountid:
  13693. description: 所属上级账户
  13694. type: integer
  13695. inamount:
  13696. description: 今日入金金额(包括三方入金)
  13697. type: number
  13698. ismain:
  13699. description: 是否母账号 0:不是母账户 1:是母账户
  13700. type: integer
  13701. ismarketaccount:
  13702. description: 是否机构接单账号 0:不是 1:是
  13703. type: integer
  13704. isreckonaccount:
  13705. description: 是否机构分润账号 0:不是 1:是
  13706. type: integer
  13707. mortgagecredit:
  13708. description: 授信金额
  13709. type: number
  13710. orifreezecharge:
  13711. description: 期初手续费冻结
  13712. type: number
  13713. orifreezemargin:
  13714. description: 期初冻结保证金
  13715. type: number
  13716. orimortgagecredit:
  13717. description: 期初授信金额
  13718. type: number
  13719. oriothercredit:
  13720. description: 期初其它授信金额
  13721. type: number
  13722. oriotherfreezemargin:
  13723. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  13724. type: number
  13725. orioutamountfreeze:
  13726. description: 期初出金冻结
  13727. type: number
  13728. oriusedmargin:
  13729. description: 期初占用保证金
  13730. type: number
  13731. othercredit:
  13732. description: 其它授信金额
  13733. type: number
  13734. othercreditdecrease:
  13735. description: 今日其它授信减少
  13736. type: number
  13737. othercreditincrease:
  13738. description: 今日其它授信增加
  13739. type: number
  13740. otherfreezemargin:
  13741. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  13742. type: number
  13743. otherincome:
  13744. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  13745. type: number
  13746. otherpay:
  13747. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  13748. type: number
  13749. outamount:
  13750. description: 今日出金金额(包括三方出金)
  13751. type: number
  13752. outamountfreeze:
  13753. description: 出金冻结
  13754. type: number
  13755. outthreshold:
  13756. description: 出金阈值
  13757. type: number
  13758. parentaccountid:
  13759. description: 所属根账号
  13760. type: integer
  13761. paycharge:
  13762. description: 今日手续费支出
  13763. type: number
  13764. relatedaccountstatus:
  13765. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  13766. type: integer
  13767. relateduserid:
  13768. description: 关联用户
  13769. type: integer
  13770. remainamount:
  13771. description: 融资额(从融资合同中统计)
  13772. type: number
  13773. serivcegroup:
  13774. description: 服务分组
  13775. type: integer
  13776. signstatus:
  13777. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  13778. type: integer
  13779. sublevelpath:
  13780. description: 账号层级路径(逗号分隔,首尾加逗号)
  13781. type: string
  13782. taaccounttype:
  13783. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  13784. type: integer
  13785. thirdinamount:
  13786. description: 今日三方入金
  13787. type: number
  13788. thirdoutamount:
  13789. description: 今日三方出金
  13790. type: number
  13791. tradestatus:
  13792. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  13793. type: integer
  13794. tradestatuschangetime:
  13795. description: 激活时间
  13796. type: string
  13797. transferamount:
  13798. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  13799. type: number
  13800. usedmargin:
  13801. description: 占用保证金
  13802. type: number
  13803. userid:
  13804. description: 用户ID
  13805. type: integer
  13806. required:
  13807. - accountid
  13808. - userid
  13809. type: object
  13810. models.Tablecolumnconfig:
  13811. properties:
  13812. aligntype:
  13813. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  13814. type: integer
  13815. autoid:
  13816. description: AutoID
  13817. type: integer
  13818. columnfield:
  13819. description: 列字段
  13820. type: string
  13821. columntitle:
  13822. description: 列Title
  13823. type: string
  13824. columnwidth:
  13825. description: 列宽
  13826. type: string
  13827. formatterstring:
  13828. description: 格式化字符
  13829. type: string
  13830. formattertype:
  13831. description: 格式化类型
  13832. type: string
  13833. groupname:
  13834. description: 表头分组名称
  13835. type: string
  13836. isshow:
  13837. description: 是否显示 - 0:不显示 1:显示
  13838. type: integer
  13839. needsummary:
  13840. description: 是否需要汇总 - 0:不需要 1:需要
  13841. type: integer
  13842. orderindex:
  13843. description: 顺序
  13844. type: integer
  13845. remark:
  13846. description: 备注
  13847. type: string
  13848. summarytype:
  13849. description: 汇总类型 - 1:加总 2:最后一个
  13850. type: integer
  13851. tablekey:
  13852. description: 列表Key
  13853. type: string
  13854. required:
  13855. - autoid
  13856. type: object
  13857. models.TjmdHolderDetailTradeInfo:
  13858. properties:
  13859. agreeunit:
  13860. description: 合约乘数
  13861. type: number
  13862. buyaccountid:
  13863. description: 买方账户
  13864. type: string
  13865. buyusername:
  13866. description: 买方
  13867. type: string
  13868. delistingdate:
  13869. description: 最后结算日
  13870. type: string
  13871. expiredate:
  13872. description: 到期结算价定价日
  13873. type: string
  13874. exprieprice:
  13875. description: 到期清算价格
  13876. type: string
  13877. goodscode:
  13878. description: 商品代码
  13879. type: string
  13880. goodsid:
  13881. description: 商品ID
  13882. type: integer
  13883. goodsname:
  13884. description: 商品名称(交易标的)
  13885. type: string
  13886. lasttradedate:
  13887. description: 最后交易日
  13888. type: string
  13889. listingdate:
  13890. description: 开始交易日
  13891. type: string
  13892. openprice:
  13893. description: 成交价
  13894. type: number
  13895. openqty:
  13896. description: 交易数量
  13897. type: integer
  13898. sellaccountid:
  13899. description: 卖方账户
  13900. type: string
  13901. sellusername:
  13902. description: 卖方
  13903. type: string
  13904. tradeamount:
  13905. description: 初始名义价值
  13906. type: number
  13907. tradedate:
  13908. description: 成交日期
  13909. type: string
  13910. tradeid:
  13911. description: 成交编号
  13912. type: string
  13913. type: object
  13914. models.TjmdMarketSection:
  13915. properties:
  13916. marketsectionid:
  13917. description: 市场版块ID(SEQ_MARKETSECTION)
  13918. type: integer
  13919. marketsectionname:
  13920. description: 市场版块名称
  13921. type: string
  13922. mlist:
  13923. description: 市场列表(板块下面有多少个市场)
  13924. items:
  13925. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  13926. type: array
  13927. orderindex:
  13928. description: 排序
  13929. type: integer
  13930. pictureurl:
  13931. description: 图片url, 规格(90*90)
  13932. type: string
  13933. remark:
  13934. description: 备注
  13935. type: string
  13936. type: object
  13937. models.TjmdMarketSectionConfig:
  13938. properties:
  13939. auctionwrtype:
  13940. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  13941. type: integer
  13942. canacceptquote:
  13943. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  13944. type: integer
  13945. cangoodsexercise:
  13946. description: '[期权]是否可现货行权- 0:否 1:是'
  13947. type: integer
  13948. cangoodsexercisetype:
  13949. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  13950. type: integer
  13951. canmanualquotestrike:
  13952. description: 是否可手动报行权价- 0:否 1:是 [期权]
  13953. type: integer
  13954. canmutistage:
  13955. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  13956. type: integer
  13957. canpreexercise:
  13958. description: '[期权]是否可预申报- 0:否 1:是'
  13959. type: integer
  13960. clearinterval:
  13961. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  13962. type: integer
  13963. contracttmp:
  13964. description: 合同模板[荷兰式][竞价式][仓单贸易]
  13965. type: string
  13966. exchareaid:
  13967. description: 所属交易所,可以没有
  13968. type: integer
  13969. financemarketid:
  13970. description: 融资回购市场ID [仓单贸易]
  13971. type: integer
  13972. goodstype:
  13973. description: 商品类型 - 1:交易商品 2:仓单商品
  13974. type: integer
  13975. hasrebate:
  13976. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  13977. type: integer
  13978. hastradecredit:
  13979. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  13980. type: integer
  13981. haswr:
  13982. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  13983. type: integer
  13984. isdeductmargin:
  13985. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  13986. type: integer
  13987. isrecordsource:
  13988. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  13989. type: integer
  13990. isreleasemargin:
  13991. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  13992. type: integer
  13993. isupdatereckonprice:
  13994. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  13995. type: integer
  13996. listingmode:
  13997. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  13998. type: integer
  13999. marginformula:
  14000. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  14001. type: integer
  14002. marginformula2:
  14003. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  14004. type: integer
  14005. marketid:
  14006. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  14007. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  14008. type: integer
  14009. marketname:
  14010. description: 市场名称
  14011. type: string
  14012. marketsectionid:
  14013. description: 市场版块ID(SEQ_MARKETSECTION)
  14014. type: integer
  14015. marketserviceid:
  14016. description: 市场服务ID
  14017. type: integer
  14018. marketstatus:
  14019. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  14020. type: integer
  14021. markettype:
  14022. description: 市场类型- 1:非交易服务 2:交易服务
  14023. type: integer
  14024. matchermode:
  14025. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  14026. type: integer
  14027. nowrquotaflag:
  14028. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  14029. type: integer
  14030. openmethod:
  14031. description: 开盘模式 - 0 自动 1手动
  14032. type: integer
  14033. orderindex:
  14034. description: 排序
  14035. type: integer
  14036. otcuserid:
  14037. description: 场外期权做市商[场外期权]
  14038. type: integer
  14039. outersynctime:
  14040. description: 外部同步时间点(h24:mi:ss)[场外期权]
  14041. type: string
  14042. paylaterflag:
  14043. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  14044. type: integer
  14045. pendingflag:
  14046. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  14047. type: integer
  14048. pendingtime:
  14049. description: 待开市时间[通道交易-对冲](HH:mm)
  14050. type: string
  14051. performancetempid:
  14052. description: 履约计划模板ID - 作废
  14053. type: integer
  14054. premiumquotemode:
  14055. description: 权利金报价方式 - 1:自动 2:手动
  14056. type: integer
  14057. rebateratio:
  14058. description: 返利比率[竞价式]
  14059. type: number
  14060. reckonorder:
  14061. description: 结算顺序
  14062. type: integer
  14063. reckonpricealgorithm:
  14064. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  14065. 6.卖一价 7.买一卖一均价 8.外部结算价'
  14066. type: integer
  14067. reckonpriceparam:
  14068. description: 结算价参数
  14069. type: integer
  14070. reckontime:
  14071. description: 结算时间[通道交易-对冲](HH:mm)
  14072. type: string
  14073. roleprioritytype:
  14074. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  14075. type: integer
  14076. selllistingauditflag:
  14077. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  14078. type: integer
  14079. trademarkettype:
  14080. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  14081. type: integer
  14082. trademode:
  14083. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  14084. 21:竞拍-大宗式 22:受托竞价
  14085. type: integer
  14086. tradeproperty:
  14087. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  14088. 8:场外期权
  14089. type: integer
  14090. tradetype:
  14091. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  14092. type: integer
  14093. updatereckonpriceinterval:
  14094. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  14095. type: integer
  14096. type: object
  14097. models.TjmdQuoteGoods:
  14098. properties:
  14099. buyqty:
  14100. description: 买量(暂不做, 无值, 保留字段)
  14101. type: number
  14102. decimalplace:
  14103. description: 报价小数位
  14104. type: integer
  14105. goodscode:
  14106. description: 合约代码
  14107. type: string
  14108. goodsgroupid:
  14109. description: 商品组ID(自增ID)
  14110. type: integer
  14111. goodsgroupname:
  14112. description: 商品组名称
  14113. type: string
  14114. goodsid:
  14115. description: 合约id
  14116. type: integer
  14117. goodsname:
  14118. description: 合约名称
  14119. type: string
  14120. refgoodscode:
  14121. description: 标的合约代码
  14122. type: string
  14123. refgoodsid:
  14124. description: 标的合约id
  14125. type: integer
  14126. refgoodsname:
  14127. description: 标的合约名称
  14128. type: string
  14129. sellqty:
  14130. description: 卖量(暂不做, 无值, 保留字段)
  14131. type: number
  14132. type: object
  14133. models.TjmdTodayAccountMargin:
  14134. properties:
  14135. accountid:
  14136. description: 账号ID
  14137. type: integer
  14138. goodsid:
  14139. description: 商品ID
  14140. type: integer
  14141. infoc:
  14142. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  14143. description: 配置参数
  14144. marketid:
  14145. description: 市场ID
  14146. type: integer
  14147. type: object
  14148. models.TjmdTradeOrderDetail:
  14149. properties:
  14150. buyorsell:
  14151. description: 买卖方向 0-买 1-卖
  14152. type: integer
  14153. goodsid:
  14154. description: 商品id
  14155. type: integer
  14156. marketmaxsub:
  14157. description: 市价最大偏移范围 [浮动价 - 点差]
  14158. type: number
  14159. orderid:
  14160. description: 委托单号
  14161. type: string
  14162. orderprice:
  14163. description: 委托价格
  14164. type: number
  14165. orderqty:
  14166. description: 委托数量
  14167. type: integer
  14168. pricemode:
  14169. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  14170. type: integer
  14171. userid:
  14172. description: 用户id
  14173. type: integer
  14174. username:
  14175. description: 用户名称(已脱敏)
  14176. type: string
  14177. type: object
  14178. models.TjmdTransferApply:
  14179. properties:
  14180. applyid:
  14181. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  14182. type: integer
  14183. applystatus:
  14184. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  14185. type: integer
  14186. applytime:
  14187. description: 申请时间(时间)
  14188. type: string
  14189. auditremark:
  14190. description: 审核备注(拒绝原因?)
  14191. type: string
  14192. begindate:
  14193. description: 开始交易日(yyyymmdd)
  14194. type: string
  14195. buyorsell:
  14196. description: 买卖 - 0:买 1:卖
  14197. type: integer
  14198. enddate:
  14199. description: 结束交易日(yyyymmdd)
  14200. type: string
  14201. goodscode:
  14202. description: 商品代码
  14203. type: string
  14204. goodsid:
  14205. description: 商品ID
  14206. type: integer
  14207. goodsname:
  14208. description: 商品名称
  14209. type: string
  14210. marketid:
  14211. description: 市场ID
  14212. type: integer
  14213. qty:
  14214. description: 转让数量(数量)
  14215. type: number
  14216. tradeid:
  14217. description: 成交单号(关联持仓)
  14218. type: string
  14219. transferamount:
  14220. description: 转让总金额(金额)
  14221. type: number
  14222. transferprice:
  14223. description: 转让价格(协议价格)
  14224. type: number
  14225. type: object
  14226. models.TradeHolderDetail:
  14227. properties:
  14228. accountid:
  14229. description: 账号ID
  14230. type: integer
  14231. agreeunit:
  14232. description: 合约乘数
  14233. type: number
  14234. buyorsell:
  14235. description: 方向 - 0:买 1:卖
  14236. type: integer
  14237. currencyid:
  14238. description: 商品币种id
  14239. type: integer
  14240. currencyname:
  14241. description: 币种名称
  14242. type: string
  14243. decimalplace:
  14244. description: 商品价格小数位
  14245. type: integer
  14246. enumdicname:
  14247. description: 商品单位名称
  14248. type: string
  14249. expirecycle:
  14250. description: 行权周期(天) - 1:滚动行权时填写
  14251. type: integer
  14252. expiredate:
  14253. description: 行权日(yyyyMMdd) - 到期日
  14254. type: string
  14255. expiretype:
  14256. description: 行权日类型 - 1:滚动行权 2:固定日行权
  14257. type: integer
  14258. freezeqty:
  14259. description: 冻结数量
  14260. type: number
  14261. goodscode:
  14262. description: 商品代码
  14263. type: string
  14264. goodsid:
  14265. description: 商品ID
  14266. type: integer
  14267. goodsname:
  14268. description: 商品名称
  14269. type: string
  14270. goodunitid:
  14271. description: 商品单位id
  14272. type: integer
  14273. holderamount:
  14274. description: 持仓金额
  14275. type: number
  14276. holdercredit:
  14277. description: 持仓授信金额
  14278. type: number
  14279. holderdays:
  14280. description: 剩余冻结天数
  14281. type: integer
  14282. holderprice:
  14283. description: 持仓价格
  14284. type: number
  14285. holderqty:
  14286. description: 持仓数量
  14287. type: number
  14288. isconfirmexercise:
  14289. description: 是否确认行权- 0:否 1:是
  14290. type: integer
  14291. ispreexercise:
  14292. description: 是否预申报- 0:否 1:是 2:不可行权
  14293. type: integer
  14294. marketid:
  14295. description: 市场id
  14296. type: integer
  14297. marketname:
  14298. description: 市场名称
  14299. type: string
  14300. openprice:
  14301. description: 建仓价格
  14302. type: number
  14303. openqty:
  14304. description: 建仓数量
  14305. type: number
  14306. optiontype:
  14307. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  14308. type: integer
  14309. preexerciseprice:
  14310. description: 预申报价格
  14311. type: number
  14312. premium:
  14313. description: 权利金
  14314. type: number
  14315. qtydecimalplace:
  14316. description: 商品成交量小数位
  14317. type: integer
  14318. refgoodscode:
  14319. description: 标的合约代码
  14320. type: string
  14321. refgoodsid:
  14322. description: 标的合约id
  14323. type: integer
  14324. releaseamount:
  14325. description: 释放持仓金额
  14326. type: number
  14327. releaseholdercredit:
  14328. description: 释放持仓授信金额
  14329. type: number
  14330. taname:
  14331. description: 资金账号名称
  14332. type: string
  14333. tradeamount:
  14334. description: 成交金额
  14335. type: number
  14336. tradedate:
  14337. description: 交易日(yyyyMMdd)
  14338. type: string
  14339. tradeid:
  14340. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14341. type: string
  14342. trademode:
  14343. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  14344. 21:竞拍-大宗式 22:受托竞价 46:掉期
  14345. type: integer
  14346. tradeproperty:
  14347. description: 交易属性
  14348. type: integer
  14349. tradetime:
  14350. description: 交易时间
  14351. type: string
  14352. userid:
  14353. description: 用户id
  14354. type: integer
  14355. username:
  14356. description: 用户名称
  14357. type: string
  14358. type: object
  14359. models.UserCollectConfig:
  14360. properties:
  14361. accountstatus:
  14362. description: 账户状态 - 1:正常 2:停用 3:注销
  14363. type: integer
  14364. collectaccountname:
  14365. description: 收款人账户名称
  14366. type: string
  14367. collectaccountno:
  14368. description: 收款人账户
  14369. type: string
  14370. collectbankname:
  14371. description: 收款人开户行
  14372. type: string
  14373. collectbranchbankname:
  14374. description: 收款人开户支行
  14375. type: string
  14376. collectconfigid:
  14377. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  14378. type: string
  14379. remark:
  14380. description: 备注
  14381. type: string
  14382. userid:
  14383. description: 收款人用户ID
  14384. type: integer
  14385. type: object
  14386. models.UserReceiveInfo:
  14387. properties:
  14388. address:
  14389. description: 提货人详细地址
  14390. type: string
  14391. autoid:
  14392. description: AutoID
  14393. type: integer
  14394. cardnum:
  14395. description: 证件号码(加密存储)
  14396. type: string
  14397. cardtypeid:
  14398. description: 证件类型
  14399. type: integer
  14400. cityid:
  14401. description: 市
  14402. type: integer
  14403. cityname:
  14404. description: 城市名称
  14405. type: string
  14406. countryid:
  14407. description: 国家
  14408. type: integer
  14409. countryname:
  14410. description: 国家名称
  14411. type: string
  14412. districtid:
  14413. description: 地区
  14414. type: integer
  14415. districtname:
  14416. description: 地区名称
  14417. type: string
  14418. hasencrypt:
  14419. description: 数据是否已加密 - 0:未加密 1:已加密
  14420. type: integer
  14421. isdefault:
  14422. description: 是否默认地址 - 0:否 1:是
  14423. type: integer
  14424. phonenum:
  14425. description: 提货人联系方式(加密存储)
  14426. type: string
  14427. provinceid:
  14428. description: 省
  14429. type: integer
  14430. provincename:
  14431. description: 省名称
  14432. type: string
  14433. receivername:
  14434. description: 提货人姓名
  14435. type: string
  14436. takeremark:
  14437. description: 提货备注
  14438. type: string
  14439. userid:
  14440. description: 用户ID
  14441. type: integer
  14442. type: object
  14443. models.Useraccount:
  14444. properties:
  14445. accountname:
  14446. description: 账户名称(机构名称)
  14447. type: string
  14448. accountstatus:
  14449. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  14450. type: integer
  14451. applysrc:
  14452. description: 申请来源 - 1:管理端 2:终端
  14453. type: integer
  14454. auditremark:
  14455. description: 审核备注
  14456. type: string
  14457. auditsrc:
  14458. description: 审核来源 - 1:管理端 2:终端
  14459. type: integer
  14460. audittime:
  14461. description: 审核时间
  14462. type: string
  14463. audituserid:
  14464. description: 审核人
  14465. type: integer
  14466. broker:
  14467. description: 所属经纪人ID
  14468. type: integer
  14469. canceltime:
  14470. description: 销户时间
  14471. type: string
  14472. canceluserid:
  14473. description: 销户人
  14474. type: integer
  14475. canrecommend:
  14476. description: 是否可推荐 - 0:不可 1;可
  14477. type: integer
  14478. createtime:
  14479. description: 创建时间
  14480. type: string
  14481. creatorid:
  14482. description: 创建人
  14483. type: integer
  14484. hasauth:
  14485. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  14486. type: integer
  14487. isanonymous:
  14488. description: 是否匿名下单 - 0:否 1:是
  14489. type: integer
  14490. maxinvestornum:
  14491. description: 最大用户数(经纪会员下投资者个数)
  14492. type: integer
  14493. memberuserid:
  14494. description: 所属会员ID
  14495. type: integer
  14496. modifierid:
  14497. description: 修改人
  14498. type: integer
  14499. modifyremark:
  14500. description: 变更备注
  14501. type: string
  14502. modifystatus:
  14503. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  14504. type: integer
  14505. modifytime:
  14506. description: 修改时间
  14507. type: string
  14508. parenttopuser:
  14509. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  14510. type: string
  14511. parentuserid:
  14512. description: 所属机构ID
  14513. type: integer
  14514. reckonaccountid:
  14515. description: 默认结算资金账号ID(机构分润使用) 作废
  14516. type: integer
  14517. refercount:
  14518. description: 推荐总人数
  14519. type: integer
  14520. refereeuserid:
  14521. description: 推荐人ID
  14522. type: integer
  14523. refernum:
  14524. description: 推荐码
  14525. type: string
  14526. rootuserid:
  14527. description: 根用户ID
  14528. type: integer
  14529. subaccountlevel:
  14530. description: 子账户层数
  14531. type: integer
  14532. subarealevelpath:
  14533. description: 子机构层级路径(逗号分隔,首尾加逗号)
  14534. type: string
  14535. userid:
  14536. description: 用户ID
  14537. type: integer
  14538. usertype:
  14539. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  14540. type: integer
  14541. required:
  14542. - userid
  14543. type: object
  14544. models.Userfavoritegoods:
  14545. properties:
  14546. goodsid:
  14547. description: 商品ID
  14548. type: integer
  14549. required:
  14550. - goodsid
  14551. type: object
  14552. models.Userinfo:
  14553. properties:
  14554. address:
  14555. description: 地址
  14556. type: string
  14557. attachment1:
  14558. description: 附件1
  14559. type: string
  14560. attachment2:
  14561. description: 附件2
  14562. type: string
  14563. bankaccount:
  14564. description: 银行帐号 (加密存储)
  14565. type: string
  14566. bankaccountname:
  14567. description: 收款人名称
  14568. type: string
  14569. bankcardfrontphotourl:
  14570. description: 银行卡正面照地址
  14571. type: string
  14572. bankid:
  14573. description: 银行编码
  14574. type: string
  14575. bankname:
  14576. description: 银行名称
  14577. type: string
  14578. biznature:
  14579. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  14580. type: integer
  14581. bizscope:
  14582. description: 企业经营范围(企业)
  14583. type: string
  14584. cardbackphotourl:
  14585. description: 证件背面图片地址
  14586. type: string
  14587. cardfrontphotourl:
  14588. description: 证件正面图片地址
  14589. type: string
  14590. cardnum:
  14591. description: 证件号码(加密存储)
  14592. type: string
  14593. cardtypeid:
  14594. description: 证件类型ID
  14595. type: integer
  14596. cityid:
  14597. description: 市
  14598. type: integer
  14599. company:
  14600. description: 公司(个人)
  14601. type: string
  14602. contactname:
  14603. description: 联系人
  14604. type: string
  14605. countryid:
  14606. description: 国家
  14607. type: integer
  14608. createtime:
  14609. description: 创建时间
  14610. type: string
  14611. creatorid:
  14612. description: 创建人
  14613. type: integer
  14614. customername:
  14615. description: 客户名称(企业名称)
  14616. type: string
  14617. districtid:
  14618. description: 地区
  14619. type: integer
  14620. email:
  14621. description: 邮件(加密存储)
  14622. type: string
  14623. fax:
  14624. description: 传真(加密存储)
  14625. type: string
  14626. halfbodyphotourl:
  14627. description: 半身照地址
  14628. type: string
  14629. hasencrypt:
  14630. description: 数据是否已加密 - 0:未加密 1:已加密
  14631. type: integer
  14632. headurl:
  14633. description: 头像地址
  14634. type: string
  14635. legalcardbackphotourl:
  14636. description: 法人身份证背面照地址
  14637. type: string
  14638. legalcardfrontphotourl:
  14639. description: 法人身份证正面照地址
  14640. type: string
  14641. legalpersonname:
  14642. description: 法人姓名(企业)
  14643. type: string
  14644. mobile:
  14645. description: 手机号码(加密存储)
  14646. type: string
  14647. mobile2:
  14648. description: 手机号码[明文-尚志]
  14649. type: string
  14650. modifierid:
  14651. description: 修改人
  14652. type: integer
  14653. modifiertime:
  14654. description: 修改时间
  14655. type: string
  14656. needinvoice:
  14657. description: 是否需要发票 - 0:不需要 1:需要
  14658. type: integer
  14659. nickname:
  14660. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  14661. type: string
  14662. openmode:
  14663. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  14664. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  14665. type: integer
  14666. otherurl:
  14667. description: 其它图片地址[使用分号分隔]
  14668. type: string
  14669. postalcode:
  14670. description: 邮政编码
  14671. type: string
  14672. provinceid:
  14673. description: 省
  14674. type: integer
  14675. qq:
  14676. description: QQ(加密存储
  14677. type: string
  14678. remark:
  14679. description: 备注
  14680. type: string
  14681. sex:
  14682. description: '用户性别 0: 女 1: 男'
  14683. type: integer
  14684. signpdfurl:
  14685. description: 签约pdf文件
  14686. type: string
  14687. telphone:
  14688. description: 联系电话(加密存储)
  14689. type: string
  14690. userid:
  14691. description: 用户ID
  14692. type: integer
  14693. userinfotype:
  14694. description: 用户信息类型 - 1:个人 2:企业
  14695. type: integer
  14696. userstatus:
  14697. description: 用户状态 - 1:正常 2:注销
  14698. type: integer
  14699. usertype:
  14700. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  14701. type: integer
  14702. wechat:
  14703. description: 微信(加密存储)
  14704. type: string
  14705. wskhinfo:
  14706. description: 开户申请信息(JSON)
  14707. type: string
  14708. required:
  14709. - userid
  14710. type: object
  14711. models.WRSConverTDetail:
  14712. properties:
  14713. convertratio:
  14714. description: 套保系数
  14715. type: number
  14716. deliverygoodscode:
  14717. description: 现货商品代码
  14718. type: string
  14719. deliverygoodsid:
  14720. description: 现货品种ID
  14721. type: integer
  14722. deliverygoodsname:
  14723. description: 现货商品名称
  14724. type: string
  14725. enumdicname:
  14726. description: 单位名称
  14727. type: string
  14728. goodsunitid:
  14729. description: 套保品种单位id
  14730. type: integer
  14731. middlegoodscode:
  14732. description: 套保品种代码
  14733. type: string
  14734. middlegoodsid:
  14735. description: 套保品种ID
  14736. type: integer
  14737. middlegoodsname:
  14738. description: 套保品种名称
  14739. type: string
  14740. modifytime:
  14741. description: 修改时间
  14742. type: string
  14743. wrstandardid:
  14744. description: 品类ID
  14745. type: integer
  14746. type: object
  14747. models.WRStandardInfo:
  14748. properties:
  14749. areauserid:
  14750. description: 所属机构
  14751. type: integer
  14752. convertfactor:
  14753. description: 标仓系数
  14754. type: number
  14755. createtime:
  14756. description: 创建时间
  14757. type: string
  14758. creatorid:
  14759. description: 创建人
  14760. type: integer
  14761. deliverygoodsid:
  14762. description: 品种ID
  14763. type: integer
  14764. deliverygoodsname:
  14765. description: 交割商品名称
  14766. type: string
  14767. factoryitemjson:
  14768. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  14769. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  14770. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  14771. 逗号分隔'
  14772. type: string
  14773. isvalid:
  14774. description: 是否有效 - 0:无效 1:有效
  14775. type: integer
  14776. minivalue:
  14777. description: 最小变动值
  14778. type: integer
  14779. minivaluedp:
  14780. description: 最小变动值小数位
  14781. type: integer
  14782. realminivalue:
  14783. description: 实际最小变动值
  14784. type: integer
  14785. realminivaluedp:
  14786. description: 实际最小变动值小数位
  14787. type: integer
  14788. remark:
  14789. description: 备注
  14790. type: string
  14791. unitid:
  14792. description: 单位ID
  14793. type: integer
  14794. unitname:
  14795. description: 单位
  14796. type: string
  14797. updatetime:
  14798. description: 更新时间
  14799. type: string
  14800. updatorid:
  14801. description: 更新人
  14802. type: integer
  14803. wrsstatus:
  14804. description: 状态 - 作废 - 0:未激活 1:正常
  14805. type: integer
  14806. wrstandardcode:
  14807. description: 现货品类代码
  14808. type: string
  14809. wrstandardid:
  14810. description: 现货品类ID(SEQ_WRSTANDARD)
  14811. type: integer
  14812. wrstandardname:
  14813. description: 现货品类名称
  14814. type: string
  14815. required:
  14816. - wrstandardid
  14817. type: object
  14818. models.WRTradeBargainApply:
  14819. properties:
  14820. accountid:
  14821. description: 摘牌资金账号
  14822. type: integer
  14823. applyprice:
  14824. description: 申请价格(议价价格)
  14825. type: string
  14826. applyqty:
  14827. description: 摘牌数量(议价数量)
  14828. type: number
  14829. applyremark:
  14830. description: 申请备注
  14831. type: string
  14832. applystatus:
  14833. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  14834. type: integer
  14835. applytime:
  14836. description: 申请时间(议价时间)
  14837. type: string
  14838. begindate:
  14839. description: 开始交易日(yyyymmdd)
  14840. type: string
  14841. buyorsell:
  14842. description: 买卖(挂牌类型) - 0:买 1:卖
  14843. type: integer
  14844. confirmremark:
  14845. description: 确认备注
  14846. type: string
  14847. confirmtime:
  14848. description: 确认时间
  14849. type: string
  14850. confirmuserid:
  14851. description: 确认人
  14852. type: integer
  14853. deliverygoodscode:
  14854. description: 品种代码
  14855. type: string
  14856. deliverygoodsid:
  14857. description: 品种ID
  14858. type: integer
  14859. deliverygoodsname:
  14860. description: 品种名称
  14861. type: string
  14862. deliverymonth:
  14863. description: 交收月
  14864. type: string
  14865. enddate:
  14866. description: 结束交易日(yyyymmdd)
  14867. type: string
  14868. enumdicname:
  14869. description: 单位名称
  14870. type: string
  14871. fixedprice:
  14872. description: 挂牌价格
  14873. type: number
  14874. handlestatus:
  14875. description: 处理状态
  14876. type: integer
  14877. marginvalue:
  14878. description: 履约保证金比例
  14879. type: number
  14880. marketid:
  14881. description: 市场ID
  14882. type: integer
  14883. matchaccountid:
  14884. description: 挂牌方资金账号
  14885. type: integer
  14886. matchuserid:
  14887. description: 挂牌方用户id
  14888. type: integer
  14889. matchusername:
  14890. description: 挂牌方用户名称(已脱敏)
  14891. type: string
  14892. minivalue:
  14893. description: 现货商品最小变动值
  14894. type: integer
  14895. optioncompare:
  14896. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14897. type: string
  14898. orderqty:
  14899. description: 挂牌数量
  14900. type: integer
  14901. refprice:
  14902. description: 参考价格
  14903. type: string
  14904. retcode:
  14905. description: 委托返回代码
  14906. type: integer
  14907. templatename:
  14908. description: 履约方式(履约模板名称)
  14909. type: string
  14910. tradedate:
  14911. description: 交易日(yyyyMMdd)
  14912. type: string
  14913. userid:
  14914. description: 摘牌人用户ID(议价人ID)
  14915. type: integer
  14916. username:
  14917. description: 议价人名字(已脱敏)
  14918. type: string
  14919. validtime:
  14920. description: 有效期限
  14921. type: string
  14922. warehouseid:
  14923. description: 仓库ID
  14924. type: integer
  14925. warehousename:
  14926. description: 仓库名称
  14927. type: string
  14928. wrbargainid:
  14929. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  14930. type: string
  14931. wrfactortypeid:
  14932. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14933. type: string
  14934. wrfactortypename:
  14935. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14936. type: string
  14937. wrstandardcode:
  14938. description: 现货商品代码
  14939. type: string
  14940. wrstandardid:
  14941. description: 现货商品ID
  14942. type: integer
  14943. wrstandardname:
  14944. description: 商品名称
  14945. type: string
  14946. wrtradeorderid:
  14947. description: 关联委托单ID
  14948. type: string
  14949. wrtypename:
  14950. description: 商品
  14951. type: string
  14952. type: object
  14953. models.Warehouseinfo:
  14954. properties:
  14955. address:
  14956. description: 详细地址
  14957. type: string
  14958. areauserid:
  14959. description: 所属机构
  14960. type: integer
  14961. autoid:
  14962. description: 自增ID
  14963. type: integer
  14964. cityid:
  14965. description: 市
  14966. type: integer
  14967. contactname:
  14968. description: 联系人
  14969. type: string
  14970. contactnum:
  14971. description: 联系电话
  14972. type: string
  14973. countryid:
  14974. description: 国家
  14975. type: integer
  14976. createtime:
  14977. description: 创建时间
  14978. type: string
  14979. districtid:
  14980. description: 区
  14981. type: integer
  14982. hasvideo:
  14983. description: 是否有视频 - 0:无 1:有
  14984. type: integer
  14985. provinceid:
  14986. description: 省
  14987. type: integer
  14988. remark:
  14989. description: 审核备注
  14990. type: string
  14991. videourl:
  14992. description: 视频地址
  14993. type: string
  14994. warehousecode:
  14995. description: 仓库代码
  14996. type: string
  14997. warehousename:
  14998. description: 仓库名称
  14999. type: string
  15000. warehousestatus:
  15001. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  15002. type: integer
  15003. warehousetype:
  15004. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  15005. type: integer
  15006. required:
  15007. - autoid
  15008. - warehousecode
  15009. type: object
  15010. models.WrAverageTradePrice:
  15011. properties:
  15012. averageprice:
  15013. description: 成交均价
  15014. type: number
  15015. tradedate:
  15016. description: 交易日yyyymm
  15017. type: string
  15018. type: object
  15019. models.WrBrandAndYears:
  15020. properties:
  15021. brandlst:
  15022. description: 品牌列表
  15023. items:
  15024. $ref: '#/definitions/models.DgFactoryItem'
  15025. type: array
  15026. yearslst:
  15027. description: 年份列表
  15028. items:
  15029. $ref: '#/definitions/models.DgFactoryItem'
  15030. type: array
  15031. type: object
  15032. models.WrBsGoodsInfo:
  15033. properties:
  15034. buyorsell:
  15035. description: 买卖方向 0-买 1-卖
  15036. type: integer
  15037. goodsid:
  15038. description: 交易合约ID
  15039. type: integer
  15040. lstitem:
  15041. description: 商品信息项
  15042. items:
  15043. $ref: '#/definitions/models.WrTypeItem'
  15044. type: array
  15045. lststep:
  15046. description: 履约规则
  15047. items:
  15048. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  15049. type: array
  15050. type: object
  15051. models.WrBuybackDetail:
  15052. properties:
  15053. buybackamount:
  15054. description: 回购金额
  15055. type: number
  15056. buybackqty:
  15057. description: 回购数量
  15058. type: number
  15059. buybackreleasemargin:
  15060. description: 回购释放保证金
  15061. type: number
  15062. buybacktime:
  15063. description: 回购时间
  15064. type: string
  15065. errordesc:
  15066. description: 错误描述
  15067. type: string
  15068. handlestatus:
  15069. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  15070. type: integer
  15071. relatedwrid:
  15072. description: 关联仓单ID
  15073. type: integer
  15074. scfcontractid:
  15075. description: SCF合同ID
  15076. type: string
  15077. scfwrbuybackid:
  15078. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  15079. type: integer
  15080. tradedate:
  15081. description: 交易日(yyyyMMdd)
  15082. type: string
  15083. type: object
  15084. models.WrClientAdSpaceConfig:
  15085. properties:
  15086. adspaceid:
  15087. description: 广告位ID
  15088. type: integer
  15089. adspacename:
  15090. description: 广告位名称
  15091. type: string
  15092. adspacetype:
  15093. description: 广告位类型 - 1:固定广告位
  15094. type: integer
  15095. areauserid:
  15096. description: 所属机构ID
  15097. type: integer
  15098. createdate:
  15099. description: 创建时间
  15100. type: string
  15101. imagepath:
  15102. description: 图片
  15103. type: string
  15104. modifierid:
  15105. description: 操作人
  15106. type: integer
  15107. recsize:
  15108. description: 推荐尺寸
  15109. type: string
  15110. title:
  15111. description: 标题
  15112. type: string
  15113. updatedate:
  15114. description: 更新时间
  15115. type: string
  15116. urlcontent:
  15117. description: 链接(地址\商品ID\功能菜单Key\appid)
  15118. type: string
  15119. urltype:
  15120. description: 链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序
  15121. type: integer
  15122. type: object
  15123. models.WrDeliveryAvalidHoldLB:
  15124. properties:
  15125. accountid:
  15126. description: 资金账号
  15127. type: integer
  15128. avalidqty:
  15129. description: 数量(可点选数量)
  15130. type: number
  15131. deliverygoodsid:
  15132. description: 品种id
  15133. type: integer
  15134. enumdicname:
  15135. description: 单位名称
  15136. type: string
  15137. goodsid:
  15138. description: x合约商品id
  15139. type: integer
  15140. ladingbillid:
  15141. description: 提单id
  15142. type: string
  15143. pgoodscode:
  15144. description: p商品代码(点价合约)
  15145. type: string
  15146. pgoodsid:
  15147. description: p商品id(点价合约)
  15148. type: integer
  15149. pgoodsname:
  15150. description: p商品名称(点价合约)
  15151. type: string
  15152. pricemove:
  15153. description: 升贴水
  15154. type: number
  15155. subnum:
  15156. description: 提单子id
  15157. type: integer
  15158. userid:
  15159. description: 用户id
  15160. type: integer
  15161. username:
  15162. description: 仓单持有人
  15163. type: string
  15164. warehousecode:
  15165. description: 仓库代码
  15166. type: string
  15167. warehouseid:
  15168. description: 仓库id
  15169. type: integer
  15170. warehousename:
  15171. description: 仓库名称
  15172. type: string
  15173. wrfactortypeid:
  15174. description: 仓单要素id
  15175. type: string
  15176. wrstandardcode:
  15177. description: 品代码
  15178. type: string
  15179. wrstandardid:
  15180. description: 品类d
  15181. type: integer
  15182. wrstandardname:
  15183. description: 品类名称
  15184. type: string
  15185. wrtypename:
  15186. description: 商品
  15187. type: string
  15188. xgoodscode:
  15189. description: x合约代码
  15190. type: string
  15191. xgoodsname:
  15192. description: x合约名称
  15193. type: string
  15194. type: object
  15195. models.WrDeliveryDetail:
  15196. properties:
  15197. accountid:
  15198. description: 账号ID
  15199. type: integer
  15200. averageprice:
  15201. description: 交割均价 = 交割金额 / 交割数量
  15202. type: number
  15203. begindate:
  15204. description: 开始交易日(yyyymmdd)
  15205. type: string
  15206. buyorsell:
  15207. description: 方向 - 0:买 1:卖
  15208. type: integer
  15209. deliveryamount:
  15210. description: 货款金额(X总货款+P总货款)
  15211. type: number
  15212. deliveryid:
  15213. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  15214. type: string
  15215. deliveryorderid:
  15216. description: 申报单号
  15217. type: string
  15218. deliverypricemove:
  15219. description: 升贴水(升贴水总额)
  15220. type: number
  15221. deliveryqty:
  15222. description: 交收数量(点选数量)
  15223. type: number
  15224. deliverystatus:
  15225. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  15226. type: integer
  15227. deliverytime:
  15228. description: 交割时间
  15229. type: string
  15230. deliverytotalamount:
  15231. description: 交收金额
  15232. type: number
  15233. enddate:
  15234. description: 结束交易日(yyyymmdd)
  15235. type: string
  15236. enumdicname:
  15237. description: 单位名称
  15238. type: string
  15239. matchaccountid:
  15240. description: 对手账号ID
  15241. type: integer
  15242. matchusername:
  15243. description: 对手方名称(仓单持有人)
  15244. type: string
  15245. p1goodsremainamount:
  15246. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  15247. type: number
  15248. pdeliverycloseqty:
  15249. description: p合约平仓数量
  15250. type: number
  15251. pdeliveryprice:
  15252. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  15253. type: number
  15254. pgoodscode:
  15255. description: 商品代码
  15256. type: string
  15257. pgoodsid:
  15258. description: p点选合约id
  15259. type: integer
  15260. pgoodsname:
  15261. description: 商品名称
  15262. type: string
  15263. ppricemode:
  15264. description: 点价价格方式 - 1:商品价 2:固定值
  15265. type: integer
  15266. tradedate:
  15267. description: 交易日(yyyymmdd)
  15268. type: string
  15269. userid:
  15270. description: 用户id
  15271. type: integer
  15272. username:
  15273. description: 用户名称
  15274. type: string
  15275. warehousename:
  15276. description: 仓库名称
  15277. type: string
  15278. wrfactortypeid:
  15279. description: 仓单要素类型ID
  15280. type: string
  15281. wrtypename:
  15282. description: 商品
  15283. type: string
  15284. xdeliverycloseqty:
  15285. description: 合约数量
  15286. type: number
  15287. xgoodsamount:
  15288. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  15289. type: number
  15290. xgoodscode:
  15291. description: 商品代码
  15292. type: string
  15293. xgoodsid:
  15294. description: x交易合约ID
  15295. type: integer
  15296. xgoodsname:
  15297. description: 商品名称
  15298. type: string
  15299. type: object
  15300. models.WrDeliveryGoodsSection:
  15301. properties:
  15302. dglst:
  15303. description: 板块商品列表
  15304. items:
  15305. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  15306. type: array
  15307. imagepath:
  15308. description: 图片地址
  15309. type: string
  15310. orderindex:
  15311. description: 排序
  15312. type: integer
  15313. sectionid:
  15314. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType
  15315. = 1的版块1 - 云融指数
  15316. type: integer
  15317. sectionname:
  15318. description: 版块名称
  15319. type: string
  15320. sectiontype:
  15321. description: 版块类型 - 1:指数版块 2:普通版块
  15322. type: integer
  15323. type: object
  15324. models.WrDeliveryGoodsSectionConfig:
  15325. properties:
  15326. deliverygoodscode:
  15327. description: 现货商品代码
  15328. type: string
  15329. deliverygoodsid:
  15330. description: 现货品种ID(SEQ_DELIVERYGOODS)
  15331. type: integer
  15332. deliverygoodsname:
  15333. description: 现货商品名称
  15334. type: string
  15335. orderindex:
  15336. description: 排序
  15337. type: integer
  15338. type: object
  15339. models.WrDraftUserInfo:
  15340. properties:
  15341. address:
  15342. description: 地址
  15343. type: string
  15344. attachment1:
  15345. description: 附件1
  15346. type: string
  15347. attachment2:
  15348. description: 附件2
  15349. type: string
  15350. attachment3:
  15351. description: 附件3
  15352. type: string
  15353. attachment4:
  15354. description: 附件4
  15355. type: string
  15356. attachment5:
  15357. description: 附件5
  15358. type: string
  15359. bankaccount:
  15360. description: 银行帐号 (加密存储)
  15361. type: string
  15362. bankaccountname:
  15363. description: 收款人名称
  15364. type: string
  15365. bankcardfrontphotourl:
  15366. description: 银行卡正面照地址
  15367. type: string
  15368. bankid:
  15369. description: 银行编码
  15370. type: string
  15371. bankname:
  15372. description: 银行名称
  15373. type: string
  15374. birthday:
  15375. description: 生日(个人:年月日)
  15376. type: string
  15377. biznature:
  15378. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  15379. type: integer
  15380. bizscope:
  15381. description: 企业经营范围(企业)
  15382. type: string
  15383. biztype:
  15384. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  15385. type: integer
  15386. cardbackphotourl:
  15387. description: 证件背面图片地址
  15388. type: string
  15389. cardfrontphotourl:
  15390. description: 证件正面图片地址
  15391. type: string
  15392. cardnum:
  15393. description: 证件号码(加密存储)
  15394. type: string
  15395. cardtypeid:
  15396. description: 证件类型ID
  15397. type: integer
  15398. cityid:
  15399. description: 市
  15400. type: integer
  15401. company:
  15402. description: 公司(个人)
  15403. type: string
  15404. contactcardbackphotourl:
  15405. description: 联系人证件背面图片地址
  15406. type: string
  15407. contactcardfrontphotourl:
  15408. description: 联系人证件正面图片地址
  15409. type: string
  15410. contactname:
  15411. description: 联系人
  15412. type: string
  15413. countryid:
  15414. description: 国家
  15415. type: integer
  15416. createtime:
  15417. description: 创建时间
  15418. type: string
  15419. creatorid:
  15420. description: 创建人
  15421. type: integer
  15422. creditquota:
  15423. description: 授信额度(金瑞)
  15424. type: number
  15425. customername:
  15426. description: 客户名称(企业名称)
  15427. type: string
  15428. districtid:
  15429. description: 地区
  15430. type: integer
  15431. email:
  15432. description: 邮件(加密存储)
  15433. type: string
  15434. fax:
  15435. description: 传真(加密存储)
  15436. type: string
  15437. halfbodyphotourl:
  15438. description: 半身照地址
  15439. type: string
  15440. hasencrypt:
  15441. description: 数据是否已加密 - 0:未加密 1:已加密
  15442. type: integer
  15443. headurl:
  15444. description: 头像地址
  15445. type: string
  15446. legalcardbackphotourl:
  15447. description: 法人身份证背面照地址
  15448. type: string
  15449. legalcardfrontphotourl:
  15450. description: 法人身份证正面照地址
  15451. type: string
  15452. legalpersonname:
  15453. description: 法人姓名(企业)
  15454. type: string
  15455. mobile:
  15456. description: 手机号码(加密存储)
  15457. type: string
  15458. mobile2:
  15459. description: 手机号码[明文-尚志]
  15460. type: string
  15461. modifierid:
  15462. description: 修改人
  15463. type: integer
  15464. modifiertime:
  15465. description: 修改时间
  15466. type: string
  15467. needinvoice:
  15468. description: 是否需要发票 - 0:不需要 1:需要
  15469. type: integer
  15470. nickname:
  15471. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  15472. type: string
  15473. openmode:
  15474. description: "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  15475. 6:苹果手机端注册 7:PC交易端注册"
  15476. type: integer
  15477. otherurl:
  15478. description: 其它图片地址[使用分号分隔]
  15479. type: string
  15480. postalcode:
  15481. description: 邮政编码
  15482. type: string
  15483. provinceid:
  15484. description: 省
  15485. type: integer
  15486. proxystatementurl:
  15487. description: 授权委托书
  15488. type: string
  15489. qq:
  15490. description: QQ(加密存储
  15491. type: string
  15492. remark:
  15493. description: 备注
  15494. type: string
  15495. sex:
  15496. description: '用户性别 0: 女 1: 男'
  15497. type: integer
  15498. signpdfurl:
  15499. description: 签约pdf文件
  15500. type: string
  15501. taxpayernum:
  15502. description: 纳税人识别号
  15503. type: string
  15504. telphone:
  15505. description: 联系电话(加密存储)
  15506. type: string
  15507. userid:
  15508. description: 用户ID
  15509. type: integer
  15510. userinfotype:
  15511. description: 用户信息类型 - 1:个人 2:企业
  15512. type: integer
  15513. userstatus:
  15514. description: 用户状态 - 1:正常 2:注销
  15515. type: integer
  15516. usertype:
  15517. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者
  15518. type: integer
  15519. wechat:
  15520. description: 微信(加密存储)
  15521. type: string
  15522. wskhinfo:
  15523. description: 开户申请信息(JSON)
  15524. type: string
  15525. type: object
  15526. models.WrFAProductDetail:
  15527. properties:
  15528. accountid:
  15529. description: 资金账号
  15530. type: integer
  15531. areauserid:
  15532. description: 金融机构ID
  15533. type: integer
  15534. financingdays:
  15535. description: 天数(天)
  15536. type: integer
  15537. interestminlen:
  15538. description: 最小起息天数
  15539. type: integer
  15540. interestrate:
  15541. description: 利率
  15542. type: number
  15543. interestratemode:
  15544. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  15545. type: integer
  15546. interestsettlemode:
  15547. description: 结息方式 - 1:按日结息 3:按月结息
  15548. type: integer
  15549. interestsettlevalue:
  15550. description: 结息方式值
  15551. type: integer
  15552. isautoloan:
  15553. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  15554. type: integer
  15555. loantag:
  15556. description: '放款标识: "放款快" 或者为空'
  15557. type: string
  15558. marginratio:
  15559. description: 保证金比率质押率 - [仓单质押]
  15560. type: number
  15561. productdetailid:
  15562. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  15563. type: integer
  15564. productid:
  15565. description: 金融产品ID
  15566. type: integer
  15567. productname:
  15568. description: 产品名称
  15569. type: string
  15570. updatetime:
  15571. description: 更新时间
  15572. type: string
  15573. username:
  15574. description: 融出方
  15575. type: string
  15576. type: object
  15577. models.WrFactorTypeInfo:
  15578. properties:
  15579. deliverygoodscode:
  15580. description: 品种代码
  15581. type: string
  15582. deliverygoodsname:
  15583. description: 品种名称
  15584. type: string
  15585. dgfactoryitemid:
  15586. description: 选择项id
  15587. type: integer
  15588. dgfactoryitemtypeid:
  15589. description: 要素选择项ID (1-仓库 2-品牌)
  15590. type: integer
  15591. dgfactoryitemvalue:
  15592. description: 要素项值
  15593. type: string
  15594. itemtypename:
  15595. description: 要素项名称
  15596. type: string
  15597. optioncompare:
  15598. description: 选择比较串
  15599. type: string
  15600. warehouseid:
  15601. description: 仓库id
  15602. type: integer
  15603. wrfactortypeid:
  15604. description: 仓单要素ID
  15605. type: string
  15606. wrfactortypename:
  15607. description: 要素名称
  15608. type: string
  15609. wrfactortypename2:
  15610. description: 要素名称(不含仓库)
  15611. type: string
  15612. wrstandardcode:
  15613. description: 品类代码
  15614. type: string
  15615. wrstandardid:
  15616. description: 品类id
  15617. type: integer
  15618. wrstandardname:
  15619. description: 品类名称
  15620. type: string
  15621. type: object
  15622. models.WrFilterItem:
  15623. properties:
  15624. itemcode:
  15625. description: 代码
  15626. type: string
  15627. itemid:
  15628. description: 项id
  15629. type: integer
  15630. itemname:
  15631. description: 名称
  15632. type: string
  15633. itemtype:
  15634. description: 类型 1-品种 2-品类(商品) 3-仓库
  15635. type: integer
  15636. type: object
  15637. models.WrFinanceBuyApply:
  15638. properties:
  15639. applydate:
  15640. description: 申请时间
  15641. type: string
  15642. applystatus:
  15643. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  15644. type: integer
  15645. applyuserid:
  15646. description: 申请人
  15647. type: integer
  15648. auditdate:
  15649. description: 审核时间
  15650. type: string
  15651. auditremark:
  15652. description: 审核备注
  15653. type: string
  15654. audituserid:
  15655. description: 审核人
  15656. type: integer
  15657. buyaccountid:
  15658. description: 买方资金账号
  15659. type: integer
  15660. buyorsell:
  15661. description: 买卖 - 0:买 1:卖
  15662. type: integer
  15663. buyuserid:
  15664. description: 买方用户ID
  15665. type: integer
  15666. buyusername:
  15667. description: 买方名称
  15668. type: string
  15669. buywrtradeorderid:
  15670. description: 融资方买委托单ID
  15671. type: string
  15672. deliverygoodscode:
  15673. description: 品种代码
  15674. type: string
  15675. deliverygoodsid:
  15676. description: 品种ID
  15677. type: integer
  15678. deliverygoodsname:
  15679. description: 品种名称
  15680. type: string
  15681. deliverymonth:
  15682. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  15683. type: string
  15684. enumdicname:
  15685. description: 单位名称
  15686. type: string
  15687. financeaccountid:
  15688. description: 融资方资金帐户ID
  15689. type: integer
  15690. financeapplyid:
  15691. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15692. type: string
  15693. financeareauserid:
  15694. description: 融资方用户ID
  15695. type: string
  15696. financename:
  15697. description: 融出方名称
  15698. type: string
  15699. financetype:
  15700. description: 融资类型 1-融资回购
  15701. type: integer
  15702. financingdays:
  15703. description: 天数(天)
  15704. type: integer
  15705. freezebuymargin:
  15706. description: 冻结融资保证金(买方)
  15707. type: number
  15708. handleremark:
  15709. description: 处理备注
  15710. type: string
  15711. handlestatus:
  15712. description: 处理状态
  15713. type: integer
  15714. interestminlen:
  15715. description: 最小起息天数
  15716. type: integer
  15717. interestrate:
  15718. description: 利率
  15719. type: number
  15720. interestratemode:
  15721. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  15722. type: integer
  15723. interestsettlemode:
  15724. description: 结息方式 - 1:按日结息 3:按月结息
  15725. type: integer
  15726. interestsettlevalue:
  15727. description: 结息方式值
  15728. type: integer
  15729. isautoloan:
  15730. description: 是否自动放款 - 0:手动 1:自动
  15731. type: integer
  15732. marginratio:
  15733. description: 保证金比率质押率 - [仓单质押]
  15734. type: number
  15735. marketid:
  15736. description: 市场ID
  15737. type: integer
  15738. minivalue:
  15739. description: 现货商品最小变动值
  15740. type: integer
  15741. optioncompare:
  15742. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15743. type: string
  15744. orderqty:
  15745. description: 委托数量(商品数量)
  15746. type: number
  15747. productdetailid:
  15748. description: 产品组合ID
  15749. type: integer
  15750. productid:
  15751. description: 金融产品ID
  15752. type: integer
  15753. productname:
  15754. description: 产品名称
  15755. type: string
  15756. remark:
  15757. description: 备注
  15758. type: string
  15759. scfcontractid:
  15760. description: 仓单回购合同ID
  15761. type: string
  15762. sellaccountid:
  15763. description: 卖方资金账号
  15764. type: integer
  15765. selluserid:
  15766. description: 卖方用户ID
  15767. type: integer
  15768. sellwrtradeorderid:
  15769. description: 卖方委托单ID
  15770. type: string
  15771. tradeamount:
  15772. description: 成交金额(借款金额)
  15773. type: number
  15774. tradedate:
  15775. description: 交易日(yyyyMMdd)
  15776. type: string
  15777. tradeprice:
  15778. description: 成交价格
  15779. type: number
  15780. warehouseid:
  15781. description: 仓库ID
  15782. type: integer
  15783. warehousename:
  15784. description: 仓库名称
  15785. type: string
  15786. wrfactortypeid:
  15787. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15788. type: string
  15789. wrfactortypename:
  15790. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15791. type: string
  15792. wrpricetype:
  15793. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  15794. type: integer
  15795. wrstandardcode:
  15796. description: 现货商品代码
  15797. type: string
  15798. wrstandardid:
  15799. description: 现货商品ID
  15800. type: integer
  15801. wrstandardname:
  15802. description: 商品名称
  15803. type: string
  15804. wrtypename:
  15805. description: 商品
  15806. type: string
  15807. type: object
  15808. models.WrFriendApply:
  15809. properties:
  15810. applicantid:
  15811. description: 申请人
  15812. type: integer
  15813. applyname:
  15814. description: 申请人名称
  15815. type: string
  15816. applysrc:
  15817. description: 申请来源 - 1:管理端 2:终端
  15818. type: integer
  15819. applystatus:
  15820. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15821. type: integer
  15822. applytime:
  15823. description: 申请时间
  15824. type: string
  15825. auditname:
  15826. description: 审核人名称
  15827. type: string
  15828. auditorid:
  15829. description: 审核人
  15830. type: integer
  15831. auditremark:
  15832. description: 审核备注
  15833. type: string
  15834. auditsrc:
  15835. description: 审核来源 - 1:管理端 2:终端
  15836. type: integer
  15837. audittime:
  15838. description: 审核时间
  15839. type: string
  15840. friendapplyid:
  15841. description: 申请ID(SEQ_FRIENDAPPLY)
  15842. type: string
  15843. friendname:
  15844. description: 好友名字(已脱敏)
  15845. type: string
  15846. frienduserid:
  15847. description: 好友用户ID
  15848. type: string
  15849. remark:
  15850. description: 备注
  15851. type: string
  15852. userid:
  15853. description: 申请人用户ID
  15854. type: integer
  15855. type: object
  15856. models.WrFtDeliveryGoods:
  15857. properties:
  15858. deliverygoodscode:
  15859. description: 品种代码
  15860. type: string
  15861. deliverygoodsid:
  15862. description: 品种ID
  15863. type: integer
  15864. deliverygoodsname:
  15865. description: 品种名称
  15866. type: string
  15867. wdlst:
  15868. description: 商品列表
  15869. items:
  15870. $ref: '#/definitions/models.WrFtWrstandard'
  15871. type: array
  15872. type: object
  15873. models.WrFtWrstandard:
  15874. properties:
  15875. enumdicname:
  15876. description: 单位名称
  15877. type: string
  15878. minivalue:
  15879. description: 最小变动值
  15880. type: integer
  15881. wrstandardcode:
  15882. description: 现货商品代码
  15883. type: string
  15884. wrstandardid:
  15885. description: 现货商品ID
  15886. type: integer
  15887. wrstandardname:
  15888. description: 商品名称
  15889. type: string
  15890. type: object
  15891. models.WrGoodsInfo:
  15892. properties:
  15893. haswr:
  15894. description: 0:仓单预售 1:仓单贸易
  15895. type: integer
  15896. lstitem:
  15897. description: 商品信息项
  15898. items:
  15899. $ref: '#/definitions/models.WrTypeItem'
  15900. type: array
  15901. lststep:
  15902. description: 履约规则
  15903. items:
  15904. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  15905. type: array
  15906. marketid:
  15907. description: 市场id
  15908. type: integer
  15909. type: object
  15910. models.WrGoodsPerformanceStep:
  15911. properties:
  15912. autoid:
  15913. description: AutoID
  15914. type: integer
  15915. isauto:
  15916. description: 是否自动 - 0:不自动 1:自动
  15917. type: integer
  15918. remark:
  15919. description: 备注
  15920. type: string
  15921. stepdate:
  15922. description: 天数信息(T+N)
  15923. type: string
  15924. stepdays:
  15925. description: 距离上一步天数
  15926. type: integer
  15927. stepindex:
  15928. description: 步骤序号
  15929. type: integer
  15930. stepinfo:
  15931. description: 步骤信息(步骤名称+步骤值)
  15932. type: string
  15933. steptypeid:
  15934. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  15935. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15936. type: integer
  15937. steptypename:
  15938. description: 步骤名称
  15939. type: string
  15940. stepvalue:
  15941. description: 步骤值
  15942. type: number
  15943. templateid:
  15944. description: 履约计划模板ID
  15945. type: integer
  15946. type: object
  15947. models.WrHoldLB:
  15948. properties:
  15949. accountid:
  15950. description: 持有人帐户ID
  15951. type: integer
  15952. bannerpicurl:
  15953. description: Banner图
  15954. type: string
  15955. createtime:
  15956. description: 创建时间(过户时间)
  15957. type: string
  15958. deliverygoodscode:
  15959. description: 品种代码
  15960. type: string
  15961. deliverygoodsid:
  15962. description: 品种ID
  15963. type: integer
  15964. deliverygoodsname:
  15965. description: 品种名称
  15966. type: string
  15967. enableqty:
  15968. description: 可用数量
  15969. type: number
  15970. enumdicname:
  15971. description: 单位名称
  15972. type: string
  15973. freezerqty:
  15974. description: 冻结数量
  15975. type: number
  15976. ladingbillid:
  15977. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15978. type: string
  15979. minivalue:
  15980. description: 现货商品最小变动值
  15981. type: integer
  15982. optioncompare:
  15983. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15984. type: string
  15985. parentsubnum:
  15986. description: 拆分父子单号
  15987. type: integer
  15988. pledgeqty:
  15989. description: 质押数量
  15990. type: number
  15991. qty:
  15992. description: 数量
  15993. type: number
  15994. subnum:
  15995. description: 提单子单号
  15996. type: integer
  15997. thumurls:
  15998. description: 缩略图
  15999. type: string
  16000. tradedate:
  16001. description: 交易日(yyyyMMdd)
  16002. type: string
  16003. userid:
  16004. description: 持有人ID
  16005. type: integer
  16006. warehouseid:
  16007. description: 仓库ID
  16008. type: integer
  16009. warehousename:
  16010. description: 仓库名称
  16011. type: string
  16012. wrfactortypeid:
  16013. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16014. type: string
  16015. wrfactortypename:
  16016. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16017. type: string
  16018. wrholdeno:
  16019. description: 仓单编号
  16020. type: string
  16021. wrid:
  16022. description: 仓单变更ID
  16023. type: string
  16024. wrstandardcode:
  16025. description: 现货商品代码
  16026. type: string
  16027. wrstandardid:
  16028. description: 现货商品ID
  16029. type: integer
  16030. wrstandardname:
  16031. description: 商品名称
  16032. type: string
  16033. wrtypename:
  16034. description: 商品
  16035. type: string
  16036. type: object
  16037. models.WrMarketTradeConfig:
  16038. properties:
  16039. basisdownratio:
  16040. description: 浮动价基差下限比例(仓单贸易)
  16041. type: number
  16042. basisupratio:
  16043. description: 浮动价基差上限比例(仓单贸易)
  16044. type: number
  16045. buychargealgorithm:
  16046. description: 买方手续费收取方式 1:比率 2:固定
  16047. type: integer
  16048. buychargealgorithm2:
  16049. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  16050. type: integer
  16051. buychargealgorithmvalue:
  16052. description: 买方手续费设置值(交易所部分)
  16053. type: number
  16054. buychargealgorithmvalue2:
  16055. description: 买方手续费设置值(会员部分)
  16056. type: number
  16057. buychargealgorithmvalue3:
  16058. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  16059. type: number
  16060. buychargealgorithmvalue4:
  16061. description: 回购买方手续费设置值(会员部分) --77:现货商城
  16062. type: number
  16063. buyfirstmarginalgorithm:
  16064. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  16065. type: integer
  16066. buyfirstmarginvalue:
  16067. description: 买方出价保证金设置值 - [竞拍]
  16068. type: number
  16069. buymarginalgorithm:
  16070. description: 买方保证金方式 - 1:比率 2:固定
  16071. type: integer
  16072. buymarginvalue:
  16073. description: 买方保证金设置值
  16074. type: number
  16075. buyreleaseratio:
  16076. description: 买方释放比率[2:分步履约]
  16077. type: number
  16078. executemode:
  16079. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  16080. type: integer
  16081. executeside:
  16082. description: 执行方[2:分步履约] - 1:买方 2:卖方
  16083. type: integer
  16084. failedchargealgorithm:
  16085. description: 流拍手续费收取方式 1:比率 2:固定
  16086. type: integer
  16087. failedchargevalue:
  16088. description: 流拍手续费设置值
  16089. type: number
  16090. failedchargevalue2:
  16091. description: 流拍卖方手续费设置值
  16092. type: number
  16093. holddays:
  16094. description: 合同期限[2:分步履约]
  16095. type: integer
  16096. listingmode:
  16097. description: 挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  16098. type: integer
  16099. marketid:
  16100. description: 市场ID-仓单贸易、竞拍、预售
  16101. type: integer
  16102. minqty:
  16103. description: 最小执行量[2:分步履约]
  16104. type: number
  16105. modifierid:
  16106. description: 修改人
  16107. type: integer
  16108. nowrquotaflag:
  16109. description: 是否校验无仓单额度(仓单贸易) - 0:否 1:是
  16110. type: integer
  16111. performancetempid:
  16112. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  16113. 立即执行(-1)
  16114. type: integer
  16115. performancetempid2:
  16116. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  16117. 立即执行
  16118. type: integer
  16119. performancetempid2s:
  16120. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  16121. - 履约方式: 立即执行
  16122. type: string
  16123. performancetempids:
  16124. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  16125. - 履约方式: 立即执行(-1)
  16126. type: string
  16127. performanceway:
  16128. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  16129. type: integer
  16130. sellchargealgorithm:
  16131. description: 卖方手续费收取方式 1:比率 2:固定
  16132. type: integer
  16133. sellchargealgorithm2:
  16134. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  16135. type: integer
  16136. sellchargealgorithmvalue:
  16137. description: 卖方手续费设置值(交易所部分)
  16138. type: number
  16139. sellchargealgorithmvalue2:
  16140. description: 卖方手续费设置值(会员部分)
  16141. type: number
  16142. sellchargealgorithmvalue3:
  16143. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  16144. type: number
  16145. sellchargealgorithmvalue4:
  16146. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  16147. type: number
  16148. sellmarginalgorithm:
  16149. description: 卖方保证金方式 - 1:比率 2:固定
  16150. type: integer
  16151. sellmarginvalue:
  16152. description: 卖方保证金设置值
  16153. type: number
  16154. sellmarginvalue2:
  16155. description: 卖方保证金设置值(无仓单)
  16156. type: number
  16157. sellreleaseratio:
  16158. description: 卖方释放比率[2:分步履约]
  16159. type: number
  16160. updatetime:
  16161. description: 更新时间
  16162. type: string
  16163. type: object
  16164. models.WrOrderDetail:
  16165. properties:
  16166. accountid:
  16167. description: 交易账号(资金账号)
  16168. type: integer
  16169. allfriendsflag:
  16170. description: 是否全好友可见 - 0:否 1:是
  16171. type: integer
  16172. amount:
  16173. description: 挂牌金额 = 委托数量 * 固定价或升贴水
  16174. type: number
  16175. bannerpicurl:
  16176. description: Banner图
  16177. type: string
  16178. begindate:
  16179. description: 开始交易日(yyyymmdd)
  16180. type: string
  16181. buyorsell:
  16182. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16183. type: integer
  16184. canbargain:
  16185. description: 是否可议价 - 0:不可 1:可
  16186. type: integer
  16187. cancelqty:
  16188. description: 撤销数量
  16189. type: number
  16190. canpart:
  16191. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  16192. type: integer
  16193. delistminqty:
  16194. description: 起摘数量
  16195. type: integer
  16196. deliverygoodscode:
  16197. description: 品种代码
  16198. type: string
  16199. deliverygoodsid:
  16200. description: 品种ID
  16201. type: integer
  16202. deliverygoodsname:
  16203. description: 品种名称
  16204. type: string
  16205. deliverymonth:
  16206. description: 交收月
  16207. type: string
  16208. enddate:
  16209. description: 结束交易日(yyyymmdd)
  16210. type: string
  16211. enumdicname:
  16212. description: 单位名称
  16213. type: string
  16214. fixedprice:
  16215. description: 固定价格 - [挂牌]
  16216. type: number
  16217. freezecharge:
  16218. description: 冻结手续费
  16219. type: number
  16220. freezemargin:
  16221. description: 冻结保证金(保证金)
  16222. type: number
  16223. futupricemove:
  16224. description: 期货升贴水
  16225. type: number
  16226. futushow:
  16227. description: 期货合约/升贴水
  16228. type: string
  16229. goodscode:
  16230. description: 期货合约
  16231. type: string
  16232. goodsid:
  16233. description: 期货商品id
  16234. type: integer
  16235. goodsname:
  16236. description: 商品名称
  16237. type: string
  16238. haswr:
  16239. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16240. type: integer
  16241. isspecified:
  16242. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  16243. type: integer
  16244. ladingbillid:
  16245. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  16246. type: string
  16247. marginvalue:
  16248. description: 保证金设置值(履约保证金)
  16249. type: number
  16250. marketid:
  16251. description: 市场ID
  16252. type: integer
  16253. matchusername:
  16254. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  16255. type: string
  16256. minivalue:
  16257. description: 现货商品最小变动值
  16258. type: integer
  16259. optioncompare:
  16260. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16261. type: string
  16262. orderqty:
  16263. description: 委托数量
  16264. type: number
  16265. ordertime:
  16266. description: 委托时间(挂牌时间)
  16267. type: string
  16268. performancetemplateid:
  16269. description: 履约模板id
  16270. type: integer
  16271. pricemove:
  16272. description: 升贴水(浮动价时填写) - [挂牌]
  16273. type: number
  16274. taname:
  16275. description: 交易用户名称(资金账号名称)
  16276. type: string
  16277. thumurls:
  16278. description: 缩略图
  16279. type: string
  16280. tradedate:
  16281. description: 交易日(yyyyMMdd)
  16282. type: string
  16283. tradeprice:
  16284. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  16285. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  16286. type: number
  16287. tradeqty:
  16288. description: 成交数量
  16289. type: number
  16290. userid:
  16291. description: 用户ID
  16292. type: integer
  16293. validtime:
  16294. description: 挂牌有效期
  16295. type: string
  16296. validtype:
  16297. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  16298. type: integer
  16299. warehouseid:
  16300. description: 仓库ID
  16301. type: integer
  16302. warehousename:
  16303. description: 仓库名称
  16304. type: string
  16305. wrfactortypeid:
  16306. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16307. type: string
  16308. wrfactortypename:
  16309. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16310. type: string
  16311. wrpricetype:
  16312. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  16313. type: integer
  16314. wrstandardcode:
  16315. description: 现货商品代码
  16316. type: string
  16317. wrstandardid:
  16318. description: 现货商品ID
  16319. type: integer
  16320. wrstandardname:
  16321. description: 商品名称
  16322. type: string
  16323. wrtradeorderid:
  16324. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16325. type: string
  16326. wrtradeorderstatus:
  16327. 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:撤单解冻贷款失败
  16328. type: integer
  16329. wrtradetype:
  16330. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16331. type: integer
  16332. wrtypename:
  16333. description: 商品
  16334. type: string
  16335. type: object
  16336. models.WrOrderQuote:
  16337. properties:
  16338. bannerpicurl:
  16339. description: Banner图
  16340. type: string
  16341. buyprice:
  16342. description: 买价
  16343. type: number
  16344. buypricemove:
  16345. description: 买升贴水(基差)
  16346. type: number
  16347. buyqty:
  16348. description: 买量
  16349. type: number
  16350. deliverygoodscode:
  16351. description: 品种代码
  16352. type: string
  16353. deliverygoodsid:
  16354. description: 品种id
  16355. type: integer
  16356. deliverygoodsname:
  16357. description: 品种名称
  16358. type: string
  16359. deliverymonth:
  16360. description: 交收月
  16361. type: string
  16362. enumdicname:
  16363. description: 单位名称
  16364. type: string
  16365. goodscode:
  16366. description: 商品合约(浮动价列表才有)
  16367. type: string
  16368. goodsid:
  16369. description: 商品id(浮动价列表才有)
  16370. type: integer
  16371. minivalue:
  16372. description: 现货商品最小变动值
  16373. type: integer
  16374. pictureurls:
  16375. description: 详情图片(逗号分隔)
  16376. type: string
  16377. sellprice:
  16378. description: 卖价
  16379. type: number
  16380. sellpricemove:
  16381. description: 卖升贴水(基差)
  16382. type: number
  16383. sellqty:
  16384. description: 卖量
  16385. type: number
  16386. thumurls:
  16387. description: 缩略图片(1:1)(逗号分隔)
  16388. type: string
  16389. warehousecode:
  16390. description: 仓库代码
  16391. type: string
  16392. warehouseid:
  16393. description: 仓库id
  16394. type: integer
  16395. warehousename:
  16396. description: 仓库名称
  16397. type: string
  16398. wrfactortypeid:
  16399. description: 仓单要素id
  16400. type: string
  16401. wrfactortypename:
  16402. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16403. type: string
  16404. wrgoodsname:
  16405. description: 商品(商品名称+仓库要素名称 拼接)
  16406. type: string
  16407. wrstandardcode:
  16408. description: 商品代码
  16409. type: string
  16410. wrstandardid:
  16411. description: 商品id
  16412. type: integer
  16413. wrstandardname:
  16414. description: 商品名称
  16415. type: string
  16416. type: object
  16417. models.WrOrderQuoteDetail:
  16418. properties:
  16419. buyorsell:
  16420. description: 买卖 - 0:买 1:卖
  16421. type: integer
  16422. delistminqty:
  16423. description: 起摘数量
  16424. type: number
  16425. deliverymonth:
  16426. description: 交收月
  16427. type: string
  16428. enumdicname:
  16429. description: 单位名称
  16430. type: string
  16431. fixedprice:
  16432. description: 买(卖)价
  16433. type: number
  16434. marketid:
  16435. description: 市场id
  16436. type: integer
  16437. minivalue:
  16438. description: 现货商品最小变动值
  16439. type: integer
  16440. orderqty:
  16441. description: 买(卖)量(=委托量-成交量)
  16442. type: number
  16443. ordertime:
  16444. description: 委托时间
  16445. type: string
  16446. pricemove:
  16447. description: 买(卖)升贴水- 基差
  16448. type: number
  16449. userid:
  16450. description: 购买方(销售方)用户ID
  16451. type: integer
  16452. username:
  16453. description: 购买方(销售方)
  16454. type: string
  16455. wrtradeorderid:
  16456. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16457. type: string
  16458. type: object
  16459. models.WrOutInApply:
  16460. properties:
  16461. applyid:
  16462. description: 申请单id
  16463. type: string
  16464. applystatus:
  16465. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  16466. 8:已撤销
  16467. type: integer
  16468. applytime:
  16469. description: 申请时间
  16470. type: string
  16471. applytype:
  16472. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  16473. type: integer
  16474. bannerpicurl:
  16475. description: Banner图
  16476. type: string
  16477. begindate:
  16478. description: 开始交易日(yyyymmdd)
  16479. type: string
  16480. deliverygoodscode:
  16481. description: 品种代码
  16482. type: string
  16483. deliverygoodsid:
  16484. description: 品种ID
  16485. type: integer
  16486. deliverygoodsname:
  16487. description: 品种名称
  16488. type: string
  16489. enddate:
  16490. description: 结束交易日(yyyymmdd)
  16491. type: string
  16492. enumdicname:
  16493. description: 单位名称
  16494. type: string
  16495. expresscompany:
  16496. description: 物流公司
  16497. type: string
  16498. expressnum:
  16499. description: 物流单号
  16500. type: string
  16501. minivalue:
  16502. description: 现货商品最小变动值
  16503. type: integer
  16504. optioncompare:
  16505. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16506. type: string
  16507. qty:
  16508. description: 数量
  16509. type: integer
  16510. userid:
  16511. description: 用户id
  16512. type: integer
  16513. warehouseid:
  16514. description: 仓库ID
  16515. type: integer
  16516. warehousename:
  16517. description: 仓库名称
  16518. type: string
  16519. wrfactortypeid:
  16520. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16521. type: string
  16522. wrfactortypename:
  16523. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16524. type: string
  16525. wrstandardcode:
  16526. description: 现货商品代码
  16527. type: string
  16528. wrstandardid:
  16529. description: 现货商品ID
  16530. type: integer
  16531. wrstandardname:
  16532. description: 商品名称
  16533. type: string
  16534. wrtypename:
  16535. description: 商品
  16536. type: string
  16537. type: object
  16538. models.WrPerformancePlan:
  16539. properties:
  16540. activatemonth:
  16541. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  16542. type: string
  16543. amount:
  16544. description: 履约金额(总金额)
  16545. type: number
  16546. begindate:
  16547. description: 开始交易日(yyyymmdd)
  16548. type: string
  16549. buyaccountid:
  16550. description: 买方账号
  16551. type: integer
  16552. buyerfreezeamount:
  16553. description: 履约冻结(买履约)
  16554. type: number
  16555. buyerfreezeamountremain:
  16556. description: 履约冻结剩余(买履约)
  16557. type: number
  16558. buyorsell:
  16559. description: 买卖方向 0-买 1-卖
  16560. type: integer
  16561. buypaidamount:
  16562. description: 买方已冻/已扣金额 (已付金额)
  16563. type: number
  16564. buyusername:
  16565. description: 买方名字
  16566. type: string
  16567. contractid:
  16568. description: 合同ID
  16569. type: integer
  16570. createtime:
  16571. description: 创建时间
  16572. type: string
  16573. creatorid:
  16574. description: 创建人
  16575. type: integer
  16576. curstepdeadline:
  16577. description: 当前步骤到期时间
  16578. type: string
  16579. curstepid:
  16580. description: 当前步骤ID
  16581. type: string
  16582. curstepname:
  16583. description: 当前步骤名称
  16584. type: string
  16585. deliverygoodscode:
  16586. description: 品种代码
  16587. type: string
  16588. deliverygoodsid:
  16589. description: 品种ID
  16590. type: integer
  16591. deliverygoodsname:
  16592. description: 品种名称
  16593. type: string
  16594. enddate:
  16595. description: 结束交易日(yyyymmdd)
  16596. type: string
  16597. enumdicname:
  16598. description: 单位名称
  16599. type: string
  16600. expressfee:
  16601. description: 运费
  16602. type: number
  16603. expressfeeconfirmed:
  16604. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  16605. type: integer
  16606. hasovershort:
  16607. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  16608. type: integer
  16609. haswr:
  16610. description: 类型 0-仓单预售 1-仓单贸易
  16611. type: integer
  16612. marketid:
  16613. description: 市场ID
  16614. type: integer
  16615. middleaccountid:
  16616. description: 中间商资金账号ID
  16617. type: integer
  16618. middleuserid:
  16619. description: 中间商用户ID
  16620. type: integer
  16621. minivalue:
  16622. description: 现货商品最小变动值
  16623. type: integer
  16624. optioncompare:
  16625. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16626. type: string
  16627. overshortamount:
  16628. description: 溢短金额
  16629. type: number
  16630. overshortqty:
  16631. description: 溢短数量
  16632. type: number
  16633. paymenttype:
  16634. description: 付款方式 - 1:冻结 2:扣款
  16635. type: integer
  16636. performanceplanid:
  16637. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  16638. type: string
  16639. performancestatus:
  16640. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  16641. 9:超时待处理 10:超时关闭
  16642. type: integer
  16643. performancetype:
  16644. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  16645. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  16646. type: integer
  16647. qty:
  16648. description: 履约数量
  16649. type: number
  16650. relatedorderid:
  16651. description: 关联单号(履约类型的关联单号)
  16652. type: string
  16653. remark:
  16654. description: 备注
  16655. type: string
  16656. sellaccountid:
  16657. description: 卖方账号
  16658. type: integer
  16659. sellerfreezeamount:
  16660. description: 履约冻结(卖履约)
  16661. type: number
  16662. sellerfreezeamountremain:
  16663. description: 履约冻结剩余(卖履约)
  16664. type: number
  16665. sellreceivedamount:
  16666. description: 卖方已收金额
  16667. type: number
  16668. sellusername:
  16669. description: 卖方名字
  16670. type: string
  16671. shipremark:
  16672. description: 发货备注[物流单号]
  16673. type: string
  16674. starttime:
  16675. description: 开始时间
  16676. type: string
  16677. steptypeid:
  16678. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  16679. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  16680. type: integer
  16681. typename:
  16682. description: 履约类型 名称
  16683. type: string
  16684. unpaidamount:
  16685. description: 剩余款(待支付金额)
  16686. type: number
  16687. userid:
  16688. description: 用户id
  16689. type: integer
  16690. warehouseid:
  16691. description: 仓库ID
  16692. type: integer
  16693. warehousename:
  16694. description: 仓库名称
  16695. type: string
  16696. wrfactortypeid:
  16697. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16698. type: string
  16699. wrfactortypename:
  16700. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16701. type: string
  16702. wrstandardcode:
  16703. description: 现货商品代码
  16704. type: string
  16705. wrstandardid:
  16706. description: 现货商品ID
  16707. type: integer
  16708. wrstandardname:
  16709. description: 商品名称
  16710. type: string
  16711. wrtransferuserid:
  16712. description: 仓单受让用户
  16713. type: integer
  16714. wrtypename:
  16715. description: 商品
  16716. type: string
  16717. required:
  16718. - userid
  16719. type: object
  16720. models.WrPerformancePlanStep:
  16721. properties:
  16722. delaydays:
  16723. description: 延期申请天数
  16724. type: integer
  16725. deliverygoodscode:
  16726. description: 品种代码
  16727. type: string
  16728. deliverygoodsid:
  16729. description: 品种ID
  16730. type: integer
  16731. deliverygoodsname:
  16732. description: 品种名称
  16733. type: string
  16734. endtime:
  16735. description: 结束日期
  16736. type: string
  16737. enumdicname:
  16738. description: 单位名称
  16739. type: string
  16740. executeside:
  16741. description: 步骤执行方 - 1:买方 2:卖方
  16742. type: integer
  16743. handlestatus:
  16744. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  16745. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  16746. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  16747. type: integer
  16748. isauto:
  16749. description: 是否自动 - 0:不自动 1:自动
  16750. type: integer
  16751. islastreceivestep:
  16752. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  16753. type: integer
  16754. minivalue:
  16755. description: 现货商品最小变动值
  16756. type: integer
  16757. optioncompare:
  16758. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16759. type: string
  16760. overdays:
  16761. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  16762. type: integer
  16763. performancestepid:
  16764. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  16765. type: string
  16766. planid:
  16767. description: 所属履约计划ID
  16768. type: string
  16769. realamount:
  16770. description: 实际完成金额
  16771. type: number
  16772. relatedorderid:
  16773. description: 关联单号
  16774. type: string
  16775. remaindays:
  16776. description: 剩余天数
  16777. type: integer
  16778. remark:
  16779. description: 错误备注
  16780. type: string
  16781. starttime:
  16782. description: 开始日期
  16783. type: string
  16784. stepamount:
  16785. description: 步骤金额
  16786. type: number
  16787. stepdays:
  16788. description: 距离上一步天数(分钟)
  16789. type: integer
  16790. stepindex:
  16791. description: 步骤序号
  16792. type: integer
  16793. steplanchtype:
  16794. description: 步骤启动类型 - 1:系统自动 2:手动
  16795. type: integer
  16796. stepremark:
  16797. description: 步骤备注
  16798. type: string
  16799. stepstatus:
  16800. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  16801. type: integer
  16802. steptypeid:
  16803. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  16804. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  16805. type: integer
  16806. steptypename:
  16807. description: 步骤名称
  16808. type: string
  16809. stepvalue:
  16810. description: 步骤值
  16811. type: number
  16812. warehouseid:
  16813. description: 仓库ID
  16814. type: integer
  16815. warehousename:
  16816. description: 仓库名称
  16817. type: string
  16818. wrfactortypeid:
  16819. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16820. type: string
  16821. wrfactortypename:
  16822. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16823. type: string
  16824. wrstandardcode:
  16825. description: 现货商品代码
  16826. type: string
  16827. wrstandardid:
  16828. description: 现货商品ID
  16829. type: integer
  16830. wrstandardname:
  16831. description: 商品名称
  16832. type: string
  16833. wrtypename:
  16834. description: 商品
  16835. type: string
  16836. type: object
  16837. models.WrPerformanceStepType:
  16838. properties:
  16839. canauto:
  16840. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  16841. type: integer
  16842. steptypeid:
  16843. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  16844. type: integer
  16845. steptypename:
  16846. description: 步骤类型名称
  16847. type: string
  16848. type: object
  16849. models.WrPerformanceTemplateEx:
  16850. properties:
  16851. autoid:
  16852. description: AutoID 模板id
  16853. type: integer
  16854. createtime:
  16855. description: 创建时间
  16856. type: string
  16857. creatorid:
  16858. description: 创建人
  16859. type: integer
  16860. lstStep:
  16861. description: 步骤信息列表
  16862. items:
  16863. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  16864. type: array
  16865. paymenttype:
  16866. description: 支付方式 - 1:冻结 2:扣款
  16867. type: integer
  16868. takemode:
  16869. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  16870. type: integer
  16871. templatename:
  16872. description: 模板名称
  16873. type: string
  16874. templatetype:
  16875. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  16876. (无仓单) 5:挂牌期权 6:竞拍-降价式
  16877. type: integer
  16878. userid:
  16879. description: 所属用户
  16880. type: integer
  16881. type: object
  16882. models.WrPosition:
  16883. properties:
  16884. accountid:
  16885. description: 帐户ID
  16886. type: integer
  16887. buyexcuteqty:
  16888. description: 采购履约中数量
  16889. type: number
  16890. creditcurqty:
  16891. description: 授信当前数量(预售仓单:预售当前量)
  16892. type: number
  16893. creditenableqty:
  16894. description: '授信可用数量(预售仓单: 可用数量)'
  16895. type: number
  16896. creditfreezeqty:
  16897. description: '授信冻结数量(预售仓单: 当前数量)'
  16898. type: number
  16899. credittotalqty:
  16900. description: 授信总数量(预售仓单:预售总量)
  16901. type: number
  16902. credittradeqty:
  16903. description: 授信成交数量(预售仓单:成交总量)
  16904. type: number
  16905. deliverygoodscode:
  16906. description: 品种代码
  16907. type: string
  16908. deliverygoodsid:
  16909. description: 品种ID
  16910. type: integer
  16911. deliverygoodsname:
  16912. description: 品种名称
  16913. type: string
  16914. enalbeqty:
  16915. description: 可用数量
  16916. type: number
  16917. enumdicname:
  16918. description: 单位名称
  16919. type: string
  16920. freezeqty:
  16921. description: 总冻结数量
  16922. type: number
  16923. haswr:
  16924. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16925. type: integer
  16926. minivalue:
  16927. description: 现货商品最小变动值
  16928. type: integer
  16929. modifytime:
  16930. description: 修改时间(过户时间)
  16931. type: string
  16932. optioncompare:
  16933. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16934. type: string
  16935. pledgeqty:
  16936. description: 质押数量
  16937. type: number
  16938. querytype:
  16939. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  16940. type: integer
  16941. sellexcuteqty:
  16942. description: 销售履约中数量
  16943. type: number
  16944. totalqty:
  16945. description: 总数量(库存数量)
  16946. type: number
  16947. warehouseid:
  16948. description: 仓库ID
  16949. type: integer
  16950. warehousename:
  16951. description: 仓库名称
  16952. type: string
  16953. wrfactortypeid:
  16954. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16955. type: string
  16956. wrfactortypename:
  16957. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16958. type: string
  16959. wrpositionid:
  16960. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  16961. type: string
  16962. wrpositionno:
  16963. description: 仓单编号
  16964. type: string
  16965. wrstandardcode:
  16966. description: 现货商品代码
  16967. type: string
  16968. wrstandardid:
  16969. description: 现货商品ID
  16970. type: integer
  16971. wrstandardname:
  16972. description: 商品名称
  16973. type: string
  16974. wrtypename:
  16975. description: 商品
  16976. type: string
  16977. wruserid:
  16978. description: 持有人ID
  16979. type: integer
  16980. type: object
  16981. models.WrPreSaleInfo:
  16982. properties:
  16983. bannerpicurl:
  16984. description: Banner图
  16985. type: string
  16986. baseqty:
  16987. description: 中签基数
  16988. type: number
  16989. createtime:
  16990. description: 创建时间
  16991. type: string
  16992. deliverygoodsid:
  16993. description: 现货品种ID
  16994. type: integer
  16995. enddate:
  16996. description: 预售结束日期
  16997. type: string
  16998. enumdicname:
  16999. description: 单位名称
  17000. type: string
  17001. lotteryflag:
  17002. description: 摇号标识 - 0:未摇号 1:已摇号
  17003. type: integer
  17004. lotteryqty:
  17005. description: 摇号总量
  17006. type: number
  17007. luckyqty:
  17008. description: 已中签量
  17009. type: number
  17010. marketid:
  17011. description: 市场ID
  17012. type: integer
  17013. maxbuyqty:
  17014. description: 单人最大申购量
  17015. type: number
  17016. maxluckyqty:
  17017. description: 单人最大中签量
  17018. type: number
  17019. pictureurls:
  17020. description: 详情图片(逗号分隔)
  17021. type: string
  17022. placeqty:
  17023. description: 已配售量
  17024. type: number
  17025. presaleapplyid:
  17026. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  17027. example: "0"
  17028. type: string
  17029. presaleqty:
  17030. description: 预售总量
  17031. type: number
  17032. presalestatus:
  17033. description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭
  17034. type: integer
  17035. sellaccountid:
  17036. description: 发行方资金账户ID
  17037. type: integer
  17038. selluserid:
  17039. description: 发行方用户ID
  17040. type: integer
  17041. sellwrtradeorderid:
  17042. description: 发行方卖委托单ID
  17043. type: string
  17044. startdate:
  17045. description: 预售开始日期
  17046. type: string
  17047. takestartdate:
  17048. description: 提货开始日期
  17049. type: string
  17050. thumurls:
  17051. description: 缩略图片(1:1)(逗号分隔)
  17052. type: string
  17053. tradedate:
  17054. description: 交易日
  17055. type: string
  17056. unitid:
  17057. description: 单位ID
  17058. type: integer
  17059. unitprice:
  17060. description: 商品单价
  17061. type: number
  17062. username:
  17063. description: 发行方用户名称
  17064. type: string
  17065. warehousecode:
  17066. description: 仓库代码(仓库简称)
  17067. type: string
  17068. warehouseid:
  17069. description: 仓库ID
  17070. type: integer
  17071. warehousename:
  17072. description: 仓库名称
  17073. type: string
  17074. wrfactortypeid:
  17075. description: 仓单要素类型ID - 根据现货商品\仓库生成
  17076. example: "0"
  17077. type: string
  17078. wrstandardid:
  17079. description: 现货商品ID
  17080. type: integer
  17081. wrstandardname:
  17082. description: 现货商品名称
  17083. type: string
  17084. type: object
  17085. models.WrQuoteOrderMyq:
  17086. properties:
  17087. buyorsell:
  17088. description: 买卖 - 0:买 1:卖
  17089. type: integer
  17090. canbargain:
  17091. description: 是否可议价 - 0:不可 1:可
  17092. type: integer
  17093. canpart:
  17094. description: 是否允许部份摘牌 - 0:不允许 1:允许
  17095. type: integer
  17096. delistminqty:
  17097. description: 起摘数量
  17098. type: number
  17099. deliverygoodscode:
  17100. description: 品种代码
  17101. type: string
  17102. deliverygoodsid:
  17103. description: 品种ID
  17104. type: integer
  17105. deliverygoodsname:
  17106. description: 品种名称
  17107. type: string
  17108. deliverymonth:
  17109. description: 交收月
  17110. type: string
  17111. enumdicname:
  17112. description: 单位名称
  17113. type: string
  17114. fixedprice:
  17115. description: 买(卖)价
  17116. type: number
  17117. goodscode:
  17118. description: 商品合约代码
  17119. type: string
  17120. marginflag:
  17121. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  17122. type: integer
  17123. marginvalue:
  17124. description: 保证金设置值
  17125. type: number
  17126. minivalue:
  17127. description: 现货商品最小变动值
  17128. type: integer
  17129. orderqty:
  17130. description: 买(卖)量(=委托量-成交量)
  17131. type: number
  17132. ordertime:
  17133. description: 委托时间
  17134. type: string
  17135. performancetemplateid:
  17136. description: 履约模板id
  17137. type: integer
  17138. pricemove:
  17139. description: 买(卖)升贴水- 基差
  17140. type: number
  17141. templatename:
  17142. description: 履约模板名称
  17143. type: string
  17144. userid:
  17145. description: 购买方(销售方)用户ID
  17146. type: integer
  17147. username:
  17148. description: 购买方(销售方)
  17149. type: string
  17150. validtime:
  17151. description: 有效期限
  17152. type: string
  17153. validtype:
  17154. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  17155. type: integer
  17156. warehousename:
  17157. description: 仓库名称
  17158. type: string
  17159. wrfactortypeid:
  17160. description: 仓单要素id
  17161. type: string
  17162. wrstandardcode:
  17163. description: 现货商品代码
  17164. type: string
  17165. wrstandardid:
  17166. description: 现货商品ID
  17167. type: integer
  17168. wrstandardname:
  17169. description: 商品名称
  17170. type: string
  17171. wrtradeorderid:
  17172. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  17173. type: string
  17174. wrtypename:
  17175. description: 商品
  17176. type: string
  17177. type: object
  17178. models.WrReckonSpotGoodsTradeSum:
  17179. properties:
  17180. begindate:
  17181. description: 开始日期(结果含开始日期) yyyymmdd
  17182. type: string
  17183. enddate:
  17184. description: 结束日期(结果含结束日期) yyyymmdd
  17185. type: string
  17186. marketid:
  17187. description: 市场ID
  17188. type: integer
  17189. price:
  17190. description: 价格 = 日成交金额 / 日成交数量
  17191. type: string
  17192. reckondate:
  17193. description: 日期 格式 yyyymmdd
  17194. type: string
  17195. tradeamount:
  17196. description: 日成交金额(当日单方向成交金额)
  17197. type: number
  17198. tradeqty:
  17199. description: 日成交数量(当日单方向成交数量)
  17200. type: number
  17201. wrstandardid:
  17202. description: 现货商品ID
  17203. type: integer
  17204. type: object
  17205. models.WrScfContract:
  17206. properties:
  17207. borroweruserid:
  17208. description: 借款用户ID
  17209. type: integer
  17210. buybackwrpositionqty:
  17211. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  17212. type: number
  17213. closeinterest:
  17214. description: 已结利息 -> 已结费用
  17215. type: number
  17216. currisklevel:
  17217. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  17218. type: integer
  17219. deadline:
  17220. description: 截止日期(yyyyMMdd) -> 借款到期时间
  17221. type: string
  17222. deliverygoodscode:
  17223. description: 品种代码
  17224. type: string
  17225. deliverygoodsid:
  17226. description: 品种ID
  17227. type: integer
  17228. deliverygoodsname:
  17229. description: 品种名称
  17230. type: string
  17231. enumdicname:
  17232. description: 单位名称
  17233. type: string
  17234. financingdays:
  17235. description: 天数(天)
  17236. type: integer
  17237. initmargin:
  17238. description: 保证金 - [仓单回购]
  17239. type: number
  17240. interestamount:
  17241. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  17242. type: number
  17243. interestdebt:
  17244. description: 利息欠款(记录负数) -> 费用欠款
  17245. type: number
  17246. interestminlen:
  17247. description: 最小起息天数
  17248. type: integer
  17249. interestrate:
  17250. description: 利率
  17251. type: number
  17252. interestratemode:
  17253. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  17254. type: integer
  17255. interestsettlemode:
  17256. description: 结息方式 - 1:按日结息 3:按月结息
  17257. type: integer
  17258. interestsettlevalue:
  17259. description: 结息方式值
  17260. type: integer
  17261. isautoloan:
  17262. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  17263. type: integer
  17264. lastcloseinterestday:
  17265. description: 最近结息日(yyyyMMdd)
  17266. type: string
  17267. lenderamount:
  17268. description: 贷款金额 -> 借款金额
  17269. type: number
  17270. lenderuserid:
  17271. description: 贷款方用户ID -> 融出方用户ID
  17272. type: integer
  17273. lenderusername:
  17274. description: 融出方
  17275. type: string
  17276. marginratio:
  17277. description: 保证金比率质押率 - [仓单质押]
  17278. type: number
  17279. marketid:
  17280. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  17281. type: integer
  17282. minivalue:
  17283. description: 现货商品最小变动值
  17284. type: integer
  17285. optioncompare:
  17286. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17287. type: string
  17288. pricemove:
  17289. description: 估值升贴水值
  17290. type: number
  17291. productdetailid:
  17292. description: 产品组合ID
  17293. type: integer
  17294. productid:
  17295. description: 金融产品ID
  17296. type: integer
  17297. productname:
  17298. description: 产品名称
  17299. type: string
  17300. remainamount:
  17301. description: 合同剩余金额 -> 剩余金额
  17302. type: number
  17303. remainwrpositionqty:
  17304. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  17305. type: number
  17306. remark:
  17307. description: 备注
  17308. type: string
  17309. scfcontractid:
  17310. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  17311. type: string
  17312. scfcontractstatus:
  17313. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  17314. 9:违约结束 10:已注销 11:已关闭 99:未提交
  17315. type: integer
  17316. scfcontracttype:
  17317. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  17318. type: integer
  17319. startinterestday:
  17320. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  17321. type: string
  17322. totalinterest:
  17323. description: 已计利息 -> 已计费用
  17324. type: number
  17325. unpaidinterest:
  17326. description: 未结费用
  17327. type: number
  17328. updatetime:
  17329. description: 更新时间
  17330. type: string
  17331. warehouseid:
  17332. description: 仓库ID
  17333. type: integer
  17334. warehousename:
  17335. description: 仓库名称
  17336. type: string
  17337. wrfactortypeid:
  17338. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17339. type: string
  17340. wrfactortypename:
  17341. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17342. type: string
  17343. wrqty:
  17344. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  17345. type: number
  17346. wrstandardcode:
  17347. description: 现货商品代码
  17348. type: string
  17349. wrstandardid:
  17350. description: 现货商品ID
  17351. type: integer
  17352. wrstandardname:
  17353. description: 商品名称
  17354. type: string
  17355. wrtypename:
  17356. description: 商品
  17357. type: string
  17358. type: object
  17359. models.WrScfContractInterest:
  17360. properties:
  17361. closeinterest:
  17362. description: 已结利息
  17363. type: number
  17364. closeintereststatus:
  17365. description: 结息状态 - 1:未结 2:已结
  17366. type: integer
  17367. closetime:
  17368. description: 结息时间
  17369. type: string
  17370. closetradedate:
  17371. description: 结息交易日
  17372. type: string
  17373. creatorid:
  17374. description: 操作人ID
  17375. type: integer
  17376. dayrate:
  17377. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  17378. type: number
  17379. interest:
  17380. description: 利息
  17381. type: number
  17382. interestamount:
  17383. description: 计息金额
  17384. type: number
  17385. interestday:
  17386. description: 计息日(yyyyMMdd)
  17387. type: string
  17388. scfcontractid:
  17389. description: SCF合同ID
  17390. type: string
  17391. scfcontractinterestid:
  17392. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  17393. type: integer
  17394. updatetime:
  17395. description: 更新时间
  17396. type: string
  17397. type: object
  17398. models.WrSearchUser:
  17399. properties:
  17400. userid:
  17401. description: 用户ID
  17402. type: integer
  17403. username:
  17404. description: 用户名称(已脱敏)
  17405. type: string
  17406. username2:
  17407. description: 用户名称(未脱敏)
  17408. type: string
  17409. usertype:
  17410. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  17411. type: integer
  17412. required:
  17413. - username
  17414. type: object
  17415. models.WrSiteColumnDetail:
  17416. properties:
  17417. brief:
  17418. description: 简介
  17419. type: string
  17420. context:
  17421. description: 内容
  17422. type: string
  17423. coverimage:
  17424. description: 封面图片
  17425. type: string
  17426. creaedate:
  17427. description: 创建时间
  17428. type: string
  17429. id:
  17430. description: ID(SEQ_SITE_COLUMNDETAIL)
  17431. type: integer
  17432. istop:
  17433. description: 是否置顶 - 0:不置 1:置顶
  17434. type: integer
  17435. publishdate:
  17436. description: 发布日期
  17437. type: string
  17438. title:
  17439. description: 标题
  17440. type: string
  17441. updatedate:
  17442. description: 修改时间
  17443. type: string
  17444. type: object
  17445. models.WrSpecialMatchOrder:
  17446. properties:
  17447. amount:
  17448. description: 金额 = 数量 * 价格
  17449. type: number
  17450. buyorsell:
  17451. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  17452. type: integer
  17453. cancelqty:
  17454. description: 撤销数量
  17455. type: number
  17456. deliverygoodscode:
  17457. description: 品种代码
  17458. type: string
  17459. deliverygoodsid:
  17460. description: 品种ID
  17461. type: integer
  17462. deliverygoodsname:
  17463. description: 品种名称
  17464. type: string
  17465. enumdicname:
  17466. description: 单位名称
  17467. type: string
  17468. fixedprice:
  17469. description: 固定价格(价格)
  17470. type: number
  17471. haswr:
  17472. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  17473. type: integer
  17474. isspecified:
  17475. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  17476. type: integer
  17477. marketid:
  17478. description: 市场ID
  17479. type: integer
  17480. matchuserid:
  17481. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  17482. type: integer
  17483. matchusername:
  17484. description: 指定方
  17485. type: string
  17486. minivalue:
  17487. description: 现货商品最小变动值
  17488. type: integer
  17489. optioncompare:
  17490. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17491. type: string
  17492. orderqty:
  17493. description: 委托数量
  17494. type: number
  17495. ordertime:
  17496. description: 委托时间
  17497. type: string
  17498. pricemove:
  17499. description: 升贴水(浮动价时填写) - [挂牌]
  17500. type: number
  17501. tradedate:
  17502. description: 交易日(yyyyMMdd)
  17503. type: string
  17504. tradeprice:
  17505. description: 成交价格
  17506. type: number
  17507. tradeqty:
  17508. description: 成交数量
  17509. type: number
  17510. userid:
  17511. description: 用户ID
  17512. type: integer
  17513. username:
  17514. description: 发起方
  17515. type: string
  17516. warehouseid:
  17517. description: 仓库ID
  17518. type: integer
  17519. warehousename:
  17520. description: 仓库名称
  17521. type: string
  17522. wrfactortypeid:
  17523. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17524. type: string
  17525. wrfactortypename:
  17526. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17527. type: string
  17528. wrpricetype:
  17529. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  17530. type: integer
  17531. wrstandardcode:
  17532. description: 现货商品代码
  17533. type: string
  17534. wrstandardid:
  17535. description: 现货商品ID
  17536. type: integer
  17537. wrstandardname:
  17538. description: 商品名称
  17539. type: string
  17540. wrtradeorderid:
  17541. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  17542. type: string
  17543. wrtradeorderstatus:
  17544. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  17545. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  17546. type: integer
  17547. wrtradetype:
  17548. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  17549. type: integer
  17550. wrtypename:
  17551. description: 商品
  17552. type: string
  17553. type: object
  17554. models.WrSpotGroupTradeSum:
  17555. properties:
  17556. deliverygoodscode:
  17557. description: 现货品种代码
  17558. type: string
  17559. deliverygoodsid:
  17560. description: 现货品种ID(SEQ_DELIVERYGOODS)
  17561. type: integer
  17562. deliverygoodsname:
  17563. description: 现货品种名称
  17564. type: string
  17565. lastavgprice:
  17566. description: 上上个交易日价格(前2天价格)
  17567. type: string
  17568. lastreckondate:
  17569. description: 上上个交易日(前2天交易日)
  17570. type: string
  17571. reckondate:
  17572. description: 上个交易日(前1天交易日)
  17573. type: string
  17574. todayavgprice:
  17575. description: 上个交易日价格(前1天价格)
  17576. type: string
  17577. updown:
  17578. description: 涨跌
  17579. type: string
  17580. updownratio:
  17581. description: 涨幅(已格式化, 直接显示即可)
  17582. type: string
  17583. type: object
  17584. models.WrSpotGroupTradeSumDetail:
  17585. properties:
  17586. deliverygoodsid:
  17587. description: 现货商品id
  17588. type: integer
  17589. price:
  17590. description: 价格
  17591. type: number
  17592. reckondate:
  17593. description: 日期(yyymmdd, 如:20211031)
  17594. type: string
  17595. type: object
  17596. models.WrSpotGroupTradeSumEx:
  17597. properties:
  17598. lst:
  17599. description: 指数列表
  17600. items:
  17601. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  17602. type: array
  17603. prereckondate:
  17604. description: 上上个交易日(yyymmdd)
  17605. type: string
  17606. reckondate:
  17607. description: 上个交易日(yyyymmdd)
  17608. type: string
  17609. type: object
  17610. models.WrStandardFactoryItem:
  17611. properties:
  17612. dgfactoryitemid:
  17613. description: 选择项id
  17614. type: integer
  17615. dgfactoryitemvalue:
  17616. description: 要素项值
  17617. type: string
  17618. warehouseid:
  17619. description: 仓库id
  17620. type: integer
  17621. type: object
  17622. models.WrStandardFactoryItemEx:
  17623. properties:
  17624. dgfactoryitemtypeid:
  17625. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  17626. type: integer
  17627. itemlst:
  17628. description: 要素项列表
  17629. items:
  17630. $ref: '#/definitions/models.WrStandardFactoryItem'
  17631. type: array
  17632. itemtypename:
  17633. description: 要素项类型名称
  17634. type: string
  17635. wrstandardid:
  17636. description: 品类
  17637. type: integer
  17638. type: object
  17639. models.WrTradeDetail:
  17640. properties:
  17641. accountid:
  17642. description: 资金账号
  17643. type: integer
  17644. bannerpicurl:
  17645. description: Banner图
  17646. type: string
  17647. begindate:
  17648. description: 开始交易日(yyyymmdd)
  17649. type: string
  17650. buyorsell:
  17651. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  17652. type: integer
  17653. chargevalue:
  17654. description: 手续费
  17655. type: number
  17656. deliverygoodscode:
  17657. description: 品种代码
  17658. type: string
  17659. deliverygoodsid:
  17660. description: 品种ID
  17661. type: integer
  17662. deliverygoodsname:
  17663. description: 品种名称
  17664. type: string
  17665. deliverymonth:
  17666. description: 交收月
  17667. type: string
  17668. enddate:
  17669. description: 结束交易日(yyyymmdd)
  17670. type: string
  17671. enumdicname:
  17672. description: 单位名称
  17673. type: string
  17674. haswr:
  17675. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  17676. type: integer
  17677. marketid:
  17678. description: 市场ID
  17679. type: integer
  17680. matchaccountid:
  17681. description: 对手账号
  17682. type: integer
  17683. matchusername:
  17684. description: 对手方
  17685. type: string
  17686. minivalue:
  17687. description: 现货商品最小变动值
  17688. type: integer
  17689. optioncompare:
  17690. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17691. type: string
  17692. thumurls:
  17693. description: 缩略图
  17694. type: string
  17695. tradedate:
  17696. description: 交易日(yyyyMMdd)
  17697. type: string
  17698. tradeprice:
  17699. description: 成交价格
  17700. type: number
  17701. tradeqty:
  17702. description: 成交数量
  17703. type: number
  17704. tradetime:
  17705. description: 成交时间
  17706. type: string
  17707. userid:
  17708. description: 用户ID
  17709. type: integer
  17710. warehouseid:
  17711. description: 仓库ID
  17712. type: integer
  17713. warehousename:
  17714. description: 仓库名称
  17715. type: string
  17716. wrfactortypeid:
  17717. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17718. type: string
  17719. wrfactortypename:
  17720. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17721. type: string
  17722. wrstandardcode:
  17723. description: 现货商品代码
  17724. type: string
  17725. wrstandardid:
  17726. description: 现货商品ID
  17727. type: integer
  17728. wrstandardname:
  17729. description: 商品名称
  17730. type: string
  17731. wrtradedetailid:
  17732. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  17733. type: string
  17734. wrtradetype:
  17735. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  17736. type: integer
  17737. wrtypename:
  17738. description: 商品
  17739. type: string
  17740. type: object
  17741. models.WrTradeOrderDetail:
  17742. properties:
  17743. buyorsell:
  17744. description: 买卖方向 0-买 1-卖
  17745. type: integer
  17746. goodsid:
  17747. description: 商品id
  17748. type: integer
  17749. orderid:
  17750. description: 委托单号
  17751. type: string
  17752. orderprice:
  17753. description: 委托价格
  17754. type: number
  17755. orderqty:
  17756. description: 委托数量
  17757. type: integer
  17758. userid:
  17759. description: 用户id
  17760. type: integer
  17761. username:
  17762. description: 用户名称(已脱敏)
  17763. type: string
  17764. type: object
  17765. models.WrTypeItem:
  17766. properties:
  17767. name:
  17768. description: 名称
  17769. type: string
  17770. value:
  17771. description: 值
  17772. type: string
  17773. type: object
  17774. models.WrUserFriend:
  17775. properties:
  17776. friendname:
  17777. description: 朋友名称(已脱敏)
  17778. type: string
  17779. frienduserid:
  17780. description: 朋友id
  17781. type: integer
  17782. isfriend:
  17783. description: 是否好友 0-不是 1-是
  17784. type: integer
  17785. userid:
  17786. description: 用户id
  17787. type: integer
  17788. type: object
  17789. models.WrUserReceiptInfo:
  17790. properties:
  17791. address:
  17792. description: 地址[发票类型:企业]
  17793. type: string
  17794. autoid:
  17795. description: AutoID
  17796. type: integer
  17797. contactinfo:
  17798. description: 联系方式
  17799. type: string
  17800. idnum:
  17801. description: 身份证号码[发票类型:个人]
  17802. type: string
  17803. isdefault:
  17804. description: 是否默认地址 - 0:否 1:是
  17805. type: integer
  17806. receiptaccount:
  17807. description: 发票帐号[发票类型:企业]
  17808. type: string
  17809. receiptbank:
  17810. description: 发票开户行[发票类型:企业]
  17811. type: string
  17812. receipttype:
  17813. description: 发票类型 - 1:个人 2:企业
  17814. type: integer
  17815. taxpayerid:
  17816. description: 纳税人识别号
  17817. type: string
  17818. userid:
  17819. description: 用户ID
  17820. type: integer
  17821. username:
  17822. description: 户名(个人姓名或企业名称)
  17823. type: string
  17824. type: object
  17825. models.XHBRAND:
  17826. properties:
  17827. brandid:
  17828. description: 品牌id
  17829. type: integer
  17830. brandname:
  17831. description: 品牌名称
  17832. type: string
  17833. isvalid:
  17834. description: 是否有效 0-无效 1-有效
  17835. type: integer
  17836. type: object
  17837. models.XHDeliveryGoods:
  17838. properties:
  17839. areauserid:
  17840. description: 所属机构
  17841. type: integer
  17842. bdlst:
  17843. description: 品牌列表
  17844. items:
  17845. $ref: '#/definitions/models.XHBRAND'
  17846. type: array
  17847. deliverygoodscode:
  17848. description: 现货品种代码
  17849. type: string
  17850. deliverygoodsid:
  17851. description: 现货品种ID(SEQ_DELIVERYGOODS)
  17852. type: integer
  17853. deliverygoodsname:
  17854. description: 现货品种名称
  17855. type: string
  17856. dgstatus:
  17857. description: 品种状态 - 作废 - 0:未激活 1:正常
  17858. type: integer
  17859. filterSubEmpty:
  17860. description: 过滤下级为空的
  17861. type: integer
  17862. isvalid:
  17863. description: 是否有效 - 0:无效 1:有效
  17864. type: integer
  17865. remark:
  17866. description: 备注
  17867. type: string
  17868. unitid:
  17869. description: 单位id(目前看,数据库中是空值)
  17870. type: integer
  17871. wdlst:
  17872. description: 品类(现货商品)列表
  17873. items:
  17874. $ref: '#/definitions/models.XHWrstandard'
  17875. type: array
  17876. type: object
  17877. models.XHMiddleGoods:
  17878. properties:
  17879. GPLST:
  17880. description: 期货品种列表
  17881. items:
  17882. $ref: '#/definitions/models.TBGoodsGroup'
  17883. type: array
  17884. convertratio:
  17885. description: 拆算系数
  17886. type: number
  17887. costratio:
  17888. description: 成本权重
  17889. type: number
  17890. deliverygoodsid:
  17891. description: 现货商品id
  17892. type: integer
  17893. enumdicname:
  17894. description: 单位名称
  17895. type: string
  17896. middlegoodscode:
  17897. description: 套保品种代码
  17898. type: string
  17899. middlegoodsid:
  17900. description: 套保品种id
  17901. type: integer
  17902. middlegoodsname:
  17903. description: 套保品种名称
  17904. type: string
  17905. unitid:
  17906. description: 单位id
  17907. type: integer
  17908. type: object
  17909. models.XHWrstandard:
  17910. properties:
  17911. bannerpicurl:
  17912. description: banner图
  17913. type: string
  17914. deliverygoodsid:
  17915. description: 品种ID
  17916. type: integer
  17917. enumdicname:
  17918. description: 单位名称
  17919. type: string
  17920. mglst:
  17921. description: 套保品列表
  17922. items:
  17923. $ref: '#/definitions/models.XHMiddleGoods'
  17924. type: array
  17925. pictureurls:
  17926. description: 详情图片(逗号分隔)
  17927. type: string
  17928. thumurls:
  17929. description: 缩略图片(1:1)(逗号分隔)
  17930. type: string
  17931. unitid:
  17932. description: 单位id
  17933. type: integer
  17934. vatrate:
  17935. description: 增值税率
  17936. type: number
  17937. wrstandardcode:
  17938. description: 现货商品代码
  17939. type: string
  17940. wrstandardid:
  17941. description: 现货商品ID(SEQ_WRSTANDARD)
  17942. type: integer
  17943. wrstandardname:
  17944. description: 现货商品名称
  17945. type: string
  17946. type: object
  17947. order.QueryHisTradeDetailRsp:
  17948. properties:
  17949. accountid:
  17950. description: 账户ID[报价币种]
  17951. type: integer
  17952. advanceratio:
  17953. description: 首付比率
  17954. type: number
  17955. buildtype:
  17956. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  17957. type: integer
  17958. buyorsell:
  17959. description: 方向 - 0:买 1:卖
  17960. type: integer
  17961. charge:
  17962. description: 手续费
  17963. type: number
  17964. closecharge:
  17965. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17966. type: number
  17967. closeexchagechargevalue:
  17968. description: 平仓交易所手续费设置值
  17969. type: number
  17970. closefeealgorithm:
  17971. description: 平仓手续费收取方式 1:比率 2:固定
  17972. type: integer
  17973. closememberchargevalue:
  17974. description: 平仓会员手续费设置值
  17975. type: number
  17976. closepl:
  17977. description: 平仓盈亏
  17978. type: number
  17979. closepl2:
  17980. description: 平仓盈亏[逐笔]
  17981. type: number
  17982. closeqty:
  17983. description: 平仓数量(先建后平操作 需要记录)
  17984. type: number
  17985. creditamount:
  17986. description: 授信金额
  17987. type: number
  17988. decimalplace:
  17989. description: 商品报价小数位
  17990. type: integer
  17991. enumdicname:
  17992. description: 单位名称
  17993. type: string
  17994. gcaccountid:
  17995. description: 账户ID[合约币种]
  17996. type: integer
  17997. goodscode:
  17998. description: 商品代码
  17999. type: string
  18000. goodsid:
  18001. description: 商品ID
  18002. type: integer
  18003. goodsname:
  18004. description: 商品名称
  18005. type: string
  18006. goodunitid:
  18007. description: 商品单位id
  18008. type: integer
  18009. histradedate:
  18010. description: 历史交易日
  18011. type: string
  18012. intclosepl:
  18013. description: 整型盈亏(用于交易结算试算平衡-收益权)
  18014. type: integer
  18015. isconfirmexercise:
  18016. description: 是否确认行权- 0:否 1:是
  18017. type: integer
  18018. ismain:
  18019. description: 是否主单 - 0:不是 1:是
  18020. type: integer
  18021. ispreexercise:
  18022. description: 是否预申报- 0:否 1:是
  18023. type: integer
  18024. isreckoned:
  18025. description: 是否结算 - 0:未结算 1:已结算
  18026. type: integer
  18027. isvaliddata:
  18028. description: 是否有效 - 0:无效 1:有效
  18029. type: integer
  18030. listingselecttype:
  18031. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  18032. type: integer
  18033. marketid:
  18034. description: 市场ID
  18035. type: integer
  18036. marketname:
  18037. description: 市场名称
  18038. type: string
  18039. matchaccountid:
  18040. description: 对手账号id
  18041. type: integer
  18042. memberuserid:
  18043. description: 会员id 个人投资者 需要填写
  18044. type: integer
  18045. opencharge:
  18046. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  18047. type: number
  18048. openexchagechargevalue:
  18049. description: 建仓交易所手续费设置值
  18050. type: number
  18051. openfeealgorithm:
  18052. description: 建仓手续费收取方式 1:比率 2:固定
  18053. type: integer
  18054. openmemberchargevalue:
  18055. description: 建仓会员手续费设置值
  18056. type: number
  18057. openqty:
  18058. description: 开仓数量(先建后平操作 需要记录)
  18059. type: number
  18060. optiontype:
  18061. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  18062. type: integer
  18063. orderid:
  18064. description: 委托单号
  18065. type: string
  18066. payamount:
  18067. description: 支付金额(付款金额)
  18068. type: number
  18069. performanceplanid:
  18070. description: 履约计划ID[期权]
  18071. type: integer
  18072. performancestatus:
  18073. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  18074. type: integer
  18075. preexerciseprice:
  18076. description: 预申报价格
  18077. type: number
  18078. premium:
  18079. description: 权利金 - [持仓单的权利金]
  18080. type: number
  18081. qtydecimalplace:
  18082. description: 商品报价小数位
  18083. type: integer
  18084. recvamount:
  18085. description: 到账金额 = 成交金额 - 手续费
  18086. type: number
  18087. relatedouttradeid:
  18088. description: 关联外部成交单ID
  18089. type: integer
  18090. status:
  18091. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  18092. type: integer
  18093. totalamount:
  18094. description: 订单总额 = 成交金额 + 手续费
  18095. type: number
  18096. tradeamount:
  18097. description: 成交金额[账户币种,用于所有权]
  18098. type: number
  18099. tradedate:
  18100. description: 交易日(yyyyMMdd)
  18101. type: string
  18102. tradeid:
  18103. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18104. type: string
  18105. trademode:
  18106. description: 交易模式
  18107. type: integer
  18108. tradeprice:
  18109. description: 成交价格
  18110. type: number
  18111. tradeproperty:
  18112. description: 交易属性
  18113. type: integer
  18114. tradeqty:
  18115. description: 成交数量
  18116. type: number
  18117. tradetime:
  18118. description: 成交时间
  18119. type: string
  18120. tradetype:
  18121. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  18122. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  18123. type: integer
  18124. required:
  18125. - accountid
  18126. - buyorsell
  18127. - goodsid
  18128. - histradedate
  18129. - marketid
  18130. - memberuserid
  18131. - orderid
  18132. - tradeamount
  18133. - tradedate
  18134. - tradeid
  18135. - tradeprice
  18136. - tradeqty
  18137. - tradetime
  18138. type: object
  18139. order.QueryHisTradeOrderDetailRsp:
  18140. properties:
  18141. accountid:
  18142. description: 账户ID[报价币种]
  18143. type: integer
  18144. buildtype:
  18145. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  18146. type: integer
  18147. buyorsell:
  18148. description: 买卖 - 0:买 1:卖
  18149. type: integer
  18150. cancelorderid:
  18151. description: 撤单单号(撤单时填写)
  18152. type: string
  18153. cancelqty:
  18154. description: 撤单数量
  18155. type: number
  18156. clientordertime:
  18157. description: 客户端委托时间
  18158. type: string
  18159. clientticket:
  18160. description: 客户端流水号
  18161. type: string
  18162. clienttype:
  18163. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  18164. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  18165. type: integer
  18166. closeexchagechargevalue:
  18167. description: 平仓交易所手续费设置值
  18168. type: number
  18169. closefeealgorithm:
  18170. description: 平仓手续费收取方式 1:比率 2:固定
  18171. type: integer
  18172. closefreezecharge:
  18173. description: 平仓冻结手续费(先建后平操作,需要记录)
  18174. type: number
  18175. closememberchargevalue:
  18176. description: 平仓会员手续费设置值
  18177. type: number
  18178. closeqty:
  18179. description: 平仓数量(先建后平操作 需要记录)
  18180. type: number
  18181. closetradeqty:
  18182. description: 平仓成交数量(先建后平操作,需要记录)
  18183. type: number
  18184. closeunfreezecharge:
  18185. description: 平仓解冻手续费(先建后平操作,需要记录)
  18186. type: number
  18187. decimalplace:
  18188. description: 商品报价小数位
  18189. type: integer
  18190. delistingtype:
  18191. description: 摘牌类型 - 1:价格最优 2:点选成交
  18192. type: integer
  18193. enumdicname:
  18194. description: 单位名称
  18195. type: string
  18196. freezecharge:
  18197. description: 冻结手续费
  18198. type: number
  18199. freezemargin:
  18200. description: 冻结保证金(冻结交易金额)
  18201. type: number
  18202. gcaccountid:
  18203. description: 账户ID[合约币种]
  18204. type: integer
  18205. goodscode:
  18206. description: 商品代码
  18207. type: string
  18208. goodsid:
  18209. description: 商品ID
  18210. type: integer
  18211. goodsname:
  18212. description: 商品名称
  18213. type: string
  18214. goodunitid:
  18215. description: 商品单位id
  18216. type: integer
  18217. histradedate:
  18218. description: 历史交易日
  18219. type: string
  18220. isconfirmexercise:
  18221. description: 是否确认行权- 0:否 1:是
  18222. type: integer
  18223. ispreexercise:
  18224. description: 是否预申报- 0:否 1:是
  18225. type: integer
  18226. isvaliddata:
  18227. description: 是否有效 - 0:无效 1:有效
  18228. type: integer
  18229. listingselecttype:
  18230. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  18231. type: integer
  18232. marginalgorithm:
  18233. description: 保证金收取方式 1:比率 2:固定
  18234. type: integer
  18235. marginvalue:
  18236. description: 即市保证金设置值
  18237. type: number
  18238. marketid:
  18239. description: 市场ID
  18240. type: integer
  18241. marketmaxsub:
  18242. description: 市价最大偏移范围
  18243. type: number
  18244. marketname:
  18245. description: 市场名称
  18246. type: string
  18247. memberuserid:
  18248. description: 所属会员UserID
  18249. type: integer
  18250. openexchagechargevalue:
  18251. description: 建仓交易所手续费设置值
  18252. type: number
  18253. openfeealgorithm:
  18254. description: 建仓手续费收取方式 1:比率 2:固定
  18255. type: integer
  18256. openfreezecharge:
  18257. description: 开仓冻结手续费(先建后平操作,需要记录)
  18258. type: number
  18259. openmemberchargevalue:
  18260. description: 建仓会员手续费设置值
  18261. type: number
  18262. openqty:
  18263. description: 开仓数量(先建后平操作,需要记录)
  18264. type: number
  18265. opentradeqty:
  18266. description: 开仓成交数量(先建后平操作,需要记录)
  18267. type: number
  18268. openunfreezecharge:
  18269. description: 开仓解冻手续费(先建后平操作,需要记录)
  18270. type: number
  18271. operatetype:
  18272. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  18273. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  18274. 15:管理端协议转让
  18275. type: integer
  18276. operatorid:
  18277. description: 登录账号(LoginID)
  18278. type: integer
  18279. optiontype:
  18280. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  18281. type: integer
  18282. orderid:
  18283. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18284. type: string
  18285. orderprice:
  18286. description: 委托价格
  18287. type: number
  18288. orderqty:
  18289. description: 委托数量
  18290. type: number
  18291. ordersrc:
  18292. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  18293. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  18294. type: integer
  18295. orderstatus:
  18296. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  18297. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  18298. 16:成交失败违约(荷兰式竞拍专用)
  18299. type: integer
  18300. ordertime:
  18301. description: 委托时间
  18302. type: string
  18303. preexerciseprice:
  18304. description: 预申报价格
  18305. type: number
  18306. premium:
  18307. description: 权利金
  18308. type: number
  18309. preorderid:
  18310. description: 关联预埋单号(止盈止损单时填写)
  18311. type: string
  18312. pricemode:
  18313. description: '取价方式 - 1:市价 2: 限价'
  18314. type: integer
  18315. qtydecimalplace:
  18316. description: 成交量小数位
  18317. type: integer
  18318. quoteid:
  18319. description: 报价单ID
  18320. type: integer
  18321. relatedid:
  18322. description: 关联单号(交割单)
  18323. type: string
  18324. retcode:
  18325. description: 错误代码
  18326. type: integer
  18327. sessionid:
  18328. description: 会话ID
  18329. type: integer
  18330. tradedate:
  18331. description: 交易日(yyyyMMdd)
  18332. type: string
  18333. trademode:
  18334. description: 交易模式
  18335. type: integer
  18336. tradeproperty:
  18337. description: 交易属性
  18338. type: integer
  18339. tradeqty:
  18340. description: 成交数量
  18341. type: number
  18342. unfreezecharge:
  18343. description: 解冻手续费
  18344. type: number
  18345. unfreezemargin:
  18346. description: 解冻保证金
  18347. type: number
  18348. updatetime:
  18349. description: 更新时间
  18350. type: string
  18351. uuid:
  18352. description: 发起端唯一id
  18353. type: string
  18354. validtime:
  18355. description: 有效期限
  18356. type: string
  18357. validtype:
  18358. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  18359. type: integer
  18360. volumetype:
  18361. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  18362. type: integer
  18363. required:
  18364. - accountid
  18365. - buildtype
  18366. - buyorsell
  18367. - goodsid
  18368. - histradedate
  18369. - marketid
  18370. - memberuserid
  18371. - operatetype
  18372. - orderid
  18373. - orderqty
  18374. - ordertime
  18375. - pricemode
  18376. - tradedate
  18377. - validtype
  18378. type: object
  18379. order.QueryTradeDetailRsp:
  18380. properties:
  18381. accountid:
  18382. description: 账户ID[报价币种]
  18383. type: integer
  18384. advanceratio:
  18385. description: 首付比率
  18386. type: number
  18387. buildtype:
  18388. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  18389. type: integer
  18390. buyorsell:
  18391. description: 方向 - 0:买 1:卖
  18392. type: integer
  18393. charge:
  18394. description: 手续费
  18395. type: number
  18396. closecharge:
  18397. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  18398. type: number
  18399. closeexchagechargevalue:
  18400. description: 平仓交易所手续费设置值
  18401. type: number
  18402. closefeealgorithm:
  18403. description: 平仓手续费收取方式 1:比率 2:固定
  18404. type: integer
  18405. closememberchargevalue:
  18406. description: 平仓会员手续费设置值
  18407. type: number
  18408. closepl:
  18409. description: 平仓盈亏
  18410. type: number
  18411. closepl2:
  18412. description: 平仓盈亏[逐笔]
  18413. type: number
  18414. closeqty:
  18415. description: 平仓数量(先建后平操作 需要记录)
  18416. type: number
  18417. creditamount:
  18418. description: 授信金额
  18419. type: number
  18420. decimalplace:
  18421. description: 商品报价小数位
  18422. type: integer
  18423. enumdicname:
  18424. description: 单位名称
  18425. type: string
  18426. gcaccountid:
  18427. description: 账户ID[合约币种]
  18428. type: integer
  18429. goodscode:
  18430. description: 商品代码
  18431. type: string
  18432. goodsid:
  18433. description: 商品ID
  18434. type: integer
  18435. goodsname:
  18436. description: 商品名称
  18437. type: string
  18438. goodunitid:
  18439. description: 商品单位id
  18440. type: integer
  18441. intclosepl:
  18442. description: 整型盈亏(用于交易结算试算平衡-收益权)
  18443. type: integer
  18444. isconfirmexercise:
  18445. description: 是否确认行权- 0:否 1:是
  18446. type: integer
  18447. ismain:
  18448. description: 是否主单 - 0:不是 1:是
  18449. type: integer
  18450. ispreexercise:
  18451. description: 是否预申报- 0:否 1:是
  18452. type: integer
  18453. isreckoned:
  18454. description: 是否结算 - 0:未结算 1:已结算
  18455. type: integer
  18456. listingselecttype:
  18457. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  18458. type: integer
  18459. marketid:
  18460. description: 市场ID
  18461. type: integer
  18462. marketname:
  18463. description: 市场名称
  18464. type: string
  18465. matchaccountid:
  18466. description: 对手账号id
  18467. type: integer
  18468. memberuserid:
  18469. description: 会员id 个人投资者 需要填写
  18470. type: integer
  18471. opencharge:
  18472. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  18473. type: number
  18474. openexchagechargevalue:
  18475. description: 建仓交易所手续费设置值
  18476. type: number
  18477. openfeealgorithm:
  18478. description: 建仓手续费收取方式 1:比率 2:固定
  18479. type: integer
  18480. openmemberchargevalue:
  18481. description: 建仓会员手续费设置值
  18482. type: number
  18483. openqty:
  18484. description: 开仓数量(先建后平操作 需要记录)
  18485. type: number
  18486. optiontype:
  18487. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  18488. type: integer
  18489. orderid:
  18490. description: 委托单号
  18491. type: string
  18492. payamount:
  18493. description: 支付金额(付款金额)
  18494. type: number
  18495. performanceplanid:
  18496. description: 履约计划ID[期权]
  18497. type: integer
  18498. performancestatus:
  18499. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  18500. type: integer
  18501. preexerciseprice:
  18502. description: 预申报价格
  18503. type: number
  18504. premium:
  18505. description: 权利金 - [持仓单的权利金]
  18506. type: number
  18507. qtydecimalplace:
  18508. description: 商品报价小数位
  18509. type: integer
  18510. recvamount:
  18511. description: 到账金额 = 成交金额 - 手续费
  18512. type: number
  18513. relatedouttradeid:
  18514. description: 关联外部成交单ID
  18515. type: integer
  18516. status:
  18517. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  18518. type: integer
  18519. totalamount:
  18520. description: 订单总额 = 成交金额 + 手续费
  18521. type: number
  18522. tradeamount:
  18523. description: 成交金额[账户币种,用于所有权]
  18524. type: number
  18525. tradedate:
  18526. description: 交易日(yyyyMMdd)
  18527. type: string
  18528. tradeid:
  18529. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18530. type: string
  18531. trademode:
  18532. description: 交易模式
  18533. type: integer
  18534. tradeprice:
  18535. description: 成交价格
  18536. type: number
  18537. tradeproperty:
  18538. description: 交易属性
  18539. type: integer
  18540. tradeqty:
  18541. description: 成交数量
  18542. type: number
  18543. tradetime:
  18544. description: 成交时间
  18545. type: string
  18546. tradetype:
  18547. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  18548. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  18549. type: integer
  18550. required:
  18551. - accountid
  18552. - buyorsell
  18553. - goodsid
  18554. - marketid
  18555. - memberuserid
  18556. - orderid
  18557. - tradeamount
  18558. - tradedate
  18559. - tradeid
  18560. - tradeprice
  18561. - tradeqty
  18562. - tradetime
  18563. type: object
  18564. order.QueryTradeOrderDetailRsp:
  18565. properties:
  18566. accountid:
  18567. description: 账户ID[报价币种]
  18568. type: integer
  18569. buildtype:
  18570. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  18571. type: integer
  18572. buyorsell:
  18573. description: 买卖 - 0:买 1:卖
  18574. type: integer
  18575. cancelorderid:
  18576. description: 撤单单号(撤单时填写)
  18577. type: string
  18578. cancelqty:
  18579. description: 撤单数量
  18580. type: number
  18581. clienttype:
  18582. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  18583. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  18584. type: integer
  18585. closefreezecharge:
  18586. description: 平仓冻结手续费(先建后平操作,需要记录)
  18587. type: number
  18588. closeqty:
  18589. description: 平仓数量(先建后平操作 需要记录)
  18590. type: number
  18591. closetradeqty:
  18592. description: 平仓成交数量(先建后平操作,需要记录)
  18593. type: number
  18594. closeunfreezecharge:
  18595. description: 平仓解冻手续费(先建后平操作,需要记录)
  18596. type: number
  18597. decimalplace:
  18598. description: 商品报价小数位
  18599. type: integer
  18600. delistingtype:
  18601. description: 摘牌类型 - 1:价格最优 2:点选成交
  18602. type: integer
  18603. enableqty:
  18604. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  18605. type: number
  18606. enumdicname:
  18607. description: 单位名称
  18608. type: string
  18609. freezecharge:
  18610. description: 冻结手续费
  18611. type: number
  18612. freezemargin:
  18613. description: 冻结保证金(冻结交易金额)
  18614. type: number
  18615. goodscode:
  18616. description: 商品代码
  18617. type: string
  18618. goodsid:
  18619. description: 商品ID
  18620. type: integer
  18621. goodsname:
  18622. description: 商品名称
  18623. type: string
  18624. goodunitid:
  18625. description: 商品单位id
  18626. type: integer
  18627. listingselecttype:
  18628. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  18629. type: integer
  18630. marketid:
  18631. description: 市场ID
  18632. type: integer
  18633. marketname:
  18634. description: 市场名称
  18635. type: string
  18636. openfreezecharge:
  18637. description: 开仓冻结手续费(先建后平操作,需要记录)
  18638. type: number
  18639. openqty:
  18640. description: 开仓数量(先建后平操作,需要记录)
  18641. type: number
  18642. opentradeqty:
  18643. description: 开仓成交数量(先建后平操作,需要记录)
  18644. type: number
  18645. openunfreezecharge:
  18646. description: 开仓解冻手续费(先建后平操作,需要记录)
  18647. type: number
  18648. operatetype:
  18649. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  18650. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  18651. 15:管理端协议转让
  18652. type: integer
  18653. operatorid:
  18654. description: 登录账号(LoginID)
  18655. type: integer
  18656. orderid:
  18657. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18658. type: string
  18659. orderprice:
  18660. description: 委托价格
  18661. type: number
  18662. orderqty:
  18663. description: 委托数量
  18664. type: number
  18665. ordersrc:
  18666. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  18667. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  18668. type: integer
  18669. orderstatus:
  18670. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  18671. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  18672. 16:成交失败违约(荷兰式竞拍专用)
  18673. type: integer
  18674. ordertime:
  18675. description: 委托时间
  18676. type: string
  18677. preorderid:
  18678. description: 关联预埋单号(止盈止损单时填写)
  18679. type: string
  18680. pricemode:
  18681. description: '取价方式 - 1:市价 2: 限价'
  18682. type: integer
  18683. qtydecimalplace:
  18684. description: 商品报价小数位
  18685. type: integer
  18686. relatedid:
  18687. description: 关联单号(交割单)
  18688. type: string
  18689. tradedate:
  18690. description: 交易日(yyyyMMdd)
  18691. type: string
  18692. trademode:
  18693. description: 交易模式
  18694. type: integer
  18695. tradeqty:
  18696. description: 成交数量
  18697. type: number
  18698. unfreezecharge:
  18699. description: 解冻手续费
  18700. type: number
  18701. unfreezemargin:
  18702. description: 解冻保证金
  18703. type: number
  18704. validtime:
  18705. description: 有效期限
  18706. type: string
  18707. validtype:
  18708. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  18709. type: integer
  18710. volumetype:
  18711. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  18712. type: integer
  18713. required:
  18714. - accountid
  18715. - buildtype
  18716. - buyorsell
  18717. - goodsid
  18718. - marketid
  18719. - operatetype
  18720. - orderqty
  18721. - ordertime
  18722. - pricemode
  18723. - tradedate
  18724. - validtype
  18725. type: object
  18726. order.QueryTradePositionRsp:
  18727. properties:
  18728. accountid:
  18729. description: 资金账户
  18730. type: integer
  18731. agreeunit:
  18732. description: 合约单位
  18733. type: number
  18734. averageprice:
  18735. description: 持仓均价
  18736. type: number
  18737. buyorsell:
  18738. description: 方向 - 0:买 1:卖
  18739. type: integer
  18740. closetotalqty:
  18741. description: 平仓总数量
  18742. type: number
  18743. curholderamount:
  18744. description: 当前持仓总金额[商品币种]
  18745. type: number
  18746. curpositionqty:
  18747. description: 当前持仓总数量
  18748. type: number
  18749. currencyid:
  18750. description: 报价货币ID
  18751. type: integer
  18752. curtdposition:
  18753. description: 期末今日头寸
  18754. type: number
  18755. decimalplace:
  18756. description: 报价小数位
  18757. type: integer
  18758. enableqty:
  18759. description: 可用量
  18760. type: number
  18761. fretdposition:
  18762. description: 冻结今日头寸
  18763. type: number
  18764. frozenqty:
  18765. description: 持仓冻结数量
  18766. type: number
  18767. goodscode:
  18768. description: 商品代码
  18769. type: string
  18770. goodsid:
  18771. description: 商品Id
  18772. type: integer
  18773. goodsname:
  18774. description: 商品名称
  18775. type: string
  18776. goodunit:
  18777. description: 报价单位
  18778. type: string
  18779. goodunitid:
  18780. description: 报价单位ID
  18781. type: integer
  18782. holderamount:
  18783. description: 期初持仓总金额[商品币种]
  18784. type: number
  18785. lastprice:
  18786. description: 最新价
  18787. type: number
  18788. marketamount:
  18789. description: 市值
  18790. type: number
  18791. marketid:
  18792. description: 所属市场ID
  18793. type: integer
  18794. openreqqty:
  18795. description: 开仓申请数量(用于比较最大持仓数量)
  18796. type: number
  18797. opentotalqty:
  18798. description: 开仓总数量
  18799. type: number
  18800. otherfrozenqty:
  18801. description: 持仓其他冻结数量(交割冻结)
  18802. type: number
  18803. positionpl:
  18804. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  18805. * 合约单位
  18806. type: number
  18807. positionplrate:
  18808. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  18809. type: number
  18810. positionqty:
  18811. description: 期初持仓数量
  18812. type: number
  18813. qtydecimalplace:
  18814. description: 成交量小数位
  18815. type: integer
  18816. refgoodscode:
  18817. description: 参考商品代码
  18818. type: string
  18819. refgoodsid:
  18820. description: 参考商品ID
  18821. type: integer
  18822. tnqty:
  18823. description: T+N冻结总量
  18824. type: number
  18825. tnusedqty:
  18826. description: T+N使用量(可以使用T+N的冻结数量)
  18827. type: number
  18828. trademode:
  18829. description: 交易模式
  18830. type: integer
  18831. tradeproperty:
  18832. description: 交易属性
  18833. type: integer
  18834. usedmargin:
  18835. description: 占用保证金[商品币种]
  18836. type: number
  18837. required:
  18838. - goodsid
  18839. type: object
  18840. pb.GoodsMarginCfgStruct:
  18841. properties:
  18842. CustomerTypeID:
  18843. description: 投资者客户类型
  18844. type: integer
  18845. GoodsID:
  18846. description: 商品ID
  18847. type: integer
  18848. IsDefault:
  18849. description: 是否默认标志位
  18850. type: integer
  18851. LockMarginValue:
  18852. description: 锁仓保证金
  18853. type: number
  18854. MarginAlgorithm:
  18855. description: 保证金计算方式
  18856. type: integer
  18857. MarketMarginValue:
  18858. description: 即市保证金值
  18859. type: number
  18860. RealMarginAlgorithm:
  18861. description: 实付保证金计算方式
  18862. type: integer
  18863. RealMarginValue:
  18864. description: 实付比例
  18865. type: number
  18866. ReckonMarginValue:
  18867. description: 结算保证金值
  18868. type: number
  18869. type: object
  18870. quote.HistoryData:
  18871. properties:
  18872. c:
  18873. description: 收盘价
  18874. type: number
  18875. f:
  18876. description: 是否补充数据
  18877. type: boolean
  18878. h:
  18879. description: 最高价
  18880. type: number
  18881. hv:
  18882. description: 持仓量
  18883. type: integer
  18884. l:
  18885. description: 最低价
  18886. type: number
  18887. o:
  18888. description: 开盘价
  18889. type: number
  18890. s:
  18891. description: 结算价,日线周期(包括)以上才有
  18892. type: number
  18893. ts:
  18894. description: 时间
  18895. type: string
  18896. tt:
  18897. description: 总金额
  18898. type: number
  18899. tv:
  18900. description: 总量(成交量)
  18901. type: integer
  18902. type: object
  18903. quote.HistoryTikData:
  18904. properties:
  18905. AV:
  18906. description: 卖量
  18907. type: integer
  18908. Ask:
  18909. description: 卖价
  18910. type: number
  18911. BV:
  18912. description: 买量
  18913. type: integer
  18914. Bid:
  18915. description: 买价
  18916. type: number
  18917. HI:
  18918. description: 单笔持仓
  18919. type: integer
  18920. HV:
  18921. description: 持仓量
  18922. type: integer
  18923. PE:
  18924. description: 现价
  18925. type: number
  18926. TDR:
  18927. description: 交易方向,0:买 1:卖
  18928. type: integer
  18929. TK:
  18930. description: 交易类型
  18931. type: integer
  18932. TS:
  18933. description: 行情时间文本
  18934. type: string
  18935. TT:
  18936. description: 现金额
  18937. type: number
  18938. Vol:
  18939. description: 现量
  18940. type: integer
  18941. type: object
  18942. quote.QueryQuoteDayRsp:
  18943. properties:
  18944. ask:
  18945. description: 卖1
  18946. type: number
  18947. ask2:
  18948. description: 卖2
  18949. type: number
  18950. ask3:
  18951. description: 卖3
  18952. type: number
  18953. ask4:
  18954. description: 卖4
  18955. type: number
  18956. ask5:
  18957. description: 卖5
  18958. type: number
  18959. ask6:
  18960. description: 卖6
  18961. type: number
  18962. ask7:
  18963. description: 卖7
  18964. type: number
  18965. ask8:
  18966. description: 卖8
  18967. type: number
  18968. ask9:
  18969. description: 卖9
  18970. type: number
  18971. ask10:
  18972. description: 卖10
  18973. type: number
  18974. askorderid:
  18975. description: 卖单号1
  18976. type: integer
  18977. askorderid2:
  18978. description: 卖单号2
  18979. type: integer
  18980. askorderid3:
  18981. description: 卖单号3
  18982. type: integer
  18983. askorderid4:
  18984. description: 卖单号4
  18985. type: integer
  18986. askorderid5:
  18987. description: 卖单号5
  18988. type: integer
  18989. askordervolume:
  18990. description: 卖单量1
  18991. type: integer
  18992. askordervolume2:
  18993. description: 卖单量2
  18994. type: integer
  18995. askordervolume3:
  18996. description: 卖单量3
  18997. type: integer
  18998. askordervolume4:
  18999. description: 卖单量4
  19000. type: integer
  19001. askordervolume5:
  19002. description: 卖单量5
  19003. type: integer
  19004. askordervolume6:
  19005. description: 卖单量6
  19006. type: integer
  19007. askordervolume7:
  19008. description: 卖单量7
  19009. type: integer
  19010. askordervolume8:
  19011. description: 卖单量8
  19012. type: integer
  19013. askordervolume9:
  19014. description: 卖单量9
  19015. type: integer
  19016. askordervolume10:
  19017. description: 卖单量10
  19018. type: integer
  19019. askqueueinfo:
  19020. description: 大利市卖港股用
  19021. type: string
  19022. askvolume:
  19023. description: 卖量1
  19024. type: integer
  19025. askvolume2:
  19026. description: 卖量2
  19027. type: integer
  19028. askvolume3:
  19029. description: 卖量3
  19030. type: integer
  19031. askvolume4:
  19032. description: 卖量4
  19033. type: integer
  19034. askvolume5:
  19035. description: 卖量5
  19036. type: integer
  19037. askvolume6:
  19038. description: 卖量6
  19039. type: integer
  19040. askvolume7:
  19041. description: 卖量7
  19042. type: integer
  19043. askvolume8:
  19044. description: 卖量8
  19045. type: integer
  19046. askvolume9:
  19047. description: 卖量9
  19048. type: integer
  19049. askvolume10:
  19050. description: 卖量10
  19051. type: integer
  19052. averageprice:
  19053. description: 均价
  19054. type: number
  19055. bid:
  19056. description: 买1
  19057. type: number
  19058. bid2:
  19059. description: 买2
  19060. type: number
  19061. bid3:
  19062. description: 买3
  19063. type: number
  19064. bid4:
  19065. description: 买4
  19066. type: number
  19067. bid5:
  19068. description: 买5
  19069. type: number
  19070. bid6:
  19071. description: 买6
  19072. type: number
  19073. bid7:
  19074. description: 买7
  19075. type: number
  19076. bid8:
  19077. description: 买8
  19078. type: number
  19079. bid9:
  19080. description: 买9
  19081. type: number
  19082. bid10:
  19083. description: 买10
  19084. type: number
  19085. bidorderid:
  19086. description: 买单号1
  19087. type: integer
  19088. bidorderid2:
  19089. description: 买单号2
  19090. type: integer
  19091. bidorderid3:
  19092. description: 买单号3
  19093. type: integer
  19094. bidorderid4:
  19095. description: 买单号4
  19096. type: integer
  19097. bidorderid5:
  19098. description: 买单号5
  19099. type: integer
  19100. bidordervolume:
  19101. description: 买单量1
  19102. type: integer
  19103. bidordervolume2:
  19104. description: 买单量2
  19105. type: integer
  19106. bidordervolume3:
  19107. description: 买单量3
  19108. type: integer
  19109. bidordervolume4:
  19110. description: 买单量4
  19111. type: integer
  19112. bidordervolume5:
  19113. description: 买单量5
  19114. type: integer
  19115. bidordervolume6:
  19116. description: 买单量6
  19117. type: integer
  19118. bidordervolume7:
  19119. description: 买单量7
  19120. type: integer
  19121. bidordervolume8:
  19122. description: 买单量8
  19123. type: integer
  19124. bidordervolume9:
  19125. description: 买单量9
  19126. type: integer
  19127. bidordervolume10:
  19128. description: 买单量10
  19129. type: integer
  19130. bidqueueinfo:
  19131. description: 大利市买港股用
  19132. type: string
  19133. bidvolume:
  19134. description: 买量1
  19135. type: integer
  19136. bidvolume2:
  19137. description: 买量2
  19138. type: integer
  19139. bidvolume3:
  19140. description: 买量3
  19141. type: integer
  19142. bidvolume4:
  19143. description: 买量4
  19144. type: integer
  19145. bidvolume5:
  19146. description: 买量5
  19147. type: integer
  19148. bidvolume6:
  19149. description: 买量6
  19150. type: integer
  19151. bidvolume7:
  19152. description: 买量7
  19153. type: integer
  19154. bidvolume8:
  19155. description: 买量8
  19156. type: integer
  19157. bidvolume9:
  19158. description: 买量9
  19159. type: integer
  19160. bidvolume10:
  19161. description: 买量10
  19162. type: integer
  19163. calloptionpremiums:
  19164. description: 认购期权1
  19165. type: integer
  19166. calloptionpremiums2:
  19167. description: 认购期权2
  19168. type: integer
  19169. calloptionpremiums3:
  19170. description: 认购期权3
  19171. type: integer
  19172. calloptionpremiums4:
  19173. description: 认购期权4
  19174. type: integer
  19175. calloptionpremiums5:
  19176. description: 认购期权5
  19177. type: integer
  19178. cleartime:
  19179. description: 清盘时间
  19180. type: integer
  19181. exchangecode:
  19182. description: 交易所代码
  19183. type: integer
  19184. exchangedate:
  19185. description: 交易日
  19186. type: integer
  19187. goodscode:
  19188. description: 商品代码
  19189. type: string
  19190. grepmarketprice:
  19191. description: 暗盘价 港股专用
  19192. type: number
  19193. highest:
  19194. description: 最高价
  19195. type: number
  19196. holdincrement:
  19197. description: 单笔持仓
  19198. type: integer
  19199. holdvolume:
  19200. description: 持仓
  19201. type: integer
  19202. iep:
  19203. description: 平衡价 港股专用
  19204. type: number
  19205. iev:
  19206. description: 平衡量 港股专用
  19207. type: number
  19208. inventory:
  19209. description: 库存
  19210. type: integer
  19211. iscleared:
  19212. description: 是否清盘标志
  19213. type: integer
  19214. issettled:
  19215. description: 是否结算标志
  19216. type: integer
  19217. last:
  19218. description: 最新价
  19219. type: number
  19220. lastlot:
  19221. description: 最新成交手数
  19222. type: integer
  19223. lasttime:
  19224. description: 行情时间(只有现价变化行情时间才变化)
  19225. type: string
  19226. lastturnover:
  19227. description: 最新成交金额
  19228. type: number
  19229. lastvolume:
  19230. description: 最新成交量
  19231. type: integer
  19232. limitdown:
  19233. description: 跌停价
  19234. type: number
  19235. limitup:
  19236. description: 涨停价
  19237. type: number
  19238. lowest:
  19239. description: 最低价
  19240. type: number
  19241. nontotalholdervolume:
  19242. description: 非交易持仓量
  19243. type: integer
  19244. nontotallot:
  19245. description: 非交易总手数
  19246. type: integer
  19247. nontotalturnover:
  19248. description: 非交易总金额
  19249. type: integer
  19250. nontotalvolume:
  19251. description: 非交易总量
  19252. type: integer
  19253. opened:
  19254. description: 开盘价
  19255. type: number
  19256. opentime:
  19257. description: 开盘时间
  19258. type: string
  19259. orderid:
  19260. description: 序号
  19261. type: integer
  19262. preclose:
  19263. description: 昨收
  19264. type: number
  19265. preholdvolume:
  19266. description: 昨持仓
  19267. type: integer
  19268. presettle:
  19269. description: 昨结价
  19270. type: number
  19271. publictradetype:
  19272. description: 公共交易标志类型 港股专用
  19273. type: string
  19274. putoptionpremiums:
  19275. description: 认沽期权1
  19276. type: integer
  19277. putoptionpremiums2:
  19278. description: 认沽期权2
  19279. type: integer
  19280. putoptionpremiums3:
  19281. description: 认沽期权3
  19282. type: integer
  19283. putoptionpremiums4:
  19284. description: 认沽期权4
  19285. type: integer
  19286. putoptionpremiums5:
  19287. description: 认沽期权5
  19288. type: integer
  19289. settle:
  19290. description: 结算价
  19291. type: number
  19292. strikeprice:
  19293. description: 发行价
  19294. type: number
  19295. totalaskvolume:
  19296. description: 内盘
  19297. type: integer
  19298. totalbidvolume:
  19299. description: 外盘
  19300. type: integer
  19301. totallot:
  19302. description: 总手数
  19303. type: integer
  19304. totalturnover:
  19305. description: 总金额
  19306. type: number
  19307. totalvolume:
  19308. description: 总量
  19309. type: integer
  19310. utclasttime:
  19311. description: utc的行情时间
  19312. type: string
  19313. type: object
  19314. quote.QueryTSDataRsp:
  19315. properties:
  19316. Count:
  19317. description: 交易日应有数据个数
  19318. type: integer
  19319. decimalPlace:
  19320. description: 小数位
  19321. type: integer
  19322. endTime:
  19323. description: 结束时间
  19324. type: string
  19325. goodsCode:
  19326. description: 商品代码
  19327. type: string
  19328. historyDatas:
  19329. description: 历史数据
  19330. items:
  19331. $ref: '#/definitions/quote.HistoryData'
  19332. type: array
  19333. outGoodsCode:
  19334. description: 外部商品代码
  19335. type: string
  19336. preSettle:
  19337. description: 昨结价
  19338. type: number
  19339. runSteps:
  19340. description: 交易日开休市计划
  19341. items:
  19342. $ref: '#/definitions/quote.TSDataRunStep'
  19343. type: array
  19344. startTime:
  19345. description: 开始时间
  19346. type: string
  19347. tradeDate:
  19348. description: 交易日
  19349. type: string
  19350. type: object
  19351. quote.TSDataRunStep:
  19352. properties:
  19353. end:
  19354. description: 真实结束时间
  19355. type: string
  19356. endflag:
  19357. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  19358. type: integer
  19359. endtime:
  19360. description: 结束时间(HH:mm)
  19361. type: string
  19362. endweekday:
  19363. description: 结束周几
  19364. type: integer
  19365. groupid:
  19366. description: 分组ID
  19367. type: integer
  19368. runstep:
  19369. description: 运行阶段 - 2:连续交易
  19370. type: integer
  19371. sectionid:
  19372. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  19373. 结束时间=结算时间 结束周几=结算周几
  19374. type: integer
  19375. start:
  19376. description: 真实开始时间
  19377. type: string
  19378. startflag:
  19379. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  19380. type: integer
  19381. starttime:
  19382. description: 起始时间(HH:mm)
  19383. type: string
  19384. startweekday:
  19385. description: 起始周几
  19386. type: integer
  19387. tradeweekday:
  19388. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  19389. type: integer
  19390. type: object
  19391. szdz.QueryConvertLogRsp:
  19392. properties:
  19393. accountid:
  19394. description: 资金账户ID
  19395. type: integer
  19396. clientticket:
  19397. description: 客户端流水号
  19398. type: string
  19399. converttype:
  19400. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  19401. type: integer
  19402. createtime:
  19403. description: 记账时间
  19404. type: string
  19405. daymaxvalue:
  19406. description: 配置当日最大转入限制
  19407. type: number
  19408. daymaxvalue2:
  19409. description: 配置当日最大转入限制(转入)
  19410. type: number
  19411. goodscode:
  19412. description: 商品代码
  19413. type: string
  19414. goodsname:
  19415. description: 商品名称
  19416. type: string
  19417. handlestatus:
  19418. description: 处理状态
  19419. type: integer
  19420. innergoodsid:
  19421. description: 内部商品ID
  19422. type: integer
  19423. inratio:
  19424. description: 配置转入比值
  19425. type: integer
  19426. invalue:
  19427. description: 目标值
  19428. type: number
  19429. logid:
  19430. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  19431. type: integer
  19432. mobile:
  19433. description: 手机号码(加密存储)
  19434. type: string
  19435. outergoodscode:
  19436. description: 外部商品代码[JD\PD]
  19437. type: string
  19438. outratio:
  19439. description: 配置转出比值
  19440. type: integer
  19441. outvalue:
  19442. description: 源值
  19443. type: number
  19444. pddecimalplace:
  19445. description: PD小数位
  19446. type: integer
  19447. qty:
  19448. description: 数量
  19449. type: string
  19450. remark:
  19451. description: 备注
  19452. type: string
  19453. sessionid:
  19454. description: 会话ID
  19455. type: integer
  19456. timemaxvalue:
  19457. description: 配置单次最大转入限制
  19458. type: number
  19459. timemaxvalue2:
  19460. description: 配置单次最大转入限制(转入)
  19461. type: number
  19462. timeminvalue:
  19463. description: 配置单次最小数量限制
  19464. type: number
  19465. timeminvalue2:
  19466. description: 配置单次最小数量限制(转入)
  19467. type: number
  19468. tradedate:
  19469. description: 交易日(yyyyMMdd)
  19470. type: string
  19471. userid:
  19472. description: 用户ID
  19473. type: integer
  19474. required:
  19475. - logid
  19476. type: object
  19477. szdz.QueryGoodsPickupRsp:
  19478. properties:
  19479. accountid:
  19480. description: 账户ID
  19481. type: integer
  19482. address:
  19483. description: 提货人详细地址
  19484. type: string
  19485. auditer:
  19486. description: 审核人
  19487. type: integer
  19488. audittime:
  19489. description: 审核时间
  19490. type: string
  19491. cardnum:
  19492. description: 提货人证件号码
  19493. type: string
  19494. cardtypeid:
  19495. description: 提货人证件类型
  19496. type: integer
  19497. checkremark:
  19498. description: 审核备注
  19499. type: string
  19500. goodscode:
  19501. description: 商品代码
  19502. type: string
  19503. goodsid:
  19504. description: 商品ID
  19505. type: integer
  19506. goodsname:
  19507. description: 商品名称
  19508. type: string
  19509. handlestatus:
  19510. description: 处理状态
  19511. type: integer
  19512. marketid:
  19513. description: 市场ID
  19514. type: integer
  19515. phonenum:
  19516. description: 提货人联系方式
  19517. type: string
  19518. qty:
  19519. description: 提货数量
  19520. type: number
  19521. recivername:
  19522. description: 提货人姓名
  19523. type: string
  19524. reqtime:
  19525. description: 更新时间
  19526. type: string
  19527. takemode:
  19528. description: 提货方式 - 2:自提 3:配送
  19529. type: integer
  19530. takeorderid:
  19531. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  19532. type: string
  19533. takeorderstatus:
  19534. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  19535. type: integer
  19536. takeremark:
  19537. description: 提货备注
  19538. type: string
  19539. tradedate:
  19540. description: 交易日(yyyyMMdd)
  19541. type: string
  19542. userid:
  19543. description: 用户ID
  19544. type: integer
  19545. required:
  19546. - takeorderid
  19547. type: object
  19548. szdz.QueryRecieptOrderRsp:
  19549. properties:
  19550. accountName:
  19551. description: 所属账号名称(已脱敏)
  19552. type: string
  19553. accountid:
  19554. description: 资金账号
  19555. type: integer
  19556. buyorsell:
  19557. description: 方向 - 0:买 1:卖
  19558. type: integer
  19559. enableqty:
  19560. description: 可摘数量
  19561. type: integer
  19562. goodscode:
  19563. description: 商品代码
  19564. type: string
  19565. goodsid:
  19566. description: 商品ID
  19567. type: integer
  19568. goodsname:
  19569. description: 商品名称
  19570. type: string
  19571. orderid:
  19572. description: 委托单号
  19573. type: string
  19574. orderprice:
  19575. description: 委托价格
  19576. type: number
  19577. ordertime:
  19578. description: 委托时间
  19579. type: string
  19580. tradedate:
  19581. description: 交易日(yyyyMMdd)
  19582. type: string
  19583. required:
  19584. - ordertime
  19585. type: object
  19586. szdz.QuerySZDZTradePositionRsp:
  19587. properties:
  19588. accountid:
  19589. description: 账号Id
  19590. type: integer
  19591. agreeunit:
  19592. description: 合约单位
  19593. type: number
  19594. averageprice:
  19595. description: 持仓均价
  19596. type: number
  19597. buyorsell:
  19598. description: 方向 - 0:买 1:卖
  19599. type: integer
  19600. closetotalqty:
  19601. description: 平仓总数量
  19602. type: integer
  19603. curholderamount:
  19604. description: 当前持仓总金额
  19605. type: number
  19606. curpositionqty:
  19607. description: 当前持仓总数量
  19608. type: integer
  19609. currencyid:
  19610. description: 报价货币ID
  19611. type: integer
  19612. curtdposition:
  19613. description: 期末今日头寸
  19614. type: integer
  19615. decimalplace:
  19616. description: 报价小数位
  19617. type: integer
  19618. enableqty:
  19619. description: 可用量
  19620. type: integer
  19621. fretdposition:
  19622. description: 冻结今日头寸
  19623. type: integer
  19624. frozenqty:
  19625. description: 持仓冻结数量
  19626. type: integer
  19627. goodscode:
  19628. description: 商品代码(内部)
  19629. type: string
  19630. goodsid:
  19631. description: 商品Id
  19632. type: integer
  19633. goodsname:
  19634. description: 商品名称
  19635. type: string
  19636. goodunit:
  19637. description: 报价单位
  19638. type: string
  19639. goodunitid:
  19640. description: 报价单位ID
  19641. type: integer
  19642. holderamount:
  19643. description: 期初持仓总金额
  19644. type: number
  19645. marketid:
  19646. description: 市场ID
  19647. type: integer
  19648. openreqqty:
  19649. description: 开仓申请数量
  19650. type: integer
  19651. opentotalqty:
  19652. description: 开仓总数量
  19653. type: integer
  19654. otherfrozenqty:
  19655. description: 持仓其他冻结数量(交割冻结)
  19656. type: integer
  19657. positionqty:
  19658. description: 期初持仓数量
  19659. type: integer
  19660. szdz3freezqty:
  19661. description: 尚志大宗转换冻结总数量
  19662. type: integer
  19663. tnqty:
  19664. description: T+N冻结总量
  19665. type: integer
  19666. tnusedqty:
  19667. description: T+N使用量
  19668. type: integer
  19669. trademode:
  19670. description: 交易模式
  19671. type: integer
  19672. usedmargin:
  19673. description: 占用保证金
  19674. type: number
  19675. type: object
  19676. taaccount.QueryAmountLogRsp:
  19677. properties:
  19678. OPERATETYPENAME:
  19679. description: 资金操作类型名称
  19680. type: string
  19681. accountid:
  19682. description: 资金账户ID
  19683. type: integer
  19684. agoodscode:
  19685. description: 竞拍商品代码
  19686. type: string
  19687. agoodsname:
  19688. description: 竞拍商品名称
  19689. type: string
  19690. amount:
  19691. description: 资金金额
  19692. type: number
  19693. amountadjusttype:
  19694. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  19695. type: integer
  19696. autoid:
  19697. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  19698. type: integer
  19699. balance:
  19700. description: 期初余额
  19701. type: number
  19702. businesscode:
  19703. description: 业务编号
  19704. type: integer
  19705. createtime:
  19706. description: 发生时间
  19707. type: string
  19708. currencyid:
  19709. description: 币种ID
  19710. type: integer
  19711. currentbalance:
  19712. description: 期末余额(变动后金额)
  19713. type: number
  19714. dgoodscode:
  19715. description: 交割商品代码
  19716. type: string
  19717. dgoodsname:
  19718. description: 交割商品名称
  19719. type: string
  19720. goodscode:
  19721. description: 商品代码
  19722. type: string
  19723. goodsid:
  19724. description: 商品ID
  19725. type: integer
  19726. goodsname:
  19727. description: 商品名称
  19728. type: string
  19729. marketid:
  19730. description: 市场ID
  19731. type: integer
  19732. marketname:
  19733. description: 市场名称
  19734. type: string
  19735. moneyticket:
  19736. description: 资金流水号:银行端流水号
  19737. type: integer
  19738. operatetype:
  19739. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  19740. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  19741. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  19742. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  19743. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  19744. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  19745. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  19746. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  19747. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  19748. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  19749. type: integer
  19750. relationorderid:
  19751. description: 关联单号
  19752. type: string
  19753. remark:
  19754. description: 备注
  19755. type: string
  19756. trademode:
  19757. description: 交易模式
  19758. type: integer
  19759. required:
  19760. - accountid
  19761. - amount
  19762. - amountadjusttype
  19763. - autoid
  19764. - balance
  19765. - createtime
  19766. - currentbalance
  19767. - operatetype
  19768. type: object
  19769. taaccount.QueryHisAmountLogRsp:
  19770. properties:
  19771. OPERATETYPENAME:
  19772. description: 资金操作类型名称
  19773. type: string
  19774. accountid:
  19775. description: 资金账户ID
  19776. type: integer
  19777. agoodscode:
  19778. description: 竞拍商品代码
  19779. type: string
  19780. agoodsname:
  19781. description: 竞拍商品名称
  19782. type: string
  19783. amount:
  19784. description: 资金金额
  19785. type: number
  19786. amountadjusttype:
  19787. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  19788. type: integer
  19789. autoid:
  19790. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  19791. type: integer
  19792. balance:
  19793. description: 期初余额
  19794. type: number
  19795. businesscode:
  19796. description: 业务编号
  19797. type: integer
  19798. createtime:
  19799. description: 发生时间
  19800. type: string
  19801. currencyid:
  19802. description: 币种ID
  19803. type: integer
  19804. currentbalance:
  19805. description: 期末余额(变动后金额)
  19806. type: number
  19807. dgoodscode:
  19808. description: 交割商品代码
  19809. type: string
  19810. dgoodsname:
  19811. description: 交割商品名称
  19812. type: string
  19813. goodscode:
  19814. description: 商品代码
  19815. type: string
  19816. goodsid:
  19817. description: 商品ID
  19818. type: integer
  19819. goodsname:
  19820. description: 商品名称
  19821. type: string
  19822. histradedate:
  19823. description: 历史交易日
  19824. type: string
  19825. isvaliddata:
  19826. description: 是否有效 - 0:无效 1:有效
  19827. type: integer
  19828. marketid:
  19829. description: 市场ID
  19830. type: integer
  19831. marketname:
  19832. description: 市场名称
  19833. type: string
  19834. moneyticket:
  19835. description: 资金流水号:银行端流水号
  19836. type: integer
  19837. operatetype:
  19838. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  19839. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  19840. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  19841. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  19842. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  19843. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  19844. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  19845. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  19846. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  19847. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  19848. type: integer
  19849. relationorderid:
  19850. description: 关联单号
  19851. type: string
  19852. remark:
  19853. description: 备注
  19854. type: string
  19855. trademode:
  19856. description: 交易模式
  19857. type: integer
  19858. required:
  19859. - accountid
  19860. - amount
  19861. - amountadjusttype
  19862. - autoid
  19863. - balance
  19864. - createtime
  19865. - currentbalance
  19866. - histradedate
  19867. - operatetype
  19868. type: object
  19869. trade.QueryRecieptOrderRsp:
  19870. properties:
  19871. accountName:
  19872. description: 所属账号名称(已脱敏)
  19873. type: string
  19874. accountid:
  19875. description: 资金账号
  19876. type: integer
  19877. buyorsell:
  19878. description: 方向 - 0:买 1:卖
  19879. type: integer
  19880. enableqty:
  19881. description: 可摘数量
  19882. type: integer
  19883. goodscode:
  19884. description: 商品代码
  19885. type: string
  19886. goodsid:
  19887. description: 商品ID
  19888. type: integer
  19889. goodsname:
  19890. description: 商品名称
  19891. type: string
  19892. orderid:
  19893. description: 委托单号
  19894. type: string
  19895. orderprice:
  19896. description: 委托价格
  19897. type: number
  19898. ordertime:
  19899. description: 委托时间
  19900. type: string
  19901. tradedate:
  19902. description: 交易日(yyyyMMdd)
  19903. type: string
  19904. required:
  19905. - ordertime
  19906. type: object
  19907. user.LoginQueryRsp:
  19908. properties:
  19909. areaRoles:
  19910. description: 所属角色信息
  19911. items:
  19912. $ref: '#/definitions/models.Arearole'
  19913. type: array
  19914. externalExchanges:
  19915. description: 外部交易所
  19916. items:
  19917. $ref: '#/definitions/models.Externalexchange'
  19918. type: array
  19919. goodsgroups:
  19920. description: 商品组
  19921. items:
  19922. $ref: '#/definitions/models.Goodsgroup'
  19923. type: array
  19924. loginAccount:
  19925. $ref: '#/definitions/models.Loginaccount'
  19926. description: 登录账号
  19927. markets:
  19928. description: 市场
  19929. items:
  19930. $ref: '#/definitions/models.Market'
  19931. type: array
  19932. systemParams:
  19933. description: 系统参数
  19934. items:
  19935. $ref: '#/definitions/models.Systemparam'
  19936. type: array
  19937. userAccount:
  19938. $ref: '#/definitions/models.Useraccount'
  19939. description: 用户账号
  19940. userInfo:
  19941. $ref: '#/definitions/models.Userinfo'
  19942. description: 用户信息
  19943. username:
  19944. description: 用户姓名
  19945. type: string
  19946. type: object
  19947. info:
  19948. contact: {}
  19949. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  19950. termsOfService: http://www.muchinfo.cn
  19951. title: MTP2.0 查询服务 API
  19952. version: "1.0"
  19953. paths:
  19954. /CPTrade/QueryCPTradeMyBidInfos:
  19955. get:
  19956. parameters:
  19957. - description: 资金账户
  19958. in: query
  19959. name: accountid
  19960. required: true
  19961. type: integer
  19962. - description: 预售市场ID
  19963. in: query
  19964. name: marketid
  19965. type: integer
  19966. - description: 预售商品ID
  19967. in: query
  19968. name: goodsid
  19969. type: integer
  19970. produces:
  19971. - application/json
  19972. responses:
  19973. "200":
  19974. description: OK
  19975. schema:
  19976. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  19977. "500":
  19978. description: Internal Server Error
  19979. schema:
  19980. $ref: '#/definitions/app.Response'
  19981. security:
  19982. - ApiKeyAuth: []
  19983. summary: 查询产能预售我的出价信息
  19984. tags:
  19985. - 产能预售
  19986. /CPTrade/QueryCPTradeOrderDetail:
  19987. get:
  19988. parameters:
  19989. - description: 预售商品ID
  19990. in: query
  19991. name: goodsid
  19992. type: integer
  19993. - description: 预售市场ID
  19994. in: query
  19995. name: marketid
  19996. type: integer
  19997. - description: 预售商品ID列表 - 格式:1,2,3
  19998. in: query
  19999. name: goodsids
  20000. type: string
  20001. produces:
  20002. - application/json
  20003. responses:
  20004. "200":
  20005. description: OK
  20006. schema:
  20007. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  20008. "500":
  20009. description: Internal Server Error
  20010. schema:
  20011. $ref: '#/definitions/app.Response'
  20012. security:
  20013. - ApiKeyAuth: []
  20014. summary: 查询产能预售委托单信息
  20015. tags:
  20016. - 产能预售
  20017. /CPTrade/QueryMyCPTradeGoods:
  20018. get:
  20019. parameters:
  20020. - description: 资金账户
  20021. in: query
  20022. name: accountid
  20023. required: true
  20024. type: integer
  20025. produces:
  20026. - application/json
  20027. responses:
  20028. "200":
  20029. description: OK
  20030. schema:
  20031. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  20032. "500":
  20033. description: Internal Server Error
  20034. schema:
  20035. $ref: '#/definitions/app.Response'
  20036. security:
  20037. - ApiKeyAuth: []
  20038. summary: 查询我的预售信息
  20039. tags:
  20040. - 产能预售
  20041. /CPTrade/QueryPositionCancel:
  20042. get:
  20043. parameters:
  20044. - description: 账户ID
  20045. in: query
  20046. name: userid
  20047. required: true
  20048. type: integer
  20049. - description: 注销ID
  20050. in: query
  20051. name: cancelid
  20052. type: integer
  20053. - description: 资金账户ID
  20054. in: query
  20055. name: accountid
  20056. type: integer
  20057. produces:
  20058. - application/json
  20059. responses:
  20060. "200":
  20061. description: OK
  20062. schema:
  20063. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  20064. "500":
  20065. description: Internal Server Error
  20066. schema:
  20067. $ref: '#/definitions/app.Response'
  20068. security:
  20069. - ApiKeyAuth: []
  20070. summary: 查询远期订单注销申请信息
  20071. tags:
  20072. - 产能预售
  20073. /CPTrade/QueryPreasleApply:
  20074. get:
  20075. parameters:
  20076. - description: 账户ID
  20077. in: query
  20078. name: userid
  20079. required: true
  20080. type: integer
  20081. - description: 申请ID
  20082. in: query
  20083. name: applyid
  20084. type: integer
  20085. - description: 资金账户ID
  20086. in: query
  20087. name: accountid
  20088. type: integer
  20089. produces:
  20090. - application/json
  20091. responses:
  20092. "200":
  20093. description: OK
  20094. schema:
  20095. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  20096. "500":
  20097. description: Internal Server Error
  20098. schema:
  20099. $ref: '#/definitions/app.Response'
  20100. security:
  20101. - ApiKeyAuth: []
  20102. summary: 查询产能预售申请信息
  20103. tags:
  20104. - 产能预售
  20105. /CPTrade/QueryPresaleGoodsEx:
  20106. get:
  20107. parameters:
  20108. - description: 预售商品ID
  20109. in: query
  20110. name: goodsid
  20111. type: integer
  20112. - description: 预售市场ID
  20113. in: query
  20114. name: marketid
  20115. type: integer
  20116. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  20117. in: query
  20118. name: presalemode
  20119. type: integer
  20120. - description: 预售商品ID列表 - 格式:1,2,3
  20121. in: query
  20122. name: goodsids
  20123. type: string
  20124. - description: 预售商品代码
  20125. in: query
  20126. name: goodscode
  20127. type: string
  20128. produces:
  20129. - application/json
  20130. responses:
  20131. "200":
  20132. description: OK
  20133. schema:
  20134. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  20135. "500":
  20136. description: Internal Server Error
  20137. schema:
  20138. $ref: '#/definitions/app.Response'
  20139. security:
  20140. - ApiKeyAuth: []
  20141. summary: 查询产能预售商品扩展信息
  20142. tags:
  20143. - 产能预售
  20144. /CPTrade/QueryUserGoodsData:
  20145. get:
  20146. parameters:
  20147. - description: 资金账户ID
  20148. in: query
  20149. name: accountid
  20150. required: true
  20151. type: integer
  20152. produces:
  20153. - application/json
  20154. responses:
  20155. "200":
  20156. description: OK
  20157. schema:
  20158. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  20159. "500":
  20160. description: Internal Server Error
  20161. schema:
  20162. $ref: '#/definitions/app.Response'
  20163. security:
  20164. - ApiKeyAuth: []
  20165. summary: 查询远期订单信息
  20166. tags:
  20167. - 产能预售
  20168. /Common/GetAllEnums:
  20169. get:
  20170. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  20171. parameters:
  20172. - description: 起始自增ID
  20173. in: query
  20174. name: autoid
  20175. type: integer
  20176. produces:
  20177. - application/json
  20178. responses:
  20179. "200":
  20180. description: OK
  20181. schema:
  20182. $ref: '#/definitions/models.Enumdicitem'
  20183. "500":
  20184. description: Internal Server Error
  20185. schema:
  20186. $ref: '#/definitions/app.Response'
  20187. summary: 获取所有枚举信息
  20188. tags:
  20189. - 通用服务
  20190. /Common/GetClientMenus:
  20191. get:
  20192. parameters:
  20193. - description: 登录账号
  20194. in: query
  20195. name: loginID
  20196. required: true
  20197. type: integer
  20198. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  20199. in: query
  20200. name: clientType
  20201. type: integer
  20202. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  20203. in: query
  20204. name: name
  20205. type: string
  20206. produces:
  20207. - application/json
  20208. responses:
  20209. "200":
  20210. description: OK
  20211. schema:
  20212. items:
  20213. $ref: '#/definitions/common.ClientMenu'
  20214. type: array
  20215. "500":
  20216. description: Internal Server Error
  20217. schema:
  20218. $ref: '#/definitions/app.Response'
  20219. security:
  20220. - ApiKeyAuth: []
  20221. summary: 获取交易端菜单
  20222. tags:
  20223. - 通用服务
  20224. /Common/GetDivisions:
  20225. get:
  20226. produces:
  20227. - application/json
  20228. responses:
  20229. "200":
  20230. description: OK
  20231. schema:
  20232. $ref: '#/definitions/models.Division'
  20233. "500":
  20234. description: Internal Server Error
  20235. schema:
  20236. $ref: '#/definitions/app.Response'
  20237. summary: 查询区域信息
  20238. tags:
  20239. - 通用服务
  20240. /Common/GetPCWebMenus:
  20241. get:
  20242. parameters:
  20243. - description: 登录账号
  20244. in: query
  20245. name: loginID
  20246. required: true
  20247. type: integer
  20248. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  20249. in: query
  20250. name: name
  20251. type: string
  20252. produces:
  20253. - application/json
  20254. responses:
  20255. "200":
  20256. description: OK
  20257. schema:
  20258. items:
  20259. $ref: '#/definitions/common.PCWebMenu'
  20260. type: array
  20261. "500":
  20262. description: Internal Server Error
  20263. schema:
  20264. $ref: '#/definitions/app.Response'
  20265. security:
  20266. - ApiKeyAuth: []
  20267. summary: 获取PCWeb交易端菜单
  20268. tags:
  20269. - 通用服务
  20270. /Common/GetServerTime:
  20271. get:
  20272. produces:
  20273. - application/json
  20274. responses:
  20275. "200":
  20276. description: OK
  20277. schema:
  20278. $ref: '#/definitions/app.Response'
  20279. "500":
  20280. description: Internal Server Error
  20281. schema:
  20282. $ref: '#/definitions/app.Response'
  20283. summary: 获取服务器时间
  20284. tags:
  20285. - 通用服务
  20286. /Common/NoticeReaded:
  20287. post:
  20288. parameters:
  20289. - description: 登录账号
  20290. in: query
  20291. name: loginID
  20292. required: true
  20293. type: integer
  20294. - description: 通知公告ID
  20295. in: query
  20296. name: noticeID
  20297. required: true
  20298. type: integer
  20299. produces:
  20300. - application/json
  20301. responses:
  20302. "200":
  20303. description: OK
  20304. schema:
  20305. $ref: '#/definitions/app.Response'
  20306. "500":
  20307. description: Internal Server Error
  20308. schema:
  20309. $ref: '#/definitions/app.Response'
  20310. security:
  20311. - ApiKeyAuth: []
  20312. summary: 通知公告设置已读请求
  20313. tags:
  20314. - 通用服务
  20315. /Common/QueryErrorInfos:
  20316. get:
  20317. description: 如果传入rowNumber,则返回此rowNumber后的数据
  20318. parameters:
  20319. - description: 起始行号前索引
  20320. in: query
  20321. name: rowNumber
  20322. type: string
  20323. produces:
  20324. - application/json
  20325. responses:
  20326. "200":
  20327. description: OK
  20328. schema:
  20329. $ref: '#/definitions/models.QueryErrorInfosRsp'
  20330. "500":
  20331. description: Internal Server Error
  20332. schema:
  20333. $ref: '#/definitions/app.Response'
  20334. summary: 获取数据库错误信息
  20335. tags:
  20336. - 通用服务
  20337. /Common/QueryImageConfigs:
  20338. get:
  20339. parameters:
  20340. - description: 用户id
  20341. in: query
  20342. name: userId
  20343. type: integer
  20344. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  20345. in: query
  20346. name: imageType
  20347. type: integer
  20348. produces:
  20349. - application/json
  20350. responses:
  20351. "200":
  20352. description: OK
  20353. schema:
  20354. $ref: '#/definitions/common.QueryImageConfigsRsp'
  20355. "500":
  20356. description: Internal Server Error
  20357. schema:
  20358. $ref: '#/definitions/app.Response'
  20359. summary: 查询轮播图配置信息
  20360. tags:
  20361. - 通用服务
  20362. /Common/QueryNotice:
  20363. get:
  20364. parameters:
  20365. - description: 页码
  20366. in: query
  20367. name: page
  20368. type: integer
  20369. - description: 每页条数
  20370. in: query
  20371. name: pagesize
  20372. type: integer
  20373. - description: 登录账号
  20374. in: query
  20375. name: loginID
  20376. required: true
  20377. type: integer
  20378. - description: 消息类型 - 1:公告通知 2:系统消息
  20379. in: query
  20380. name: msgType
  20381. type: integer
  20382. - description: 是否只获取未读信息
  20383. in: query
  20384. name: onlyUnRead
  20385. type: boolean
  20386. - description: 自增ID,传入后会返回这个ID后面的记录
  20387. in: query
  20388. name: lastID
  20389. type: integer
  20390. produces:
  20391. - application/json
  20392. responses:
  20393. "200":
  20394. description: OK
  20395. schema:
  20396. $ref: '#/definitions/common.QueryNoticeRsp'
  20397. "500":
  20398. description: Internal Server Error
  20399. schema:
  20400. $ref: '#/definitions/app.Response'
  20401. security:
  20402. - ApiKeyAuth: []
  20403. summary: 通知公告系统消息查询
  20404. tags:
  20405. - 通用服务
  20406. /Common/QueryProvincesAndCities:
  20407. get:
  20408. parameters:
  20409. - description: 省ID
  20410. in: query
  20411. name: provinceID
  20412. type: integer
  20413. produces:
  20414. - application/json
  20415. responses:
  20416. "200":
  20417. description: OK
  20418. schema:
  20419. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  20420. "500":
  20421. description: Internal Server Error
  20422. schema:
  20423. $ref: '#/definitions/app.Response'
  20424. summary: 查询省市信息(不包括区)
  20425. tags:
  20426. - 通用服务
  20427. /Common/QueryTableDefine:
  20428. get:
  20429. parameters:
  20430. - description: 表key
  20431. in: query
  20432. name: tableKey
  20433. type: string
  20434. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  20435. in: query
  20436. name: tableType
  20437. type: integer
  20438. produces:
  20439. - application/json
  20440. responses:
  20441. "200":
  20442. description: OK
  20443. schema:
  20444. $ref: '#/definitions/common.QueryTableDefineRsp'
  20445. "500":
  20446. description: Internal Server Error
  20447. schema:
  20448. $ref: '#/definitions/app.Response'
  20449. summary: 查询交易端列表头信息
  20450. tags:
  20451. - 通用服务
  20452. /Common/QueryTraderMenu:
  20453. get:
  20454. parameters:
  20455. - description: 登录账号
  20456. in: query
  20457. name: loginid
  20458. required: true
  20459. type: integer
  20460. produces:
  20461. - application/json
  20462. responses:
  20463. "200":
  20464. description: OK
  20465. schema:
  20466. $ref: '#/definitions/common.QueryTraderMenuRsp'
  20467. "500":
  20468. description: Internal Server Error
  20469. schema:
  20470. $ref: '#/definitions/app.Response'
  20471. summary: 查询交易端菜单
  20472. tags:
  20473. - 通用服务
  20474. /Delivery/QueryDeliveryRelation:
  20475. get:
  20476. parameters:
  20477. - description: 商品ID
  20478. in: query
  20479. name: goodsid
  20480. type: integer
  20481. - description: 品种ID
  20482. in: query
  20483. name: deliverygoodsid
  20484. type: integer
  20485. - description: 市场ID
  20486. in: query
  20487. name: marketid
  20488. type: integer
  20489. produces:
  20490. - application/json
  20491. responses:
  20492. "200":
  20493. description: OK
  20494. schema:
  20495. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  20496. "500":
  20497. description: Internal Server Error
  20498. schema:
  20499. $ref: '#/definitions/app.Response'
  20500. security:
  20501. - ApiKeyAuth: []
  20502. summary: 查询商品交割关系表
  20503. tags:
  20504. - 交割服务
  20505. /Ermcp/GetErmcpGoods:
  20506. get:
  20507. parameters:
  20508. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  20509. in: query
  20510. name: userid
  20511. type: integer
  20512. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  20513. in: query
  20514. name: lastUpdateTime
  20515. type: string
  20516. produces:
  20517. - application/json
  20518. responses:
  20519. "200":
  20520. description: OK
  20521. schema:
  20522. $ref: '#/definitions/models.ErmcpGoods'
  20523. "500":
  20524. description: Internal Server Error
  20525. schema:
  20526. $ref: '#/definitions/app.Response'
  20527. security:
  20528. - ApiKeyAuth: []
  20529. summary: 查询企业风管期货商品信息
  20530. tags:
  20531. - 企业风险管理(app)
  20532. /Ermcp/GetErmcpGoodsSortByPosition:
  20533. get:
  20534. parameters:
  20535. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  20536. in: query
  20537. name: sortIndex
  20538. type: string
  20539. produces:
  20540. - application/json
  20541. responses:
  20542. "200":
  20543. description: OK
  20544. schema:
  20545. $ref: '#/definitions/models.Goodssortbypreposition'
  20546. "500":
  20547. description: Internal Server Error
  20548. schema:
  20549. $ref: '#/definitions/app.Response'
  20550. security:
  20551. - ApiKeyAuth: []
  20552. summary: 查询企业风管期货主力、次主力商品信息
  20553. tags:
  20554. - 企业风险管理(app)
  20555. /Ermcp/GetErmcpOutAccountStatus:
  20556. get:
  20557. parameters:
  20558. - description: 登录账号
  20559. in: query
  20560. name: loginID
  20561. required: true
  20562. type: integer
  20563. produces:
  20564. - application/json
  20565. responses:
  20566. "200":
  20567. description: OK
  20568. schema:
  20569. $ref: '#/definitions/models.Hedgemarketopenlog'
  20570. "500":
  20571. description: Internal Server Error
  20572. schema:
  20573. $ref: '#/definitions/app.Response'
  20574. security:
  20575. - ApiKeyAuth: []
  20576. summary: 获取目标登录账号当前对冲账号在线状态
  20577. tags:
  20578. - 企业风险管理(app)
  20579. /Ermcp/GetErmcpRoleFuncMenuLists:
  20580. get:
  20581. parameters:
  20582. - description: 登录账号
  20583. in: query
  20584. name: loginID
  20585. required: true
  20586. type: integer
  20587. produces:
  20588. - application/json
  20589. responses:
  20590. "200":
  20591. description: OK
  20592. schema:
  20593. $ref: '#/definitions/models.Funcmenulist'
  20594. "500":
  20595. description: Internal Server Error
  20596. schema:
  20597. $ref: '#/definitions/app.Response'
  20598. security:
  20599. - ApiKeyAuth: []
  20600. summary: 获取企业风管终端权限
  20601. tags:
  20602. - 企业风险管理(app)
  20603. /Ermcp/QueryAccMgrBizGroupSet:
  20604. get:
  20605. parameters:
  20606. - description: 用户ID
  20607. in: query
  20608. name: userid
  20609. required: true
  20610. type: integer
  20611. - description: 现货商品id
  20612. in: query
  20613. name: deliverygoodsid
  20614. type: integer
  20615. produces:
  20616. - application/json
  20617. responses:
  20618. "200":
  20619. description: OK
  20620. schema:
  20621. items:
  20622. $ref: '#/definitions/models.ErmcpBizGroupEx'
  20623. type: array
  20624. "500":
  20625. description: Internal Server Error
  20626. schema:
  20627. $ref: '#/definitions/app.Response'
  20628. security:
  20629. - ApiKeyAuth: []
  20630. summary: 查询业务类型分组(账户管理/账户设置)
  20631. tags:
  20632. - 企业风险管理(app)
  20633. /Ermcp/QueryAccMgrLoginUser:
  20634. get:
  20635. parameters:
  20636. - description: 用户ID
  20637. in: query
  20638. name: userid
  20639. required: true
  20640. type: integer
  20641. - description: 用户类型 2-机构 7-企业成员
  20642. in: query
  20643. name: usertype
  20644. type: integer
  20645. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  20646. in: query
  20647. name: querytype
  20648. required: true
  20649. type: integer
  20650. produces:
  20651. - application/json
  20652. responses:
  20653. "200":
  20654. description: OK
  20655. schema:
  20656. items:
  20657. $ref: '#/definitions/models.ErmcpLoginUserEx'
  20658. type: array
  20659. "500":
  20660. description: Internal Server Error
  20661. schema:
  20662. $ref: '#/definitions/app.Response'
  20663. security:
  20664. - ApiKeyAuth: []
  20665. summary: 查询账户管理登录账号(账户管理/登录账号)
  20666. tags:
  20667. - 企业风险管理(app)
  20668. /Ermcp/QueryAccMgrMainAccountInfo:
  20669. get:
  20670. parameters:
  20671. - description: 用户ID
  20672. in: query
  20673. name: userid
  20674. type: integer
  20675. - description: 主账号id
  20676. in: query
  20677. name: accountid
  20678. type: integer
  20679. produces:
  20680. - application/json
  20681. responses:
  20682. "200":
  20683. description: OK
  20684. schema:
  20685. items:
  20686. $ref: '#/definitions/models.MainAccountInfo'
  20687. type: array
  20688. "500":
  20689. description: Internal Server Error
  20690. schema:
  20691. $ref: '#/definitions/app.Response'
  20692. security:
  20693. - ApiKeyAuth: []
  20694. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  20695. tags:
  20696. - 企业风险管理(app)
  20697. /Ermcp/QueryAccMgrRole:
  20698. get:
  20699. parameters:
  20700. - description: 用户ID
  20701. in: query
  20702. name: userid
  20703. required: true
  20704. type: integer
  20705. produces:
  20706. - application/json
  20707. responses:
  20708. "200":
  20709. description: OK
  20710. schema:
  20711. items:
  20712. $ref: '#/definitions/models.ErmcpRole'
  20713. type: array
  20714. "500":
  20715. description: Internal Server Error
  20716. schema:
  20717. $ref: '#/definitions/app.Response'
  20718. security:
  20719. - ApiKeyAuth: []
  20720. summary: 查询账户管理角色设置(账户管理/角色设置)
  20721. tags:
  20722. - 企业风险管理(app)
  20723. /Ermcp/QueryAccMgrRoleMenu:
  20724. get:
  20725. parameters:
  20726. - description: 用户ID
  20727. in: query
  20728. name: userid
  20729. required: true
  20730. type: integer
  20731. - description: 角色id(可多个,逗号隔开)
  20732. in: query
  20733. name: roleid
  20734. type: string
  20735. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  20736. in: query
  20737. name: menutype
  20738. type: integer
  20739. produces:
  20740. - application/json
  20741. responses:
  20742. "200":
  20743. description: OK
  20744. schema:
  20745. items:
  20746. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  20747. type: array
  20748. "500":
  20749. description: Internal Server Error
  20750. schema:
  20751. $ref: '#/definitions/app.Response'
  20752. security:
  20753. - ApiKeyAuth: []
  20754. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  20755. tags:
  20756. - 企业风险管理(app)
  20757. /Ermcp/QueryAccMgrTaAccountInfo:
  20758. get:
  20759. parameters:
  20760. - description: 用户ID
  20761. in: query
  20762. name: userid
  20763. required: true
  20764. type: integer
  20765. - description: 账号id
  20766. in: query
  20767. name: accountid
  20768. type: integer
  20769. produces:
  20770. - application/json
  20771. responses:
  20772. "200":
  20773. description: OK
  20774. schema:
  20775. items:
  20776. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  20777. type: array
  20778. "500":
  20779. description: Internal Server Error
  20780. schema:
  20781. $ref: '#/definitions/app.Response'
  20782. security:
  20783. - ApiKeyAuth: []
  20784. summary: 查询账户管理授信(账户管理/账户设置/授信)
  20785. tags:
  20786. - 企业风险管理(app)
  20787. /Ermcp/QueryAccMgrTaaccount:
  20788. get:
  20789. parameters:
  20790. - description: 用户ID
  20791. in: query
  20792. name: userid
  20793. required: true
  20794. type: integer
  20795. produces:
  20796. - application/json
  20797. responses:
  20798. "200":
  20799. description: OK
  20800. schema:
  20801. items:
  20802. $ref: '#/definitions/models.ErmcpTaAccountEx'
  20803. type: array
  20804. "500":
  20805. description: Internal Server Error
  20806. schema:
  20807. $ref: '#/definitions/app.Response'
  20808. security:
  20809. - ApiKeyAuth: []
  20810. summary: 查询账户管理期货账号(账户管理/期货账号)
  20811. tags:
  20812. - 企业风险管理(app)
  20813. /Ermcp/QueryAvaildGoodsGroup:
  20814. get:
  20815. parameters:
  20816. - description: 所属机构ID
  20817. in: query
  20818. name: userid
  20819. required: true
  20820. type: integer
  20821. produces:
  20822. - application/json
  20823. responses:
  20824. "200":
  20825. description: OK
  20826. schema:
  20827. items:
  20828. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  20829. type: array
  20830. "500":
  20831. description: Internal Server Error
  20832. schema:
  20833. $ref: '#/definitions/app.Response'
  20834. security:
  20835. - ApiKeyAuth: []
  20836. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  20837. tags:
  20838. - 企业风险管理(app)
  20839. /Ermcp/QueryBusinessDj:
  20840. get:
  20841. parameters:
  20842. - description: 用户ID
  20843. in: query
  20844. name: UserId
  20845. required: true
  20846. type: integer
  20847. - description: 用户类型 2-机构 7-企业成员
  20848. in: query
  20849. name: usertype
  20850. type: integer
  20851. - description: 现货合同ID, 不填则查所有
  20852. in: query
  20853. name: relatedid
  20854. type: string
  20855. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20856. in: query
  20857. name: applystatus
  20858. type: string
  20859. produces:
  20860. - application/json
  20861. responses:
  20862. "200":
  20863. description: OK
  20864. schema:
  20865. items:
  20866. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  20867. type: array
  20868. "500":
  20869. description: Internal Server Error
  20870. schema:
  20871. $ref: '#/definitions/app.Response'
  20872. security:
  20873. - ApiKeyAuth: []
  20874. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  20875. tags:
  20876. - 企业风险管理(app)
  20877. /Ermcp/QueryBusinessFp:
  20878. get:
  20879. parameters:
  20880. - description: 用户ID
  20881. in: query
  20882. name: UserId
  20883. required: true
  20884. type: integer
  20885. - description: 用户类型 2-机构 7-企业成员
  20886. in: query
  20887. name: usertype
  20888. type: integer
  20889. - description: 现货合同ID, 不填则查所有
  20890. in: query
  20891. name: relatedid
  20892. type: string
  20893. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20894. in: query
  20895. name: applystatus
  20896. type: string
  20897. produces:
  20898. - application/json
  20899. responses:
  20900. "200":
  20901. description: OK
  20902. schema:
  20903. items:
  20904. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  20905. type: array
  20906. "500":
  20907. description: Internal Server Error
  20908. schema:
  20909. $ref: '#/definitions/app.Response'
  20910. security:
  20911. - ApiKeyAuth: []
  20912. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  20913. tags:
  20914. - 企业风险管理(app)
  20915. /Ermcp/QueryBusinessJs:
  20916. get:
  20917. parameters:
  20918. - description: 用户ID
  20919. in: query
  20920. name: UserId
  20921. required: true
  20922. type: integer
  20923. - description: 用户类型 2-机构 7-企业成员
  20924. in: query
  20925. name: usertype
  20926. type: integer
  20927. - description: 现货合同ID, 不填则查所有
  20928. in: query
  20929. name: relatedid
  20930. type: string
  20931. - description: 操作申请id
  20932. in: query
  20933. name: operateapplyid
  20934. type: string
  20935. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20936. in: query
  20937. name: applystatus
  20938. type: string
  20939. produces:
  20940. - application/json
  20941. responses:
  20942. "200":
  20943. description: OK
  20944. schema:
  20945. items:
  20946. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  20947. type: array
  20948. "500":
  20949. description: Internal Server Error
  20950. schema:
  20951. $ref: '#/definitions/app.Response'
  20952. security:
  20953. - ApiKeyAuth: []
  20954. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  20955. tags:
  20956. - 企业风险管理(app)
  20957. /Ermcp/QueryBusinessJsEx:
  20958. get:
  20959. parameters:
  20960. - description: 用户ID
  20961. in: query
  20962. name: UserId
  20963. required: true
  20964. type: integer
  20965. - description: 用户类型 2-机构 7-企业成员
  20966. in: query
  20967. name: usertype
  20968. type: integer
  20969. - description: 现货合同ID, 不填则查所有
  20970. in: query
  20971. name: relatedid
  20972. type: string
  20973. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20974. in: query
  20975. name: applystatus
  20976. type: string
  20977. produces:
  20978. - application/json
  20979. responses:
  20980. "200":
  20981. description: OK
  20982. schema:
  20983. items:
  20984. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  20985. type: array
  20986. "500":
  20987. description: Internal Server Error
  20988. schema:
  20989. $ref: '#/definitions/app.Response'
  20990. security:
  20991. - ApiKeyAuth: []
  20992. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  20993. tags:
  20994. - 企业风险管理(app)
  20995. /Ermcp/QueryBusinessKx:
  20996. get:
  20997. parameters:
  20998. - description: 用户ID
  20999. in: query
  21000. name: UserId
  21001. required: true
  21002. type: integer
  21003. - description: 用户类型 2-机构 7-企业成员
  21004. in: query
  21005. name: usertype
  21006. type: integer
  21007. - description: 现货合同ID, 不填则查所有
  21008. in: query
  21009. name: relatedid
  21010. type: string
  21011. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21012. in: query
  21013. name: applystatus
  21014. type: string
  21015. produces:
  21016. - application/json
  21017. responses:
  21018. "200":
  21019. description: OK
  21020. schema:
  21021. items:
  21022. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  21023. type: array
  21024. "500":
  21025. description: Internal Server Error
  21026. schema:
  21027. $ref: '#/definitions/app.Response'
  21028. security:
  21029. - ApiKeyAuth: []
  21030. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  21031. tags:
  21032. - 企业风险管理(app)
  21033. /Ermcp/QueryChangeLog:
  21034. get:
  21035. parameters:
  21036. - description: 合同ID
  21037. in: query
  21038. name: RelatedId
  21039. required: true
  21040. type: string
  21041. produces:
  21042. - application/json
  21043. responses:
  21044. "200":
  21045. description: OK
  21046. schema:
  21047. items:
  21048. $ref: '#/definitions/ermcp.QryOPLogRsp'
  21049. type: array
  21050. "500":
  21051. description: Internal Server Error
  21052. schema:
  21053. $ref: '#/definitions/app.Response'
  21054. security:
  21055. - ApiKeyAuth: []
  21056. summary: 查询变更记录
  21057. tags:
  21058. - 企业风险管理(app)
  21059. /Ermcp/QueryErmcpHisOrderDetails:
  21060. get:
  21061. parameters:
  21062. - description: 资金账户ID
  21063. in: query
  21064. name: accountID
  21065. required: true
  21066. type: integer
  21067. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  21068. in: query
  21069. name: startDate
  21070. type: string
  21071. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  21072. in: query
  21073. name: endDate
  21074. type: string
  21075. produces:
  21076. - application/json
  21077. responses:
  21078. "200":
  21079. description: OK
  21080. schema:
  21081. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  21082. "500":
  21083. description: Internal Server Error
  21084. schema:
  21085. $ref: '#/definitions/app.Response'
  21086. security:
  21087. - ApiKeyAuth: []
  21088. summary: 获取企业风管期货历史委托单信息
  21089. tags:
  21090. - 企业风险管理(app)
  21091. /Ermcp/QueryErmcpHisTradeDetails:
  21092. get:
  21093. parameters:
  21094. - description: 资金账户ID
  21095. in: query
  21096. name: accountID
  21097. required: true
  21098. type: integer
  21099. - description: 商品ID
  21100. in: query
  21101. name: goodsID
  21102. type: integer
  21103. - description: 买卖方向,0:买 1:卖
  21104. in: query
  21105. name: buyOrSell
  21106. type: integer
  21107. - description: 关联委托单号
  21108. in: query
  21109. name: orderID
  21110. type: integer
  21111. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  21112. in: query
  21113. name: startDate
  21114. type: string
  21115. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  21116. in: query
  21117. name: endDate
  21118. type: string
  21119. produces:
  21120. - application/json
  21121. responses:
  21122. "200":
  21123. description: OK
  21124. schema:
  21125. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  21126. "500":
  21127. description: Internal Server Error
  21128. schema:
  21129. $ref: '#/definitions/app.Response'
  21130. security:
  21131. - ApiKeyAuth: []
  21132. summary: 获取企业风管期货历史成交单信息
  21133. tags:
  21134. - 企业风险管理(app)
  21135. /Ermcp/QueryErmcpInnerHolderDetails:
  21136. get:
  21137. parameters:
  21138. - description: 资金账户ID
  21139. in: query
  21140. name: accountID
  21141. required: true
  21142. type: integer
  21143. - description: 商品ID
  21144. in: query
  21145. name: goodsID
  21146. type: integer
  21147. - description: 买卖方向,0:买 1:卖
  21148. in: query
  21149. name: buyOrSell
  21150. type: integer
  21151. produces:
  21152. - application/json
  21153. responses:
  21154. "200":
  21155. description: OK
  21156. schema:
  21157. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  21158. "500":
  21159. description: Internal Server Error
  21160. schema:
  21161. $ref: '#/definitions/app.Response'
  21162. security:
  21163. - ApiKeyAuth: []
  21164. summary: 获取企业风管期货内部持仓单信息
  21165. tags:
  21166. - 企业风险管理(app)
  21167. /Ermcp/QueryErmcpOrderDetails:
  21168. get:
  21169. parameters:
  21170. - description: 资金账户ID
  21171. in: query
  21172. name: accountID
  21173. required: true
  21174. type: integer
  21175. produces:
  21176. - application/json
  21177. responses:
  21178. "200":
  21179. description: OK
  21180. schema:
  21181. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  21182. "500":
  21183. description: Internal Server Error
  21184. schema:
  21185. $ref: '#/definitions/app.Response'
  21186. security:
  21187. - ApiKeyAuth: []
  21188. summary: 获取企业风管期货委托单信息
  21189. tags:
  21190. - 企业风险管理(app)
  21191. /Ermcp/QueryErmcpTradeDetails:
  21192. get:
  21193. parameters:
  21194. - description: 资金账户ID
  21195. in: query
  21196. name: accountID
  21197. required: true
  21198. type: integer
  21199. - description: 商品ID
  21200. in: query
  21201. name: goodsID
  21202. type: integer
  21203. - description: 买卖方向,0:买 1:卖
  21204. in: query
  21205. name: buyOrSell
  21206. type: integer
  21207. - description: 关联委托单号
  21208. in: query
  21209. name: orderID
  21210. type: integer
  21211. produces:
  21212. - application/json
  21213. responses:
  21214. "200":
  21215. description: OK
  21216. schema:
  21217. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  21218. "500":
  21219. description: Internal Server Error
  21220. schema:
  21221. $ref: '#/definitions/app.Response'
  21222. security:
  21223. - ApiKeyAuth: []
  21224. summary: 获取企业风管期货成交单信息
  21225. tags:
  21226. - 企业风险管理(app)
  21227. /Ermcp/QueryErmcpTradePosition:
  21228. get:
  21229. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  21230. parameters:
  21231. - description: 资金账户ID
  21232. in: query
  21233. name: accountID
  21234. required: true
  21235. type: integer
  21236. - description: 所属市场ID
  21237. in: query
  21238. name: marketID
  21239. type: integer
  21240. produces:
  21241. - application/json
  21242. responses:
  21243. "200":
  21244. description: OK
  21245. schema:
  21246. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  21247. "500":
  21248. description: Internal Server Error
  21249. schema:
  21250. $ref: '#/definitions/app.Response'
  21251. security:
  21252. - ApiKeyAuth: []
  21253. summary: 获取企业风管期货持仓头寸信息
  21254. tags:
  21255. - 企业风险管理(app)
  21256. /Ermcp/QueryExposureDetail:
  21257. get:
  21258. parameters:
  21259. - description: 所属机构ID
  21260. in: query
  21261. name: areaUserId
  21262. required: true
  21263. type: integer
  21264. - description: 套保商品
  21265. in: query
  21266. name: middleGoodsId
  21267. required: true
  21268. type: integer
  21269. produces:
  21270. - application/json
  21271. responses:
  21272. "200":
  21273. description: OK
  21274. schema:
  21275. items:
  21276. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  21277. type: array
  21278. "500":
  21279. description: Internal Server Error
  21280. schema:
  21281. $ref: '#/definitions/app.Response'
  21282. security:
  21283. - ApiKeyAuth: []
  21284. summary: 查询敞口现货明细
  21285. tags:
  21286. - 企业风险管理(app)
  21287. /Ermcp/QueryExposureGoods:
  21288. get:
  21289. parameters:
  21290. - description: 套保商品id
  21291. in: query
  21292. name: middlegoodsid
  21293. required: true
  21294. type: integer
  21295. produces:
  21296. - application/json
  21297. responses:
  21298. "200":
  21299. description: OK
  21300. schema:
  21301. items:
  21302. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  21303. type: array
  21304. "500":
  21305. description: Internal Server Error
  21306. schema:
  21307. $ref: '#/definitions/app.Response'
  21308. security:
  21309. - ApiKeyAuth: []
  21310. summary: 查询敞口主力合约
  21311. tags:
  21312. - 企业风险管理(app)
  21313. /Ermcp/QueryExposureHedgePosition:
  21314. get:
  21315. parameters:
  21316. - description: 用户id
  21317. in: query
  21318. name: userid
  21319. required: true
  21320. type: integer
  21321. produces:
  21322. - application/json
  21323. responses:
  21324. "200":
  21325. description: OK
  21326. schema:
  21327. items:
  21328. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  21329. type: array
  21330. "500":
  21331. description: Internal Server Error
  21332. schema:
  21333. $ref: '#/definitions/app.Response'
  21334. security:
  21335. - ApiKeyAuth: []
  21336. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  21337. tags:
  21338. - 企业风险管理(app)
  21339. /Ermcp/QueryExposureHedgePositionDetail:
  21340. get:
  21341. parameters:
  21342. - description: 所属机构ID
  21343. in: query
  21344. name: userid
  21345. required: true
  21346. type: integer
  21347. - description: 商品id
  21348. in: query
  21349. name: goodsId
  21350. required: true
  21351. type: integer
  21352. produces:
  21353. - application/json
  21354. responses:
  21355. "200":
  21356. description: OK
  21357. schema:
  21358. items:
  21359. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  21360. type: array
  21361. "500":
  21362. description: Internal Server Error
  21363. schema:
  21364. $ref: '#/definitions/app.Response'
  21365. security:
  21366. - ApiKeyAuth: []
  21367. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  21368. tags:
  21369. - 企业风险管理(app)
  21370. /Ermcp/QueryExposureSpot:
  21371. get:
  21372. parameters:
  21373. - description: 所属机构ID
  21374. in: query
  21375. name: areaUserId
  21376. required: true
  21377. type: integer
  21378. produces:
  21379. - application/json
  21380. responses:
  21381. "200":
  21382. description: OK
  21383. schema:
  21384. items:
  21385. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  21386. type: array
  21387. "500":
  21388. description: Internal Server Error
  21389. schema:
  21390. $ref: '#/definitions/app.Response'
  21391. security:
  21392. - ApiKeyAuth: []
  21393. summary: 查询敞口现货头寸(敞口/现货头寸)
  21394. tags:
  21395. - 企业风险管理(app)
  21396. /Ermcp/QueryExposureSpotDetail:
  21397. get:
  21398. parameters:
  21399. - description: 所属机构ID
  21400. in: query
  21401. name: areaUserId
  21402. required: true
  21403. type: integer
  21404. - description: 现货品种ID
  21405. in: query
  21406. name: wrstandardId
  21407. required: true
  21408. type: integer
  21409. produces:
  21410. - application/json
  21411. responses:
  21412. "200":
  21413. description: OK
  21414. schema:
  21415. items:
  21416. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  21417. type: array
  21418. "500":
  21419. description: Internal Server Error
  21420. schema:
  21421. $ref: '#/definitions/app.Response'
  21422. security:
  21423. - ApiKeyAuth: []
  21424. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  21425. tags:
  21426. - 企业风险管理(app)
  21427. /Ermcp/QueryFuturesCompany:
  21428. get:
  21429. produces:
  21430. - application/json
  21431. responses:
  21432. "200":
  21433. description: OK
  21434. schema:
  21435. items:
  21436. $ref: '#/definitions/models.ErmcpFuturesCompany'
  21437. type: array
  21438. "500":
  21439. description: Internal Server Error
  21440. schema:
  21441. $ref: '#/definitions/app.Response'
  21442. security:
  21443. - ApiKeyAuth: []
  21444. summary: 查询期货公司
  21445. tags:
  21446. - 企业风险管理(app)
  21447. /Ermcp/QueryGGConvertConfig:
  21448. get:
  21449. parameters:
  21450. - description: 品种id(不填则查所有)
  21451. in: query
  21452. name: goodsgroupid
  21453. type: integer
  21454. produces:
  21455. - application/json
  21456. responses:
  21457. "200":
  21458. description: OK
  21459. schema:
  21460. items:
  21461. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  21462. type: array
  21463. "500":
  21464. description: Internal Server Error
  21465. schema:
  21466. $ref: '#/definitions/app.Response'
  21467. security:
  21468. - ApiKeyAuth: []
  21469. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  21470. tags:
  21471. - 企业风险管理(app)
  21472. /Ermcp/QueryGoodsBrand:
  21473. get:
  21474. parameters:
  21475. - description: 用户ID
  21476. in: query
  21477. name: userid
  21478. required: true
  21479. type: integer
  21480. - description: 现货商品ID
  21481. in: query
  21482. name: wrstandardid
  21483. type: integer
  21484. produces:
  21485. - application/json
  21486. responses:
  21487. "200":
  21488. description: OK
  21489. schema:
  21490. items:
  21491. $ref: '#/definitions/models.ErmcpGoodsBrand'
  21492. type: array
  21493. "500":
  21494. description: Internal Server Error
  21495. schema:
  21496. $ref: '#/definitions/app.Response'
  21497. security:
  21498. - ApiKeyAuth: []
  21499. summary: 查询商品品牌
  21500. tags:
  21501. - 企业风险管理(app)
  21502. /Ermcp/QueryGoodsModel:
  21503. get:
  21504. parameters:
  21505. - description: 用户ID
  21506. in: query
  21507. name: userid
  21508. required: true
  21509. type: integer
  21510. produces:
  21511. - application/json
  21512. responses:
  21513. "200":
  21514. description: OK
  21515. schema:
  21516. items:
  21517. $ref: '#/definitions/models.ErmcpGoodsModel'
  21518. type: array
  21519. "500":
  21520. description: Internal Server Error
  21521. schema:
  21522. $ref: '#/definitions/app.Response'
  21523. security:
  21524. - ApiKeyAuth: []
  21525. summary: 查询商品型号
  21526. tags:
  21527. - 企业风险管理(app)
  21528. /Ermcp/QueryHisExposure:
  21529. get:
  21530. parameters:
  21531. - description: 用户id
  21532. in: query
  21533. name: userid
  21534. required: true
  21535. type: integer
  21536. - description: 每个品种记录数
  21537. in: query
  21538. name: lastNum
  21539. required: true
  21540. type: integer
  21541. produces:
  21542. - application/json
  21543. responses:
  21544. "200":
  21545. description: OK
  21546. schema:
  21547. items:
  21548. $ref: '#/definitions/ermcp.HisExposureRsp'
  21549. type: array
  21550. "500":
  21551. description: Internal Server Error
  21552. schema:
  21553. $ref: '#/definitions/app.Response'
  21554. security:
  21555. - ApiKeyAuth: []
  21556. summary: 查询历史敞口(菜单:敞口/历史敞口)
  21557. tags:
  21558. - 企业风险管理(app)
  21559. /Ermcp/QueryMiddleGoods:
  21560. get:
  21561. parameters:
  21562. - description: 所属机构ID
  21563. in: query
  21564. name: userid
  21565. required: true
  21566. type: integer
  21567. - description: 状态 0-停用 1-正常
  21568. in: query
  21569. name: status
  21570. required: true
  21571. type: integer
  21572. produces:
  21573. - application/json
  21574. responses:
  21575. "200":
  21576. description: OK
  21577. schema:
  21578. items:
  21579. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  21580. type: array
  21581. "500":
  21582. description: Internal Server Error
  21583. schema:
  21584. $ref: '#/definitions/app.Response'
  21585. security:
  21586. - ApiKeyAuth: []
  21587. summary: 查询套保品种(菜单:套保品种)
  21588. tags:
  21589. - 企业风险管理(app)
  21590. /Ermcp/QueryMiddleGoodsChangeLog:
  21591. get:
  21592. parameters:
  21593. - description: 所属机构ID
  21594. in: query
  21595. name: userid
  21596. required: true
  21597. type: integer
  21598. - description: 套保品种id
  21599. in: query
  21600. name: middlegoodsid
  21601. required: true
  21602. type: integer
  21603. produces:
  21604. - application/json
  21605. responses:
  21606. "200":
  21607. description: OK
  21608. schema:
  21609. items:
  21610. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  21611. type: array
  21612. "500":
  21613. description: Internal Server Error
  21614. schema:
  21615. $ref: '#/definitions/app.Response'
  21616. security:
  21617. - ApiKeyAuth: []
  21618. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  21619. tags:
  21620. - 企业风险管理(app)
  21621. /Ermcp/QueryMiddleGoodsDetail:
  21622. get:
  21623. parameters:
  21624. - description: 所属机构ID
  21625. in: query
  21626. name: userid
  21627. required: true
  21628. type: integer
  21629. - description: 套保品种id
  21630. in: query
  21631. name: middlegoodsid
  21632. type: integer
  21633. produces:
  21634. - application/json
  21635. responses:
  21636. "200":
  21637. description: OK
  21638. schema:
  21639. items:
  21640. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  21641. type: array
  21642. "500":
  21643. description: Internal Server Error
  21644. schema:
  21645. $ref: '#/definitions/app.Response'
  21646. security:
  21647. - ApiKeyAuth: []
  21648. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  21649. tags:
  21650. - 企业风险管理(app)
  21651. /Ermcp/QueryPendingAuditInfo:
  21652. get:
  21653. parameters:
  21654. - description: 用户ID
  21655. in: query
  21656. name: UserId
  21657. required: true
  21658. type: integer
  21659. produces:
  21660. - application/json
  21661. responses:
  21662. "200":
  21663. description: OK
  21664. schema:
  21665. items:
  21666. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  21667. type: array
  21668. "500":
  21669. description: Internal Server Error
  21670. schema:
  21671. $ref: '#/definitions/app.Response'
  21672. security:
  21673. - ApiKeyAuth: []
  21674. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  21675. tags:
  21676. - 企业风险管理(app)
  21677. /Ermcp/QueryRealtimeExposure:
  21678. get:
  21679. parameters:
  21680. - description: 所属机构ID
  21681. in: query
  21682. name: userid
  21683. required: true
  21684. type: integer
  21685. produces:
  21686. - application/json
  21687. responses:
  21688. "200":
  21689. description: OK
  21690. schema:
  21691. items:
  21692. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  21693. type: array
  21694. "500":
  21695. description: Internal Server Error
  21696. schema:
  21697. $ref: '#/definitions/app.Response'
  21698. security:
  21699. - ApiKeyAuth: []
  21700. summary: 查询实时敞口
  21701. tags:
  21702. - 企业风险管理(app)
  21703. /Ermcp/QueryRealtimeExposurePosition:
  21704. get:
  21705. parameters:
  21706. - description: 用户id
  21707. in: query
  21708. name: userid
  21709. required: true
  21710. type: integer
  21711. - description: 套保商品ID
  21712. in: query
  21713. name: middleGoodsId
  21714. required: true
  21715. type: integer
  21716. produces:
  21717. - application/json
  21718. responses:
  21719. "200":
  21720. description: OK
  21721. schema:
  21722. items:
  21723. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  21724. type: array
  21725. "500":
  21726. description: Internal Server Error
  21727. schema:
  21728. $ref: '#/definitions/app.Response'
  21729. security:
  21730. - ApiKeyAuth: []
  21731. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  21732. tags:
  21733. - 企业风险管理(app)
  21734. /Ermcp/QueryRoleMenu:
  21735. get:
  21736. parameters:
  21737. - description: 登录ID
  21738. in: query
  21739. name: loginid
  21740. required: true
  21741. type: integer
  21742. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  21743. in: query
  21744. name: menutype
  21745. type: integer
  21746. produces:
  21747. - application/json
  21748. responses:
  21749. "200":
  21750. description: OK
  21751. schema:
  21752. items:
  21753. $ref: '#/definitions/models.RoleMenu'
  21754. type: array
  21755. "500":
  21756. description: Internal Server Error
  21757. schema:
  21758. $ref: '#/definitions/app.Response'
  21759. security:
  21760. - ApiKeyAuth: []
  21761. summary: 查询角色菜单和权限
  21762. tags:
  21763. - 企业风险管理(app)
  21764. /Ermcp/QueryTradeConfigTMP:
  21765. get:
  21766. parameters:
  21767. - description: 所属机构id
  21768. in: query
  21769. name: areauserid
  21770. type: integer
  21771. produces:
  21772. - application/json
  21773. responses:
  21774. "200":
  21775. description: OK
  21776. schema:
  21777. items:
  21778. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  21779. type: array
  21780. "500":
  21781. description: Internal Server Error
  21782. schema:
  21783. $ref: '#/definitions/app.Response'
  21784. security:
  21785. - ApiKeyAuth: []
  21786. summary: 查询交易模板配置
  21787. tags:
  21788. - 企业风险管理(app)
  21789. /Ermcp/QueryUserInfo:
  21790. get:
  21791. parameters:
  21792. - description: 所属机构用户ID
  21793. in: query
  21794. name: MemberUserID
  21795. required: true
  21796. type: integer
  21797. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  21798. in: query
  21799. name: queryType
  21800. required: true
  21801. type: integer
  21802. produces:
  21803. - application/json
  21804. responses:
  21805. "200":
  21806. description: OK
  21807. schema:
  21808. items:
  21809. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  21810. type: array
  21811. "500":
  21812. description: Internal Server Error
  21813. schema:
  21814. $ref: '#/definitions/app.Response'
  21815. security:
  21816. - ApiKeyAuth: []
  21817. summary: 查询客户资料
  21818. tags:
  21819. - 企业风险管理(app)
  21820. /Ermcp/QueryWarehouseInfo:
  21821. get:
  21822. parameters:
  21823. - description: 用户ID
  21824. in: query
  21825. name: userid
  21826. required: true
  21827. type: integer
  21828. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  21829. in: query
  21830. name: status
  21831. type: string
  21832. produces:
  21833. - application/json
  21834. responses:
  21835. "200":
  21836. description: OK
  21837. schema:
  21838. items:
  21839. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  21840. type: array
  21841. "500":
  21842. description: Internal Server Error
  21843. schema:
  21844. $ref: '#/definitions/app.Response'
  21845. security:
  21846. - ApiKeyAuth: []
  21847. summary: 查询仓库信息
  21848. tags:
  21849. - 企业风险管理(app)
  21850. /Ermcp3/QryAreaExpourseContractDetail:
  21851. get:
  21852. parameters:
  21853. - description: 用户ID
  21854. in: query
  21855. name: userid
  21856. required: true
  21857. type: integer
  21858. - description: 套保商品id
  21859. in: query
  21860. name: middlegoodsid
  21861. required: true
  21862. type: integer
  21863. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21864. in: query
  21865. name: cycletype
  21866. required: true
  21867. type: integer
  21868. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21869. 全(0)【原值】
  21870. in: query
  21871. name: cycletime
  21872. required: true
  21873. type: string
  21874. produces:
  21875. - application/json
  21876. responses:
  21877. "200":
  21878. description: OK
  21879. schema:
  21880. items:
  21881. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  21882. type: array
  21883. "500":
  21884. description: Internal Server Error
  21885. schema:
  21886. $ref: '#/definitions/app.Response'
  21887. security:
  21888. - ApiKeyAuth: []
  21889. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  21890. tags:
  21891. - 企业风险管理v3(app)
  21892. /Ermcp3/QryAreaExpourseFutuDetail:
  21893. get:
  21894. parameters:
  21895. - description: 用户ID
  21896. in: query
  21897. name: userid
  21898. required: true
  21899. type: integer
  21900. - description: 套保商品id
  21901. in: query
  21902. name: middlegoodsid
  21903. required: true
  21904. type: integer
  21905. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21906. in: query
  21907. name: cycletype
  21908. required: true
  21909. type: integer
  21910. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21911. 全(0)【原值】
  21912. in: query
  21913. name: cycletime
  21914. required: true
  21915. type: string
  21916. produces:
  21917. - application/json
  21918. responses:
  21919. "200":
  21920. description: OK
  21921. schema:
  21922. items:
  21923. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  21924. type: array
  21925. "500":
  21926. description: Internal Server Error
  21927. schema:
  21928. $ref: '#/definitions/app.Response'
  21929. security:
  21930. - ApiKeyAuth: []
  21931. summary: 查询敞口期货明细(敞口报表/期货明细)
  21932. tags:
  21933. - 企业风险管理v3(app)
  21934. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  21935. get:
  21936. parameters:
  21937. - description: 用户ID
  21938. in: query
  21939. name: userid
  21940. required: true
  21941. type: integer
  21942. - description: 套保商品id
  21943. in: query
  21944. name: middlegoodsid
  21945. required: true
  21946. type: integer
  21947. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21948. in: query
  21949. name: cycletype
  21950. required: true
  21951. type: integer
  21952. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21953. 全(0)【原值】
  21954. in: query
  21955. name: cycletime
  21956. required: true
  21957. type: string
  21958. produces:
  21959. - application/json
  21960. responses:
  21961. "200":
  21962. description: OK
  21963. schema:
  21964. items:
  21965. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  21966. type: array
  21967. "500":
  21968. description: Internal Server Error
  21969. schema:
  21970. $ref: '#/definitions/app.Response'
  21971. security:
  21972. - ApiKeyAuth: []
  21973. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  21974. tags:
  21975. - 企业风险管理v3(app)
  21976. /Ermcp3/QryAreaExpourseParamChLogDetail:
  21977. get:
  21978. parameters:
  21979. - description: 用户ID
  21980. in: query
  21981. name: userid
  21982. required: true
  21983. type: integer
  21984. - description: 套保商品id
  21985. in: query
  21986. name: middlegoodsid
  21987. required: true
  21988. type: integer
  21989. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21990. in: query
  21991. name: cycletype
  21992. required: true
  21993. type: integer
  21994. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21995. 全(0)【原值】
  21996. in: query
  21997. name: cycletime
  21998. required: true
  21999. type: string
  22000. produces:
  22001. - application/json
  22002. responses:
  22003. "200":
  22004. description: OK
  22005. schema:
  22006. items:
  22007. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  22008. type: array
  22009. "500":
  22010. description: Internal Server Error
  22011. schema:
  22012. $ref: '#/definitions/app.Response'
  22013. security:
  22014. - ApiKeyAuth: []
  22015. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  22016. tags:
  22017. - 企业风险管理v3(app)
  22018. /Ermcp3/QryAreaExpourseReport:
  22019. get:
  22020. parameters:
  22021. - description: 用户ID
  22022. in: query
  22023. name: userid
  22024. required: true
  22025. type: integer
  22026. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  22027. in: query
  22028. name: querytype
  22029. required: true
  22030. type: integer
  22031. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22032. in: query
  22033. name: cycletype
  22034. required: true
  22035. type: integer
  22036. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22037. 全(0)【原值】
  22038. in: query
  22039. name: cycletime
  22040. required: true
  22041. type: string
  22042. produces:
  22043. - application/json
  22044. responses:
  22045. "200":
  22046. description: OK
  22047. schema:
  22048. items:
  22049. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  22050. type: array
  22051. "500":
  22052. description: Internal Server Error
  22053. schema:
  22054. $ref: '#/definitions/app.Response'
  22055. security:
  22056. - ApiKeyAuth: []
  22057. summary: 查询敞口报表
  22058. tags:
  22059. - 企业风险管理v3(app)
  22060. /Ermcp3/QryAreaSpotplReport:
  22061. get:
  22062. description: 目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1
  22063. parameters:
  22064. - description: 用户ID
  22065. in: query
  22066. name: userid
  22067. required: true
  22068. type: integer
  22069. - description: 查询类型 1-报表 2-报表明细
  22070. in: query
  22071. name: querytype
  22072. required: true
  22073. type: integer
  22074. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22075. in: query
  22076. name: cycletype
  22077. required: true
  22078. type: integer
  22079. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22080. 全(0)【原值】
  22081. in: query
  22082. name: cycletime
  22083. required: true
  22084. type: string
  22085. - description: 现货品种id(明细必填)
  22086. in: query
  22087. name: deliverygoodsid
  22088. type: integer
  22089. - description: 币种id(明细必填)
  22090. in: query
  22091. name: currencyid
  22092. type: integer
  22093. - description: 日/周/月报表汇总维度 1:品种+品类
  22094. in: query
  22095. name: sumflag
  22096. type: integer
  22097. produces:
  22098. - application/json
  22099. responses:
  22100. "200":
  22101. description: OK
  22102. schema:
  22103. items:
  22104. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  22105. type: array
  22106. "500":
  22107. description: Internal Server Error
  22108. schema:
  22109. $ref: '#/definitions/app.Response'
  22110. security:
  22111. - ApiKeyAuth: []
  22112. summary: 查询现货报表
  22113. tags:
  22114. - 企业风险管理v3(app)
  22115. /Ermcp3/QryAreaStockReport:
  22116. get:
  22117. parameters:
  22118. - description: 用户ID
  22119. in: query
  22120. name: userid
  22121. required: true
  22122. type: integer
  22123. - description: 查询类型 1-报表 2-报表明细
  22124. in: query
  22125. name: querytype
  22126. required: true
  22127. type: integer
  22128. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22129. in: query
  22130. name: cycletype
  22131. required: true
  22132. type: integer
  22133. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22134. 全(0)【原值】
  22135. in: query
  22136. name: cycletime
  22137. required: true
  22138. type: string
  22139. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  22140. in: query
  22141. name: sumfields
  22142. type: string
  22143. - description: 品种ID
  22144. in: query
  22145. name: deliverygoodsid
  22146. type: integer
  22147. - description: 品类ID
  22148. in: query
  22149. name: wrstandardid
  22150. type: integer
  22151. - description: 品牌ID
  22152. in: query
  22153. name: spotgoodsbrandid
  22154. type: integer
  22155. - description: 仓库ID
  22156. in: query
  22157. name: warehouseinfoid
  22158. type: integer
  22159. produces:
  22160. - application/json
  22161. responses:
  22162. "200":
  22163. description: OK
  22164. schema:
  22165. items:
  22166. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  22167. type: array
  22168. "500":
  22169. description: Internal Server Error
  22170. schema:
  22171. $ref: '#/definitions/app.Response'
  22172. security:
  22173. - ApiKeyAuth: []
  22174. summary: 查询库存报表
  22175. tags:
  22176. - 企业风险管理v3(app)
  22177. /Ermcp3/QryAreaSumPL:
  22178. get:
  22179. parameters:
  22180. - description: 用户ID
  22181. in: query
  22182. name: userid
  22183. required: true
  22184. type: integer
  22185. - description: 查询类型 1-报表 2-报表明细
  22186. in: query
  22187. name: querytype
  22188. required: true
  22189. type: integer
  22190. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22191. in: query
  22192. name: cycletype
  22193. required: true
  22194. type: integer
  22195. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22196. 全(0)【原值】
  22197. in: query
  22198. name: cycletime
  22199. required: true
  22200. type: string
  22201. - description: 币种id(明细必填)
  22202. in: query
  22203. name: currencyid
  22204. type: integer
  22205. produces:
  22206. - application/json
  22207. responses:
  22208. "200":
  22209. description: OK
  22210. schema:
  22211. items:
  22212. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  22213. type: array
  22214. "500":
  22215. description: Internal Server Error
  22216. schema:
  22217. $ref: '#/definitions/app.Response'
  22218. security:
  22219. - ApiKeyAuth: []
  22220. summary: 查询汇总损益表
  22221. tags:
  22222. - 企业风险管理v3(app)
  22223. /Ermcp3/QryFinanceReport:
  22224. get:
  22225. parameters:
  22226. - description: 用户ID
  22227. in: query
  22228. name: userid
  22229. required: true
  22230. type: integer
  22231. - description: 查询类型 1-报表 2-报表明细
  22232. in: query
  22233. name: querytype
  22234. required: true
  22235. type: integer
  22236. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22237. in: query
  22238. name: cycletype
  22239. required: true
  22240. type: integer
  22241. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22242. 全(0)【原值】
  22243. in: query
  22244. name: cycletime
  22245. required: true
  22246. type: string
  22247. - description: 币种id(报表明细必填)
  22248. in: query
  22249. name: currencyid
  22250. type: integer
  22251. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  22252. in: query
  22253. name: sumfields
  22254. type: string
  22255. produces:
  22256. - application/json
  22257. responses:
  22258. "200":
  22259. description: OK
  22260. schema:
  22261. items:
  22262. $ref: '#/definitions/models.Ermcp3FinanceReport'
  22263. type: array
  22264. "500":
  22265. description: Internal Server Error
  22266. schema:
  22267. $ref: '#/definitions/app.Response'
  22268. security:
  22269. - ApiKeyAuth: []
  22270. summary: 查询财务报表
  22271. tags:
  22272. - 企业风险管理v3(app)
  22273. /Ermcp3/QrySCMiddleGoodsReport:
  22274. get:
  22275. parameters:
  22276. - description: 用户ID
  22277. in: query
  22278. name: userid
  22279. required: true
  22280. type: integer
  22281. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22282. in: query
  22283. name: cycletype
  22284. required: true
  22285. type: integer
  22286. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22287. 全(0)【原值】
  22288. in: query
  22289. name: cycletime
  22290. required: true
  22291. type: string
  22292. - description: 合同id
  22293. in: query
  22294. name: spotcontractid
  22295. type: integer
  22296. - description: 套保品种id
  22297. in: query
  22298. name: middlegoodsid
  22299. type: integer
  22300. - description: 现货品种id
  22301. in: query
  22302. name: deliverygoodsid
  22303. type: integer
  22304. - description: 现货商品id
  22305. in: query
  22306. name: wrstandardid
  22307. type: integer
  22308. - description: 合同编号(模糊匹配)
  22309. in: query
  22310. name: contractno
  22311. type: string
  22312. produces:
  22313. - application/json
  22314. responses:
  22315. "200":
  22316. description: OK
  22317. schema:
  22318. items:
  22319. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  22320. type: array
  22321. "500":
  22322. description: Internal Server Error
  22323. schema:
  22324. $ref: '#/definitions/app.Response'
  22325. security:
  22326. - ApiKeyAuth: []
  22327. summary: 查询定价报表
  22328. tags:
  22329. - 企业风险管理v3(app)
  22330. /Ermcp3/QryTaFutureDataReport:
  22331. get:
  22332. parameters:
  22333. - description: 用户ID
  22334. in: query
  22335. name: userid
  22336. required: true
  22337. type: integer
  22338. - description: 查询类型 1-报表 2-报表明细
  22339. in: query
  22340. name: querytype
  22341. required: true
  22342. type: integer
  22343. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22344. in: query
  22345. name: cycletype
  22346. required: true
  22347. type: integer
  22348. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22349. 全(0)【原值】
  22350. in: query
  22351. name: cycletime
  22352. required: true
  22353. type: string
  22354. - description: 币种id(查明细必填)
  22355. in: query
  22356. name: currencyid
  22357. type: integer
  22358. - description: 品种id(查明细必填)
  22359. in: query
  22360. name: goodsgroupid
  22361. type: integer
  22362. - description: 商品id(查明细必填)
  22363. in: query
  22364. name: goodsid
  22365. type: integer
  22366. - description: 买卖方向(查明细必填)
  22367. in: query
  22368. name: buyorsell
  22369. type: integer
  22370. produces:
  22371. - application/json
  22372. responses:
  22373. "200":
  22374. description: OK
  22375. schema:
  22376. items:
  22377. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  22378. type: array
  22379. "500":
  22380. description: Internal Server Error
  22381. schema:
  22382. $ref: '#/definitions/app.Response'
  22383. security:
  22384. - ApiKeyAuth: []
  22385. summary: 查询期货报表
  22386. tags:
  22387. - 企业风险管理v3(app)
  22388. /Ermcp3/QueryAreaStock:
  22389. get:
  22390. parameters:
  22391. - description: 用户ID
  22392. in: query
  22393. name: userid
  22394. required: true
  22395. type: integer
  22396. produces:
  22397. - application/json
  22398. responses:
  22399. "200":
  22400. description: OK
  22401. schema:
  22402. items:
  22403. $ref: '#/definitions/models.Ermcp3AreaStock'
  22404. type: array
  22405. "500":
  22406. description: Internal Server Error
  22407. schema:
  22408. $ref: '#/definitions/app.Response'
  22409. security:
  22410. - ApiKeyAuth: []
  22411. summary: 查询机构库存(库存管理/当前库存)
  22412. tags:
  22413. - 企业风险管理v3(app)
  22414. /Ermcp3/QueryAreaStockApply:
  22415. get:
  22416. parameters:
  22417. - description: 用户ID
  22418. in: query
  22419. name: userid
  22420. required: true
  22421. type: integer
  22422. - description: 用户类型 2-机构 7-企业成员
  22423. in: query
  22424. name: usertype
  22425. type: integer
  22426. - description: 现货商品ID
  22427. in: query
  22428. name: deliverygoodsid
  22429. type: integer
  22430. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  22431. in: query
  22432. name: inouttype
  22433. type: string
  22434. - description: 合同ID
  22435. in: query
  22436. name: spotcontractid
  22437. type: integer
  22438. - description: 品类ID
  22439. in: query
  22440. name: wrstandardid
  22441. type: integer
  22442. - description: 品牌ID
  22443. in: query
  22444. name: spotgoodsbrandid
  22445. type: integer
  22446. - description: 仓库ID
  22447. in: query
  22448. name: warehouseinfoid
  22449. type: integer
  22450. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22451. in: query
  22452. name: applystatus
  22453. type: string
  22454. produces:
  22455. - application/json
  22456. responses:
  22457. "200":
  22458. description: OK
  22459. schema:
  22460. items:
  22461. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  22462. type: array
  22463. "500":
  22464. description: Internal Server Error
  22465. schema:
  22466. $ref: '#/definitions/app.Response'
  22467. security:
  22468. - ApiKeyAuth: []
  22469. summary: 查询库存申请(出入库记录|库存审核)
  22470. tags:
  22471. - 企业风险管理v3(app)
  22472. /Ermcp3/QueryAreaStockApplySum:
  22473. get:
  22474. parameters:
  22475. - description: 合同ID
  22476. in: query
  22477. name: spotcontractid
  22478. required: true
  22479. type: integer
  22480. produces:
  22481. - application/json
  22482. responses:
  22483. "200":
  22484. description: OK
  22485. schema:
  22486. items:
  22487. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  22488. type: array
  22489. "500":
  22490. description: Internal Server Error
  22491. schema:
  22492. $ref: '#/definitions/app.Response'
  22493. security:
  22494. - ApiKeyAuth: []
  22495. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  22496. tags:
  22497. - 企业风险管理v3(app)
  22498. /Ermcp3/QueryDGFactoryItem:
  22499. get:
  22500. parameters:
  22501. - description: 用户id
  22502. in: query
  22503. name: userid
  22504. type: integer
  22505. - description: 用户类型 2-机构 7-企业成员
  22506. in: query
  22507. name: usertype
  22508. type: integer
  22509. - description: 选择项ID(SEQ_DGFACTORYITEM)
  22510. in: query
  22511. name: dgfactoryitemid
  22512. type: integer
  22513. - description: 现货品种ID
  22514. in: query
  22515. name: deliverygoodsid
  22516. type: integer
  22517. - description: 要素项类型
  22518. in: query
  22519. name: dgfactoryitemtypeid
  22520. type: integer
  22521. - description: 顺序
  22522. in: query
  22523. name: orderindex
  22524. type: integer
  22525. produces:
  22526. - application/json
  22527. responses:
  22528. "200":
  22529. description: OK
  22530. schema:
  22531. items:
  22532. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  22533. type: array
  22534. "500":
  22535. description: Internal Server Error
  22536. schema:
  22537. $ref: '#/definitions/app.Response'
  22538. security:
  22539. - ApiKeyAuth: []
  22540. summary: 查询品种要素定义项
  22541. tags:
  22542. - 企业风险管理v3(app)
  22543. /Ermcp3/QueryDeliveryGoods:
  22544. get:
  22545. parameters:
  22546. - description: 用户id
  22547. in: query
  22548. name: userid
  22549. required: true
  22550. type: integer
  22551. - description: 用户类型 2-机构 7-企业成员
  22552. in: query
  22553. name: usertype
  22554. type: integer
  22555. - description: 排除已配置的业务类型商品 1-套保 2-套利
  22556. in: query
  22557. name: excludecfg
  22558. type: integer
  22559. produces:
  22560. - application/json
  22561. responses:
  22562. "200":
  22563. description: OK
  22564. schema:
  22565. items:
  22566. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  22567. type: array
  22568. "500":
  22569. description: Internal Server Error
  22570. schema:
  22571. $ref: '#/definitions/app.Response'
  22572. security:
  22573. - ApiKeyAuth: []
  22574. summary: 查询现货商品
  22575. tags:
  22576. - 企业风险管理v3(app)
  22577. /Ermcp3/QueryDeliveryGoodsDetail:
  22578. get:
  22579. parameters:
  22580. - description: 用户id
  22581. in: query
  22582. name: userid
  22583. required: true
  22584. type: integer
  22585. - description: 用户类型 2-机构 7-企业成员
  22586. in: query
  22587. name: usertype
  22588. type: integer
  22589. - description: 现货商品id
  22590. in: query
  22591. name: deliverygoodsid
  22592. type: integer
  22593. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  22594. in: query
  22595. name: filtersubempty
  22596. type: integer
  22597. produces:
  22598. - application/json
  22599. responses:
  22600. "200":
  22601. description: OK
  22602. schema:
  22603. items:
  22604. $ref: '#/definitions/models.XHDeliveryGoods'
  22605. type: array
  22606. "500":
  22607. description: Internal Server Error
  22608. schema:
  22609. $ref: '#/definitions/app.Response'
  22610. security:
  22611. - ApiKeyAuth: []
  22612. summary: 查询现货商品详情
  22613. tags:
  22614. - 企业风险管理v3(app)
  22615. /Ermcp3/QueryErmcp3ContractMiddleGoodsCfg:
  22616. get:
  22617. parameters:
  22618. - description: 合同id
  22619. in: query
  22620. name: spotcontractid
  22621. required: true
  22622. type: string
  22623. produces:
  22624. - application/json
  22625. responses:
  22626. "200":
  22627. description: OK
  22628. schema:
  22629. items:
  22630. $ref: '#/definitions/models.Ermcp3ContractMiddleGoodsCfg'
  22631. type: array
  22632. "500":
  22633. description: Internal Server Error
  22634. schema:
  22635. $ref: '#/definitions/app.Response'
  22636. security:
  22637. - ApiKeyAuth: []
  22638. summary: 查询现货合同期现配置信息
  22639. tags:
  22640. - 企业风险管理v3(app)
  22641. /Ermcp3/QueryExposureDetail:
  22642. get:
  22643. parameters:
  22644. - description: 用户id
  22645. in: query
  22646. name: userid
  22647. required: true
  22648. type: integer
  22649. - description: 用户类型 2-机构 7-企业成员
  22650. in: query
  22651. name: usertype
  22652. type: integer
  22653. - description: 套保商品
  22654. in: query
  22655. name: middlegoodsid
  22656. required: true
  22657. type: integer
  22658. produces:
  22659. - application/json
  22660. responses:
  22661. "200":
  22662. description: OK
  22663. schema:
  22664. items:
  22665. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  22666. type: array
  22667. "500":
  22668. description: Internal Server Error
  22669. schema:
  22670. $ref: '#/definitions/app.Response'
  22671. security:
  22672. - ApiKeyAuth: []
  22673. summary: 查询敞口现货明细
  22674. tags:
  22675. - 企业风险管理v3(app)
  22676. /Ermcp3/QueryExposureSpot:
  22677. get:
  22678. parameters:
  22679. - description: 用户id
  22680. in: query
  22681. name: userid
  22682. required: true
  22683. type: integer
  22684. - description: 用户类型 2-机构 7-企业成员
  22685. in: query
  22686. name: usertype
  22687. type: integer
  22688. produces:
  22689. - application/json
  22690. responses:
  22691. "200":
  22692. description: OK
  22693. schema:
  22694. items:
  22695. $ref: '#/definitions/models.Ermcp3AreaSpot'
  22696. type: array
  22697. "500":
  22698. description: Internal Server Error
  22699. schema:
  22700. $ref: '#/definitions/app.Response'
  22701. security:
  22702. - ApiKeyAuth: []
  22703. summary: 查询敞口现货头寸(敞口/现货头寸)
  22704. tags:
  22705. - 企业风险管理v3(app)
  22706. /Ermcp3/QueryExposureSpotDetail:
  22707. get:
  22708. parameters:
  22709. - description: 用户id
  22710. in: query
  22711. name: userid
  22712. required: true
  22713. type: integer
  22714. - description: 用户类型 2-机构 7-企业成员
  22715. in: query
  22716. name: usertype
  22717. type: integer
  22718. - description: 现货商品ID
  22719. in: query
  22720. name: wrstandardid
  22721. required: true
  22722. type: integer
  22723. produces:
  22724. - application/json
  22725. responses:
  22726. "200":
  22727. description: OK
  22728. schema:
  22729. items:
  22730. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  22731. type: array
  22732. "500":
  22733. description: Internal Server Error
  22734. schema:
  22735. $ref: '#/definitions/app.Response'
  22736. security:
  22737. - ApiKeyAuth: []
  22738. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  22739. tags:
  22740. - 企业风险管理v3(app)
  22741. /Ermcp3/QueryGoodsGroup:
  22742. get:
  22743. parameters:
  22744. - description: 用户id
  22745. in: query
  22746. name: userid
  22747. required: true
  22748. type: integer
  22749. - description: 用户类型 2-机构 7-企业成员
  22750. in: query
  22751. name: usertype
  22752. type: integer
  22753. - description: 排除套保品中已关联的商品组 1-排除
  22754. in: query
  22755. name: excludecfg
  22756. type: integer
  22757. produces:
  22758. - application/json
  22759. responses:
  22760. "200":
  22761. description: OK
  22762. schema:
  22763. items:
  22764. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  22765. type: array
  22766. "500":
  22767. description: Internal Server Error
  22768. schema:
  22769. $ref: '#/definitions/app.Response'
  22770. security:
  22771. - ApiKeyAuth: []
  22772. summary: 查询期货商品组
  22773. tags:
  22774. - 企业风险管理v3(app)
  22775. /Ermcp3/QueryGoodsWrstandard:
  22776. get:
  22777. parameters:
  22778. - description: 用户id
  22779. in: query
  22780. name: userid
  22781. required: true
  22782. type: integer
  22783. - description: 用户类型 2-机构 7-企业成员
  22784. in: query
  22785. name: usertype
  22786. type: integer
  22787. - description: 现货商品id
  22788. in: query
  22789. name: deliverygoodsid
  22790. type: integer
  22791. produces:
  22792. - application/json
  22793. responses:
  22794. "200":
  22795. description: OK
  22796. schema:
  22797. items:
  22798. $ref: '#/definitions/models.Ermcp3Wrstandard'
  22799. type: array
  22800. "500":
  22801. description: Internal Server Error
  22802. schema:
  22803. $ref: '#/definitions/app.Response'
  22804. security:
  22805. - ApiKeyAuth: []
  22806. summary: 查询商品品类
  22807. tags:
  22808. - 企业风险管理v3(app)
  22809. /Ermcp3/QueryGoodsbrand:
  22810. get:
  22811. parameters:
  22812. - description: 用户id
  22813. in: query
  22814. name: userid
  22815. required: true
  22816. type: integer
  22817. - description: 用户类型 2-机构 7-企业成员
  22818. in: query
  22819. name: usertype
  22820. type: integer
  22821. produces:
  22822. - application/json
  22823. responses:
  22824. "200":
  22825. description: OK
  22826. schema:
  22827. items:
  22828. $ref: '#/definitions/models.Ermcp3Brand'
  22829. type: array
  22830. "500":
  22831. description: Internal Server Error
  22832. schema:
  22833. $ref: '#/definitions/app.Response'
  22834. security:
  22835. - ApiKeyAuth: []
  22836. summary: 查询商品品牌
  22837. tags:
  22838. - 企业风险管理v3(app)
  22839. /Ermcp3/QueryHPMiddleGoods:
  22840. get:
  22841. parameters:
  22842. - description: 用户ID(填登录用户的userid)
  22843. in: query
  22844. name: userid
  22845. required: true
  22846. type: integer
  22847. - description: 买卖方向 0-买 1-卖
  22848. in: query
  22849. name: buyorsell
  22850. required: true
  22851. type: integer
  22852. - description: 商品组id
  22853. in: query
  22854. name: goodsgroupid
  22855. required: true
  22856. type: integer
  22857. - description: 套保计划编号(模糊匹配)
  22858. in: query
  22859. name: hedgeplanno
  22860. type: string
  22861. - description: 现货商品名称(模糊匹配)
  22862. in: query
  22863. name: wrstandardname
  22864. type: string
  22865. produces:
  22866. - application/json
  22867. responses:
  22868. "200":
  22869. description: OK
  22870. schema:
  22871. items:
  22872. $ref: '#/definitions/models.Ermcp3HPMiddleGoods'
  22873. type: array
  22874. "500":
  22875. description: Internal Server Error
  22876. schema:
  22877. $ref: '#/definitions/app.Response'
  22878. security:
  22879. - ApiKeyAuth: []
  22880. summary: 查询可关联套保计划
  22881. tags:
  22882. - 企业风险管理v3(app)
  22883. /Ermcp3/QueryHedgePlan:
  22884. get:
  22885. parameters:
  22886. - description: 用户ID
  22887. in: query
  22888. name: userid
  22889. required: true
  22890. type: integer
  22891. - description: 用户类型 2-机构 7-企业成员
  22892. in: query
  22893. name: usertype
  22894. type: integer
  22895. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22896. in: query
  22897. name: hedgeplanstatus
  22898. required: true
  22899. type: string
  22900. produces:
  22901. - application/json
  22902. responses:
  22903. "200":
  22904. description: OK
  22905. schema:
  22906. items:
  22907. $ref: '#/definitions/models.Ermcp3HedgePlan'
  22908. type: array
  22909. "500":
  22910. description: Internal Server Error
  22911. schema:
  22912. $ref: '#/definitions/app.Response'
  22913. security:
  22914. - ApiKeyAuth: []
  22915. summary: 查询套保计划
  22916. tags:
  22917. - 企业风险管理v3(app)
  22918. /Ermcp3/QueryInnerTradeLink:
  22919. get:
  22920. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  22921. parameters:
  22922. - description: 外部成交单号
  22923. in: query
  22924. name: outtradeid
  22925. required: true
  22926. type: integer
  22927. produces:
  22928. - application/json
  22929. responses:
  22930. "200":
  22931. description: OK
  22932. schema:
  22933. items:
  22934. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  22935. type: array
  22936. "500":
  22937. description: Internal Server Error
  22938. schema:
  22939. $ref: '#/definitions/app.Response'
  22940. security:
  22941. - ApiKeyAuth: []
  22942. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  22943. tags:
  22944. - 企业风险管理v3(app)
  22945. /Ermcp3/QueryMiddleGoodsDetail:
  22946. get:
  22947. parameters:
  22948. - description: 用户id
  22949. in: query
  22950. name: userid
  22951. required: true
  22952. type: integer
  22953. - description: 用户类型 2-机构 7-企业成员
  22954. in: query
  22955. name: usertype
  22956. type: integer
  22957. - description: 套保品种id
  22958. in: query
  22959. name: middlegoodsid
  22960. type: integer
  22961. produces:
  22962. - application/json
  22963. responses:
  22964. "200":
  22965. description: OK
  22966. schema:
  22967. items:
  22968. $ref: '#/definitions/models.TBMiddleGoods'
  22969. type: array
  22970. "500":
  22971. description: Internal Server Error
  22972. schema:
  22973. $ref: '#/definitions/app.Response'
  22974. security:
  22975. - ApiKeyAuth: []
  22976. summary: 查询套保品种详情(套保品种/商品详情)
  22977. tags:
  22978. - 企业风险管理v3(app)
  22979. /Ermcp3/QueryOutTradeLink:
  22980. get:
  22981. description: 页面 app 现货->期现关联->外部成交单关联
  22982. parameters:
  22983. - description: 用户ID(填登录用户的userid)
  22984. in: query
  22985. name: userid
  22986. required: true
  22987. type: integer
  22988. - description: 外部订单号(模糊匹配)
  22989. in: query
  22990. name: outtradeid
  22991. type: string
  22992. - description: 合约名称/代码(模糊匹配)
  22993. in: query
  22994. name: goodsname
  22995. type: string
  22996. - description: 关联状态 0-未关联 1-已关联
  22997. in: query
  22998. name: hasinnerorder
  22999. type: integer
  23000. produces:
  23001. - application/json
  23002. responses:
  23003. "200":
  23004. description: OK
  23005. schema:
  23006. items:
  23007. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  23008. type: array
  23009. "500":
  23010. description: Internal Server Error
  23011. schema:
  23012. $ref: '#/definitions/app.Response'
  23013. security:
  23014. - ApiKeyAuth: []
  23015. summary: 查询外部成交单关联
  23016. tags:
  23017. - 企业风险管理v3(app)
  23018. /Ermcp3/QueryPaAreaAuditCfg:
  23019. get:
  23020. parameters:
  23021. - description: 用户id
  23022. in: query
  23023. name: userid
  23024. required: true
  23025. type: integer
  23026. produces:
  23027. - application/json
  23028. responses:
  23029. "200":
  23030. description: OK
  23031. schema:
  23032. items:
  23033. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  23034. type: array
  23035. "500":
  23036. description: Internal Server Error
  23037. schema:
  23038. $ref: '#/definitions/app.Response'
  23039. security:
  23040. - ApiKeyAuth: []
  23041. summary: 查询审核设置
  23042. tags:
  23043. - 企业风险管理v3(app)
  23044. /Ermcp3/QueryPaAreaSubject:
  23045. get:
  23046. parameters:
  23047. - description: 用户id
  23048. in: query
  23049. name: userid
  23050. required: true
  23051. type: integer
  23052. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  23053. in: query
  23054. name: subjectid
  23055. type: integer
  23056. - description: 主体类型 - 1:交易主体 2:业务部门
  23057. in: query
  23058. name: subjecttype
  23059. type: integer
  23060. - description: '主体状态 - 1:正常 2: 停用'
  23061. in: query
  23062. name: subjectstatus
  23063. type: integer
  23064. produces:
  23065. - application/json
  23066. responses:
  23067. "200":
  23068. description: OK
  23069. schema:
  23070. items:
  23071. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  23072. type: array
  23073. "500":
  23074. description: Internal Server Error
  23075. schema:
  23076. $ref: '#/definitions/app.Response'
  23077. security:
  23078. - ApiKeyAuth: []
  23079. summary: 查询交易主体
  23080. tags:
  23081. - 企业风险管理v3(app)
  23082. /Ermcp3/QueryPaTradeLink:
  23083. get:
  23084. description: 页面 app 现货->期现关联->期现单据关联
  23085. parameters:
  23086. - description: 用户ID
  23087. in: query
  23088. name: userid
  23089. required: true
  23090. type: integer
  23091. produces:
  23092. - application/json
  23093. responses:
  23094. "200":
  23095. description: OK
  23096. schema:
  23097. items:
  23098. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  23099. type: array
  23100. "500":
  23101. description: Internal Server Error
  23102. schema:
  23103. $ref: '#/definitions/app.Response'
  23104. security:
  23105. - ApiKeyAuth: []
  23106. summary: 查询期现单据关联
  23107. tags:
  23108. - 企业风险管理v3(app)
  23109. /Ermcp3/QueryPaTradeLinkDetail:
  23110. get:
  23111. description: 页面 app 现货->期现关联->关联记录
  23112. parameters:
  23113. - description: 用户ID(填登录用户的userid)
  23114. in: query
  23115. name: userid
  23116. required: true
  23117. type: integer
  23118. - description: 关联状态 1:成功 2:失败 3:解绑
  23119. in: query
  23120. name: linkstatus
  23121. type: integer
  23122. - description: 期货订单号(模糊匹配)
  23123. in: query
  23124. name: tradeid
  23125. type: string
  23126. - description: 现货编号(模糊匹配)
  23127. in: query
  23128. name: contractno
  23129. type: string
  23130. - description: 期货账户(模糊匹配)
  23131. in: query
  23132. name: taname
  23133. type: string
  23134. produces:
  23135. - application/json
  23136. responses:
  23137. "200":
  23138. description: OK
  23139. schema:
  23140. items:
  23141. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  23142. type: array
  23143. "500":
  23144. description: Internal Server Error
  23145. schema:
  23146. $ref: '#/definitions/app.Response'
  23147. security:
  23148. - ApiKeyAuth: []
  23149. summary: 查询期现关联记录
  23150. tags:
  23151. - 企业风险管理v3(app)
  23152. /Ermcp3/QueryParamChangeApp:
  23153. get:
  23154. description: |-
  23155. 原型页面:
  23156. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  23157. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  23158. parameters:
  23159. - description: 用户ID
  23160. in: query
  23161. name: userid
  23162. required: true
  23163. type: integer
  23164. - description: 现货品种id
  23165. in: query
  23166. name: deliverygoodsid
  23167. type: integer
  23168. - description: 现货商品id
  23169. in: query
  23170. name: wrstandardid
  23171. type: integer
  23172. - description: 套保商品id
  23173. in: query
  23174. name: middlegoodsid
  23175. type: integer
  23176. - description: 操作类型 1:新增 2:修改
  23177. in: query
  23178. name: operatetype
  23179. type: integer
  23180. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  23181. in: query
  23182. name: paramchangetype
  23183. type: integer
  23184. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23185. in: query
  23186. name: ftstatus
  23187. type: string
  23188. produces:
  23189. - application/json
  23190. responses:
  23191. "200":
  23192. description: OK
  23193. schema:
  23194. items:
  23195. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  23196. type: array
  23197. "500":
  23198. description: Internal Server Error
  23199. schema:
  23200. $ref: '#/definitions/app.Response'
  23201. security:
  23202. - ApiKeyAuth: []
  23203. summary: 查询现货商品参数变更申请(流水)
  23204. tags:
  23205. - 企业风险管理v3(app)
  23206. /Ermcp3/QueryRootUserAccount:
  23207. get:
  23208. parameters:
  23209. - description: 用户ID
  23210. in: query
  23211. name: userid
  23212. required: true
  23213. type: integer
  23214. produces:
  23215. - application/json
  23216. responses:
  23217. "200":
  23218. description: OK
  23219. schema:
  23220. items:
  23221. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  23222. type: array
  23223. "500":
  23224. description: Internal Server Error
  23225. schema:
  23226. $ref: '#/definitions/app.Response'
  23227. security:
  23228. - ApiKeyAuth: []
  23229. summary: 查询顶级用户信息
  23230. tags:
  23231. - 企业风险管理v3(app)
  23232. /Ermcp3/QuerySCMiddleGoods:
  23233. get:
  23234. description: |-
  23235. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  23236. 现货编号 即 合同编号
  23237. parameters:
  23238. - description: 用户ID(填登录用户的userid)
  23239. in: query
  23240. name: userid
  23241. required: true
  23242. type: integer
  23243. - description: 买卖方向 0-买 1-卖
  23244. in: query
  23245. name: buyorsell
  23246. required: true
  23247. type: integer
  23248. - description: 商品组id
  23249. in: query
  23250. name: goodsgroupid
  23251. required: true
  23252. type: integer
  23253. - description: 业务类型 1:套保 2:套利
  23254. in: query
  23255. name: biztype
  23256. type: integer
  23257. - description: 现货编号(模糊匹配)
  23258. in: query
  23259. name: contractno
  23260. type: string
  23261. - description: 对手方(模糊匹配)
  23262. in: query
  23263. name: customername
  23264. type: string
  23265. - description: 现货商品名称(模糊匹配)
  23266. in: query
  23267. name: wrstandardname
  23268. type: string
  23269. produces:
  23270. - application/json
  23271. responses:
  23272. "200":
  23273. description: OK
  23274. schema:
  23275. items:
  23276. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  23277. type: array
  23278. "500":
  23279. description: Internal Server Error
  23280. schema:
  23281. $ref: '#/definitions/app.Response'
  23282. security:
  23283. - ApiKeyAuth: []
  23284. summary: 查询现货订单
  23285. tags:
  23286. - 企业风险管理v3(app)
  23287. /Ermcp3/QuerySpotContract:
  23288. get:
  23289. parameters:
  23290. - description: 用户id(当指定contractid, userid可不填)
  23291. in: query
  23292. name: userid
  23293. required: true
  23294. type: integer
  23295. - description: 用户类型 2-机构 7-企业成员
  23296. in: query
  23297. name: usertype
  23298. type: integer
  23299. - description: 合同类型 1-采购, -1-销售
  23300. in: query
  23301. name: contracttype
  23302. type: integer
  23303. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  23304. in: query
  23305. name: querytype
  23306. type: string
  23307. - description: 合同ID(SpotContractId)
  23308. in: query
  23309. name: contractid
  23310. type: string
  23311. - description: 合同编号(模糊匹配)
  23312. in: query
  23313. name: contractno
  23314. type: string
  23315. - description: 商品名称(模糊匹配)
  23316. in: query
  23317. name: wrstandardname
  23318. type: string
  23319. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  23320. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  23321. in: query
  23322. name: status
  23323. type: string
  23324. - description: 是否只查今日的合同 1-查今日合同
  23325. in: query
  23326. name: istoday
  23327. type: integer
  23328. produces:
  23329. - application/json
  23330. responses:
  23331. "200":
  23332. description: OK
  23333. schema:
  23334. items:
  23335. $ref: '#/definitions/models.Ermcp3Contract'
  23336. type: array
  23337. "500":
  23338. description: Internal Server Error
  23339. schema:
  23340. $ref: '#/definitions/app.Response'
  23341. security:
  23342. - ApiKeyAuth: []
  23343. summary: 查询现货合同
  23344. tags:
  23345. - 企业风险管理v3(app)
  23346. /Ermcp3/QuerySpotContractBS:
  23347. get:
  23348. parameters:
  23349. - description: 用户id
  23350. in: query
  23351. name: userid
  23352. required: true
  23353. type: integer
  23354. - description: 用户类型 2-机构 7-企业成员
  23355. in: query
  23356. name: usertype
  23357. type: integer
  23358. - description: 合同类型 1-采购, -1-销售
  23359. in: query
  23360. name: contracttype
  23361. required: true
  23362. type: integer
  23363. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  23364. in: query
  23365. name: querytype
  23366. type: integer
  23367. - description: 合同ID(SpotContractId)
  23368. in: query
  23369. name: contractid
  23370. type: string
  23371. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  23372. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  23373. in: query
  23374. name: status
  23375. type: string
  23376. - description: 是否只查今日的合同 1-查今日合同
  23377. in: query
  23378. name: istoday
  23379. type: integer
  23380. produces:
  23381. - application/json
  23382. responses:
  23383. "200":
  23384. description: OK
  23385. schema:
  23386. items:
  23387. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  23388. type: array
  23389. "500":
  23390. description: Internal Server Error
  23391. schema:
  23392. $ref: '#/definitions/app.Response'
  23393. security:
  23394. - ApiKeyAuth: []
  23395. summary: 查询合同(采购/销售)
  23396. tags:
  23397. - 企业风险管理v3(app)
  23398. /Ermcp3/QuerySpotGoodsPrice:
  23399. get:
  23400. parameters:
  23401. - description: 用户ID
  23402. in: query
  23403. name: userid
  23404. required: true
  23405. type: integer
  23406. produces:
  23407. - application/json
  23408. responses:
  23409. "200":
  23410. description: OK
  23411. schema:
  23412. items:
  23413. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  23414. type: array
  23415. "500":
  23416. description: Internal Server Error
  23417. schema:
  23418. $ref: '#/definitions/app.Response'
  23419. security:
  23420. - ApiKeyAuth: []
  23421. summary: 查询现货市价(现货市价)
  23422. tags:
  23423. - 企业风险管理v3(app)
  23424. /Ermcp3/QuerySpotGoodsPriceLog:
  23425. get:
  23426. parameters:
  23427. - description: 用户ID
  23428. in: query
  23429. name: userid
  23430. required: true
  23431. type: integer
  23432. - description: 现货商品ID
  23433. in: query
  23434. name: deliverygoodsid
  23435. required: true
  23436. type: integer
  23437. - description: 品牌ID
  23438. in: query
  23439. name: brandid
  23440. type: integer
  23441. - description: 品类ID
  23442. in: query
  23443. name: wrstandardid
  23444. type: integer
  23445. produces:
  23446. - application/json
  23447. responses:
  23448. "200":
  23449. description: OK
  23450. schema:
  23451. items:
  23452. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  23453. type: array
  23454. "500":
  23455. description: Internal Server Error
  23456. schema:
  23457. $ref: '#/definitions/app.Response'
  23458. security:
  23459. - ApiKeyAuth: []
  23460. summary: 查询现货市价详情(现货市价/详情)
  23461. tags:
  23462. - 企业风险管理v3(app)
  23463. /Ermcp3/QuerySubTaaccount:
  23464. get:
  23465. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  23466. parameters:
  23467. - description: 母账号id
  23468. in: query
  23469. name: parentaccountid
  23470. type: integer
  23471. - description: 母账号代码
  23472. in: query
  23473. name: parentaccountcode
  23474. type: string
  23475. produces:
  23476. - application/json
  23477. responses:
  23478. "200":
  23479. description: OK
  23480. schema:
  23481. items:
  23482. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  23483. type: array
  23484. "500":
  23485. description: Internal Server Error
  23486. schema:
  23487. $ref: '#/definitions/app.Response'
  23488. security:
  23489. - ApiKeyAuth: []
  23490. summary: 查询期货子账户
  23491. tags:
  23492. - 企业风险管理v3(app)
  23493. /Erms2/QueryArbitrageStrategy:
  23494. get:
  23495. parameters:
  23496. - description: 账户ID
  23497. in: query
  23498. name: userid
  23499. required: true
  23500. type: integer
  23501. - description: 商品组ID(品种ID)
  23502. in: query
  23503. name: goodsgroupid
  23504. type: string
  23505. produces:
  23506. - application/json
  23507. responses:
  23508. "200":
  23509. description: OK
  23510. schema:
  23511. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  23512. "500":
  23513. description: Internal Server Error
  23514. schema:
  23515. $ref: '#/definitions/app.Response'
  23516. security:
  23517. - ApiKeyAuth: []
  23518. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  23519. tags:
  23520. - 风险管理
  23521. /Erms2/QueryInnerTradeDetail:
  23522. get:
  23523. parameters:
  23524. - description: 资金账户
  23525. in: query
  23526. name: accountid
  23527. required: true
  23528. type: integer
  23529. produces:
  23530. - application/json
  23531. responses:
  23532. "200":
  23533. description: OK
  23534. schema:
  23535. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  23536. "500":
  23537. description: Internal Server Error
  23538. schema:
  23539. $ref: '#/definitions/app.Response'
  23540. security:
  23541. - ApiKeyAuth: []
  23542. summary: 查询内部成交单信息
  23543. tags:
  23544. - 风险管理
  23545. /Erms2/QuerySpotContract:
  23546. get:
  23547. parameters:
  23548. - description: 策略申请ID
  23549. in: query
  23550. name: asapplyid
  23551. required: true
  23552. type: integer
  23553. - description: 现货合同ID
  23554. in: query
  23555. name: spotcontractid
  23556. type: integer
  23557. produces:
  23558. - application/json
  23559. responses:
  23560. "200":
  23561. description: OK
  23562. schema:
  23563. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  23564. "500":
  23565. description: Internal Server Error
  23566. schema:
  23567. $ref: '#/definitions/app.Response'
  23568. security:
  23569. - ApiKeyAuth: []
  23570. summary: 查询现货合同表信息(指定策略ID、未结束的)
  23571. tags:
  23572. - 风险管理
  23573. /Erms3/AddErms2ASApply:
  23574. post:
  23575. parameters:
  23576. - description: 申请参数
  23577. in: body
  23578. name: jsonBody
  23579. required: true
  23580. schema:
  23581. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  23582. produces:
  23583. - application/json
  23584. responses:
  23585. "200":
  23586. description: OK
  23587. schema:
  23588. $ref: '#/definitions/app.Response'
  23589. "500":
  23590. description: Internal Server Error
  23591. schema:
  23592. $ref: '#/definitions/app.Response'
  23593. security:
  23594. - ApiKeyAuth: []
  23595. summary: 新增期现套利业务申请
  23596. tags:
  23597. - 风险管理v3
  23598. /Erms3/AddErms2SpotTradeApply:
  23599. post:
  23600. parameters:
  23601. - description: 申请参数
  23602. in: body
  23603. name: jsonBody
  23604. required: true
  23605. schema:
  23606. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  23607. produces:
  23608. - application/json
  23609. responses:
  23610. "200":
  23611. description: OK
  23612. schema:
  23613. $ref: '#/definitions/app.Response'
  23614. "500":
  23615. description: Internal Server Error
  23616. schema:
  23617. $ref: '#/definitions/app.Response'
  23618. security:
  23619. - ApiKeyAuth: []
  23620. summary: 新增现货贸易业务申请
  23621. tags:
  23622. - 风险管理v3
  23623. /Erms3/AddSpotContractApply:
  23624. post:
  23625. parameters:
  23626. - description: 申请参数
  23627. in: body
  23628. name: jsonBody
  23629. required: true
  23630. schema:
  23631. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  23632. produces:
  23633. - application/json
  23634. responses:
  23635. "200":
  23636. description: OK
  23637. schema:
  23638. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  23639. "500":
  23640. description: Internal Server Error
  23641. schema:
  23642. $ref: '#/definitions/app.Response'
  23643. security:
  23644. - ApiKeyAuth: []
  23645. summary: 新增现货合同申请
  23646. tags:
  23647. - 风险管理v3
  23648. /Erms3/AddUserInfoApply:
  23649. post:
  23650. parameters:
  23651. - description: 用户信息
  23652. in: body
  23653. name: jsonBody
  23654. required: true
  23655. schema:
  23656. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  23657. produces:
  23658. - application/json
  23659. responses:
  23660. "200":
  23661. description: OK
  23662. schema:
  23663. $ref: '#/definitions/app.Response'
  23664. "500":
  23665. description: Internal Server Error
  23666. schema:
  23667. $ref: '#/definitions/app.Response'
  23668. security:
  23669. - ApiKeyAuth: []
  23670. summary: 新增客户申请
  23671. tags:
  23672. - 风险管理v3
  23673. /Erms3/DeleteUserInfoApply:
  23674. get:
  23675. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  23676. parameters:
  23677. - description: 用户ID
  23678. in: query
  23679. name: userID
  23680. required: true
  23681. type: integer
  23682. produces:
  23683. - application/json
  23684. responses:
  23685. "200":
  23686. description: OK
  23687. schema:
  23688. $ref: '#/definitions/app.Response'
  23689. "500":
  23690. description: Internal Server Error
  23691. schema:
  23692. $ref: '#/definitions/app.Response'
  23693. security:
  23694. - ApiKeyAuth: []
  23695. summary: 删除客户申请
  23696. tags:
  23697. - 风险管理v3
  23698. /Erms3/ModifyUserInfoApply:
  23699. post:
  23700. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  23701. int, "userstate": 2 }'
  23702. parameters:
  23703. - description: 用户信息
  23704. in: body
  23705. name: jsonBody
  23706. required: true
  23707. schema:
  23708. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  23709. produces:
  23710. - application/json
  23711. responses:
  23712. "200":
  23713. description: OK
  23714. schema:
  23715. $ref: '#/definitions/app.Response'
  23716. "500":
  23717. description: Internal Server Error
  23718. schema:
  23719. $ref: '#/definitions/app.Response'
  23720. security:
  23721. - ApiKeyAuth: []
  23722. summary: 修改客户申请
  23723. tags:
  23724. - 风险管理v3
  23725. /Erms3/QueryBusinessInfo:
  23726. get:
  23727. parameters:
  23728. - description: 资金账号ID列表,用逗号分隔
  23729. in: query
  23730. name: accountids
  23731. required: true
  23732. type: string
  23733. - description: 状态,0为未结束 1为已结束
  23734. in: query
  23735. name: status
  23736. required: true
  23737. type: integer
  23738. produces:
  23739. - application/json
  23740. responses:
  23741. "200":
  23742. description: OK
  23743. schema:
  23744. items:
  23745. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  23746. type: array
  23747. "500":
  23748. description: Internal Server Error
  23749. schema:
  23750. $ref: '#/definitions/app.Response'
  23751. security:
  23752. - ApiKeyAuth: []
  23753. summary: 查询业务表单数据
  23754. tags:
  23755. - 风险管理v3
  23756. /Erms3/QueryPendingAuditContract:
  23757. get:
  23758. parameters:
  23759. - description: 资金账号ID列表,逗号隔开
  23760. in: query
  23761. name: accountids
  23762. required: true
  23763. type: string
  23764. - description: 合同类型 1-采购 -1-销售
  23765. in: query
  23766. name: contracttype
  23767. required: true
  23768. type: integer
  23769. - description: 合同模式 1-普通 2-回购
  23770. in: query
  23771. name: contractmode
  23772. required: true
  23773. type: integer
  23774. produces:
  23775. - application/json
  23776. responses:
  23777. "200":
  23778. description: OK
  23779. schema:
  23780. items:
  23781. $ref: '#/definitions/erms3.QryAuditContractRsp'
  23782. type: array
  23783. "500":
  23784. description: Internal Server Error
  23785. schema:
  23786. $ref: '#/definitions/app.Response'
  23787. security:
  23788. - ApiKeyAuth: []
  23789. summary: 查询待审核合同
  23790. tags:
  23791. - 风险管理v3
  23792. /Erms3/QueryPendingBusiness:
  23793. get:
  23794. parameters:
  23795. - description: 资金账号ID列表,逗号隔开
  23796. in: query
  23797. name: accountids
  23798. required: true
  23799. type: string
  23800. produces:
  23801. - application/json
  23802. responses:
  23803. "200":
  23804. description: OK
  23805. schema:
  23806. items:
  23807. $ref: '#/definitions/erms3.QryPendingBizRsp'
  23808. type: array
  23809. "500":
  23810. description: Internal Server Error
  23811. schema:
  23812. $ref: '#/definitions/app.Response'
  23813. security:
  23814. - ApiKeyAuth: []
  23815. summary: 查询待审核基差贸易业务
  23816. tags:
  23817. - 风险管理v3
  23818. /Erms3/QuerySpotContractAppleForm:
  23819. get:
  23820. parameters:
  23821. - description: 登录账号
  23822. in: query
  23823. name: loginID
  23824. required: true
  23825. type: integer
  23826. produces:
  23827. - application/json
  23828. responses:
  23829. "200":
  23830. description: OK
  23831. schema:
  23832. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  23833. "500":
  23834. description: Internal Server Error
  23835. schema:
  23836. $ref: '#/definitions/app.Response'
  23837. security:
  23838. - ApiKeyAuth: []
  23839. summary: 查询合同申请表单数据
  23840. tags:
  23841. - 风险管理v3
  23842. /Erms3/QuerySpotContractDetail:
  23843. get:
  23844. parameters:
  23845. - description: 资金账号ID列表,用逗号分隔
  23846. in: query
  23847. name: accountids
  23848. required: true
  23849. type: string
  23850. - description: 合同类型,1为采购合同 -1为销售合同
  23851. in: query
  23852. name: contracttype
  23853. required: true
  23854. type: integer
  23855. - description: 合同模式,1为普通合同 2为回购销售合同
  23856. in: query
  23857. name: contractmode
  23858. required: true
  23859. type: integer
  23860. - description: 状态,0为履约中 1为已完成
  23861. in: query
  23862. name: status
  23863. required: true
  23864. type: integer
  23865. produces:
  23866. - application/json
  23867. responses:
  23868. "200":
  23869. description: OK
  23870. schema:
  23871. items:
  23872. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  23873. type: array
  23874. "500":
  23875. description: Internal Server Error
  23876. schema:
  23877. $ref: '#/definitions/app.Response'
  23878. security:
  23879. - ApiKeyAuth: []
  23880. summary: 查询合同详细信息
  23881. tags:
  23882. - 风险管理v3
  23883. /Erms3/QueryUserInfoApplies:
  23884. get:
  23885. parameters:
  23886. - description: 页码
  23887. in: query
  23888. name: page
  23889. type: integer
  23890. - description: 每页条数
  23891. in: query
  23892. name: pagesize
  23893. type: integer
  23894. - description: 客户名称,支持模糊查询
  23895. in: query
  23896. name: userName
  23897. type: string
  23898. produces:
  23899. - application/json
  23900. responses:
  23901. "200":
  23902. description: OK
  23903. schema:
  23904. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  23905. "500":
  23906. description: Internal Server Error
  23907. schema:
  23908. $ref: '#/definitions/app.Response'
  23909. security:
  23910. - ApiKeyAuth: []
  23911. summary: 客户申请信息查询
  23912. tags:
  23913. - 风险管理v3
  23914. /Erms3/QueryUserInfos:
  23915. get:
  23916. parameters:
  23917. - description: 页码
  23918. in: query
  23919. name: page
  23920. type: integer
  23921. - description: 每页条数
  23922. in: query
  23923. name: pagesize
  23924. type: integer
  23925. - description: 客户名称,支持模糊查询
  23926. in: query
  23927. name: userName
  23928. type: string
  23929. produces:
  23930. - application/json
  23931. responses:
  23932. "200":
  23933. description: OK
  23934. schema:
  23935. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  23936. "500":
  23937. description: Internal Server Error
  23938. schema:
  23939. $ref: '#/definitions/app.Response'
  23940. security:
  23941. - ApiKeyAuth: []
  23942. summary: 客户信息查询
  23943. tags:
  23944. - 风险管理v3
  23945. /HSBY/GetHsbyMyCount:
  23946. get:
  23947. description: 说明: 不包括已完成的数量。
  23948. parameters:
  23949. - description: 资金账户列表,格式:1,2,3
  23950. in: query
  23951. name: accountIDs
  23952. required: true
  23953. type: string
  23954. produces:
  23955. - application/json
  23956. responses:
  23957. "200":
  23958. description: OK
  23959. schema:
  23960. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  23961. "500":
  23962. description: Internal Server Error
  23963. schema:
  23964. $ref: '#/definitions/app.Response'
  23965. security:
  23966. - ApiKeyAuth: []
  23967. summary: 获取我的订单与包裹数量
  23968. tags:
  23969. - 定制【海商报业】
  23970. /HSBY/QueryClientFixedADConfigs:
  23971. get:
  23972. produces:
  23973. - application/json
  23974. responses:
  23975. "200":
  23976. description: OK
  23977. schema:
  23978. $ref: '#/definitions/models.Clientfixedadconfig'
  23979. "500":
  23980. description: Internal Server Error
  23981. schema:
  23982. $ref: '#/definitions/app.Response'
  23983. security:
  23984. - ApiKeyAuth: []
  23985. summary: 获取终端固定广告配置
  23986. tags:
  23987. - 定制【海商报业】
  23988. /HSBY/QueryHsbyBuyMyTradeDetail:
  23989. get:
  23990. parameters:
  23991. - description: 页码
  23992. in: query
  23993. name: page
  23994. type: integer
  23995. - description: 每页条数
  23996. in: query
  23997. name: pagesize
  23998. type: integer
  23999. - description: 资金账户列表,格式:1,2,3
  24000. in: query
  24001. name: accountIDs
  24002. required: true
  24003. type: string
  24004. produces:
  24005. - application/json
  24006. responses:
  24007. "200":
  24008. description: OK
  24009. schema:
  24010. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  24011. "500":
  24012. description: Internal Server Error
  24013. schema:
  24014. $ref: '#/definitions/app.Response'
  24015. security:
  24016. - ApiKeyAuth: []
  24017. summary: 查询"我的订单 - 已完成"单据信息
  24018. tags:
  24019. - 定制【海商报业】
  24020. /HSBY/QueryHsbyGoodsOrderDetails:
  24021. get:
  24022. description: 说明:查询结果已按委托价格和委托时间排序
  24023. parameters:
  24024. - description: 商品ID
  24025. in: query
  24026. name: goodsID
  24027. required: true
  24028. type: integer
  24029. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  24030. in: query
  24031. name: accountIDs
  24032. type: string
  24033. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  24034. in: query
  24035. name: buyOrSell
  24036. type: integer
  24037. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  24038. in: query
  24039. name: price
  24040. type: number
  24041. - description: 档位,不传则默认为3档
  24042. in: query
  24043. name: speed
  24044. type: integer
  24045. produces:
  24046. - application/json
  24047. responses:
  24048. "200":
  24049. description: OK
  24050. schema:
  24051. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  24052. "500":
  24053. description: Internal Server Error
  24054. schema:
  24055. $ref: '#/definitions/app.Response'
  24056. security:
  24057. - ApiKeyAuth: []
  24058. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  24059. tags:
  24060. - 定制【海商报业】
  24061. /HSBY/QueryHsbyListingGoodsDetail:
  24062. get:
  24063. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  24064. parameters:
  24065. - description: 商品ID
  24066. in: query
  24067. name: goodsID
  24068. required: true
  24069. type: integer
  24070. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  24071. in: query
  24072. name: accountID
  24073. type: integer
  24074. produces:
  24075. - application/json
  24076. responses:
  24077. "200":
  24078. description: OK
  24079. schema:
  24080. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  24081. "500":
  24082. description: Internal Server Error
  24083. schema:
  24084. $ref: '#/definitions/app.Response'
  24085. security:
  24086. - ApiKeyAuth: []
  24087. summary: 查询二级市场(挂牌点选)商品信息详情
  24088. tags:
  24089. - 定制【海商报业】
  24090. /HSBY/QueryHsbyMarketGoodsDetail:
  24091. get:
  24092. parameters:
  24093. - description: 委托单号
  24094. in: query
  24095. name: orderID
  24096. required: true
  24097. type: integer
  24098. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  24099. in: query
  24100. name: accountID
  24101. type: integer
  24102. produces:
  24103. - application/json
  24104. responses:
  24105. "200":
  24106. description: OK
  24107. schema:
  24108. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  24109. "500":
  24110. description: Internal Server Error
  24111. schema:
  24112. $ref: '#/definitions/app.Response'
  24113. security:
  24114. - ApiKeyAuth: []
  24115. summary: 查询三级市场(商城)商品信息详情
  24116. tags:
  24117. - 定制【海商报业】
  24118. /HSBY/QueryHsbyMarketGoodses:
  24119. get:
  24120. parameters:
  24121. - description: 页码
  24122. in: query
  24123. name: page
  24124. type: integer
  24125. - description: 每页条数
  24126. in: query
  24127. name: pagesize
  24128. type: integer
  24129. - description: 市场ID列表,格式:1,2,3
  24130. in: query
  24131. name: marketIDs
  24132. required: true
  24133. type: string
  24134. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  24135. in: query
  24136. name: accountID
  24137. required: true
  24138. type: integer
  24139. - description: 类别ID
  24140. in: query
  24141. name: categoryID
  24142. type: integer
  24143. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  24144. in: query
  24145. name: goodsIDs
  24146. type: string
  24147. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  24148. in: query
  24149. name: couponTypeID
  24150. type: integer
  24151. produces:
  24152. - application/json
  24153. responses:
  24154. "200":
  24155. description: OK
  24156. schema:
  24157. $ref: '#/definitions/models.HsbyMarketGoods'
  24158. "500":
  24159. description: Internal Server Error
  24160. schema:
  24161. $ref: '#/definitions/app.Response'
  24162. security:
  24163. - ApiKeyAuth: []
  24164. summary: 查询特卖商品列表(三级商城)
  24165. tags:
  24166. - 定制【海商报业】
  24167. /HSBY/QueryHsbyMarkets:
  24168. get:
  24169. produces:
  24170. - application/json
  24171. responses:
  24172. "200":
  24173. description: OK
  24174. schema:
  24175. $ref: '#/definitions/models.HsbyMarketInfo'
  24176. "500":
  24177. description: Internal Server Error
  24178. schema:
  24179. $ref: '#/definitions/app.Response'
  24180. security:
  24181. - ApiKeyAuth: []
  24182. summary: 查询海商报业相关市场信息
  24183. tags:
  24184. - 定制【海商报业】
  24185. /HSBY/QueryHsbyMyBuyOrderDetails:
  24186. get:
  24187. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  24188. parameters:
  24189. - description: 资金账户列表,格式:1,2,3
  24190. in: query
  24191. name: accountIDs
  24192. required: true
  24193. type: string
  24194. produces:
  24195. - application/json
  24196. responses:
  24197. "200":
  24198. description: OK
  24199. schema:
  24200. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  24201. "500":
  24202. description: Internal Server Error
  24203. schema:
  24204. $ref: '#/definitions/app.Response'
  24205. security:
  24206. - ApiKeyAuth: []
  24207. summary: 查询“我的订单”信息
  24208. tags:
  24209. - 定制【海商报业】
  24210. /HSBY/QueryHsbyMyGoods:
  24211. get:
  24212. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  24213. parameters:
  24214. - description: 资金账户列表,格式:1,2,3
  24215. in: query
  24216. name: accountIDs
  24217. required: true
  24218. type: string
  24219. produces:
  24220. - application/json
  24221. responses:
  24222. "200":
  24223. description: OK
  24224. schema:
  24225. $ref: '#/definitions/models.HsbyMyGoods'
  24226. "500":
  24227. description: Internal Server Error
  24228. schema:
  24229. $ref: '#/definitions/app.Response'
  24230. security:
  24231. - ApiKeyAuth: []
  24232. summary: 查询“我的商品”信息
  24233. tags:
  24234. - 定制【海商报业】
  24235. /HSBY/QueryHsbyMyPackages:
  24236. get:
  24237. parameters:
  24238. - description: 资金账户列表,格式:1,2,3
  24239. in: query
  24240. name: accountIDs
  24241. required: true
  24242. type: string
  24243. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  24244. in: query
  24245. name: takeOrderStatus
  24246. type: integer
  24247. produces:
  24248. - application/json
  24249. responses:
  24250. "200":
  24251. description: OK
  24252. schema:
  24253. $ref: '#/definitions/models.HsbyMyPackage'
  24254. "500":
  24255. description: Internal Server Error
  24256. schema:
  24257. $ref: '#/definitions/app.Response'
  24258. security:
  24259. - ApiKeyAuth: []
  24260. summary: 查询我的包裹信息
  24261. tags:
  24262. - 定制【海商报业】
  24263. /HSBY/QueryHsbyPreGoodsDetail:
  24264. get:
  24265. parameters:
  24266. - description: 商品ID
  24267. in: query
  24268. name: goodsID
  24269. required: true
  24270. type: integer
  24271. - description: 资金账户,主要用于获取预售商品购买上限
  24272. in: query
  24273. name: accountID
  24274. type: integer
  24275. produces:
  24276. - application/json
  24277. responses:
  24278. "200":
  24279. description: OK
  24280. schema:
  24281. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  24282. "500":
  24283. description: Internal Server Error
  24284. schema:
  24285. $ref: '#/definitions/app.Response'
  24286. security:
  24287. - ApiKeyAuth: []
  24288. summary: 查询一级市场(预售)商品信息详情
  24289. tags:
  24290. - 定制【海商报业】
  24291. /HSBY/QueryHsbyPreGoodses:
  24292. get:
  24293. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  24294. parameters:
  24295. - description: 页码
  24296. in: query
  24297. name: page
  24298. type: integer
  24299. - description: 每页条数
  24300. in: query
  24301. name: pagesize
  24302. type: integer
  24303. - description: 市场ID列表,格式:1,2,3
  24304. in: query
  24305. name: marketIDs
  24306. required: true
  24307. type: string
  24308. - description: 目的地(省)ID
  24309. in: query
  24310. name: descProvinceID
  24311. type: integer
  24312. - description: 目的地(市)ID
  24313. in: query
  24314. name: descCityID
  24315. type: integer
  24316. produces:
  24317. - application/json
  24318. responses:
  24319. "200":
  24320. description: OK
  24321. schema:
  24322. $ref: '#/definitions/models.HsbyPreGoods'
  24323. "500":
  24324. description: Internal Server Error
  24325. schema:
  24326. $ref: '#/definitions/app.Response'
  24327. security:
  24328. - ApiKeyAuth: []
  24329. summary: 查询新品上市商品列表(一级市场预售)
  24330. tags:
  24331. - 定制【海商报业】
  24332. /HSBY/QueryHsbySellMyDetails:
  24333. get:
  24334. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  24335. parameters:
  24336. - description: 页码
  24337. in: query
  24338. name: page
  24339. type: integer
  24340. - description: 每页条数
  24341. in: query
  24342. name: pagesize
  24343. type: integer
  24344. - description: 资金账户列表,格式:1,2,3
  24345. in: query
  24346. name: accountIDs
  24347. required: true
  24348. type: string
  24349. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  24350. in: query
  24351. name: orderType
  24352. type: integer
  24353. produces:
  24354. - application/json
  24355. responses:
  24356. "200":
  24357. description: OK
  24358. schema:
  24359. $ref: '#/definitions/models.HsbySellMyDetail'
  24360. "500":
  24361. description: Internal Server Error
  24362. schema:
  24363. $ref: '#/definitions/app.Response'
  24364. security:
  24365. - ApiKeyAuth: []
  24366. summary: 查询"我的闲置"单据信息
  24367. tags:
  24368. - 定制【海商报业】
  24369. /HSBY/QueryHsbyTopGoodses:
  24370. get:
  24371. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  24372. parameters:
  24373. - description: 页码
  24374. in: query
  24375. name: page
  24376. type: integer
  24377. - description: 每页条数
  24378. in: query
  24379. name: pagesize
  24380. type: integer
  24381. - description: 市场ID列表,格式:1,2,3
  24382. in: query
  24383. name: marketIDs
  24384. required: true
  24385. type: string
  24386. - description: 目的地(省)ID
  24387. in: query
  24388. name: descProvinceID
  24389. type: integer
  24390. - description: 目的地(市)ID
  24391. in: query
  24392. name: descCityID
  24393. type: integer
  24394. produces:
  24395. - application/json
  24396. responses:
  24397. "200":
  24398. description: OK
  24399. schema:
  24400. $ref: '#/definitions/models.HsbyTopGoods'
  24401. "500":
  24402. description: Internal Server Error
  24403. schema:
  24404. $ref: '#/definitions/app.Response'
  24405. security:
  24406. - ApiKeyAuth: []
  24407. summary: 查询热卖商品列表(二级市场挂牌点选)
  24408. tags:
  24409. - 定制【海商报业】
  24410. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  24411. get:
  24412. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  24413. parameters:
  24414. - description: 商品ID
  24415. in: query
  24416. name: goodsID
  24417. required: true
  24418. type: integer
  24419. produces:
  24420. - application/json
  24421. responses:
  24422. "200":
  24423. description: OK
  24424. schema:
  24425. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  24426. "500":
  24427. description: Internal Server Error
  24428. schema:
  24429. $ref: '#/definitions/app.Response'
  24430. security:
  24431. - ApiKeyAuth: []
  24432. summary: 查询游客三级市场(商城)商品信息详情
  24433. tags:
  24434. - 定制【海商报业】
  24435. /HSBY/QueryHsbyVisitorMarketGoodses:
  24436. get:
  24437. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  24438. parameters:
  24439. - description: 页码
  24440. in: query
  24441. name: page
  24442. type: integer
  24443. - description: 每页条数
  24444. in: query
  24445. name: pagesize
  24446. type: integer
  24447. - description: 市场ID列表,格式:1,2,3
  24448. in: query
  24449. name: marketIDs
  24450. required: true
  24451. type: string
  24452. - description: 类别ID
  24453. in: query
  24454. name: categoryID
  24455. type: integer
  24456. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  24457. in: query
  24458. name: goodsIDs
  24459. type: string
  24460. produces:
  24461. - application/json
  24462. responses:
  24463. "200":
  24464. description: OK
  24465. schema:
  24466. $ref: '#/definitions/models.HsbyMarketGoods'
  24467. "500":
  24468. description: Internal Server Error
  24469. schema:
  24470. $ref: '#/definitions/app.Response'
  24471. security:
  24472. - ApiKeyAuth: []
  24473. summary: 查询游客特卖商品列表(三级商城)
  24474. tags:
  24475. - 定制【海商报业】
  24476. /HSBY/QueryMyCollectionOrders:
  24477. get:
  24478. parameters:
  24479. - description: 页码
  24480. in: query
  24481. name: page
  24482. type: integer
  24483. - description: 每页条数
  24484. in: query
  24485. name: pagesize
  24486. type: integer
  24487. - description: 资金账户,格式:1,2,3
  24488. in: query
  24489. name: accountIDs
  24490. required: true
  24491. type: string
  24492. produces:
  24493. - application/json
  24494. responses:
  24495. "200":
  24496. description: OK
  24497. schema:
  24498. $ref: '#/definitions/models.HsbySellCollectionOrder'
  24499. "500":
  24500. description: Internal Server Error
  24501. schema:
  24502. $ref: '#/definitions/app.Response'
  24503. security:
  24504. - ApiKeyAuth: []
  24505. summary: 我的闲置中收款信息查询
  24506. tags:
  24507. - 定制【海商报业】
  24508. /HSBY/QueryMyCouponHolds:
  24509. get:
  24510. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  24511. parameters:
  24512. - description: 资金账户列表,格式:1,2,3
  24513. in: query
  24514. name: accountIDs
  24515. required: true
  24516. type: string
  24517. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  24518. in: query
  24519. name: holdStatus
  24520. type: string
  24521. produces:
  24522. - application/json
  24523. responses:
  24524. "200":
  24525. description: OK
  24526. schema:
  24527. $ref: '#/definitions/models.MyCouponHold'
  24528. "500":
  24529. description: Internal Server Error
  24530. schema:
  24531. $ref: '#/definitions/app.Response'
  24532. security:
  24533. - ApiKeyAuth: []
  24534. summary: 我的优惠卷持仓查询
  24535. tags:
  24536. - 定制【海商报业】
  24537. /HSBY/QueryMyCoupons:
  24538. get:
  24539. parameters:
  24540. - description: 资金账户列表,格式:1,2,3
  24541. in: query
  24542. name: accountIDs
  24543. required: true
  24544. type: string
  24545. - description: 商品ID, 一般与sellUserID配套传入
  24546. in: query
  24547. name: goodsID
  24548. type: integer
  24549. - description: 卖方UserID
  24550. in: query
  24551. name: sellUserID
  24552. type: integer
  24553. produces:
  24554. - application/json
  24555. responses:
  24556. "200":
  24557. description: OK
  24558. schema:
  24559. $ref: '#/definitions/models.MyCoupon'
  24560. "500":
  24561. description: Internal Server Error
  24562. schema:
  24563. $ref: '#/definitions/app.Response'
  24564. security:
  24565. - ApiKeyAuth: []
  24566. summary: 我的优惠卷查询
  24567. tags:
  24568. - 定制【海商报业】
  24569. /HSBY/QueryMyPayOrders:
  24570. get:
  24571. parameters:
  24572. - description: 页码
  24573. in: query
  24574. name: page
  24575. type: integer
  24576. - description: 每页条数
  24577. in: query
  24578. name: pagesize
  24579. type: integer
  24580. - description: 资金账户列表,格式:1,2,3
  24581. in: query
  24582. name: accountIDs
  24583. required: true
  24584. type: string
  24585. - description: 买方委托单号
  24586. in: query
  24587. name: buyOrderID
  24588. type: integer
  24589. - description: 卖方委托单号
  24590. in: query
  24591. name: sellOrderID
  24592. type: integer
  24593. produces:
  24594. - application/json
  24595. responses:
  24596. "200":
  24597. description: OK
  24598. schema:
  24599. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  24600. "500":
  24601. description: Internal Server Error
  24602. schema:
  24603. $ref: '#/definitions/app.Response'
  24604. security:
  24605. - ApiKeyAuth: []
  24606. summary: 获取我的订单中待付款信息
  24607. tags:
  24608. - 定制【海商报业】
  24609. /HSBY/QueryMyUsedCoupon:
  24610. get:
  24611. parameters:
  24612. - description: 资金账户列表,格式:1,2,3
  24613. in: query
  24614. name: accountIDs
  24615. required: true
  24616. type: string
  24617. produces:
  24618. - application/json
  24619. responses:
  24620. "200":
  24621. description: OK
  24622. schema:
  24623. $ref: '#/definitions/models.MyUsedCoupon'
  24624. "500":
  24625. description: Internal Server Error
  24626. schema:
  24627. $ref: '#/definitions/app.Response'
  24628. security:
  24629. - ApiKeyAuth: []
  24630. summary: 已使用优惠卷查询
  24631. tags:
  24632. - 定制【海商报业】
  24633. /HSBY/QueryProvincesAndCities:
  24634. get:
  24635. description: 查询结果只包括二级市场商品已关连的省市信息。
  24636. parameters:
  24637. - description: 省ID
  24638. in: query
  24639. name: provinceID
  24640. type: integer
  24641. produces:
  24642. - application/json
  24643. responses:
  24644. "200":
  24645. description: OK
  24646. schema:
  24647. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  24648. "500":
  24649. description: Internal Server Error
  24650. schema:
  24651. $ref: '#/definitions/app.Response'
  24652. security:
  24653. - ApiKeyAuth: []
  24654. summary: 查询省市信息(不包括区)
  24655. tags:
  24656. - 定制【海商报业】
  24657. /HSBY/SetHsbyMyPackagesStatus:
  24658. post:
  24659. parameters:
  24660. - description: 提货单号
  24661. in: query
  24662. name: takeOrderID
  24663. required: true
  24664. type: string
  24665. - description: 资金账号
  24666. in: query
  24667. name: accountID
  24668. required: true
  24669. type: integer
  24670. produces:
  24671. - application/json
  24672. responses:
  24673. "200":
  24674. description: OK
  24675. schema:
  24676. $ref: '#/definitions/app.Response'
  24677. "500":
  24678. description: Internal Server Error
  24679. schema:
  24680. $ref: '#/definitions/app.Response'
  24681. security:
  24682. - ApiKeyAuth: []
  24683. summary: 设置我的包裹已收货状态
  24684. tags:
  24685. - 定制【海商报业】
  24686. /Market/GetAllExExchanges:
  24687. get:
  24688. produces:
  24689. - application/json
  24690. responses:
  24691. "200":
  24692. description: OK
  24693. schema:
  24694. $ref: '#/definitions/models.Goods'
  24695. "500":
  24696. description: Internal Server Error
  24697. schema:
  24698. $ref: '#/definitions/app.Response'
  24699. security:
  24700. - ApiKeyAuth: []
  24701. summary: 获取所有外部交易所信息
  24702. tags:
  24703. - 通用市场
  24704. /Market/QueryGoodsesByLoginID:
  24705. get:
  24706. parameters:
  24707. - description: 登录账号
  24708. in: query
  24709. name: loginID
  24710. required: true
  24711. type: integer
  24712. - description: 市场ID列表,格式:1,2,3
  24713. in: query
  24714. name: marketIDs
  24715. type: string
  24716. produces:
  24717. - application/json
  24718. responses:
  24719. "200":
  24720. description: OK
  24721. schema:
  24722. $ref: '#/definitions/models.Goods'
  24723. "500":
  24724. description: Internal Server Error
  24725. schema:
  24726. $ref: '#/definitions/app.Response'
  24727. security:
  24728. - ApiKeyAuth: []
  24729. summary: 获取登录账号有权限的商品信息
  24730. tags:
  24731. - 通用市场
  24732. /Market/QueryMarketRun:
  24733. get:
  24734. parameters:
  24735. - description: 市场ID,不传返回所有
  24736. in: query
  24737. name: marketID
  24738. type: integer
  24739. produces:
  24740. - application/json
  24741. responses:
  24742. "200":
  24743. description: OK
  24744. schema:
  24745. $ref: '#/definitions/models.Marketrun'
  24746. "500":
  24747. description: Internal Server Error
  24748. schema:
  24749. $ref: '#/definitions/app.Response'
  24750. security:
  24751. - ApiKeyAuth: []
  24752. summary: 查询市场运行信息
  24753. tags:
  24754. - 通用市场
  24755. /Market/QueryMarketsByLoginID:
  24756. get:
  24757. parameters:
  24758. - description: 登录账号
  24759. in: query
  24760. name: loginID
  24761. required: true
  24762. type: integer
  24763. produces:
  24764. - application/json
  24765. responses:
  24766. "200":
  24767. description: OK
  24768. schema:
  24769. $ref: '#/definitions/models.Market'
  24770. "500":
  24771. description: Internal Server Error
  24772. schema:
  24773. $ref: '#/definitions/app.Response'
  24774. security:
  24775. - ApiKeyAuth: []
  24776. summary: 获取登录账号有权限的市场信息
  24777. tags:
  24778. - 通用市场
  24779. /Order/QueryHisTradeDetail:
  24780. get:
  24781. parameters:
  24782. - description: 资金账户 - 格式:1,2,3
  24783. in: query
  24784. name: accountID
  24785. required: true
  24786. type: string
  24787. - description: 成交单号
  24788. in: query
  24789. name: tradeID
  24790. type: integer
  24791. - description: 委托单号
  24792. in: query
  24793. name: orderID
  24794. type: integer
  24795. - description: 商品ID
  24796. in: query
  24797. name: goodsID
  24798. type: integer
  24799. - description: 交易模式 - 格式:1,2,3
  24800. in: query
  24801. name: tradeMode
  24802. type: string
  24803. - description: 委托单据类型
  24804. in: query
  24805. name: buildType
  24806. type: integer
  24807. - description: 成交类别 - 格式:1,2,3
  24808. in: query
  24809. name: tradeType
  24810. type: string
  24811. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24812. in: query
  24813. name: startDate
  24814. type: string
  24815. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24816. in: query
  24817. name: endDate
  24818. type: string
  24819. produces:
  24820. - application/json
  24821. responses:
  24822. "200":
  24823. description: OK
  24824. schema:
  24825. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  24826. "500":
  24827. description: Internal Server Error
  24828. schema:
  24829. $ref: '#/definitions/app.Response'
  24830. security:
  24831. - ApiKeyAuth: []
  24832. summary: 历史成交单查询(合约市场)
  24833. tags:
  24834. - 通用单据
  24835. /Order/QueryHisTradeOrderDetail:
  24836. get:
  24837. parameters:
  24838. - description: 资金账户 - 格式:1,2,3
  24839. in: query
  24840. name: accountID
  24841. required: true
  24842. type: string
  24843. - description: 交易模式 - 格式:1,2,3
  24844. in: query
  24845. name: tradeMode
  24846. type: string
  24847. - description: 委托状态 - 格式:1,2,3
  24848. in: query
  24849. name: orderStatus
  24850. type: string
  24851. - description: 委托单号
  24852. in: query
  24853. name: orderID
  24854. type: integer
  24855. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24856. in: query
  24857. name: startDate
  24858. type: string
  24859. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24860. in: query
  24861. name: endDate
  24862. type: string
  24863. produces:
  24864. - application/json
  24865. responses:
  24866. "200":
  24867. description: OK
  24868. schema:
  24869. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  24870. "500":
  24871. description: Internal Server Error
  24872. schema:
  24873. $ref: '#/definitions/app.Response'
  24874. security:
  24875. - ApiKeyAuth: []
  24876. summary: 历史委托单查询请求(合约市场)
  24877. tags:
  24878. - 通用单据
  24879. /Order/QueryTradeDetail:
  24880. get:
  24881. parameters:
  24882. - description: 资金账户 - 格式:1,2,3
  24883. in: query
  24884. name: accountID
  24885. required: true
  24886. type: string
  24887. - description: 成交单号
  24888. in: query
  24889. name: tradeID
  24890. type: integer
  24891. - description: 委托单号
  24892. in: query
  24893. name: orderID
  24894. type: integer
  24895. - description: 交易模式 - 格式:1,2,3
  24896. in: query
  24897. name: tradeMode
  24898. type: string
  24899. - description: 委托单据类型
  24900. in: query
  24901. name: buildType
  24902. type: integer
  24903. - description: 成交类别 - 格式:1,2,3
  24904. in: query
  24905. name: tradeType
  24906. type: string
  24907. - description: 商品ID
  24908. in: query
  24909. name: goodsID
  24910. type: integer
  24911. produces:
  24912. - application/json
  24913. responses:
  24914. "200":
  24915. description: OK
  24916. schema:
  24917. $ref: '#/definitions/order.QueryTradeDetailRsp'
  24918. "500":
  24919. description: Internal Server Error
  24920. schema:
  24921. $ref: '#/definitions/app.Response'
  24922. security:
  24923. - ApiKeyAuth: []
  24924. summary: 成交单查询(合约市场)
  24925. tags:
  24926. - 通用单据
  24927. /Order/QueryTradeHolderDetail:
  24928. get:
  24929. parameters:
  24930. - description: 用户id
  24931. in: query
  24932. name: userid
  24933. type: integer
  24934. - description: 资金账号, 格式 1,2,3
  24935. in: query
  24936. name: accids
  24937. type: string
  24938. - description: 交易模式, 格式 1,2,3
  24939. in: query
  24940. name: trademodes
  24941. type: string
  24942. - description: 市场id, 格式 1,2,3
  24943. in: query
  24944. name: marketids
  24945. type: string
  24946. - description: 商品id
  24947. in: query
  24948. name: goodsid
  24949. type: integer
  24950. - description: 买卖方向 0-买 1-卖
  24951. in: query
  24952. name: buyorsell
  24953. type: integer
  24954. produces:
  24955. - application/json
  24956. responses:
  24957. "200":
  24958. description: OK
  24959. schema:
  24960. items:
  24961. $ref: '#/definitions/models.TradeHolderDetail'
  24962. type: array
  24963. "500":
  24964. description: Internal Server Error
  24965. schema:
  24966. $ref: '#/definitions/app.Response'
  24967. security:
  24968. - ApiKeyAuth: []
  24969. summary: 查询持仓明细
  24970. tags:
  24971. - 通用单据
  24972. /Order/QueryTradeOrderDetail:
  24973. get:
  24974. parameters:
  24975. - description: 资金账户 - 格式:1,2,3
  24976. in: query
  24977. name: accountID
  24978. required: true
  24979. type: string
  24980. - description: 交易模式 - 格式:1,2,3
  24981. in: query
  24982. name: tradeMode
  24983. type: string
  24984. - description: 委托状态 - 格式:1,2,3
  24985. in: query
  24986. name: orderStatus
  24987. type: string
  24988. - description: 委托单号
  24989. in: query
  24990. name: orderID
  24991. type: integer
  24992. produces:
  24993. - application/json
  24994. responses:
  24995. "200":
  24996. description: OK
  24997. schema:
  24998. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  24999. "500":
  25000. description: Internal Server Error
  25001. schema:
  25002. $ref: '#/definitions/app.Response'
  25003. security:
  25004. - ApiKeyAuth: []
  25005. summary: 委托单查询请求(合约市场)
  25006. tags:
  25007. - 通用单据
  25008. /Order/QueryTradePosition:
  25009. get:
  25010. parameters:
  25011. - description: 资金账户 - 格式:1,2,3
  25012. in: query
  25013. name: accountID
  25014. required: true
  25015. type: string
  25016. - description: 交易模式 - 格式:1,2,3
  25017. in: query
  25018. name: tradeMode
  25019. type: string
  25020. produces:
  25021. - application/json
  25022. responses:
  25023. "200":
  25024. description: OK
  25025. schema:
  25026. $ref: '#/definitions/order.QueryTradePositionRsp'
  25027. "500":
  25028. description: Internal Server Error
  25029. schema:
  25030. $ref: '#/definitions/app.Response'
  25031. security:
  25032. - ApiKeyAuth: []
  25033. summary: 持仓汇总查询(合约市场)
  25034. tags:
  25035. - 通用单据
  25036. /Qhj/QueryAccountInOutApply:
  25037. get:
  25038. parameters:
  25039. - description: 用户ID
  25040. in: query
  25041. name: userid
  25042. required: true
  25043. type: integer
  25044. - description: 申请起始日期(格式yyyymmdd)
  25045. in: query
  25046. name: begindate
  25047. type: string
  25048. - description: 申请截止日期(格式yyyymmdd)
  25049. in: query
  25050. name: enddate
  25051. type: string
  25052. - description: 模糊搜索名称
  25053. in: query
  25054. name: likename
  25055. type: string
  25056. produces:
  25057. - application/json
  25058. responses:
  25059. "200":
  25060. description: OK
  25061. schema:
  25062. items:
  25063. $ref: '#/definitions/models.QhjAccountOutInApply'
  25064. type: array
  25065. "500":
  25066. description: Internal Server Error
  25067. schema:
  25068. $ref: '#/definitions/app.Response'
  25069. security:
  25070. - ApiKeyAuth: []
  25071. summary: 查询充值提现
  25072. tags:
  25073. - 大连千海金
  25074. /Qhj/QueryAreaFinanceConfig:
  25075. get:
  25076. parameters:
  25077. - description: 机构用户ID 其他做市关系,都设置为 1
  25078. in: query
  25079. name: userid
  25080. type: integer
  25081. produces:
  25082. - application/json
  25083. responses:
  25084. "200":
  25085. description: OK
  25086. schema:
  25087. items:
  25088. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  25089. type: array
  25090. "500":
  25091. description: Internal Server Error
  25092. schema:
  25093. $ref: '#/definitions/app.Response'
  25094. security:
  25095. - ApiKeyAuth: []
  25096. summary: 查询企业配置表
  25097. tags:
  25098. - 大连千海金
  25099. /Qhj/QueryBankAccountSign:
  25100. get:
  25101. parameters:
  25102. - description: 用户ID
  25103. in: query
  25104. name: userid
  25105. required: true
  25106. type: integer
  25107. produces:
  25108. - application/json
  25109. responses:
  25110. "200":
  25111. description: OK
  25112. schema:
  25113. items:
  25114. $ref: '#/definitions/models.QhjBankAccountSign'
  25115. type: array
  25116. "500":
  25117. description: Internal Server Error
  25118. schema:
  25119. $ref: '#/definitions/app.Response'
  25120. security:
  25121. - ApiKeyAuth: []
  25122. summary: 查询签约银行信息(提现账户管理)
  25123. tags:
  25124. - 大连千海金
  25125. /Qhj/QueryBankInfo:
  25126. get:
  25127. produces:
  25128. - application/json
  25129. responses:
  25130. "200":
  25131. description: OK
  25132. schema:
  25133. items:
  25134. $ref: '#/definitions/models.QhjBankInfo'
  25135. type: array
  25136. "500":
  25137. description: Internal Server Error
  25138. schema:
  25139. $ref: '#/definitions/app.Response'
  25140. security:
  25141. - ApiKeyAuth: []
  25142. summary: 查询开户行
  25143. tags:
  25144. - 大连千海金
  25145. /Qhj/QueryBrokerApply:
  25146. get:
  25147. parameters:
  25148. - description: 所属机构ID
  25149. in: query
  25150. name: userid
  25151. type: integer
  25152. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  25153. in: query
  25154. name: filterstatus
  25155. type: string
  25156. produces:
  25157. - application/json
  25158. responses:
  25159. "200":
  25160. description: OK
  25161. schema:
  25162. items:
  25163. $ref: '#/definitions/models.QhjBrokerApply'
  25164. type: array
  25165. "500":
  25166. description: Internal Server Error
  25167. schema:
  25168. $ref: '#/definitions/app.Response'
  25169. security:
  25170. - ApiKeyAuth: []
  25171. summary: 查询经纪人申请
  25172. tags:
  25173. - 大连千海金
  25174. /Qhj/QueryBrokerApplyEx:
  25175. get:
  25176. parameters:
  25177. - description: 所属机构ID
  25178. in: query
  25179. name: userid
  25180. type: integer
  25181. produces:
  25182. - application/json
  25183. responses:
  25184. "200":
  25185. description: OK
  25186. schema:
  25187. items:
  25188. $ref: '#/definitions/models.QhjBrokerApplyEx'
  25189. type: array
  25190. "500":
  25191. description: Internal Server Error
  25192. schema:
  25193. $ref: '#/definitions/app.Response'
  25194. security:
  25195. - ApiKeyAuth: []
  25196. summary: 查询经纪人信息和申请记录
  25197. tags:
  25198. - 大连千海金
  25199. /Qhj/QueryBrokerRewardLog:
  25200. get:
  25201. parameters:
  25202. - description: 用户ID
  25203. in: query
  25204. name: userid
  25205. required: true
  25206. type: integer
  25207. - description: 开始交易日(yyyymmdd)
  25208. in: query
  25209. name: begindate
  25210. type: string
  25211. - description: 结束交易日(yyyymmdd)
  25212. in: query
  25213. name: enddate
  25214. type: string
  25215. produces:
  25216. - application/json
  25217. responses:
  25218. "200":
  25219. description: OK
  25220. schema:
  25221. items:
  25222. $ref: '#/definitions/models.QhjBrokerRewardLog'
  25223. type: array
  25224. "500":
  25225. description: Internal Server Error
  25226. schema:
  25227. $ref: '#/definitions/app.Response'
  25228. security:
  25229. - ApiKeyAuth: []
  25230. summary: 查询奖励流水(我的奖励)
  25231. tags:
  25232. - 大连千海金
  25233. /Qhj/QueryContract:
  25234. get:
  25235. parameters:
  25236. - description: 用户ID
  25237. in: query
  25238. name: userid
  25239. type: integer
  25240. - description: scf合同id
  25241. in: query
  25242. name: scfcontractid
  25243. type: integer
  25244. produces:
  25245. - application/json
  25246. responses:
  25247. "200":
  25248. description: OK
  25249. schema:
  25250. items:
  25251. $ref: '#/definitions/models.QhjContract'
  25252. type: array
  25253. "500":
  25254. description: Internal Server Error
  25255. schema:
  25256. $ref: '#/definitions/app.Response'
  25257. security:
  25258. - ApiKeyAuth: []
  25259. summary: 查询融资明细(合同)
  25260. tags:
  25261. - 大连千海金
  25262. /Qhj/QueryContractLog:
  25263. get:
  25264. parameters:
  25265. - description: scf合同id
  25266. in: query
  25267. name: scfcontractid
  25268. required: true
  25269. type: integer
  25270. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  25271. in: query
  25272. name: amounttype
  25273. type: string
  25274. produces:
  25275. - application/json
  25276. responses:
  25277. "200":
  25278. description: OK
  25279. schema:
  25280. items:
  25281. $ref: '#/definitions/models.QhjContractLog'
  25282. type: array
  25283. "500":
  25284. description: Internal Server Error
  25285. schema:
  25286. $ref: '#/definitions/app.Response'
  25287. security:
  25288. - ApiKeyAuth: []
  25289. summary: 查询融资明细流水(融资明细详情页中的流水)
  25290. tags:
  25291. - 大连千海金
  25292. /Qhj/QueryCusBankSignBank:
  25293. get:
  25294. produces:
  25295. - application/json
  25296. responses:
  25297. "200":
  25298. description: OK
  25299. schema:
  25300. items:
  25301. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  25302. type: array
  25303. "500":
  25304. description: Internal Server Error
  25305. schema:
  25306. $ref: '#/definitions/app.Response'
  25307. security:
  25308. - ApiKeyAuth: []
  25309. summary: 查询托管银行
  25310. tags:
  25311. - 大连千海金
  25312. /Qhj/QueryCustomerInfo:
  25313. get:
  25314. parameters:
  25315. - description: 用户ID
  25316. in: query
  25317. name: userid
  25318. required: true
  25319. type: integer
  25320. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  25321. in: query
  25322. name: querytype
  25323. required: true
  25324. type: integer
  25325. - description: 客户类型 1-个人 2-企业
  25326. in: query
  25327. name: userinfotype
  25328. type: integer
  25329. - description: 客户名称(模糊匹配)
  25330. in: query
  25331. name: customername
  25332. type: string
  25333. - description: 昵称(模糊匹配)
  25334. in: query
  25335. name: nickname
  25336. type: string
  25337. - description: 是否包含子级 1-包含
  25338. in: query
  25339. name: includesub
  25340. type: integer
  25341. produces:
  25342. - application/json
  25343. responses:
  25344. "200":
  25345. description: OK
  25346. schema:
  25347. items:
  25348. $ref: '#/definitions/models.QhjCustomer'
  25349. type: array
  25350. "500":
  25351. description: Internal Server Error
  25352. schema:
  25353. $ref: '#/definitions/app.Response'
  25354. security:
  25355. - ApiKeyAuth: []
  25356. summary: 查询客户资料
  25357. tags:
  25358. - 大连千海金
  25359. /Qhj/QueryGoodsEx:
  25360. get:
  25361. parameters:
  25362. - description: 商品id
  25363. in: query
  25364. name: goodsid
  25365. type: integer
  25366. produces:
  25367. - application/json
  25368. responses:
  25369. "200":
  25370. description: OK
  25371. schema:
  25372. items:
  25373. $ref: '#/definitions/models.Qhjgoodsex'
  25374. type: array
  25375. "500":
  25376. description: Internal Server Error
  25377. schema:
  25378. $ref: '#/definitions/app.Response'
  25379. security:
  25380. - ApiKeyAuth: []
  25381. summary: 交易商品扩展表
  25382. tags:
  25383. - 大连千海金
  25384. /Qhj/QueryMyTeam:
  25385. get:
  25386. parameters:
  25387. - description: 用户ID
  25388. in: query
  25389. name: userid
  25390. required: true
  25391. type: integer
  25392. produces:
  25393. - application/json
  25394. responses:
  25395. "200":
  25396. description: OK
  25397. schema:
  25398. items:
  25399. $ref: '#/definitions/models.QhjMyTeamEx'
  25400. type: array
  25401. "500":
  25402. description: Internal Server Error
  25403. schema:
  25404. $ref: '#/definitions/app.Response'
  25405. security:
  25406. - ApiKeyAuth: []
  25407. summary: 查询我的团队
  25408. tags:
  25409. - 大连千海金
  25410. /Qhj/QueryMyTeamOrder:
  25411. get:
  25412. parameters:
  25413. - description: 页码
  25414. in: query
  25415. name: page
  25416. type: integer
  25417. - description: 每页条数
  25418. in: query
  25419. name: pagesize
  25420. type: integer
  25421. - description: 用户ID
  25422. in: query
  25423. name: userid
  25424. required: true
  25425. type: integer
  25426. - description: 交易模式
  25427. in: query
  25428. name: trademode
  25429. type: integer
  25430. - description: 名称(模糊搜索账户)
  25431. in: query
  25432. name: filtername
  25433. type: string
  25434. produces:
  25435. - application/json
  25436. responses:
  25437. "200":
  25438. description: OK
  25439. schema:
  25440. items:
  25441. $ref: '#/definitions/models.QhjTeamOrder'
  25442. type: array
  25443. "500":
  25444. description: Internal Server Error
  25445. schema:
  25446. $ref: '#/definitions/app.Response'
  25447. security:
  25448. - ApiKeyAuth: []
  25449. summary: 查询团队订单(我的团队/团队订单)
  25450. tags:
  25451. - 大连千海金
  25452. /Qhj/QueryParentAreaList:
  25453. get:
  25454. parameters:
  25455. - description: 用户ID
  25456. in: query
  25457. name: userid
  25458. required: true
  25459. type: integer
  25460. produces:
  25461. - application/json
  25462. responses:
  25463. "200":
  25464. description: OK
  25465. schema:
  25466. items:
  25467. $ref: '#/definitions/models.QhjParentAreaList'
  25468. type: array
  25469. "500":
  25470. description: Internal Server Error
  25471. schema:
  25472. $ref: '#/definitions/app.Response'
  25473. security:
  25474. - ApiKeyAuth: []
  25475. summary: 查询所属机构列表
  25476. tags:
  25477. - 大连千海金
  25478. /Qhj/QueryPayOrder:
  25479. get:
  25480. parameters:
  25481. - description: 资金账号id
  25482. in: query
  25483. name: accountid
  25484. required: true
  25485. type: integer
  25486. - description: 成交单号
  25487. in: query
  25488. name: tradeid
  25489. type: integer
  25490. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  25491. in: query
  25492. name: payflag
  25493. type: string
  25494. produces:
  25495. - application/json
  25496. responses:
  25497. "200":
  25498. description: OK
  25499. schema:
  25500. items:
  25501. $ref: '#/definitions/models.QhjPayOrder'
  25502. type: array
  25503. "500":
  25504. description: Internal Server Error
  25505. schema:
  25506. $ref: '#/definitions/app.Response'
  25507. security:
  25508. - ApiKeyAuth: []
  25509. summary: 查询待付款单据
  25510. tags:
  25511. - 大连千海金
  25512. /Qhj/QueryPickArea:
  25513. get:
  25514. parameters:
  25515. - description: 用户ID
  25516. in: query
  25517. name: userid
  25518. type: integer
  25519. produces:
  25520. - application/json
  25521. responses:
  25522. "200":
  25523. description: OK
  25524. schema:
  25525. items:
  25526. $ref: '#/definitions/models.QhjPickArea'
  25527. type: array
  25528. "500":
  25529. description: Internal Server Error
  25530. schema:
  25531. $ref: '#/definitions/app.Response'
  25532. security:
  25533. - ApiKeyAuth: []
  25534. summary: 查询提货门店
  25535. tags:
  25536. - 大连千海金
  25537. /Qhj/QueryPickGoods:
  25538. get:
  25539. parameters:
  25540. - description: 交易商品id
  25541. in: query
  25542. name: goodsid
  25543. required: true
  25544. type: integer
  25545. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  25546. in: query
  25547. name: status
  25548. type: string
  25549. produces:
  25550. - application/json
  25551. responses:
  25552. "200":
  25553. description: OK
  25554. schema:
  25555. items:
  25556. $ref: '#/definitions/models.QhjPickGoods'
  25557. type: array
  25558. "500":
  25559. description: Internal Server Error
  25560. schema:
  25561. $ref: '#/definitions/app.Response'
  25562. security:
  25563. - ApiKeyAuth: []
  25564. summary: 查询提货商品
  25565. tags:
  25566. - 大连千海金
  25567. /Qhj/QueryRSTriggerLog:
  25568. get:
  25569. parameters:
  25570. - description: 用户ID
  25571. in: query
  25572. name: userid
  25573. type: integer
  25574. - description: 定投策略id
  25575. in: query
  25576. name: regularlystrategyid
  25577. type: integer
  25578. - description: 商品id
  25579. in: query
  25580. name: goodsid
  25581. type: integer
  25582. - description: 开始交易日(yyyymmdd)
  25583. in: query
  25584. name: begindate
  25585. type: string
  25586. - description: 结束交易日(yyyymmdd)
  25587. in: query
  25588. name: enddate
  25589. type: string
  25590. - description: 名称(模糊搜索账户)
  25591. in: query
  25592. name: filtername
  25593. type: string
  25594. produces:
  25595. - application/json
  25596. responses:
  25597. "200":
  25598. description: OK
  25599. schema:
  25600. items:
  25601. $ref: '#/definitions/models.QhjRSTriggerLog'
  25602. type: array
  25603. "500":
  25604. description: Internal Server Error
  25605. schema:
  25606. $ref: '#/definitions/app.Response'
  25607. security:
  25608. - ApiKeyAuth: []
  25609. summary: 查询定投记录(定投管理/详情/定投记录)
  25610. tags:
  25611. - 大连千海金
  25612. /Qhj/QueryRStrategy:
  25613. get:
  25614. parameters:
  25615. - description: 用户ID
  25616. in: query
  25617. name: userid
  25618. type: integer
  25619. - description: 商品id
  25620. in: query
  25621. name: goodsid
  25622. type: integer
  25623. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  25624. in: query
  25625. name: status
  25626. type: string
  25627. - description: 名称(模糊搜索账户)
  25628. in: query
  25629. name: filtername
  25630. type: string
  25631. produces:
  25632. - application/json
  25633. responses:
  25634. "200":
  25635. description: OK
  25636. schema:
  25637. items:
  25638. $ref: '#/definitions/models.QhjRStrategy'
  25639. type: array
  25640. "500":
  25641. description: Internal Server Error
  25642. schema:
  25643. $ref: '#/definitions/app.Response'
  25644. security:
  25645. - ApiKeyAuth: []
  25646. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  25647. tags:
  25648. - 大连千海金
  25649. /Qhj/QueryReckonPriceLog:
  25650. get:
  25651. parameters:
  25652. - description: 商品ID
  25653. in: query
  25654. name: goodsid
  25655. type: integer
  25656. - description: 交易日 格式(yyyymmdd)
  25657. in: query
  25658. name: tradedate
  25659. type: string
  25660. produces:
  25661. - application/json
  25662. responses:
  25663. "200":
  25664. description: OK
  25665. schema:
  25666. items:
  25667. $ref: '#/definitions/models.QhjReckonPriceLog'
  25668. type: array
  25669. "500":
  25670. description: Internal Server Error
  25671. schema:
  25672. $ref: '#/definitions/app.Response'
  25673. security:
  25674. - ApiKeyAuth: []
  25675. summary: 查询定投价(结算价)
  25676. tags:
  25677. - 大连千海金
  25678. /Qhj/QueryScoreLog:
  25679. get:
  25680. parameters:
  25681. - description: 用户ID
  25682. in: query
  25683. name: userid
  25684. required: true
  25685. type: integer
  25686. - description: 开始交易日(yyyymmdd)
  25687. in: query
  25688. name: begindate
  25689. type: string
  25690. - description: 结束交易日(yyyymmdd)
  25691. in: query
  25692. name: enddate
  25693. type: string
  25694. - description: 最近多少条
  25695. in: query
  25696. name: lastnum
  25697. type: integer
  25698. produces:
  25699. - application/json
  25700. responses:
  25701. "200":
  25702. description: OK
  25703. schema:
  25704. items:
  25705. $ref: '#/definitions/models.QhjScoreLog'
  25706. type: array
  25707. "500":
  25708. description: Internal Server Error
  25709. schema:
  25710. $ref: '#/definitions/app.Response'
  25711. security:
  25712. - ApiKeyAuth: []
  25713. summary: 查询积分流水(我的积分)
  25714. tags:
  25715. - 大连千海金
  25716. /Qhj/QuerySiteColumnDetail:
  25717. get:
  25718. parameters:
  25719. - description: 用户ID
  25720. in: query
  25721. name: userid
  25722. required: true
  25723. type: integer
  25724. produces:
  25725. - application/json
  25726. responses:
  25727. "200":
  25728. description: OK
  25729. schema:
  25730. items:
  25731. $ref: '#/definitions/models.QhjSiteColumnDetail'
  25732. type: array
  25733. "500":
  25734. description: Internal Server Error
  25735. schema:
  25736. $ref: '#/definitions/app.Response'
  25737. security:
  25738. - ApiKeyAuth: []
  25739. summary: 查询资讯
  25740. tags:
  25741. - 大连千海金
  25742. /Qhj/QueryTradeGoodsPickup:
  25743. get:
  25744. parameters:
  25745. - description: 用户ID
  25746. in: query
  25747. name: userid
  25748. required: true
  25749. type: integer
  25750. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  25751. 7:已拒绝 8:已撤销
  25752. in: query
  25753. name: takeorderstatus
  25754. type: integer
  25755. produces:
  25756. - application/json
  25757. responses:
  25758. "200":
  25759. description: OK
  25760. schema:
  25761. items:
  25762. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  25763. type: array
  25764. "500":
  25765. description: Internal Server Error
  25766. schema:
  25767. $ref: '#/definitions/app.Response'
  25768. security:
  25769. - ApiKeyAuth: []
  25770. summary: 查询提货
  25771. tags:
  25772. - 大连千海金
  25773. /Qhj/QueryUserCollectConfig:
  25774. get:
  25775. parameters:
  25776. - description: 用户ID
  25777. in: query
  25778. name: userid
  25779. required: true
  25780. type: integer
  25781. produces:
  25782. - application/json
  25783. responses:
  25784. "200":
  25785. description: OK
  25786. schema:
  25787. items:
  25788. $ref: '#/definitions/models.UserCollectConfig'
  25789. type: array
  25790. "500":
  25791. description: Internal Server Error
  25792. schema:
  25793. $ref: '#/definitions/app.Response'
  25794. security:
  25795. - ApiKeyAuth: []
  25796. summary: 查询提现账户设置
  25797. tags:
  25798. - 大连千海金
  25799. /Qhj/QueryUserReceiveInfo:
  25800. get:
  25801. parameters:
  25802. - description: 用户ID
  25803. in: query
  25804. name: userid
  25805. required: true
  25806. type: integer
  25807. produces:
  25808. - application/json
  25809. responses:
  25810. "200":
  25811. description: OK
  25812. schema:
  25813. items:
  25814. $ref: '#/definitions/models.UserReceiveInfo'
  25815. type: array
  25816. "500":
  25817. description: Internal Server Error
  25818. schema:
  25819. $ref: '#/definitions/app.Response'
  25820. security:
  25821. - ApiKeyAuth: []
  25822. summary: 查询收货地址信息
  25823. tags:
  25824. - 大连千海金
  25825. /QhjMgr/QueryAccountInOutApply:
  25826. get:
  25827. parameters:
  25828. - description: 查询类型 1-提现(出金) 2-充值(出金)
  25829. in: query
  25830. name: querytype
  25831. required: true
  25832. type: integer
  25833. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  25834. in: query
  25835. name: applystatus
  25836. type: integer
  25837. - description: 申请起始日期(格式yyyymmdd)
  25838. in: query
  25839. name: begindate
  25840. type: string
  25841. - description: 申请截止日期(格式yyyymmdd)
  25842. in: query
  25843. name: enddate
  25844. type: string
  25845. - description: 模糊搜索名称
  25846. in: query
  25847. name: likename
  25848. type: string
  25849. produces:
  25850. - application/json
  25851. responses:
  25852. "200":
  25853. description: OK
  25854. schema:
  25855. items:
  25856. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  25857. type: array
  25858. "500":
  25859. description: Internal Server Error
  25860. schema:
  25861. $ref: '#/definitions/app.Response'
  25862. security:
  25863. - ApiKeyAuth: []
  25864. summary: 查询充值提现
  25865. tags:
  25866. - 大连千海金(PCWeb)
  25867. /QhjMgr/QueryBrokerApply:
  25868. get:
  25869. parameters:
  25870. - description: 所属机构ID
  25871. in: query
  25872. name: userid
  25873. type: integer
  25874. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  25875. in: query
  25876. name: filterstatus
  25877. type: string
  25878. - description: 名称(模糊匹配)
  25879. in: query
  25880. name: filtername
  25881. type: string
  25882. - description: 是否包含子级 1-包含
  25883. in: query
  25884. name: includesub
  25885. type: integer
  25886. produces:
  25887. - application/json
  25888. responses:
  25889. "200":
  25890. description: OK
  25891. schema:
  25892. items:
  25893. $ref: '#/definitions/models.QhjMgrBrokerApply'
  25894. type: array
  25895. "500":
  25896. description: Internal Server Error
  25897. schema:
  25898. $ref: '#/definitions/app.Response'
  25899. security:
  25900. - ApiKeyAuth: []
  25901. summary: 查询经纪人申请
  25902. tags:
  25903. - 大连千海金(PCWeb)
  25904. /QhjMgr/QueryBrokerRewardReport:
  25905. get:
  25906. parameters:
  25907. - description: 所属机构ID
  25908. in: query
  25909. name: userid
  25910. required: true
  25911. type: integer
  25912. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25913. in: query
  25914. name: cycletype
  25915. required: true
  25916. type: integer
  25917. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  25918. in: query
  25919. name: cycletime
  25920. required: true
  25921. type: string
  25922. - description: 名称(模糊匹配)
  25923. in: query
  25924. name: filtername
  25925. type: string
  25926. - description: 是否包含子级 1-包含
  25927. in: query
  25928. name: includesub
  25929. type: integer
  25930. produces:
  25931. - application/json
  25932. responses:
  25933. "200":
  25934. description: OK
  25935. schema:
  25936. items:
  25937. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  25938. type: array
  25939. "500":
  25940. description: Internal Server Error
  25941. schema:
  25942. $ref: '#/definitions/app.Response'
  25943. security:
  25944. - ApiKeyAuth: []
  25945. summary: 查询经纪人奖励报表(废弃)
  25946. tags:
  25947. - 大连千海金(PCWeb)
  25948. /QhjMgr/QueryContract:
  25949. get:
  25950. parameters:
  25951. - description: 用户ID
  25952. in: query
  25953. name: userid
  25954. type: integer
  25955. - description: 商品id
  25956. in: query
  25957. name: goodsid
  25958. type: integer
  25959. - description: 名称(模糊搜索账户)
  25960. in: query
  25961. name: filtername
  25962. type: string
  25963. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  25964. in: query
  25965. name: risklevel
  25966. type: string
  25967. - description: 开始交易日(yyyymmdd)
  25968. in: query
  25969. name: begindate
  25970. type: string
  25971. - description: 结束交易日(yyyymmdd)
  25972. in: query
  25973. name: enddate
  25974. type: string
  25975. produces:
  25976. - application/json
  25977. responses:
  25978. "200":
  25979. description: OK
  25980. schema:
  25981. items:
  25982. $ref: '#/definitions/models.QhjMgrContract'
  25983. type: array
  25984. "500":
  25985. description: Internal Server Error
  25986. schema:
  25987. $ref: '#/definitions/app.Response'
  25988. security:
  25989. - ApiKeyAuth: []
  25990. summary: 查询融资信息(合同)
  25991. tags:
  25992. - 大连千海金(PCWeb)
  25993. /QhjMgr/QueryCustomerInfo:
  25994. get:
  25995. parameters:
  25996. - description: 用户ID
  25997. in: query
  25998. name: userid
  25999. required: true
  26000. type: integer
  26001. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  26002. in: query
  26003. name: querytype
  26004. required: true
  26005. type: integer
  26006. - description: 客户类型 1-个人 2-企业
  26007. in: query
  26008. name: userinfotype
  26009. type: integer
  26010. - description: 客户名称(模糊匹配)
  26011. in: query
  26012. name: customername
  26013. type: string
  26014. - description: 昵称(模糊匹配)
  26015. in: query
  26016. name: nickname
  26017. type: string
  26018. - description: 所属客户经理(模糊匹配)
  26019. in: query
  26020. name: brokername
  26021. type: string
  26022. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  26023. 如0503 -5月3日)
  26024. in: query
  26025. name: birthday
  26026. type: string
  26027. - description: 是否包含子级 1-包含
  26028. in: query
  26029. name: includesub
  26030. type: integer
  26031. produces:
  26032. - application/json
  26033. responses:
  26034. "200":
  26035. description: OK
  26036. schema:
  26037. items:
  26038. $ref: '#/definitions/models.QhjMgrCustomer'
  26039. type: array
  26040. "500":
  26041. description: Internal Server Error
  26042. schema:
  26043. $ref: '#/definitions/app.Response'
  26044. security:
  26045. - ApiKeyAuth: []
  26046. summary: 查询客户资料
  26047. tags:
  26048. - 大连千海金(PCWeb)
  26049. /QhjMgr/QueryPickGoods:
  26050. get:
  26051. parameters:
  26052. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  26053. in: query
  26054. name: status
  26055. type: string
  26056. produces:
  26057. - application/json
  26058. responses:
  26059. "200":
  26060. description: OK
  26061. schema:
  26062. items:
  26063. $ref: '#/definitions/models.QhjMgrPickGoods'
  26064. type: array
  26065. "500":
  26066. description: Internal Server Error
  26067. schema:
  26068. $ref: '#/definitions/app.Response'
  26069. security:
  26070. - ApiKeyAuth: []
  26071. summary: 查询提货商品
  26072. tags:
  26073. - 大连千海金(PCWeb)
  26074. /QhjMgr/QuerySubArea:
  26075. get:
  26076. parameters:
  26077. - description: 用户ID
  26078. in: query
  26079. name: userid
  26080. required: true
  26081. type: integer
  26082. produces:
  26083. - application/json
  26084. responses:
  26085. "200":
  26086. description: OK
  26087. schema:
  26088. items:
  26089. $ref: '#/definitions/models.QhjMgrSubArea'
  26090. type: array
  26091. "500":
  26092. description: Internal Server Error
  26093. schema:
  26094. $ref: '#/definitions/app.Response'
  26095. security:
  26096. - ApiKeyAuth: []
  26097. summary: 查询子机构列表
  26098. tags:
  26099. - 大连千海金(PCWeb)
  26100. /QhjMgr/QueryTradeDetail:
  26101. get:
  26102. parameters:
  26103. - description: 用户ID
  26104. in: query
  26105. name: userid
  26106. required: true
  26107. type: integer
  26108. - description: 用户类型 1-个人 2-企业
  26109. in: query
  26110. name: userinfotype
  26111. type: integer
  26112. - description: 交易模式
  26113. in: query
  26114. name: trademode
  26115. type: integer
  26116. - description: 商品id
  26117. in: query
  26118. name: goodsid
  26119. type: integer
  26120. - description: 名称(模糊搜索账户)
  26121. in: query
  26122. name: filtername
  26123. type: string
  26124. - description: 开始交易日(yyyymmdd)
  26125. in: query
  26126. name: begindate
  26127. type: string
  26128. - description: 结束交易日(yyyymmdd)
  26129. in: query
  26130. name: enddate
  26131. type: string
  26132. - description: 是否包含子级 1-包含
  26133. in: query
  26134. name: includesub
  26135. type: integer
  26136. produces:
  26137. - application/json
  26138. responses:
  26139. "200":
  26140. description: OK
  26141. schema:
  26142. items:
  26143. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  26144. type: array
  26145. "500":
  26146. description: Internal Server Error
  26147. schema:
  26148. $ref: '#/definitions/app.Response'
  26149. security:
  26150. - ApiKeyAuth: []
  26151. summary: 查询成交明细
  26152. tags:
  26153. - 大连千海金(PCWeb)
  26154. /QhjMgr/QueryTradeOrderDetail:
  26155. get:
  26156. parameters:
  26157. - description: 用户ID
  26158. in: query
  26159. name: userid
  26160. required: true
  26161. type: integer
  26162. - description: 用户类型 1-个人 2-企业
  26163. in: query
  26164. name: userinfotype
  26165. type: integer
  26166. - description: 交易模式
  26167. in: query
  26168. name: trademode
  26169. type: integer
  26170. - description: 商品id
  26171. in: query
  26172. name: goodsid
  26173. type: integer
  26174. - description: 名称(模糊搜索账户)
  26175. in: query
  26176. name: filtername
  26177. type: string
  26178. - description: 开始交易日(yyyymmdd)
  26179. in: query
  26180. name: begindate
  26181. type: string
  26182. - description: 结束交易日(yyyymmdd)
  26183. in: query
  26184. name: enddate
  26185. type: string
  26186. - description: 是否包含子级 1-包含
  26187. in: query
  26188. name: includesub
  26189. type: integer
  26190. produces:
  26191. - application/json
  26192. responses:
  26193. "200":
  26194. description: OK
  26195. schema:
  26196. items:
  26197. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  26198. type: array
  26199. "500":
  26200. description: Internal Server Error
  26201. schema:
  26202. $ref: '#/definitions/app.Response'
  26203. security:
  26204. - ApiKeyAuth: []
  26205. summary: 查询委托明细
  26206. tags:
  26207. - 大连千海金(PCWeb)
  26208. /QhjMgr/QueryTradePayOrder:
  26209. get:
  26210. parameters:
  26211. - description: 用户ID
  26212. in: query
  26213. name: userid
  26214. required: true
  26215. type: integer
  26216. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  26217. in: query
  26218. name: payflag
  26219. type: string
  26220. - description: 用户类型 1-个人 2-企业
  26221. in: query
  26222. name: userinfotype
  26223. type: integer
  26224. - description: 交易模式
  26225. in: query
  26226. name: trademode
  26227. type: integer
  26228. - description: 商品id
  26229. in: query
  26230. name: goodsid
  26231. type: integer
  26232. - description: 名称(模糊搜索账户)
  26233. in: query
  26234. name: filtername
  26235. type: string
  26236. - description: 开始交易日(yyyymmdd)
  26237. in: query
  26238. name: begindate
  26239. type: string
  26240. - description: 结束交易日(yyyymmdd)
  26241. in: query
  26242. name: enddate
  26243. type: string
  26244. - description: 是否包含子级 1-包含
  26245. in: query
  26246. name: includesub
  26247. type: integer
  26248. produces:
  26249. - application/json
  26250. responses:
  26251. "200":
  26252. description: OK
  26253. schema:
  26254. items:
  26255. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  26256. type: array
  26257. "500":
  26258. description: Internal Server Error
  26259. schema:
  26260. $ref: '#/definitions/app.Response'
  26261. security:
  26262. - ApiKeyAuth: []
  26263. summary: 查询待付款单
  26264. tags:
  26265. - 大连千海金(PCWeb)
  26266. /QhjMgr/QueryTradePosition:
  26267. get:
  26268. parameters:
  26269. - description: 用户ID
  26270. in: query
  26271. name: userid
  26272. required: true
  26273. type: integer
  26274. - description: 用户类型 1-个人 2-企业
  26275. in: query
  26276. name: userinfotype
  26277. type: integer
  26278. - description: 交易模式
  26279. in: query
  26280. name: trademode
  26281. type: integer
  26282. - description: 商品id
  26283. in: query
  26284. name: goodsid
  26285. type: integer
  26286. - description: 名称(模糊搜索账户)
  26287. in: query
  26288. name: filtername
  26289. type: string
  26290. - description: 是否包含子级 1-包含
  26291. in: query
  26292. name: includesub
  26293. type: integer
  26294. produces:
  26295. - application/json
  26296. responses:
  26297. "200":
  26298. description: OK
  26299. schema:
  26300. items:
  26301. $ref: '#/definitions/models.QhjMgrPositionRsp'
  26302. type: array
  26303. "500":
  26304. description: Internal Server Error
  26305. schema:
  26306. $ref: '#/definitions/app.Response'
  26307. security:
  26308. - ApiKeyAuth: []
  26309. summary: 查询持仓汇总
  26310. tags:
  26311. - 大连千海金(PCWeb)
  26312. /QhjSys/QueryAgreementChangeLog:
  26313. get:
  26314. parameters:
  26315. - description: 协议ID
  26316. in: query
  26317. name: agreementid
  26318. type: integer
  26319. - description: 协议版本号
  26320. in: query
  26321. name: agreementversion
  26322. type: integer
  26323. - description: 协议类型 - 1:注册 2:登录 3:交易
  26324. in: query
  26325. name: agreementtype
  26326. type: integer
  26327. - description: 协议编号(模糊匹配)
  26328. in: query
  26329. name: agreementno
  26330. type: string
  26331. - description: 协议名称(模糊匹配)
  26332. in: query
  26333. name: agreementname
  26334. type: string
  26335. produces:
  26336. - application/json
  26337. responses:
  26338. "200":
  26339. description: OK
  26340. schema:
  26341. items:
  26342. $ref: '#/definitions/models.QhjAgreementChangeLog'
  26343. type: array
  26344. "500":
  26345. description: Internal Server Error
  26346. schema:
  26347. $ref: '#/definitions/app.Response'
  26348. security:
  26349. - ApiKeyAuth: []
  26350. summary: 查询协议配置变更流水
  26351. tags:
  26352. - 大连千海金(协议和签约信息)
  26353. /QhjSys/QueryAgreementConfig:
  26354. get:
  26355. parameters:
  26356. - description: 协议ID
  26357. in: query
  26358. name: agreementid
  26359. type: integer
  26360. - description: 协议版本号
  26361. in: query
  26362. name: agreementversion
  26363. type: integer
  26364. - description: 协议类型 - 1:注册 2:登录 3:交易
  26365. in: query
  26366. name: agreementtype
  26367. type: integer
  26368. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  26369. in: query
  26370. name: isvalid
  26371. type: integer
  26372. - description: 协议编号(模糊匹配)
  26373. in: query
  26374. name: agreementno
  26375. type: string
  26376. - description: 协议名称(模糊匹配)
  26377. in: query
  26378. name: agreementname
  26379. type: string
  26380. produces:
  26381. - application/json
  26382. responses:
  26383. "200":
  26384. description: OK
  26385. schema:
  26386. items:
  26387. $ref: '#/definitions/models.QhjAgreementConfig'
  26388. type: array
  26389. "500":
  26390. description: Internal Server Error
  26391. schema:
  26392. $ref: '#/definitions/app.Response'
  26393. security:
  26394. - ApiKeyAuth: []
  26395. summary: 查询协议配置
  26396. tags:
  26397. - 大连千海金(协议和签约信息)
  26398. /QhjSys/QueryCustomerSignStatus:
  26399. get:
  26400. parameters:
  26401. - description: 客户ID
  26402. in: query
  26403. name: userid
  26404. type: integer
  26405. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  26406. in: query
  26407. name: nodetype
  26408. type: integer
  26409. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  26410. in: query
  26411. name: goodsid
  26412. type: integer
  26413. - description: 创建交易日(yyyyMMdd)
  26414. in: query
  26415. name: tradedate
  26416. type: string
  26417. - description: 用户名称(模糊匹配)
  26418. in: query
  26419. name: username
  26420. type: string
  26421. produces:
  26422. - application/json
  26423. responses:
  26424. "200":
  26425. description: OK
  26426. schema:
  26427. items:
  26428. $ref: '#/definitions/models.QhjCustomerSignStatus'
  26429. type: array
  26430. "500":
  26431. description: Internal Server Error
  26432. schema:
  26433. $ref: '#/definitions/app.Response'
  26434. security:
  26435. - ApiKeyAuth: []
  26436. summary: 查询客户协议签约状态
  26437. tags:
  26438. - 大连千海金(协议和签约信息)
  26439. /QhjSys/QueryNodeAgreementConfig:
  26440. get:
  26441. parameters:
  26442. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  26443. in: query
  26444. name: configid
  26445. type: integer
  26446. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  26447. in: query
  26448. name: nodetype
  26449. type: integer
  26450. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  26451. in: query
  26452. name: goodsid
  26453. type: integer
  26454. - description: 协议ID
  26455. in: query
  26456. name: agreementid
  26457. type: integer
  26458. - description: 协议类型 - 1:注册 2:登录 3:交易
  26459. in: query
  26460. name: agreementtype
  26461. type: integer
  26462. - description: 协议版本号
  26463. in: query
  26464. name: agreementversion
  26465. type: integer
  26466. - description: 协议编号(模糊匹配)
  26467. in: query
  26468. name: agreementno
  26469. type: string
  26470. - description: 协议名称(模糊匹配)
  26471. in: query
  26472. name: agreementname
  26473. type: string
  26474. produces:
  26475. - application/json
  26476. responses:
  26477. "200":
  26478. description: OK
  26479. schema:
  26480. items:
  26481. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  26482. type: array
  26483. "500":
  26484. description: Internal Server Error
  26485. schema:
  26486. $ref: '#/definitions/app.Response'
  26487. security:
  26488. - ApiKeyAuth: []
  26489. summary: 查询协议节点配置
  26490. tags:
  26491. - 大连千海金(协议和签约信息)
  26492. /QhjSys/QueryQhjCustomerSignLog:
  26493. get:
  26494. parameters:
  26495. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  26496. in: query
  26497. name: logid
  26498. type: integer
  26499. - description: 客户ID
  26500. in: query
  26501. name: userid
  26502. type: integer
  26503. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  26504. in: query
  26505. name: nodetype
  26506. type: integer
  26507. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  26508. in: query
  26509. name: goodsid
  26510. type: integer
  26511. - description: 协议ID
  26512. in: query
  26513. name: agreementid
  26514. type: integer
  26515. - description: 用户名称(模糊匹配)
  26516. in: query
  26517. name: username
  26518. type: string
  26519. - description: 协议编号(模糊匹配)
  26520. in: query
  26521. name: agreementno
  26522. type: string
  26523. - description: 协议名称(模糊匹配)
  26524. in: query
  26525. name: agreementname
  26526. type: string
  26527. produces:
  26528. - application/json
  26529. responses:
  26530. "200":
  26531. description: OK
  26532. schema:
  26533. items:
  26534. $ref: '#/definitions/models.QhjCustomerSignLog'
  26535. type: array
  26536. "500":
  26537. description: Internal Server Error
  26538. schema:
  26539. $ref: '#/definitions/app.Response'
  26540. security:
  26541. - ApiKeyAuth: []
  26542. summary: 查询客户协议签约流水
  26543. tags:
  26544. - 大连千海金(协议和签约信息)
  26545. /QhjSys/QueryUserNodeCfgAndStatus:
  26546. get:
  26547. parameters:
  26548. - description: 客户ID
  26549. in: query
  26550. name: userid
  26551. type: integer
  26552. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  26553. in: query
  26554. name: configid
  26555. type: integer
  26556. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  26557. in: query
  26558. name: nodetype
  26559. type: string
  26560. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  26561. in: query
  26562. name: goodsid
  26563. type: integer
  26564. - description: 协议ID
  26565. in: query
  26566. name: agreementid
  26567. type: integer
  26568. - description: 协议类型 - 1:注册 2:登录 3:交易
  26569. in: query
  26570. name: agreementtype
  26571. type: integer
  26572. - description: 协议版本号
  26573. in: query
  26574. name: agreementversion
  26575. type: integer
  26576. - description: 协议编号(模糊匹配)
  26577. in: query
  26578. name: agreementno
  26579. type: string
  26580. - description: 协议名称(模糊匹配)
  26581. in: query
  26582. name: agreementname
  26583. type: string
  26584. produces:
  26585. - application/json
  26586. responses:
  26587. "200":
  26588. description: OK
  26589. schema:
  26590. items:
  26591. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  26592. type: array
  26593. "500":
  26594. description: Internal Server Error
  26595. schema:
  26596. $ref: '#/definitions/app.Response'
  26597. security:
  26598. - ApiKeyAuth: []
  26599. summary: 查询用户协议节点配置和状态
  26600. tags:
  26601. - 大连千海金(协议和签约信息)
  26602. /Quote/QueryHistoryDatas:
  26603. get:
  26604. parameters:
  26605. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  26606. 日线 12:周线 13:月线 14:年线'
  26607. in: query
  26608. name: cycleType
  26609. required: true
  26610. type: integer
  26611. - description: 商品代码
  26612. in: query
  26613. name: goodsCode
  26614. required: true
  26615. type: string
  26616. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  26617. in: query
  26618. name: startTime
  26619. type: string
  26620. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  26621. in: query
  26622. name: endTime
  26623. type: string
  26624. - description: 条数
  26625. in: query
  26626. name: count
  26627. type: integer
  26628. - description: 是否按时间顺序排序(默认为时间倒序排序)
  26629. in: query
  26630. name: isAsc
  26631. type: boolean
  26632. produces:
  26633. - application/json
  26634. responses:
  26635. "200":
  26636. description: OK
  26637. schema:
  26638. $ref: '#/definitions/quote.HistoryData'
  26639. "500":
  26640. description: Internal Server Error
  26641. schema:
  26642. $ref: '#/definitions/app.Response'
  26643. security:
  26644. - ApiKeyAuth: []
  26645. summary: 查询行情历史数据
  26646. tags:
  26647. - 行情服务
  26648. /Quote/QueryHistoryTikDatas:
  26649. get:
  26650. parameters:
  26651. - description: 商品代码
  26652. in: query
  26653. name: goodsCode
  26654. required: true
  26655. type: string
  26656. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  26657. in: query
  26658. name: startTime
  26659. type: string
  26660. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  26661. in: query
  26662. name: endTime
  26663. type: string
  26664. - description: 条数
  26665. in: query
  26666. name: count
  26667. type: integer
  26668. - description: 是否按时间顺序排序(默认为时间倒序排序)
  26669. in: query
  26670. name: isAsc
  26671. type: boolean
  26672. produces:
  26673. - application/json
  26674. responses:
  26675. "200":
  26676. description: OK
  26677. schema:
  26678. $ref: '#/definitions/quote.HistoryTikData'
  26679. "500":
  26680. description: Internal Server Error
  26681. schema:
  26682. $ref: '#/definitions/app.Response'
  26683. security:
  26684. - ApiKeyAuth: []
  26685. summary: 查询行情Tik数据
  26686. tags:
  26687. - 行情服务
  26688. /Quote/QueryQuoteDay:
  26689. get:
  26690. parameters:
  26691. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  26692. in: query
  26693. name: goodsCodes
  26694. type: string
  26695. produces:
  26696. - application/json
  26697. responses:
  26698. "200":
  26699. description: OK
  26700. schema:
  26701. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  26702. "500":
  26703. description: Internal Server Error
  26704. schema:
  26705. $ref: '#/definitions/app.Response'
  26706. security:
  26707. - ApiKeyAuth: []
  26708. summary: 获取商品盘面信息
  26709. tags:
  26710. - 行情服务
  26711. /Quote/QueryTSData:
  26712. get:
  26713. parameters:
  26714. - description: 商品代码
  26715. in: query
  26716. name: goodsCode
  26717. required: true
  26718. type: string
  26719. produces:
  26720. - application/json
  26721. responses:
  26722. "200":
  26723. description: OK
  26724. schema:
  26725. $ref: '#/definitions/quote.QueryTSDataRsp'
  26726. "500":
  26727. description: Internal Server Error
  26728. schema:
  26729. $ref: '#/definitions/app.Response'
  26730. security:
  26731. - ApiKeyAuth: []
  26732. summary: 分时图数据查询
  26733. tags:
  26734. - 行情服务
  26735. /SZDZ/QueryConvertConfig:
  26736. get:
  26737. parameters:
  26738. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  26739. 6:交易转花生米(不设置)
  26740. in: query
  26741. name: convertType
  26742. type: integer
  26743. - description: 外部商品代码[JD\PD]
  26744. in: query
  26745. name: outerGoodsCode
  26746. type: string
  26747. - description: 内部商品ID列表[交易],格式:1,2,3
  26748. in: query
  26749. name: innerGoodsIDs
  26750. type: string
  26751. produces:
  26752. - application/json
  26753. responses:
  26754. "200":
  26755. description: OK
  26756. schema:
  26757. $ref: '#/definitions/models.Szdz3convertconfig'
  26758. "500":
  26759. description: Internal Server Error
  26760. schema:
  26761. $ref: '#/definitions/app.Response'
  26762. security:
  26763. - ApiKeyAuth: []
  26764. summary: 查询交易系统转换设置
  26765. tags:
  26766. - 定制【尚志大宗】
  26767. /SZDZ/QueryConvertLog:
  26768. get:
  26769. parameters:
  26770. - description: 资金账户 - 格式:1,2,3
  26771. in: query
  26772. name: accountID
  26773. required: true
  26774. type: string
  26775. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  26776. in: query
  26777. name: startDate
  26778. type: string
  26779. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  26780. in: query
  26781. name: endDate
  26782. type: string
  26783. produces:
  26784. - application/json
  26785. responses:
  26786. "200":
  26787. description: OK
  26788. schema:
  26789. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  26790. "500":
  26791. description: Internal Server Error
  26792. schema:
  26793. $ref: '#/definitions/app.Response'
  26794. security:
  26795. - ApiKeyAuth: []
  26796. summary: 交易系统转换流水查询
  26797. tags:
  26798. - 定制【尚志大宗】
  26799. /SZDZ/QueryGoodsPickup:
  26800. get:
  26801. parameters:
  26802. - description: 资金账户 - 格式:1,2,3
  26803. in: query
  26804. name: accountID
  26805. required: true
  26806. type: string
  26807. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  26808. in: query
  26809. name: takeOrderStatus
  26810. type: integer
  26811. produces:
  26812. - application/json
  26813. responses:
  26814. "200":
  26815. description: OK
  26816. schema:
  26817. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  26818. "500":
  26819. description: Internal Server Error
  26820. schema:
  26821. $ref: '#/definitions/app.Response'
  26822. security:
  26823. - ApiKeyAuth: []
  26824. summary: 商品提货单查询
  26825. tags:
  26826. - 定制【尚志大宗】
  26827. /SZDZ/QueryRecieptOrder:
  26828. get:
  26829. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  26830. parameters:
  26831. - description: 页码
  26832. in: query
  26833. name: page
  26834. type: integer
  26835. - description: 每页条数
  26836. in: query
  26837. name: pagesize
  26838. type: integer
  26839. - description: 商品ID
  26840. in: query
  26841. name: goodsID
  26842. required: true
  26843. type: integer
  26844. - description: 所属账户名称
  26845. in: query
  26846. name: accountName
  26847. type: string
  26848. - description: 市场ID
  26849. in: query
  26850. name: marketID
  26851. type: integer
  26852. - description: 方向 - 0:买 1:卖
  26853. in: query
  26854. name: buyorsell
  26855. required: true
  26856. type: integer
  26857. produces:
  26858. - application/json
  26859. responses:
  26860. "200":
  26861. description: OK
  26862. schema:
  26863. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  26864. "500":
  26865. description: Internal Server Error
  26866. schema:
  26867. $ref: '#/definitions/app.Response'
  26868. security:
  26869. - ApiKeyAuth: []
  26870. summary: 点选挂牌委托单据查询(摘牌大厅)
  26871. tags:
  26872. - 定制【尚志大宗】
  26873. /SZDZ/QuerySZDZTradePosition:
  26874. get:
  26875. parameters:
  26876. - description: 资金账户
  26877. in: query
  26878. name: accountID
  26879. required: true
  26880. type: integer
  26881. produces:
  26882. - application/json
  26883. responses:
  26884. "200":
  26885. description: OK
  26886. schema:
  26887. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  26888. "500":
  26889. description: Internal Server Error
  26890. schema:
  26891. $ref: '#/definitions/app.Response'
  26892. security:
  26893. - ApiKeyAuth: []
  26894. summary: 持仓汇总查询(尚志大宗)
  26895. tags:
  26896. - 定制【尚志大宗】
  26897. /SZDZ/SearchWhite:
  26898. get:
  26899. parameters:
  26900. - description: 用户ID
  26901. in: query
  26902. name: userID
  26903. required: true
  26904. type: integer
  26905. produces:
  26906. - application/json
  26907. responses:
  26908. "200":
  26909. description: OK
  26910. schema:
  26911. $ref: '#/definitions/models.Szdz3searchwhitelist'
  26912. "500":
  26913. description: Internal Server Error
  26914. schema:
  26915. $ref: '#/definitions/app.Response'
  26916. security:
  26917. - ApiKeyAuth: []
  26918. summary: 搜索白名单
  26919. tags:
  26920. - 定制【尚志大宗】
  26921. /Search/SearchGoodses:
  26922. get:
  26923. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  26924. parameters:
  26925. - description: 检索内容
  26926. in: query
  26927. name: content
  26928. required: true
  26929. type: string
  26930. - description: 交易模式,格式:1,2,3
  26931. in: query
  26932. name: tradeModes
  26933. type: string
  26934. produces:
  26935. - application/json
  26936. responses:
  26937. "200":
  26938. description: OK
  26939. schema:
  26940. $ref: '#/definitions/models.SearchGoods'
  26941. "500":
  26942. description: Internal Server Error
  26943. schema:
  26944. $ref: '#/definitions/app.Response'
  26945. summary: 检索商品信息
  26946. tags:
  26947. - 检索服务
  26948. /TaAccount/GetTaAccounts:
  26949. get:
  26950. parameters:
  26951. - description: 登录账户
  26952. in: query
  26953. name: loginID
  26954. required: true
  26955. type: integer
  26956. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  26957. in: query
  26958. name: taAccountType
  26959. type: integer
  26960. produces:
  26961. - application/json
  26962. responses:
  26963. "200":
  26964. description: OK
  26965. schema:
  26966. $ref: '#/definitions/models.Taaccount'
  26967. "500":
  26968. description: Internal Server Error
  26969. schema:
  26970. $ref: '#/definitions/app.Response'
  26971. security:
  26972. - ApiKeyAuth: []
  26973. summary: 获取资金账户信息
  26974. tags:
  26975. - 资金账户
  26976. /TaAccount/QueryAmountLog:
  26977. get:
  26978. parameters:
  26979. - description: 页码
  26980. in: query
  26981. name: page
  26982. type: integer
  26983. - description: 每页条数
  26984. in: query
  26985. name: pagesize
  26986. type: integer
  26987. - description: 资金账户 - 格式:1,2,3
  26988. in: query
  26989. name: accountID
  26990. required: true
  26991. type: string
  26992. - description: 资金操作类型 - 格式:1,2,3
  26993. in: query
  26994. name: OperateType
  26995. type: string
  26996. produces:
  26997. - application/json
  26998. responses:
  26999. "200":
  27000. description: OK
  27001. schema:
  27002. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  27003. "500":
  27004. description: Internal Server Error
  27005. schema:
  27006. $ref: '#/definitions/app.Response'
  27007. security:
  27008. - ApiKeyAuth: []
  27009. summary: 资金流水查询(当前)
  27010. tags:
  27011. - 资金账户
  27012. /TaAccount/QueryHisAmountLog:
  27013. get:
  27014. parameters:
  27015. - description: 页码
  27016. in: query
  27017. name: page
  27018. type: integer
  27019. - description: 每页条数
  27020. in: query
  27021. name: pagesize
  27022. type: integer
  27023. - description: 资金账户 - 格式:1,2,3
  27024. in: query
  27025. name: accountID
  27026. required: true
  27027. type: string
  27028. - description: 资金操作类型 - 格式:1,2,3
  27029. in: query
  27030. name: OperateType
  27031. type: string
  27032. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  27033. in: query
  27034. name: startDate
  27035. type: string
  27036. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  27037. in: query
  27038. name: endDate
  27039. type: string
  27040. produces:
  27041. - application/json
  27042. responses:
  27043. "200":
  27044. description: OK
  27045. schema:
  27046. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  27047. "500":
  27048. description: Internal Server Error
  27049. schema:
  27050. $ref: '#/definitions/app.Response'
  27051. security:
  27052. - ApiKeyAuth: []
  27053. summary: 资金流水查询(历史)
  27054. tags:
  27055. - 资金账户
  27056. /Tjmd/QueryQuoteGoodsList:
  27057. get:
  27058. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  27059. parameters:
  27060. - description: 用户类型
  27061. in: query
  27062. name: usertype
  27063. required: true
  27064. type: integer
  27065. - description: 市场id, 格式 1,2,3
  27066. in: query
  27067. name: marketids
  27068. type: string
  27069. - description: 商品组id
  27070. in: query
  27071. name: goodsgroupid
  27072. type: integer
  27073. - description: 商品id
  27074. in: query
  27075. name: goodsid
  27076. type: integer
  27077. produces:
  27078. - application/json
  27079. responses:
  27080. "200":
  27081. description: OK
  27082. schema:
  27083. items:
  27084. $ref: '#/definitions/models.TjmdQuoteGoods'
  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/QueryTjmdHolderDetailTradeInfo:
  27096. get:
  27097. parameters:
  27098. - description: 成交单号
  27099. in: query
  27100. name: tradeid
  27101. required: true
  27102. type: string
  27103. produces:
  27104. - application/json
  27105. responses:
  27106. "200":
  27107. description: OK
  27108. schema:
  27109. items:
  27110. $ref: '#/definitions/models.TjmdHolderDetailTradeInfo'
  27111. type: array
  27112. "500":
  27113. description: Internal Server Error
  27114. schema:
  27115. $ref: '#/definitions/app.Response'
  27116. security:
  27117. - ApiKeyAuth: []
  27118. summary: 掉期商品订单详情(交易确认书)
  27119. tags:
  27120. - 天津麦顿
  27121. /Tjmd/QueryTjmdMarketSection:
  27122. get:
  27123. produces:
  27124. - application/json
  27125. responses:
  27126. "200":
  27127. description: OK
  27128. schema:
  27129. items:
  27130. $ref: '#/definitions/models.TjmdMarketSection'
  27131. type: array
  27132. "500":
  27133. description: Internal Server Error
  27134. schema:
  27135. $ref: '#/definitions/app.Response'
  27136. security:
  27137. - ApiKeyAuth: []
  27138. summary: 查询市场板块
  27139. tags:
  27140. - 天津麦顿
  27141. /Tjmd/QueryTjmdTodayAccountMargin:
  27142. get:
  27143. parameters:
  27144. - description: 市场id
  27145. in: query
  27146. name: marketid
  27147. type: string
  27148. - description: 商品id
  27149. in: query
  27150. name: goodsid
  27151. type: string
  27152. - description: 资金账号
  27153. in: query
  27154. name: accountid
  27155. type: string
  27156. produces:
  27157. - application/json
  27158. responses:
  27159. "200":
  27160. description: OK
  27161. schema:
  27162. items:
  27163. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  27164. type: array
  27165. "500":
  27166. description: Internal Server Error
  27167. schema:
  27168. $ref: '#/definitions/app.Response'
  27169. security:
  27170. - ApiKeyAuth: []
  27171. summary: 查询今日账户保证金配置
  27172. tags:
  27173. - 天津麦顿
  27174. /Tjmd/QueryTjmdTradeOrderDetail:
  27175. get:
  27176. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  27177. parameters:
  27178. - description: 页码
  27179. in: query
  27180. name: page
  27181. type: integer
  27182. - description: 每页条数
  27183. in: query
  27184. name: pagesize
  27185. type: integer
  27186. - description: 用户id
  27187. in: query
  27188. name: userid
  27189. required: true
  27190. type: integer
  27191. - description: 用户类型
  27192. in: query
  27193. name: usertype
  27194. required: true
  27195. type: integer
  27196. - description: 市场id, 格式 1,2,3
  27197. in: query
  27198. name: marketids
  27199. type: string
  27200. - description: 商品id
  27201. in: query
  27202. name: goodsid
  27203. required: true
  27204. type: integer
  27205. - description: 买卖方向 0-买 1-卖
  27206. in: query
  27207. name: buyorsell
  27208. required: true
  27209. type: integer
  27210. produces:
  27211. - application/json
  27212. responses:
  27213. "200":
  27214. description: OK
  27215. schema:
  27216. items:
  27217. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  27218. type: array
  27219. "500":
  27220. description: Internal Server Error
  27221. schema:
  27222. $ref: '#/definitions/app.Response'
  27223. security:
  27224. - ApiKeyAuth: []
  27225. summary: 查询掉期买卖大厅
  27226. tags:
  27227. - 天津麦顿
  27228. /Tjmd/QueryTjmdTransferApply:
  27229. get:
  27230. parameters:
  27231. - description: 类型 1-我的申请 2-对方申请
  27232. in: query
  27233. name: applytype
  27234. required: true
  27235. type: integer
  27236. - description: 市场id, 格式 1,2,3
  27237. in: query
  27238. name: marketids
  27239. type: string
  27240. - description: 资金账号, 格式 25000000001,25000000003
  27241. in: query
  27242. name: accountids
  27243. type: string
  27244. - description: 开始交易日(yyyymmdd)
  27245. in: query
  27246. name: begindate
  27247. type: string
  27248. - description: 结束交易日(yyyymmdd)
  27249. in: query
  27250. name: enddate
  27251. type: string
  27252. produces:
  27253. - application/json
  27254. responses:
  27255. "200":
  27256. description: OK
  27257. schema:
  27258. items:
  27259. $ref: '#/definitions/models.TjmdTransferApply'
  27260. type: array
  27261. "500":
  27262. description: Internal Server Error
  27263. schema:
  27264. $ref: '#/definitions/app.Response'
  27265. security:
  27266. - ApiKeyAuth: []
  27267. summary: 查询掉期协议单
  27268. tags:
  27269. - 天津麦顿
  27270. /Trade/QueryRecieptOrder:
  27271. get:
  27272. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  27273. parameters:
  27274. - description: 页码
  27275. in: query
  27276. name: page
  27277. type: integer
  27278. - description: 每页条数
  27279. in: query
  27280. name: pagesize
  27281. type: integer
  27282. - description: 商品ID
  27283. in: query
  27284. name: goodsID
  27285. required: true
  27286. type: integer
  27287. - description: 所属账户名称
  27288. in: query
  27289. name: accountName
  27290. type: string
  27291. - description: 市场ID
  27292. in: query
  27293. name: marketID
  27294. type: integer
  27295. - description: 方向 - 0:买 1:卖
  27296. in: query
  27297. name: buyorsell
  27298. required: true
  27299. type: integer
  27300. produces:
  27301. - application/json
  27302. responses:
  27303. "200":
  27304. description: OK
  27305. schema:
  27306. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  27307. "500":
  27308. description: Internal Server Error
  27309. schema:
  27310. $ref: '#/definitions/app.Response'
  27311. security:
  27312. - ApiKeyAuth: []
  27313. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  27314. tags:
  27315. - 通用交易
  27316. /User/AddMessageBoard:
  27317. post:
  27318. parameters:
  27319. - description: 用户ID
  27320. in: query
  27321. name: userID
  27322. required: true
  27323. type: integer
  27324. - description: 留言信息
  27325. in: query
  27326. name: message
  27327. required: true
  27328. type: string
  27329. - description: 联系电话
  27330. in: query
  27331. name: contactNum
  27332. required: true
  27333. type: string
  27334. produces:
  27335. - application/json
  27336. responses:
  27337. "200":
  27338. description: OK
  27339. schema:
  27340. $ref: '#/definitions/app.Response'
  27341. "500":
  27342. description: Internal Server Error
  27343. schema:
  27344. $ref: '#/definitions/app.Response'
  27345. security:
  27346. - ApiKeyAuth: []
  27347. summary: 添加用户留言板信息
  27348. tags:
  27349. - 用户信息
  27350. /User/AddUserFavoriteGoods:
  27351. post:
  27352. parameters:
  27353. - description: 用户ID
  27354. in: query
  27355. name: userID
  27356. required: true
  27357. type: integer
  27358. - description: 商品ID
  27359. in: query
  27360. name: goodsID
  27361. required: true
  27362. type: integer
  27363. produces:
  27364. - application/json
  27365. responses:
  27366. "200":
  27367. description: OK
  27368. schema:
  27369. $ref: '#/definitions/app.Response'
  27370. "500":
  27371. description: Internal Server Error
  27372. schema:
  27373. $ref: '#/definitions/app.Response'
  27374. security:
  27375. - ApiKeyAuth: []
  27376. summary: 添加用户商品收藏信息
  27377. tags:
  27378. - 用户信息
  27379. /User/GetLoginID:
  27380. get:
  27381. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  27382. parameters:
  27383. - description: 登录代码
  27384. in: query
  27385. name: username
  27386. required: true
  27387. type: string
  27388. produces:
  27389. - application/json
  27390. responses:
  27391. "200":
  27392. description: OK
  27393. schema:
  27394. $ref: '#/definitions/app.Response'
  27395. "500":
  27396. description: Internal Server Error
  27397. schema:
  27398. $ref: '#/definitions/app.Response'
  27399. summary: 获取登录ID
  27400. tags:
  27401. - 用户信息
  27402. /User/GetUserAccount:
  27403. get:
  27404. parameters:
  27405. - description: 用户ID
  27406. in: query
  27407. name: userID
  27408. required: true
  27409. type: integer
  27410. produces:
  27411. - application/json
  27412. responses:
  27413. "200":
  27414. description: OK
  27415. schema:
  27416. $ref: '#/definitions/models.Useraccount'
  27417. "500":
  27418. description: Internal Server Error
  27419. schema:
  27420. $ref: '#/definitions/app.Response'
  27421. security:
  27422. - ApiKeyAuth: []
  27423. summary: 获取用户账号信息
  27424. tags:
  27425. - 用户信息
  27426. /User/GetUserAuthStatus:
  27427. get:
  27428. parameters:
  27429. - description: 用户ID
  27430. in: query
  27431. name: userID
  27432. required: true
  27433. type: integer
  27434. produces:
  27435. - application/json
  27436. responses:
  27437. "200":
  27438. description: OK
  27439. schema:
  27440. $ref: '#/definitions/app.Response'
  27441. "500":
  27442. description: Internal Server Error
  27443. schema:
  27444. $ref: '#/definitions/app.Response'
  27445. security:
  27446. - ApiKeyAuth: []
  27447. summary: 获取用户实名认证状态
  27448. tags:
  27449. - 用户信息
  27450. /User/LoginQuery:
  27451. get:
  27452. parameters:
  27453. - description: 登录账号
  27454. in: query
  27455. name: loginID
  27456. required: true
  27457. type: integer
  27458. produces:
  27459. - application/json
  27460. responses:
  27461. "200":
  27462. description: OK
  27463. schema:
  27464. $ref: '#/definitions/user.LoginQueryRsp'
  27465. "500":
  27466. description: Internal Server Error
  27467. schema:
  27468. $ref: '#/definitions/app.Response'
  27469. security:
  27470. - ApiKeyAuth: []
  27471. summary: 账户登录后信息查询
  27472. tags:
  27473. - 用户信息
  27474. /User/QueryMessageBoard:
  27475. get:
  27476. parameters:
  27477. - description: 用户ID
  27478. in: query
  27479. name: userID
  27480. required: true
  27481. type: integer
  27482. produces:
  27483. - application/json
  27484. responses:
  27485. "200":
  27486. description: OK
  27487. schema:
  27488. $ref: '#/definitions/models.Messageboard'
  27489. "500":
  27490. description: Internal Server Error
  27491. schema:
  27492. $ref: '#/definitions/app.Response'
  27493. security:
  27494. - ApiKeyAuth: []
  27495. summary: 获取用户留言板信息
  27496. tags:
  27497. - 用户信息
  27498. /User/QueryUserFavoriteGoodses:
  27499. get:
  27500. parameters:
  27501. - description: 用户ID
  27502. in: query
  27503. name: userID
  27504. required: true
  27505. type: integer
  27506. produces:
  27507. - application/json
  27508. responses:
  27509. "200":
  27510. description: OK
  27511. schema:
  27512. $ref: '#/definitions/models.Userfavoritegoods'
  27513. "500":
  27514. description: Internal Server Error
  27515. schema:
  27516. $ref: '#/definitions/app.Response'
  27517. security:
  27518. - ApiKeyAuth: []
  27519. summary: 获取用户商品收藏信息
  27520. tags:
  27521. - 用户信息
  27522. /User/QueryUserInfo:
  27523. get:
  27524. parameters:
  27525. - description: 用户ID
  27526. in: query
  27527. name: userID
  27528. required: true
  27529. type: integer
  27530. - description: 是否解密
  27531. in: query
  27532. name: isDecrypt
  27533. type: boolean
  27534. produces:
  27535. - application/json
  27536. responses:
  27537. "200":
  27538. description: OK
  27539. schema:
  27540. $ref: '#/definitions/models.Userinfo'
  27541. "500":
  27542. description: Internal Server Error
  27543. schema:
  27544. $ref: '#/definitions/app.Response'
  27545. security:
  27546. - ApiKeyAuth: []
  27547. summary: 获取用户信息
  27548. tags:
  27549. - 用户信息
  27550. /User/QueryUserReferNum:
  27551. get:
  27552. parameters:
  27553. - description: 用户ID
  27554. in: query
  27555. name: userID
  27556. required: true
  27557. type: integer
  27558. produces:
  27559. - application/json
  27560. responses:
  27561. "200":
  27562. description: OK
  27563. schema:
  27564. $ref: '#/definitions/app.Response'
  27565. "500":
  27566. description: Internal Server Error
  27567. schema:
  27568. $ref: '#/definitions/app.Response'
  27569. summary: 获取用户邀请码
  27570. tags:
  27571. - 用户信息
  27572. /User/RemoveUserFavoriteGoods:
  27573. post:
  27574. parameters:
  27575. - description: 用户ID
  27576. in: query
  27577. name: userID
  27578. required: true
  27579. type: integer
  27580. - description: 商品ID
  27581. in: query
  27582. name: goodsID
  27583. required: true
  27584. type: integer
  27585. produces:
  27586. - application/json
  27587. responses:
  27588. "200":
  27589. description: OK
  27590. schema:
  27591. $ref: '#/definitions/app.Response'
  27592. "500":
  27593. description: Internal Server Error
  27594. schema:
  27595. $ref: '#/definitions/app.Response'
  27596. security:
  27597. - ApiKeyAuth: []
  27598. summary: 移除用户商品收藏信息
  27599. tags:
  27600. - 用户信息
  27601. /User/UpdateUserAccountStatus:
  27602. post:
  27603. parameters:
  27604. - description: 用户ID
  27605. in: query
  27606. name: userID
  27607. required: true
  27608. type: integer
  27609. - description: 账户状态 - 4:正常 6:注销(停用)
  27610. in: query
  27611. name: accountStatus
  27612. required: true
  27613. type: integer
  27614. produces:
  27615. - application/json
  27616. responses:
  27617. "200":
  27618. description: OK
  27619. schema:
  27620. $ref: '#/definitions/app.Response'
  27621. "500":
  27622. description: Internal Server Error
  27623. schema:
  27624. $ref: '#/definitions/app.Response'
  27625. security:
  27626. - ApiKeyAuth: []
  27627. summary: 更新用户状态
  27628. tags:
  27629. - 用户信息
  27630. /WRTrade/GetAllDeliveryGoods:
  27631. get:
  27632. produces:
  27633. - application/json
  27634. responses:
  27635. "200":
  27636. description: OK
  27637. schema:
  27638. $ref: '#/definitions/app.Response'
  27639. "500":
  27640. description: Internal Server Error
  27641. schema:
  27642. $ref: '#/definitions/app.Response'
  27643. security:
  27644. - ApiKeyAuth: []
  27645. summary: 获取带仓单分类的种类信息
  27646. tags:
  27647. - 仓单贸易
  27648. - 仓单贸易
  27649. /WrTrade2/QueryDeliveryGoodsSection:
  27650. get:
  27651. produces:
  27652. - application/json
  27653. responses:
  27654. "200":
  27655. description: OK
  27656. schema:
  27657. items:
  27658. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  27659. type: array
  27660. "500":
  27661. description: Internal Server Error
  27662. schema:
  27663. $ref: '#/definitions/app.Response'
  27664. security:
  27665. - ApiKeyAuth: []
  27666. summary: 查询板块(分类)
  27667. tags:
  27668. - 仓单贸易v2
  27669. /WrTrade2/QueryFaProductDetail:
  27670. get:
  27671. description: 页面 买卖大厅 -> 选择融资方案
  27672. parameters:
  27673. - description: 仓单要素id
  27674. in: query
  27675. name: wrfactortypeid
  27676. required: true
  27677. type: integer
  27678. produces:
  27679. - application/json
  27680. responses:
  27681. "200":
  27682. description: OK
  27683. schema:
  27684. items:
  27685. $ref: '#/definitions/models.WrFAProductDetail'
  27686. type: array
  27687. "500":
  27688. description: Internal Server Error
  27689. schema:
  27690. $ref: '#/definitions/app.Response'
  27691. security:
  27692. - ApiKeyAuth: []
  27693. summary: 查询融资产品列表
  27694. tags:
  27695. - 仓单贸易v2
  27696. /WrTrade2/QueryFilterItem:
  27697. get:
  27698. parameters:
  27699. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  27700. in: query
  27701. name: itype
  27702. required: true
  27703. type: string
  27704. produces:
  27705. - application/json
  27706. responses:
  27707. "200":
  27708. description: OK
  27709. schema:
  27710. items:
  27711. $ref: '#/definitions/models.WrFilterItem'
  27712. type: array
  27713. "500":
  27714. description: Internal Server Error
  27715. schema:
  27716. $ref: '#/definitions/app.Response'
  27717. security:
  27718. - ApiKeyAuth: []
  27719. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  27720. tags:
  27721. - 仓单贸易v2
  27722. /WrTrade2/QueryFtDeliveryGoods:
  27723. get:
  27724. produces:
  27725. - application/json
  27726. responses:
  27727. "200":
  27728. description: OK
  27729. schema:
  27730. items:
  27731. $ref: '#/definitions/models.WrFtDeliveryGoods'
  27732. type: array
  27733. "500":
  27734. description: Internal Server Error
  27735. schema:
  27736. $ref: '#/definitions/app.Response'
  27737. security:
  27738. - ApiKeyAuth: []
  27739. summary: 查询品种品类筛选框列表
  27740. tags:
  27741. - 仓单贸易v2
  27742. /WrTrade2/QueryHoldLB:
  27743. get:
  27744. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  27745. parameters:
  27746. - description: 资金账号
  27747. in: query
  27748. name: accountid
  27749. required: true
  27750. type: integer
  27751. - description: 仓库id
  27752. in: query
  27753. name: warehouseid
  27754. type: integer
  27755. - description: 品种id
  27756. in: query
  27757. name: deliverygoodsid
  27758. type: integer
  27759. - description: 品类id
  27760. in: query
  27761. name: wrstandardid
  27762. type: integer
  27763. - description: 仓单要素id
  27764. in: query
  27765. name: wrfactortypeid
  27766. type: integer
  27767. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27768. in: query
  27769. name: dgitemname
  27770. type: string
  27771. produces:
  27772. - application/json
  27773. responses:
  27774. "200":
  27775. description: OK
  27776. schema:
  27777. items:
  27778. $ref: '#/definitions/models.WrHoldLB'
  27779. type: array
  27780. "500":
  27781. description: Internal Server Error
  27782. schema:
  27783. $ref: '#/definitions/app.Response'
  27784. security:
  27785. - ApiKeyAuth: []
  27786. summary: 查询仓单持有记录
  27787. tags:
  27788. - 仓单贸易v2
  27789. /WrTrade2/QueryOrderQuote:
  27790. get:
  27791. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  27792. 唯一确定1条记录
  27793. parameters:
  27794. - description: 页码
  27795. in: query
  27796. name: page
  27797. type: integer
  27798. - description: 每页条数
  27799. in: query
  27800. name: pagesize
  27801. type: integer
  27802. - description: 仓单贸易市场id
  27803. in: query
  27804. name: marketid
  27805. type: integer
  27806. - description: 价格方式 - 1:固定价 2-浮动价
  27807. in: query
  27808. name: wrpricetype
  27809. required: true
  27810. type: integer
  27811. - description: 0:仓单预售 1:仓单贸易
  27812. in: query
  27813. name: haswr
  27814. type: integer
  27815. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27816. in: query
  27817. name: dgitemname
  27818. type: string
  27819. - description: 仓库id(筛选条件)
  27820. in: query
  27821. name: warehouseid
  27822. type: integer
  27823. - description: 品种id
  27824. in: query
  27825. name: deliverygoodsid
  27826. type: integer
  27827. - description: 品类id
  27828. in: query
  27829. name: wrstandardid
  27830. type: integer
  27831. - description: 品牌id(dgfactoryitemid)
  27832. in: query
  27833. name: brandid
  27834. type: integer
  27835. - description: 年份id(dgfactoryitemid)
  27836. in: query
  27837. name: yearsid
  27838. type: integer
  27839. - description: 仓单要素id
  27840. in: query
  27841. name: wrfactortypeid
  27842. type: integer
  27843. - description: 交收月(yyyy-mm) 仓单预售填写
  27844. in: query
  27845. name: deliverymonth
  27846. type: string
  27847. produces:
  27848. - application/json
  27849. responses:
  27850. "200":
  27851. description: OK
  27852. schema:
  27853. items:
  27854. $ref: '#/definitions/models.WrOrderQuote'
  27855. type: array
  27856. "500":
  27857. description: Internal Server Error
  27858. schema:
  27859. $ref: '#/definitions/app.Response'
  27860. security:
  27861. - ApiKeyAuth: []
  27862. summary: 查询大厅行情列表
  27863. tags:
  27864. - 仓单贸易v2
  27865. /WrTrade2/QueryOrderQuoteDetail:
  27866. get:
  27867. parameters:
  27868. - description: 页码
  27869. in: query
  27870. name: page
  27871. type: integer
  27872. - description: 每页条数
  27873. in: query
  27874. name: pagesize
  27875. type: integer
  27876. - description: 仓单贸易市场id
  27877. in: query
  27878. name: marketid
  27879. type: integer
  27880. - description: 价格方式 - 1:固定价 2-浮动价
  27881. in: query
  27882. name: wrpricetype
  27883. required: true
  27884. type: integer
  27885. - description: 0:仓单预售 1:仓单贸易
  27886. in: query
  27887. name: haswr
  27888. type: integer
  27889. - description: 仓单要素id
  27890. in: query
  27891. name: wrfactortypeid
  27892. required: true
  27893. type: integer
  27894. - description: 期货商品id(浮动价方式时填)
  27895. in: query
  27896. name: goodsid
  27897. type: integer
  27898. - description: 买卖方向 0-买 1-卖
  27899. in: query
  27900. name: buyorsell
  27901. required: true
  27902. type: integer
  27903. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  27904. in: query
  27905. name: deliverymonth
  27906. type: string
  27907. produces:
  27908. - application/json
  27909. responses:
  27910. "200":
  27911. description: OK
  27912. schema:
  27913. items:
  27914. $ref: '#/definitions/models.WrOrderQuoteDetail'
  27915. type: array
  27916. "500":
  27917. description: Internal Server Error
  27918. schema:
  27919. $ref: '#/definitions/app.Response'
  27920. security:
  27921. - ApiKeyAuth: []
  27922. summary: 查询买卖大厅
  27923. tags:
  27924. - 仓单贸易v2
  27925. /WrTrade2/QueryOrderQuoteMyq:
  27926. get:
  27927. parameters:
  27928. - description: 页码
  27929. in: query
  27930. name: page
  27931. type: integer
  27932. - description: 每页条数
  27933. in: query
  27934. name: pagesize
  27935. type: integer
  27936. - description: 用户id
  27937. in: query
  27938. name: userid
  27939. required: true
  27940. type: integer
  27941. - description: 仓单贸易市场id
  27942. in: query
  27943. name: marketid
  27944. type: integer
  27945. - description: 0:仓单预售 1:仓单贸易
  27946. in: query
  27947. name: haswr
  27948. type: integer
  27949. - description: 买卖方向 0-买 1-卖
  27950. in: query
  27951. name: buyorsell
  27952. required: true
  27953. type: integer
  27954. - description: 品种id
  27955. in: query
  27956. name: deliverygoodsid
  27957. type: integer
  27958. - description: 品类id
  27959. in: query
  27960. name: wrstandardid
  27961. type: integer
  27962. - description: 交收月(yyyy-mm) 仓单预售填写
  27963. in: query
  27964. name: deliverymonth
  27965. type: string
  27966. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27967. in: query
  27968. name: dgitemname
  27969. type: string
  27970. produces:
  27971. - application/json
  27972. responses:
  27973. "200":
  27974. description: OK
  27975. schema:
  27976. items:
  27977. $ref: '#/definitions/models.WrQuoteOrderMyq'
  27978. type: array
  27979. "500":
  27980. description: Internal Server Error
  27981. schema:
  27982. $ref: '#/definitions/app.Response'
  27983. security:
  27984. - ApiKeyAuth: []
  27985. summary: 查询贸易圈挂牌大厅
  27986. tags:
  27987. - 仓单贸易v2
  27988. /WrTrade2/QueryPerformancePlan:
  27989. get:
  27990. parameters:
  27991. - description: 用户id
  27992. in: query
  27993. name: userid
  27994. required: true
  27995. type: integer
  27996. - description: 买卖方向 0-买 1-卖
  27997. in: query
  27998. name: buyorsell
  27999. required: true
  28000. type: integer
  28001. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  28002. 8:释放冻结失败 9:超时待处理 10:超时关闭
  28003. in: query
  28004. name: status
  28005. type: string
  28006. - description: 开始交易日(yyyymmdd)
  28007. in: query
  28008. name: begindate
  28009. type: string
  28010. - description: 结束交易日(yyyymmdd)
  28011. in: query
  28012. name: enddate
  28013. type: string
  28014. produces:
  28015. - application/json
  28016. responses:
  28017. "200":
  28018. description: OK
  28019. schema:
  28020. items:
  28021. $ref: '#/definitions/models.WrPerformancePlan'
  28022. type: array
  28023. "500":
  28024. description: Internal Server Error
  28025. schema:
  28026. $ref: '#/definitions/app.Response'
  28027. security:
  28028. - ApiKeyAuth: []
  28029. summary: 查询履约信息
  28030. tags:
  28031. - 仓单贸易v2
  28032. /WrTrade2/QueryPermancePlanTmp:
  28033. get:
  28034. description: |-
  28035. 返回指定用户的模板和公共模板(用户id为空)
  28036. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  28037. parameters:
  28038. - description: 用户id
  28039. in: query
  28040. name: userid
  28041. type: integer
  28042. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  28043. (无仓单) 5:挂牌期权 6:竞拍-降价式
  28044. in: query
  28045. name: tmptype
  28046. type: string
  28047. - description: 是否包含公共模板(用户id为空的) 1-包含
  28048. in: query
  28049. name: includepub
  28050. type: integer
  28051. - description: 市场id(天津麦顿指定此参数,其它不用)
  28052. in: query
  28053. name: marketid
  28054. type: integer
  28055. produces:
  28056. - application/json
  28057. responses:
  28058. "200":
  28059. description: OK
  28060. schema:
  28061. items:
  28062. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  28063. type: array
  28064. "500":
  28065. description: Internal Server Error
  28066. schema:
  28067. $ref: '#/definitions/app.Response'
  28068. security:
  28069. - ApiKeyAuth: []
  28070. summary: 查询履约模板
  28071. tags:
  28072. - 仓单贸易v2
  28073. /WrTrade2/QuerySiteColumnDetail:
  28074. get:
  28075. parameters:
  28076. - description: 页码
  28077. in: query
  28078. name: page
  28079. type: integer
  28080. - description: 每页条数
  28081. in: query
  28082. name: pagesize
  28083. type: integer
  28084. - description: 所属栏目id
  28085. in: query
  28086. name: columnid
  28087. type: integer
  28088. produces:
  28089. - application/json
  28090. responses:
  28091. "200":
  28092. description: OK
  28093. schema:
  28094. items:
  28095. $ref: '#/definitions/models.WrSiteColumnDetail'
  28096. type: array
  28097. "500":
  28098. description: Internal Server Error
  28099. schema:
  28100. $ref: '#/definitions/app.Response'
  28101. security:
  28102. - ApiKeyAuth: []
  28103. summary: 查询资讯
  28104. tags:
  28105. - 仓单贸易v2
  28106. /WrTrade2/QuerySpotGroupTradeSum:
  28107. get:
  28108. produces:
  28109. - application/json
  28110. responses:
  28111. "200":
  28112. description: OK
  28113. schema:
  28114. items:
  28115. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  28116. type: array
  28117. "500":
  28118. description: Internal Server Error
  28119. schema:
  28120. $ref: '#/definitions/app.Response'
  28121. security:
  28122. - ApiKeyAuth: []
  28123. summary: 查询指数
  28124. tags:
  28125. - 仓单贸易v2
  28126. /WrTrade2/QuerySpotGroupTradeSumDetail:
  28127. get:
  28128. description: 查询的结果将会按日期 从小到大 排序
  28129. parameters:
  28130. - description: 现货商品id
  28131. in: query
  28132. name: deliverygoodsid
  28133. required: true
  28134. type: integer
  28135. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  28136. in: query
  28137. name: lastnum
  28138. type: integer
  28139. produces:
  28140. - application/json
  28141. responses:
  28142. "200":
  28143. description: OK
  28144. schema:
  28145. items:
  28146. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  28147. type: array
  28148. "500":
  28149. description: Internal Server Error
  28150. schema:
  28151. $ref: '#/definitions/app.Response'
  28152. security:
  28153. - ApiKeyAuth: []
  28154. summary: 查询指数详细(价格走势图)
  28155. tags:
  28156. - 仓单贸易v2
  28157. /WrTrade2/QueryWrAverageTradePrice:
  28158. get:
  28159. parameters:
  28160. - description: 页码
  28161. in: query
  28162. name: page
  28163. type: integer
  28164. - description: 每页条数
  28165. in: query
  28166. name: pagesize
  28167. type: integer
  28168. - description: 0:仓单预售 1:仓单贸易
  28169. in: query
  28170. name: haswr
  28171. required: true
  28172. type: integer
  28173. - description: 仓单要素id
  28174. in: query
  28175. name: wrfactortypeid
  28176. required: true
  28177. type: integer
  28178. produces:
  28179. - application/json
  28180. responses:
  28181. "200":
  28182. description: OK
  28183. schema:
  28184. items:
  28185. $ref: '#/definitions/models.WrAverageTradePrice'
  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/QueryWrBrandAndYears:
  28197. get:
  28198. produces:
  28199. - application/json
  28200. responses:
  28201. "200":
  28202. description: OK
  28203. schema:
  28204. items:
  28205. $ref: '#/definitions/models.WrBrandAndYears'
  28206. type: array
  28207. "500":
  28208. description: Internal Server Error
  28209. schema:
  28210. $ref: '#/definitions/app.Response'
  28211. security:
  28212. - ApiKeyAuth: []
  28213. summary: 查询品牌和年份
  28214. tags:
  28215. - 仓单贸易v2
  28216. /WrTrade2/QueryWrBsGoodsInfo:
  28217. get:
  28218. description: 合约交易/买卖大厅/详情
  28219. parameters:
  28220. - description: 商品id
  28221. in: query
  28222. name: goodsid
  28223. required: true
  28224. type: integer
  28225. produces:
  28226. - application/json
  28227. responses:
  28228. "200":
  28229. description: OK
  28230. schema:
  28231. items:
  28232. $ref: '#/definitions/models.WrBsGoodsInfo'
  28233. type: array
  28234. "500":
  28235. description: Internal Server Error
  28236. schema:
  28237. $ref: '#/definitions/app.Response'
  28238. security:
  28239. - ApiKeyAuth: []
  28240. summary: 查询合约交易买卖大厅详情
  28241. tags:
  28242. - 仓单贸易v2
  28243. /WrTrade2/QueryWrBuybackDetail:
  28244. get:
  28245. parameters:
  28246. - description: 融资合同id
  28247. in: query
  28248. name: scfcontractid
  28249. type: integer
  28250. produces:
  28251. - application/json
  28252. responses:
  28253. "200":
  28254. description: OK
  28255. schema:
  28256. items:
  28257. $ref: '#/definitions/models.WrBuybackDetail'
  28258. type: array
  28259. "500":
  28260. description: Internal Server Error
  28261. schema:
  28262. $ref: '#/definitions/app.Response'
  28263. security:
  28264. - ApiKeyAuth: []
  28265. summary: 查询仓单回购明细
  28266. tags:
  28267. - 仓单贸易v2
  28268. /WrTrade2/QueryWrClientAdSpaceConfig:
  28269. get:
  28270. produces:
  28271. - application/json
  28272. responses:
  28273. "200":
  28274. description: OK
  28275. schema:
  28276. items:
  28277. $ref: '#/definitions/models.WrClientAdSpaceConfig'
  28278. type: array
  28279. "500":
  28280. description: Internal Server Error
  28281. schema:
  28282. $ref: '#/definitions/app.Response'
  28283. security:
  28284. - ApiKeyAuth: []
  28285. summary: 查询固定广告配置
  28286. tags:
  28287. - 仓单贸易v2
  28288. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  28289. get:
  28290. parameters:
  28291. - description: 资金账号
  28292. in: query
  28293. name: accountid
  28294. required: true
  28295. type: integer
  28296. - description: 商品id
  28297. in: query
  28298. name: goodsid
  28299. required: true
  28300. type: integer
  28301. produces:
  28302. - application/json
  28303. responses:
  28304. "200":
  28305. description: OK
  28306. schema:
  28307. items:
  28308. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  28309. type: array
  28310. "500":
  28311. description: Internal Server Error
  28312. schema:
  28313. $ref: '#/definitions/app.Response'
  28314. security:
  28315. - ApiKeyAuth: []
  28316. summary: 查询合约交收可点选仓单
  28317. tags:
  28318. - 仓单贸易v2
  28319. /WrTrade2/QueryWrDeliveryDetail:
  28320. get:
  28321. parameters:
  28322. - description: 用户id
  28323. in: query
  28324. name: userid
  28325. required: true
  28326. type: integer
  28327. - description: 资金账号id
  28328. in: query
  28329. name: accountid
  28330. type: integer
  28331. - description: 开始交易日(yyyymmdd)
  28332. in: query
  28333. name: begindate
  28334. type: string
  28335. - description: 结束交易日(yyyymmdd)
  28336. in: query
  28337. name: enddate
  28338. type: string
  28339. produces:
  28340. - application/json
  28341. responses:
  28342. "200":
  28343. description: OK
  28344. schema:
  28345. items:
  28346. $ref: '#/definitions/models.WrDeliveryDetail'
  28347. type: array
  28348. "500":
  28349. description: Internal Server Error
  28350. schema:
  28351. $ref: '#/definitions/app.Response'
  28352. security:
  28353. - ApiKeyAuth: []
  28354. summary: 查询交收
  28355. tags:
  28356. - 仓单贸易v2
  28357. /WrTrade2/QueryWrDraftUserInfo:
  28358. get:
  28359. parameters:
  28360. - description: 用户ID
  28361. in: query
  28362. name: userid
  28363. required: true
  28364. type: integer
  28365. - description: 用户状态 1:正常 2:注销
  28366. in: query
  28367. name: userstatus
  28368. type: integer
  28369. produces:
  28370. - application/json
  28371. responses:
  28372. "200":
  28373. description: OK
  28374. schema:
  28375. items:
  28376. $ref: '#/definitions/models.WrDraftUserInfo'
  28377. type: array
  28378. "500":
  28379. description: Internal Server Error
  28380. schema:
  28381. $ref: '#/definitions/app.Response'
  28382. security:
  28383. - ApiKeyAuth: []
  28384. summary: 查询实名认证信息
  28385. tags:
  28386. - 仓单贸易v2
  28387. /WrTrade2/QueryWrFactorTypeInfo:
  28388. get:
  28389. parameters:
  28390. - description: 仓单要素id
  28391. in: query
  28392. name: wrfactortypeid
  28393. required: true
  28394. type: integer
  28395. produces:
  28396. - application/json
  28397. responses:
  28398. "200":
  28399. description: OK
  28400. schema:
  28401. items:
  28402. $ref: '#/definitions/models.WrFactorTypeInfo'
  28403. type: array
  28404. "500":
  28405. description: Internal Server Error
  28406. schema:
  28407. $ref: '#/definitions/app.Response'
  28408. security:
  28409. - ApiKeyAuth: []
  28410. summary: 查询仓单要素详细信息
  28411. tags:
  28412. - 仓单贸易v2
  28413. /WrTrade2/QueryWrFactorTypeInfoEx:
  28414. get:
  28415. parameters:
  28416. - description: 仓单要素id
  28417. in: query
  28418. name: wrfactortypeid
  28419. required: true
  28420. type: integer
  28421. produces:
  28422. - application/json
  28423. responses:
  28424. "200":
  28425. description: OK
  28426. schema:
  28427. items:
  28428. $ref: '#/definitions/models.WrTypeItem'
  28429. type: array
  28430. "500":
  28431. description: Internal Server Error
  28432. schema:
  28433. $ref: '#/definitions/app.Response'
  28434. security:
  28435. - ApiKeyAuth: []
  28436. summary: 查询仓单要素详细信息列表项
  28437. tags:
  28438. - 仓单贸易v2
  28439. /WrTrade2/QueryWrFinanceBuyApply:
  28440. get:
  28441. description: 页面 融资信息+ / 申请单
  28442. parameters:
  28443. - description: 用户id
  28444. in: query
  28445. name: userid
  28446. required: true
  28447. type: integer
  28448. produces:
  28449. - application/json
  28450. responses:
  28451. "200":
  28452. description: OK
  28453. schema:
  28454. items:
  28455. $ref: '#/definitions/models.WrFinanceBuyApply'
  28456. type: array
  28457. "500":
  28458. description: Internal Server Error
  28459. schema:
  28460. $ref: '#/definitions/app.Response'
  28461. security:
  28462. - ApiKeyAuth: []
  28463. summary: 查询融资购买申请
  28464. tags:
  28465. - 仓单贸易v2
  28466. /WrTrade2/QueryWrFriendApply:
  28467. get:
  28468. parameters:
  28469. - description: 用户id
  28470. in: query
  28471. name: userid
  28472. required: true
  28473. type: integer
  28474. produces:
  28475. - application/json
  28476. responses:
  28477. "200":
  28478. description: OK
  28479. schema:
  28480. items:
  28481. $ref: '#/definitions/models.WrFriendApply'
  28482. type: array
  28483. "500":
  28484. description: Internal Server Error
  28485. schema:
  28486. $ref: '#/definitions/app.Response'
  28487. security:
  28488. - ApiKeyAuth: []
  28489. summary: 查询好友申请记录
  28490. tags:
  28491. - 仓单贸易v2
  28492. /WrTrade2/QueryWrGoodsInfo:
  28493. get:
  28494. parameters:
  28495. - description: 仓单贸易市场id
  28496. in: query
  28497. name: marketid
  28498. type: integer
  28499. - description: 0:仓单预售 1:仓单贸易
  28500. in: query
  28501. name: haswr
  28502. required: true
  28503. type: integer
  28504. - description: 仓单要素id
  28505. in: query
  28506. name: wrfactortypeid
  28507. required: true
  28508. type: integer
  28509. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  28510. in: query
  28511. name: tmplateid
  28512. type: integer
  28513. produces:
  28514. - application/json
  28515. responses:
  28516. "200":
  28517. description: OK
  28518. schema:
  28519. items:
  28520. $ref: '#/definitions/models.WrGoodsInfo'
  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/QueryWrMarketTradeConfig:
  28532. get:
  28533. parameters:
  28534. - description: 市场id
  28535. in: query
  28536. name: marketid
  28537. type: integer
  28538. produces:
  28539. - application/json
  28540. responses:
  28541. "200":
  28542. description: OK
  28543. schema:
  28544. items:
  28545. $ref: '#/definitions/models.WrMarketTradeConfig'
  28546. type: array
  28547. "500":
  28548. description: Internal Server Error
  28549. schema:
  28550. $ref: '#/definitions/app.Response'
  28551. security:
  28552. - ApiKeyAuth: []
  28553. summary: 查询市场交易参数配置
  28554. tags:
  28555. - 仓单贸易v2
  28556. /WrTrade2/QueryWrOrderDetail:
  28557. get:
  28558. description: 页面 现货仓单 | 预售仓单 -> 委托单
  28559. parameters:
  28560. - description: 页码
  28561. in: query
  28562. name: page
  28563. type: integer
  28564. - description: 每页条数
  28565. in: query
  28566. name: pagesize
  28567. type: integer
  28568. - description: 用户id
  28569. in: query
  28570. name: userid
  28571. required: true
  28572. type: integer
  28573. - description: 仓单贸易市场id
  28574. in: query
  28575. name: marketid
  28576. type: integer
  28577. - description: 0:仓单预售 1:仓单贸易
  28578. in: query
  28579. name: haswr
  28580. required: true
  28581. type: integer
  28582. - description: 是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场
  28583. in: query
  28584. name: bcancel
  28585. type: integer
  28586. - description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  28587. in: query
  28588. name: wrtradetype
  28589. type: integer
  28590. - description: 开始交易日(yyyymmdd)
  28591. in: query
  28592. name: begindate
  28593. type: string
  28594. - description: 结束交易日(yyyymmdd)
  28595. in: query
  28596. name: enddate
  28597. type: string
  28598. produces:
  28599. - application/json
  28600. responses:
  28601. "200":
  28602. description: OK
  28603. schema:
  28604. items:
  28605. $ref: '#/definitions/models.WrOrderDetail'
  28606. type: array
  28607. "500":
  28608. description: Internal Server Error
  28609. schema:
  28610. $ref: '#/definitions/app.Response'
  28611. security:
  28612. - ApiKeyAuth: []
  28613. summary: 查询仓单委托单
  28614. tags:
  28615. - 仓单贸易v2
  28616. /WrTrade2/QueryWrOutInApply:
  28617. get:
  28618. parameters:
  28619. - description: 用户id
  28620. in: query
  28621. name: userid
  28622. required: true
  28623. type: integer
  28624. - description: 开始交易日(yyyymmdd)
  28625. in: query
  28626. name: begindate
  28627. type: string
  28628. - description: 结束交易日(yyyymmdd)
  28629. in: query
  28630. name: enddate
  28631. type: string
  28632. produces:
  28633. - application/json
  28634. responses:
  28635. "200":
  28636. description: OK
  28637. schema:
  28638. items:
  28639. $ref: '#/definitions/models.WrOutInApply'
  28640. type: array
  28641. "500":
  28642. description: Internal Server Error
  28643. schema:
  28644. $ref: '#/definitions/app.Response'
  28645. security:
  28646. - ApiKeyAuth: []
  28647. summary: 查询提货申请
  28648. tags:
  28649. - 仓单贸易v2
  28650. /WrTrade2/QueryWrPerformancePlanStep:
  28651. get:
  28652. parameters:
  28653. - description: 履约计划id(performanceplanid)
  28654. in: query
  28655. name: planid
  28656. required: true
  28657. type: integer
  28658. - description: 当前步骤id
  28659. in: query
  28660. name: curstepid
  28661. type: integer
  28662. produces:
  28663. - application/json
  28664. responses:
  28665. "200":
  28666. description: OK
  28667. schema:
  28668. items:
  28669. $ref: '#/definitions/models.WrPerformancePlanStep'
  28670. type: array
  28671. "500":
  28672. description: Internal Server Error
  28673. schema:
  28674. $ref: '#/definitions/app.Response'
  28675. security:
  28676. - ApiKeyAuth: []
  28677. summary: 查询履约信息详情
  28678. tags:
  28679. - 仓单贸易v2
  28680. /WrTrade2/QueryWrPerformanceStepType:
  28681. get:
  28682. produces:
  28683. - application/json
  28684. responses:
  28685. "200":
  28686. description: OK
  28687. schema:
  28688. items:
  28689. $ref: '#/definitions/models.WrPerformanceStepType'
  28690. type: array
  28691. "500":
  28692. description: Internal Server Error
  28693. schema:
  28694. $ref: '#/definitions/app.Response'
  28695. security:
  28696. - ApiKeyAuth: []
  28697. summary: 查询履约步骤枚举
  28698. tags:
  28699. - 仓单贸易v2
  28700. /WrTrade2/QueryWrPosition:
  28701. get:
  28702. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  28703. parameters:
  28704. - description: 用户id
  28705. in: query
  28706. name: userid
  28707. required: true
  28708. type: integer
  28709. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  28710. in: query
  28711. name: querytype
  28712. required: true
  28713. type: integer
  28714. - description: 0:仓单预售 1:仓单贸易
  28715. in: query
  28716. name: haswr
  28717. required: true
  28718. type: integer
  28719. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  28720. in: query
  28721. name: dgitemname
  28722. type: string
  28723. - description: 仓库id(筛选条件)
  28724. in: query
  28725. name: warehouseid
  28726. type: integer
  28727. - description: 品种id
  28728. in: query
  28729. name: deliverygoodsid
  28730. type: integer
  28731. - description: 品类id
  28732. in: query
  28733. name: wrstandardid
  28734. type: integer
  28735. produces:
  28736. - application/json
  28737. responses:
  28738. "200":
  28739. description: OK
  28740. schema:
  28741. items:
  28742. $ref: '#/definitions/models.WrPosition'
  28743. type: array
  28744. "500":
  28745. description: Internal Server Error
  28746. schema:
  28747. $ref: '#/definitions/app.Response'
  28748. security:
  28749. - ApiKeyAuth: []
  28750. summary: 查询现货(预售)仓单持仓
  28751. tags:
  28752. - 仓单贸易v2
  28753. /WrTrade2/QueryWrPreSaleInfo:
  28754. get:
  28755. parameters:
  28756. - description: 市场id
  28757. in: query
  28758. name: marketid
  28759. type: integer
  28760. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  28761. in: query
  28762. name: presalestatus
  28763. type: string
  28764. - description: 摇号标识 - 0:未摇号 1:已摇号
  28765. in: query
  28766. name: lotteryflag
  28767. type: integer
  28768. - description: 最近多少条记录(按创建时间倒序)
  28769. in: query
  28770. name: lastnum
  28771. type: integer
  28772. produces:
  28773. - application/json
  28774. responses:
  28775. "200":
  28776. description: OK
  28777. schema:
  28778. items:
  28779. $ref: '#/definitions/models.WrPreSaleInfo'
  28780. type: array
  28781. "500":
  28782. description: Internal Server Error
  28783. schema:
  28784. $ref: '#/definitions/app.Response'
  28785. security:
  28786. - ApiKeyAuth: []
  28787. summary: 查询新品发布
  28788. tags:
  28789. - 仓单贸易v2
  28790. /WrTrade2/QueryWrReckonSpotGoodsTradeSum:
  28791. get:
  28792. parameters:
  28793. - description: 市场id
  28794. in: query
  28795. name: marketid
  28796. required: true
  28797. type: integer
  28798. - description: 现货商品id
  28799. in: query
  28800. name: wrstandardid
  28801. required: true
  28802. type: integer
  28803. - description: 开始交易日(yyyymmdd)
  28804. in: query
  28805. name: begindate
  28806. type: string
  28807. - description: 结束交易日(yyyymmdd)
  28808. in: query
  28809. name: enddate
  28810. type: string
  28811. - description: 最近多少条记录(按交易日倒序)
  28812. in: query
  28813. name: lastnum
  28814. type: integer
  28815. produces:
  28816. - application/json
  28817. responses:
  28818. "200":
  28819. description: OK
  28820. schema:
  28821. items:
  28822. $ref: '#/definitions/models.WrReckonSpotGoodsTradeSum'
  28823. type: array
  28824. "500":
  28825. description: Internal Server Error
  28826. schema:
  28827. $ref: '#/definitions/app.Response'
  28828. security:
  28829. - ApiKeyAuth: []
  28830. summary: 查询价格走势
  28831. tags:
  28832. - 仓单贸易v2
  28833. /WrTrade2/QueryWrScfContract:
  28834. get:
  28835. parameters:
  28836. - description: 用户id
  28837. in: query
  28838. name: userid
  28839. required: true
  28840. type: integer
  28841. - description: 融资合同id
  28842. in: query
  28843. name: scfcontractid
  28844. type: integer
  28845. produces:
  28846. - application/json
  28847. responses:
  28848. "200":
  28849. description: OK
  28850. schema:
  28851. items:
  28852. $ref: '#/definitions/models.WrScfContract'
  28853. type: array
  28854. "500":
  28855. description: Internal Server Error
  28856. schema:
  28857. $ref: '#/definitions/app.Response'
  28858. security:
  28859. - ApiKeyAuth: []
  28860. summary: 查询仓单贸易融资合同
  28861. tags:
  28862. - 仓单贸易v2
  28863. /WrTrade2/QueryWrScfContractInterest:
  28864. get:
  28865. parameters:
  28866. - description: 融资合同id
  28867. in: query
  28868. name: scfcontractid
  28869. type: integer
  28870. produces:
  28871. - application/json
  28872. responses:
  28873. "200":
  28874. description: OK
  28875. schema:
  28876. items:
  28877. $ref: '#/definitions/models.WrScfContractInterest'
  28878. type: array
  28879. "500":
  28880. description: Internal Server Error
  28881. schema:
  28882. $ref: '#/definitions/app.Response'
  28883. security:
  28884. - ApiKeyAuth: []
  28885. summary: 查询融资合同费用明细
  28886. tags:
  28887. - 仓单贸易v2
  28888. /WrTrade2/QueryWrSearchUser:
  28889. get:
  28890. parameters:
  28891. - description: 用户名称(模糊匹配)
  28892. in: query
  28893. name: username
  28894. required: true
  28895. type: string
  28896. produces:
  28897. - application/json
  28898. responses:
  28899. "200":
  28900. description: OK
  28901. schema:
  28902. items:
  28903. $ref: '#/definitions/models.WrSearchUser'
  28904. type: array
  28905. "500":
  28906. description: Internal Server Error
  28907. schema:
  28908. $ref: '#/definitions/app.Response'
  28909. security:
  28910. - ApiKeyAuth: []
  28911. summary: 查询用户
  28912. tags:
  28913. - 仓单贸易v2
  28914. /WrTrade2/QueryWrSpecialMatchOrder:
  28915. get:
  28916. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  28917. parameters:
  28918. - description: 页码
  28919. in: query
  28920. name: page
  28921. type: integer
  28922. - description: 每页条数
  28923. in: query
  28924. name: pagesize
  28925. type: integer
  28926. - description: 用户id
  28927. in: query
  28928. name: userid
  28929. required: true
  28930. type: integer
  28931. - description: 仓单贸易市场id
  28932. in: query
  28933. name: marketid
  28934. type: integer
  28935. - description: 0:仓单预售 1:仓单贸易
  28936. in: query
  28937. name: haswr
  28938. required: true
  28939. type: integer
  28940. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  28941. in: query
  28942. name: isspecified
  28943. type: integer
  28944. produces:
  28945. - application/json
  28946. responses:
  28947. "200":
  28948. description: OK
  28949. schema:
  28950. items:
  28951. $ref: '#/definitions/models.WrSpecialMatchOrder'
  28952. type: array
  28953. "500":
  28954. description: Internal Server Error
  28955. schema:
  28956. $ref: '#/definitions/app.Response'
  28957. security:
  28958. - ApiKeyAuth: []
  28959. summary: 查询指定成交
  28960. tags:
  28961. - 仓单贸易v2
  28962. /WrTrade2/QueryWrStandardFactoryItem:
  28963. get:
  28964. parameters:
  28965. - description: 品类id
  28966. in: query
  28967. name: wrstandardid
  28968. required: true
  28969. type: integer
  28970. produces:
  28971. - application/json
  28972. responses:
  28973. "200":
  28974. description: OK
  28975. schema:
  28976. items:
  28977. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  28978. type: array
  28979. "500":
  28980. description: Internal Server Error
  28981. schema:
  28982. $ref: '#/definitions/app.Response'
  28983. security:
  28984. - ApiKeyAuth: []
  28985. summary: 查询品类要素定义项
  28986. tags:
  28987. - 仓单贸易v2
  28988. /WrTrade2/QueryWrTradeBargainApply:
  28989. get:
  28990. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  28991. 议价->对方议价 填写matchuserid=登录用户id
  28992. parameters:
  28993. - description: 议价人id(摘牌方)
  28994. in: query
  28995. name: userid
  28996. type: integer
  28997. - description: 挂牌方id(查对方议价时,填写此项)
  28998. in: query
  28999. name: matchuserid
  29000. type: integer
  29001. - description: 关联委托单id
  29002. in: query
  29003. name: wrtradeorderid
  29004. type: integer
  29005. - description: 0:仓单预售 1:仓单贸易
  29006. in: query
  29007. name: haswr
  29008. required: true
  29009. type: integer
  29010. - description: 开始交易日(yyyymmdd)
  29011. in: query
  29012. name: begindate
  29013. type: string
  29014. - description: 结束交易日(yyyymmdd)
  29015. in: query
  29016. name: enddate
  29017. type: string
  29018. produces:
  29019. - application/json
  29020. responses:
  29021. "200":
  29022. description: OK
  29023. schema:
  29024. items:
  29025. $ref: '#/definitions/models.WRTradeBargainApply'
  29026. type: array
  29027. "500":
  29028. description: Internal Server Error
  29029. schema:
  29030. $ref: '#/definitions/app.Response'
  29031. security:
  29032. - ApiKeyAuth: []
  29033. summary: 查询议价单
  29034. tags:
  29035. - 仓单贸易v2
  29036. /WrTrade2/QueryWrTradeDetail:
  29037. get:
  29038. parameters:
  29039. - description: 页码
  29040. in: query
  29041. name: page
  29042. type: integer
  29043. - description: 每页条数
  29044. in: query
  29045. name: pagesize
  29046. type: integer
  29047. - description: 用户id
  29048. in: query
  29049. name: userid
  29050. required: true
  29051. type: integer
  29052. - description: 仓单贸易市场id
  29053. in: query
  29054. name: marketid
  29055. type: integer
  29056. - description: 0:仓单预售 1:仓单贸易
  29057. in: query
  29058. name: haswr
  29059. required: true
  29060. type: integer
  29061. - description: 开始交易日(yyyymmdd)
  29062. in: query
  29063. name: begindate
  29064. type: string
  29065. - description: 结束交易日(yyyymmdd)
  29066. in: query
  29067. name: enddate
  29068. type: string
  29069. produces:
  29070. - application/json
  29071. responses:
  29072. "200":
  29073. description: OK
  29074. schema:
  29075. items:
  29076. $ref: '#/definitions/models.WrTradeDetail'
  29077. type: array
  29078. "500":
  29079. description: Internal Server Error
  29080. schema:
  29081. $ref: '#/definitions/app.Response'
  29082. security:
  29083. - ApiKeyAuth: []
  29084. summary: 查询仓单成交明细
  29085. tags:
  29086. - 仓单贸易v2
  29087. /WrTrade2/QueryWrTradeOrderDetail:
  29088. get:
  29089. parameters:
  29090. - description: 页码
  29091. in: query
  29092. name: page
  29093. type: integer
  29094. - description: 每页条数
  29095. in: query
  29096. name: pagesize
  29097. type: integer
  29098. - description: 商品id
  29099. in: query
  29100. name: goodsid
  29101. required: true
  29102. type: integer
  29103. - description: 买卖方向 0-买 1-卖
  29104. in: query
  29105. name: buyorsell
  29106. required: true
  29107. type: integer
  29108. produces:
  29109. - application/json
  29110. responses:
  29111. "200":
  29112. description: OK
  29113. schema:
  29114. items:
  29115. $ref: '#/definitions/models.WrTradeOrderDetail'
  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/QueryWrUserFriend:
  29127. get:
  29128. parameters:
  29129. - description: 用户id
  29130. in: query
  29131. name: userid
  29132. required: true
  29133. type: integer
  29134. - description: 新朋友userid, 如果填写了此项则查找新朋友
  29135. in: query
  29136. name: newuserid
  29137. type: integer
  29138. produces:
  29139. - application/json
  29140. responses:
  29141. "200":
  29142. description: OK
  29143. schema:
  29144. items:
  29145. $ref: '#/definitions/models.WrUserFriend'
  29146. type: array
  29147. "500":
  29148. description: Internal Server Error
  29149. schema:
  29150. $ref: '#/definitions/app.Response'
  29151. security:
  29152. - ApiKeyAuth: []
  29153. summary: 查询我的朋友
  29154. tags:
  29155. - 仓单贸易v2
  29156. /WrTrade2/QueryWrUserReceiptInfo:
  29157. get:
  29158. parameters:
  29159. - description: 用户id
  29160. in: query
  29161. name: userid
  29162. type: integer
  29163. - description: 发票类型 - 1:个人 2:企业
  29164. in: query
  29165. name: receipttype
  29166. type: integer
  29167. produces:
  29168. - application/json
  29169. responses:
  29170. "200":
  29171. description: OK
  29172. schema:
  29173. items:
  29174. $ref: '#/definitions/models.WrUserReceiptInfo'
  29175. type: array
  29176. "500":
  29177. description: Internal Server Error
  29178. schema:
  29179. $ref: '#/definitions/app.Response'
  29180. security:
  29181. - ApiKeyAuth: []
  29182. summary: 查询发票信息
  29183. tags:
  29184. - 仓单贸易v2
  29185. /ZJ/GetBankTip:
  29186. get:
  29187. produces:
  29188. - application/json
  29189. responses:
  29190. "200":
  29191. description: OK
  29192. schema:
  29193. type: string
  29194. "500":
  29195. description: Internal Server Error
  29196. schema:
  29197. $ref: '#/definitions/app.Response'
  29198. summary: 获取中江网银端出入金提示信息
  29199. tags:
  29200. - 中江
  29201. /ZJ/GetCusBankChannels:
  29202. get:
  29203. produces:
  29204. - application/json
  29205. responses:
  29206. "200":
  29207. description: OK
  29208. schema:
  29209. items:
  29210. type: string
  29211. type: array
  29212. "500":
  29213. description: Internal Server Error
  29214. schema:
  29215. $ref: '#/definitions/app.Response'
  29216. summary: 获取中江出入金渠道显示列表
  29217. tags:
  29218. - 中江
  29219. securityDefinitions:
  29220. ApiKeyAuth:
  29221. in: header
  29222. name: Authorization
  29223. type: apiKey
  29224. swagger: "2.0"