swagger.yaml 811 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549285502855128552285532855428555285562855728558285592856028561285622856328564285652856628567285682856928570285712857228573285742857528576285772857828579285802858128582285832858428585285862858728588285892859028591285922859328594285952859628597285982859928600286012860228603286042860528606286072860828609286102861128612286132861428615286162861728618286192862028621286222862328624286252862628627286282862928630286312863228633286342863528636286372863828639286402864128642286432864428645286462864728648286492865028651286522865328654286552865628657286582865928660286612866228663286642866528666286672866828669286702867128672286732867428675286762867728678286792868028681286822868328684286852868628687286882868928690286912869228693286942869528696286972869828699287002870128702287032870428705287062870728708287092871028711287122871328714287152871628717287182871928720287212872228723287242872528726287272872828729287302873128732287332873428735287362873728738287392874028741287422874328744287452874628747287482874928750287512875228753287542875528756287572875828759287602876128762287632876428765287662876728768287692877028771287722877328774287752877628777287782877928780287812878228783287842878528786287872878828789287902879128792287932879428795287962879728798287992880028801288022880328804288052880628807288082880928810288112881228813288142881528816288172881828819288202882128822288232882428825288262882728828288292883028831288322883328834288352883628837288382883928840288412884228843288442884528846288472884828849288502885128852288532885428855288562885728858288592886028861288622886328864288652886628867288682886928870288712887228873288742887528876288772887828879288802888128882288832888428885288862888728888288892889028891288922889328894288952889628897288982889928900289012890228903289042890528906289072890828909289102891128912289132891428915289162891728918289192892028921289222892328924289252892628927289282892928930289312893228933289342893528936289372893828939289402894128942289432894428945289462894728948289492895028951289522895328954289552895628957289582895928960289612896228963289642896528966289672896828969289702897128972289732897428975289762897728978289792898028981289822898328984289852898628987289882898928990289912899228993289942899528996289972899828999290002900129002290032900429005290062900729008290092901029011290122901329014290152901629017290182901929020290212902229023290242902529026290272902829029290302903129032290332903429035290362903729038290392904029041290422904329044290452904629047290482904929050290512905229053290542905529056290572905829059290602906129062290632906429065290662906729068290692907029071290722907329074290752907629077290782907929080290812908229083290842908529086290872908829089290902909129092290932909429095290962909729098290992910029101291022910329104291052910629107291082910929110291112911229113291142911529116291172911829119291202912129122291232912429125291262912729128291292913029131291322913329134291352913629137291382913929140291412914229143291442914529146291472914829149291502915129152291532915429155291562915729158291592916029161291622916329164291652916629167291682916929170291712917229173291742917529176291772917829179291802918129182291832918429185291862918729188291892919029191291922919329194291952919629197291982919929200292012920229203292042920529206292072920829209292102921129212292132921429215292162921729218292192922029221292222922329224292252922629227292282922929230
  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. accountid:
  2184. description: 资金账号(只有外部账号才有值, 内部账号是根据userid汇总的)
  2185. type: integer
  2186. agreeunit:
  2187. description: 合约单位
  2188. type: string
  2189. areauserid:
  2190. description: 所属机构id
  2191. type: integer
  2192. convertratio:
  2193. description: 期货品种系数(折算系数)
  2194. type: number
  2195. curqty:
  2196. description: 当前持仓
  2197. type: integer
  2198. diffhedgeqty:
  2199. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  2200. type: number
  2201. diffqty:
  2202. description: 持仓变动量=当前持仓-昨日持仓
  2203. type: integer
  2204. goodscode:
  2205. description: 商品代码
  2206. type: string
  2207. goodsid:
  2208. description: 商品id
  2209. type: integer
  2210. goodsname:
  2211. description: 商品名称
  2212. type: string
  2213. hedgeaccountcode:
  2214. description: 对冲账号(只有外部账号才有值)
  2215. type: string
  2216. middlegoodsid:
  2217. description: 套保商品id
  2218. type: integer
  2219. ydqty:
  2220. description: 昨日持仓
  2221. type: integer
  2222. type: object
  2223. ermcp.RealtimeExposureRsp:
  2224. properties:
  2225. AreaUserID:
  2226. description: 所属机构
  2227. type: integer
  2228. BuyFutureQty:
  2229. description: 买入期货数量
  2230. type: number
  2231. BuyPlanQty:
  2232. description: 采购计划数量
  2233. type: number
  2234. BuyPricedQty:
  2235. description: 采购合同已定价数量
  2236. type: number
  2237. MiddleGoodsCode:
  2238. description: 套保品种代码
  2239. type: string
  2240. MiddleGoodsHedgeRatio:
  2241. description: 套保比例
  2242. type: number
  2243. MiddleGoodsID:
  2244. description: 套保品种
  2245. type: integer
  2246. MiddleGoodsName:
  2247. description: 套保品种名称
  2248. type: string
  2249. NeedHedgeExposoure:
  2250. description: 应套保敞口(套保敞口)
  2251. type: number
  2252. NeedHedgeRatio:
  2253. description: 应套保敞口比例
  2254. type: number
  2255. OriBuyFutureQty:
  2256. description: 期初买入期货数量
  2257. type: number
  2258. OriBuyPlanQty:
  2259. description: 期初采购计划数量
  2260. type: number
  2261. OriBuyPricedQty:
  2262. description: 期初采购合同已定价数量
  2263. type: number
  2264. OriSellFutureQty:
  2265. description: 期初卖出期货数量
  2266. type: number
  2267. OriSellPlanQty:
  2268. description: 期初销售计划数量
  2269. type: number
  2270. OriSellPricedQty:
  2271. description: 期初销售合同已定价数量
  2272. type: number
  2273. OriTotalSpotQty:
  2274. description: 期初现货总量
  2275. type: number
  2276. SellFutureQty:
  2277. description: 卖出期货数量
  2278. type: number
  2279. SellPlanQty:
  2280. description: 销售计划数量
  2281. type: number
  2282. SellPricedQty:
  2283. description: 销售合同已定价数量
  2284. type: number
  2285. TotalExposure:
  2286. description: 总敞口 平安:净敞口
  2287. type: number
  2288. TotalFutureQty:
  2289. description: 期货总量 平安:保值净持仓量
  2290. type: number
  2291. TotalHedgeRatio:
  2292. description: 敞口比例
  2293. type: number
  2294. TotalNeedHedgeQty:
  2295. description: 应套保总量(现货应套保总量)
  2296. type: number
  2297. TotalSpotQty:
  2298. description: 现货总量 平安:采销定价净值
  2299. type: number
  2300. arbitrageqty:
  2301. description: 套利量
  2302. type: number
  2303. diffArbitrageQty:
  2304. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  2305. type: number
  2306. diffExposoureQty:
  2307. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  2308. type: number
  2309. diffFutuQty:
  2310. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  2311. type: number
  2312. diffHedgeQty:
  2313. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  2314. type: number
  2315. diffQty:
  2316. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  2317. type: number
  2318. diffSpotHedgeQty:
  2319. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  2320. type: number
  2321. diffSpotQty:
  2322. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  2323. type: number
  2324. enumdicname:
  2325. description: 单位名称
  2326. type: string
  2327. hedgeqty:
  2328. description: 套保量
  2329. type: number
  2330. needarbitrageqty:
  2331. description: 应套利量
  2332. type: number
  2333. needarbitrageratio:
  2334. description: 套利比例
  2335. type: number
  2336. needhedgeqty:
  2337. description: 应套保量
  2338. type: number
  2339. oriarbitrageqty:
  2340. description: 期初套利量
  2341. type: number
  2342. orihedgeqty:
  2343. description: 期初套保量
  2344. type: number
  2345. orineedhedgeexposoure:
  2346. description: 期初套保敞口
  2347. type: number
  2348. oritotalexposure:
  2349. description: 期初总敞口
  2350. type: number
  2351. oritotalfutureqty:
  2352. description: 期初期货总量
  2353. type: number
  2354. oritotalneedhedgeqty:
  2355. description: 期初现货应套保量
  2356. type: number
  2357. type: object
  2358. erms2.QueryArbitrageStrategyRsp:
  2359. properties:
  2360. applybasis:
  2361. description: 申请基差
  2362. type: number
  2363. asapplyid:
  2364. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2365. type: string
  2366. asname:
  2367. description: 策略名称
  2368. type: string
  2369. asno:
  2370. description: 策略编号
  2371. type: string
  2372. basischangepl:
  2373. description: 基差变动损益[结算更新]
  2374. type: number
  2375. biztype:
  2376. description: 业务类型 - 1:正向套利 -1:反向套利
  2377. type: integer
  2378. closetradedate:
  2379. description: 完结交易日(yyyyMMdd)
  2380. type: string
  2381. curbasis:
  2382. description: 当前基差[结算更新]
  2383. type: number
  2384. deliverygoodsid:
  2385. description: 现货品种ID
  2386. type: integer
  2387. futureavgprice:
  2388. description: 期货建仓均价
  2389. type: number
  2390. futurecloseamount:
  2391. description: 期货平仓金额
  2392. type: number
  2393. futurecloseqty:
  2394. description: 期货平仓数量
  2395. type: number
  2396. futureopenamount:
  2397. description: 期货开仓金额
  2398. type: number
  2399. futureopenqty:
  2400. description: 期货开仓数量
  2401. type: number
  2402. futurepl:
  2403. description: 期货总盈亏[结算更新]
  2404. type: number
  2405. futureqty:
  2406. description: 期货持仓数量
  2407. type: number
  2408. futurequote:
  2409. description: 期货额度
  2410. type: number
  2411. goodsgroupid:
  2412. description: 期货品种ID
  2413. type: integer
  2414. marketid:
  2415. description: 市场ID
  2416. type: integer
  2417. netexposure:
  2418. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2419. type: number
  2420. netexposurepl:
  2421. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2422. type: number
  2423. netexposurerate:
  2424. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2425. type: number
  2426. openbasis:
  2427. description: 建仓基差
  2428. type: number
  2429. pricedspotqty:
  2430. description: 已定价现货数量
  2431. type: number
  2432. pricedspotqtynotax:
  2433. description: 已定价现货不含税数量
  2434. type: number
  2435. remark:
  2436. description: 备注
  2437. type: string
  2438. spotavgprice:
  2439. description: 现货均价
  2440. type: number
  2441. spotbuyamount:
  2442. description: 现货采购金额
  2443. type: number
  2444. spotbuyqty:
  2445. description: 现货采购数量
  2446. type: number
  2447. spotpl:
  2448. description: 现货总盈亏[结算更新]
  2449. type: number
  2450. spotquota:
  2451. description: 现货额度
  2452. type: number
  2453. spotsellamount:
  2454. description: 现货销售金额
  2455. type: number
  2456. spotsellqty:
  2457. description: 现货销售数量
  2458. type: number
  2459. spotusedquota:
  2460. description: 现货占用资金
  2461. type: number
  2462. strategystatus:
  2463. description: 策略状态 - 0:未结束 1:已结束
  2464. type: integer
  2465. totalpl:
  2466. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2467. type: number
  2468. tradedate:
  2469. description: 交易日(yyyyMMdd)
  2470. type: string
  2471. updatetime:
  2472. description: 更新时间
  2473. type: string
  2474. usedquota:
  2475. description: 已占用资金
  2476. type: number
  2477. userid:
  2478. description: 所属机构
  2479. type: integer
  2480. required:
  2481. - asapplyid
  2482. type: object
  2483. erms2.QueryInnerTradeDetailRsp:
  2484. properties:
  2485. accountid:
  2486. description: 账号ID
  2487. type: integer
  2488. agreeunit:
  2489. description: 合约单位
  2490. type: number
  2491. asapplyid:
  2492. description: 策略申请ID
  2493. type: integer
  2494. asname:
  2495. description: 策略名称
  2496. type: string
  2497. asno:
  2498. description: 策略编号
  2499. type: string
  2500. buyorsell:
  2501. description: 方向 - 0:买 1:卖
  2502. type: integer
  2503. channelbuildtype:
  2504. description: 委托单据类型 0:无 1:建仓 2:平仓
  2505. type: integer
  2506. closetype:
  2507. description: 平仓方式 - 0:无 1:平今 2:平昨
  2508. type: integer
  2509. decimalplace:
  2510. description: 报价小数位
  2511. type: integer
  2512. detailtype:
  2513. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2514. type: integer
  2515. exexchangecode:
  2516. description: 外部交易所代码
  2517. type: string
  2518. exexchangename:
  2519. description: 外部交易所名称
  2520. type: string
  2521. goodscode:
  2522. description: 商品代码(合约)
  2523. type: string
  2524. goodsgroupid:
  2525. description: 商品组ID(品种ID)
  2526. type: integer
  2527. goodsgroupname:
  2528. description: 商品组名称(品种)
  2529. type: string
  2530. goodsid:
  2531. description: 商品ID
  2532. type: integer
  2533. goodsname:
  2534. description: 商品名称(合约)
  2535. type: string
  2536. goodunit:
  2537. description: 报价单位
  2538. type: string
  2539. marketid:
  2540. description: 市场ID
  2541. type: integer
  2542. orderid:
  2543. description: 委托单号
  2544. type: string
  2545. outgoodscode:
  2546. description: 商品代码(外部)
  2547. type: string
  2548. relatedouttradeid:
  2549. description: 关联外部成交单ID
  2550. type: string
  2551. remark:
  2552. description: 备注
  2553. type: string
  2554. spotcontractid:
  2555. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2556. type: integer
  2557. spotcontractno:
  2558. description: 现货合同编号
  2559. type: string
  2560. tradeid:
  2561. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2562. type: string
  2563. tradeprice:
  2564. description: 成交价格
  2565. type: number
  2566. tradeqty:
  2567. description: 成交数量
  2568. type: integer
  2569. tradetime:
  2570. description: 成交时间
  2571. type: string
  2572. updatetime:
  2573. description: 更新时间
  2574. type: string
  2575. required:
  2576. - asapplyid
  2577. - buyorsell
  2578. - goodscode
  2579. - goodsgroupid
  2580. - goodsgroupname
  2581. - goodsname
  2582. - tradeid
  2583. type: object
  2584. erms2.QuerySpotContractRsp:
  2585. properties:
  2586. accountid:
  2587. description: 资金账户ID
  2588. type: integer
  2589. areauserid:
  2590. description: 所属机构
  2591. type: integer
  2592. closedate:
  2593. description: 终止日期
  2594. type: string
  2595. closeremark:
  2596. description: 结束备注
  2597. type: string
  2598. closetradedate:
  2599. description: 完结交易日(yyyyMMdd)
  2600. type: string
  2601. closetype:
  2602. description: 终止类型 - 1:违约 2:提前终止
  2603. type: integer
  2604. contractamount:
  2605. description: 合同金额
  2606. type: number
  2607. contractattachment:
  2608. description: 合同附件
  2609. type: string
  2610. contractno:
  2611. description: 现货合同编号
  2612. type: string
  2613. contractqty:
  2614. description: 合同数量(数值) (用于计算)
  2615. type: number
  2616. contractqtychar:
  2617. description: 合同数量\已订价数量 (用于显示)
  2618. type: string
  2619. contractstatus:
  2620. description: 合同状态 - 0:未结束 1:已结束
  2621. type: integer
  2622. contracttype:
  2623. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2624. type: integer
  2625. customeraccountid:
  2626. description: 客户资金账户ID
  2627. type: integer
  2628. customeruserid:
  2629. description: 客户ID
  2630. type: integer
  2631. deliverygoodsdesc:
  2632. description: 品种说明
  2633. type: string
  2634. deliverygoodsid:
  2635. description: 现货品种ID
  2636. type: integer
  2637. handlestatus:
  2638. description: 处理状态
  2639. type: integer
  2640. invoiceatt:
  2641. description: 发票附件
  2642. type: string
  2643. invoicedatetime:
  2644. description: 开收票更新时间
  2645. type: string
  2646. invoiceopentime:
  2647. description: 开票时间
  2648. type: string
  2649. invoiceremark:
  2650. description: 发票备注
  2651. type: string
  2652. invoicestatus:
  2653. description: 开收票状态 - 0:未开票 1:已开票
  2654. type: integer
  2655. lastdate:
  2656. description: 交货时间
  2657. type: string
  2658. marketid:
  2659. description: 市场ID
  2660. type: integer
  2661. paydatetime:
  2662. description: 收付款更新时间
  2663. type: string
  2664. payremark:
  2665. description: 收付款备注
  2666. type: string
  2667. paystatus:
  2668. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  2669. type: integer
  2670. positionqty:
  2671. description: 头寸数量 - 合同数量去小数部分
  2672. type: integer
  2673. producttype:
  2674. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2675. type: integer
  2676. relatedqty:
  2677. description: 已关联数量
  2678. type: number
  2679. relatedstatus:
  2680. description: 关联完结状态 - 0:未结束 1:已结束
  2681. type: integer
  2682. remark:
  2683. description: 备注
  2684. type: string
  2685. signdate:
  2686. description: 签订日期
  2687. type: string
  2688. spotcontractid:
  2689. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  2690. type: string
  2691. spotdatetime:
  2692. description: 收发货更新时间
  2693. type: string
  2694. spotprice:
  2695. description: 价格
  2696. type: number
  2697. spotremark:
  2698. description: 收发货备注
  2699. type: string
  2700. spotstatus:
  2701. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  2702. type: integer
  2703. tradedate:
  2704. description: 交易日(yyyyMMdd)
  2705. type: string
  2706. userid:
  2707. description: 业务员用户ID
  2708. type: integer
  2709. warehouseid:
  2710. description: 仓库ID
  2711. type: integer
  2712. wrfactortypeid:
  2713. description: 仓单要素类型ID
  2714. type: integer
  2715. wrstandardid:
  2716. description: 仓单标准ID(SEQ_WRSTANDARD)
  2717. type: integer
  2718. required:
  2719. - spotcontractid
  2720. type: object
  2721. erms3.AddErms2ASApplyReq:
  2722. properties:
  2723. applybasis:
  2724. description: 申请基差
  2725. type: number
  2726. applystatus:
  2727. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2728. type: integer
  2729. asapplyid:
  2730. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  2731. type: integer
  2732. asname:
  2733. description: 策略名称
  2734. type: string
  2735. asno:
  2736. description: 策略编号
  2737. type: string
  2738. auditid:
  2739. description: 审核人
  2740. type: integer
  2741. auditremark:
  2742. description: 审核备注
  2743. type: string
  2744. audittime:
  2745. description: 审核时间
  2746. type: string
  2747. biztype:
  2748. description: 业务类型 - 1:正向套利 2:反向套利
  2749. type: integer
  2750. createtime:
  2751. description: 创建时间
  2752. type: string
  2753. creatorid:
  2754. description: 创建人
  2755. type: integer
  2756. deliverygoodsid:
  2757. description: 现货品种ID
  2758. type: integer
  2759. futurequote:
  2760. description: 期货额度
  2761. type: number
  2762. goodsgroupid:
  2763. description: 期货品种ID
  2764. type: integer
  2765. marketid:
  2766. description: 市场ID
  2767. type: integer
  2768. remark:
  2769. description: 备注
  2770. type: string
  2771. spotquota:
  2772. description: 现货额度
  2773. type: number
  2774. tradedate:
  2775. description: 交易日(yyyyMMdd)
  2776. type: string
  2777. userid:
  2778. description: 所属机构
  2779. type: integer
  2780. required:
  2781. - asapplyid
  2782. type: object
  2783. erms3.AddErms2SpotTradeApplyReq:
  2784. properties:
  2785. applyjsondetail:
  2786. description: 申请明细(JSON)
  2787. type: string
  2788. applystatus:
  2789. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2790. type: integer
  2791. areauserid:
  2792. description: 所属机构
  2793. type: integer
  2794. auditid:
  2795. description: 审核人
  2796. type: integer
  2797. auditremark:
  2798. description: 审核备注
  2799. type: string
  2800. audittime:
  2801. description: 审核时间
  2802. type: string
  2803. createtime:
  2804. description: 创建时间
  2805. type: string
  2806. creatorid:
  2807. description: 创建人
  2808. type: integer
  2809. deliverygoodsid:
  2810. description: 现货品种ID
  2811. type: integer
  2812. futureaccountid:
  2813. description: 期货资金账户
  2814. type: integer
  2815. goodsgroupid:
  2816. description: 期货品种
  2817. type: integer
  2818. marketid:
  2819. description: 市场ID
  2820. type: integer
  2821. remark:
  2822. description: 备注
  2823. type: string
  2824. spotaccountid:
  2825. description: 现货资金账户
  2826. type: integer
  2827. spottradeid:
  2828. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2829. type: integer
  2830. spottradename:
  2831. description: 业务名称
  2832. type: string
  2833. spottradeno:
  2834. description: 业务编号
  2835. type: string
  2836. tradedate:
  2837. description: 交易日(yyyyMMdd)
  2838. type: string
  2839. wrstandardid:
  2840. description: 仓单标准ID
  2841. type: integer
  2842. required:
  2843. - spottradeid
  2844. type: object
  2845. erms3.AddSpotContractApplyReq:
  2846. properties:
  2847. accountid:
  2848. description: 资金账户ID
  2849. type: integer
  2850. areauserid:
  2851. description: 所属机构
  2852. type: integer
  2853. contractattachment:
  2854. description: 合同附件
  2855. type: string
  2856. contractno:
  2857. description: 现货合同编号
  2858. type: string
  2859. contracttype:
  2860. description: 现货合同类型 - 1:采购 -1:销售
  2861. type: integer
  2862. creatorid:
  2863. description: 申请人
  2864. type: integer
  2865. customeraccountid:
  2866. description: 客户资金账户ID
  2867. type: integer
  2868. customeruserid:
  2869. description: 客户ID
  2870. type: integer
  2871. details:
  2872. description: 明细
  2873. items:
  2874. $ref: '#/definitions/erms3.SoptContractDetail'
  2875. type: array
  2876. orimargin:
  2877. description: 初始保证金
  2878. type: number
  2879. remark:
  2880. description: 备注
  2881. type: string
  2882. signdate:
  2883. description: 签订日期
  2884. type: string
  2885. required:
  2886. - accountid
  2887. - areauserid
  2888. - contractno
  2889. - contracttype
  2890. - customeraccountid
  2891. - customeruserid
  2892. - details
  2893. - orimargin
  2894. - signdate
  2895. type: object
  2896. erms3.AddSpotContractApplyRsp:
  2897. properties:
  2898. contractno:
  2899. description: 现货合同编号
  2900. type: string
  2901. spotcontractid:
  2902. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2903. type: integer
  2904. required:
  2905. - contractno
  2906. type: object
  2907. erms3.AddUserInfoApplyReq:
  2908. properties:
  2909. accountid:
  2910. description: 交易系统帐号Id (加密存储)
  2911. type: integer
  2912. areacode:
  2913. description: 机构代码
  2914. type: string
  2915. areaid:
  2916. description: 机构Id
  2917. type: integer
  2918. attachment1:
  2919. description: 附件1
  2920. type: string
  2921. attachment2:
  2922. description: 附件2
  2923. type: string
  2924. attachment3:
  2925. description: 附件3
  2926. type: string
  2927. attachment4:
  2928. description: 附件4
  2929. type: string
  2930. attachment5:
  2931. description: 附件5
  2932. type: string
  2933. auditedby:
  2934. description: 审核人
  2935. type: string
  2936. auditime:
  2937. description: 审核时间
  2938. type: string
  2939. auditsrc:
  2940. description: 审核来源 - 1:管理端 2:终端
  2941. type: integer
  2942. bankaccount:
  2943. description: 银行帐号 (加密存储)
  2944. type: string
  2945. bankaccountname:
  2946. description: 收款人名称
  2947. type: string
  2948. bankcardbackphotourl:
  2949. description: 银行卡背面照地址
  2950. type: string
  2951. bankcardfrontphotourl:
  2952. description: 银行卡正面照地址
  2953. type: string
  2954. bankid:
  2955. description: 银行编码
  2956. type: string
  2957. bankname:
  2958. description: 银行名称
  2959. type: string
  2960. bankpictureurl:
  2961. description: 银行卡正面地址
  2962. type: string
  2963. biznature:
  2964. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2965. type: integer
  2966. bizscope:
  2967. description: 企业经营范围(企业)
  2968. type: string
  2969. biztype:
  2970. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2971. type: integer
  2972. brokerid:
  2973. description: 经纪人ID(加密存储)
  2974. type: string
  2975. cardaddress:
  2976. description: 证件地址 (加密存储)
  2977. type: string
  2978. cardbackphotourl:
  2979. description: 背面证件照地址
  2980. type: string
  2981. cardfrontphotourl:
  2982. description: 正面证件照地址
  2983. type: string
  2984. cardnum:
  2985. description: 证件号码 (加密存储)
  2986. type: string
  2987. cardtype:
  2988. description: 证件类型
  2989. type: integer
  2990. cityid:
  2991. description: 市
  2992. type: integer
  2993. company:
  2994. description: 公司(个人)
  2995. type: string
  2996. contactcardbackphotourl:
  2997. description: 联系人证件背面图片地址
  2998. type: string
  2999. contactcardfrontphotourl:
  3000. description: 联系人证件正面图片地址
  3001. type: string
  3002. contactname:
  3003. description: 联系人
  3004. type: string
  3005. countryid:
  3006. description: 国家
  3007. type: integer
  3008. createtime:
  3009. description: 开户申请时间
  3010. type: string
  3011. cusbankid:
  3012. description: 签约类型
  3013. type: string
  3014. cusbankname:
  3015. description: 签约类型名称
  3016. type: string
  3017. customername:
  3018. description: 客户名称(企业名称)
  3019. type: string
  3020. districtid:
  3021. description: 地区
  3022. type: integer
  3023. email:
  3024. description: Email地址(加密存储)
  3025. type: string
  3026. halfbodyphotourl:
  3027. description: 半身照地址
  3028. type: string
  3029. headurl:
  3030. description: 头像地址
  3031. type: string
  3032. ipaddress:
  3033. description: IP地址
  3034. type: string
  3035. isvalidate:
  3036. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3037. type: string
  3038. legalcardbackphotourl:
  3039. description: 法人身份证背面照地址
  3040. type: string
  3041. legalcardfrontphotourl:
  3042. description: 法人身份证正面照地址
  3043. type: string
  3044. legalpersonname:
  3045. description: 法人姓名(企业)
  3046. type: string
  3047. logincode:
  3048. description: 登录帐号 (加密存储)
  3049. type: string
  3050. memberareaid:
  3051. description: 所属会员ID
  3052. type: integer
  3053. mobile2:
  3054. description: 手机号码[明文-尚志]
  3055. type: string
  3056. mobilephone:
  3057. description: 手机号码 (加密存储)
  3058. type: string
  3059. modifiedby:
  3060. description: 修改人帐号
  3061. type: integer
  3062. modifiedtime:
  3063. description: 修改时间
  3064. type: string
  3065. nickname:
  3066. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3067. type: string
  3068. openmode:
  3069. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3070. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3071. type: integer
  3072. otherurl:
  3073. description: 其它图片地址[使用分号分隔]
  3074. type: string
  3075. postalcode:
  3076. description: 邮政编码
  3077. type: string
  3078. provinceid:
  3079. description: 省
  3080. type: integer
  3081. proxystatementurl:
  3082. description: 授权委托书
  3083. type: string
  3084. qq:
  3085. description: QQ(加密存储
  3086. type: string
  3087. referral:
  3088. description: 推荐人编码
  3089. type: string
  3090. remark:
  3091. description: 备注
  3092. type: string
  3093. removebeforestatus:
  3094. description: REMOVEBEFORESTATUS
  3095. type: integer
  3096. sex:
  3097. description: 性别 - 0:女 1:男
  3098. type: integer
  3099. signedstatus:
  3100. description: 账户一号签签约状态
  3101. type: integer
  3102. signpdfurl:
  3103. description: 签约pdf文件
  3104. type: string
  3105. subbranch:
  3106. description: 开户支行
  3107. type: string
  3108. taxpayernum:
  3109. description: 纳税人识别号
  3110. type: string
  3111. telphone:
  3112. description: 联系电话(加密存储)
  3113. type: string
  3114. userid:
  3115. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3116. type: integer
  3117. userinfotype:
  3118. description: 用户信息类型 - 1:个人 2:企业
  3119. type: integer
  3120. username:
  3121. description: 用户姓名
  3122. type: string
  3123. userstate:
  3124. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3125. type: integer
  3126. usertype:
  3127. description: 用户类型 - 1:投资者 2:机构
  3128. type: integer
  3129. videourl:
  3130. description: 视频地址
  3131. type: string
  3132. wechat:
  3133. description: 微信号 (加密存储)
  3134. type: string
  3135. required:
  3136. - userid
  3137. type: object
  3138. erms3.CustomerInfo:
  3139. properties:
  3140. accountids:
  3141. description: 资金账户ID列表
  3142. items:
  3143. type: integer
  3144. type: array
  3145. customername:
  3146. description: 名称(企业名称)
  3147. type: string
  3148. mobile:
  3149. description: 手机号码
  3150. type: string
  3151. userid:
  3152. description: 用户ID
  3153. type: integer
  3154. required:
  3155. - userid
  3156. type: object
  3157. erms3.ModifyUserInfoApplyReq:
  3158. properties:
  3159. accountid:
  3160. description: 交易系统帐号Id (加密存储)
  3161. type: integer
  3162. areacode:
  3163. description: 机构代码
  3164. type: string
  3165. areaid:
  3166. description: 机构Id
  3167. type: integer
  3168. attachment1:
  3169. description: 附件1
  3170. type: string
  3171. attachment2:
  3172. description: 附件2
  3173. type: string
  3174. attachment3:
  3175. description: 附件3
  3176. type: string
  3177. attachment4:
  3178. description: 附件4
  3179. type: string
  3180. attachment5:
  3181. description: 附件5
  3182. type: string
  3183. auditedby:
  3184. description: 审核人
  3185. type: string
  3186. auditime:
  3187. description: 审核时间
  3188. type: string
  3189. auditsrc:
  3190. description: 审核来源 - 1:管理端 2:终端
  3191. type: integer
  3192. bankaccount:
  3193. description: 银行帐号 (加密存储)
  3194. type: string
  3195. bankaccountname:
  3196. description: 收款人名称
  3197. type: string
  3198. bankcardbackphotourl:
  3199. description: 银行卡背面照地址
  3200. type: string
  3201. bankcardfrontphotourl:
  3202. description: 银行卡正面照地址
  3203. type: string
  3204. bankid:
  3205. description: 银行编码
  3206. type: string
  3207. bankname:
  3208. description: 银行名称
  3209. type: string
  3210. bankpictureurl:
  3211. description: 银行卡正面地址
  3212. type: string
  3213. biznature:
  3214. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3215. type: integer
  3216. bizscope:
  3217. description: 企业经营范围(企业)
  3218. type: string
  3219. biztype:
  3220. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3221. type: integer
  3222. brokerid:
  3223. description: 经纪人ID(加密存储)
  3224. type: string
  3225. cardaddress:
  3226. description: 证件地址 (加密存储)
  3227. type: string
  3228. cardbackphotourl:
  3229. description: 背面证件照地址
  3230. type: string
  3231. cardfrontphotourl:
  3232. description: 正面证件照地址
  3233. type: string
  3234. cardnum:
  3235. description: 证件号码 (加密存储)
  3236. type: string
  3237. cardtype:
  3238. description: 证件类型
  3239. type: integer
  3240. cityid:
  3241. description: 市
  3242. type: integer
  3243. company:
  3244. description: 公司(个人)
  3245. type: string
  3246. contactcardbackphotourl:
  3247. description: 联系人证件背面图片地址
  3248. type: string
  3249. contactcardfrontphotourl:
  3250. description: 联系人证件正面图片地址
  3251. type: string
  3252. contactname:
  3253. description: 联系人
  3254. type: string
  3255. countryid:
  3256. description: 国家
  3257. type: integer
  3258. createtime:
  3259. description: 开户申请时间
  3260. type: string
  3261. cusbankid:
  3262. description: 签约类型
  3263. type: string
  3264. cusbankname:
  3265. description: 签约类型名称
  3266. type: string
  3267. customername:
  3268. description: 客户名称(企业名称)
  3269. type: string
  3270. districtid:
  3271. description: 地区
  3272. type: integer
  3273. email:
  3274. description: Email地址(加密存储)
  3275. type: string
  3276. halfbodyphotourl:
  3277. description: 半身照地址
  3278. type: string
  3279. headurl:
  3280. description: 头像地址
  3281. type: string
  3282. ipaddress:
  3283. description: IP地址
  3284. type: string
  3285. isvalidate:
  3286. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3287. type: string
  3288. legalcardbackphotourl:
  3289. description: 法人身份证背面照地址
  3290. type: string
  3291. legalcardfrontphotourl:
  3292. description: 法人身份证正面照地址
  3293. type: string
  3294. legalpersonname:
  3295. description: 法人姓名(企业)
  3296. type: string
  3297. logincode:
  3298. description: 登录帐号 (加密存储)
  3299. type: string
  3300. memberareaid:
  3301. description: 所属会员ID
  3302. type: integer
  3303. mobile2:
  3304. description: 手机号码[明文-尚志]
  3305. type: string
  3306. mobilephone:
  3307. description: 手机号码 (加密存储)
  3308. type: string
  3309. modifiedby:
  3310. description: 修改人帐号
  3311. type: integer
  3312. modifiedtime:
  3313. description: 修改时间
  3314. type: string
  3315. nickname:
  3316. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3317. type: string
  3318. openmode:
  3319. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3320. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3321. type: integer
  3322. otherurl:
  3323. description: 其它图片地址[使用分号分隔]
  3324. type: string
  3325. postalcode:
  3326. description: 邮政编码
  3327. type: string
  3328. provinceid:
  3329. description: 省
  3330. type: integer
  3331. proxystatementurl:
  3332. description: 授权委托书
  3333. type: string
  3334. qq:
  3335. description: QQ(加密存储
  3336. type: string
  3337. referral:
  3338. description: 推荐人编码
  3339. type: string
  3340. remark:
  3341. description: 备注
  3342. type: string
  3343. removebeforestatus:
  3344. description: REMOVEBEFORESTATUS
  3345. type: integer
  3346. sex:
  3347. description: 性别 - 0:女 1:男
  3348. type: integer
  3349. signedstatus:
  3350. description: 账户一号签签约状态
  3351. type: integer
  3352. signpdfurl:
  3353. description: 签约pdf文件
  3354. type: string
  3355. subbranch:
  3356. description: 开户支行
  3357. type: string
  3358. taxpayernum:
  3359. description: 纳税人识别号
  3360. type: string
  3361. telphone:
  3362. description: 联系电话(加密存储)
  3363. type: string
  3364. userid:
  3365. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3366. type: integer
  3367. userinfotype:
  3368. description: 用户信息类型 - 1:个人 2:企业
  3369. type: integer
  3370. username:
  3371. description: 用户姓名
  3372. type: string
  3373. userstate:
  3374. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3375. type: integer
  3376. usertype:
  3377. description: 用户类型 - 1:投资者 2:机构
  3378. type: integer
  3379. videourl:
  3380. description: 视频地址
  3381. type: string
  3382. wechat:
  3383. description: 微信号 (加密存储)
  3384. type: string
  3385. required:
  3386. - userid
  3387. type: object
  3388. erms3.QryAuditContractRsp:
  3389. properties:
  3390. accountid:
  3391. description: 交易员ID
  3392. type: string
  3393. applystatus:
  3394. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3395. type: integer
  3396. curdeliveryqty:
  3397. description: 未交收量
  3398. type: integer
  3399. customername:
  3400. description: 采购方ID
  3401. type: string
  3402. deliverygoodsid:
  3403. description: 品种ID
  3404. type: string
  3405. deliveryqty:
  3406. description: 交收量
  3407. type: integer
  3408. enumdicname:
  3409. description: 单位名称
  3410. type: string
  3411. matchaccountid:
  3412. description: 业务员ID
  3413. type: string
  3414. matchcustomername:
  3415. description: 销售方ID
  3416. type: string
  3417. pricedqty:
  3418. description: 定价量
  3419. type: number
  3420. signdate:
  3421. description: 签订日期
  3422. type: string
  3423. spotcontractid:
  3424. description: 合同ID
  3425. type: string
  3426. totaldqty:
  3427. description: 合同量
  3428. type: number
  3429. unpricedqty:
  3430. description: 未定价量
  3431. type: number
  3432. wrstandardname:
  3433. description: 商品名称
  3434. type: string
  3435. required:
  3436. - matchcustomername
  3437. - spotcontractid
  3438. type: object
  3439. erms3.QryPendingBizRsp:
  3440. properties:
  3441. accountid:
  3442. description: 现货账户
  3443. type: string
  3444. areaname:
  3445. description: 所属部门
  3446. type: string
  3447. bizid:
  3448. description: 业务ID
  3449. type: string
  3450. bizname:
  3451. description: 业务名称
  3452. type: string
  3453. status:
  3454. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3455. type: integer
  3456. type:
  3457. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3458. type: integer
  3459. type: object
  3460. erms3.QueryBusinessInfoRsp:
  3461. properties:
  3462. businessid:
  3463. description: 业务ID.
  3464. type: integer
  3465. buyamount:
  3466. description: 采购额.
  3467. type: number
  3468. buyqty:
  3469. description: 采购量.
  3470. type: string
  3471. futurepl:
  3472. description: 期货盈亏.
  3473. type: number
  3474. futureqty:
  3475. description: 期货敞口.
  3476. type: string
  3477. goodsid:
  3478. description: 商品名称/商品代码.
  3479. type: string
  3480. hedgingqty:
  3481. description: 套保量.
  3482. type: string
  3483. sellamount:
  3484. description: 销售额.
  3485. type: number
  3486. sellqty:
  3487. description: 销售量.
  3488. type: string
  3489. spotmarketvalue:
  3490. description: 现货市值.
  3491. type: number
  3492. spotpl:
  3493. description: 浮动权益.
  3494. type: number
  3495. spotqty:
  3496. description: 现货量.
  3497. type: string
  3498. statu:
  3499. description: 状态,0-未结束 1-已结束.
  3500. type: integer
  3501. totalpl:
  3502. description: 总盈亏.
  3503. type: number
  3504. totalqty:
  3505. description: 总敞口.
  3506. type: string
  3507. type:
  3508. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3509. type: integer
  3510. type: object
  3511. erms3.QuerySpotContractAppleFormRsp:
  3512. properties:
  3513. goodses:
  3514. description: 合约列表
  3515. items:
  3516. $ref: '#/definitions/models.GoodsIDAndName'
  3517. type: array
  3518. oppositeusers:
  3519. description: 对方账号列表
  3520. items:
  3521. $ref: '#/definitions/erms3.CustomerInfo'
  3522. type: array
  3523. ouruser:
  3524. $ref: '#/definitions/erms3.CustomerInfo'
  3525. description: 我方账号
  3526. warehouseinfos:
  3527. description: 仓库信息列表
  3528. items:
  3529. $ref: '#/definitions/models.Warehouseinfo'
  3530. type: array
  3531. wrstandards:
  3532. description: 仓单标准列表
  3533. items:
  3534. $ref: '#/definitions/models.WRStandardInfo'
  3535. type: array
  3536. type: object
  3537. erms3.QuerySpotContractInfoRsp:
  3538. properties:
  3539. accountid:
  3540. description: 表示交易员ID.
  3541. type: integer
  3542. curdeliveryqty:
  3543. description: 表示未交收量.
  3544. type: number
  3545. customername:
  3546. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3547. type: string
  3548. deliverygoodsid:
  3549. description: 表示品种ID.
  3550. type: string
  3551. deliveryqty:
  3552. description: 表示交收量.
  3553. type: number
  3554. matchaccountid:
  3555. description: 表示业务员ID.
  3556. type: integer
  3557. matchcustomername:
  3558. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3559. type: string
  3560. priceqty:
  3561. description: 表示定价量.
  3562. type: number
  3563. relatedbizid:
  3564. description: 表示业务ID.
  3565. type: string
  3566. signdate:
  3567. description: 表示签订日期.
  3568. type: string
  3569. spotcontractid:
  3570. description: 合同ID
  3571. type: string
  3572. status:
  3573. description: 表示状态,0-履约中 1-已完成.
  3574. type: integer
  3575. totalqty:
  3576. description: 表示合同量.
  3577. type: number
  3578. unpricedqty:
  3579. description: 表示未定价量.
  3580. type: number
  3581. wrstandardname:
  3582. description: 表示商品ID.
  3583. type: string
  3584. type: object
  3585. erms3.QueryUserInfoAppliesRsp:
  3586. properties:
  3587. biznature:
  3588. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3589. type: integer
  3590. contactname:
  3591. description: 联系人
  3592. type: string
  3593. createtime:
  3594. description: 开户申请时间
  3595. type: string
  3596. userid:
  3597. description: 用户ID(自增ID)
  3598. type: integer
  3599. userinfotype:
  3600. description: 用户信息类型 - 1:个人 2:企业
  3601. type: integer
  3602. username:
  3603. description: 用户姓名
  3604. type: string
  3605. userstate:
  3606. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3607. type: integer
  3608. required:
  3609. - userid
  3610. type: object
  3611. erms3.QueryUserInfosRsp:
  3612. properties:
  3613. biznature:
  3614. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3615. type: integer
  3616. contactname:
  3617. description: 联系人
  3618. type: string
  3619. customername:
  3620. description: 客户名称(企业名称)
  3621. type: string
  3622. userid:
  3623. description: 用户ID
  3624. type: integer
  3625. userinfotype:
  3626. description: 用户信息类型 - 1:个人 2:企业
  3627. type: integer
  3628. userstatus:
  3629. description: 用户状态 - 1:正常 2:注销
  3630. type: integer
  3631. required:
  3632. - userid
  3633. type: object
  3634. erms3.SoptContractDetail:
  3635. properties:
  3636. deliverygoodsdesc:
  3637. description: 现货品种说明
  3638. type: string
  3639. deliverygoodsid:
  3640. description: 现货品种ID
  3641. type: integer
  3642. deliverygoodsname:
  3643. description: 现货品种名称
  3644. type: string
  3645. pointdesc:
  3646. description: 点价描述
  3647. type: string
  3648. producttype:
  3649. description: 产品类型 1:标准仓单 2:等标 3:非标
  3650. type: integer
  3651. producttypename:
  3652. description: 产品类型名称
  3653. type: string
  3654. spotPointOrderVoList:
  3655. description: 点价列表
  3656. items:
  3657. $ref: '#/definitions/erms3.SpotPointOrder'
  3658. type: array
  3659. spotPriceOrderList:
  3660. description: 定价列表
  3661. items:
  3662. $ref: '#/definitions/erms3.SpotPriceOrder'
  3663. type: array
  3664. unitname:
  3665. description: 单位名称
  3666. type: string
  3667. warehouseid:
  3668. description: 仓库ID
  3669. type: integer
  3670. warehousename:
  3671. description: 仓库名称
  3672. type: string
  3673. wrstandardid:
  3674. description: 交易标的ID
  3675. type: integer
  3676. wrstandardname:
  3677. description: 交易标的名称
  3678. type: string
  3679. required:
  3680. - deliverygoodsid
  3681. - producttype
  3682. - unitname
  3683. - warehouseid
  3684. - wrstandardid
  3685. - wrstandardname
  3686. type: object
  3687. erms3.SpotPointOrder:
  3688. properties:
  3689. basic:
  3690. description: 基差
  3691. type: number
  3692. deliveryenddate:
  3693. description: 交收结束日期
  3694. type: string
  3695. deliverystartdate:
  3696. description: 交收开始日期
  3697. type: string
  3698. enddate:
  3699. description: 点价结束日期
  3700. type: string
  3701. goodsid:
  3702. description: 商品ID
  3703. type: integer
  3704. goodsname:
  3705. description: 商品名称
  3706. type: string
  3707. qty:
  3708. description: 数量
  3709. type: number
  3710. startdate:
  3711. description: 点价开始日期
  3712. type: string
  3713. required:
  3714. - basic
  3715. - goodsid
  3716. - qty
  3717. type: object
  3718. erms3.SpotPriceOrder:
  3719. properties:
  3720. amount:
  3721. description: 金额
  3722. type: number
  3723. deliveryenddate:
  3724. description: 交收结束日期
  3725. type: string
  3726. deliverystartdate:
  3727. description: 交收开始日期
  3728. type: string
  3729. price:
  3730. description: 价格
  3731. type: number
  3732. qty:
  3733. description: 数量
  3734. type: number
  3735. required:
  3736. - amount
  3737. - price
  3738. - qty
  3739. type: object
  3740. hsby.GetHsbyMyCountRsp:
  3741. properties:
  3742. myCouponCount:
  3743. description: 我的优惠卷数量
  3744. type: integer
  3745. myOrderDetailListingCount:
  3746. description: 我的订单求购中数量
  3747. type: integer
  3748. myOrderDetailPreCount:
  3749. description: 我的订单抢购中数量
  3750. type: integer
  3751. myPackageUnReceiveCount:
  3752. description: 我的包裹待收货数量
  3753. type: integer
  3754. myPackageUnSendCount:
  3755. description: 我的包裹待发货数量
  3756. type: integer
  3757. myPayOrderCount:
  3758. description: 我的订单待付款数量
  3759. type: integer
  3760. type: object
  3761. hsby.QueryProvincesAndCitiesRsp:
  3762. properties:
  3763. cities:
  3764. description: 市
  3765. items:
  3766. $ref: '#/definitions/models.Division'
  3767. type: array
  3768. province:
  3769. $ref: '#/definitions/models.Division'
  3770. description: 省
  3771. type: object
  3772. models.Arearole:
  3773. properties:
  3774. createtime:
  3775. description: 创建时间
  3776. type: string
  3777. creatorid:
  3778. description: 创建人ID
  3779. type: integer
  3780. fromuserid:
  3781. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  3782. type: integer
  3783. isreturnscore:
  3784. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  3785. type: integer
  3786. modifierid:
  3787. description: 修改人ID
  3788. type: integer
  3789. modifytime:
  3790. description: 修改时间
  3791. type: string
  3792. orgtype:
  3793. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  3794. type: integer
  3795. outuserid:
  3796. description: 外部账户[场外期权做市商]
  3797. type: string
  3798. parentuserid:
  3799. description: 上级组织机构(组织机构)
  3800. type: integer
  3801. roletype:
  3802. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  3803. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  3804. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  3805. type: integer
  3806. rootuserid:
  3807. description: 顶级组织机构用户ID(组织机构)
  3808. type: integer
  3809. shoppassword:
  3810. description: 商城店铺登陆密码(商城店铺角色使用)
  3811. type: string
  3812. sublevelpath:
  3813. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  3814. type: string
  3815. suborgtype:
  3816. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  3817. type: integer
  3818. tradeaccountid:
  3819. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  3820. type: integer
  3821. transurl:
  3822. description: 物流地址(物流机构)
  3823. type: string
  3824. userid:
  3825. description: 机构用户ID其他做市关系,都设置为 1
  3826. type: integer
  3827. required:
  3828. - roletype
  3829. - userid
  3830. type: object
  3831. models.Clientfixedadconfig:
  3832. properties:
  3833. adsort:
  3834. description: 排序
  3835. type: integer
  3836. adtype:
  3837. description: 广告位类型 - 1:新品抢购(HSBY)
  3838. type: integer
  3839. areauserid:
  3840. description: 所属机构ID
  3841. type: integer
  3842. createdate:
  3843. description: 创建时间
  3844. type: string
  3845. creatorid:
  3846. description: 创建人
  3847. type: integer
  3848. imagepath:
  3849. description: 图片
  3850. type: string
  3851. isshow:
  3852. description: 是否展示 - 0:不展示 1:展示
  3853. type: integer
  3854. modifierid:
  3855. description: 操作人
  3856. type: integer
  3857. recsize:
  3858. description: 推荐尺寸
  3859. type: string
  3860. title:
  3861. description: 标题
  3862. type: string
  3863. updatedate:
  3864. description: 更新时间
  3865. type: string
  3866. urlcontent:
  3867. description: 链接(地址或商品ID)
  3868. type: string
  3869. urltype:
  3870. description: 链接类型 - 1:直接地址 2:商品ID
  3871. type: integer
  3872. required:
  3873. - adsort
  3874. - adtype
  3875. type: object
  3876. models.DgFactoryItem:
  3877. properties:
  3878. dgfactoryitemid:
  3879. description: 选择项ID(SEQ_DGFACTORYITEM)
  3880. type: integer
  3881. dgfactoryitemtypeid:
  3882. description: 要素项类型
  3883. type: integer
  3884. dgfactoryitemvalue:
  3885. description: 要素项值(类型为仓库时填写仓库名称)
  3886. type: string
  3887. orderindex:
  3888. description: 顺序
  3889. type: integer
  3890. type: object
  3891. models.Division:
  3892. properties:
  3893. autoid:
  3894. description: 自增ID
  3895. type: integer
  3896. divisioncode:
  3897. description: 行政代码
  3898. type: string
  3899. divisionlevel:
  3900. description: 行政级别
  3901. type: string
  3902. divisionname:
  3903. description: 行政名称
  3904. type: string
  3905. modifierid:
  3906. description: 修改人
  3907. type: integer
  3908. modifytime:
  3909. description: 修改时间
  3910. type: string
  3911. parentcode:
  3912. description: 上级行政代码
  3913. type: string
  3914. pathname:
  3915. description: 路径名称
  3916. type: string
  3917. postcode:
  3918. description: 邮政编码
  3919. type: string
  3920. separablename:
  3921. description: 可拆分的全称
  3922. type: string
  3923. shortcode:
  3924. description: 地区简码
  3925. type: string
  3926. required:
  3927. - autoid
  3928. - divisioncode
  3929. type: object
  3930. models.Enumdicitem:
  3931. properties:
  3932. autoid:
  3933. description: 自增ID
  3934. type: integer
  3935. bankmappedvalue:
  3936. description: 银行服务对应值
  3937. type: string
  3938. enumdiccode:
  3939. description: 所属枚举代码
  3940. type: string
  3941. enumdicid:
  3942. description: 所属枚举ID
  3943. type: integer
  3944. enumdicname:
  3945. description: 枚举项名称
  3946. type: string
  3947. enumitemname:
  3948. description: 枚举项值
  3949. type: integer
  3950. enumitemstatus:
  3951. description: 枚举项状态 - 1.启用 2.不启用
  3952. type: integer
  3953. enumitemvalue:
  3954. description: 通用值 - [币种通用简写]
  3955. type: string
  3956. param1:
  3957. description: 参数1[币种:币种小数位]
  3958. type: string
  3959. param2:
  3960. description: 参数1[币种:币种显示单位]
  3961. type: string
  3962. remark:
  3963. description: 备注
  3964. type: string
  3965. required:
  3966. - autoid
  3967. - enumdiccode
  3968. - enumdicid
  3969. - enumitemname
  3970. type: object
  3971. models.Ermcp3AreaSpot:
  3972. properties:
  3973. areauserid:
  3974. description: 所属机构
  3975. type: integer
  3976. convertratio:
  3977. description: 套保系数
  3978. type: number
  3979. decreaseqty:
  3980. description: 减少数量=-(销售已定价数量+采购计划数量)
  3981. type: number
  3982. enumdicname:
  3983. description: 单位名称
  3984. type: string
  3985. increaseqty:
  3986. description: 增加数量=销售计划数量+采购已定价数量
  3987. type: number
  3988. oritoalspotqty:
  3989. description: 昨日数量
  3990. type: number
  3991. totalspotqty:
  3992. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  3993. type: number
  3994. unitid:
  3995. description: 现货商品单位id
  3996. type: integer
  3997. updatetime:
  3998. description: 更新时间
  3999. type: string
  4000. wrstandardcode:
  4001. description: 现货商品代码
  4002. type: string
  4003. wrstandardid:
  4004. description: 现货商品ID(SEQ_WRSTANDARD)
  4005. type: integer
  4006. wrstandardname:
  4007. description: 现货商品名称
  4008. type: string
  4009. type: object
  4010. models.Ermcp3AreaSpotDetail:
  4011. properties:
  4012. contracttype:
  4013. description: 合同类型 1-采购 -1-销售
  4014. type: integer
  4015. createtime:
  4016. description: 创建时间
  4017. type: string
  4018. enumdicname:
  4019. description: 现货商品单位名称
  4020. type: string
  4021. logtype:
  4022. description: 记录类型 1-套保 2-现货合同
  4023. type: integer
  4024. qty:
  4025. description: 数量
  4026. type: number
  4027. recordname:
  4028. description: 类型名称
  4029. type: string
  4030. relatedid:
  4031. description: 套保计划ID/现货合同ID
  4032. type: string
  4033. relatedno:
  4034. description: 编号
  4035. type: string
  4036. strtime:
  4037. description: 时间
  4038. type: string
  4039. wrstandardcode:
  4040. description: 现货商品代码
  4041. type: string
  4042. wrstandardid:
  4043. description: 现货商品ID(SEQ_WRSTANDARD)
  4044. type: integer
  4045. wrstandardname:
  4046. description: 现货商品名称
  4047. type: string
  4048. type: object
  4049. models.Ermcp3AreaSpotPLReport:
  4050. properties:
  4051. accountid:
  4052. description: 期货账户ID (作废, 默认为0)
  4053. type: integer
  4054. accountname:
  4055. description: 机构名称
  4056. type: string
  4057. actualpl:
  4058. description: 现货损益
  4059. type: number
  4060. areauserid:
  4061. description: 所属机构\交易用户ID
  4062. type: integer
  4063. begindate:
  4064. description: 开始交易日
  4065. type: string
  4066. biztype:
  4067. description: 业务类型 - 1:套保 2:套利
  4068. type: integer
  4069. brandname:
  4070. description: 品牌名称
  4071. type: string
  4072. curamount:
  4073. description: 期末额
  4074. type: number
  4075. curaverageprice:
  4076. description: 期末均价
  4077. type: number
  4078. curbuyamount:
  4079. description: 期末采购总额
  4080. type: number
  4081. curbuyqty:
  4082. description: 期末采购总量
  4083. type: number
  4084. curmarketvalue:
  4085. description: 参考市值(期末市值)
  4086. type: number
  4087. curqty:
  4088. description: 期末量
  4089. type: number
  4090. currencyid:
  4091. description: 结算币种ID【原值】
  4092. type: integer
  4093. currencyname:
  4094. description: 币种名称
  4095. type: string
  4096. cursellamount:
  4097. description: 期末销售总额
  4098. type: number
  4099. cursellqty:
  4100. description: 期末销售总量
  4101. type: number
  4102. curspotprice:
  4103. description: 参考市价(最新价)
  4104. type: number
  4105. cycletime:
  4106. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4107. type: string
  4108. cycletype:
  4109. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4110. type: integer
  4111. deliverygoodscode:
  4112. description: 现货品种代码
  4113. type: string
  4114. deliverygoodsid:
  4115. description: 现货品种ID
  4116. type: integer
  4117. deliverygoodsname:
  4118. description: 现货品种名称
  4119. type: string
  4120. enddate:
  4121. description: 结束交易日
  4122. type: string
  4123. enumdicname:
  4124. description: 现货品种单位名称(作废)
  4125. type: string
  4126. floatpl:
  4127. description: 浮动损益
  4128. type: number
  4129. goodsunitid:
  4130. description: 现货品种单位id(作废)
  4131. type: integer
  4132. oriamount:
  4133. description: 期初额
  4134. type: number
  4135. oriaverageprice:
  4136. description: 期初均价
  4137. type: number
  4138. oribuyamount:
  4139. description: 期初采购总额
  4140. type: number
  4141. oribuyqty:
  4142. description: 期初采购总量
  4143. type: number
  4144. oriqty:
  4145. description: 期初量
  4146. type: number
  4147. orisellamount:
  4148. description: 期初销售总额
  4149. type: number
  4150. orisellqty:
  4151. description: 期初销售总量
  4152. type: number
  4153. reckondate:
  4154. description: 日照时期(yyyyMMdd)
  4155. type: string
  4156. spotgoodsbrandid:
  4157. description: 现货品牌ID
  4158. type: integer
  4159. todaybuyamount:
  4160. description: 今日采购额(今采购额)
  4161. type: number
  4162. todaybuyaverageprice:
  4163. description: 今日采购均价
  4164. type: number
  4165. todaybuyqty:
  4166. description: 今日采购量(今采购量)
  4167. type: number
  4168. todayinqty:
  4169. description: 今日入库量(今入库量)
  4170. type: number
  4171. todayoutqty:
  4172. description: 今日出库量(今出库量)
  4173. type: number
  4174. todaysellamount:
  4175. description: 今日销售额(今销售额)
  4176. type: number
  4177. todaysellaverageprice:
  4178. description: 今日销售均价
  4179. type: number
  4180. todaysellqty:
  4181. description: 今日销售量(今销售量)
  4182. type: number
  4183. unitid:
  4184. description: 品类单位id
  4185. type: integer
  4186. unitidname:
  4187. description: 品类单位名称
  4188. type: string
  4189. updatetime:
  4190. description: 更新时间
  4191. type: string
  4192. wrfactortypeid:
  4193. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4194. type: integer
  4195. wrstandardcode:
  4196. description: 现货商品(品类)代码
  4197. type: string
  4198. wrstandardid:
  4199. description: 现货品类ID
  4200. type: integer
  4201. wrstandardname:
  4202. description: 现货商品(品类)名称
  4203. type: string
  4204. type: object
  4205. models.Ermcp3AreaStock:
  4206. properties:
  4207. brandname:
  4208. description: 品牌名称
  4209. type: string
  4210. curstock:
  4211. description: 期末库存量(今日量)
  4212. type: number
  4213. deliverygoodscode:
  4214. description: 现货品种代码
  4215. type: string
  4216. deliverygoodsid:
  4217. description: 现货品种id
  4218. type: integer
  4219. deliverygoodsname:
  4220. description: 现货品种名称
  4221. type: string
  4222. enumdicname:
  4223. description: 单位名称
  4224. type: string
  4225. goodsunitid:
  4226. description: 现货商品单位id
  4227. type: integer
  4228. oristock:
  4229. description: 期初库存量(昨日量)
  4230. type: number
  4231. spotgoodsbrandid:
  4232. description: 现货品牌ID
  4233. type: integer
  4234. todaybuyinqty:
  4235. description: 今日采购入库量
  4236. type: number
  4237. todayproduceinqty:
  4238. description: 今日生产入库量
  4239. type: number
  4240. todayproduceoutqty:
  4241. description: 今日生产出库量
  4242. type: number
  4243. todayselloutqty:
  4244. description: 今日销售出库量
  4245. type: number
  4246. unitid:
  4247. description: 单位id
  4248. type: integer
  4249. updatetime:
  4250. description: 更新时间
  4251. type: string
  4252. userid:
  4253. description: 机构ID
  4254. type: integer
  4255. username:
  4256. description: 机构名称
  4257. type: string
  4258. warehousecode:
  4259. description: 仓库代码
  4260. type: string
  4261. warehouseinfoid:
  4262. description: 仓库ID
  4263. type: string
  4264. warehousename:
  4265. description: 仓库名称
  4266. type: string
  4267. warehousetype:
  4268. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4269. type: integer
  4270. wrstandardcode:
  4271. description: 品类代码
  4272. type: string
  4273. wrstandardid:
  4274. description: 品类ID
  4275. type: string
  4276. wrstandardname:
  4277. description: 品类名称
  4278. type: string
  4279. required:
  4280. - userid
  4281. type: object
  4282. models.Ermcp3AreaStockApply:
  4283. properties:
  4284. applyid:
  4285. description: 申请人
  4286. type: integer
  4287. applyname:
  4288. description: 申请人名称
  4289. type: string
  4290. applyremark:
  4291. description: 申请备注
  4292. type: string
  4293. applysrc:
  4294. description: 申请来源 - 1:管理端 2:终端
  4295. type: integer
  4296. applystatus:
  4297. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  4298. type: integer
  4299. applytime:
  4300. description: 申请时间
  4301. type: string
  4302. auditid:
  4303. description: 审核人
  4304. type: integer
  4305. auditname:
  4306. description: 审核人名称
  4307. type: string
  4308. auditremark:
  4309. description: 审核备注
  4310. type: string
  4311. auditsrc:
  4312. description: 审核来源 - 1:管理端 2:终端
  4313. type: integer
  4314. audittime:
  4315. description: 审核时间
  4316. type: string
  4317. audittradedate:
  4318. description: 审核交易日(yyyyMMdd)
  4319. type: string
  4320. brandname:
  4321. description: 品牌名称
  4322. type: string
  4323. buynickname:
  4324. description: 采购方昵称
  4325. type: string
  4326. buyuserid:
  4327. description: 采购方userid
  4328. type: integer
  4329. buyusername:
  4330. description: 采购方名称
  4331. type: string
  4332. contractno:
  4333. description: 合同编号
  4334. type: string
  4335. contractqty:
  4336. description: 合同量
  4337. type: number
  4338. contracttype:
  4339. description: 现货合同类型 - 1:采购 -1:销售
  4340. type: integer
  4341. deliverygoodscode:
  4342. description: 现货品种代码
  4343. type: string
  4344. deliverygoodsid:
  4345. description: 现货品种id
  4346. type: integer
  4347. deliverygoodsname:
  4348. description: 现货品种名称
  4349. type: string
  4350. detailjson:
  4351. description: 明细数据
  4352. type: string
  4353. enumdicname:
  4354. description: 现货商品单位名称
  4355. type: string
  4356. inoutapplyid:
  4357. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  4358. type: string
  4359. inouttype:
  4360. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4361. type: integer
  4362. pricetype:
  4363. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4364. type: integer
  4365. qty:
  4366. description: 数量
  4367. type: number
  4368. sellnickname:
  4369. description: 销售方昵称
  4370. type: string
  4371. selluserid:
  4372. description: 销售方userid
  4373. type: integer
  4374. sellusername:
  4375. description: 销售方名称
  4376. type: string
  4377. spotcontractid:
  4378. description: 关联现货合同ID
  4379. type: string
  4380. spotgoodsbrandid:
  4381. description: 现货品牌ID
  4382. type: integer
  4383. unitid:
  4384. description: 单位id
  4385. type: integer
  4386. userid:
  4387. description: 机构ID
  4388. type: integer
  4389. warehousecode:
  4390. description: 仓库代码
  4391. type: string
  4392. warehouseinfoid:
  4393. description: 现货仓库ID
  4394. type: string
  4395. warehousename:
  4396. description: 仓库名称
  4397. type: string
  4398. warehousetype:
  4399. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4400. type: integer
  4401. wrstandardcode:
  4402. description: 品类代码
  4403. type: string
  4404. wrstandardid:
  4405. description: 品类ID
  4406. type: integer
  4407. wrstandardname:
  4408. description: 品类名称
  4409. type: string
  4410. type: object
  4411. models.Ermcp3AreaStockApplySum:
  4412. properties:
  4413. brandname:
  4414. description: 品牌名称
  4415. type: string
  4416. inouttype:
  4417. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4418. type: integer
  4419. spotcontractid:
  4420. description: 关联现货合同ID
  4421. type: string
  4422. spotgoodsbrandid:
  4423. description: 品牌id
  4424. type: integer
  4425. totalqty:
  4426. description: 总数量
  4427. type: number
  4428. wrstandardid:
  4429. description: 品类id
  4430. type: integer
  4431. wrstandardname:
  4432. description: 品类名称
  4433. type: string
  4434. type: object
  4435. models.Ermcp3AreaStockReportEx:
  4436. properties:
  4437. begindate:
  4438. description: 开始交易日
  4439. type: string
  4440. brandname:
  4441. description: 品牌名称
  4442. type: string
  4443. curstock:
  4444. description: 期末库存量
  4445. type: number
  4446. cycletime:
  4447. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4448. type: string
  4449. cycletype:
  4450. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4451. type: integer
  4452. deliverygoodscode:
  4453. description: 现货品种代码
  4454. type: string
  4455. deliverygoodsid:
  4456. description: 现货品种id
  4457. type: integer
  4458. deliverygoodsname:
  4459. description: 现货品种名称
  4460. type: string
  4461. diffqty:
  4462. description: 库存变化量 = 期末 - 期初
  4463. type: number
  4464. enddate:
  4465. description: 结束交易日
  4466. type: string
  4467. enumdicname:
  4468. description: 单位名称
  4469. type: string
  4470. goodsunitid:
  4471. description: 现货单位id
  4472. type: integer
  4473. oristock:
  4474. description: 期初库存量
  4475. type: number
  4476. reckondate:
  4477. description: 日照时期(yyyyMMdd)
  4478. type: string
  4479. spotgoodsbrandid:
  4480. description: 现货品牌ID
  4481. type: integer
  4482. todaybuyinqty:
  4483. description: 今采购入库量
  4484. type: number
  4485. todayproduceinqty:
  4486. description: 今内部入库量
  4487. type: number
  4488. todayproduceoutqty:
  4489. description: 今内部出库量
  4490. type: number
  4491. todayselloutqty:
  4492. description: 今销售出库量
  4493. type: number
  4494. unbuyinqty:
  4495. description: 采购未入库量(数据库未找到相关字段?)
  4496. type: number
  4497. unitid:
  4498. description: 品类单位id
  4499. type: integer
  4500. unselloutqty:
  4501. description: 销售未出库量(数据库未找到相关字段?)
  4502. type: number
  4503. updatetime:
  4504. description: 更新时间
  4505. type: string
  4506. userid:
  4507. description: 机构ID
  4508. type: integer
  4509. username:
  4510. description: 机构名称
  4511. type: string
  4512. warehousecode:
  4513. description: 仓库代码
  4514. type: string
  4515. warehouseinfoid:
  4516. description: 仓库ID
  4517. type: string
  4518. warehousename:
  4519. description: 仓库名称
  4520. type: string
  4521. warehousetype:
  4522. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4523. type: integer
  4524. wrstandardcode:
  4525. description: 品类代码
  4526. type: string
  4527. wrstandardid:
  4528. description: 品类ID
  4529. type: integer
  4530. wrstandardname:
  4531. description: 品类名称
  4532. type: string
  4533. type: object
  4534. models.Ermcp3ArealSumPL:
  4535. properties:
  4536. accountname:
  4537. description: 机构名称
  4538. type: string
  4539. areauserid:
  4540. description: 所属机构\交易用户ID
  4541. type: integer
  4542. begindate:
  4543. description: 开始交易日
  4544. type: string
  4545. currencyid:
  4546. description: 结算币种ID
  4547. type: integer
  4548. currencyname:
  4549. description: 币种名称
  4550. type: string
  4551. cycletime:
  4552. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4553. type: string
  4554. cycletype:
  4555. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4556. type: integer
  4557. enddate:
  4558. description: 结束交易日
  4559. type: string
  4560. enumdicname:
  4561. description: 单位名称(套保品种)
  4562. type: string
  4563. futureactualpl:
  4564. description: 期货损益
  4565. type: number
  4566. futurefloatpl:
  4567. description: 期货浮动损益
  4568. type: number
  4569. futurespotratio:
  4570. description: 期现比例 = 期货头寸总量 / 现货头寸总量
  4571. type: number
  4572. goodsunitid:
  4573. description: 套保品种单位id
  4574. type: integer
  4575. hedgeexposurepl:
  4576. description: 套保敞口损益
  4577. type: number
  4578. middlegoodscode:
  4579. description: 套保品种代码
  4580. type: string
  4581. middlegoodsid:
  4582. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  4583. type: integer
  4584. middlegoodsname:
  4585. description: 套保品种名称
  4586. type: string
  4587. reckondate:
  4588. description: 日照时期(yyyyMMdd)
  4589. type: string
  4590. spotactualpl:
  4591. description: 现货损益
  4592. type: number
  4593. spotfloatpl:
  4594. description: 现货浮动损益
  4595. type: number
  4596. sumactualpl:
  4597. description: 实际损益 = (ActualPL + FutureActualPL)
  4598. type: number
  4599. sumpl:
  4600. description: 总敞口损益 | 汇总损益
  4601. type: number
  4602. totalfutureqty:
  4603. description: 期货头寸总量
  4604. type: number
  4605. totalneedhedgeqty:
  4606. description: 应套保总量
  4607. type: number
  4608. totalspotqty:
  4609. description: 现货头寸总量
  4610. type: number
  4611. updatetime:
  4612. description: 更新时间
  4613. type: string
  4614. type: object
  4615. models.Ermcp3Brand:
  4616. properties:
  4617. areauserid:
  4618. description: 用户id
  4619. type: integer
  4620. brandid:
  4621. description: 品牌id
  4622. type: integer
  4623. brandname:
  4624. description: 品牌名称
  4625. type: string
  4626. deliverygoodsid:
  4627. description: 品种ID
  4628. type: integer
  4629. isvalid:
  4630. description: 是否有效
  4631. type: integer
  4632. type: object
  4633. models.Ermcp3Contract:
  4634. properties:
  4635. accountid:
  4636. description: 期货账户id
  4637. type: string
  4638. amount:
  4639. description: 金额 [1:一口价、3:暂定价]
  4640. type: number
  4641. attachment:
  4642. description: 附件
  4643. type: string
  4644. auditremark:
  4645. description: 审核意见
  4646. type: string
  4647. audittime:
  4648. description: 审核时间
  4649. type: string
  4650. biztype:
  4651. description: 业务类型 1-套保 2-套利
  4652. type: integer
  4653. brandname:
  4654. description: 品牌名称
  4655. type: string
  4656. buynickname:
  4657. description: 销售方昵称
  4658. type: string
  4659. buyuserid:
  4660. description: 采购方ID
  4661. type: integer
  4662. buyusername:
  4663. description: 采购方名称
  4664. type: string
  4665. contracctstatus:
  4666. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4667. type: integer
  4668. contractmargin:
  4669. description: 合同保证金
  4670. type: number
  4671. contractno:
  4672. description: 现货合同编号
  4673. type: string
  4674. contracttype:
  4675. description: 现货合同类型 - 1:采购 -1:销售
  4676. type: integer
  4677. convertfactor:
  4678. description: 标仓系数(品类)
  4679. type: number
  4680. createtime:
  4681. description: 创建时间
  4682. type: string
  4683. currencyid:
  4684. description: 币种id
  4685. type: integer
  4686. currencyname:
  4687. description: 币种名称
  4688. type: string
  4689. deliveryenddate:
  4690. description: 交收期(结束)
  4691. type: string
  4692. deliverygoodscode:
  4693. description: 现货品种代码
  4694. type: string
  4695. deliverygoodsid:
  4696. description: 现货品种ID
  4697. type: integer
  4698. deliverygoodsname:
  4699. description: 现货品种名称
  4700. type: string
  4701. deliverystartdate:
  4702. description: 交收期(开始)
  4703. type: string
  4704. enddate:
  4705. description: 点价结束日期 [2:点价 3:暂定价]
  4706. type: string
  4707. enumdicname:
  4708. description: 单位名称
  4709. type: string
  4710. goodscode:
  4711. description: 点价合约代码
  4712. type: string
  4713. goodsid:
  4714. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  4715. type: integer
  4716. goodsname:
  4717. description: 点价商品名称
  4718. type: string
  4719. margin:
  4720. description: 当前保证金
  4721. type: number
  4722. meruserid:
  4723. description: 跟单员id
  4724. type: integer
  4725. meruserlogincode:
  4726. description: 跟单员登录代码
  4727. type: string
  4728. merusername:
  4729. description: 跟单员名称
  4730. type: string
  4731. pointdesc:
  4732. description: 点价备注
  4733. type: string
  4734. price:
  4735. description: 价格\暂定价 [1:一口价、3:暂定价]
  4736. type: number
  4737. pricemove:
  4738. description: 升贴水 [2:点价 3:暂定价]
  4739. type: number
  4740. pricetype:
  4741. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4742. type: integer
  4743. producttype:
  4744. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4745. type: integer
  4746. qty:
  4747. description: 数量
  4748. type: number
  4749. remark:
  4750. description: 备注
  4751. type: string
  4752. saleuserid:
  4753. description: 业务员id
  4754. type: integer
  4755. saleuserlogincode:
  4756. description: 业务员登录代码
  4757. type: string
  4758. saleusername:
  4759. description: 业务员名称
  4760. type: string
  4761. sellnickname:
  4762. description: 采购方昵称
  4763. type: string
  4764. selluserid:
  4765. description: 销售方ID
  4766. type: integer
  4767. sellusername:
  4768. description: 销售方名称
  4769. type: string
  4770. spotcontractid:
  4771. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  4772. type: string
  4773. spotgoodsbrandid:
  4774. description: 现货品牌ID(DGFactoryItem表的ID)
  4775. type: integer
  4776. spotgoodsdesc:
  4777. description: 商品型号
  4778. type: string
  4779. startdate:
  4780. description: 点价开始日期 [2:点价 3:暂定价]
  4781. type: string
  4782. subjectid:
  4783. description: 交易主体ID
  4784. type: integer
  4785. subjectname:
  4786. description: 交易主体名称
  4787. type: string
  4788. tradeuserid:
  4789. description: 交易员id
  4790. type: integer
  4791. tradeuserlogincode:
  4792. description: 交易员登录代码
  4793. type: string
  4794. tradeusername:
  4795. description: 交易员名称
  4796. type: string
  4797. unitid:
  4798. description: 单位id(取品类上的单位id)
  4799. type: integer
  4800. updatetime:
  4801. description: 更新时间
  4802. type: string
  4803. userid:
  4804. description: 所属机构ID
  4805. type: integer
  4806. vatrate:
  4807. description: 增值税率
  4808. type: number
  4809. wrstandardcode:
  4810. description: 品类代码
  4811. type: string
  4812. wrstandardid:
  4813. description: 品类ID
  4814. type: integer
  4815. wrstandardname:
  4816. description: 品类名称
  4817. type: string
  4818. type: object
  4819. models.Ermcp3ContractMiddleGoodsCfg:
  4820. properties:
  4821. agreeunit:
  4822. description: 合约乘数
  4823. type: number
  4824. convertratio:
  4825. description: 期货品种系数
  4826. type: number
  4827. covertqty:
  4828. description: 折算手数 =【待点价量 / (合约乘数*期货品种系数) 】
  4829. type: integer
  4830. middlegoodsid:
  4831. description: 套保品种ID
  4832. type: integer
  4833. middlegoodspricedqty3:
  4834. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  4835. example: "0"
  4836. type: string
  4837. pendingpricedqty:
  4838. description: 待点价量
  4839. example: "0"
  4840. type: string
  4841. relatedmiddlegoodsqty:
  4842. description: 已关联量(套保品种-期货)
  4843. example: "0"
  4844. type: string
  4845. spotcontractid:
  4846. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  4847. type: string
  4848. type: object
  4849. models.Ermcp3ExposureContractDetail:
  4850. properties:
  4851. biztype:
  4852. description: 业务类型 1-套保 2-套利
  4853. type: integer
  4854. brandname:
  4855. description: 品牌名称
  4856. type: string
  4857. buyuserid:
  4858. description: 采购方id
  4859. type: integer
  4860. buyusername:
  4861. description: 采购方名称
  4862. type: string
  4863. contractno:
  4864. description: 合同编号
  4865. type: string
  4866. contracttype:
  4867. description: 现货合同类型 - 1:采购 -1:销售
  4868. type: integer
  4869. convertfactor:
  4870. description: 标仓系数
  4871. type: number
  4872. convertratio:
  4873. description: 折算系数(套保品种)
  4874. type: number
  4875. curqty:
  4876. description: 今定价量
  4877. type: number
  4878. deliverygoodscode:
  4879. description: 现货品种代码
  4880. type: string
  4881. deliverygoodsid:
  4882. description: 现货品种id
  4883. type: integer
  4884. deliverygoodsname:
  4885. description: 现货品种名称
  4886. type: string
  4887. diffhedgeqty:
  4888. description: 套保变动量
  4889. type: number
  4890. diffneedhedgeqty:
  4891. description: 应套保变动量
  4892. type: number
  4893. diffqty:
  4894. description: 套保品种今变动量
  4895. type: number
  4896. enumdicname:
  4897. description: 单位名称
  4898. type: string
  4899. mgunitname:
  4900. description: 套保品种单位名称
  4901. type: string
  4902. middlegoodscode:
  4903. description: 套保品种代码
  4904. type: string
  4905. middlegoodsid:
  4906. description: 套保品种id
  4907. type: integer
  4908. middlegoodsname:
  4909. description: 套保品种名称
  4910. type: string
  4911. needarbitrageratio:
  4912. description: 应套利比例
  4913. type: number
  4914. needhedgeratio:
  4915. description: 应套保比例
  4916. type: number
  4917. pricedqty:
  4918. description: 已定价量
  4919. type: number
  4920. qty:
  4921. description: 合同量
  4922. type: number
  4923. reckondate:
  4924. description: 交易日(reckondate)
  4925. type: string
  4926. selluserid:
  4927. description: 销售方id
  4928. type: integer
  4929. sellusername:
  4930. description: 销售方名称
  4931. type: string
  4932. spotcontractid:
  4933. description: 合同id
  4934. type: string
  4935. todaypricedqty:
  4936. description: 今定价量
  4937. type: number
  4938. tradedate:
  4939. description: 交易日
  4940. type: string
  4941. unitid:
  4942. description: 品类单位id
  4943. type: integer
  4944. userid:
  4945. description: 机构id
  4946. type: integer
  4947. username:
  4948. description: 交易用户
  4949. type: string
  4950. wrstandardcode:
  4951. description: 现货商品代码
  4952. type: string
  4953. wrstandardid:
  4954. description: 现货商品id
  4955. type: integer
  4956. wrstandardname:
  4957. description: 现货商品名称
  4958. type: string
  4959. type: object
  4960. models.Ermcp3ExposureDetail:
  4961. properties:
  4962. areauserid:
  4963. description: 机构ID
  4964. type: integer
  4965. changeQty:
  4966. description: 套保变动量
  4967. type: number
  4968. contracttype:
  4969. description: 现货合同类型 - 1:采购 -1:销售
  4970. type: integer
  4971. convertfactor:
  4972. description: 标仓系数
  4973. type: number
  4974. convertratio:
  4975. description: 折算系数
  4976. type: number
  4977. createtime:
  4978. description: 时间
  4979. type: string
  4980. enumdicname:
  4981. description: 现货商品单位名称
  4982. type: string
  4983. logtype:
  4984. description: 类型 - 1:套保计划 2:现货合同
  4985. type: integer
  4986. mgunitid:
  4987. description: 套保品种单位id
  4988. type: integer
  4989. mgunitidname:
  4990. description: 套保品种单位名称
  4991. type: string
  4992. middlegoodsId:
  4993. description: 套保商品id
  4994. type: integer
  4995. middlegoodscode:
  4996. description: 套保商品代码
  4997. type: string
  4998. middlegoodsname:
  4999. description: 套保商品名称
  5000. type: string
  5001. qty:
  5002. description: 数量
  5003. type: number
  5004. relateNo:
  5005. description: 现货合同/套保计划编号
  5006. type: string
  5007. unitid:
  5008. description: 现货商品单位id
  5009. type: integer
  5010. wrstandardcode:
  5011. description: 现货商品代码
  5012. type: string
  5013. wrstandardid:
  5014. description: 现货商品ID(SEQ_WRSTANDARD)
  5015. type: integer
  5016. wrstandardname:
  5017. description: 现货商品名称
  5018. type: string
  5019. type: object
  5020. models.Ermcp3ExposureFutuDetail:
  5021. properties:
  5022. accountid:
  5023. description: 交易账户id
  5024. type: integer
  5025. accountname:
  5026. description: 交易账户
  5027. type: string
  5028. begindate:
  5029. description: 开始交易日
  5030. type: string
  5031. buyorsell:
  5032. description: 方向 0-买 1-卖
  5033. type: integer
  5034. diffmgqty:
  5035. description: 套保品种今变化量
  5036. type: number
  5037. diffneedqty:
  5038. description: 应套保总量变化量
  5039. type: number
  5040. difftradeqty:
  5041. description: 交易品种今变化量
  5042. type: number
  5043. enddate:
  5044. description: 结束交易日
  5045. type: string
  5046. enumdicname:
  5047. description: 单位名称
  5048. type: string
  5049. goodscode:
  5050. description: 商品代码
  5051. type: string
  5052. goodsid:
  5053. description: 商品id
  5054. type: integer
  5055. goodsname:
  5056. description: 商品名称
  5057. type: string
  5058. holdqty:
  5059. description: 期末持仓量
  5060. type: number
  5061. middlegoodscode:
  5062. description: 套保商品代码
  5063. type: string
  5064. middlegoodsid:
  5065. description: 套保商品id
  5066. type: integer
  5067. middlegoodsname:
  5068. description: 套保商品名称
  5069. type: string
  5070. oriholdqty:
  5071. description: 期初持仓量
  5072. type: number
  5073. reckondate:
  5074. description: 交易日(RECKONDATE)
  5075. type: string
  5076. todaycloseqty:
  5077. description: 今平仓量
  5078. type: number
  5079. todayopenqty:
  5080. description: 今开仓量
  5081. type: number
  5082. tradedate:
  5083. description: 交易日(RECKONDATE)
  5084. type: string
  5085. username:
  5086. description: 用户名称(交易用户)
  5087. type: string
  5088. type: object
  5089. models.Ermcp3ExposureHedgeplanDetail:
  5090. properties:
  5091. biztype:
  5092. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  5093. type: integer
  5094. changqty:
  5095. description: 应套保总量变化量
  5096. type: number
  5097. contracttype:
  5098. description: 计划类型 - 1:采购 -1:销售
  5099. type: integer
  5100. convertratio:
  5101. description: 折算系数(套保品种)
  5102. type: number
  5103. deliverygoodscode:
  5104. description: 现货商品代码
  5105. type: string
  5106. deliverygoodsid:
  5107. description: 现货商品id
  5108. type: integer
  5109. deliverygoodsname:
  5110. description: 现货商吕名称
  5111. type: string
  5112. dgunitid:
  5113. description: 现货商品单位id
  5114. type: integer
  5115. dgunitidname:
  5116. description: 单位名称(现货商品)
  5117. type: string
  5118. diffqty:
  5119. description: 套保品种今变动量
  5120. type: number
  5121. enumdicname:
  5122. description: 单位名称(品类)
  5123. type: string
  5124. hedgeplanid:
  5125. description: 套保计划id
  5126. type: string
  5127. hedgeplanno:
  5128. description: 套保计划名称
  5129. type: string
  5130. hedgeplanstatus:
  5131. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5132. type: integer
  5133. mgunitidname:
  5134. description: 单位名称(套保商品)
  5135. type: string
  5136. middlegoodscode:
  5137. description: 套保品种代码
  5138. type: string
  5139. middlegoodsid:
  5140. description: 套保品种id
  5141. type: integer
  5142. middlegoodsname:
  5143. description: 套保品种名称
  5144. type: string
  5145. needarbitrageratio:
  5146. description: 应套利比例
  5147. type: number
  5148. needhedgeratio:
  5149. description: 应套保比例
  5150. type: number
  5151. pricedqty:
  5152. description: 已定价量
  5153. type: number
  5154. qty:
  5155. description: 合同量
  5156. type: number
  5157. reckondate:
  5158. description: 交易日(reckondate)
  5159. type: string
  5160. tradedate:
  5161. description: 交易日(登记日)
  5162. type: string
  5163. unitid:
  5164. description: 品类单位id
  5165. type: integer
  5166. userid:
  5167. description: 机构id
  5168. type: integer
  5169. wrstandardcode:
  5170. description: 品类代码
  5171. type: string
  5172. wrstandardid:
  5173. description: 品类id
  5174. type: integer
  5175. wrstandardname:
  5176. description: 品类名称
  5177. type: string
  5178. type: object
  5179. models.Ermcp3ExposureParamChLog:
  5180. properties:
  5181. accountid:
  5182. description: 期货账户ID (作废, 默认为0)
  5183. type: integer
  5184. aftervalue:
  5185. description: 应套保\套利量变更后(调整后应套保总量)
  5186. type: number
  5187. areauserid:
  5188. description: 所属机构\交易用户ID
  5189. type: integer
  5190. beforevalue:
  5191. description: 应套保\套利量变更前(调整前应套保总量)
  5192. type: number
  5193. begindate:
  5194. description: 开始交易日
  5195. type: string
  5196. changelogtype:
  5197. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5198. type: integer
  5199. curvalue:
  5200. description: 当前套保\套利量(套保总量|套利总量)
  5201. type: number
  5202. diffvalue:
  5203. description: 应套保总量变化量
  5204. type: number
  5205. enddate:
  5206. description: 结束交易日
  5207. type: string
  5208. logdatetime:
  5209. description: 流水日期
  5210. type: string
  5211. logid:
  5212. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  5213. type: string
  5214. middlegoodscode:
  5215. description: 套保品种代码
  5216. type: string
  5217. middlegoodsid:
  5218. description: 套保品种
  5219. type: integer
  5220. middlegoodsname:
  5221. description: 套保品种名称
  5222. type: string
  5223. paramaftervalue:
  5224. description: 参数变更后(调整后参数值)
  5225. type: number
  5226. parambeforevalue:
  5227. description: 参数变更前(调整前参数值)
  5228. type: number
  5229. reckondate:
  5230. description: 交易日(reckondate)
  5231. type: string
  5232. tradedate:
  5233. description: 交易日(yyyyMMdd)
  5234. type: string
  5235. type: object
  5236. models.Ermcp3ExpourseReport:
  5237. properties:
  5238. accountid:
  5239. description: 期货账户ID (作废, 默认为0)
  5240. type: integer
  5241. accountname:
  5242. description: 机构名称
  5243. type: string
  5244. arbitrageqty:
  5245. description: 套利量
  5246. type: number
  5247. areauserid:
  5248. description: 所属机构\交易用户ID
  5249. type: integer
  5250. begindate:
  5251. description: 开始交易日
  5252. type: string
  5253. buyfutureqty:
  5254. description: 买入期货数量
  5255. type: number
  5256. buyplanqty:
  5257. description: 采购计划数量
  5258. type: number
  5259. buypricedqty:
  5260. description: 采购合同已定价数量
  5261. type: number
  5262. cycletime:
  5263. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5264. type: string
  5265. cycletype:
  5266. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5267. type: integer
  5268. diffexposure:
  5269. description: 变动量(套保敞口)
  5270. type: number
  5271. difffutuqty:
  5272. description: 变动量(期货)
  5273. type: number
  5274. diffhedgeqty:
  5275. description: 变动量(现货应套保总量)
  5276. type: number
  5277. diffmgqtya:
  5278. description: 套保变动量
  5279. type: number
  5280. diffmgqtyb:
  5281. description: 套利变动量
  5282. type: number
  5283. diffneedqty:
  5284. description: 应套变动量 = 应套保量 - 期初应套保量 + 应套利量 - 期初应套利量
  5285. type: number
  5286. diffqty:
  5287. description: 变动量(总敞口)
  5288. type: number
  5289. diffspotqty:
  5290. description: 变动量(现货) | 除税变动量
  5291. type: number
  5292. enddate:
  5293. description: 结束交易日
  5294. type: string
  5295. enumdicname:
  5296. description: 单位名称
  5297. type: string
  5298. hedgeqty:
  5299. description: 套保量
  5300. type: number
  5301. mgneedhedgeratio:
  5302. description: 套保比例(套保品的)
  5303. type: number
  5304. middlegoodsid:
  5305. description: 套保品种ID
  5306. type: integer
  5307. middlegoodsname:
  5308. description: 套保商品名称
  5309. type: string
  5310. middlgoodscode:
  5311. description: 套保商品代码
  5312. type: string
  5313. needarbitrageqty:
  5314. description: 应套利量
  5315. type: number
  5316. needarbitrageratio:
  5317. description: 套利比例(套保品的)
  5318. type: number
  5319. needhedgeexposoure:
  5320. description: 应套保敞口(套保敞口)
  5321. type: number
  5322. needhedgeqty:
  5323. description: 应套保量
  5324. type: number
  5325. needhedgeratio:
  5326. description: 应套保敞口比例
  5327. type: number
  5328. needqty:
  5329. description: 应套总量 = 应套保量 + 应套利量
  5330. type: number
  5331. oriarbitrageqty:
  5332. description: 期初套利量
  5333. type: number
  5334. oribuyfutureqty:
  5335. description: 期初买入期货数量
  5336. type: number
  5337. oribuyplanqty:
  5338. description: 期初采购计划数量
  5339. type: number
  5340. oribuypricedqty:
  5341. description: 期初采购合同已定价数量
  5342. type: number
  5343. orihedgeqty:
  5344. description: 期初套保量
  5345. type: number
  5346. orineedarbitrageqty:
  5347. description: 期初应套利量
  5348. type: number
  5349. orineedhedgeexposoure:
  5350. description: 期初应套保敞口
  5351. type: number
  5352. orineedhedgeqty:
  5353. description: 期初应套保量
  5354. type: number
  5355. orisellfutureqty:
  5356. description: 期初卖出期货数量
  5357. type: number
  5358. orisellplanqty:
  5359. description: 期初销售计划数量
  5360. type: number
  5361. orisellpricedqty:
  5362. description: 期初销售合同已定价数量
  5363. type: number
  5364. oritotalexposure:
  5365. description: 期初实时总敞口
  5366. type: number
  5367. oritotalfutureqty:
  5368. description: 期初期货头寸总量
  5369. type: number
  5370. oritotalneedhedgeqty:
  5371. description: 期初应套保总量
  5372. type: number
  5373. oritotalspotqty:
  5374. description: 期初现货头寸总量
  5375. type: number
  5376. reckondate:
  5377. description: 日照时期(yyyyMMdd)
  5378. type: string
  5379. sellfutureqty:
  5380. description: 卖出期货数量
  5381. type: number
  5382. sellplanqty:
  5383. description: 销售计划数量
  5384. type: number
  5385. sellpricedqty:
  5386. description: 销售合同已定价数量
  5387. type: number
  5388. totalexposure:
  5389. description: 实时总敞口(总敞口)
  5390. type: number
  5391. totalfutureqty:
  5392. description: 期货头寸总量(期货总量)
  5393. type: number
  5394. totalhedgeratio:
  5395. description: 敞口比例
  5396. type: number
  5397. totalneedhedgeqty:
  5398. description: 应套保总量(现货应套保总量)
  5399. type: number
  5400. totalspotqty:
  5401. description: 现货头寸总量 | 除税总量
  5402. type: number
  5403. unitid:
  5404. description: 单位id
  5405. type: integer
  5406. updatetime:
  5407. description: 更新时间
  5408. type: string
  5409. type: object
  5410. models.Ermcp3FinanceReport:
  5411. properties:
  5412. accountname:
  5413. description: 机构名称
  5414. type: string
  5415. areauserid:
  5416. description: 所属机构\交易用户ID
  5417. type: integer
  5418. begindate:
  5419. description: 开始交易日
  5420. type: string
  5421. biztype:
  5422. description: 业务类型 - 1:套保 2:套利
  5423. type: integer
  5424. brandname:
  5425. description: 品牌名称
  5426. type: string
  5427. buypreinvoicedamount:
  5428. description: 采购预收票额(预收票额)
  5429. type: number
  5430. buyprepaidamount:
  5431. description: 采购预付款额(预付货款额)
  5432. type: number
  5433. buytodayinvoiceamount:
  5434. description: 采购今收票额(今收票额)
  5435. type: number
  5436. buytodayrefundamount:
  5437. description: 采购今收退款额(今收退款额)
  5438. type: number
  5439. buytodaysettleamount:
  5440. description: 采购今付款额(今付货款额)
  5441. type: number
  5442. buyuninvoicedamount:
  5443. description: 采购应收票额(应收票额)
  5444. type: number
  5445. buyunpaidamount:
  5446. description: 采购应付款额(应付货款额)
  5447. type: number
  5448. currencyid:
  5449. description: 结算币种ID
  5450. type: integer
  5451. currencyname:
  5452. description: 币种名称
  5453. type: string
  5454. cycletime:
  5455. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5456. type: string
  5457. cycletype:
  5458. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5459. type: integer
  5460. deliverygoodscode:
  5461. description: 现货品种代码
  5462. type: string
  5463. deliverygoodsid:
  5464. description: 现货品种ID
  5465. type: integer
  5466. deliverygoodsname:
  5467. description: 现货品种名称
  5468. type: string
  5469. enddate:
  5470. description: 结束交易日
  5471. type: string
  5472. reckondate:
  5473. description: 日照时期(yyyyMMdd)
  5474. type: string
  5475. sellpreinvoicedamount:
  5476. description: 销售预开票额(预开票额)
  5477. type: number
  5478. sellprepaidamount:
  5479. description: 销售预收款额(预收货款额)
  5480. type: number
  5481. selltodayinvoiceamount:
  5482. description: 销售今开票额(今开票额)
  5483. type: number
  5484. selltodayrefundamount:
  5485. description: 销售今付退款额(今付退款额)
  5486. type: number
  5487. selltodaysettleamount:
  5488. description: 销售今收款额(今收货款额)
  5489. type: number
  5490. selluninvoicedamount:
  5491. description: 销售应开票额(应开票额)
  5492. type: number
  5493. sellunpaidamount:
  5494. description: 销售应收款额(应收货款额)
  5495. type: number
  5496. spotgoodsbrandid:
  5497. description: 现货品牌ID
  5498. type: integer
  5499. todaypaysum:
  5500. description: 今付款合计
  5501. type: number
  5502. todayreceivesum:
  5503. description: 今收款合计
  5504. type: number
  5505. updatetime:
  5506. description: 更新时间
  5507. type: string
  5508. wrfactortypeid:
  5509. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  5510. type: integer
  5511. wrstandardcode:
  5512. description: 品类代码
  5513. type: string
  5514. wrstandardid:
  5515. description: 现货商品ID
  5516. type: integer
  5517. wrstandardname:
  5518. description: 品类名称
  5519. type: string
  5520. type: object
  5521. models.Ermcp3GoodsGroup:
  5522. properties:
  5523. agreeunit:
  5524. description: 合约单位
  5525. type: number
  5526. areauserid:
  5527. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  5528. type: integer
  5529. canshort:
  5530. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  5531. type: integer
  5532. closepricemode:
  5533. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5534. type: integer
  5535. createtime:
  5536. description: 创建时间
  5537. type: string
  5538. creatorid:
  5539. description: 创建人
  5540. type: integer
  5541. currencyid:
  5542. description: 报价货币ID
  5543. type: integer
  5544. decimalplace:
  5545. description: 报价小数位
  5546. type: integer
  5547. enumdicname:
  5548. description: 单位名称
  5549. type: string
  5550. exchangefullname:
  5551. description: 交易所全称
  5552. type: string
  5553. excludecfg:
  5554. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  5555. type: integer
  5556. exexchangecode:
  5557. description: 交易所代码
  5558. type: string
  5559. exexchangeid:
  5560. description: 外部交易所ID[通道交易]
  5561. type: integer
  5562. exexchangename:
  5563. description: 交易所名称
  5564. type: string
  5565. goodsgroupid:
  5566. description: 商品组ID(自增ID)
  5567. type: integer
  5568. goodsgroupname:
  5569. description: 商品组名称
  5570. type: string
  5571. goodsgroupstatus:
  5572. description: 商品组状态 - 1:正常 2:注销
  5573. type: integer
  5574. goodunitid:
  5575. description: 报价单位ID
  5576. type: integer
  5577. groupcategroyid:
  5578. description: 品种分类ID
  5579. type: integer
  5580. innerdealmode:
  5581. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  5582. type: integer
  5583. marketid:
  5584. description: 所属市场ID
  5585. type: integer
  5586. modifierid:
  5587. description: 修改人
  5588. type: integer
  5589. modifytime:
  5590. description: 修改时间
  5591. type: string
  5592. outerdealmode:
  5593. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  5594. type: integer
  5595. outergroupcode:
  5596. description: 外部商品组代码[通道交易]
  5597. type: string
  5598. quoteminunit:
  5599. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5600. type: integer
  5601. quotesourcegroupid:
  5602. description: 所属行情源分组ID[参考行情市场用\通道交易]
  5603. type: integer
  5604. syncgoodsqty:
  5605. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  5606. type: integer
  5607. required:
  5608. - areauserid
  5609. type: object
  5610. models.Ermcp3HPMiddleGoods:
  5611. properties:
  5612. biztype:
  5613. description: 业务类型 1:套保 2:套利
  5614. type: integer
  5615. contracttype:
  5616. description: 合同类型 1:采购 -1:销售
  5617. type: integer
  5618. convertratio:
  5619. description: 折算系数
  5620. type: number
  5621. customername:
  5622. description: 对手手名称
  5623. type: string
  5624. customeruserid:
  5625. description: 对手id
  5626. type: integer
  5627. enumdicname:
  5628. description: 现货单位名称
  5629. type: string
  5630. hedgeplanid:
  5631. description: 计划id
  5632. type: string
  5633. hedgeplanno:
  5634. description: 计划编号
  5635. type: string
  5636. middlegoodsid:
  5637. description: 套保品种ID
  5638. type: integer
  5639. middlegoodsplanqty3:
  5640. description: 应套保计划量
  5641. type: number
  5642. needhedgeratio:
  5643. description: 套保比例
  5644. type: number
  5645. pricedqty:
  5646. description: 已定价量
  5647. type: number
  5648. relatedmiddlegoodsqty:
  5649. description: 已关联量(套保品种)(期货)
  5650. type: number
  5651. unitid:
  5652. description: 现货单位id
  5653. type: integer
  5654. userid:
  5655. description: 用户id
  5656. type: integer
  5657. vatrate:
  5658. description: 增值税率
  5659. type: number
  5660. wrstandardcode:
  5661. description: 现货商品代码
  5662. type: string
  5663. wrstandardid:
  5664. description: 现货商品id
  5665. type: integer
  5666. wrstandardname:
  5667. description: 现货商品名称
  5668. type: string
  5669. type: object
  5670. models.Ermcp3HedgePlan:
  5671. properties:
  5672. accountid:
  5673. description: 资金账号
  5674. type: integer
  5675. areauserid:
  5676. description: 用户ID
  5677. type: integer
  5678. auditid:
  5679. description: 审核id
  5680. type: integer
  5681. auditname:
  5682. description: 审核人名称
  5683. type: string
  5684. auditremark:
  5685. description: 审核备注
  5686. type: string
  5687. auditsrc:
  5688. description: 审核来源 1-管理端 2-终端
  5689. type: integer
  5690. audittime:
  5691. description: 审核时间
  5692. type: string
  5693. contracttype:
  5694. description: 计划类型 - 1:采购 -1:销售
  5695. type: integer
  5696. convertfactor:
  5697. description: 标仓系数
  5698. type: number
  5699. createtime:
  5700. description: 创建时间
  5701. type: string
  5702. currencyid:
  5703. description: 币种id
  5704. type: integer
  5705. currencyname:
  5706. description: 币种名称
  5707. type: string
  5708. deliverygoodscode:
  5709. description: 现货品种代码
  5710. type: string
  5711. deliverygoodsid:
  5712. description: 现货品种ID
  5713. type: integer
  5714. deliverygoodsname:
  5715. description: 现货品种名称
  5716. type: string
  5717. enumdicname:
  5718. description: 单位名称(现货商品)
  5719. type: string
  5720. hedgeplanid:
  5721. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  5722. type: string
  5723. hedgeplanno:
  5724. description: 套保计划编号(名称)
  5725. type: string
  5726. hedgeplanstatus:
  5727. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5728. type: integer
  5729. planqty:
  5730. description: 计划数量
  5731. type: number
  5732. plantime:
  5733. description: 计划时间
  5734. type: string
  5735. producttype:
  5736. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5737. type: integer
  5738. remark:
  5739. description: 备注
  5740. type: string
  5741. spotgoodsdesc:
  5742. description: 商品型号
  5743. type: string
  5744. taaccountname:
  5745. description: 资金账号名称
  5746. type: string
  5747. tradeuserid:
  5748. description: 交易用户id
  5749. type: integer
  5750. tradeusername:
  5751. description: 交易用户名称
  5752. type: string
  5753. unitid:
  5754. description: 单位id(现货商品)
  5755. type: integer
  5756. updatetime:
  5757. description: 更新时间
  5758. type: string
  5759. vatrate:
  5760. description: 增值税率
  5761. type: number
  5762. wrstandardcode:
  5763. description: 品类代码
  5764. type: string
  5765. wrstandardid:
  5766. description: 品类id
  5767. type: integer
  5768. wrstandardname:
  5769. description: 品类名称
  5770. type: string
  5771. wrunitid:
  5772. description: 品类单位id
  5773. type: integer
  5774. wrunitidame:
  5775. description: 品类单位名称
  5776. type: string
  5777. type: object
  5778. models.Ermcp3InnerTradeLink:
  5779. properties:
  5780. accountid:
  5781. description: 期货账号代码 | 资金账号ID
  5782. type: integer
  5783. buyorsell:
  5784. description: 方向 - 0:买 1:卖
  5785. type: integer
  5786. channelbuildtype:
  5787. description: 委托单据类型 0:无 1:建仓 2:平仓
  5788. type: integer
  5789. currencyid:
  5790. description: 币种id
  5791. type: integer
  5792. currencyname:
  5793. description: 结算币种 名称
  5794. type: string
  5795. goodscode:
  5796. description: 商品代码
  5797. type: string
  5798. goodsid:
  5799. description: 商品ID
  5800. type: integer
  5801. goodsname:
  5802. description: 商品名称
  5803. type: string
  5804. outtradeid:
  5805. description: 外部成交单号
  5806. type: string
  5807. taname:
  5808. description: 期货账户名称
  5809. type: string
  5810. tradeid:
  5811. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5812. type: string
  5813. tradeprice:
  5814. description: 成交价格
  5815. type: number
  5816. tradeqty:
  5817. description: 期货成交数量
  5818. type: integer
  5819. tradetime:
  5820. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  5821. type: string
  5822. username:
  5823. description: 用户名称
  5824. type: string
  5825. type: object
  5826. models.Ermcp3OutTradeLink:
  5827. properties:
  5828. buyorsell:
  5829. description: 买卖方向 - 0:买 1:卖
  5830. type: integer
  5831. channelbuildtype:
  5832. description: 开平标志- 0:无 1:建仓 2:平仓
  5833. type: integer
  5834. currencyname:
  5835. description: 币种名称
  5836. type: string
  5837. exexchangecode:
  5838. description: 交易所代码
  5839. type: string
  5840. exexchangename:
  5841. description: 交易所名称
  5842. type: string
  5843. goodscode:
  5844. description: 合约代码
  5845. type: string
  5846. goodsid:
  5847. description: 合约id
  5848. type: integer
  5849. goodsname:
  5850. description: 合约名称
  5851. type: string
  5852. hasinnerorder:
  5853. description: 是否有内部单关联 - 0:无 1:有
  5854. type: integer
  5855. hedgeaccountcode:
  5856. description: 外部账号 | 对冲账号
  5857. type: string
  5858. outtradeid:
  5859. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5860. type: string
  5861. tradeprice:
  5862. description: 成交价格
  5863. type: number
  5864. tradeqty:
  5865. description: 成交数量
  5866. type: integer
  5867. tradetime:
  5868. description: 成交时间
  5869. type: string
  5870. type: object
  5871. models.Ermcp3PaAreaAuditCfg:
  5872. properties:
  5873. areauserid:
  5874. description: 用户ID
  5875. type: integer
  5876. buyinauditflag:
  5877. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  5878. type: integer
  5879. costratioauditflag:
  5880. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  5881. type: integer
  5882. customerauditflag:
  5883. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  5884. type: integer
  5885. deliveryauditflag:
  5886. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  5887. type: integer
  5888. invoiceauditflag:
  5889. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  5890. type: integer
  5891. mgneedhedgeratioauditflag:
  5892. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  5893. type: integer
  5894. moneyauditflag:
  5895. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  5896. type: integer
  5897. operatorid:
  5898. description: 操作人
  5899. type: integer
  5900. operatorsrc:
  5901. description: 操作来源 - 1:管理端 2:终端
  5902. type: integer
  5903. pointpriceauditflag:
  5904. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  5905. type: integer
  5906. produceinauditflag:
  5907. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  5908. type: integer
  5909. produceoutauditflag:
  5910. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  5911. type: integer
  5912. selloutauditflag:
  5913. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  5914. type: integer
  5915. sgconvertratioauditflag:
  5916. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  5917. type: integer
  5918. sgvtaratioauditflag:
  5919. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  5920. type: integer
  5921. spotcontractauditflag:
  5922. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  5923. type: integer
  5924. updatetime:
  5925. description: 更新时间
  5926. type: string
  5927. type: object
  5928. models.Ermcp3PaAreaSubject:
  5929. properties:
  5930. areauserid:
  5931. description: 所属机构
  5932. type: integer
  5933. canmodify:
  5934. description: 是否可修改 - 0:否 1:是
  5935. type: integer
  5936. createtime:
  5937. description: 创建时间
  5938. type: string
  5939. creatorid:
  5940. description: 创建人ID
  5941. type: string
  5942. creatorsrc:
  5943. description: 创建人来源 - 1:管理端 2:终端 3:交易
  5944. type: integer
  5945. modifierid:
  5946. description: 修改人
  5947. type: string
  5948. modifiersrc:
  5949. description: 修改人来源 - 1:管理端 2:终端
  5950. type: integer
  5951. modifytime:
  5952. description: 修改时间
  5953. type: string
  5954. parentsubjectid:
  5955. description: 上级主体ID
  5956. type: string
  5957. remark:
  5958. description: 备注
  5959. type: string
  5960. subjectid:
  5961. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  5962. type: integer
  5963. subjectname:
  5964. description: 主体名称
  5965. type: string
  5966. subjectstatus:
  5967. description: '主体状态 - 1:正常 2: 停用'
  5968. type: integer
  5969. subjecttype:
  5970. description: 主体类型 - 1:交易主体 2:业务部门
  5971. type: integer
  5972. type: object
  5973. models.Ermcp3PaTradeLink:
  5974. properties:
  5975. accountid:
  5976. description: 期货账户代码 | 账号ID
  5977. type: integer
  5978. agreeunit:
  5979. description: 合约乘数
  5980. type: number
  5981. buyorsell:
  5982. description: 方向 - 0:买 1:卖
  5983. type: integer
  5984. channelbuildtype:
  5985. description: 委托单据类型 0:无 1:建仓 2:平仓
  5986. type: integer
  5987. charge:
  5988. description: 手续费
  5989. type: number
  5990. closepl:
  5991. description: 平仓盈亏
  5992. type: number
  5993. closetype:
  5994. description: 平仓方式 - 0:无 1:平今 2:平昨
  5995. type: integer
  5996. convertratio:
  5997. description: 折算系数
  5998. type: number
  5999. enumdicname:
  6000. description: 单位名称
  6001. type: string
  6002. executeprice:
  6003. description: 执行价 [期权]
  6004. type: integer
  6005. goodscode:
  6006. description: 合约代码
  6007. type: string
  6008. goodsgroupid:
  6009. description: 对冲品种ID[期货合约商品组ID]
  6010. type: integer
  6011. goodsid:
  6012. description: 商品ID
  6013. type: integer
  6014. goodsname:
  6015. description: 合约名称
  6016. type: string
  6017. goodunitid:
  6018. description: 单位id
  6019. type: integer
  6020. hedgeflag:
  6021. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  6022. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6023. type: integer
  6024. marketid:
  6025. description: 市场ID
  6026. type: integer
  6027. middlegoodsid:
  6028. description: 套保品种ID
  6029. type: integer
  6030. middlegoodsqty:
  6031. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  6032. type: number
  6033. optioncode:
  6034. description: 期权代码 [期权]
  6035. type: string
  6036. ordertype:
  6037. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  6038. type: integer
  6039. ordertypename:
  6040. description: 订单类型
  6041. type: string
  6042. parentaccountid:
  6043. description: 所属母账户
  6044. type: integer
  6045. premium:
  6046. description: 权利金 [期权]
  6047. type: number
  6048. relatedlot:
  6049. description: 已关联数量(已关联数量手) | db:关联手数
  6050. type: number
  6051. relatedouttradeid:
  6052. description: 关联外部成交单ID
  6053. type: string
  6054. relatedqty:
  6055. description: 关联数量
  6056. type: number
  6057. spotcontractid:
  6058. description: 现货合同ID [4:套期保值\10\11]
  6059. type: string
  6060. taname:
  6061. description: 期货账户名称
  6062. type: string
  6063. tradeamount:
  6064. description: 成交金额(账户)
  6065. type: number
  6066. tradedate:
  6067. description: 交易日(yyyyMMdd)
  6068. type: string
  6069. tradeid:
  6070. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  6071. type: string
  6072. tradelot:
  6073. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  6074. type: integer
  6075. tradeprice:
  6076. description: 成交价格
  6077. type: number
  6078. tradetime:
  6079. description: 时间 | db:成交时间
  6080. type: string
  6081. tradetype:
  6082. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  6083. type: integer
  6084. userid:
  6085. description: 所属机构 - 所属母账户的UserID
  6086. type: string
  6087. username:
  6088. description: 用户名称
  6089. type: string
  6090. type: object
  6091. models.Ermcp3ParamChangeApp:
  6092. properties:
  6093. aftervalue:
  6094. description: 变更后
  6095. type: number
  6096. applicationid:
  6097. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  6098. type: string
  6099. applyid:
  6100. description: 申请人
  6101. type: string
  6102. applyname:
  6103. description: 申请人名称(代码)
  6104. type: string
  6105. applyremark:
  6106. description: 申请备注
  6107. type: string
  6108. applysrc:
  6109. description: 申请来源 - 1:管理端 2:终端
  6110. type: integer
  6111. applystatus:
  6112. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  6113. type: integer
  6114. applytime:
  6115. description: 申请时间
  6116. type: string
  6117. areauserid:
  6118. description: 所属机构用户ID
  6119. type: integer
  6120. auditid:
  6121. description: 审核人
  6122. type: string
  6123. auditname:
  6124. description: 审核人名称(代码)
  6125. type: string
  6126. auditremark:
  6127. description: 审核备注
  6128. type: string
  6129. auditsrc:
  6130. description: 审核来源 - 1:管理端 2:终端
  6131. type: integer
  6132. audittime:
  6133. description: 审核时间
  6134. type: string
  6135. audittradedate:
  6136. description: 审核交易日(yyyyMMdd)
  6137. type: string
  6138. beforevalue:
  6139. description: 变更前
  6140. type: number
  6141. deliverygoodscode:
  6142. description: 品种代码
  6143. type: string
  6144. deliverygoodsid:
  6145. description: 品种id
  6146. type: integer
  6147. deliverygoodsname:
  6148. description: 品种名称
  6149. type: string
  6150. middlegoodscode:
  6151. description: 套保品种代码
  6152. type: string
  6153. middlegoodsid:
  6154. description: 套保品种ID [ParamChangeType = 2,3,4]
  6155. type: integer
  6156. middlegoodsname:
  6157. description: 套保品种名称
  6158. type: string
  6159. operatetype:
  6160. description: 操作类型 - 1:新增 2:修改
  6161. type: integer
  6162. paramchangetype:
  6163. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  6164. type: integer
  6165. wrstandardcode:
  6166. description: 现货商品代码
  6167. type: string
  6168. wrstandardid:
  6169. description: 现货商品ID [ParamChangeType = 1,2,3]
  6170. type: integer
  6171. wrstandardname:
  6172. description: 现货商品名称
  6173. type: string
  6174. type: object
  6175. models.Ermcp3RootUserAccount:
  6176. properties:
  6177. accountname:
  6178. description: 账户名称(机构名称)
  6179. type: string
  6180. accountstatus:
  6181. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6182. type: integer
  6183. applysrc:
  6184. description: 申请来源 - 1:管理端 2:终端
  6185. type: integer
  6186. auditremark:
  6187. description: 审核备注
  6188. type: string
  6189. auditsrc:
  6190. description: 审核来源 - 1:管理端 2:终端
  6191. type: integer
  6192. audittime:
  6193. description: 审核时间
  6194. type: string
  6195. audituserid:
  6196. description: 审核人
  6197. type: integer
  6198. broker:
  6199. description: 所属经纪人ID
  6200. type: integer
  6201. canceltime:
  6202. description: 销户时间
  6203. type: string
  6204. canceluserid:
  6205. description: 销户人
  6206. type: integer
  6207. canrecommend:
  6208. description: 是否可推荐 - 0:不可 1;可
  6209. type: integer
  6210. createtime:
  6211. description: 创建时间
  6212. type: string
  6213. creatorid:
  6214. description: 创建人
  6215. type: integer
  6216. hasauth:
  6217. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  6218. type: integer
  6219. isanonymous:
  6220. description: 是否匿名下单 - 0:否 1:是
  6221. type: integer
  6222. maxinvestornum:
  6223. description: 最大用户数(经纪会员下投资者个数)
  6224. type: integer
  6225. memberuserid:
  6226. description: 所属会员ID
  6227. type: integer
  6228. modifierid:
  6229. description: 修改人
  6230. type: integer
  6231. modifyremark:
  6232. description: 变更备注
  6233. type: string
  6234. modifystatus:
  6235. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  6236. type: integer
  6237. modifytime:
  6238. description: 修改时间
  6239. type: string
  6240. nickname:
  6241. description: 昵称
  6242. type: string
  6243. parenttopuser:
  6244. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  6245. type: string
  6246. parentuserid:
  6247. description: 所属机构ID
  6248. type: integer
  6249. reckonaccountid:
  6250. description: 默认结算资金账号ID(机构分润使用) 作废
  6251. type: integer
  6252. refercount:
  6253. description: 推荐总人数
  6254. type: integer
  6255. refereeuserid:
  6256. description: 推荐人ID
  6257. type: integer
  6258. refernum:
  6259. description: 推荐码
  6260. type: string
  6261. rootuserid:
  6262. description: 根用户ID
  6263. type: integer
  6264. subaccountlevel:
  6265. description: 子账户层数
  6266. type: integer
  6267. subarealevelpath:
  6268. description: 子机构层级路径(逗号分隔,首尾加逗号)
  6269. type: string
  6270. userid:
  6271. description: 用户ID
  6272. type: integer
  6273. usertype:
  6274. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6275. type: integer
  6276. type: object
  6277. models.Ermcp3SCMiddleGoods:
  6278. properties:
  6279. biztype:
  6280. description: 业务类型 1:套保 2:套利
  6281. type: integer
  6282. contractno:
  6283. description: 合同编号
  6284. type: string
  6285. contracttype:
  6286. description: 合同类型 1:采购 -1:销售
  6287. type: integer
  6288. convertratio:
  6289. description: 折算系数
  6290. type: number
  6291. customername:
  6292. description: 对手手名称
  6293. type: string
  6294. customeruserid:
  6295. description: 对手id
  6296. type: integer
  6297. deliverygoodscode:
  6298. description: 现货品种代码
  6299. type: string
  6300. deliverygoodsid:
  6301. description: 现货品种ID
  6302. type: integer
  6303. deliverygoodsname:
  6304. description: 现货品种名称
  6305. type: string
  6306. enumdicname:
  6307. description: 现货单位名称
  6308. type: string
  6309. middlegoodsid:
  6310. description: 套保品种ID
  6311. type: integer
  6312. middlegoodspricedqty3:
  6313. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  6314. type: number
  6315. needhedgeratio:
  6316. description: 套保比例
  6317. type: number
  6318. pricedqty:
  6319. description: 已定价量
  6320. type: number
  6321. relatedmiddlegoodsqty:
  6322. description: 已关联量(套保品种)(期货)
  6323. type: number
  6324. spotcontractid:
  6325. description: 合同编号
  6326. type: string
  6327. unitid:
  6328. description: 现货单位id
  6329. type: integer
  6330. userid:
  6331. description: 用户id
  6332. type: integer
  6333. vatrate:
  6334. description: 增值税率
  6335. type: number
  6336. wrstandardcode:
  6337. description: 现货商品代码
  6338. type: string
  6339. wrstandardid:
  6340. description: 现货商品id
  6341. type: integer
  6342. wrstandardname:
  6343. description: 现货商品名称
  6344. type: string
  6345. type: object
  6346. models.Ermcp3SCMiddleGoodsReport:
  6347. properties:
  6348. begindate:
  6349. description: 开始交易日
  6350. type: string
  6351. contractno:
  6352. description: 合同编号
  6353. type: string
  6354. contracttype:
  6355. description: 合同类型 1:采购 -1:销售
  6356. type: integer
  6357. convertratio:
  6358. description: 折算系数
  6359. type: number
  6360. cycletime:
  6361. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6362. type: string
  6363. cycletype:
  6364. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6365. type: integer
  6366. deliverygoodscode:
  6367. description: 品种代码
  6368. type: string
  6369. deliverygoodsid:
  6370. description: 现货品种ID
  6371. type: integer
  6372. deliverygoodsname:
  6373. description: 品种名称
  6374. type: string
  6375. diffprice:
  6376. description: 现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价
  6377. type: number
  6378. diffqty:
  6379. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  6380. type: number
  6381. enddate:
  6382. description: 结束交易日
  6383. type: string
  6384. hedgeplanqty:
  6385. description: 套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例
  6386. type: number
  6387. matchname:
  6388. description: 交易对手方(个人:用户名称 企业:简称)
  6389. type: string
  6390. matchnickname:
  6391. description: 交易对手方昵称
  6392. type: string
  6393. middlegoodscode:
  6394. description: 套保品种代码
  6395. type: string
  6396. middlegoodsid:
  6397. description: 套保品种ID
  6398. type: integer
  6399. middlegoodsname:
  6400. description: 套保品种名称
  6401. type: string
  6402. middlegoodspricedqty:
  6403. description: 已定价量(套保品种 - 税前) = PricedQty * 折算系数
  6404. type: number
  6405. middlegoodspricedqty2:
  6406. description: 已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))
  6407. type: number
  6408. middlegoodspricedqty3:
  6409. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  6410. type: number
  6411. needhedgeratio:
  6412. description: 套保系数
  6413. type: number
  6414. pricedamount:
  6415. description: 已定价额(现货)
  6416. type: number
  6417. pricedamount2:
  6418. description: 已定价额(现货-基价额)
  6419. type: number
  6420. pricedqty:
  6421. description: 已定价量(现货)
  6422. type: number
  6423. reckondate:
  6424. description: 日照时期(yyyyMMdd)
  6425. type: string
  6426. relatedmiddlegoodsamount:
  6427. description: 已关联额(期货)
  6428. type: number
  6429. relatedmiddlegoodsqty:
  6430. description: 已关联量(套保品种)(期货)
  6431. type: number
  6432. spotcontractid:
  6433. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  6434. type: string
  6435. todayavgfutuprice:
  6436. description: 今日期货成交均价 = TodayRelatedMiddleGoodsAmount /todayrelatedfutureqty
  6437. type: number
  6438. todayavgprice:
  6439. description: 今日定价均价 = TodayPricedAmount / TodayPricedQty
  6440. type: number
  6441. todayavgprice2:
  6442. description: 今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty
  6443. type: number
  6444. todaypricedamount:
  6445. description: 今日定价额(现货)
  6446. type: number
  6447. todaypricedamount2:
  6448. description: 今日定价额(现货-基价额)
  6449. type: number
  6450. todaypricedqty:
  6451. description: 今日定价量(现货)
  6452. type: number
  6453. todayrelatedfutureqty:
  6454. description: 今日关联量(期货)
  6455. type: number
  6456. todayrelatedmiddlegoodsamount:
  6457. description: 今日关联额(期货)
  6458. type: number
  6459. todayrelatedmiddlegoodsqty:
  6460. description: 今日关联量(套保品-期货)
  6461. type: number
  6462. updatetime:
  6463. description: 更新时间
  6464. type: string
  6465. userid:
  6466. description: 合同所属用户id
  6467. type: integer
  6468. vatrate:
  6469. description: 增值税率
  6470. type: number
  6471. wrstandardcode:
  6472. description: 商品(品类) 代码
  6473. type: string
  6474. wrstandardid:
  6475. description: 现货商品ID
  6476. type: integer
  6477. wrstandardname:
  6478. description: 商品(品类) 名称
  6479. type: string
  6480. type: object
  6481. models.Ermcp3SellBuyContract:
  6482. properties:
  6483. accountid:
  6484. description: 期货账户id
  6485. type: string
  6486. accountname:
  6487. description: 账户名称
  6488. type: string
  6489. attachment:
  6490. description: 附件
  6491. type: string
  6492. audittime:
  6493. description: 审核时间
  6494. type: string
  6495. bizsubjectid:
  6496. description: 归属业务部门ID - SubjectID
  6497. type: integer
  6498. biztype:
  6499. description: 业务类型 1-套保 2-套利
  6500. type: integer
  6501. brandname:
  6502. description: 品牌名称
  6503. type: string
  6504. contracctstatus:
  6505. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6506. type: integer
  6507. contractmargin:
  6508. description: 合同保证金
  6509. type: number
  6510. contractno:
  6511. description: 合同编号
  6512. type: string
  6513. contracttype:
  6514. description: 合同类型 1-采购, -1-销售
  6515. type: integer
  6516. convertfactor:
  6517. description: 标仓系数(品类)
  6518. type: number
  6519. createtime:
  6520. description: 创建时间
  6521. type: string
  6522. currencyid:
  6523. description: 币种id
  6524. type: integer
  6525. currencyname:
  6526. description: 币种名称
  6527. type: string
  6528. daikaiamount:
  6529. description: 应收(开)票额 | 未收票额
  6530. type: number
  6531. deliveryenddate:
  6532. description: 交割结束日
  6533. type: string
  6534. deliverygoodscode:
  6535. description: 现货品种代码
  6536. type: string
  6537. deliverygoodsid:
  6538. description: 现货商品ID
  6539. type: integer
  6540. deliverygoodsname:
  6541. description: 现货品种名称
  6542. type: string
  6543. deliverystartdate:
  6544. description: 交割开始日
  6545. type: string
  6546. enddate:
  6547. description: 点价结束日
  6548. type: string
  6549. enumdicname:
  6550. description: 单位名称
  6551. type: string
  6552. goodscode:
  6553. description: 点价商品代码
  6554. type: string
  6555. goodsgroupid:
  6556. description: 点价商品组id
  6557. type: integer
  6558. goodsid:
  6559. description: 点价商品ID
  6560. type: integer
  6561. goodsname:
  6562. description: 点价商品名称
  6563. type: string
  6564. invoiceamount:
  6565. description: 已开票额
  6566. type: number
  6567. loanamount:
  6568. description: 贷款总额=已定价额+调整金额
  6569. type: number
  6570. margin:
  6571. description: 保证金
  6572. type: number
  6573. meruserid:
  6574. description: 跟单员id
  6575. type: integer
  6576. meruserlogincode:
  6577. description: 跟单员登录代码
  6578. type: string
  6579. merusername:
  6580. description: 跟单员名称
  6581. type: string
  6582. nickname:
  6583. description: 账户昵称
  6584. type: string
  6585. orireckonrealqty:
  6586. description: 应交收量
  6587. type: number
  6588. payamount:
  6589. description: 已收付额(收款或付款)
  6590. type: number
  6591. preinvoiceamount:
  6592. description: 预收(开)票额
  6593. type: number
  6594. prepayamount:
  6595. description: 预收付额
  6596. type: number
  6597. price:
  6598. description: 价格
  6599. type: number
  6600. pricedamount:
  6601. description: 已定价额
  6602. type: number
  6603. pricedavg:
  6604. description: 已点均价
  6605. type: number
  6606. pricedqty:
  6607. description: 已定价量
  6608. type: number
  6609. pricemove:
  6610. description: 升贴水
  6611. type: number
  6612. pricetype:
  6613. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  6614. type: integer
  6615. producttype:
  6616. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6617. type: integer
  6618. qty:
  6619. description: 合同量
  6620. type: number
  6621. reckonadjustamount:
  6622. description: 调整金额
  6623. type: number
  6624. reckonedamount:
  6625. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  6626. type: number
  6627. reckonotheramount:
  6628. description: 其它费用
  6629. type: number
  6630. reckonrealqty:
  6631. description: 已交收量
  6632. type: number
  6633. remark:
  6634. description: 备注
  6635. type: string
  6636. saleuserid:
  6637. description: 业务员id
  6638. type: integer
  6639. saleuserlogincode:
  6640. description: 业务员登录代码
  6641. type: string
  6642. saleusername:
  6643. description: 业务员名称
  6644. type: string
  6645. spotcontractid:
  6646. description: 合同ID
  6647. type: string
  6648. spotgoodsbrandid:
  6649. description: 现货品牌ID(DGFactoryItem表的ID)
  6650. type: integer
  6651. spotgoodsdesc:
  6652. description: 商品型号(商品规格)
  6653. type: string
  6654. startdate:
  6655. description: 点价开始日
  6656. type: string
  6657. subjectid:
  6658. description: 交易主体ID
  6659. type: integer
  6660. subjectname:
  6661. description: 交易主体名称
  6662. type: string
  6663. totalamount:
  6664. description: 合计总额
  6665. type: number
  6666. tradeuserid:
  6667. description: 交易员id
  6668. type: integer
  6669. tradeuserlogincode:
  6670. description: 交易员登录代码
  6671. type: string
  6672. tradeusername:
  6673. description: 交易员名称
  6674. type: string
  6675. unpayamount:
  6676. description: 应收付款额(应支付或应收款) | 未付款额
  6677. type: number
  6678. unpricedqty:
  6679. description: 未定价量
  6680. type: number
  6681. unsureqty:
  6682. description: 未确定量 | 未交收量
  6683. type: number
  6684. userid:
  6685. description: 机构ID
  6686. type: integer
  6687. vatrate:
  6688. description: 增值税率
  6689. type: number
  6690. wrstandardcode:
  6691. description: 品类代码
  6692. type: string
  6693. wrstandardid:
  6694. description: 品类ID
  6695. type: integer
  6696. wrstandardname:
  6697. description: 品类名称
  6698. type: string
  6699. type: object
  6700. models.Ermcp3SpotGoodsPrice:
  6701. properties:
  6702. areauserid:
  6703. description: 所属机构id
  6704. type: integer
  6705. brandname:
  6706. description: 品牌名称
  6707. type: string
  6708. currencyid:
  6709. description: 报价货币ID
  6710. type: integer
  6711. currencyname:
  6712. description: 币种名称
  6713. type: string
  6714. deliverygoodscode:
  6715. description: 现货商品代码
  6716. type: string
  6717. deliverygoodsid:
  6718. description: 现货商品id
  6719. type: integer
  6720. deliverygoodsname:
  6721. description: 现货商品名称
  6722. type: string
  6723. enumdicname:
  6724. description: 现货商品单位名称
  6725. type: string
  6726. gbenumdicname:
  6727. description: 品类单位名称
  6728. type: string
  6729. gmunitid:
  6730. description: 品类单位id
  6731. type: integer
  6732. isvalid:
  6733. description: 是否有效 - 0:无效 1:有效
  6734. type: integer
  6735. operateid:
  6736. description: 最后操作人
  6737. type: integer
  6738. operatesrc:
  6739. description: 最后操作来源 - 1:管理端 2:终端
  6740. type: integer
  6741. operatetime:
  6742. description: 最后操作时间
  6743. type: string
  6744. operatorname:
  6745. description: 操作人名称
  6746. type: string
  6747. spotgoodsbrandid:
  6748. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6749. type: integer
  6750. spotgoodsprice:
  6751. description: 现货价格
  6752. type: number
  6753. tradedate:
  6754. description: 交易日(yyyyMMdd)
  6755. type: string
  6756. unitid:
  6757. description: 现货商品单位id
  6758. type: integer
  6759. wrstandardcode:
  6760. description: 品类代码
  6761. type: string
  6762. wrstandardid:
  6763. description: 现货品类ID(通用则为0)
  6764. type: integer
  6765. wrstandardname:
  6766. description: 品类名称
  6767. type: string
  6768. type: object
  6769. models.Ermcp3SpotGoodsPriceLog:
  6770. properties:
  6771. areauserid:
  6772. description: 所属机构id
  6773. type: integer
  6774. brandname:
  6775. description: 品牌名称
  6776. type: string
  6777. currencyid:
  6778. description: 报价货币ID
  6779. type: integer
  6780. deliverygoodscode:
  6781. description: 现货商品代码
  6782. type: string
  6783. deliverygoodsid:
  6784. description: 现货商品id
  6785. type: integer
  6786. deliverygoodsname:
  6787. description: 现货商品名称
  6788. type: string
  6789. enumdicname:
  6790. description: 现货商品单位名称
  6791. type: string
  6792. gbenumdicname:
  6793. description: 品类单位名称
  6794. type: string
  6795. gmunitid:
  6796. description: 品类单位id
  6797. type: integer
  6798. logid:
  6799. description: 日志id
  6800. type: integer
  6801. operateid:
  6802. description: 最后操作人
  6803. type: integer
  6804. operatesrc:
  6805. description: 最后操作来源 - 1:管理端 2:终端
  6806. type: integer
  6807. operatetime:
  6808. description: 最后操作时间
  6809. type: string
  6810. operatorname:
  6811. description: 操作人名称
  6812. type: string
  6813. spotgoodsbrandid:
  6814. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6815. type: integer
  6816. spotgoodsprice:
  6817. description: 现货价格
  6818. type: number
  6819. tradedate:
  6820. description: 交易日(yyyyMMdd)
  6821. type: string
  6822. unitid:
  6823. description: 现货商品单位id
  6824. type: integer
  6825. wrstandardcode:
  6826. description: 品类代码
  6827. type: string
  6828. wrstandardid:
  6829. description: 现货品类ID(通用则为0)
  6830. type: integer
  6831. wrstandardname:
  6832. description: 品类名称
  6833. type: string
  6834. type: object
  6835. models.Ermcp3SubTaaccount:
  6836. properties:
  6837. accountid:
  6838. description: 资金账户ID
  6839. type: integer
  6840. parentaccountcode:
  6841. description: 所属根账号代码(母账号代码)
  6842. type: string
  6843. parentaccountid:
  6844. description: 所属根账号(母账号)
  6845. type: integer
  6846. taname:
  6847. description: 资金账号名称
  6848. type: string
  6849. tradestatus:
  6850. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  6851. type: integer
  6852. username:
  6853. description: 交易用户
  6854. type: string
  6855. type: object
  6856. models.Ermcp3TaFutuReDataReport:
  6857. properties:
  6858. accountid:
  6859. description: 交易账户
  6860. type: integer
  6861. accountname:
  6862. description: 交易账号名称
  6863. type: string
  6864. agreeunit:
  6865. description: 商品合约单位
  6866. type: number
  6867. begindate:
  6868. description: 开始交易日
  6869. type: string
  6870. buyorsell:
  6871. description: 持仓方向
  6872. type: integer
  6873. charge:
  6874. description: 手续费
  6875. type: number
  6876. closeavgprice:
  6877. description: 平仓均价
  6878. type: number
  6879. closepl:
  6880. description: 平仓损益
  6881. type: number
  6882. currencyid:
  6883. description: 结算币种ID
  6884. type: integer
  6885. currencyname:
  6886. description: 币种名称
  6887. type: string
  6888. cycletime:
  6889. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6890. type: string
  6891. cycletype:
  6892. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6893. type: integer
  6894. enddate:
  6895. description: 结束交易日
  6896. type: string
  6897. enumdicname:
  6898. description: 单位名称
  6899. type: string
  6900. floatpl:
  6901. description: 浮动损益
  6902. type: number
  6903. goodscode:
  6904. description: 交易合约代码
  6905. type: string
  6906. goodsgroupid:
  6907. description: 交易品种
  6908. type: integer
  6909. goodsgroupname:
  6910. description: 交易品种名称
  6911. type: string
  6912. goodsgroupspotqty:
  6913. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  6914. type: number
  6915. goodsid:
  6916. description: 交易合约
  6917. type: integer
  6918. goodsname:
  6919. description: 交易合约名称
  6920. type: string
  6921. goodunitid:
  6922. description: 交易合约单位id
  6923. type: integer
  6924. holdamount:
  6925. description: 期末持仓额
  6926. type: number
  6927. holdqty:
  6928. description: 期末持仓量
  6929. type: number
  6930. lastholdamount:
  6931. description: 当前持仓额
  6932. type: number
  6933. lastprice:
  6934. description: 最新价
  6935. type: number
  6936. middlegoodsid:
  6937. description: 套保品种id
  6938. type: integer
  6939. middlegoodsname:
  6940. description: 套保商品名称
  6941. type: string
  6942. middlegoodsqty:
  6943. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  6944. type: number
  6945. middlgoodscode:
  6946. description: 套保商品代码
  6947. type: string
  6948. openamount:
  6949. description: 期末开仓额
  6950. type: number
  6951. openavgprice:
  6952. description: 开仓均价
  6953. type: number
  6954. oriholdamount:
  6955. description: 期初持仓额
  6956. type: number
  6957. oriholdqty:
  6958. description: 期初持仓量
  6959. type: number
  6960. oriopenamount:
  6961. description: 期初开仓额
  6962. type: number
  6963. outergroupcode:
  6964. description: 交易品种代码
  6965. type: string
  6966. qtydecimalplace:
  6967. description: 成交量小数位
  6968. type: integer
  6969. reckondate:
  6970. description: 日照时期(yyyyMMdd)
  6971. type: string
  6972. reckonholdamount:
  6973. description: 结算持仓额
  6974. type: number
  6975. reckonpl:
  6976. description: 结算损益
  6977. type: number
  6978. reckonpl2:
  6979. description: 结算逐笔盈亏
  6980. type: number
  6981. reckonprice:
  6982. description: 结算价
  6983. type: number
  6984. relateduserid:
  6985. description: 账户关联用户ID
  6986. type: integer
  6987. todaycloseamount:
  6988. description: 今平仓额
  6989. type: number
  6990. todaycloseqty:
  6991. description: 今平仓量
  6992. type: number
  6993. todaygoodsgroupspotqty:
  6994. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  6995. type: number
  6996. todaymiddlegoodsqty:
  6997. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  6998. type: number
  6999. todayopenamount:
  7000. description: 今开仓额
  7001. type: number
  7002. todayopenqty:
  7003. description: 今开仓量
  7004. type: number
  7005. userid:
  7006. description: 账户所属用户ID
  7007. type: integer
  7008. type: object
  7009. models.Ermcp3TradeLinkDetail:
  7010. properties:
  7011. accountid:
  7012. description: 资金账号
  7013. type: integer
  7014. agreeunit:
  7015. description: 合约乘数
  7016. type: number
  7017. areauserid:
  7018. description: 所属机构
  7019. type: string
  7020. bizsubjectid:
  7021. description: 归属业务部门ID - SubjectID
  7022. type: string
  7023. buyorsell:
  7024. description: 方向 - 0:买 1:卖
  7025. type: integer
  7026. channelbuildtype:
  7027. description: 委托单据类型 0:无 1:建仓 2:平仓
  7028. type: integer
  7029. contractno:
  7030. description: 现货编号 (合同编号)
  7031. type: string
  7032. convertratio:
  7033. description: 折算系数
  7034. type: number
  7035. createtime:
  7036. description: 关联时间 | 创建时间
  7037. type: string
  7038. creatorid:
  7039. description: 创建人ID
  7040. type: string
  7041. creatorsrc:
  7042. description: 创建人来源 - 1:管理端 2:终端 3:交易
  7043. type: integer
  7044. enumdicname:
  7045. description: 单位名称
  7046. type: string
  7047. goodscode:
  7048. description: 合约代码
  7049. type: string
  7050. goodsgroupid:
  7051. description: 对冲品种ID[期货合约商品组ID]
  7052. type: integer
  7053. goodsid:
  7054. description: 商品ID
  7055. type: integer
  7056. goodsname:
  7057. description: 合约名称
  7058. type: string
  7059. hedgeflag:
  7060. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安)
  7061. 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  7062. type: integer
  7063. linkdetailid:
  7064. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  7065. type: string
  7066. linkstatus:
  7067. description: 关联状态 - 1:成功 2:失败 3:解绑
  7068. type: integer
  7069. middlegoodscode:
  7070. description: 套保品种代码
  7071. type: string
  7072. middlegoodsid:
  7073. description: 套保品种ID
  7074. type: integer
  7075. middlegoodsname:
  7076. description: 套保品种名称
  7077. type: string
  7078. relatedlot:
  7079. description: 关联手数
  7080. type: number
  7081. relatedmode:
  7082. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  7083. type: integer
  7084. relatedqty:
  7085. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  7086. type: number
  7087. retcode:
  7088. description: 返回码
  7089. type: integer
  7090. saleuserid:
  7091. description: 业务员ID
  7092. type: string
  7093. spotcontractid:
  7094. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  7095. type: string
  7096. taname:
  7097. description: 期货账户
  7098. type: string
  7099. tradedate:
  7100. description: 关联交易日(yyyyMMdd)
  7101. type: string
  7102. tradeid:
  7103. description: 期货订单号 | 内部成交单ID
  7104. type: string
  7105. tradelot:
  7106. description: 成交数量 | 成交手数
  7107. type: integer
  7108. tradeprice:
  7109. description: 成交价格
  7110. type: number
  7111. tradetime:
  7112. description: 期货成交时间
  7113. type: string
  7114. tradetradedate:
  7115. description: 成交交易日(yyyyMMdd)
  7116. type: string
  7117. username:
  7118. description: 用户名称
  7119. type: string
  7120. type: object
  7121. models.Ermcp3Wrstandard:
  7122. properties:
  7123. areauserid:
  7124. description: 所属机构
  7125. type: integer
  7126. cantrade:
  7127. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  7128. type: integer
  7129. convertfactor:
  7130. description: 标仓系数
  7131. type: number
  7132. createtime:
  7133. description: 创建时间
  7134. type: string
  7135. creatorid:
  7136. description: 创建人
  7137. type: integer
  7138. deliverygoodsid:
  7139. description: 现货品种ID
  7140. type: integer
  7141. enumdicname:
  7142. description: 品类单位名称
  7143. type: string
  7144. isvalid:
  7145. description: 是否有效 0-无效(停用) 1-有效(正常)
  7146. type: integer
  7147. minivalue:
  7148. description: 最小变动值
  7149. type: integer
  7150. minivaluedp:
  7151. description: 最小变动值小数位
  7152. type: integer
  7153. realminivalue:
  7154. description: 实际最小变动值
  7155. type: integer
  7156. realminivaluedp:
  7157. description: 实际最小变动值小数位
  7158. type: integer
  7159. remark:
  7160. description: 备注
  7161. type: string
  7162. unitid:
  7163. description: 品类单位ID
  7164. type: integer
  7165. updatetime:
  7166. description: 更新时间
  7167. type: string
  7168. wrstandardcode:
  7169. description: 品类代码
  7170. type: string
  7171. wrstandardid:
  7172. description: 品类ID(SEQ_WRSTANDARD)
  7173. type: integer
  7174. wrstandardname:
  7175. description: 品类名称
  7176. type: string
  7177. type: object
  7178. models.ErmcpBizGroupEx:
  7179. properties:
  7180. acclist:
  7181. description: 账号列表
  7182. items:
  7183. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  7184. type: array
  7185. bizgroupid:
  7186. description: 业务分组id
  7187. type: integer
  7188. biztype:
  7189. description: 业务类型 1-套保 2-套利
  7190. type: integer
  7191. wrlist:
  7192. description: 现货商品表
  7193. items:
  7194. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  7195. type: array
  7196. type: object
  7197. models.ErmcpBizGroupSpotGoods:
  7198. properties:
  7199. areauserid:
  7200. description: 所属机构id
  7201. type: integer
  7202. bizgroupid:
  7203. description: 分组id
  7204. type: integer
  7205. biztype:
  7206. description: 业务类型 1-套保 2-套利
  7207. type: integer
  7208. deliverygoodscode:
  7209. description: 现货商品代码
  7210. type: string
  7211. deliverygoodsid:
  7212. description: 现货商品id
  7213. type: integer
  7214. deliverygoodsname:
  7215. description: 现货商品名称
  7216. type: string
  7217. unitid:
  7218. description: 现货商品单位id
  7219. type: integer
  7220. type: object
  7221. models.ErmcpBizGroupTaAccount:
  7222. properties:
  7223. accountid:
  7224. description: 账号id
  7225. type: integer
  7226. accountname:
  7227. description: 账号名称
  7228. type: string
  7229. areauserid:
  7230. description: 所属机构id
  7231. type: integer
  7232. bizgroupid:
  7233. description: 业务分组id
  7234. type: integer
  7235. ismain:
  7236. description: 是否主账号 1-是 0-否
  7237. type: integer
  7238. type: object
  7239. models.ErmcpDGFactoryItem:
  7240. properties:
  7241. areauserid:
  7242. description: 用户id
  7243. type: integer
  7244. deliverygoodsid:
  7245. description: 现货品种ID
  7246. type: integer
  7247. dgfactoryitemid:
  7248. description: 选择项ID(SEQ_DGFACTORYITEM)
  7249. type: integer
  7250. dgfactoryitemtypeid:
  7251. description: 要素项类型
  7252. type: integer
  7253. dgfactoryitemvalue:
  7254. description: 要素项值(类型为仓库时填写仓库名称)
  7255. type: string
  7256. isvalid:
  7257. description: 是否有效 - 0:无效 1:有效
  7258. type: integer
  7259. orderindex:
  7260. description: 顺序
  7261. type: integer
  7262. warehouseid:
  7263. description: 仓库ID(类型为仓库时填写)
  7264. type: integer
  7265. type: object
  7266. models.ErmcpDeliveryGoods:
  7267. properties:
  7268. agreeunit:
  7269. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  7270. type: integer
  7271. areauserid:
  7272. description: 所属机构
  7273. type: integer
  7274. auditflag:
  7275. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  7276. type: integer
  7277. categoryid:
  7278. description: 类别ID(SEQ_WRCATEGORY)
  7279. type: integer
  7280. deliverygoodscode:
  7281. description: 现货品种代码
  7282. type: string
  7283. deliverygoodsid:
  7284. description: 现货品种ID(SEQ_DELIVERYGOODS)
  7285. type: integer
  7286. deliverygoodsname:
  7287. description: 现货品种名称
  7288. type: string
  7289. deliverygoodstype:
  7290. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  7291. type: integer
  7292. dgstatus:
  7293. description: 品种状态 - 作废 - 0:未激活 1:正常
  7294. type: integer
  7295. enumdicname:
  7296. description: 现货品种单位名称
  7297. type: string
  7298. goodsunitid:
  7299. description: 现货品种单位ID
  7300. type: integer
  7301. isvalid:
  7302. description: 是否有效 - 0:无效 1:有效
  7303. type: integer
  7304. qtydecimalplace:
  7305. description: 成交量小数位
  7306. type: integer
  7307. remark:
  7308. description: 备注
  7309. type: string
  7310. standardqty:
  7311. description: 标准数量(库位数量) [标准品特有]
  7312. type: integer
  7313. standardqtyrange:
  7314. description: 标准数量偏差范围 [标准品特有]
  7315. type: integer
  7316. type: object
  7317. models.ErmcpFuturesCompany:
  7318. properties:
  7319. brokerid:
  7320. description: 经纪公司代码
  7321. type: string
  7322. channeladdress:
  7323. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  7324. type: string
  7325. channelid:
  7326. description: 对冲渠道ID
  7327. type: string
  7328. createtime:
  7329. description: 创建时间
  7330. type: string
  7331. creatorid:
  7332. description: 创建人
  7333. type: string
  7334. fcid:
  7335. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  7336. type: integer
  7337. fcname:
  7338. description: 期货公司名称
  7339. type: string
  7340. isvalid:
  7341. description: 是否有效 - 0:无效 1:有效
  7342. type: integer
  7343. mhpaddress:
  7344. description: MHP服务地址(IP:Port)
  7345. type: string
  7346. riskrulegroupid:
  7347. description: 风控规则组ID
  7348. type: string
  7349. tradefeetmpid:
  7350. description: 手续费模板ID[TradeConfigTmpType为2]
  7351. type: string
  7352. trademargintmpid:
  7353. description: 保证金模板ID [TradeConfigTmpType为1]
  7354. type: string
  7355. traderatetmpid:
  7356. description: 汇率模板ID[TradeConfigTmpType为3]
  7357. type: string
  7358. updatetime:
  7359. description: 更新时间
  7360. type: string
  7361. updatorid:
  7362. description: 更新人
  7363. type: string
  7364. type: object
  7365. models.ErmcpGGConvertCfg:
  7366. properties:
  7367. convertratio:
  7368. description: 折算系数
  7369. type: number
  7370. destgoodsgroupid:
  7371. description: 目标品种ID
  7372. type: integer
  7373. dstcode:
  7374. description: 目录品种代码
  7375. type: string
  7376. dstexchangecode:
  7377. description: 目标期货交易所
  7378. type: string
  7379. dstname:
  7380. description: 目标品种名称
  7381. type: string
  7382. dstunitid:
  7383. description: 目标品种单位ID
  7384. type: integer
  7385. dstunitidname:
  7386. description: 目标品种单位名称
  7387. type: string
  7388. modifytime:
  7389. description: 修改时间
  7390. type: string
  7391. srccode:
  7392. description: 源品种代码
  7393. type: string
  7394. srcexchangecode:
  7395. description: 源期货交易所
  7396. type: string
  7397. srcgoodsgroupid:
  7398. description: 源品种ID
  7399. type: integer
  7400. srcname:
  7401. description: 源品种名称
  7402. type: string
  7403. srcunitid:
  7404. description: 源品种单位ID
  7405. type: integer
  7406. srcunitidname:
  7407. description: 源品种单位名称
  7408. type: string
  7409. type: object
  7410. models.ErmcpGoods:
  7411. properties:
  7412. agreeunit:
  7413. description: 合约单位
  7414. type: number
  7415. areauserid:
  7416. description: 所属机构
  7417. type: integer
  7418. auditaccountid:
  7419. description: 审核操作员账号
  7420. type: integer
  7421. audittime:
  7422. description: 审核时间
  7423. type: string
  7424. cancelaccountid:
  7425. description: 注销操作员账号
  7426. type: integer
  7427. canceltime:
  7428. description: 注销时间
  7429. type: string
  7430. closepricemode:
  7431. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7432. type: integer
  7433. closepriceparam:
  7434. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7435. type: number
  7436. createtime:
  7437. description: 创建时间
  7438. type: string
  7439. creatorid:
  7440. description: 创建人
  7441. type: integer
  7442. currencyid:
  7443. description: 报价货币ID
  7444. type: integer
  7445. cutmode:
  7446. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7447. type: integer
  7448. decimalplace:
  7449. description: 报价小数位
  7450. type: integer
  7451. delistingdate:
  7452. description: 商品退市时间(状态:退市) -- 已作废
  7453. type: string
  7454. delistingmode:
  7455. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7456. type: integer
  7457. deliveryflag:
  7458. description: 交割标志 - 0:不可交割 1:可交割
  7459. type: integer
  7460. enumdicname:
  7461. description: 单位名称
  7462. type: string
  7463. forceclosemode:
  7464. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7465. type: integer
  7466. forceclosevalue:
  7467. description: 定期强平参数 [收益权]
  7468. type: integer
  7469. goodscode:
  7470. description: 商品代码(内部)
  7471. type: string
  7472. goodscurrencyid:
  7473. description: 合约货币ID
  7474. type: integer
  7475. goodsgroupid:
  7476. description: 所属商品组ID
  7477. type: integer
  7478. goodsid:
  7479. description: 商品ID(自增ID SEQ_GOODS)
  7480. type: integer
  7481. goodsname:
  7482. description: 商品名称
  7483. type: string
  7484. goodsquotetype:
  7485. description: '合约报价类型: 1-直接报价 2-间接报价'
  7486. type: integer
  7487. goodsstatus:
  7488. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7489. type: integer
  7490. goodstradetype:
  7491. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7492. type: integer
  7493. goodunitid:
  7494. description: 报价单位ID
  7495. type: integer
  7496. hasquoter:
  7497. description: 是否有报价商 - 0:无报价商 1:有报价商
  7498. type: integer
  7499. hqprotecttime:
  7500. description: 行情保护时间(秒)
  7501. type: integer
  7502. innerdealmode:
  7503. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7504. type: integer
  7505. isbuylimited:
  7506. description: 是否限制建仓量 - 0:不限制 1:限制
  7507. type: integer
  7508. isvisible:
  7509. description: 游客是否可见 - 0:不可见 1:可见
  7510. type: integer
  7511. lasttradedate:
  7512. description: 最后交易日期(状态:待退市)
  7513. type: string
  7514. listingdate:
  7515. description: 交易开始日期
  7516. type: string
  7517. marketid:
  7518. description: 所属市场ID
  7519. type: integer
  7520. modifierid:
  7521. description: 修改人
  7522. type: integer
  7523. modifystatus:
  7524. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7525. type: integer
  7526. modifytime:
  7527. description: 修改时间
  7528. type: string
  7529. outerdealmode:
  7530. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7531. type: integer
  7532. outgoodscode:
  7533. description: 商品代码(外部)
  7534. type: string
  7535. pictureurl:
  7536. description: 商品图片
  7537. type: string
  7538. qtydecimalplace:
  7539. description: 成交量小数位
  7540. type: integer
  7541. quotegear:
  7542. description: 行情档位(1-10)
  7543. type: integer
  7544. quoteminunit:
  7545. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7546. type: integer
  7547. quoteshowtype:
  7548. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7549. type: integer
  7550. quoteshowtypeinterval:
  7551. description: 行情报价间隔时间(秒)(成交价时为0)
  7552. type: integer
  7553. relatedgoodsid:
  7554. description: 关联参考商品ID
  7555. type: integer
  7556. remark:
  7557. description: 备注
  7558. type: string
  7559. trademode:
  7560. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7561. 21:竞拍-大宗式 22:受托竞价
  7562. type: integer
  7563. required:
  7564. - goodscode
  7565. - goodsid
  7566. - goodsname
  7567. - marketid
  7568. type: object
  7569. models.ErmcpGoodsBrand:
  7570. properties:
  7571. areauserid:
  7572. description: 所属机构
  7573. type: integer
  7574. brandid:
  7575. description: BrandID(SEQ_SPOTGOODSBRAND)
  7576. type: integer
  7577. brandname:
  7578. description: 品牌名称
  7579. type: string
  7580. createtime:
  7581. description: 创建时间
  7582. type: string
  7583. creatorid:
  7584. description: 创建人
  7585. type: integer
  7586. creatorsrc:
  7587. description: 创建人来源 - 1:管理端 2:终端
  7588. type: integer
  7589. deliverygoodsid:
  7590. description: 现货品种ID
  7591. type: integer
  7592. isvalid:
  7593. description: 是否有效 - 0:无效 1:有效
  7594. type: integer
  7595. updatetime:
  7596. description: 更新时间
  7597. type: string
  7598. updatorid:
  7599. description: 更新人
  7600. type: integer
  7601. updatorsrc:
  7602. description: 更新人来源 - 1:管理端 2:终端
  7603. type: integer
  7604. wrstandardid:
  7605. description: 现货商品ID
  7606. type: integer
  7607. type: object
  7608. models.ErmcpGoodsModel:
  7609. properties:
  7610. areauserid:
  7611. description: 所属机构
  7612. type: integer
  7613. convertfactor:
  7614. description: 标仓系数
  7615. type: number
  7616. createtime:
  7617. description: 创建时间
  7618. type: string
  7619. creatorid:
  7620. description: 创建人
  7621. type: integer
  7622. creatorsrc:
  7623. description: 创建人来源 - 1:管理端 2:终端
  7624. type: integer
  7625. deliverygoodsid:
  7626. description: 现货品种ID
  7627. type: integer
  7628. isvalid:
  7629. description: 是否有效 - 0:无效 1:有效
  7630. type: integer
  7631. modelid:
  7632. description: ModelID(SEQ_SPOTGOODSMODEL)
  7633. type: integer
  7634. modelname:
  7635. description: 型号名称
  7636. type: string
  7637. updatetime:
  7638. description: 更新时间
  7639. type: string
  7640. updatorid:
  7641. description: 更新人
  7642. type: integer
  7643. updatorsrc:
  7644. description: 更新人来源 - 1:管理端 2:终端
  7645. type: integer
  7646. wrstandardid:
  7647. description: 现货商品ID
  7648. type: integer
  7649. type: object
  7650. models.ErmcpHisExposure:
  7651. properties:
  7652. needhedgeexposoure:
  7653. description: 应套保敞口
  7654. type: number
  7655. reckondate:
  7656. description: 日照时期(yyyyMMdd)
  7657. type: string
  7658. totalexposure:
  7659. description: 总敞口
  7660. type: number
  7661. type: object
  7662. models.ErmcpLoginTaAccount:
  7663. properties:
  7664. accountid:
  7665. description: 账号id
  7666. type: integer
  7667. accountname:
  7668. description: 账号名称
  7669. type: string
  7670. type: object
  7671. models.ErmcpLoginUser:
  7672. properties:
  7673. acclist:
  7674. description: 关联资金账号
  7675. items:
  7676. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  7677. type: array
  7678. accountname:
  7679. description: 用户名称
  7680. type: string
  7681. clientroleid:
  7682. description: 角色id(usertype=2)
  7683. type: integer
  7684. createtime:
  7685. description: 创建时间
  7686. type: string
  7687. logincode:
  7688. description: 登录代码
  7689. type: string
  7690. loginid:
  7691. description: 登录id(LOGINID)
  7692. type: integer
  7693. loginname:
  7694. description: 登录名称(loginaccount表中的accountname字段)
  7695. type: string
  7696. loginstatus:
  7697. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  7698. type: integer
  7699. memberuserid:
  7700. description: 所属会员id
  7701. type: integer
  7702. mobile:
  7703. description: 手机号
  7704. type: string
  7705. modifytime:
  7706. description: 修改时间
  7707. type: string
  7708. password:
  7709. description: 密码(不可解密)
  7710. type: string
  7711. rolename:
  7712. description: 角色名称
  7713. type: string
  7714. rolestatus:
  7715. description: 角色状态 1-启用 2-停用
  7716. type: integer
  7717. roletype:
  7718. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  7719. type: string
  7720. userid:
  7721. description: 用户id
  7722. type: integer
  7723. usertype:
  7724. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  7725. type: integer
  7726. type: object
  7727. models.ErmcpLoginUserEx:
  7728. properties:
  7729. accountstatus:
  7730. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  7731. type: integer
  7732. mobile:
  7733. description: 手机号
  7734. type: string
  7735. querytype:
  7736. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  7737. type: integer
  7738. roleid:
  7739. description: 角色id(交易账户->用户id)
  7740. type: integer
  7741. rolename:
  7742. description: 角色名称(交易账户->用户名称)
  7743. type: string
  7744. userlist:
  7745. description: 用户列表
  7746. items:
  7747. $ref: '#/definitions/models.ErmcpLoginUser'
  7748. type: array
  7749. usertype:
  7750. description: 用户类型 2-机构 7-企业成员(云平台)
  7751. type: integer
  7752. type: object
  7753. models.ErmcpMiddleGoodsModel:
  7754. properties:
  7755. areauserid:
  7756. description: 机构用户ID
  7757. type: integer
  7758. createtime:
  7759. description: 修改时间
  7760. type: string
  7761. enumdicname:
  7762. description: 单位名称
  7763. type: string
  7764. evaluateratio:
  7765. description: 估价系数
  7766. type: number
  7767. goodsgroupid:
  7768. description: 关联期货品种ID
  7769. type: integer
  7770. goodsunitid:
  7771. description: 单位ID
  7772. type: integer
  7773. isvalid:
  7774. description: 状态 0-无效(停用) 1-有效(正常)
  7775. type: integer
  7776. middlegoodscode:
  7777. description: 套保品种代码
  7778. type: string
  7779. middlegoodsid:
  7780. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  7781. type: integer
  7782. middlegoodsname:
  7783. description: 套保品种名称
  7784. type: string
  7785. modifytime:
  7786. description: 修改时间
  7787. type: string
  7788. needarbitrageratio:
  7789. description: 套利比例
  7790. type: number
  7791. needhedgeratio:
  7792. description: 套保比率
  7793. type: number
  7794. qtydecimalplace:
  7795. description: 数量小数位
  7796. type: integer
  7797. relatedgoodsid:
  7798. description: 关联交易商品ID
  7799. type: integer
  7800. relatedgoodstype:
  7801. description: 关联商品类型 - 1:期货合约 2:现货品种
  7802. type: integer
  7803. remark:
  7804. description: 备注
  7805. type: string
  7806. type: object
  7807. models.ErmcpMiddlegoodsRelateGoods:
  7808. properties:
  7809. agreeunit:
  7810. description: 合约乘数
  7811. type: number
  7812. convertratio:
  7813. description: 折算系数
  7814. type: number
  7815. enumdicname:
  7816. description: 单位名称(交易商品)
  7817. type: string
  7818. goodscode:
  7819. description: 交易商品代码
  7820. type: string
  7821. goodsgroupid:
  7822. description: 交易品种id
  7823. type: integer
  7824. goodsid:
  7825. description: 商品Id
  7826. type: integer
  7827. goodsname:
  7828. description: 交易商品名称
  7829. type: string
  7830. goodunitid:
  7831. description: 交易商品单位id
  7832. type: integer
  7833. middlegoodsid:
  7834. description: 套保商品id
  7835. type: integer
  7836. middlegoodsname:
  7837. description: 套保商品名称
  7838. type: string
  7839. middlegoodsswcode:
  7840. description: 套保商品代码
  7841. type: string
  7842. needarbitrageratio:
  7843. description: 应套利比例
  7844. type: number
  7845. needhedgeratio:
  7846. description: 应套保比例
  7847. type: number
  7848. type: object
  7849. models.ErmcpRole:
  7850. properties:
  7851. areauserid:
  7852. description: 所属机构
  7853. type: integer
  7854. autoid:
  7855. description: 角色ID(自增ID)
  7856. type: integer
  7857. modifierid:
  7858. description: 修改人(创建人)
  7859. type: integer
  7860. modifiername:
  7861. description: 修改人名称
  7862. type: string
  7863. modifytime:
  7864. description: 修改时间(创建时间)
  7865. type: string
  7866. rolename:
  7867. description: 角色名称
  7868. type: string
  7869. rolestatus:
  7870. description: 角色状态 - 1:启用 2:停用
  7871. type: integer
  7872. roletype:
  7873. description: 角色类型 - 1- 管理端 2- 交易端
  7874. type: integer
  7875. type: object
  7876. models.ErmcpRoleMenu:
  7877. properties:
  7878. iconame:
  7879. description: 菜单图标
  7880. type: string
  7881. ishadrole:
  7882. description: 是否有权限
  7883. type: boolean
  7884. menutype:
  7885. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)
  7886. type: integer
  7887. parentcode:
  7888. description: 上级资源代码
  7889. type: string
  7890. remark:
  7891. description: 菜单备注
  7892. type: string
  7893. resourcecode:
  7894. description: 菜单代码
  7895. type: string
  7896. resourcelevel:
  7897. description: 级别
  7898. type: integer
  7899. resourcename:
  7900. description: 菜单名称
  7901. type: string
  7902. roleid:
  7903. description: 角色id
  7904. type: integer
  7905. sort:
  7906. description: 排序
  7907. type: integer
  7908. url:
  7909. description: URL
  7910. type: string
  7911. userid:
  7912. description: 用户id
  7913. type: integer
  7914. type: object
  7915. models.ErmcpRoleMenuEx:
  7916. properties:
  7917. menu:
  7918. $ref: '#/definitions/models.ErmcpRoleMenu'
  7919. description: 父级菜单
  7920. subMenu:
  7921. description: 子级菜单
  7922. items:
  7923. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  7924. type: array
  7925. type: object
  7926. models.ErmcpTaAccount:
  7927. properties:
  7928. accountid:
  7929. description: 账户id
  7930. type: integer
  7931. accountname:
  7932. description: 账户名称
  7933. type: string
  7934. currencyid:
  7935. description: 币种id
  7936. type: integer
  7937. hedgeaccountcode:
  7938. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7939. type: string
  7940. ismain:
  7941. description: 是否主账户 0-否 1-是
  7942. type: integer
  7943. parentaccountid:
  7944. description: 父账户id
  7945. type: integer
  7946. relateduserid:
  7947. description: 关联userid
  7948. type: integer
  7949. tradefeetmpid:
  7950. description: 手续费模板id
  7951. type: integer
  7952. tradefeetmpname:
  7953. description: 手续费模板名称
  7954. type: string
  7955. trademargintmpid:
  7956. description: 保证金模板id
  7957. type: integer
  7958. trademargintmpname:
  7959. description: 保证金模板名称
  7960. type: string
  7961. traderatetmpid:
  7962. description: 汇率模板id
  7963. type: integer
  7964. traderatetmpname:
  7965. description: 汇率模板名称
  7966. type: string
  7967. tradestatus:
  7968. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7969. type: integer
  7970. userid:
  7971. description: 用户id
  7972. type: integer
  7973. type: object
  7974. models.ErmcpTaAccountEx:
  7975. properties:
  7976. mainAcc:
  7977. $ref: '#/definitions/models.ErmcpTaAccountM'
  7978. description: 主账号
  7979. subacclist:
  7980. description: 子账号列表
  7981. items:
  7982. $ref: '#/definitions/models.ErmcpTaAccount'
  7983. type: array
  7984. type: object
  7985. models.ErmcpTaAccountInfo:
  7986. properties:
  7987. accountid:
  7988. description: 资金账户ID
  7989. type: integer
  7990. accountname:
  7991. description: 账户名称
  7992. type: string
  7993. balance:
  7994. description: 期初余额
  7995. type: number
  7996. capitalbalance:
  7997. description: 本金余额[外部子账户实际出入金余额]
  7998. type: number
  7999. closepl:
  8000. description: 今日平仓盈亏
  8001. type: number
  8002. creditdecrease:
  8003. description: 今日授信减少
  8004. type: number
  8005. creditincrease:
  8006. description: 今日授信增加
  8007. type: number
  8008. curdebt:
  8009. description: 期末欠款
  8010. type: number
  8011. currencyid:
  8012. description: 货币ID
  8013. type: integer
  8014. currentbalance:
  8015. description: 期末余额
  8016. type: number
  8017. freezecharge:
  8018. description: 手续费冻结
  8019. type: number
  8020. freezemargin:
  8021. description: 冻结保证金
  8022. type: number
  8023. fromaccountid:
  8024. description: 所属上级账户
  8025. type: integer
  8026. inamount:
  8027. description: 今日入金金额(包括三方入金)
  8028. type: number
  8029. ismain:
  8030. description: 是否母账号 0:不是母账户 1:是母账户
  8031. type: integer
  8032. mortgagecredit:
  8033. description: 授信金额
  8034. type: number
  8035. oridebt:
  8036. description: 期初欠款
  8037. type: number
  8038. orifreezecharge:
  8039. description: 期初手续费冻结
  8040. type: number
  8041. orifreezemargin:
  8042. description: 期初冻结保证金
  8043. type: number
  8044. orimortgagecredit:
  8045. description: 期初授信金额
  8046. type: number
  8047. oriothercredit:
  8048. description: 期初其它授信金额
  8049. type: number
  8050. oriotherfreezemargin:
  8051. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  8052. type: number
  8053. orioutamountfreeze:
  8054. description: 期初出金冻结
  8055. type: number
  8056. oriusedmargin:
  8057. description: 期初占用保证金
  8058. type: number
  8059. othercredit:
  8060. description: 其它授信金额
  8061. type: number
  8062. othercreditdecrease:
  8063. description: 今日其它授信减少
  8064. type: number
  8065. othercreditincrease:
  8066. description: 今日其它授信增加
  8067. type: number
  8068. otherfreezemargin:
  8069. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  8070. type: number
  8071. outamount:
  8072. description: 今日出金金额(包括三方出金)
  8073. type: number
  8074. outamountfreeze:
  8075. description: 出金冻结
  8076. type: number
  8077. outthreshold:
  8078. description: 出金阈值
  8079. type: number
  8080. parentaccountid:
  8081. description: 所属根账号
  8082. type: integer
  8083. paycharge:
  8084. description: 今日手续费支出
  8085. type: number
  8086. relateduserid:
  8087. description: 关联用户
  8088. type: integer
  8089. signstatus:
  8090. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  8091. type: integer
  8092. sublevelpath:
  8093. description: 账号层级路径(逗号分隔,首尾加逗号)
  8094. type: string
  8095. taaccounttype:
  8096. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  8097. type: integer
  8098. thirdinamount:
  8099. description: 今日三方入金
  8100. type: number
  8101. thirdoutamount:
  8102. description: 今日三方出金
  8103. type: number
  8104. tradestatus:
  8105. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  8106. type: integer
  8107. transferamount:
  8108. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  8109. type: number
  8110. usedmargin:
  8111. description: 占用保证金
  8112. type: number
  8113. userid:
  8114. description: 用户ID
  8115. type: integer
  8116. type: object
  8117. models.ErmcpTaAccountM:
  8118. properties:
  8119. accountid:
  8120. description: 账户id
  8121. type: integer
  8122. accountname:
  8123. description: 账户名称
  8124. type: string
  8125. currencyid:
  8126. description: 币种id
  8127. type: integer
  8128. fcid:
  8129. description: 期货公司id
  8130. type: integer
  8131. fcname:
  8132. description: 期货公司代码
  8133. type: string
  8134. hedgeaccountcode:
  8135. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  8136. type: string
  8137. ismain:
  8138. description: 是否主账户 0-否 1-是
  8139. type: integer
  8140. parentaccountid:
  8141. description: 父账户id
  8142. type: integer
  8143. relateduserid:
  8144. description: 关联userid
  8145. type: integer
  8146. tradefeetmpid:
  8147. description: 手续费模板id
  8148. type: integer
  8149. tradefeetmpname:
  8150. description: 手续费模板名称
  8151. type: string
  8152. trademargintmpid:
  8153. description: 保证金模板id
  8154. type: integer
  8155. trademargintmpname:
  8156. description: 保证金模板名称
  8157. type: string
  8158. traderatetmpid:
  8159. description: 汇率模板id
  8160. type: integer
  8161. traderatetmpname:
  8162. description: 汇率模板名称
  8163. type: string
  8164. tradestatus:
  8165. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  8166. type: integer
  8167. userid:
  8168. description: 用户id
  8169. type: integer
  8170. type: object
  8171. models.ErmcpTradeConfigTMP:
  8172. properties:
  8173. areauserid:
  8174. description: 所属机构
  8175. type: integer
  8176. basiccurrencyid:
  8177. description: 基本币种ID[汇率] - 目标币种
  8178. type: integer
  8179. mainaccountid:
  8180. description: 主账户ID
  8181. type: integer
  8182. modifierid:
  8183. description: 修改人
  8184. type: integer
  8185. remark:
  8186. description: 备注
  8187. type: string
  8188. tradeconfigtmpid:
  8189. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  8190. type: integer
  8191. tradeconfigtmpname:
  8192. description: 交易配置模板名称
  8193. type: string
  8194. tradeconfigtmptype:
  8195. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  8196. type: integer
  8197. updatetime:
  8198. description: 更新时间
  8199. type: string
  8200. type: object
  8201. models.Externalexchange:
  8202. properties:
  8203. autoid:
  8204. description: AutoID - SEQ_EXTERNALEXCHANGE
  8205. type: integer
  8206. exchangefullname:
  8207. description: 外部交易所全称
  8208. type: string
  8209. exexchangecode:
  8210. description: 外部交易所代码
  8211. type: string
  8212. exexchangename:
  8213. description: 外部交易所名称(简称)
  8214. type: string
  8215. ismarketprice:
  8216. description: 是否支持市价 - 0:不支持 1:支持
  8217. type: integer
  8218. quotegear:
  8219. description: 行情档位(1-10)
  8220. type: integer
  8221. showbrokerflag:
  8222. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  8223. type: integer
  8224. updatetime:
  8225. description: 更新时间
  8226. type: string
  8227. required:
  8228. - autoid
  8229. type: object
  8230. models.Funcmenulist:
  8231. properties:
  8232. iconame:
  8233. description: 菜单图标
  8234. type: string
  8235. menutype:
  8236. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  8237. type: integer
  8238. parentcode:
  8239. description: 上级资源代码
  8240. type: string
  8241. remark:
  8242. description: 备注
  8243. type: string
  8244. resourcecode:
  8245. description: 资源代码
  8246. type: string
  8247. resourcelevel:
  8248. description: 级别 1-一级 2-二级 3-三级 4-四级
  8249. type: integer
  8250. resourcename:
  8251. description: 资源名
  8252. type: string
  8253. sort:
  8254. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  8255. type: integer
  8256. url:
  8257. description: URL
  8258. type: string
  8259. required:
  8260. - resourcecode
  8261. type: object
  8262. models.Goods:
  8263. properties:
  8264. agreeunit:
  8265. description: 合约单位
  8266. type: number
  8267. areauserid:
  8268. description: 所属机构
  8269. type: integer
  8270. auditaccountid:
  8271. description: 审核操作员账号
  8272. type: integer
  8273. audittime:
  8274. description: 审核时间
  8275. type: string
  8276. cancelaccountid:
  8277. description: 注销操作员账号
  8278. type: integer
  8279. canceltime:
  8280. description: 注销时间
  8281. type: string
  8282. closepricemode:
  8283. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8284. type: integer
  8285. closepriceparam:
  8286. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8287. type: number
  8288. createtime:
  8289. description: 创建时间
  8290. type: string
  8291. creatorid:
  8292. description: 创建人
  8293. type: integer
  8294. currencyid:
  8295. description: 报价货币ID
  8296. type: integer
  8297. cutmode:
  8298. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8299. type: integer
  8300. decimalplace:
  8301. description: 报价小数位
  8302. type: integer
  8303. delistingdate:
  8304. description: 商品退市时间(状态:退市) -- 已作废
  8305. type: string
  8306. delistingmode:
  8307. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8308. type: integer
  8309. deliveryflag:
  8310. description: 交割标志 - 0:不可交割 1:可交割
  8311. type: integer
  8312. forceclosemode:
  8313. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8314. type: integer
  8315. forceclosevalue:
  8316. description: 定期强平参数 [收益权]
  8317. type: integer
  8318. goodscode:
  8319. description: 商品代码(内部)
  8320. type: string
  8321. goodscurrencyid:
  8322. description: 合约货币ID
  8323. type: integer
  8324. goodsgroupid:
  8325. description: 所属商品组ID
  8326. type: integer
  8327. goodsid:
  8328. description: 商品ID(自增ID SEQ_GOODS)
  8329. type: integer
  8330. goodsname:
  8331. description: 商品名称
  8332. type: string
  8333. goodsquotetype:
  8334. description: '合约报价类型: 1-直接报价 2-间接报价'
  8335. type: integer
  8336. goodsstatus:
  8337. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8338. type: integer
  8339. goodstradetype:
  8340. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8341. type: integer
  8342. goodunitid:
  8343. description: 报价单位ID
  8344. type: integer
  8345. hasquoter:
  8346. description: 是否有报价商 - 0:无报价商 1:有报价商
  8347. type: integer
  8348. hqprotecttime:
  8349. description: 行情保护时间(秒)
  8350. type: integer
  8351. innerdealmode:
  8352. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8353. type: integer
  8354. isbuylimited:
  8355. description: 是否限制建仓量 - 0:不限制 1:限制
  8356. type: integer
  8357. isvisible:
  8358. description: 游客是否可见 - 0:不可见 1:可见
  8359. type: integer
  8360. lasttradedate:
  8361. description: 最后交易日期(状态:待退市)
  8362. type: string
  8363. listingdate:
  8364. description: 交易开始日期
  8365. type: string
  8366. marketid:
  8367. description: 所属市场ID
  8368. type: integer
  8369. modifierid:
  8370. description: 修改人
  8371. type: integer
  8372. modifystatus:
  8373. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8374. type: integer
  8375. modifytime:
  8376. description: 修改时间
  8377. type: string
  8378. outerdealmode:
  8379. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8380. type: integer
  8381. outgoodscode:
  8382. description: 商品代码(外部)
  8383. type: string
  8384. pictureurl:
  8385. description: 商品图片
  8386. type: string
  8387. qtydecimalplace:
  8388. description: 成交量小数位
  8389. type: integer
  8390. quotegear:
  8391. description: 行情档位(1-10)
  8392. type: integer
  8393. quoteminunit:
  8394. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8395. type: integer
  8396. quoteshowtype:
  8397. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8398. type: integer
  8399. quoteshowtypeinterval:
  8400. description: 行情报价间隔时间(秒)(成交价时为0)
  8401. type: integer
  8402. remark:
  8403. description: 备注
  8404. type: string
  8405. required:
  8406. - goodscode
  8407. - goodsid
  8408. - goodsname
  8409. - marketid
  8410. type: object
  8411. models.GoodsIDAndName:
  8412. properties:
  8413. goodscode:
  8414. description: 商品代码(内部)
  8415. type: string
  8416. goodsid:
  8417. description: 商品ID(自增ID SEQ_GOODS)
  8418. type: integer
  8419. goodsname:
  8420. description: 商品名称
  8421. type: string
  8422. marketid:
  8423. description: 所属市场ID
  8424. type: integer
  8425. required:
  8426. - goodscode
  8427. - goodsid
  8428. - goodsname
  8429. - marketid
  8430. type: object
  8431. models.Goodsgroup:
  8432. properties:
  8433. agreeunit:
  8434. description: 合约单位
  8435. type: number
  8436. canshort:
  8437. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  8438. type: integer
  8439. closepricemode:
  8440. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8441. type: integer
  8442. closepriceparam:
  8443. description: 强平最新价浮动比例 - 方式为2时使用
  8444. type: number
  8445. createtime:
  8446. description: 创建时间
  8447. type: string
  8448. creatorid:
  8449. description: 创建人
  8450. type: integer
  8451. currencyid:
  8452. description: 报价货币ID
  8453. type: integer
  8454. decimalplace:
  8455. description: 报价小数位
  8456. type: integer
  8457. exercisetype:
  8458. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  8459. type: integer
  8460. exexchangeid:
  8461. description: 外部交易所ID[通道交易]
  8462. type: integer
  8463. goodsgroupid:
  8464. description: 商品组ID(自增ID)
  8465. type: integer
  8466. goodsgroupname:
  8467. description: 商品组名称
  8468. type: string
  8469. goodsgroupstatus:
  8470. description: 商品组状态 - 1:正常 2:注销
  8471. type: integer
  8472. goodunitid:
  8473. description: 报价单位ID
  8474. type: integer
  8475. innerdealmode:
  8476. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8477. type: integer
  8478. isbuylimited:
  8479. description: 是否限制建仓量 - 0:不限制 1:限制
  8480. type: integer
  8481. marketid:
  8482. description: 所属市场ID
  8483. type: integer
  8484. modifierid:
  8485. description: 修改人
  8486. type: integer
  8487. modifytime:
  8488. description: 修改时间
  8489. type: string
  8490. outerdealmode:
  8491. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8492. type: integer
  8493. outergroupcode:
  8494. description: 外部商品组代码[通道交易]
  8495. type: string
  8496. premiumdecimalplace:
  8497. description: 权利金小数位[场外期权]
  8498. type: integer
  8499. premiumspreadalgorithm:
  8500. description: 权利金点差方式[场外期权] 1:比率 2:固定
  8501. type: integer
  8502. premiumspreadvalue:
  8503. description: 权利金点差值[场外期权]
  8504. type: number
  8505. qtydecimalplace:
  8506. description: 成交量小数位
  8507. type: integer
  8508. quotegear:
  8509. description: 行情档位(1-10)
  8510. type: integer
  8511. quoteminunit:
  8512. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8513. type: integer
  8514. quoterid:
  8515. description: 报价商ID[场外期权]
  8516. type: integer
  8517. quotesourcegroupid:
  8518. description: 所属行情源分组ID[参考行情市场用\通道交易]
  8519. type: integer
  8520. syncgoodsqty:
  8521. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  8522. type: integer
  8523. required:
  8524. - goodsgroupid
  8525. - goodsgroupname
  8526. - goodsgroupstatus
  8527. - marketid
  8528. type: object
  8529. models.Goodssortbypreposition:
  8530. properties:
  8531. goodscode:
  8532. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  8533. type: string
  8534. goodsgroupcode:
  8535. description: 品种代码
  8536. type: string
  8537. prepositionqty:
  8538. description: 昨持仓量
  8539. type: integer
  8540. sortindex:
  8541. description: 排序
  8542. type: integer
  8543. tradedate:
  8544. description: 交易日
  8545. type: string
  8546. updatetime:
  8547. description: 更新时间
  8548. type: string
  8549. required:
  8550. - goodscode
  8551. - tradedate
  8552. type: object
  8553. models.Hedgeinnerholderdetail:
  8554. properties:
  8555. accountid:
  8556. description: 账号ID
  8557. type: integer
  8558. buyorsell:
  8559. description: 方向 - 0:买 1:卖
  8560. type: integer
  8561. freezeqty:
  8562. description: 冻结数量 - 按单平使用
  8563. type: integer
  8564. goodsid:
  8565. description: 商品ID
  8566. type: integer
  8567. holderamount:
  8568. description: 持仓金额 [商品币种]
  8569. type: number
  8570. holderdays:
  8571. description: 剩余冻结天数
  8572. type: integer
  8573. holderprice:
  8574. description: 持仓价格
  8575. type: number
  8576. holderqty:
  8577. description: 持仓数量
  8578. type: integer
  8579. marketid:
  8580. description: 市场ID
  8581. type: integer
  8582. openprice:
  8583. description: 建仓价格
  8584. type: number
  8585. openqty:
  8586. description: 建仓数量
  8587. type: integer
  8588. parentaccountid:
  8589. description: 所属母账户
  8590. type: integer
  8591. releaseamount:
  8592. description: 释放持仓金额[商品币种]
  8593. type: number
  8594. tradeamount:
  8595. description: 成交金额[账户]
  8596. type: number
  8597. tradedate:
  8598. description: 交易日(yyyyMMdd)
  8599. type: string
  8600. tradeid:
  8601. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8602. type: string
  8603. tradetime:
  8604. description: 交易时间
  8605. type: string
  8606. required:
  8607. - buyorsell
  8608. - tradeid
  8609. type: object
  8610. models.Hedgemarketopenlog:
  8611. properties:
  8612. accountid:
  8613. description: 资金账号[外部母账户]
  8614. type: integer
  8615. fcname:
  8616. description: 期货公司名称
  8617. type: string
  8618. handlestatus:
  8619. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  8620. type: integer
  8621. marketid:
  8622. description: 市场ID
  8623. type: integer
  8624. status:
  8625. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  8626. type: integer
  8627. tradedate:
  8628. description: 交易日(yyyyMMdd)
  8629. type: string
  8630. updatetime:
  8631. description: 更新时间
  8632. type: string
  8633. required:
  8634. - accountid
  8635. type: object
  8636. models.HsbyBuyMyPayOrder:
  8637. properties:
  8638. agreeunit:
  8639. description: 合约单位
  8640. type: number
  8641. buyaccountid:
  8642. description: 买方账号ID[报价币种]
  8643. type: integer
  8644. buyorderid:
  8645. description: 买方委托单号
  8646. type: string
  8647. createtime:
  8648. description: 创建时间
  8649. type: string
  8650. currencysign:
  8651. description: 货币符号
  8652. type: string
  8653. decimalplace:
  8654. description: 报价小数位
  8655. type: integer
  8656. goodscode:
  8657. description: 商品代码(内部)
  8658. type: string
  8659. goodsid:
  8660. description: 商品ID
  8661. type: integer
  8662. goodsname:
  8663. description: 商品名称
  8664. type: string
  8665. marketid:
  8666. description: 市场ID
  8667. type: integer
  8668. offamount:
  8669. description: 优惠金额
  8670. type: number
  8671. originalamount:
  8672. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  8673. type: number
  8674. payamount:
  8675. description: 支付金额 = TradeAmount + TradeCharge
  8676. type: number
  8677. payflag:
  8678. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8679. type: integer
  8680. paylimitedtime:
  8681. description: 支付期限
  8682. type: string
  8683. paytime:
  8684. description: 付款时间
  8685. type: string
  8686. picurls1:
  8687. description: 预售商品介绍图片[多张用逗号分隔]
  8688. type: string
  8689. picurls2:
  8690. description: 挂牌商品介绍图片[多张用逗号分隔]
  8691. type: string
  8692. sellaccountid:
  8693. description: 卖方账号ID[报价币种]
  8694. type: integer
  8695. sellorderid:
  8696. description: 卖方委托单号
  8697. type: string
  8698. tradeamount:
  8699. description: 成交金额
  8700. type: number
  8701. tradecharge:
  8702. description: 成交手续费(买方)
  8703. type: number
  8704. tradedate:
  8705. description: 交易日(yyyyMMdd)
  8706. type: string
  8707. tradeid:
  8708. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8709. type: string
  8710. trademode:
  8711. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8712. 21:竞拍-大宗式 22:受托竞价
  8713. type: integer
  8714. tradeprice:
  8715. description: 成交价格
  8716. type: number
  8717. tradeqty:
  8718. description: 成交数量
  8719. type: integer
  8720. vendorname1:
  8721. description: 预售商品供应商名称
  8722. type: string
  8723. vendorname2:
  8724. description: 挂牌商品供应商名称
  8725. type: string
  8726. required:
  8727. - goodscode
  8728. - goodsname
  8729. - tradeid
  8730. - trademode
  8731. type: object
  8732. models.HsbyBuyMyTradeDetail:
  8733. properties:
  8734. accountid:
  8735. description: 账户ID[报价币种]
  8736. type: integer
  8737. agreeunit:
  8738. description: 合约单位
  8739. type: number
  8740. amount:
  8741. description: 金额 = 价格 * 数量 * 合约单位
  8742. type: number
  8743. buyorsell:
  8744. description: 买卖 - 0:买 1:卖
  8745. type: integer
  8746. currencysign:
  8747. description: 货币符号
  8748. type: string
  8749. decimalplace:
  8750. description: 报价小数位
  8751. type: integer
  8752. goodscode:
  8753. description: 商品代码(内部)
  8754. type: string
  8755. goodsid:
  8756. description: 商品ID
  8757. type: integer
  8758. goodsname:
  8759. description: 商品名称
  8760. type: string
  8761. marketid:
  8762. description: 市场ID
  8763. type: integer
  8764. orderamount:
  8765. description: 委托金额
  8766. type: number
  8767. orderid:
  8768. description: 单号(成交单号)
  8769. type: string
  8770. picurls1:
  8771. description: 预售商品介绍图片[多张用逗号分隔]
  8772. type: string
  8773. picurls2:
  8774. description: 挂牌商品介绍图片[多张用逗号分隔]
  8775. type: string
  8776. price:
  8777. description: 价格
  8778. type: number
  8779. qty:
  8780. description: 数量
  8781. type: integer
  8782. time:
  8783. description: 时间
  8784. type: string
  8785. trademode:
  8786. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8787. 21:竞拍-大宗式 22:受托竞价
  8788. type: integer
  8789. vendorname1:
  8790. description: 预售商品供应商名称
  8791. type: string
  8792. vendorname2:
  8793. description: 挂牌商品供应商名称
  8794. type: string
  8795. required:
  8796. - accountid
  8797. - buyorsell
  8798. - goodscode
  8799. - goodsid
  8800. - goodsname
  8801. - marketid
  8802. - orderid
  8803. - qty
  8804. - time
  8805. - trademode
  8806. type: object
  8807. models.HsbyGoodsOrderDetail:
  8808. properties:
  8809. buyorsell:
  8810. description: 买卖 - 0:买 1:卖
  8811. type: integer
  8812. currencysign:
  8813. description: 货币符号
  8814. type: string
  8815. customername:
  8816. description: 客户名称(企业名称),已脱敏
  8817. type: string
  8818. enableqty:
  8819. description: 可用数量
  8820. type: integer
  8821. goodunit:
  8822. description: 报价单位
  8823. type: string
  8824. orderid:
  8825. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8826. type: string
  8827. orderprice:
  8828. description: 委托价格
  8829. type: number
  8830. ordertime:
  8831. description: 委托时间
  8832. type: string
  8833. required:
  8834. - buyorsell
  8835. - orderid
  8836. - ordertime
  8837. type: object
  8838. models.HsbyListingGoodsDetail:
  8839. properties:
  8840. agreeunit:
  8841. description: 合约单位
  8842. type: number
  8843. buymaxqty:
  8844. description: 购买上限 [71] - 0为不限
  8845. type: integer
  8846. currency:
  8847. description: 货币
  8848. type: string
  8849. currencysign:
  8850. description: 货币符号
  8851. type: string
  8852. decimalplace:
  8853. description: 报价小数位
  8854. type: integer
  8855. desccityid:
  8856. description: 目的地(市)ID
  8857. type: integer
  8858. descprovinceid:
  8859. description: 目的地(省)ID
  8860. type: integer
  8861. goodscode:
  8862. description: 商品代码(内部)
  8863. type: string
  8864. goodsdesc:
  8865. description: 商品详情
  8866. type: string
  8867. goodsid:
  8868. description: 商品ID(自增ID SEQ_GOODS)
  8869. type: integer
  8870. goodsname:
  8871. description: 商品名称
  8872. type: string
  8873. goodsprice:
  8874. description: 商品价格
  8875. type: number
  8876. hotindex:
  8877. description: 景点热度
  8878. type: integer
  8879. last:
  8880. description: 现价
  8881. type: number
  8882. limitdown:
  8883. description: 跌停价
  8884. type: number
  8885. limitup:
  8886. description: 涨停价
  8887. type: number
  8888. lotsize:
  8889. description: 手数最小变动单位
  8890. type: integer
  8891. marketid:
  8892. description: 所属市场ID
  8893. type: integer
  8894. picurls:
  8895. description: 介绍图片[多张用逗号分隔]
  8896. type: string
  8897. quoteminunit:
  8898. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8899. type: integer
  8900. stepvalue:
  8901. description: 价格最小变动单位
  8902. type: number
  8903. trademode:
  8904. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8905. 21:竞拍-大宗式 22:受托竞价
  8906. type: integer
  8907. vendorattr:
  8908. description: 供应商附件(多张,逗号分隔)
  8909. type: string
  8910. vendorname:
  8911. description: 供应商名称
  8912. type: string
  8913. vendorphone:
  8914. description: 供应商客服电话
  8915. type: string
  8916. videourls:
  8917. description: 介绍视频[多张用逗号分隔]
  8918. type: string
  8919. required:
  8920. - goodscode
  8921. - goodsid
  8922. - goodsname
  8923. - marketid
  8924. - trademode
  8925. type: object
  8926. models.HsbyMarketGoods:
  8927. properties:
  8928. accountid:
  8929. description: 账户ID[报价币种]
  8930. type: integer
  8931. agreeunit:
  8932. description: 合约单位
  8933. type: number
  8934. buyorsell:
  8935. description: 买卖 - 0:买 1:卖
  8936. type: integer
  8937. categoryid:
  8938. description: 类别ID(WRCATEGORY)
  8939. type: integer
  8940. currency:
  8941. description: 货币
  8942. type: string
  8943. currencysign:
  8944. description: 货币符号
  8945. type: string
  8946. customername:
  8947. description: 卖家名称
  8948. type: string
  8949. decimalplace:
  8950. description: 报价小数位
  8951. type: integer
  8952. goodscode:
  8953. description: 商品代码(内部)
  8954. type: string
  8955. goodsid:
  8956. description: 商品ID
  8957. type: integer
  8958. goodsname:
  8959. description: 商品名称
  8960. type: string
  8961. goodsprice:
  8962. description: 商品价格
  8963. type: number
  8964. hascoupon:
  8965. description: 是否可用优惠卷
  8966. type: boolean
  8967. hotindex:
  8968. description: 景点热度
  8969. type: integer
  8970. marketid:
  8971. description: 市场ID
  8972. type: integer
  8973. orderid:
  8974. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8975. type: string
  8976. orderprice:
  8977. description: 委托价格
  8978. type: number
  8979. orderstatus:
  8980. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8981. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8982. 16:成交失败违约(荷兰式竞拍专用)
  8983. type: integer
  8984. picurls:
  8985. description: 介绍图片[多张用逗号分隔]
  8986. type: string
  8987. quoteminunit:
  8988. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8989. type: integer
  8990. sellUserID:
  8991. description: 卖方UserID
  8992. type: integer
  8993. trademode:
  8994. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8995. 21:竞拍-大宗式 22:受托竞价
  8996. type: integer
  8997. videourls:
  8998. description: 介绍视频[多张用逗号分隔]
  8999. type: string
  9000. required:
  9001. - accountid
  9002. - buyorsell
  9003. - goodscode
  9004. - goodsid
  9005. - goodsname
  9006. - marketid
  9007. - orderid
  9008. - trademode
  9009. type: object
  9010. models.HsbyMarketGoodsDetail:
  9011. properties:
  9012. accountid:
  9013. description: 账户ID[报价币种]
  9014. type: integer
  9015. agreeunit:
  9016. description: 合约单位
  9017. type: number
  9018. buymaxqty:
  9019. description: 购买上限 [71] - 0为不限
  9020. type: integer
  9021. buyorsell:
  9022. description: 买卖 - 0:买 1:卖
  9023. type: integer
  9024. cancelqty:
  9025. description: 撤单数量
  9026. type: integer
  9027. categoryid:
  9028. description: 类别ID(WRCATEGORY)
  9029. type: integer
  9030. currency:
  9031. description: 货币
  9032. type: string
  9033. currencysign:
  9034. description: 货币符号
  9035. type: string
  9036. customername:
  9037. description: 卖家名称
  9038. type: string
  9039. decimalplace:
  9040. description: 报价小数位
  9041. type: integer
  9042. goodscode:
  9043. description: 商品代码(内部)
  9044. type: string
  9045. goodsdesc:
  9046. description: 商品详情
  9047. type: string
  9048. goodsid:
  9049. description: 商品ID
  9050. type: integer
  9051. goodsname:
  9052. description: 商品名称
  9053. type: string
  9054. goodsprice:
  9055. description: 商品价格
  9056. type: number
  9057. hotindex:
  9058. description: 景点热度
  9059. type: integer
  9060. lotsize:
  9061. description: 手数最小变动单位
  9062. type: integer
  9063. marketid:
  9064. description: 市场ID
  9065. type: integer
  9066. orderid:
  9067. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9068. type: string
  9069. orderprice:
  9070. description: 委托价格
  9071. type: number
  9072. orderqty:
  9073. description: 委托数量
  9074. type: integer
  9075. orderstatus:
  9076. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  9077. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  9078. 16:成交失败违约(荷兰式竞拍专用)
  9079. type: integer
  9080. picurls:
  9081. description: 介绍图片[多张用逗号分隔]
  9082. type: string
  9083. quoteminunit:
  9084. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9085. type: integer
  9086. sellUserID:
  9087. description: 卖方UserID
  9088. type: integer
  9089. trademode:
  9090. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9091. 21:竞拍-大宗式 22:受托竞价
  9092. type: integer
  9093. tradeqty:
  9094. description: 成交数量
  9095. type: integer
  9096. vendorattr:
  9097. description: 供应商附件(多张,逗号分隔)
  9098. type: string
  9099. vendorname:
  9100. description: 供应商名称
  9101. type: string
  9102. vendorphone:
  9103. description: 供应商客服电话
  9104. type: string
  9105. videourls:
  9106. description: 介绍视频[多张用逗号分隔]
  9107. type: string
  9108. required:
  9109. - accountid
  9110. - buyorsell
  9111. - goodscode
  9112. - goodsid
  9113. - goodsname
  9114. - marketid
  9115. - orderid
  9116. - orderqty
  9117. - trademode
  9118. type: object
  9119. models.HsbyMarketInfo:
  9120. properties:
  9121. marketid:
  9122. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  9123. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  9124. type: integer
  9125. marketname:
  9126. description: 市场名称
  9127. type: string
  9128. marketstatus:
  9129. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  9130. type: integer
  9131. trademode:
  9132. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9133. 21:竞拍-大宗式 22:受托竞价
  9134. type: integer
  9135. required:
  9136. - marketid
  9137. - marketstatus
  9138. - trademode
  9139. type: object
  9140. models.HsbyMyGoods:
  9141. properties:
  9142. accountid:
  9143. description: 账号Id
  9144. type: integer
  9145. agreeunit:
  9146. description: 合约单位
  9147. type: number
  9148. buyaverageprice:
  9149. description: 持仓均价
  9150. type: number
  9151. buycurholderamount:
  9152. description: 买当前持仓总金额[商品币种]
  9153. type: number
  9154. buycurpositionqty:
  9155. description: 买当前持仓总数量
  9156. type: integer
  9157. buymaxqty:
  9158. description: 购买上限 [71] - 0为不限
  9159. type: integer
  9160. currencysign:
  9161. description: 货币符号
  9162. type: string
  9163. decimalplace:
  9164. description: 报价小数位
  9165. type: integer
  9166. enableqty:
  9167. description: 可用数量
  9168. type: integer
  9169. goodscode:
  9170. description: 商品代码(内部)
  9171. type: string
  9172. goodsid:
  9173. description: 商品Id
  9174. type: integer
  9175. goodsname:
  9176. description: 商品名称
  9177. type: string
  9178. goodsprice:
  9179. description: 商品价格
  9180. type: number
  9181. goodsstatus:
  9182. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  9183. type: integer
  9184. last:
  9185. description: 现价(仅使用于挂牌点选)
  9186. type: number
  9187. limitdown:
  9188. description: 跌停价(仅使用于挂牌点选)
  9189. type: number
  9190. limitup:
  9191. description: 涨停价(仅使用于挂牌点选)
  9192. type: number
  9193. lotsize:
  9194. description: 手数最小变动单位
  9195. type: integer
  9196. marketid:
  9197. description: 所属市场ID
  9198. type: integer
  9199. picurls:
  9200. description: 介绍图片[多张用逗号分隔]
  9201. type: string
  9202. quoteminunit:
  9203. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9204. type: integer
  9205. stepvalue:
  9206. description: 价格最小变动单位
  9207. type: number
  9208. trademode:
  9209. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9210. 21:竞拍-大宗式 22:受托竞价
  9211. type: integer
  9212. required:
  9213. - accountid
  9214. - goodscode
  9215. - goodsid
  9216. - goodsname
  9217. - marketid
  9218. - trademode
  9219. type: object
  9220. models.HsbyMyPackage:
  9221. properties:
  9222. accountid:
  9223. description: 账户ID
  9224. type: integer
  9225. address:
  9226. description: 提货人详细地址
  9227. type: string
  9228. agreeunit:
  9229. description: 合约单位
  9230. type: number
  9231. amount:
  9232. description: 提货金额
  9233. type: number
  9234. auditer:
  9235. description: 审核人
  9236. type: integer
  9237. audittime:
  9238. description: 审核时间
  9239. type: string
  9240. averageprice:
  9241. description: 均价
  9242. type: number
  9243. cardnum:
  9244. description: 提货人证件号码
  9245. type: string
  9246. cardtypeid:
  9247. description: 提货人证件类型
  9248. type: integer
  9249. checkremark:
  9250. description: 审核备注
  9251. type: string
  9252. currencysign:
  9253. description: 货币符号
  9254. type: string
  9255. decimalplace:
  9256. description: 报价小数位
  9257. type: integer
  9258. goodscode:
  9259. description: 商品代码(内部)
  9260. type: string
  9261. goodsid:
  9262. description: 商品ID
  9263. type: integer
  9264. goodsname:
  9265. description: 商品名称
  9266. type: string
  9267. handlestatus:
  9268. description: 处理状态
  9269. type: integer
  9270. marketid:
  9271. description: 市场ID
  9272. type: integer
  9273. phonenum:
  9274. description: 提货人联系方式
  9275. type: string
  9276. picurls:
  9277. description: 介绍图片[多张用逗号分隔]
  9278. type: string
  9279. qty:
  9280. description: 提货数量
  9281. type: number
  9282. recivername:
  9283. description: 提货人姓名
  9284. type: string
  9285. reqtime:
  9286. description: 更新时间
  9287. type: string
  9288. takemode:
  9289. description: 提货方式 - 2:自提 3:配送
  9290. type: integer
  9291. takeorderid:
  9292. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  9293. type: string
  9294. takeorderstatus:
  9295. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  9296. type: integer
  9297. takeremark:
  9298. description: 提货备注
  9299. type: string
  9300. tradedate:
  9301. description: 交易日(yyyyMMdd)
  9302. type: string
  9303. trademode:
  9304. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9305. 21:竞拍-大宗式 22:受托竞价
  9306. type: integer
  9307. userid:
  9308. description: 用户ID
  9309. type: integer
  9310. vendorname:
  9311. description: 供应商名称
  9312. type: string
  9313. required:
  9314. - goodscode
  9315. - goodsname
  9316. - takeorderid
  9317. - trademode
  9318. type: object
  9319. models.HsbyPreGoods:
  9320. properties:
  9321. agreeunit:
  9322. description: 合约单位
  9323. type: number
  9324. currency:
  9325. description: 货币
  9326. type: string
  9327. currencysign:
  9328. description: 货币符号
  9329. type: string
  9330. decimalplace:
  9331. description: 报价小数位
  9332. type: integer
  9333. desccityid:
  9334. description: 目的地(市)
  9335. type: integer
  9336. descprovinceid:
  9337. description: 目的地(省)
  9338. type: integer
  9339. enableqty:
  9340. description: 剩余数量
  9341. type: integer
  9342. goodscode:
  9343. description: 商品代码(内部)
  9344. type: string
  9345. goodsid:
  9346. description: 商品ID(自增ID SEQ_GOODS)
  9347. type: integer
  9348. goodsname:
  9349. description: 商品名称
  9350. type: string
  9351. goodsstatus:
  9352. description: 商品状态- 2:未上市 3:上市
  9353. type: integer
  9354. lasttradedate:
  9355. description: 最后交易日期(状态:待退市)
  9356. type: string
  9357. listingdate:
  9358. description: 交易开始日期
  9359. type: string
  9360. marketid:
  9361. description: 所属市场ID
  9362. type: integer
  9363. picurls:
  9364. description: 介绍图片[多张用逗号分隔]
  9365. type: string
  9366. presaledqty:
  9367. description: 已预售量(预售结束时更新)
  9368. type: integer
  9369. presaleqty:
  9370. description: 预售数量
  9371. type: integer
  9372. quoteminunit:
  9373. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9374. type: integer
  9375. refprice:
  9376. description: 参考价格[一口价]
  9377. type: number
  9378. relatedgoodsid:
  9379. description: 关联交易合约ID
  9380. type: integer
  9381. trademode:
  9382. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9383. 21:竞拍-大宗式 22:受托竞价
  9384. type: integer
  9385. videourls:
  9386. description: 介绍视频[多张用逗号分隔]
  9387. type: string
  9388. required:
  9389. - goodscode
  9390. - goodsid
  9391. - goodsname
  9392. - marketid
  9393. - trademode
  9394. type: object
  9395. models.HsbyPreGoodsDetail:
  9396. properties:
  9397. agreeunit:
  9398. description: 合约单位
  9399. type: number
  9400. buymaxqty:
  9401. description: 购买上限 [71] - 0为不限
  9402. type: integer
  9403. currency:
  9404. description: 货币
  9405. type: string
  9406. currencysign:
  9407. description: 货币符号
  9408. type: string
  9409. customername:
  9410. description: 发行单位
  9411. type: string
  9412. decimalplace:
  9413. description: 报价小数位
  9414. type: integer
  9415. desccityid:
  9416. description: 目的地(市)ID
  9417. type: integer
  9418. descprovinceid:
  9419. description: 目的地(省)ID
  9420. type: integer
  9421. enableqty:
  9422. description: 剩余数量
  9423. type: integer
  9424. goodscode:
  9425. description: 商品代码(内部)
  9426. type: string
  9427. goodsdesc:
  9428. description: 商品详情
  9429. type: string
  9430. goodsid:
  9431. description: 商品ID(自增ID SEQ_GOODS)
  9432. type: integer
  9433. goodsname:
  9434. description: 商品名称
  9435. type: string
  9436. goodsstatus:
  9437. description: 商品状态- 2:未上市 3:上市
  9438. type: integer
  9439. goodunit:
  9440. description: 报价单位
  9441. type: string
  9442. lasttradedate:
  9443. description: 最后交易日期(状态:待退市)
  9444. type: string
  9445. listingdate:
  9446. description: 交易开始日期
  9447. type: string
  9448. lotsize:
  9449. description: 手数最小变动单位
  9450. type: integer
  9451. marketid:
  9452. description: 所属市场ID
  9453. type: integer
  9454. picurls:
  9455. description: 介绍图片[多张用逗号分隔]
  9456. type: string
  9457. presaledqty:
  9458. description: 已预售量(预售结束时更新)
  9459. type: integer
  9460. presaleqty:
  9461. description: 预售数量
  9462. type: integer
  9463. quoteminunit:
  9464. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9465. type: integer
  9466. refprice:
  9467. description: 参考价格[一口价]
  9468. type: number
  9469. relatedgoodsid:
  9470. description: 关联交易合约ID
  9471. type: integer
  9472. stepvalue:
  9473. description: 价格最小变动单位
  9474. type: number
  9475. trademode:
  9476. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9477. 21:竞拍-大宗式 22:受托竞价
  9478. type: integer
  9479. vendorattr:
  9480. description: 供应商附件(多张,逗号分隔)
  9481. type: string
  9482. vendorname:
  9483. description: 供应商名称
  9484. type: string
  9485. vendorphone:
  9486. description: 供应商客服电话
  9487. type: string
  9488. videourls:
  9489. description: 介绍视频[多张用逗号分隔]
  9490. type: string
  9491. required:
  9492. - goodscode
  9493. - goodsid
  9494. - goodsname
  9495. - marketid
  9496. - trademode
  9497. type: object
  9498. models.HsbySellCollectionOrder:
  9499. properties:
  9500. agreeunit:
  9501. description: 合约单位
  9502. type: number
  9503. buyaccountid:
  9504. description: 买方账号ID[报价币种]
  9505. type: integer
  9506. buyorderid:
  9507. description: 买方委托单号
  9508. type: string
  9509. createtime:
  9510. description: 创建时间
  9511. type: string
  9512. currencysign:
  9513. description: 货币符号
  9514. type: string
  9515. decimalplace:
  9516. description: 报价小数位
  9517. type: integer
  9518. goodscode:
  9519. description: 商品代码(内部)
  9520. type: string
  9521. goodsid:
  9522. description: 商品ID
  9523. type: integer
  9524. goodsname:
  9525. description: 商品名称
  9526. type: string
  9527. marketid:
  9528. description: 市场ID
  9529. type: integer
  9530. offamount:
  9531. description: 优惠金额
  9532. type: number
  9533. payamount:
  9534. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  9535. type: number
  9536. payflag:
  9537. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  9538. type: integer
  9539. paylimitedtime:
  9540. description: 支付期限
  9541. type: string
  9542. paytime:
  9543. description: 付款时间
  9544. type: string
  9545. picurls:
  9546. description: 商品介绍图片[多张用逗号分隔]
  9547. type: string
  9548. sellaccountid:
  9549. description: 卖方账号ID[报价币种]
  9550. type: integer
  9551. sellorderid:
  9552. description: 卖方委托单号
  9553. type: string
  9554. tradeamount:
  9555. description: 成交金额
  9556. type: number
  9557. tradecharge:
  9558. description: 成交手续费(买方)
  9559. type: number
  9560. tradedate:
  9561. description: 交易日(yyyyMMdd)
  9562. type: string
  9563. tradeid:
  9564. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9565. type: string
  9566. trademode:
  9567. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9568. 21:竞拍-大宗式 22:受托竞价
  9569. type: integer
  9570. tradeprice:
  9571. description: 成交价格
  9572. type: number
  9573. tradeqty:
  9574. description: 成交数量
  9575. type: integer
  9576. required:
  9577. - goodscode
  9578. - goodsname
  9579. - tradeid
  9580. - trademode
  9581. type: object
  9582. models.HsbySellMyDetail:
  9583. properties:
  9584. accountid:
  9585. description: 账户ID[报价币种]
  9586. type: integer
  9587. agreeunit:
  9588. description: 合约单位
  9589. type: number
  9590. buyorsell:
  9591. description: 买卖 - 0:买 1:卖
  9592. type: integer
  9593. currencysign:
  9594. description: 货币符号
  9595. type: string
  9596. decimalplace:
  9597. description: 报价小数位
  9598. type: integer
  9599. goodscode:
  9600. description: 商品代码(内部)
  9601. type: string
  9602. goodsid:
  9603. description: 商品ID
  9604. type: integer
  9605. goodsname:
  9606. description: 商品名称
  9607. type: string
  9608. marketid:
  9609. description: 市场ID
  9610. type: integer
  9611. orderid:
  9612. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  9613. type: string
  9614. ordertype:
  9615. description: 单据类型:0 - 发布中, 1 - 已完成
  9616. type: integer
  9617. picurls:
  9618. description: 介绍图片[多张用逗号分隔]
  9619. type: string
  9620. price:
  9621. description: 价格
  9622. type: number
  9623. qty:
  9624. description: 数量
  9625. type: integer
  9626. time:
  9627. description: 时间
  9628. type: string
  9629. trademode:
  9630. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9631. 21:竞拍-大宗式 22:受托竞价
  9632. type: integer
  9633. vendorname:
  9634. description: 供应商名称
  9635. type: string
  9636. required:
  9637. - accountid
  9638. - buyorsell
  9639. - goodscode
  9640. - goodsid
  9641. - goodsname
  9642. - marketid
  9643. - orderid
  9644. - time
  9645. - trademode
  9646. type: object
  9647. models.HsbyTopGoods:
  9648. properties:
  9649. agreeunit:
  9650. description: 合约单位
  9651. type: number
  9652. currency:
  9653. description: 货币
  9654. type: string
  9655. currencysign:
  9656. description: 货币符号
  9657. type: string
  9658. decimalplace:
  9659. description: 报价小数位
  9660. type: integer
  9661. desccityid:
  9662. description: 目的地(市)
  9663. type: integer
  9664. descprovinceid:
  9665. description: 目的地(省)
  9666. type: integer
  9667. goodscode:
  9668. description: 商品代码(内部)
  9669. type: string
  9670. goodsid:
  9671. description: 商品ID(自增ID SEQ_GOODS)
  9672. type: integer
  9673. goodsname:
  9674. description: 商品名称
  9675. type: string
  9676. hotindex:
  9677. description: 景点热度
  9678. type: integer
  9679. last:
  9680. description: 现价
  9681. type: number
  9682. marketid:
  9683. description: 所属市场ID
  9684. type: integer
  9685. picurls:
  9686. description: 介绍图片[多张用逗号分隔]
  9687. type: string
  9688. quoteminunit:
  9689. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9690. type: integer
  9691. trademode:
  9692. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9693. 21:竞拍-大宗式 22:受托竞价
  9694. type: integer
  9695. videourls:
  9696. description: 介绍视频[多张用逗号分隔]
  9697. type: string
  9698. required:
  9699. - goodscode
  9700. - goodsid
  9701. - goodsname
  9702. - marketid
  9703. - trademode
  9704. type: object
  9705. models.HybsMyBuyOrderDetail:
  9706. properties:
  9707. accountid:
  9708. description: 账户ID[报价币种]
  9709. type: integer
  9710. agreeunit:
  9711. description: 合约单位
  9712. type: number
  9713. buyorsell:
  9714. description: 买卖 - 0:买 1:卖
  9715. type: integer
  9716. cancelqty:
  9717. description: 撤单数量
  9718. type: integer
  9719. currencysign:
  9720. description: 货币符号
  9721. type: string
  9722. decimalplace:
  9723. description: 报价小数位
  9724. type: integer
  9725. goodscode:
  9726. description: 商品代码(内部)
  9727. type: string
  9728. goodsid:
  9729. description: 商品ID
  9730. type: integer
  9731. goodsname:
  9732. description: 商品名称
  9733. type: string
  9734. listingselecttype:
  9735. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9736. type: integer
  9737. marketid:
  9738. description: 市场ID
  9739. type: integer
  9740. mybuystatus:
  9741. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  9742. type: integer
  9743. orderamount:
  9744. description: 委托金额
  9745. type: number
  9746. orderid:
  9747. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9748. type: string
  9749. orderprice:
  9750. description: 委托价格
  9751. type: number
  9752. orderqty:
  9753. description: 委托数量
  9754. type: integer
  9755. orderstatus:
  9756. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  9757. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  9758. 16:成交失败违约(荷兰式竞拍专用)
  9759. type: integer
  9760. ordertime:
  9761. description: 委托时间
  9762. type: string
  9763. picurls1:
  9764. description: 预售商品介绍图片[多张用逗号分隔]
  9765. type: string
  9766. picurls2:
  9767. description: 挂牌商品介绍图片[多张用逗号分隔]
  9768. type: string
  9769. trademode:
  9770. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9771. 21:竞拍-大宗式 22:受托竞价
  9772. type: integer
  9773. tradeqty:
  9774. description: 成交数量
  9775. type: integer
  9776. vendorname1:
  9777. description: 预售商品供应商名称
  9778. type: string
  9779. vendorname2:
  9780. description: 挂牌商品供应商名称
  9781. type: string
  9782. required:
  9783. - accountid
  9784. - buyorsell
  9785. - goodscode
  9786. - goodsid
  9787. - goodsname
  9788. - marketid
  9789. - orderid
  9790. - orderqty
  9791. - ordertime
  9792. - trademode
  9793. type: object
  9794. models.Loginaccount:
  9795. properties:
  9796. accountname:
  9797. description: 账户名称
  9798. type: string
  9799. canoutin:
  9800. description: 是否可出入金 - 0:不可 1:可
  9801. type: integer
  9802. clientroleid:
  9803. description: 终端角色ID
  9804. type: integer
  9805. haslogined:
  9806. description: 是否已登录 - 0:未登录 1:已登录
  9807. type: integer
  9808. hasupdatedpwd:
  9809. description: 是否已更改密码 - 0:未修改 1:已修改
  9810. type: integer
  9811. lastloginip:
  9812. description: 最新登录地址
  9813. type: string
  9814. lastloginmode:
  9815. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  9816. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  9817. type: integer
  9818. lastloginremark:
  9819. description: 最新登录描述
  9820. type: string
  9821. lastlogintime:
  9822. description: 最新登录时间
  9823. type: string
  9824. logincode:
  9825. description: 登录代码
  9826. type: string
  9827. loginfailnum:
  9828. description: 连续登录失败次数(登录成功时清零)
  9829. type: integer
  9830. loginid:
  9831. description: 登陆账号
  9832. type: integer
  9833. loginport:
  9834. description: 最新登录端口
  9835. type: integer
  9836. loginstatus:
  9837. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  9838. type: integer
  9839. loginusertype:
  9840. description: 登录账号类型 - 1:投资者 2:机构交易员
  9841. type: integer
  9842. mobile:
  9843. description: 手机号码(加密存储)
  9844. type: string
  9845. modifierid:
  9846. description: 修改人
  9847. type: integer
  9848. modifysrc:
  9849. description: 审核来源 - 1:管理端 2:终端
  9850. type: integer
  9851. modifytime:
  9852. description: 修改时间
  9853. type: string
  9854. password:
  9855. description: 登陆密码
  9856. type: string
  9857. pwdwrongcount:
  9858. description: 密码错误次数
  9859. type: integer
  9860. relateduserid:
  9861. description: 关联用户ID(机构)
  9862. type: integer
  9863. taaccountrighttype:
  9864. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  9865. type: integer
  9866. unfreezetime:
  9867. description: 账户解冻时间
  9868. type: string
  9869. userid:
  9870. description: 用户ID
  9871. type: integer
  9872. required:
  9873. - loginid
  9874. type: object
  9875. models.MainAccountInfo:
  9876. properties:
  9877. accountid:
  9878. description: 账号id
  9879. type: integer
  9880. accountname:
  9881. description: 账号名称(taaccount表中的名称)
  9882. type: string
  9883. appid:
  9884. description: AppID
  9885. type: string
  9886. authcode:
  9887. description: 授权码
  9888. type: string
  9889. brokerid:
  9890. description: 经纪商id
  9891. type: string
  9892. fcid:
  9893. description: 期货公司id
  9894. type: integer
  9895. fcname:
  9896. description: 期货公司代码
  9897. type: string
  9898. hedgeaccountcode:
  9899. description: 外部账号代码(主账号登录代码)
  9900. type: string
  9901. hedgeaccountpwd:
  9902. description: 密码
  9903. type: string
  9904. ismain:
  9905. description: 是否主账号
  9906. type: integer
  9907. relateduserid:
  9908. description: 关联用户id
  9909. type: integer
  9910. userid:
  9911. description: 关联用户id
  9912. type: integer
  9913. type: object
  9914. models.Market:
  9915. properties:
  9916. auctionwrtype:
  9917. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  9918. type: integer
  9919. canacceptquote:
  9920. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  9921. type: integer
  9922. cangoodsexercise:
  9923. description: '[期权]是否可现货行权- 0:否 1:是'
  9924. type: integer
  9925. cangoodsexercisetype:
  9926. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  9927. type: integer
  9928. canmanualquotestrike:
  9929. description: 是否可手动报行权价- 0:否 1:是 [期权]
  9930. type: integer
  9931. canmutistage:
  9932. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  9933. type: integer
  9934. canpreexercise:
  9935. description: '[期权]是否可预申报- 0:否 1:是'
  9936. type: integer
  9937. clearinterval:
  9938. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  9939. type: integer
  9940. contracttmp:
  9941. description: 合同模板[荷兰式][竞价式][仓单贸易]
  9942. type: string
  9943. exchareaid:
  9944. description: 所属交易所,可以没有
  9945. type: integer
  9946. goodstype:
  9947. description: 商品类型 - 1:交易商品 2:仓单商品
  9948. type: integer
  9949. hasrebate:
  9950. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  9951. type: integer
  9952. hastradecredit:
  9953. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  9954. type: integer
  9955. haswr:
  9956. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  9957. type: integer
  9958. isdeductmargin:
  9959. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  9960. type: integer
  9961. isrecordsource:
  9962. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  9963. type: integer
  9964. isreleasemargin:
  9965. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  9966. type: integer
  9967. marginformula:
  9968. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9969. type: integer
  9970. marginformula2:
  9971. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9972. type: integer
  9973. marketid:
  9974. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  9975. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  9976. type: integer
  9977. marketname:
  9978. description: 市场名称
  9979. type: string
  9980. marketserviceid:
  9981. description: 市场服务ID
  9982. type: integer
  9983. marketstatus:
  9984. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  9985. type: integer
  9986. markettype:
  9987. description: 市场类型- 1:非交易服务 2:交易服务
  9988. type: integer
  9989. matchermode:
  9990. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  9991. type: integer
  9992. openmethod:
  9993. description: 开盘模式 - 0 自动 1手动
  9994. type: integer
  9995. otcuserid:
  9996. description: 场外期权做市商[场外期权]
  9997. type: integer
  9998. outersynctime:
  9999. description: 外部同步时间点(h24:mi:ss)[场外期权]
  10000. type: string
  10001. pendingflag:
  10002. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  10003. type: integer
  10004. pendingtime:
  10005. description: 待开市时间[通道交易-对冲](HH:mm)
  10006. type: string
  10007. performancetempid:
  10008. description: 履约计划模板ID - 作废
  10009. type: integer
  10010. premiumquotemode:
  10011. description: 权利金报价方式 - 1:自动 2:手动
  10012. type: integer
  10013. rebateratio:
  10014. description: 返利比率[竞价式]
  10015. type: number
  10016. reckonorder:
  10017. description: 结算顺序
  10018. type: integer
  10019. reckonpricealgorithm:
  10020. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  10021. 6.卖一价 7.买一卖一均价 8.外部结算价'
  10022. type: integer
  10023. reckonpriceparam:
  10024. description: 结算价参数
  10025. type: integer
  10026. reckontime:
  10027. description: 结算时间[通道交易-对冲](HH:mm)
  10028. type: string
  10029. roleprioritytype:
  10030. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  10031. type: integer
  10032. selllistingauditflag:
  10033. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  10034. type: integer
  10035. trademarkettype:
  10036. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  10037. type: integer
  10038. trademode:
  10039. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  10040. 21:竞拍-大宗式 22:受托竞价
  10041. type: integer
  10042. tradeproperty:
  10043. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  10044. 8:场外期权
  10045. type: integer
  10046. tradetype:
  10047. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  10048. type: integer
  10049. required:
  10050. - marketid
  10051. - marketstatus
  10052. - openmethod
  10053. - reckonpricealgorithm
  10054. - trademode
  10055. - tradeproperty
  10056. type: object
  10057. models.Marketrun:
  10058. properties:
  10059. afternexttradedate:
  10060. description: 下下交易日
  10061. type: string
  10062. clearquoteflag:
  10063. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  10064. type: integer
  10065. lastreckondate:
  10066. description: 最新交易日(结算成功)
  10067. type: string
  10068. machinedate:
  10069. description: 机器时间
  10070. type: string
  10071. manualflag:
  10072. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  10073. type: integer
  10074. marketid:
  10075. description: 市场ID
  10076. type: integer
  10077. nexttradedate:
  10078. description: 下一交易日
  10079. type: string
  10080. pretradedate:
  10081. description: 上一交易日
  10082. type: string
  10083. reckonflag:
  10084. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  10085. type: integer
  10086. runstatus:
  10087. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  10088. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  10089. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  10090. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  10091. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  10092. 62.今日免清算
  10093. type: integer
  10094. sectionid:
  10095. description: 时间段号[多时段时用]
  10096. type: integer
  10097. tradedate:
  10098. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  10099. type: string
  10100. tradedate2:
  10101. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  10102. type: string
  10103. updatetime:
  10104. description: 更新时间
  10105. type: string
  10106. required:
  10107. - marketid
  10108. - nexttradedate
  10109. - reckonflag
  10110. - runstatus
  10111. - tradedate
  10112. - tradedate2
  10113. type: object
  10114. models.Messageboard:
  10115. properties:
  10116. contactnum:
  10117. description: 联系电话
  10118. type: string
  10119. createtime:
  10120. description: 创建时间
  10121. type: string
  10122. message:
  10123. description: 留言信息
  10124. type: string
  10125. messageboardid:
  10126. description: 留言簿ID(SEQ_MessageBoard)
  10127. type: integer
  10128. userid:
  10129. description: 用户ID
  10130. type: integer
  10131. required:
  10132. - messageboardid
  10133. type: object
  10134. models.MyCoupon:
  10135. properties:
  10136. accountid:
  10137. description: 资金账户ID
  10138. type: integer
  10139. areauserid:
  10140. description: 所属机构
  10141. type: integer
  10142. conditionvalue:
  10143. description: 条件阈值(可为0)
  10144. type: number
  10145. couponcategroy:
  10146. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  10147. type: integer
  10148. couponname:
  10149. description: 优惠券名称
  10150. type: string
  10151. coupontypeid:
  10152. description: 优惠券类型ID
  10153. type: string
  10154. couponvalue:
  10155. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  10156. type: number
  10157. curfreezeqty:
  10158. description: 期末冻结数量
  10159. type: integer
  10160. curqty:
  10161. description: 期末数量
  10162. type: integer
  10163. isgeneral:
  10164. description: 是否通用券 - 0:否 1:是
  10165. type: integer
  10166. isunusable:
  10167. description: 是否不可用
  10168. type: boolean
  10169. limitedflag:
  10170. description: 是否指定商品 - 0:不限 1:限制
  10171. type: integer
  10172. limitedgoodsids:
  10173. description: 指定商品IDs[逗号分隔,前后加逗号]
  10174. type: string
  10175. orifreezeqty:
  10176. description: 期初冻结数量
  10177. type: integer
  10178. oriqty:
  10179. description: 期初数量
  10180. type: integer
  10181. reasontype:
  10182. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  10183. type: integer
  10184. todaydecrease:
  10185. description: 今日减少
  10186. type: integer
  10187. todayincrease:
  10188. description: 今日增加
  10189. type: integer
  10190. userid:
  10191. description: 用户ID
  10192. type: integer
  10193. userscope:
  10194. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  10195. type: string
  10196. required:
  10197. - accountid
  10198. - coupontypeid
  10199. type: object
  10200. models.MyCouponHold:
  10201. properties:
  10202. accountid:
  10203. description: 资金账户ID
  10204. type: integer
  10205. conditionvalue:
  10206. description: 条件阈值(可为0)
  10207. type: number
  10208. couponcategroy:
  10209. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  10210. type: integer
  10211. couponholdid:
  10212. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  10213. type: string
  10214. couponname:
  10215. description: 优惠券名称
  10216. type: string
  10217. coupontypeid:
  10218. description: 优惠券类型ID - SEQ_COUPONTYPE
  10219. type: string
  10220. couponvalue:
  10221. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  10222. type: number
  10223. createtime:
  10224. description: 创建时间
  10225. type: string
  10226. enddate:
  10227. description: 结束日期
  10228. type: string
  10229. giveapplyid:
  10230. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  10231. type: integer
  10232. holdstatus:
  10233. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  10234. type: integer
  10235. isgeneral:
  10236. description: 是否通用券 - 0:否 1:是
  10237. type: integer
  10238. limitedflag:
  10239. description: 是否指定商品 - 0:不限 1:限制
  10240. type: integer
  10241. limitedgoodsids:
  10242. description: 指定商品IDs[逗号分隔]
  10243. type: string
  10244. qty:
  10245. description: 数量(按1平铺)
  10246. type: integer
  10247. startdate:
  10248. description: 开始日期
  10249. type: string
  10250. userid:
  10251. description: 用户ID
  10252. type: integer
  10253. userscope:
  10254. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  10255. type: string
  10256. required:
  10257. - couponholdid
  10258. type: object
  10259. models.MyUsedCoupon:
  10260. properties:
  10261. accountid:
  10262. description: 资金账户ID(买方)
  10263. type: integer
  10264. conditionvalue:
  10265. description: 条件阈值(可为0)
  10266. type: number
  10267. couponcategroy:
  10268. description: 种类 - 1:现金券 2:折扣券
  10269. type: integer
  10270. couponname:
  10271. description: 优惠券名称
  10272. type: string
  10273. coupontypeid:
  10274. description: 优惠券类型ID(买方)
  10275. type: string
  10276. couponvalue:
  10277. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  10278. type: number
  10279. createtime:
  10280. description: 创建时间
  10281. type: string
  10282. goodsid:
  10283. description: 商品ID
  10284. type: integer
  10285. handlestatus:
  10286. description: 处理状态
  10287. type: integer
  10288. marketid:
  10289. description: 市场ID
  10290. type: integer
  10291. offamount:
  10292. description: 优惠金额
  10293. type: number
  10294. orderid:
  10295. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10296. type: string
  10297. sellaccountid:
  10298. description: 资金账户ID(卖方)
  10299. type: integer
  10300. tradeamount:
  10301. description: 成交金额
  10302. type: number
  10303. tradeid:
  10304. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10305. type: string
  10306. usedqty:
  10307. description: 使用数量
  10308. type: integer
  10309. required:
  10310. - coupontypeid
  10311. - orderid
  10312. type: object
  10313. models.OperationPrimaryMenu:
  10314. properties:
  10315. Children:
  10316. description: 二级功能菜单
  10317. items:
  10318. $ref: '#/definitions/models.OperationSecondaryMenu'
  10319. type: array
  10320. Key:
  10321. description: 菜单KEY
  10322. type: string
  10323. Label:
  10324. description: 菜单标题
  10325. type: string
  10326. type: object
  10327. models.OperationSecondaryMenu:
  10328. properties:
  10329. Key:
  10330. description: 菜单KEY
  10331. type: string
  10332. Label:
  10333. description: 菜单标题
  10334. type: string
  10335. TabList:
  10336. description: 三级功能菜单
  10337. items:
  10338. $ref: '#/definitions/models.OperationTabMenu'
  10339. type: array
  10340. type: object
  10341. models.OperationTabMenu:
  10342. properties:
  10343. Key:
  10344. description: 菜单KEY
  10345. type: string
  10346. Label:
  10347. description: 菜单标题
  10348. type: string
  10349. type: object
  10350. models.QhjAccountOutInApply:
  10351. properties:
  10352. accountcode:
  10353. description: 资金账号
  10354. type: string
  10355. accountname:
  10356. description: 用户名称(名称)
  10357. type: string
  10358. accountpwd:
  10359. description: 资金密码
  10360. type: string
  10361. accountticket:
  10362. description: 最新账户服务流水号
  10363. type: string
  10364. amount:
  10365. description: 金额
  10366. type: number
  10367. applyremark:
  10368. description: 申请备注
  10369. type: string
  10370. applystatus:
  10371. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  10372. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  10373. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  10374. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  10375. type: integer
  10376. auditid:
  10377. description: 审核人
  10378. type: integer
  10379. audittime:
  10380. description: 审核时间
  10381. type: string
  10382. bank_apply_ticket:
  10383. description: 银行申请流水
  10384. type: string
  10385. bankaccountname:
  10386. description: 银行账户名
  10387. type: string
  10388. bankaccountno:
  10389. description: 银行卡号
  10390. type: string
  10391. bankid:
  10392. description: 银行编号
  10393. type: string
  10394. bankticket:
  10395. description: 银行流水
  10396. type: string
  10397. branchbankid:
  10398. description: 银行支行号
  10399. type: string
  10400. branchbankname:
  10401. description: 银行支行名称
  10402. type: string
  10403. capamountout:
  10404. description: 出金(劣后本金) - 外部子账户
  10405. type: number
  10406. certificatephotourl:
  10407. description: 凭证地址
  10408. type: string
  10409. charge:
  10410. description: 手续费
  10411. type: number
  10412. checkerrorflag:
  10413. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  10414. type: integer
  10415. currency:
  10416. description: 币种
  10417. type: string
  10418. cusbankid:
  10419. description: 托管银行编号
  10420. type: string
  10421. exchticket:
  10422. description: 银行服务流水号
  10423. type: string
  10424. executetype:
  10425. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  10426. 7:外部子账户:入金 8:外部子账户:出金'
  10427. type: integer
  10428. extendinfo:
  10429. description: 扩展信息
  10430. type: string
  10431. extoperateid:
  10432. description: 交易服务流水号
  10433. type: integer
  10434. infamount:
  10435. description: 劣后金额(自有)
  10436. type: number
  10437. logincode:
  10438. description: 登录账号(账号)
  10439. type: string
  10440. netaddr:
  10441. description: 调转网址
  10442. type: string
  10443. priamount:
  10444. description: 优先金额(授信)
  10445. type: number
  10446. reauditid:
  10447. description: 复审人
  10448. type: integer
  10449. reauditremark:
  10450. description: 复审备注
  10451. type: string
  10452. reaudittime:
  10453. description: 复审时间
  10454. type: string
  10455. relatedorderid:
  10456. description: 三方关联ID
  10457. type: string
  10458. remark:
  10459. description: 备注
  10460. type: string
  10461. remark2:
  10462. description: 备注(失败原因)
  10463. type: string
  10464. soucreamount:
  10465. description: 原始出入金金额
  10466. type: number
  10467. soucrecurrencyid:
  10468. description: 原始出入金币种
  10469. type: integer
  10470. tradedate:
  10471. description: 交易日(yyyyMMdd)
  10472. type: string
  10473. updatetime:
  10474. description: 更新时间(申请时间)
  10475. type: string
  10476. userid:
  10477. description: 用户id
  10478. type: integer
  10479. userinfotype:
  10480. description: 账户类型 1-个人 2-企业
  10481. type: integer
  10482. type: object
  10483. models.QhjAgreementChangeLog:
  10484. properties:
  10485. agreementcontent:
  10486. description: 协议内容
  10487. type: string
  10488. agreementfrequency:
  10489. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  10490. type: integer
  10491. agreementid:
  10492. description: 协议ID
  10493. type: integer
  10494. agreementname:
  10495. description: 协议名称
  10496. type: string
  10497. agreementno:
  10498. description: 协议编号
  10499. type: string
  10500. agreementtype:
  10501. description: 协议类型 - 1:注册 2:登录 3:交易
  10502. type: integer
  10503. agreementversion:
  10504. description: 协议版本号
  10505. type: integer
  10506. logid:
  10507. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  10508. type: integer
  10509. reviserid:
  10510. description: 修改人
  10511. type: integer
  10512. revisersrc:
  10513. description: 修改来源 - 1:管理端 2:终端
  10514. type: integer
  10515. updatetime:
  10516. description: 更新时间
  10517. type: string
  10518. type: object
  10519. models.QhjAgreementConfig:
  10520. properties:
  10521. agreementcontent:
  10522. description: 协议内容
  10523. type: string
  10524. agreementfrequency:
  10525. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  10526. type: integer
  10527. agreementid:
  10528. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  10529. type: integer
  10530. agreementname:
  10531. description: 协议名称
  10532. type: string
  10533. agreementno:
  10534. description: 协议编号
  10535. type: string
  10536. agreementtype:
  10537. description: 协议类型 - 1:注册 2:登录 3:交易
  10538. type: integer
  10539. agreementversion:
  10540. description: 协议版本号(从1开始每次修改加1)
  10541. type: integer
  10542. createtime:
  10543. description: 创建时间
  10544. type: string
  10545. creatorid:
  10546. description: 创建人
  10547. type: integer
  10548. creatorsrc:
  10549. description: 创建来源 - 1:管理端 2:终端
  10550. type: integer
  10551. isvalid:
  10552. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  10553. type: integer
  10554. reviserid:
  10555. description: 修改人
  10556. type: integer
  10557. revisersrc:
  10558. description: 修改来源 - 1:管理端 2:终端
  10559. type: integer
  10560. updatetime:
  10561. description: 更新时间
  10562. type: string
  10563. type: object
  10564. models.QhjAreaFinanceConfig:
  10565. properties:
  10566. additionalratio:
  10567. description: 追加款比例
  10568. type: number
  10569. advanceratio:
  10570. description: 预付款比例
  10571. type: number
  10572. alarmratio:
  10573. description: 告警比例
  10574. type: number
  10575. consumptiondirectreward:
  10576. description: 消费直推奖励值
  10577. type: number
  10578. consumptionenabled:
  10579. description: 是否启用消费奖励 - 0:不启用 1:启用
  10580. type: integer
  10581. consumptionindirectreward:
  10582. description: 消费间推奖励值
  10583. type: number
  10584. consumptionmodel:
  10585. description: 消费奖励方式 - 1:比率 2:固定
  10586. type: integer
  10587. customerservicenum:
  10588. description: 客服电话
  10589. type: string
  10590. dayinterestrate:
  10591. description: 日利率
  10592. type: number
  10593. disableconsumptiontips:
  10594. description: 关闭消费奖励提示
  10595. type: string
  10596. modifierid:
  10597. description: 修改人ID
  10598. type: integer
  10599. modifysrc:
  10600. description: 审核来源 - 1:管理端 2:终端
  10601. type: integer
  10602. modifytime:
  10603. description: 修改时间
  10604. type: string
  10605. promotionvalue:
  10606. description: 推广奖励值(固定)
  10607. type: number
  10608. scoreconfigvalue1:
  10609. description: 提货积分配置1
  10610. type: integer
  10611. scoreconfigvalue2:
  10612. description: 提货积分配置2
  10613. type: integer
  10614. userid:
  10615. description: 机构用户ID其他做市关系,都设置为 1
  10616. type: integer
  10617. username:
  10618. description: 用户名称
  10619. type: string
  10620. type: object
  10621. models.QhjBankAccountSign:
  10622. properties:
  10623. accountcode:
  10624. description: 资金账号
  10625. type: string
  10626. accountname:
  10627. description: 资金账号对应的账号名(UserName)
  10628. type: string
  10629. accountname2:
  10630. description: 资金账号对应的账号名(UserName) - 密文
  10631. type: string
  10632. accounttype:
  10633. description: 账户类型(UserType)
  10634. type: integer
  10635. applicationtime:
  10636. description: 最后一次更新的时间
  10637. type: string
  10638. applyexchticket:
  10639. description: 申请流水
  10640. type: string
  10641. auditid:
  10642. description: 审核人
  10643. type: integer
  10644. audittime:
  10645. description: 审核时间
  10646. type: string
  10647. bankaccountname:
  10648. description: 签约银行卡账号名
  10649. type: string
  10650. bankaccountname2:
  10651. description: 签约银行卡账号名 - 密文
  10652. type: string
  10653. bankaccountno:
  10654. description: 银行卡号
  10655. type: string
  10656. bankaccountno2:
  10657. description: 银行卡号 - 密文
  10658. type: string
  10659. bankaccounttype:
  10660. description: 银行账户类型 - 1-对私; 2-对公
  10661. type: integer
  10662. bankcardtype:
  10663. description: 银行卡类型
  10664. type: integer
  10665. bankchildaccount:
  10666. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  10667. type: string
  10668. bankcity:
  10669. description: 开户行城市
  10670. type: string
  10671. bankid:
  10672. description: 签约银行ID
  10673. type: string
  10674. bankname:
  10675. description: 签约银行名称
  10676. type: string
  10677. bankprovince:
  10678. description: 开户行省份
  10679. type: string
  10680. branchbankid:
  10681. description: 签约银行支行号
  10682. type: string
  10683. branchbankname:
  10684. description: 签约银行支行名称
  10685. type: string
  10686. cardno:
  10687. description: 证件号码
  10688. type: string
  10689. cardno2:
  10690. description: 证件号码 - 密文
  10691. type: string
  10692. cardtype:
  10693. description: 证件类型
  10694. type: string
  10695. currency:
  10696. description: 币种
  10697. type: string
  10698. cusbankid:
  10699. description: 托管银行编号
  10700. type: string
  10701. direct:
  10702. description: 方向(可以判断那方先发起的签约)
  10703. type: integer
  10704. exchticket:
  10705. description: 最后一次签约成功的流水号
  10706. type: string
  10707. extendinfo:
  10708. description: 扩展信息(JSON字符串)
  10709. type: string
  10710. mobilephone:
  10711. description: 手机号
  10712. type: string
  10713. mobilephone2:
  10714. description: 手机号 - 密文
  10715. type: string
  10716. netaddr:
  10717. description: 调转网址
  10718. type: string
  10719. relateduserid:
  10720. description: 关联使用者userid
  10721. type: integer
  10722. signstatus:
  10723. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  10724. 10:审核拒绝 11:换签待审核
  10725. type: integer
  10726. updatetime:
  10727. description: 更新时间(签解约更新时间)
  10728. type: string
  10729. type: object
  10730. models.QhjBankInfo:
  10731. properties:
  10732. bankid:
  10733. description: 银行ID
  10734. type: string
  10735. bankname:
  10736. description: 银行名称
  10737. type: string
  10738. clearbankno:
  10739. description: 清算系统银行编号
  10740. type: string
  10741. orderindex:
  10742. description: 排序顺序
  10743. type: integer
  10744. status:
  10745. description: 状态 - 0:正常 1:注销
  10746. type: integer
  10747. type: object
  10748. models.QhjBrokerApply:
  10749. properties:
  10750. applicantid:
  10751. description: 申请人
  10752. type: integer
  10753. applysrc:
  10754. description: 申请来源 - 1:管理端 2:终端
  10755. type: integer
  10756. applystatus:
  10757. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  10758. type: integer
  10759. applytime:
  10760. description: 申请时间
  10761. type: string
  10762. auditorid:
  10763. description: 审核人
  10764. type: integer
  10765. auditremark:
  10766. description: 审核备注
  10767. type: string
  10768. auditsrc:
  10769. description: 审核来源 - 1:管理端 2:终端
  10770. type: integer
  10771. audittime:
  10772. description: 审核时间
  10773. type: string
  10774. audittradedate:
  10775. description: 审核交易日(yyyyMMdd)
  10776. type: string
  10777. brokerapplyid:
  10778. description: 申请ID(SEQ_BROKERAPPLY)
  10779. type: integer
  10780. cardbackphotourl:
  10781. description: 证件背面图片地址
  10782. type: string
  10783. cardfrontphotourl:
  10784. description: 证件正面图片地址
  10785. type: string
  10786. cardnum:
  10787. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  10788. type: string
  10789. customername:
  10790. description: 姓名
  10791. type: string
  10792. logincode:
  10793. description: 登录代码
  10794. type: string
  10795. mobile:
  10796. description: 手机号码
  10797. type: string
  10798. parentuserid:
  10799. description: 所属机构id
  10800. type: integer
  10801. parentusername:
  10802. description: 所属机构名称
  10803. type: string
  10804. refereeuserid:
  10805. description: 推荐人id(经纪人)
  10806. type: integer
  10807. refernum:
  10808. description: 推荐码
  10809. type: string
  10810. remark:
  10811. description: 备注
  10812. type: string
  10813. subarealevelpath:
  10814. description: 层级路径
  10815. type: string
  10816. tradedate:
  10817. description: 交易日(yyyyMMdd)
  10818. type: string
  10819. userid:
  10820. description: 申请人用户ID
  10821. type: integer
  10822. userinfotype:
  10823. description: 用户类型 1-个人 2-企业
  10824. type: integer
  10825. username:
  10826. description: 用户名称
  10827. type: string
  10828. type: object
  10829. models.QhjBrokerApplyEx:
  10830. properties:
  10831. applylist:
  10832. description: 经纪人申请记录(只返回最新一条)
  10833. items:
  10834. $ref: '#/definitions/models.QhjBrokerApply'
  10835. type: array
  10836. canrecommend:
  10837. description: 是否经纪人 0-不是 1-是
  10838. type: integer
  10839. refernum:
  10840. description: 推荐码
  10841. type: string
  10842. userid:
  10843. description: 用户id
  10844. type: integer
  10845. userinfotype:
  10846. description: 用户类型 1-个人 2-企业
  10847. type: integer
  10848. type: object
  10849. models.QhjBrokerRewardLog:
  10850. properties:
  10851. accountid:
  10852. description: 资金账号ID
  10853. type: integer
  10854. createtime:
  10855. description: 创建时间(时间)
  10856. type: string
  10857. handlestatus:
  10858. description: 处理状态
  10859. type: integer
  10860. logid:
  10861. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10862. type: string
  10863. marketid:
  10864. description: 市场ID
  10865. type: integer
  10866. mmaccountid:
  10867. description: 做市商资金账号ID
  10868. type: string
  10869. mmuserid:
  10870. description: 做市商用户ID
  10871. type: string
  10872. rewardamount:
  10873. description: 奖励金额
  10874. type: number
  10875. rewardmodel:
  10876. description: 消费奖励方式 - 1:比率 2:固定
  10877. type: integer
  10878. rewardtype:
  10879. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  10880. type: integer
  10881. rewardvalue:
  10882. description: 配置奖励值
  10883. type: number
  10884. srcamount:
  10885. description: 成交金额 [消费奖励] (金额)
  10886. type: number
  10887. srcgoodsid:
  10888. description: 来源商品ID [消费奖励]
  10889. type: string
  10890. srctime:
  10891. description: 来源时间 (成交时间) [消费奖励]
  10892. type: string
  10893. srctradeid:
  10894. description: 来源成交单ID [消费奖励] - 排除提货成交
  10895. type: string
  10896. srcuserid:
  10897. description: 来源用户ID(推广账户)
  10898. type: string
  10899. srcusername:
  10900. description: 推广账户名称
  10901. type: string
  10902. tradedate:
  10903. description: 交易日(yyyyMMdd)
  10904. type: string
  10905. userid:
  10906. description: 经纪人用户ID
  10907. type: integer
  10908. type: object
  10909. models.QhjContract:
  10910. properties:
  10911. contractconfirmtime:
  10912. description: 合同确认时间(时间)
  10913. type: string
  10914. currisklevel:
  10915. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  10916. type: integer
  10917. decimalplace:
  10918. description: 商品报价小数位
  10919. type: integer
  10920. enumdicname:
  10921. description: 单位名称
  10922. type: string
  10923. goodscode:
  10924. description: 商品代码
  10925. type: string
  10926. goodsid:
  10927. description: 商品ID [5:融资单]
  10928. type: integer
  10929. goodsname:
  10930. description: 商品名称
  10931. type: string
  10932. goodunitid:
  10933. description: 商品单位id
  10934. type: integer
  10935. initmargin:
  10936. description: 初始保证金(首付款)
  10937. type: number
  10938. lenderamount:
  10939. description: 贷款金额(总额|订单总额)
  10940. type: number
  10941. marginratio:
  10942. description: 保证金比率(首付比例)
  10943. type: number
  10944. payamount:
  10945. description: 已付(已付货款)
  10946. type: number
  10947. reckonrecovermargin:
  10948. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10949. type: number
  10950. recoveredmargin:
  10951. description: 已追缴保证金
  10952. type: number
  10953. remainamount:
  10954. description: 合同剩余金额(融资额)
  10955. type: number
  10956. scfcontractid:
  10957. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10958. type: string
  10959. scfcontractstatus:
  10960. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  10961. 9:违约结束 10:已注销 11:已关闭 99:未提交
  10962. type: integer
  10963. scfcontracttype:
  10964. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10965. type: integer
  10966. totalinterest:
  10967. description: 已计总利息(利息)
  10968. type: number
  10969. tradeprice:
  10970. description: 成交价格(成本价格)
  10971. type: number
  10972. userid:
  10973. description: 用户ID
  10974. type: integer
  10975. username:
  10976. description: 用户名称
  10977. type: string
  10978. wrqty:
  10979. description: 仓单数量(数量)
  10980. type: number
  10981. type: object
  10982. models.QhjContractLog:
  10983. properties:
  10984. amount:
  10985. description: 支付金额
  10986. type: number
  10987. amounttype:
  10988. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  10989. type: integer
  10990. logid:
  10991. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10992. type: string
  10993. remainamount:
  10994. description: 剩余货款
  10995. type: number
  10996. scfcontractid:
  10997. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10998. type: integer
  10999. updatetime:
  11000. description: 更新时间
  11001. type: string
  11002. type: object
  11003. models.QhjCusBankSignBankEx:
  11004. properties:
  11005. banklst:
  11006. description: 银行列表
  11007. items:
  11008. $ref: '#/definitions/models.QhjBankInfo'
  11009. type: array
  11010. canallot:
  11011. description: 是否支持跨行调拨 - 0:不支持 1:支持
  11012. type: integer
  11013. canallotquery:
  11014. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  11015. type: integer
  11016. canbindcard:
  11017. description: 是否可绑卡与解卡 - 0:不可 1:可以
  11018. type: integer
  11019. caninamount:
  11020. description: 是否可入金 - 0:不可 1:可以
  11021. type: integer
  11022. caninamount2:
  11023. description: 是否可入金(网银端) - 0:不可 1:可以
  11024. type: integer
  11025. canmodifybankcard:
  11026. description: 是否可修改银行卡号 - 0:不可 1:可以
  11027. type: integer
  11028. canmodifyphone:
  11029. description: 是否可修改手机号 - 0:不可 1:可以
  11030. type: integer
  11031. canmodifysigninfo:
  11032. description: 是否可修改签约信息 - 0:不可 1:可以
  11033. type: integer
  11034. canoutamount:
  11035. description: 是否可出金 - 0:不可 1:可以
  11036. type: integer
  11037. canoutamount2:
  11038. description: 是否可出金(网银端) - 0:不可 1:可以
  11039. type: integer
  11040. canrelease:
  11041. description: 是否可解约 - 0:不可 1:可以
  11042. type: integer
  11043. canrelease2:
  11044. description: 是否可解约(网银端) - 0:不可 1:可以
  11045. type: integer
  11046. cansign:
  11047. description: 是否可签约 - 0:不可 1:可以
  11048. type: integer
  11049. cansign2:
  11050. description: 是否可签约(网银端) - 0:不可 1:可以
  11051. type: integer
  11052. currency:
  11053. description: 币种
  11054. type: string
  11055. cusbankid:
  11056. description: 托管银行编号(对应清算中心TRAN_NO)
  11057. type: string
  11058. cusbankname:
  11059. description: 银行业务名称
  11060. type: string
  11061. cusbankshortname:
  11062. description: 银行业务简称
  11063. type: string
  11064. exchbankid:
  11065. description: 交易所开户银行ID
  11066. type: string
  11067. exchpaybankaccname:
  11068. description: 交易所支出结算账户户名
  11069. type: string
  11070. exchpaybankaccno:
  11071. description: 交易所支出结算账户
  11072. type: string
  11073. isneedcheck:
  11074. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  11075. type: integer
  11076. isneedclear:
  11077. description: 是否需要清算 - 0:不需要 1:需要
  11078. type: integer
  11079. lastcheckstatus:
  11080. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  11081. type: integer
  11082. lastchecktime:
  11083. description: 最后对账时间
  11084. type: string
  11085. lastclearstatus:
  11086. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  11087. type: integer
  11088. lastcleartime:
  11089. description: 最后清算时间
  11090. type: string
  11091. lastsignintime:
  11092. description: 最后签到时间
  11093. type: string
  11094. lastsignouttime:
  11095. description: 最后签退时间
  11096. type: string
  11097. riskinfo:
  11098. description: 签约风险提示书
  11099. type: string
  11100. signstatus:
  11101. description: 当前签到/签退状态 - 1:签到 2:签退
  11102. type: integer
  11103. tradedate:
  11104. description: 交易日(yyyyMMdd)
  11105. type: string
  11106. updatetime:
  11107. description: 当前签到/签退更新时间
  11108. type: string
  11109. type: object
  11110. models.QhjCustomer:
  11111. properties:
  11112. address:
  11113. description: 通讯地址
  11114. type: string
  11115. attachment1:
  11116. description: 附件1
  11117. type: string
  11118. attachment2:
  11119. description: 附件2
  11120. type: string
  11121. audittime:
  11122. description: 审核时间
  11123. type: string
  11124. cardbackphotourl:
  11125. description: 证件反面图片地址
  11126. type: string
  11127. cardfrontphotourl:
  11128. description: 证件正面图片地址
  11129. type: string
  11130. cardnum:
  11131. description: 证件号码
  11132. type: string
  11133. cardtype:
  11134. description: 证件类型
  11135. type: integer
  11136. cardtypename:
  11137. description: 证件类型名称
  11138. type: string
  11139. cityid:
  11140. description: 市
  11141. type: integer
  11142. cityname:
  11143. description: 城市名称
  11144. type: string
  11145. contactname:
  11146. description: 联系人
  11147. type: string
  11148. countryid:
  11149. description: 国家
  11150. type: integer
  11151. countryname:
  11152. description: 国家名称
  11153. type: string
  11154. createtime:
  11155. description: 创建时间
  11156. type: string
  11157. customername:
  11158. description: 客户名称
  11159. type: string
  11160. districtid:
  11161. description: 区域
  11162. type: integer
  11163. districtname:
  11164. description: 地区名称
  11165. type: string
  11166. email:
  11167. description: 邮件
  11168. type: string
  11169. legalpersonname:
  11170. description: 法人姓名(企业)
  11171. type: string
  11172. logincode:
  11173. description: 登录账号(代码)
  11174. type: string
  11175. memberuserid:
  11176. description: 所属机构ID(所属会员)
  11177. type: integer
  11178. memberusername:
  11179. description: 所属会员名称
  11180. type: string
  11181. mobile:
  11182. description: 手机号码
  11183. type: string
  11184. modifytime:
  11185. description: 修改时间
  11186. type: string
  11187. nickname:
  11188. description: 昵称
  11189. type: string
  11190. parentuserid:
  11191. description: 上级机构(所属机构)
  11192. type: integer
  11193. parentusername:
  11194. description: 所属机构名称
  11195. type: string
  11196. provinceid:
  11197. description: 省
  11198. type: integer
  11199. provincename:
  11200. description: 省名称
  11201. type: string
  11202. proxystatementurl:
  11203. description: 授权委托书
  11204. type: string
  11205. remark:
  11206. description: 备注
  11207. type: string
  11208. status:
  11209. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  11210. type: integer
  11211. statusdesc:
  11212. description: 账户状态中文描述
  11213. type: string
  11214. taxpayernum:
  11215. description: 纳税人识别号
  11216. type: string
  11217. telphone:
  11218. description: 联系电话
  11219. type: string
  11220. userid:
  11221. description: 用户ID
  11222. type: integer
  11223. userinfotype:
  11224. description: 客户类型 1-个人 2-企业
  11225. type: integer
  11226. username:
  11227. description: 用户名称
  11228. type: string
  11229. type: object
  11230. models.QhjCustomerSignLog:
  11231. properties:
  11232. agreementcontent:
  11233. description: 协议内容
  11234. type: string
  11235. agreementid:
  11236. description: 协议ID
  11237. type: integer
  11238. agreementname:
  11239. description: 协议名称
  11240. type: string
  11241. agreementno:
  11242. description: 协议编号
  11243. type: string
  11244. agreementtype:
  11245. description: 协议类型 - 1:注册 2:登录 3:交易
  11246. type: integer
  11247. agreementversion:
  11248. description: 协议版本号
  11249. type: integer
  11250. createtime:
  11251. description: 创建时间
  11252. type: string
  11253. goodscode:
  11254. description: 商品代码
  11255. type: string
  11256. goodsid:
  11257. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11258. type: integer
  11259. goodsname:
  11260. description: 商品名称
  11261. type: string
  11262. logid:
  11263. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  11264. type: integer
  11265. nodetype:
  11266. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  11267. type: integer
  11268. signadressurl:
  11269. description: 签约文件地址
  11270. type: string
  11271. signtimestamp:
  11272. description: 签约状态时间戳
  11273. type: string
  11274. userid:
  11275. description: 客户ID
  11276. type: integer
  11277. username:
  11278. description: 客户名称
  11279. type: string
  11280. type: object
  11281. models.QhjCustomerSignStatus:
  11282. properties:
  11283. createtime:
  11284. description: 创建时间
  11285. type: string
  11286. goodscode:
  11287. description: 商品代码
  11288. type: string
  11289. goodsid:
  11290. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11291. type: integer
  11292. goodsname:
  11293. description: 商品名称
  11294. type: string
  11295. nodetype:
  11296. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  11297. type: integer
  11298. signtimestamp:
  11299. description: 签约状态时间戳
  11300. type: string
  11301. tradedate:
  11302. description: 创建交易日(yyyyMMdd)
  11303. type: string
  11304. updatetime:
  11305. description: 更新时间
  11306. type: string
  11307. userid:
  11308. description: 客户ID
  11309. type: integer
  11310. username:
  11311. description: 客户名称
  11312. type: string
  11313. type: object
  11314. models.QhjMgrAccountOutInApply:
  11315. properties:
  11316. accountcode:
  11317. description: 资金账号
  11318. type: string
  11319. accountname:
  11320. description: 用户名称(名称)
  11321. type: string
  11322. accountpwd:
  11323. description: 资金密码
  11324. type: string
  11325. accountticket:
  11326. description: 最新账户服务流水号
  11327. type: string
  11328. amount:
  11329. description: 金额
  11330. type: number
  11331. applyremark:
  11332. description: 申请备注
  11333. type: string
  11334. applystatus:
  11335. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  11336. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  11337. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  11338. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  11339. type: integer
  11340. auditid:
  11341. description: 审核人
  11342. type: integer
  11343. audittime:
  11344. description: 审核时间
  11345. type: string
  11346. bank_apply_ticket:
  11347. description: 银行申请流水
  11348. type: string
  11349. bankaccountname:
  11350. description: 银行账户名
  11351. type: string
  11352. bankaccountno:
  11353. description: 银行卡号
  11354. type: string
  11355. bankid:
  11356. description: 银行编号
  11357. type: string
  11358. bankname:
  11359. description: 银行名称
  11360. type: string
  11361. bankticket:
  11362. description: 银行流水
  11363. type: string
  11364. branchbankid:
  11365. description: 银行支行号
  11366. type: string
  11367. branchbankname:
  11368. description: 银行支行名称
  11369. type: string
  11370. capamountout:
  11371. description: 出金(劣后本金) - 外部子账户
  11372. type: number
  11373. certificatephotourl:
  11374. description: 凭证地址
  11375. type: string
  11376. charge:
  11377. description: 手续费
  11378. type: number
  11379. checkerrorflag:
  11380. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  11381. type: integer
  11382. currency:
  11383. description: 币种
  11384. type: string
  11385. cusbankid:
  11386. description: 托管银行编号
  11387. type: string
  11388. exchticket:
  11389. description: 银行服务流水号
  11390. type: string
  11391. executetype:
  11392. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  11393. 7:外部子账户:入金 8:外部子账户:出金'
  11394. type: integer
  11395. extendinfo:
  11396. description: 扩展信息
  11397. type: string
  11398. extoperateid:
  11399. description: 交易服务流水号
  11400. type: integer
  11401. infamount:
  11402. description: 劣后金额(自有)
  11403. type: number
  11404. logincode:
  11405. description: 登录账号(账号)
  11406. type: string
  11407. netaddr:
  11408. description: 调转网址
  11409. type: string
  11410. priamount:
  11411. description: 优先金额(授信)
  11412. type: number
  11413. reauditid:
  11414. description: 复审人
  11415. type: integer
  11416. reauditremark:
  11417. description: 复审备注
  11418. type: string
  11419. reaudittime:
  11420. description: 复审时间
  11421. type: string
  11422. relatedorderid:
  11423. description: 三方关联ID
  11424. type: string
  11425. remark:
  11426. description: 备注
  11427. type: string
  11428. remark2:
  11429. description: 备注(失败原因)
  11430. type: string
  11431. soucreamount:
  11432. description: 原始出入金金额
  11433. type: number
  11434. soucrecurrencyid:
  11435. description: 原始出入金币种
  11436. type: integer
  11437. tradedate:
  11438. description: 交易日(yyyyMMdd)
  11439. type: string
  11440. updatetime:
  11441. description: 更新时间(申请时间)
  11442. type: string
  11443. userid:
  11444. description: 用户id
  11445. type: integer
  11446. userinfotype:
  11447. description: 账户类型 1-个人 2-企业
  11448. type: integer
  11449. type: object
  11450. models.QhjMgrBrokerApply:
  11451. properties:
  11452. applicantid:
  11453. description: 申请人
  11454. type: integer
  11455. applysrc:
  11456. description: 申请来源 - 1:管理端 2:终端
  11457. type: integer
  11458. applystatus:
  11459. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  11460. type: integer
  11461. applytime:
  11462. description: 申请时间
  11463. type: string
  11464. auditorid:
  11465. description: 审核人
  11466. type: integer
  11467. auditremark:
  11468. description: 审核备注
  11469. type: string
  11470. auditsrc:
  11471. description: 审核来源 - 1:管理端 2:终端
  11472. type: integer
  11473. audittime:
  11474. description: 审核时间
  11475. type: string
  11476. audittradedate:
  11477. description: 审核交易日(yyyyMMdd)
  11478. type: string
  11479. brokerapplyid:
  11480. description: 申请ID(SEQ_BROKERAPPLY)
  11481. type: integer
  11482. cardbackphotourl:
  11483. description: 证件背面图片地址
  11484. type: string
  11485. cardfrontphotourl:
  11486. description: 证件正面图片地址
  11487. type: string
  11488. cardnum:
  11489. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  11490. type: string
  11491. customername:
  11492. description: 姓名
  11493. type: string
  11494. filterstatus:
  11495. description: 筛选条件
  11496. type: string
  11497. logincode:
  11498. description: 登录代码
  11499. type: string
  11500. mobile:
  11501. description: 手机号码
  11502. type: string
  11503. parentuserid:
  11504. description: 所属机构id
  11505. type: integer
  11506. parentusername:
  11507. description: 所属机构名称
  11508. type: string
  11509. refereeuserid:
  11510. description: 推荐人id(经纪人)
  11511. type: integer
  11512. refernum:
  11513. description: 推荐码
  11514. type: string
  11515. remark:
  11516. description: 备注
  11517. type: string
  11518. subarealevelpath:
  11519. description: 层级路径
  11520. type: string
  11521. tradedate:
  11522. description: 交易日(yyyyMMdd)
  11523. type: string
  11524. userid:
  11525. description: 申请人用户ID
  11526. type: integer
  11527. userinfotype:
  11528. description: 用户类型 1-个人 2-企业
  11529. type: integer
  11530. username:
  11531. description: 用户名称
  11532. type: string
  11533. type: object
  11534. models.QhjMgrBrokerRewardReport:
  11535. properties:
  11536. createtime:
  11537. description: 创建时间(注册时间)
  11538. type: string
  11539. cycletime:
  11540. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  11541. type: string
  11542. cycletype:
  11543. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  11544. type: integer
  11545. directtotalnum:
  11546. description: 直推总人数【期末】
  11547. type: integer
  11548. indirecttotalnum:
  11549. description: 间推总人数【期末】
  11550. type: integer
  11551. mobile:
  11552. description: 电话号码
  11553. type: string
  11554. refereeuserid:
  11555. description: 推荐人id(经纪人id)
  11556. type: integer
  11557. refereeusername:
  11558. description: 推荐人名称(经纪人) 上级经纪人名称
  11559. type: string
  11560. refernum:
  11561. description: 推荐码
  11562. type: string
  11563. subarealevelpath:
  11564. description: 用户层级路径
  11565. type: string
  11566. todayrewardamount:
  11567. description: 奖励总金额【汇总】
  11568. type: number
  11569. updatetime:
  11570. description: 更新时间
  11571. type: string
  11572. userid:
  11573. description: 经纪人用户ID
  11574. type: integer
  11575. userinfotype:
  11576. description: 用户类型 1-个人 2-企业
  11577. type: integer
  11578. username:
  11579. description: 用户名称
  11580. type: string
  11581. type: object
  11582. models.QhjMgrContract:
  11583. properties:
  11584. contractconfirmtime:
  11585. description: 合同确认时间(时间)
  11586. type: string
  11587. currisklevel:
  11588. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  11589. type: integer
  11590. decimalplace:
  11591. description: 商品报价小数位
  11592. type: integer
  11593. enumdicname:
  11594. description: 单位名称
  11595. type: string
  11596. goodscode:
  11597. description: 商品代码
  11598. type: string
  11599. goodsid:
  11600. description: 商品ID [5:融资单]
  11601. type: integer
  11602. goodsname:
  11603. description: 商品名称
  11604. type: string
  11605. goodunitid:
  11606. description: 商品单位id
  11607. type: integer
  11608. initmargin:
  11609. description: 初始保证金(首付款)
  11610. type: number
  11611. lenderamount:
  11612. description: 贷款金额(总额|订单总额)
  11613. type: number
  11614. logincode:
  11615. description: 账号(登录代码)
  11616. type: string
  11617. marginratio:
  11618. description: 保证金比率(首付比例)
  11619. type: number
  11620. mobile:
  11621. description: 电话号码(用户资料里的电话)
  11622. type: string
  11623. payamount:
  11624. description: 已付(已付货款)
  11625. type: number
  11626. reckonrecovermargin:
  11627. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  11628. type: number
  11629. recoveredmargin:
  11630. description: 已追缴保证金
  11631. type: number
  11632. remainamount:
  11633. description: 合同剩余金额(融资额)
  11634. type: number
  11635. scfcontractid:
  11636. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  11637. type: string
  11638. scfcontractstatus:
  11639. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  11640. 9:违约结束 10:已注销 11:已关闭 99:未提交
  11641. type: integer
  11642. scfcontracttype:
  11643. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  11644. type: integer
  11645. totalinterest:
  11646. description: 已计总利息(利息)
  11647. type: number
  11648. tradedate:
  11649. description: 交易日
  11650. type: string
  11651. tradeprice:
  11652. description: 成交价格(成本价格)
  11653. type: number
  11654. userid:
  11655. description: 用户ID
  11656. type: integer
  11657. userinfotype:
  11658. description: 用户类型 1-个人 2-企业
  11659. type: integer
  11660. username:
  11661. description: 用户名称
  11662. type: string
  11663. wrqty:
  11664. description: 仓单数量(数量)
  11665. type: number
  11666. type: object
  11667. models.QhjMgrCustomer:
  11668. properties:
  11669. address:
  11670. description: 通讯地址
  11671. type: string
  11672. attachment1:
  11673. description: 附件1
  11674. type: string
  11675. audittime:
  11676. description: 审核时间
  11677. type: string
  11678. birthday:
  11679. description: 生日
  11680. type: string
  11681. brokerid:
  11682. description: 所属客户经理id
  11683. type: integer
  11684. brokername:
  11685. description: 所属客户经理名称
  11686. type: string
  11687. cardbackphotourl:
  11688. description: 证件反面图片地址
  11689. type: string
  11690. cardfrontphotourl:
  11691. description: 证件正面图片地址
  11692. type: string
  11693. cardnum:
  11694. description: 证件号码
  11695. type: string
  11696. cardtype:
  11697. description: 证件类型
  11698. type: integer
  11699. cardtypename:
  11700. description: 证件类型名称
  11701. type: string
  11702. cityid:
  11703. description: 市
  11704. type: integer
  11705. cityname:
  11706. description: 城市名称
  11707. type: string
  11708. contactname:
  11709. description: 联系人
  11710. type: string
  11711. countryid:
  11712. description: 国家
  11713. type: integer
  11714. countryname:
  11715. description: 国家名称
  11716. type: string
  11717. createtime:
  11718. description: 创建时间
  11719. type: string
  11720. customername:
  11721. description: 客户名称
  11722. type: string
  11723. districtid:
  11724. description: 区域
  11725. type: integer
  11726. districtname:
  11727. description: 地区名称
  11728. type: string
  11729. email:
  11730. description: 邮件
  11731. type: string
  11732. legalpersonname:
  11733. description: 法人姓名(企业)
  11734. type: string
  11735. logincode:
  11736. description: 登录账号(代码)
  11737. type: string
  11738. memberuserid:
  11739. description: 所属机构ID(所属会员)
  11740. type: integer
  11741. memberusername:
  11742. description: 所属会员名称
  11743. type: string
  11744. mobile:
  11745. description: 手机号码
  11746. type: string
  11747. modifytime:
  11748. description: 修改时间
  11749. type: string
  11750. nickname:
  11751. description: 昵称
  11752. type: string
  11753. parentuserid:
  11754. description: 上级机构(所属机构)
  11755. type: integer
  11756. parentusername:
  11757. description: 所属机构名称
  11758. type: string
  11759. provinceid:
  11760. description: 省
  11761. type: integer
  11762. provincename:
  11763. description: 省名称
  11764. type: string
  11765. proxystatementurl:
  11766. description: 授权委托书
  11767. type: string
  11768. querytype:
  11769. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  11770. type: integer
  11771. remark:
  11772. description: 备注
  11773. type: string
  11774. sex:
  11775. description: 性别 0-女 1-男
  11776. type: integer
  11777. status:
  11778. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  11779. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  11780. type: integer
  11781. statusdesc:
  11782. description: 账户状态中文描述
  11783. type: string
  11784. taxpayernum:
  11785. description: 纳税人识别号
  11786. type: string
  11787. telphone:
  11788. description: 联系电话
  11789. type: string
  11790. userid:
  11791. description: 用户ID
  11792. type: integer
  11793. userinfotype:
  11794. description: 客户类型 1-个人 2-企业
  11795. type: integer
  11796. username:
  11797. description: 用户名称
  11798. type: string
  11799. type: object
  11800. models.QhjMgrPickGoods:
  11801. properties:
  11802. enumdicname:
  11803. description: 单位名称(提货商品)
  11804. type: string
  11805. goodsid:
  11806. description: 商品id
  11807. type: integer
  11808. imageaddress:
  11809. description: 图片
  11810. type: string
  11811. modifierid:
  11812. description: 修改人
  11813. type: integer
  11814. modifiername:
  11815. description: 修改人名称
  11816. type: string
  11817. modifysrc:
  11818. description: 修改来源 - 1:管理端 2:终端
  11819. type: integer
  11820. pickupgoodsagreeunit:
  11821. description: 合约乘数
  11822. type: number
  11823. pickupgoodsdesc:
  11824. description: 描述
  11825. type: string
  11826. pickupgoodsid:
  11827. description: 提货商品ID
  11828. type: string
  11829. pickupgoodsname:
  11830. description: 提货商品名称
  11831. type: string
  11832. pickupgoodsstatus:
  11833. description: 状态 - 1:正常 2:停用 3:注销
  11834. type: integer
  11835. pickupgoodsunitid:
  11836. description: 单位ID
  11837. type: integer
  11838. pickupratio:
  11839. description: 提货系数
  11840. type: number
  11841. preparedays:
  11842. description: 备货期(天)
  11843. type: integer
  11844. remark:
  11845. description: 备注
  11846. type: string
  11847. updatetime:
  11848. description: 更新时间
  11849. type: string
  11850. type: object
  11851. models.QhjMgrPositionRsp:
  11852. properties:
  11853. accountid:
  11854. description: 账号Id
  11855. type: integer
  11856. accountname:
  11857. description: 用户名称
  11858. type: string
  11859. agreeunit:
  11860. description: 合约乘数
  11861. type: number
  11862. averageprice:
  11863. description: 均价
  11864. type: number
  11865. avialqty:
  11866. description: 可用数量
  11867. type: number
  11868. decimalplace:
  11869. description: 报价小数位
  11870. type: integer
  11871. enumdicname:
  11872. description: 单位名称(商品)
  11873. type: string
  11874. frozenqty:
  11875. description: 冻结数量
  11876. type: number
  11877. goodscode:
  11878. description: 商品代码(内部)
  11879. type: string
  11880. goodsid:
  11881. description: 商品Id
  11882. type: integer
  11883. goodsname:
  11884. description: 商品名称
  11885. type: string
  11886. goodunitid:
  11887. description: 报价单位ID
  11888. type: integer
  11889. holderamount:
  11890. description: 金额
  11891. type: number
  11892. holderqty:
  11893. description: 持有数量
  11894. type: number
  11895. holdertype:
  11896. description: 持仓类别 - 1:单边持仓 2:双边持仓
  11897. type: integer
  11898. logincode:
  11899. description: 登录代码(账户)
  11900. type: string
  11901. marketid:
  11902. description: 市场id
  11903. type: integer
  11904. qtydecimalplace:
  11905. description: 成交量小数位
  11906. type: integer
  11907. trademode:
  11908. description: 交易模式
  11909. type: integer
  11910. userid:
  11911. description: 用户id
  11912. type: integer
  11913. userinfotype:
  11914. description: 账户类型 1-个人 2-企业
  11915. type: integer
  11916. type: object
  11917. models.QhjMgrSubArea:
  11918. properties:
  11919. accountname:
  11920. description: 账户名称(机构名称)
  11921. type: string
  11922. memberuserid:
  11923. description: 所属会员ID
  11924. type: integer
  11925. parenttopuser:
  11926. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  11927. type: string
  11928. parentuserid:
  11929. description: 所属机构ID
  11930. type: integer
  11931. rootuserid:
  11932. description: 根用户ID
  11933. type: string
  11934. subaccountlevel:
  11935. description: 子账户层数
  11936. type: integer
  11937. subarealevelpath:
  11938. description: 子机构层级路径(逗号分隔,首尾加逗号)
  11939. type: string
  11940. userid:
  11941. description: 用户ID
  11942. type: integer
  11943. usertype:
  11944. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11945. type: integer
  11946. type: object
  11947. models.QhjMgrTradeDetailRsp:
  11948. properties:
  11949. accountid:
  11950. description: 资金账号
  11951. type: integer
  11952. accountname:
  11953. description: 用户名称
  11954. type: string
  11955. agreeunit:
  11956. description: 合约乘数
  11957. type: number
  11958. buyorsell:
  11959. description: 成交类型(方向) 0:买 1:卖
  11960. type: integer
  11961. decimalplace:
  11962. description: 报价小数位
  11963. type: integer
  11964. enumdicname:
  11965. description: 单位名称(商品)
  11966. type: string
  11967. goodscode:
  11968. description: 商品代码(内部)
  11969. type: string
  11970. goodsid:
  11971. description: 商品id
  11972. type: integer
  11973. goodsname:
  11974. description: 商品名称
  11975. type: string
  11976. goodunitid:
  11977. description: 报价单位ID
  11978. type: integer
  11979. logincode:
  11980. description: 登录代码(账户)
  11981. type: string
  11982. marketid:
  11983. description: 市场id
  11984. type: integer
  11985. orderid:
  11986. description: 关联委托单号
  11987. type: string
  11988. qtydecimalplace:
  11989. description: 成交量小数位
  11990. type: integer
  11991. tradeamount:
  11992. description: 金额
  11993. type: number
  11994. tradedate:
  11995. description: 交易日
  11996. type: string
  11997. tradeid:
  11998. description: 成交单号
  11999. type: string
  12000. trademode:
  12001. description: 交易模式
  12002. type: integer
  12003. tradeprice:
  12004. description: 价格
  12005. type: number
  12006. tradeqty:
  12007. description: 数量
  12008. type: number
  12009. tradetime:
  12010. description: 成交时间
  12011. type: string
  12012. userid:
  12013. description: 用户id
  12014. type: integer
  12015. userinfotype:
  12016. description: 账户类型 1-个人 2-企业
  12017. type: integer
  12018. type: object
  12019. models.QhjMgrTradeOrderDetailRsp:
  12020. properties:
  12021. accountid:
  12022. description: 资金账号
  12023. type: integer
  12024. accountname:
  12025. description: 用户名称
  12026. type: string
  12027. agreeunit:
  12028. description: 合约乘数
  12029. type: number
  12030. amount:
  12031. description: 金额
  12032. type: number
  12033. decimalplace:
  12034. description: 报价小数位
  12035. type: integer
  12036. enumdicname:
  12037. description: 单位名称(商品)
  12038. type: string
  12039. goodscode:
  12040. description: 商品代码(内部)
  12041. type: string
  12042. goodsid:
  12043. description: 商品id
  12044. type: integer
  12045. goodsname:
  12046. description: 商品名称
  12047. type: string
  12048. goodunitid:
  12049. description: 报价单位ID
  12050. type: integer
  12051. logincode:
  12052. description: 登录代码(账户)
  12053. type: string
  12054. marketid:
  12055. description: 市场id
  12056. type: integer
  12057. orderid:
  12058. description: 关联委托单号
  12059. type: string
  12060. orderprice:
  12061. description: 价格
  12062. type: number
  12063. orderqty:
  12064. description: 数量
  12065. type: number
  12066. orderstatus:
  12067. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  12068. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  12069. 16:成交失败违约(荷兰式竞拍专用)
  12070. type: integer
  12071. ordertime:
  12072. description: 委托时间
  12073. type: string
  12074. qtydecimalplace:
  12075. description: 成交量小数位
  12076. type: integer
  12077. tradedate:
  12078. description: 交易日
  12079. type: string
  12080. trademode:
  12081. description: 交易模式
  12082. type: integer
  12083. userid:
  12084. description: 用户id
  12085. type: integer
  12086. userinfotype:
  12087. description: 账户类型 1-个人 2-企业
  12088. type: integer
  12089. type: object
  12090. models.QhjMgrTradePayOrder:
  12091. properties:
  12092. accountname:
  12093. description: 用户名称
  12094. type: string
  12095. advanceratio:
  12096. description: 首付比率
  12097. type: number
  12098. agreeunit:
  12099. description: 合约乘数
  12100. type: number
  12101. buyaccountid:
  12102. description: 买方账号ID[报价币种]
  12103. type: integer
  12104. buyorderid:
  12105. description: 买方委托单号(关联单号)
  12106. type: string
  12107. createtime:
  12108. description: 创建时间
  12109. type: string
  12110. decimalplace:
  12111. description: 报价小数位
  12112. type: integer
  12113. enumdicname:
  12114. description: 单位名称(商品)
  12115. type: string
  12116. goodscode:
  12117. description: 商品代码(内部)
  12118. type: string
  12119. goodsid:
  12120. description: 商品ID
  12121. type: integer
  12122. goodsname:
  12123. description: 商品名称
  12124. type: string
  12125. goodunitid:
  12126. description: 报价单位ID
  12127. type: integer
  12128. logincode:
  12129. description: 登录代码(账户)
  12130. type: string
  12131. marketid:
  12132. description: 市场id
  12133. type: integer
  12134. offamount:
  12135. description: 优惠金额
  12136. type: number
  12137. operatetype:
  12138. description: 买委托操作类型 - 1:正常下单 16:融资买入
  12139. type: integer
  12140. payamount:
  12141. description: 支付金额(金额)
  12142. type: number
  12143. payflag:
  12144. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  12145. type: integer
  12146. paylimitedtime:
  12147. description: 支付期限
  12148. type: string
  12149. paytime:
  12150. description: 付款时间
  12151. type: string
  12152. qtydecimalplace:
  12153. description: 成交量小数位
  12154. type: integer
  12155. sellaccountid:
  12156. description: 卖方账号ID[报价币种]
  12157. type: integer
  12158. sellorderid:
  12159. description: 卖方委托单号
  12160. type: string
  12161. tradeamount:
  12162. description: 成交金额(优惠后金额)
  12163. type: number
  12164. tradecharge:
  12165. description: 成交手续费(买方)
  12166. type: number
  12167. tradedate:
  12168. description: 交易日(yyyyMMdd)
  12169. type: string
  12170. tradeid:
  12171. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12172. type: string
  12173. trademode:
  12174. description: 交易模式
  12175. type: integer
  12176. tradeprice:
  12177. description: 成交价格(价格)
  12178. type: number
  12179. tradeqty:
  12180. description: 成交数量(数量)
  12181. type: number
  12182. tradetime:
  12183. description: 成交时间
  12184. type: string
  12185. userid:
  12186. description: 用户id
  12187. type: integer
  12188. userinfotype:
  12189. description: 账户类型 1-个人 2-企业
  12190. type: integer
  12191. type: object
  12192. models.QhjMyTeamEx:
  12193. properties:
  12194. accountname:
  12195. description: 用户名称
  12196. type: string
  12197. accountstatus:
  12198. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  12199. type: integer
  12200. createtime:
  12201. description: 创建时间
  12202. type: string
  12203. mobile:
  12204. description: 手机号码
  12205. type: string
  12206. refereeuserid:
  12207. description: 推荐人id
  12208. type: integer
  12209. refernum:
  12210. description: 推荐码
  12211. type: string
  12212. subList:
  12213. items:
  12214. $ref: '#/definitions/models.QhjMyTeamEx'
  12215. type: array
  12216. userid:
  12217. description: 用户id
  12218. type: integer
  12219. userinfotype:
  12220. description: 用户类型 1-个人 2-企业
  12221. type: integer
  12222. type: object
  12223. models.QhjNodeAgreementConfig:
  12224. properties:
  12225. agreementcontent:
  12226. description: 协议内容
  12227. type: string
  12228. agreementid:
  12229. description: 协议ID
  12230. type: integer
  12231. agreementname:
  12232. description: 协议名称
  12233. type: string
  12234. agreementno:
  12235. description: 协议编号
  12236. type: string
  12237. agreementtype:
  12238. description: 协议类型 - 1:注册 2:登录 3:交易
  12239. type: integer
  12240. agreementversion:
  12241. description: 协议版本号
  12242. type: integer
  12243. configid:
  12244. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12245. type: integer
  12246. createtime:
  12247. description: 创建时间
  12248. type: string
  12249. goodsid:
  12250. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12251. type: integer
  12252. nodetype:
  12253. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12254. type: integer
  12255. type: object
  12256. models.QhjParentAreaList:
  12257. properties:
  12258. accountname:
  12259. description: 账户名称(机构名称)
  12260. type: string
  12261. userid:
  12262. description: 用户ID
  12263. type: integer
  12264. usertype:
  12265. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  12266. type: integer
  12267. type: object
  12268. models.QhjPayOrder:
  12269. properties:
  12270. advanceratio:
  12271. description: 首付比率
  12272. type: number
  12273. buyaccountid:
  12274. description: 买方账号ID[报价币种]
  12275. type: integer
  12276. buyorderid:
  12277. description: 买方委托单号
  12278. type: string
  12279. createtime:
  12280. description: 创建时间
  12281. type: string
  12282. decimalplace:
  12283. description: 商品报价小数位
  12284. type: integer
  12285. enumdicname:
  12286. description: 单位名称
  12287. type: string
  12288. goodscode:
  12289. description: 商品代码
  12290. type: string
  12291. goodsid:
  12292. description: 商品ID
  12293. type: integer
  12294. goodsname:
  12295. description: 商品名称
  12296. type: string
  12297. goodunitid:
  12298. description: 商品单位id
  12299. type: integer
  12300. marketid:
  12301. description: 市场ID
  12302. type: integer
  12303. offamount:
  12304. description: 优惠金额
  12305. type: number
  12306. operatetype:
  12307. description: 买委托操作类型 - 1:正常下单 16:融资买入
  12308. type: integer
  12309. payamount:
  12310. description: 支付金额
  12311. type: number
  12312. payflag:
  12313. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  12314. type: integer
  12315. paylimitedtime:
  12316. description: 支付期限
  12317. type: string
  12318. paytime:
  12319. description: 付款时间
  12320. type: string
  12321. qtydecimalplace:
  12322. description: 成交量小数位
  12323. type: integer
  12324. sellaccountid:
  12325. description: 卖方账号ID[报价币种]
  12326. type: integer
  12327. sellorderid:
  12328. description: 卖方委托单号
  12329. type: string
  12330. tradeamount:
  12331. description: 成交金额(优惠后金额)
  12332. type: number
  12333. tradecharge:
  12334. description: 成交手续费(买方)
  12335. type: number
  12336. tradedate:
  12337. description: 交易日(yyyyMMdd)
  12338. type: string
  12339. tradeid:
  12340. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12341. type: string
  12342. tradeprice:
  12343. description: 成交价格
  12344. type: number
  12345. tradeqty:
  12346. description: 成交数量
  12347. type: number
  12348. type: object
  12349. models.QhjPickArea:
  12350. properties:
  12351. address:
  12352. description: 详细地址
  12353. type: string
  12354. cityid:
  12355. description: 市
  12356. type: integer
  12357. cityname:
  12358. description: 城市名称
  12359. type: string
  12360. countryid:
  12361. description: 国家
  12362. type: integer
  12363. countryname:
  12364. description: 国家名称
  12365. type: string
  12366. districtid:
  12367. description: 地区
  12368. type: integer
  12369. districtname:
  12370. description: 地区名称
  12371. type: string
  12372. fromuserid:
  12373. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  12374. type: integer
  12375. fromusername:
  12376. description: 所属机构名称
  12377. type: string
  12378. provinceid:
  12379. description: 省
  12380. type: integer
  12381. provincename:
  12382. description: 省名称
  12383. type: string
  12384. suborgtype:
  12385. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  12386. type: integer
  12387. userid:
  12388. description: 机构用户ID 其他做市关系,都设置为 1
  12389. type: integer
  12390. username:
  12391. description: 机构用户名称(门店门称)
  12392. type: string
  12393. type: object
  12394. models.QhjPickGoods:
  12395. properties:
  12396. enumdicname:
  12397. description: 单位名称(提货商品)
  12398. type: string
  12399. goodsid:
  12400. description: 商品id
  12401. type: integer
  12402. imageaddress:
  12403. description: 图片
  12404. type: string
  12405. modifierid:
  12406. description: 修改人
  12407. type: integer
  12408. modifiername:
  12409. description: 修改人名称
  12410. type: string
  12411. modifysrc:
  12412. description: 修改来源 - 1:管理端 2:终端
  12413. type: integer
  12414. pickupgoodsagreeunit:
  12415. description: 合约乘数
  12416. type: number
  12417. pickupgoodsdesc:
  12418. description: 描述
  12419. type: string
  12420. pickupgoodsid:
  12421. description: 提货商品ID
  12422. type: string
  12423. pickupgoodsname:
  12424. description: 提货商品名称
  12425. type: string
  12426. pickupgoodsstatus:
  12427. description: 状态 - 1:正常 2:停用 3:注销
  12428. type: integer
  12429. pickupgoodsunitid:
  12430. description: 单位ID
  12431. type: integer
  12432. pickupratio:
  12433. description: 提货系数
  12434. type: number
  12435. preparedays:
  12436. description: 备货期(天)
  12437. type: integer
  12438. remark:
  12439. description: 备注
  12440. type: string
  12441. updatetime:
  12442. description: 更新时间
  12443. type: string
  12444. type: object
  12445. models.QhjRSTriggerLog:
  12446. properties:
  12447. accountid:
  12448. description: 用户资金账户
  12449. type: integer
  12450. accountname:
  12451. description: 账号名称(ACCOUNTID对应的名称)
  12452. type: string
  12453. currencyid:
  12454. description: 币种id
  12455. type: integer
  12456. currencyname:
  12457. description: 币种名称
  12458. type: string
  12459. decimalplace:
  12460. description: 商品报价小数位
  12461. type: integer
  12462. enumdicname:
  12463. description: 单位名称
  12464. type: string
  12465. goodscode:
  12466. description: 定投商品代码
  12467. type: string
  12468. goodsid:
  12469. description: 定投商品ID
  12470. type: integer
  12471. goodsname:
  12472. description: 定投商品名称
  12473. type: string
  12474. goodunitid:
  12475. description: 定投商品单位id
  12476. type: integer
  12477. logid:
  12478. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  12479. type: string
  12480. logincode:
  12481. description: 账号(登录代码)
  12482. type: string
  12483. qtydecimalplace:
  12484. description: 成交量小数位
  12485. type: integer
  12486. regularlycycle:
  12487. description: 定投频率 - 1:每周 2:每月
  12488. type: integer
  12489. regularlycyclevalue:
  12490. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  12491. type: string
  12492. regularlymode:
  12493. description: 定投方式 - 1:按数量 2:按金额
  12494. type: integer
  12495. regularlymodevalue:
  12496. description: 定投方式值 - 数量或金额
  12497. type: number
  12498. regularlystrategyid:
  12499. description: 定投策略ID
  12500. type: integer
  12501. retcode:
  12502. description: 错误码
  12503. type: string
  12504. tradeid:
  12505. description: 成交单ID
  12506. type: string
  12507. triggeramount:
  12508. description: 触发金额
  12509. type: number
  12510. triggerqty:
  12511. description: 触发数量
  12512. type: number
  12513. triggerstatus:
  12514. description: 触发状态 - 1:成功 2:失败
  12515. type: integer
  12516. triggertime:
  12517. description: 触发时间
  12518. type: string
  12519. triggertradedate:
  12520. description: 触发交易日
  12521. type: string
  12522. userid:
  12523. description: 所属用户ID
  12524. type: integer
  12525. userinfotype:
  12526. description: 用户类型 1-个人 2-企业
  12527. type: integer
  12528. username:
  12529. description: 用户名称(userid对应的名称)
  12530. type: string
  12531. type: object
  12532. models.QhjRStrategy:
  12533. properties:
  12534. accountid:
  12535. description: 用户资金账户
  12536. type: integer
  12537. accountname:
  12538. description: 账号名称(ACCOUNTID对应的名称)
  12539. type: string
  12540. currencyid:
  12541. description: 币种id
  12542. type: integer
  12543. currencyname:
  12544. description: 币种名称
  12545. type: string
  12546. decimalplace:
  12547. description: 商品报价小数位
  12548. type: integer
  12549. enumdicname:
  12550. description: 单位名称
  12551. type: string
  12552. goodscode:
  12553. description: 定投商品代码
  12554. type: string
  12555. goodsid:
  12556. description: 定投商品ID
  12557. type: integer
  12558. goodsname:
  12559. description: 定投商品名称
  12560. type: string
  12561. goodunitid:
  12562. description: 定投商品单位id
  12563. type: integer
  12564. lasteffecttradedate:
  12565. description: 最新生效交易日
  12566. type: string
  12567. laststoptradedate:
  12568. description: 最新暂停交易日
  12569. type: string
  12570. lasttriggertradedate:
  12571. description: 最新触发交易日
  12572. type: string
  12573. logincode:
  12574. description: 账号(登录代码)
  12575. type: string
  12576. nexttriggeramount:
  12577. description: 下次触发金额
  12578. type: number
  12579. nexttriggerdate:
  12580. description: 下次触发日期
  12581. type: string
  12582. nexttriggerqty:
  12583. description: 下次触发数量 [按小数位放大值]
  12584. type: number
  12585. qtydecimalplace:
  12586. description: 成交量小数位
  12587. type: integer
  12588. regularlycycle:
  12589. description: 定投频率 - 1:每周 2:每月
  12590. type: integer
  12591. regularlycyclevalue:
  12592. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  12593. type: string
  12594. regularlymode:
  12595. description: 定投方式 - 1:按数量 2:按金额
  12596. type: integer
  12597. regularlymodevalue:
  12598. description: 定投方式值 - 数量或金额
  12599. type: number
  12600. regularlystrategyid:
  12601. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  12602. type: integer
  12603. regularlystrategystatus:
  12604. description: 策略状态 - 1:正常 2:暂停 3:终止
  12605. type: integer
  12606. remark:
  12607. description: 备注
  12608. type: string
  12609. triggersuccesstimes:
  12610. description: 累计定投成功次数
  12611. type: string
  12612. triggertotalamount:
  12613. description: 累计定投金额(成功)
  12614. type: number
  12615. triggertotalqty:
  12616. description: 累计定投数量(成功) [按小数位放大值]
  12617. type: number
  12618. triggertotaltimes:
  12619. description: 累计定投总次数
  12620. type: string
  12621. updatesrc:
  12622. description: 更新来源 - 1:管理端 2:终端
  12623. type: integer
  12624. updatetime:
  12625. description: 更新时间
  12626. type: string
  12627. updatorid:
  12628. description: 更新人
  12629. type: string
  12630. userid:
  12631. description: 所属用户ID
  12632. type: integer
  12633. userinfotype:
  12634. description: 用户类型 1-个人 2-企业
  12635. type: integer
  12636. username:
  12637. description: 用户名称(userid对应的名称)
  12638. type: string
  12639. type: object
  12640. models.QhjReckonPriceLog:
  12641. properties:
  12642. decimalplace:
  12643. description: 商品报价小数位
  12644. type: integer
  12645. goodscode:
  12646. description: 商品代码
  12647. type: string
  12648. goodsid:
  12649. description: 商品ID
  12650. type: integer
  12651. goodsname:
  12652. description: 商品名称
  12653. type: string
  12654. lastreckonprice:
  12655. description: 上日结算价
  12656. type: number
  12657. nextdnlimitprice:
  12658. description: 下个交易日跌停价
  12659. type: number
  12660. nexttrade:
  12661. description: 下个交易日
  12662. type: string
  12663. nextuplimitprice:
  12664. description: 下个交易日涨停价
  12665. type: number
  12666. reckonprice:
  12667. description: 今日结算价(定投价)
  12668. type: number
  12669. reckontime:
  12670. description: 结算时间
  12671. type: string
  12672. totalholderqty:
  12673. description: 总持仓数
  12674. type: integer
  12675. totalstock:
  12676. description: 总库存
  12677. type: integer
  12678. tradedate:
  12679. description: 交易日
  12680. type: string
  12681. updowncount:
  12682. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  12683. type: integer
  12684. updownflag:
  12685. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  12686. type: integer
  12687. updownrate:
  12688. description: 今日涨跌幅
  12689. type: number
  12690. updownrate_2d:
  12691. description: 连续两日涨跌幅
  12692. type: number
  12693. updownrate_3d:
  12694. description: 连续三日涨跌幅
  12695. type: number
  12696. type: object
  12697. models.QhjScoreLog:
  12698. properties:
  12699. accountid:
  12700. description: 账户ID
  12701. type: integer
  12702. createtime:
  12703. description: 创建时间(时间)
  12704. type: string
  12705. goodsid:
  12706. description: 商品ID
  12707. type: integer
  12708. hasuploaded:
  12709. description: 是否已同步(千海金) 0:未同步 1;已同步
  12710. type: integer
  12711. logid:
  12712. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12713. type: string
  12714. marketid:
  12715. description: 市场ID
  12716. type: integer
  12717. relatedamount:
  12718. description: 关联金额
  12719. type: number
  12720. relatedorderid:
  12721. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  12722. type: string
  12723. scoreconfigvalue1:
  12724. description: 积分配置1
  12725. type: integer
  12726. scoreconfigvalue2:
  12727. description: 积分配置1
  12728. type: integer
  12729. scoretype:
  12730. description: 积分类型 - 1:提货积分
  12731. type: integer
  12732. scorevalue:
  12733. description: 积分
  12734. type: number
  12735. tradedate:
  12736. description: 交易日(yyyyMMdd)
  12737. type: string
  12738. uploadedtime:
  12739. description: 同步时间
  12740. type: string
  12741. userid:
  12742. description: 用户ID
  12743. type: integer
  12744. type: object
  12745. models.QhjSiteColumnDetail:
  12746. properties:
  12747. author:
  12748. description: 作者
  12749. type: string
  12750. brief:
  12751. description: 简介
  12752. type: string
  12753. columnid:
  12754. description: 所属栏目
  12755. type: integer
  12756. context:
  12757. description: 内容
  12758. type: string
  12759. coverimage:
  12760. description: 封面图片
  12761. type: string
  12762. creaedate:
  12763. description: 创建时间
  12764. type: string
  12765. creatorid:
  12766. description: 创建人
  12767. type: integer
  12768. hits:
  12769. description: 点击数
  12770. type: integer
  12771. id:
  12772. description: ID(SEQ_SITE_COLUMNDETAIL)
  12773. type: integer
  12774. isshow:
  12775. description: 是否展示 - 0:不展示 1:展示
  12776. type: integer
  12777. istop:
  12778. description: 是否置顶 - 0:不置 1:置顶
  12779. type: integer
  12780. modifierid:
  12781. description: 操作人
  12782. type: integer
  12783. publishdate:
  12784. description: 发布日期
  12785. type: string
  12786. status:
  12787. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  12788. type: integer
  12789. title:
  12790. description: 标题
  12791. type: string
  12792. updatedate:
  12793. description: 修改时间
  12794. type: string
  12795. userid:
  12796. description: 用户ID(默认为0, 核心为为机构用户ID)
  12797. type: integer
  12798. username:
  12799. description: 用户名称
  12800. type: string
  12801. type: object
  12802. models.QhjTeamOrder:
  12803. properties:
  12804. accountid:
  12805. description: 账户ID[报价币种]
  12806. type: integer
  12807. accountname:
  12808. description: 账户名称
  12809. type: string
  12810. agreeunit:
  12811. description: 合约乘数
  12812. type: number
  12813. buyorsell:
  12814. description: 方向 - 0:买 1:卖
  12815. type: integer
  12816. decimalplace:
  12817. description: 报价小数位
  12818. type: integer
  12819. enumdicname:
  12820. description: 单位名称
  12821. type: string
  12822. goodscode:
  12823. description: 商品代码(内部)
  12824. type: string
  12825. goodsid:
  12826. description: 商品ID
  12827. type: integer
  12828. goodsname:
  12829. description: 商品名称
  12830. type: string
  12831. goodunitid:
  12832. description: 报价单位ID
  12833. type: integer
  12834. marketid:
  12835. description: 市场ID
  12836. type: integer
  12837. marketname:
  12838. description: 市场名称
  12839. type: string
  12840. qtydecimalplace:
  12841. description: 成交量小数位
  12842. type: integer
  12843. refereeuserid:
  12844. description: 推荐人ID
  12845. type: integer
  12846. tradeamount:
  12847. description: 成交金额[账户币种,用于所有权]
  12848. type: number
  12849. tradedate:
  12850. description: 交易日(yyyyMMdd)
  12851. type: string
  12852. trademode:
  12853. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12854. 21:竞拍-大宗式 22:受托竞价
  12855. type: integer
  12856. tradeprice:
  12857. description: 成交价格
  12858. type: number
  12859. tradeqty:
  12860. description: 成交数量
  12861. type: number
  12862. tradetime:
  12863. description: 成交时间
  12864. type: string
  12865. userid:
  12866. description: 用户ID
  12867. type: integer
  12868. type: object
  12869. models.QhjTradeGoodsPickup:
  12870. properties:
  12871. accountid:
  12872. description: 账户ID
  12873. type: integer
  12874. address:
  12875. description: 提货人详细地址
  12876. type: string
  12877. amount:
  12878. description: 提货金额
  12879. type: number
  12880. artradedate:
  12881. description: 自动收货交易日(yyyyMMdd)
  12882. type: string
  12883. auditer:
  12884. description: 审核人
  12885. type: integer
  12886. auditsrc:
  12887. description: 更新来源 - 1:管理端 2:终端
  12888. type: integer
  12889. audittime:
  12890. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  12891. type: string
  12892. audittradedate:
  12893. description: 审核交易日(yyyyMMdd)
  12894. type: string
  12895. cardnum:
  12896. description: 提货人证件号码
  12897. type: string
  12898. cardtypeid:
  12899. description: 提货人证件类型
  12900. type: integer
  12901. checkremark:
  12902. description: 审核备注
  12903. type: string
  12904. cityid:
  12905. description: 市
  12906. type: integer
  12907. cityname:
  12908. description: 城市名称
  12909. type: string
  12910. confirmtime:
  12911. description: 取货时间 或 收货时间
  12912. type: string
  12913. countryid:
  12914. description: 国家
  12915. type: integer
  12916. countryname:
  12917. description: 国家名称
  12918. type: string
  12919. decimalplace:
  12920. description: 商品报价小数位
  12921. type: integer
  12922. districtid:
  12923. description: 地区
  12924. type: integer
  12925. districtname:
  12926. description: 地区名称
  12927. type: string
  12928. enumdicname:
  12929. description: 单位名称(提货商品)
  12930. type: string
  12931. expresscompany:
  12932. description: 物流公司
  12933. type: string
  12934. expressnum:
  12935. description: 物流单号
  12936. type: string
  12937. goodsagreeunit:
  12938. description: 交易商品乘数
  12939. type: number
  12940. goodscode:
  12941. description: 商品代码
  12942. type: string
  12943. goodsid:
  12944. description: 商品ID
  12945. type: integer
  12946. goodsname:
  12947. description: 商品名称
  12948. type: string
  12949. goodsqty:
  12950. description: 交易商品手数(69模式按成交量小数位放大取整)
  12951. type: number
  12952. handlestatus:
  12953. description: 处理状态
  12954. type: integer
  12955. logincode:
  12956. description: 账号(登录代码, 有可能为空)
  12957. type: string
  12958. marketid:
  12959. description: 市场ID
  12960. type: integer
  12961. phonenum:
  12962. description: 提货人联系方式
  12963. type: string
  12964. pickupgoodsagreeunit:
  12965. description: 提货商品合约乘数
  12966. type: number
  12967. pickupgoodsid:
  12968. description: 提货商品ID
  12969. type: string
  12970. pickupgoodsname:
  12971. description: 提货商品名称
  12972. type: string
  12973. pickupgoodsqty:
  12974. description: 提货商品手数(数量)
  12975. type: number
  12976. pickupgoodsunitid:
  12977. description: 单位ID(提货商品)
  12978. type: integer
  12979. pickupratio:
  12980. description: 提货系数
  12981. type: number
  12982. preparedays:
  12983. description: 备货期(天)-提货单明细表
  12984. type: integer
  12985. provinceid:
  12986. description: 省
  12987. type: integer
  12988. provincename:
  12989. description: 省名称
  12990. type: string
  12991. qty:
  12992. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  12993. type: number
  12994. qtydecimalplace:
  12995. description: 商品数量小数位
  12996. type: integer
  12997. recivername:
  12998. description: 提货人姓名
  12999. type: string
  13000. reqtime:
  13001. description: 提货申请时间
  13002. type: string
  13003. storeuserid:
  13004. description: 门店用户ID (千海金)
  13005. type: integer
  13006. storeusername:
  13007. description: 门店用户名称
  13008. type: string
  13009. takemode:
  13010. description: 提货方式 - 2:自提 3:配送(邮寄)
  13011. type: integer
  13012. takeorderid:
  13013. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  13014. type: string
  13015. takeorderstatus:
  13016. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  13017. 7:已拒绝 8:已撤销
  13018. type: integer
  13019. takeremark:
  13020. description: 提货备注
  13021. type: string
  13022. tradedate:
  13023. description: 交易日(yyyyMMdd)
  13024. type: string
  13025. updatetime:
  13026. description: 更新时间
  13027. type: string
  13028. userid:
  13029. description: 用户ID
  13030. type: integer
  13031. userinfotype:
  13032. description: 客户类型 1-个人 2-企业
  13033. type: integer
  13034. username:
  13035. description: 用户名称
  13036. type: string
  13037. type: object
  13038. models.QhjUserNodeCfgAndStatus:
  13039. properties:
  13040. agreementcontent:
  13041. description: 协议内容
  13042. type: string
  13043. agreementid:
  13044. description: 协议ID
  13045. type: integer
  13046. agreementname:
  13047. description: 协议名称
  13048. type: string
  13049. agreementno:
  13050. description: 协议编号
  13051. type: string
  13052. agreementtype:
  13053. description: 协议类型 - 1:注册 2:登录 3:交易
  13054. type: integer
  13055. agreementversion:
  13056. description: 协议版本号
  13057. type: integer
  13058. configid:
  13059. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  13060. type: integer
  13061. createtime:
  13062. description: 创建时间
  13063. type: string
  13064. goodsid:
  13065. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  13066. type: integer
  13067. nodetype:
  13068. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  13069. type: integer
  13070. signtimestamp:
  13071. description: 签约状态时间戳(最近一次)
  13072. type: string
  13073. tradedate:
  13074. description: 签约交易日(yyyyMMdd)
  13075. type: string
  13076. userid:
  13077. description: 客户ID
  13078. type: integer
  13079. type: object
  13080. models.Qhjgoodsex:
  13081. properties:
  13082. canfinance:
  13083. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  13084. type: integer
  13085. canregularlybuy:
  13086. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  13087. type: integer
  13088. defaulttradeuserid:
  13089. description: 默认交易用户ID
  13090. type: integer
  13091. deliverygoodsid:
  13092. description: 现货品种ID
  13093. type: integer
  13094. goodsid:
  13095. description: 商品ID(自增ID SEQ_GOODS)
  13096. type: integer
  13097. minamount:
  13098. description: 最小购买金额
  13099. type: number
  13100. regularlybuyminamount:
  13101. description: 定投最小金额
  13102. type: number
  13103. regularlybuyminqty:
  13104. description: 定投最小数量
  13105. type: number
  13106. spotgoodsbrandid:
  13107. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  13108. type: integer
  13109. visibilityforenterprise:
  13110. description: 企业客户是否可见 - 0:不可见 1:可见
  13111. type: integer
  13112. visibilityforpersonal:
  13113. description: 个人客户是否可见 - 0:不可见 1:可见
  13114. type: integer
  13115. wrstandardid:
  13116. description: 现货商品ID
  13117. type: integer
  13118. type: object
  13119. models.QueryErrorInfosRsp:
  13120. properties:
  13121. description:
  13122. description: 异常描述
  13123. type: string
  13124. errorcode:
  13125. description: 异常代码
  13126. type: string
  13127. errorid:
  13128. description: 异常ID
  13129. type: integer
  13130. modulecode:
  13131. description: 所属模块
  13132. type: string
  13133. operatecode:
  13134. description: 所属操作
  13135. type: string
  13136. rownumber:
  13137. description: 行号
  13138. type: string
  13139. required:
  13140. - errorid
  13141. type: object
  13142. models.QueryHedgeOrderDetailRsp:
  13143. properties:
  13144. accountid:
  13145. description: 账户ID
  13146. type: integer
  13147. buyorsell:
  13148. description: 买卖 - 0:买 1:卖
  13149. type: integer
  13150. cancellogincode:
  13151. description: 撤单人
  13152. type: string
  13153. channelbuildtype:
  13154. description: 开平标志 - 0:无 1:建仓 2:平仓
  13155. type: integer
  13156. channelinnerorderstatus:
  13157. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  13158. 9:全部成交
  13159. type: integer
  13160. channeloperatetype:
  13161. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  13162. type: integer
  13163. closetype:
  13164. description: 平仓方式 - 0:无 1:平今 2:平昨
  13165. type: integer
  13166. curexchangerate:
  13167. description: 当前汇率
  13168. type: number
  13169. decimalplace:
  13170. description: 商品报价小数位
  13171. type: integer
  13172. exchangefullname:
  13173. description: 外部交易所全称
  13174. type: string
  13175. goodscode:
  13176. description: 商品代码(内部)
  13177. type: string
  13178. goodsid:
  13179. description: 商品ID
  13180. type: integer
  13181. goodsname:
  13182. description: 商品名称
  13183. type: string
  13184. marketid:
  13185. description: 市场ID
  13186. type: integer
  13187. openfreezemargin:
  13188. description: 冻结保证金(冻结交易金额)
  13189. type: number
  13190. orderid:
  13191. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13192. type: string
  13193. orderlogincode:
  13194. description: 委托人
  13195. type: string
  13196. orderprice:
  13197. description: 委托价格(账户)
  13198. type: number
  13199. orderqty:
  13200. description: 委托数量
  13201. type: integer
  13202. ordertime:
  13203. description: 委托时间
  13204. type: string
  13205. pricemode:
  13206. description: '取价方式 - 1:市价 2: 限价'
  13207. type: integer
  13208. tradedate:
  13209. description: 交易日(yyyyMMdd)
  13210. type: string
  13211. tradeqty:
  13212. description: 成交数量
  13213. type: integer
  13214. type: object
  13215. models.QueryHedgeTradeDetailRsp:
  13216. properties:
  13217. accountid:
  13218. description: 账号ID
  13219. type: integer
  13220. buyorsell:
  13221. description: 方向 - 0:买 1:卖
  13222. type: integer
  13223. channelbuildtype:
  13224. description: 委托单据类型 0:无 1:建仓 2:平仓
  13225. type: integer
  13226. closecharge:
  13227. description: 平仓手续费(账户)
  13228. type: number
  13229. closecharge2:
  13230. description: 平仓手续费(商品)
  13231. type: number
  13232. closepl:
  13233. description: 平仓盈亏(账户)
  13234. type: number
  13235. closepl2:
  13236. description: 平仓盈亏(商品)
  13237. type: number
  13238. closepl3:
  13239. description: 平仓盈亏(账户)(逐笔)
  13240. type: number
  13241. closepl4:
  13242. description: 平仓盈亏(商品)(逐笔)
  13243. type: number
  13244. closetype:
  13245. description: 平仓方式 - 0:无 1:平今 2:平昨
  13246. type: integer
  13247. curexchangerate:
  13248. description: 当前汇率
  13249. type: number
  13250. decimalplace:
  13251. description: 商品报价小数位
  13252. type: integer
  13253. exchangefullname:
  13254. description: 外部交易所全称
  13255. type: string
  13256. goodscode:
  13257. description: 商品代码(内部)
  13258. type: string
  13259. goodsid:
  13260. description: 商品ID
  13261. type: integer
  13262. goodsname:
  13263. description: 商品名称
  13264. type: string
  13265. marketid:
  13266. description: 市场ID
  13267. type: integer
  13268. opencharge:
  13269. description: 建仓手续费(账户)
  13270. type: number
  13271. opencharge2:
  13272. description: 建仓手续费(商品)
  13273. type: number
  13274. orderid:
  13275. description: 委托单号
  13276. type: string
  13277. orderlogincode:
  13278. description: 委托人
  13279. type: string
  13280. tradeamount:
  13281. description: 成交金额(账户)
  13282. type: number
  13283. tradedate:
  13284. description: 交易日(yyyyMMdd)
  13285. type: string
  13286. tradeid:
  13287. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13288. type: string
  13289. tradeprice:
  13290. description: 成交价格
  13291. type: number
  13292. tradeqty:
  13293. description: 成交数量
  13294. type: integer
  13295. tradetime:
  13296. description: 成交时间
  13297. type: string
  13298. tradetype:
  13299. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  13300. type: integer
  13301. type: object
  13302. models.QuotePrimaryMenu:
  13303. properties:
  13304. Index:
  13305. description: 序号
  13306. type: integer
  13307. Key:
  13308. description: 键名
  13309. type: string
  13310. Name:
  13311. description: 菜单名称
  13312. type: string
  13313. SubMenus:
  13314. description: 子菜单
  13315. items:
  13316. $ref: '#/definitions/models.QuoteSecondaryMenu'
  13317. type: array
  13318. SubTitleType:
  13319. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  13320. type: integer
  13321. TradeModes:
  13322. description: 包含市场交易类型
  13323. type: string
  13324. type: object
  13325. models.QuoteSecondaryMenu:
  13326. properties:
  13327. ExExchangeCode:
  13328. description: 外部交易所代码
  13329. type: string
  13330. ExExchangeID:
  13331. description: 外部交易所ID
  13332. type: integer
  13333. GoodsGroupIDs:
  13334. description: 商品组ID列表
  13335. items:
  13336. type: integer
  13337. type: array
  13338. Index:
  13339. description: 序号
  13340. type: integer
  13341. MarketID:
  13342. description: 市场ID
  13343. type: integer
  13344. MenuTitle:
  13345. description: 菜单标题(市场名称或外部交易所名称)
  13346. type: string
  13347. TradeMode:
  13348. description: 交易模式
  13349. type: integer
  13350. type: object
  13351. models.RoleMenu:
  13352. properties:
  13353. hasright:
  13354. description: 是否有权限 0-没有权限 1-有权限
  13355. type: integer
  13356. iconame:
  13357. description: 菜单图标
  13358. type: string
  13359. menutype:
  13360. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  13361. type: integer
  13362. parentcode:
  13363. description: 上级资源代码
  13364. type: string
  13365. remark:
  13366. description: 菜单备注
  13367. type: string
  13368. resourcecode:
  13369. description: 菜单代码
  13370. type: string
  13371. resourcelevel:
  13372. description: 级别
  13373. type: integer
  13374. resourcename:
  13375. description: 菜单名称
  13376. type: string
  13377. roleid:
  13378. description: 角色id
  13379. type: integer
  13380. sort:
  13381. description: 排序
  13382. type: integer
  13383. subMenu:
  13384. description: 子级菜单(结构同上层一样, swag解析不出来)
  13385. items:
  13386. $ref: '#/definitions/models.RoleMenu'
  13387. type: array
  13388. url:
  13389. description: URL
  13390. type: string
  13391. userid:
  13392. description: 用户id
  13393. type: integer
  13394. type: object
  13395. models.SearchGoods:
  13396. properties:
  13397. goodscode:
  13398. description: 商品代码(内部)
  13399. type: string
  13400. goodsid:
  13401. description: 商品ID(自增ID SEQ_GOODS)
  13402. type: integer
  13403. goodsname:
  13404. description: 商品名称
  13405. type: string
  13406. marketid:
  13407. description: 所属市场ID
  13408. type: integer
  13409. marketname:
  13410. description: 市场名称
  13411. type: string
  13412. trademode:
  13413. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  13414. 21:竞拍-大宗式 22:受托竞价
  13415. type: integer
  13416. required:
  13417. - goodscode
  13418. - goodsid
  13419. - goodsname
  13420. - marketid
  13421. - trademode
  13422. type: object
  13423. models.Systemparam:
  13424. properties:
  13425. loginid:
  13426. description: 更新用户账号,登录账号
  13427. type: string
  13428. modifyflag:
  13429. description: 修改标志0 不允许修改 1 允许修改
  13430. type: integer
  13431. paramcode:
  13432. description: 参数代码
  13433. type: string
  13434. paramname:
  13435. description: 参数名
  13436. type: string
  13437. paramtype:
  13438. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  13439. type: integer
  13440. paramvalue:
  13441. description: 参数值
  13442. type: string
  13443. paramvalue2:
  13444. description: 参数值(CLOB)
  13445. type: string
  13446. regexpress:
  13447. description: 正则表达式
  13448. type: string
  13449. remark:
  13450. description: 备注
  13451. type: string
  13452. serverip:
  13453. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  13454. type: string
  13455. showflag:
  13456. description: 是否显示0 不显示 1 显示
  13457. type: integer
  13458. updatetime:
  13459. description: 更新时间
  13460. type: string
  13461. userid:
  13462. description: 更新用户ID
  13463. type: integer
  13464. required:
  13465. - paramcode
  13466. type: object
  13467. models.Szdz3convertconfig:
  13468. properties:
  13469. canin:
  13470. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  13471. type: integer
  13472. canout:
  13473. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  13474. type: integer
  13475. converttype:
  13476. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  13477. 6:交易转花生米(不设置)
  13478. type: integer
  13479. createtime:
  13480. description: 创建时间
  13481. type: string
  13482. creatorid:
  13483. description: 创建人
  13484. type: integer
  13485. daymaxvalue:
  13486. description: 当日最大转入限制
  13487. type: number
  13488. freezedays:
  13489. description: 冻结天数 [5:花生米转交易]
  13490. type: integer
  13491. innergoodsid:
  13492. description: 内部商品ID[交易]
  13493. type: integer
  13494. inratio:
  13495. description: 目标值
  13496. type: integer
  13497. modifierid:
  13498. description: 修改人
  13499. type: integer
  13500. modifytime:
  13501. description: 修改时间
  13502. type: string
  13503. outergoodscode:
  13504. description: 外部商品代码[JD\PD]
  13505. type: string
  13506. outratio:
  13507. description: 源值
  13508. type: integer
  13509. pddecimalplace:
  13510. description: PD小数位
  13511. type: integer
  13512. timemaxvalue:
  13513. description: 单次最大转入限制
  13514. type: number
  13515. timeminvalue:
  13516. description: 单次最小转入限制
  13517. type: number
  13518. required:
  13519. - converttype
  13520. - innergoodsid
  13521. - outergoodscode
  13522. type: object
  13523. models.Szdz3searchwhitelist:
  13524. properties:
  13525. createtime:
  13526. description: 创建时间
  13527. type: string
  13528. creatorid:
  13529. description: 创建人
  13530. type: integer
  13531. modifierid:
  13532. description: 修改人
  13533. type: integer
  13534. modifytime:
  13535. description: 修改时间
  13536. type: string
  13537. userid:
  13538. description: 用户ID
  13539. type: integer
  13540. required:
  13541. - userid
  13542. type: object
  13543. models.TBGoods:
  13544. properties:
  13545. agreeunit:
  13546. description: 合约乘数
  13547. type: number
  13548. enumdicname:
  13549. description: 单位名称
  13550. type: string
  13551. goodscode:
  13552. description: 商品代码(内部)
  13553. type: string
  13554. goodsid:
  13555. description: 商品ID(自增ID SEQ_GOODS)
  13556. type: integer
  13557. goodsname:
  13558. description: 商品名称
  13559. type: string
  13560. type: object
  13561. models.TBGoodsGroup:
  13562. properties:
  13563. GDLST:
  13564. description: 商品列表
  13565. items:
  13566. $ref: '#/definitions/models.TBGoods'
  13567. type: array
  13568. convertratio:
  13569. description: 折算系数
  13570. type: number
  13571. enumdicname:
  13572. description: 单位名称
  13573. type: string
  13574. exexchangecode:
  13575. description: 交易所代码
  13576. type: string
  13577. exexchangename:
  13578. description: 交易所名称
  13579. type: string
  13580. goodsgroupid:
  13581. description: 商品组ID(自增ID)
  13582. type: integer
  13583. goodsgroupname:
  13584. description: 商品组名称
  13585. type: string
  13586. goodunitid:
  13587. description: 报价单位ID
  13588. type: integer
  13589. type: object
  13590. models.TBMiddleGoods:
  13591. properties:
  13592. GPLST:
  13593. description: 期货品种列表
  13594. items:
  13595. $ref: '#/definitions/models.TBGoodsGroup'
  13596. type: array
  13597. WDLST:
  13598. description: 商品信息列表(现货品类)
  13599. items:
  13600. $ref: '#/definitions/models.TBWrstandard'
  13601. type: array
  13602. areauserid:
  13603. description: 机构用户ID
  13604. type: integer
  13605. enumdicname:
  13606. description: 单位名称
  13607. type: string
  13608. goodsunitid:
  13609. description: 套保品种单位id
  13610. type: integer
  13611. middlegoodscode:
  13612. description: 套保品种代码
  13613. type: string
  13614. middlegoodsid:
  13615. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  13616. type: integer
  13617. middlegoodsname:
  13618. description: 套保品种名称
  13619. type: string
  13620. needarbitrageratio:
  13621. description: 套利比率
  13622. type: number
  13623. needhedgeratio:
  13624. description: 套保比率
  13625. type: number
  13626. type: object
  13627. models.TBWrstandard:
  13628. properties:
  13629. convertratio:
  13630. description: 折算系数
  13631. type: number
  13632. deliverygoodsname:
  13633. description: 品种名称
  13634. type: string
  13635. enumdicname:
  13636. description: 单位名称
  13637. type: string
  13638. vatrate:
  13639. description: 增值税率
  13640. type: number
  13641. wrstandardcode:
  13642. description: 现货商品代码
  13643. type: string
  13644. wrstandardid:
  13645. description: 现货商品ID(SEQ_WRSTANDARD)
  13646. type: integer
  13647. wrstandardname:
  13648. description: 现货商品名称
  13649. type: string
  13650. type: object
  13651. models.Taaccount:
  13652. properties:
  13653. accountflag:
  13654. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  13655. type: integer
  13656. accountid:
  13657. description: 资金账户ID
  13658. type: integer
  13659. accountname:
  13660. description: 账户名称
  13661. type: string
  13662. balance:
  13663. description: 期初余额
  13664. type: number
  13665. capitalbalance:
  13666. description: 本金余额[外部子账户实际出入金余额]
  13667. type: number
  13668. changeflag:
  13669. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  13670. type: integer
  13671. changetime:
  13672. description: 账户状态变更时间
  13673. type: string
  13674. closepl:
  13675. description: 今日平仓盈亏
  13676. type: number
  13677. creditdecrease:
  13678. description: 今日授信减少
  13679. type: number
  13680. creditincrease:
  13681. description: 今日授信增加
  13682. type: number
  13683. curamount:
  13684. description: 总市值(从持仓中统计)
  13685. type: number
  13686. currencyid:
  13687. description: 货币ID
  13688. type: integer
  13689. currentbalance:
  13690. description: 期末余额
  13691. type: number
  13692. freezecharge:
  13693. description: 手续费冻结
  13694. type: number
  13695. freezemargin:
  13696. description: 冻结保证金
  13697. type: number
  13698. fromaccountid:
  13699. description: 所属上级账户
  13700. type: integer
  13701. inamount:
  13702. description: 今日入金金额(包括三方入金)
  13703. type: number
  13704. ismain:
  13705. description: 是否母账号 0:不是母账户 1:是母账户
  13706. type: integer
  13707. ismarketaccount:
  13708. description: 是否机构接单账号 0:不是 1:是
  13709. type: integer
  13710. isreckonaccount:
  13711. description: 是否机构分润账号 0:不是 1:是
  13712. type: integer
  13713. mortgagecredit:
  13714. description: 授信金额
  13715. type: number
  13716. orifreezecharge:
  13717. description: 期初手续费冻结
  13718. type: number
  13719. orifreezemargin:
  13720. description: 期初冻结保证金
  13721. type: number
  13722. orimortgagecredit:
  13723. description: 期初授信金额
  13724. type: number
  13725. oriothercredit:
  13726. description: 期初其它授信金额
  13727. type: number
  13728. oriotherfreezemargin:
  13729. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  13730. type: number
  13731. orioutamountfreeze:
  13732. description: 期初出金冻结
  13733. type: number
  13734. oriusedmargin:
  13735. description: 期初占用保证金
  13736. type: number
  13737. othercredit:
  13738. description: 其它授信金额
  13739. type: number
  13740. othercreditdecrease:
  13741. description: 今日其它授信减少
  13742. type: number
  13743. othercreditincrease:
  13744. description: 今日其它授信增加
  13745. type: number
  13746. otherfreezemargin:
  13747. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  13748. type: number
  13749. otherincome:
  13750. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  13751. type: number
  13752. otherpay:
  13753. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  13754. type: number
  13755. outamount:
  13756. description: 今日出金金额(包括三方出金)
  13757. type: number
  13758. outamountfreeze:
  13759. description: 出金冻结
  13760. type: number
  13761. outthreshold:
  13762. description: 出金阈值
  13763. type: number
  13764. parentaccountid:
  13765. description: 所属根账号
  13766. type: integer
  13767. paycharge:
  13768. description: 今日手续费支出
  13769. type: number
  13770. relatedaccountstatus:
  13771. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  13772. type: integer
  13773. relateduserid:
  13774. description: 关联用户
  13775. type: integer
  13776. remainamount:
  13777. description: 融资额(从融资合同中统计)
  13778. type: number
  13779. serivcegroup:
  13780. description: 服务分组
  13781. type: integer
  13782. signstatus:
  13783. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  13784. type: integer
  13785. sublevelpath:
  13786. description: 账号层级路径(逗号分隔,首尾加逗号)
  13787. type: string
  13788. taaccounttype:
  13789. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  13790. type: integer
  13791. thirdinamount:
  13792. description: 今日三方入金
  13793. type: number
  13794. thirdoutamount:
  13795. description: 今日三方出金
  13796. type: number
  13797. tradestatus:
  13798. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  13799. type: integer
  13800. tradestatuschangetime:
  13801. description: 激活时间
  13802. type: string
  13803. transferamount:
  13804. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  13805. type: number
  13806. usedmargin:
  13807. description: 占用保证金
  13808. type: number
  13809. userid:
  13810. description: 用户ID
  13811. type: integer
  13812. required:
  13813. - accountid
  13814. - userid
  13815. type: object
  13816. models.Tablecolumnconfig:
  13817. properties:
  13818. aligntype:
  13819. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  13820. type: integer
  13821. autoid:
  13822. description: AutoID
  13823. type: integer
  13824. columnfield:
  13825. description: 列字段
  13826. type: string
  13827. columntitle:
  13828. description: 列Title
  13829. type: string
  13830. columnwidth:
  13831. description: 列宽
  13832. type: string
  13833. formatterstring:
  13834. description: 格式化字符
  13835. type: string
  13836. formattertype:
  13837. description: 格式化类型
  13838. type: string
  13839. groupname:
  13840. description: 表头分组名称
  13841. type: string
  13842. isshow:
  13843. description: 是否显示 - 0:不显示 1:显示
  13844. type: integer
  13845. needsummary:
  13846. description: 是否需要汇总 - 0:不需要 1:需要
  13847. type: integer
  13848. orderindex:
  13849. description: 顺序
  13850. type: integer
  13851. remark:
  13852. description: 备注
  13853. type: string
  13854. summarytype:
  13855. description: 汇总类型 - 1:加总 2:最后一个
  13856. type: integer
  13857. tablekey:
  13858. description: 列表Key
  13859. type: string
  13860. required:
  13861. - autoid
  13862. type: object
  13863. models.TjmdHolderDetailTradeInfo:
  13864. properties:
  13865. agreeunit:
  13866. description: 合约乘数
  13867. type: number
  13868. buyaccountid:
  13869. description: 买方账户
  13870. type: string
  13871. buyusername:
  13872. description: 买方
  13873. type: string
  13874. delistingdate:
  13875. description: 最后结算日
  13876. type: string
  13877. expiredate:
  13878. description: 到期结算价定价日
  13879. type: string
  13880. exprieprice:
  13881. description: 到期清算价格
  13882. type: string
  13883. goodscode:
  13884. description: 商品代码
  13885. type: string
  13886. goodsid:
  13887. description: 商品ID
  13888. type: integer
  13889. goodsname:
  13890. description: 商品名称(交易标的)
  13891. type: string
  13892. lasttradedate:
  13893. description: 最后交易日
  13894. type: string
  13895. listingdate:
  13896. description: 开始交易日
  13897. type: string
  13898. openprice:
  13899. description: 成交价
  13900. type: number
  13901. openqty:
  13902. description: 交易数量
  13903. type: integer
  13904. sellaccountid:
  13905. description: 卖方账户
  13906. type: string
  13907. sellusername:
  13908. description: 卖方
  13909. type: string
  13910. tradeamount:
  13911. description: 初始名义价值
  13912. type: number
  13913. tradedate:
  13914. description: 成交日期
  13915. type: string
  13916. tradeid:
  13917. description: 成交编号
  13918. type: string
  13919. type: object
  13920. models.TjmdMarketSection:
  13921. properties:
  13922. marketsectionid:
  13923. description: 市场版块ID(SEQ_MARKETSECTION)
  13924. type: integer
  13925. marketsectionname:
  13926. description: 市场版块名称
  13927. type: string
  13928. mlist:
  13929. description: 市场列表(板块下面有多少个市场)
  13930. items:
  13931. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  13932. type: array
  13933. orderindex:
  13934. description: 排序
  13935. type: integer
  13936. pictureurl:
  13937. description: 图片url, 规格(90*90)
  13938. type: string
  13939. remark:
  13940. description: 备注
  13941. type: string
  13942. type: object
  13943. models.TjmdMarketSectionConfig:
  13944. properties:
  13945. auctionwrtype:
  13946. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  13947. type: integer
  13948. canacceptquote:
  13949. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  13950. type: integer
  13951. cangoodsexercise:
  13952. description: '[期权]是否可现货行权- 0:否 1:是'
  13953. type: integer
  13954. cangoodsexercisetype:
  13955. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  13956. type: integer
  13957. canmanualquotestrike:
  13958. description: 是否可手动报行权价- 0:否 1:是 [期权]
  13959. type: integer
  13960. canmutistage:
  13961. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  13962. type: integer
  13963. canpreexercise:
  13964. description: '[期权]是否可预申报- 0:否 1:是'
  13965. type: integer
  13966. clearinterval:
  13967. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  13968. type: integer
  13969. contracttmp:
  13970. description: 合同模板[荷兰式][竞价式][仓单贸易]
  13971. type: string
  13972. exchareaid:
  13973. description: 所属交易所,可以没有
  13974. type: integer
  13975. financemarketid:
  13976. description: 融资回购市场ID [仓单贸易]
  13977. type: integer
  13978. goodstype:
  13979. description: 商品类型 - 1:交易商品 2:仓单商品
  13980. type: integer
  13981. hasrebate:
  13982. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  13983. type: integer
  13984. hastradecredit:
  13985. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  13986. type: integer
  13987. haswr:
  13988. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  13989. type: integer
  13990. isdeductmargin:
  13991. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  13992. type: integer
  13993. isrecordsource:
  13994. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  13995. type: integer
  13996. isreleasemargin:
  13997. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  13998. type: integer
  13999. isupdatereckonprice:
  14000. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  14001. type: integer
  14002. listingmode:
  14003. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  14004. type: integer
  14005. marginformula:
  14006. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  14007. type: integer
  14008. marginformula2:
  14009. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  14010. type: integer
  14011. marketid:
  14012. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  14013. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  14014. type: integer
  14015. marketname:
  14016. description: 市场名称
  14017. type: string
  14018. marketsectionid:
  14019. description: 市场版块ID(SEQ_MARKETSECTION)
  14020. type: integer
  14021. marketserviceid:
  14022. description: 市场服务ID
  14023. type: integer
  14024. marketstatus:
  14025. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  14026. type: integer
  14027. markettype:
  14028. description: 市场类型- 1:非交易服务 2:交易服务
  14029. type: integer
  14030. matchermode:
  14031. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  14032. type: integer
  14033. nowrquotaflag:
  14034. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  14035. type: integer
  14036. openmethod:
  14037. description: 开盘模式 - 0 自动 1手动
  14038. type: integer
  14039. orderindex:
  14040. description: 排序
  14041. type: integer
  14042. otcuserid:
  14043. description: 场外期权做市商[场外期权]
  14044. type: integer
  14045. outersynctime:
  14046. description: 外部同步时间点(h24:mi:ss)[场外期权]
  14047. type: string
  14048. paylaterflag:
  14049. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  14050. type: integer
  14051. pendingflag:
  14052. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  14053. type: integer
  14054. pendingtime:
  14055. description: 待开市时间[通道交易-对冲](HH:mm)
  14056. type: string
  14057. performancetempid:
  14058. description: 履约计划模板ID - 作废
  14059. type: integer
  14060. premiumquotemode:
  14061. description: 权利金报价方式 - 1:自动 2:手动
  14062. type: integer
  14063. rebateratio:
  14064. description: 返利比率[竞价式]
  14065. type: number
  14066. reckonorder:
  14067. description: 结算顺序
  14068. type: integer
  14069. reckonpricealgorithm:
  14070. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  14071. 6.卖一价 7.买一卖一均价 8.外部结算价'
  14072. type: integer
  14073. reckonpriceparam:
  14074. description: 结算价参数
  14075. type: integer
  14076. reckontime:
  14077. description: 结算时间[通道交易-对冲](HH:mm)
  14078. type: string
  14079. roleprioritytype:
  14080. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  14081. type: integer
  14082. selllistingauditflag:
  14083. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  14084. type: integer
  14085. trademarkettype:
  14086. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  14087. type: integer
  14088. trademode:
  14089. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  14090. 21:竞拍-大宗式 22:受托竞价
  14091. type: integer
  14092. tradeproperty:
  14093. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  14094. 8:场外期权
  14095. type: integer
  14096. tradetype:
  14097. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  14098. type: integer
  14099. updatereckonpriceinterval:
  14100. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  14101. type: integer
  14102. type: object
  14103. models.TjmdQuoteGoods:
  14104. properties:
  14105. buyqty:
  14106. description: 买量(暂不做, 无值, 保留字段)
  14107. type: number
  14108. decimalplace:
  14109. description: 报价小数位
  14110. type: integer
  14111. goodscode:
  14112. description: 合约代码
  14113. type: string
  14114. goodsgroupid:
  14115. description: 商品组ID(自增ID)
  14116. type: integer
  14117. goodsgroupname:
  14118. description: 商品组名称
  14119. type: string
  14120. goodsid:
  14121. description: 合约id
  14122. type: integer
  14123. goodsname:
  14124. description: 合约名称
  14125. type: string
  14126. refgoodscode:
  14127. description: 标的合约代码
  14128. type: string
  14129. refgoodsid:
  14130. description: 标的合约id
  14131. type: integer
  14132. refgoodsname:
  14133. description: 标的合约名称
  14134. type: string
  14135. sellqty:
  14136. description: 卖量(暂不做, 无值, 保留字段)
  14137. type: number
  14138. type: object
  14139. models.TjmdTodayAccountMargin:
  14140. properties:
  14141. accountid:
  14142. description: 账号ID
  14143. type: integer
  14144. goodsid:
  14145. description: 商品ID
  14146. type: integer
  14147. infoc:
  14148. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  14149. description: 配置参数
  14150. marketid:
  14151. description: 市场ID
  14152. type: integer
  14153. type: object
  14154. models.TjmdTradeOrderDetail:
  14155. properties:
  14156. buyorsell:
  14157. description: 买卖方向 0-买 1-卖
  14158. type: integer
  14159. goodsid:
  14160. description: 商品id
  14161. type: integer
  14162. marketmaxsub:
  14163. description: 市价最大偏移范围 [浮动价 - 点差]
  14164. type: number
  14165. orderid:
  14166. description: 委托单号
  14167. type: string
  14168. orderprice:
  14169. description: 委托价格
  14170. type: number
  14171. orderqty:
  14172. description: 委托数量
  14173. type: integer
  14174. pricemode:
  14175. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  14176. type: integer
  14177. userid:
  14178. description: 用户id
  14179. type: integer
  14180. username:
  14181. description: 用户名称(已脱敏)
  14182. type: string
  14183. type: object
  14184. models.TjmdTransferApply:
  14185. properties:
  14186. applyid:
  14187. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  14188. type: integer
  14189. applystatus:
  14190. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  14191. type: integer
  14192. applytime:
  14193. description: 申请时间(时间)
  14194. type: string
  14195. auditremark:
  14196. description: 审核备注(拒绝原因?)
  14197. type: string
  14198. begindate:
  14199. description: 开始交易日(yyyymmdd)
  14200. type: string
  14201. buyorsell:
  14202. description: 买卖 - 0:买 1:卖
  14203. type: integer
  14204. enddate:
  14205. description: 结束交易日(yyyymmdd)
  14206. type: string
  14207. goodscode:
  14208. description: 商品代码
  14209. type: string
  14210. goodsid:
  14211. description: 商品ID
  14212. type: integer
  14213. goodsname:
  14214. description: 商品名称
  14215. type: string
  14216. marketid:
  14217. description: 市场ID
  14218. type: integer
  14219. qty:
  14220. description: 转让数量(数量)
  14221. type: number
  14222. tradeid:
  14223. description: 成交单号(关联持仓)
  14224. type: string
  14225. transferamount:
  14226. description: 转让总金额(金额)
  14227. type: number
  14228. transferprice:
  14229. description: 转让价格(协议价格)
  14230. type: number
  14231. type: object
  14232. models.TradeHolderDetail:
  14233. properties:
  14234. accountid:
  14235. description: 账号ID
  14236. type: integer
  14237. agreeunit:
  14238. description: 合约乘数
  14239. type: number
  14240. buyorsell:
  14241. description: 方向 - 0:买 1:卖
  14242. type: integer
  14243. currencyid:
  14244. description: 商品币种id
  14245. type: integer
  14246. currencyname:
  14247. description: 币种名称
  14248. type: string
  14249. decimalplace:
  14250. description: 商品价格小数位
  14251. type: integer
  14252. enumdicname:
  14253. description: 商品单位名称
  14254. type: string
  14255. expirecycle:
  14256. description: 行权周期(天) - 1:滚动行权时填写
  14257. type: integer
  14258. expiredate:
  14259. description: 行权日(yyyyMMdd) - 到期日
  14260. type: string
  14261. expiretype:
  14262. description: 行权日类型 - 1:滚动行权 2:固定日行权
  14263. type: integer
  14264. freezeqty:
  14265. description: 冻结数量
  14266. type: number
  14267. goodscode:
  14268. description: 商品代码
  14269. type: string
  14270. goodsid:
  14271. description: 商品ID
  14272. type: integer
  14273. goodsname:
  14274. description: 商品名称
  14275. type: string
  14276. goodunitid:
  14277. description: 商品单位id
  14278. type: integer
  14279. holderamount:
  14280. description: 持仓金额
  14281. type: number
  14282. holdercredit:
  14283. description: 持仓授信金额
  14284. type: number
  14285. holderdays:
  14286. description: 剩余冻结天数
  14287. type: integer
  14288. holderprice:
  14289. description: 持仓价格
  14290. type: number
  14291. holderqty:
  14292. description: 持仓数量
  14293. type: number
  14294. isconfirmexercise:
  14295. description: 是否确认行权- 0:否 1:是
  14296. type: integer
  14297. ispreexercise:
  14298. description: 是否预申报- 0:否 1:是 2:不可行权
  14299. type: integer
  14300. marketid:
  14301. description: 市场id
  14302. type: integer
  14303. marketname:
  14304. description: 市场名称
  14305. type: string
  14306. openprice:
  14307. description: 建仓价格
  14308. type: number
  14309. openqty:
  14310. description: 建仓数量
  14311. type: number
  14312. optiontype:
  14313. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  14314. type: integer
  14315. preexerciseprice:
  14316. description: 预申报价格
  14317. type: number
  14318. premium:
  14319. description: 权利金
  14320. type: number
  14321. qtydecimalplace:
  14322. description: 商品成交量小数位
  14323. type: integer
  14324. refgoodscode:
  14325. description: 标的合约代码
  14326. type: string
  14327. refgoodsid:
  14328. description: 标的合约id
  14329. type: integer
  14330. releaseamount:
  14331. description: 释放持仓金额
  14332. type: number
  14333. releaseholdercredit:
  14334. description: 释放持仓授信金额
  14335. type: number
  14336. taname:
  14337. description: 资金账号名称
  14338. type: string
  14339. tradeamount:
  14340. description: 成交金额
  14341. type: number
  14342. tradedate:
  14343. description: 交易日(yyyyMMdd)
  14344. type: string
  14345. tradeid:
  14346. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14347. type: string
  14348. trademode:
  14349. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  14350. 21:竞拍-大宗式 22:受托竞价 46:掉期
  14351. type: integer
  14352. tradeproperty:
  14353. description: 交易属性
  14354. type: integer
  14355. tradetime:
  14356. description: 交易时间
  14357. type: string
  14358. userid:
  14359. description: 用户id
  14360. type: integer
  14361. username:
  14362. description: 用户名称
  14363. type: string
  14364. type: object
  14365. models.UserCollectConfig:
  14366. properties:
  14367. accountstatus:
  14368. description: 账户状态 - 1:正常 2:停用 3:注销
  14369. type: integer
  14370. collectaccountname:
  14371. description: 收款人账户名称
  14372. type: string
  14373. collectaccountno:
  14374. description: 收款人账户
  14375. type: string
  14376. collectbankname:
  14377. description: 收款人开户行
  14378. type: string
  14379. collectbranchbankname:
  14380. description: 收款人开户支行
  14381. type: string
  14382. collectconfigid:
  14383. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  14384. type: string
  14385. remark:
  14386. description: 备注
  14387. type: string
  14388. userid:
  14389. description: 收款人用户ID
  14390. type: integer
  14391. type: object
  14392. models.UserReceiveInfo:
  14393. properties:
  14394. address:
  14395. description: 提货人详细地址
  14396. type: string
  14397. autoid:
  14398. description: AutoID
  14399. type: integer
  14400. cardnum:
  14401. description: 证件号码(加密存储)
  14402. type: string
  14403. cardtypeid:
  14404. description: 证件类型
  14405. type: integer
  14406. cityid:
  14407. description: 市
  14408. type: integer
  14409. cityname:
  14410. description: 城市名称
  14411. type: string
  14412. countryid:
  14413. description: 国家
  14414. type: integer
  14415. countryname:
  14416. description: 国家名称
  14417. type: string
  14418. districtid:
  14419. description: 地区
  14420. type: integer
  14421. districtname:
  14422. description: 地区名称
  14423. type: string
  14424. hasencrypt:
  14425. description: 数据是否已加密 - 0:未加密 1:已加密
  14426. type: integer
  14427. isdefault:
  14428. description: 是否默认地址 - 0:否 1:是
  14429. type: integer
  14430. phonenum:
  14431. description: 提货人联系方式(加密存储)
  14432. type: string
  14433. provinceid:
  14434. description: 省
  14435. type: integer
  14436. provincename:
  14437. description: 省名称
  14438. type: string
  14439. receivername:
  14440. description: 提货人姓名
  14441. type: string
  14442. takeremark:
  14443. description: 提货备注
  14444. type: string
  14445. userid:
  14446. description: 用户ID
  14447. type: integer
  14448. type: object
  14449. models.Useraccount:
  14450. properties:
  14451. accountname:
  14452. description: 账户名称(机构名称)
  14453. type: string
  14454. accountstatus:
  14455. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  14456. type: integer
  14457. applysrc:
  14458. description: 申请来源 - 1:管理端 2:终端
  14459. type: integer
  14460. auditremark:
  14461. description: 审核备注
  14462. type: string
  14463. auditsrc:
  14464. description: 审核来源 - 1:管理端 2:终端
  14465. type: integer
  14466. audittime:
  14467. description: 审核时间
  14468. type: string
  14469. audituserid:
  14470. description: 审核人
  14471. type: integer
  14472. broker:
  14473. description: 所属经纪人ID
  14474. type: integer
  14475. canceltime:
  14476. description: 销户时间
  14477. type: string
  14478. canceluserid:
  14479. description: 销户人
  14480. type: integer
  14481. canrecommend:
  14482. description: 是否可推荐 - 0:不可 1;可
  14483. type: integer
  14484. createtime:
  14485. description: 创建时间
  14486. type: string
  14487. creatorid:
  14488. description: 创建人
  14489. type: integer
  14490. hasauth:
  14491. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  14492. type: integer
  14493. isanonymous:
  14494. description: 是否匿名下单 - 0:否 1:是
  14495. type: integer
  14496. maxinvestornum:
  14497. description: 最大用户数(经纪会员下投资者个数)
  14498. type: integer
  14499. memberuserid:
  14500. description: 所属会员ID
  14501. type: integer
  14502. modifierid:
  14503. description: 修改人
  14504. type: integer
  14505. modifyremark:
  14506. description: 变更备注
  14507. type: string
  14508. modifystatus:
  14509. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  14510. type: integer
  14511. modifytime:
  14512. description: 修改时间
  14513. type: string
  14514. parenttopuser:
  14515. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  14516. type: string
  14517. parentuserid:
  14518. description: 所属机构ID
  14519. type: integer
  14520. reckonaccountid:
  14521. description: 默认结算资金账号ID(机构分润使用) 作废
  14522. type: integer
  14523. refercount:
  14524. description: 推荐总人数
  14525. type: integer
  14526. refereeuserid:
  14527. description: 推荐人ID
  14528. type: integer
  14529. refernum:
  14530. description: 推荐码
  14531. type: string
  14532. rootuserid:
  14533. description: 根用户ID
  14534. type: integer
  14535. subaccountlevel:
  14536. description: 子账户层数
  14537. type: integer
  14538. subarealevelpath:
  14539. description: 子机构层级路径(逗号分隔,首尾加逗号)
  14540. type: string
  14541. userid:
  14542. description: 用户ID
  14543. type: integer
  14544. usertype:
  14545. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  14546. type: integer
  14547. required:
  14548. - userid
  14549. type: object
  14550. models.Userfavoritegoods:
  14551. properties:
  14552. goodsid:
  14553. description: 商品ID
  14554. type: integer
  14555. required:
  14556. - goodsid
  14557. type: object
  14558. models.Userinfo:
  14559. properties:
  14560. address:
  14561. description: 地址
  14562. type: string
  14563. attachment1:
  14564. description: 附件1
  14565. type: string
  14566. attachment2:
  14567. description: 附件2
  14568. type: string
  14569. bankaccount:
  14570. description: 银行帐号 (加密存储)
  14571. type: string
  14572. bankaccountname:
  14573. description: 收款人名称
  14574. type: string
  14575. bankcardfrontphotourl:
  14576. description: 银行卡正面照地址
  14577. type: string
  14578. bankid:
  14579. description: 银行编码
  14580. type: string
  14581. bankname:
  14582. description: 银行名称
  14583. type: string
  14584. biznature:
  14585. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  14586. type: integer
  14587. bizscope:
  14588. description: 企业经营范围(企业)
  14589. type: string
  14590. cardbackphotourl:
  14591. description: 证件背面图片地址
  14592. type: string
  14593. cardfrontphotourl:
  14594. description: 证件正面图片地址
  14595. type: string
  14596. cardnum:
  14597. description: 证件号码(加密存储)
  14598. type: string
  14599. cardtypeid:
  14600. description: 证件类型ID
  14601. type: integer
  14602. cityid:
  14603. description: 市
  14604. type: integer
  14605. company:
  14606. description: 公司(个人)
  14607. type: string
  14608. contactname:
  14609. description: 联系人
  14610. type: string
  14611. countryid:
  14612. description: 国家
  14613. type: integer
  14614. createtime:
  14615. description: 创建时间
  14616. type: string
  14617. creatorid:
  14618. description: 创建人
  14619. type: integer
  14620. customername:
  14621. description: 客户名称(企业名称)
  14622. type: string
  14623. districtid:
  14624. description: 地区
  14625. type: integer
  14626. email:
  14627. description: 邮件(加密存储)
  14628. type: string
  14629. fax:
  14630. description: 传真(加密存储)
  14631. type: string
  14632. halfbodyphotourl:
  14633. description: 半身照地址
  14634. type: string
  14635. hasencrypt:
  14636. description: 数据是否已加密 - 0:未加密 1:已加密
  14637. type: integer
  14638. headurl:
  14639. description: 头像地址
  14640. type: string
  14641. legalcardbackphotourl:
  14642. description: 法人身份证背面照地址
  14643. type: string
  14644. legalcardfrontphotourl:
  14645. description: 法人身份证正面照地址
  14646. type: string
  14647. legalpersonname:
  14648. description: 法人姓名(企业)
  14649. type: string
  14650. mobile:
  14651. description: 手机号码(加密存储)
  14652. type: string
  14653. mobile2:
  14654. description: 手机号码[明文-尚志]
  14655. type: string
  14656. modifierid:
  14657. description: 修改人
  14658. type: integer
  14659. modifiertime:
  14660. description: 修改时间
  14661. type: string
  14662. needinvoice:
  14663. description: 是否需要发票 - 0:不需要 1:需要
  14664. type: integer
  14665. nickname:
  14666. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  14667. type: string
  14668. openmode:
  14669. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  14670. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  14671. type: integer
  14672. otherurl:
  14673. description: 其它图片地址[使用分号分隔]
  14674. type: string
  14675. postalcode:
  14676. description: 邮政编码
  14677. type: string
  14678. provinceid:
  14679. description: 省
  14680. type: integer
  14681. qq:
  14682. description: QQ(加密存储
  14683. type: string
  14684. remark:
  14685. description: 备注
  14686. type: string
  14687. sex:
  14688. description: '用户性别 0: 女 1: 男'
  14689. type: integer
  14690. signpdfurl:
  14691. description: 签约pdf文件
  14692. type: string
  14693. telphone:
  14694. description: 联系电话(加密存储)
  14695. type: string
  14696. userid:
  14697. description: 用户ID
  14698. type: integer
  14699. userinfotype:
  14700. description: 用户信息类型 - 1:个人 2:企业
  14701. type: integer
  14702. userstatus:
  14703. description: 用户状态 - 1:正常 2:注销
  14704. type: integer
  14705. usertype:
  14706. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  14707. type: integer
  14708. wechat:
  14709. description: 微信(加密存储)
  14710. type: string
  14711. wskhinfo:
  14712. description: 开户申请信息(JSON)
  14713. type: string
  14714. required:
  14715. - userid
  14716. type: object
  14717. models.WRSConverTDetail:
  14718. properties:
  14719. convertratio:
  14720. description: 套保系数
  14721. type: number
  14722. deliverygoodscode:
  14723. description: 现货商品代码
  14724. type: string
  14725. deliverygoodsid:
  14726. description: 现货品种ID
  14727. type: integer
  14728. deliverygoodsname:
  14729. description: 现货商品名称
  14730. type: string
  14731. enumdicname:
  14732. description: 单位名称
  14733. type: string
  14734. goodsunitid:
  14735. description: 套保品种单位id
  14736. type: integer
  14737. middlegoodscode:
  14738. description: 套保品种代码
  14739. type: string
  14740. middlegoodsid:
  14741. description: 套保品种ID
  14742. type: integer
  14743. middlegoodsname:
  14744. description: 套保品种名称
  14745. type: string
  14746. modifytime:
  14747. description: 修改时间
  14748. type: string
  14749. wrstandardid:
  14750. description: 品类ID
  14751. type: integer
  14752. type: object
  14753. models.WRStandardInfo:
  14754. properties:
  14755. areauserid:
  14756. description: 所属机构
  14757. type: integer
  14758. convertfactor:
  14759. description: 标仓系数
  14760. type: number
  14761. createtime:
  14762. description: 创建时间
  14763. type: string
  14764. creatorid:
  14765. description: 创建人
  14766. type: integer
  14767. deliverygoodsid:
  14768. description: 品种ID
  14769. type: integer
  14770. deliverygoodsname:
  14771. description: 交割商品名称
  14772. type: string
  14773. factoryitemjson:
  14774. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  14775. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  14776. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  14777. 逗号分隔'
  14778. type: string
  14779. isvalid:
  14780. description: 是否有效 - 0:无效 1:有效
  14781. type: integer
  14782. minivalue:
  14783. description: 最小变动值
  14784. type: integer
  14785. minivaluedp:
  14786. description: 最小变动值小数位
  14787. type: integer
  14788. realminivalue:
  14789. description: 实际最小变动值
  14790. type: integer
  14791. realminivaluedp:
  14792. description: 实际最小变动值小数位
  14793. type: integer
  14794. remark:
  14795. description: 备注
  14796. type: string
  14797. unitid:
  14798. description: 单位ID
  14799. type: integer
  14800. unitname:
  14801. description: 单位
  14802. type: string
  14803. updatetime:
  14804. description: 更新时间
  14805. type: string
  14806. updatorid:
  14807. description: 更新人
  14808. type: integer
  14809. wrsstatus:
  14810. description: 状态 - 作废 - 0:未激活 1:正常
  14811. type: integer
  14812. wrstandardcode:
  14813. description: 现货品类代码
  14814. type: string
  14815. wrstandardid:
  14816. description: 现货品类ID(SEQ_WRSTANDARD)
  14817. type: integer
  14818. wrstandardname:
  14819. description: 现货品类名称
  14820. type: string
  14821. required:
  14822. - wrstandardid
  14823. type: object
  14824. models.WRTradeBargainApply:
  14825. properties:
  14826. accountid:
  14827. description: 摘牌资金账号
  14828. type: integer
  14829. applyprice:
  14830. description: 申请价格(议价价格)
  14831. type: string
  14832. applyqty:
  14833. description: 摘牌数量(议价数量)
  14834. type: number
  14835. applyremark:
  14836. description: 申请备注
  14837. type: string
  14838. applystatus:
  14839. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  14840. type: integer
  14841. applytime:
  14842. description: 申请时间(议价时间)
  14843. type: string
  14844. begindate:
  14845. description: 开始交易日(yyyymmdd)
  14846. type: string
  14847. buyorsell:
  14848. description: 买卖(挂牌类型) - 0:买 1:卖
  14849. type: integer
  14850. confirmremark:
  14851. description: 确认备注
  14852. type: string
  14853. confirmtime:
  14854. description: 确认时间
  14855. type: string
  14856. confirmuserid:
  14857. description: 确认人
  14858. type: integer
  14859. deliverygoodscode:
  14860. description: 品种代码
  14861. type: string
  14862. deliverygoodsid:
  14863. description: 品种ID
  14864. type: integer
  14865. deliverygoodsname:
  14866. description: 品种名称
  14867. type: string
  14868. deliverymonth:
  14869. description: 交收月
  14870. type: string
  14871. enddate:
  14872. description: 结束交易日(yyyymmdd)
  14873. type: string
  14874. enumdicname:
  14875. description: 单位名称
  14876. type: string
  14877. fixedprice:
  14878. description: 挂牌价格
  14879. type: number
  14880. handlestatus:
  14881. description: 处理状态
  14882. type: integer
  14883. marginvalue:
  14884. description: 履约保证金比例
  14885. type: number
  14886. marketid:
  14887. description: 市场ID
  14888. type: integer
  14889. matchaccountid:
  14890. description: 挂牌方资金账号
  14891. type: integer
  14892. matchuserid:
  14893. description: 挂牌方用户id
  14894. type: integer
  14895. matchusername:
  14896. description: 挂牌方用户名称(已脱敏)
  14897. type: string
  14898. minivalue:
  14899. description: 现货商品最小变动值
  14900. type: integer
  14901. optioncompare:
  14902. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14903. type: string
  14904. orderqty:
  14905. description: 挂牌数量
  14906. type: integer
  14907. refprice:
  14908. description: 参考价格
  14909. type: string
  14910. retcode:
  14911. description: 委托返回代码
  14912. type: integer
  14913. templatename:
  14914. description: 履约方式(履约模板名称)
  14915. type: string
  14916. tradedate:
  14917. description: 交易日(yyyyMMdd)
  14918. type: string
  14919. userid:
  14920. description: 摘牌人用户ID(议价人ID)
  14921. type: integer
  14922. username:
  14923. description: 议价人名字(已脱敏)
  14924. type: string
  14925. validtime:
  14926. description: 有效期限
  14927. type: string
  14928. warehouseid:
  14929. description: 仓库ID
  14930. type: integer
  14931. warehousename:
  14932. description: 仓库名称
  14933. type: string
  14934. wrbargainid:
  14935. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  14936. type: string
  14937. wrfactortypeid:
  14938. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14939. type: string
  14940. wrfactortypename:
  14941. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14942. type: string
  14943. wrstandardcode:
  14944. description: 现货商品代码
  14945. type: string
  14946. wrstandardid:
  14947. description: 现货商品ID
  14948. type: integer
  14949. wrstandardname:
  14950. description: 商品名称
  14951. type: string
  14952. wrtradeorderid:
  14953. description: 关联委托单ID
  14954. type: string
  14955. wrtypename:
  14956. description: 商品
  14957. type: string
  14958. type: object
  14959. models.Warehouseinfo:
  14960. properties:
  14961. address:
  14962. description: 详细地址
  14963. type: string
  14964. areauserid:
  14965. description: 所属机构
  14966. type: integer
  14967. autoid:
  14968. description: 自增ID
  14969. type: integer
  14970. cityid:
  14971. description: 市
  14972. type: integer
  14973. contactname:
  14974. description: 联系人
  14975. type: string
  14976. contactnum:
  14977. description: 联系电话
  14978. type: string
  14979. countryid:
  14980. description: 国家
  14981. type: integer
  14982. createtime:
  14983. description: 创建时间
  14984. type: string
  14985. districtid:
  14986. description: 区
  14987. type: integer
  14988. hasvideo:
  14989. description: 是否有视频 - 0:无 1:有
  14990. type: integer
  14991. provinceid:
  14992. description: 省
  14993. type: integer
  14994. remark:
  14995. description: 审核备注
  14996. type: string
  14997. videourl:
  14998. description: 视频地址
  14999. type: string
  15000. warehousecode:
  15001. description: 仓库代码
  15002. type: string
  15003. warehousename:
  15004. description: 仓库名称
  15005. type: string
  15006. warehousestatus:
  15007. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  15008. type: integer
  15009. warehousetype:
  15010. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  15011. type: integer
  15012. required:
  15013. - autoid
  15014. - warehousecode
  15015. type: object
  15016. models.WrAverageTradePrice:
  15017. properties:
  15018. averageprice:
  15019. description: 成交均价
  15020. type: number
  15021. tradedate:
  15022. description: 交易日yyyymm
  15023. type: string
  15024. type: object
  15025. models.WrBrandAndYears:
  15026. properties:
  15027. brandlst:
  15028. description: 品牌列表
  15029. items:
  15030. $ref: '#/definitions/models.DgFactoryItem'
  15031. type: array
  15032. yearslst:
  15033. description: 年份列表
  15034. items:
  15035. $ref: '#/definitions/models.DgFactoryItem'
  15036. type: array
  15037. type: object
  15038. models.WrBsGoodsInfo:
  15039. properties:
  15040. buyorsell:
  15041. description: 买卖方向 0-买 1-卖
  15042. type: integer
  15043. goodsid:
  15044. description: 交易合约ID
  15045. type: integer
  15046. lstitem:
  15047. description: 商品信息项
  15048. items:
  15049. $ref: '#/definitions/models.WrTypeItem'
  15050. type: array
  15051. lststep:
  15052. description: 履约规则
  15053. items:
  15054. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  15055. type: array
  15056. type: object
  15057. models.WrBuybackDetail:
  15058. properties:
  15059. buybackamount:
  15060. description: 回购金额
  15061. type: number
  15062. buybackqty:
  15063. description: 回购数量
  15064. type: number
  15065. buybackreleasemargin:
  15066. description: 回购释放保证金
  15067. type: number
  15068. buybacktime:
  15069. description: 回购时间
  15070. type: string
  15071. errordesc:
  15072. description: 错误描述
  15073. type: string
  15074. handlestatus:
  15075. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  15076. type: integer
  15077. relatedwrid:
  15078. description: 关联仓单ID
  15079. type: integer
  15080. scfcontractid:
  15081. description: SCF合同ID
  15082. type: string
  15083. scfwrbuybackid:
  15084. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  15085. type: integer
  15086. tradedate:
  15087. description: 交易日(yyyyMMdd)
  15088. type: string
  15089. type: object
  15090. models.WrClientAdSpaceConfig:
  15091. properties:
  15092. adspaceid:
  15093. description: 广告位ID
  15094. type: integer
  15095. adspacename:
  15096. description: 广告位名称
  15097. type: string
  15098. adspacetype:
  15099. description: 广告位类型 - 1:固定广告位
  15100. type: integer
  15101. areauserid:
  15102. description: 所属机构ID
  15103. type: integer
  15104. createdate:
  15105. description: 创建时间
  15106. type: string
  15107. imagepath:
  15108. description: 图片
  15109. type: string
  15110. modifierid:
  15111. description: 操作人
  15112. type: integer
  15113. recsize:
  15114. description: 推荐尺寸
  15115. type: string
  15116. title:
  15117. description: 标题
  15118. type: string
  15119. updatedate:
  15120. description: 更新时间
  15121. type: string
  15122. urlcontent:
  15123. description: 链接(地址\商品ID\功能菜单Key\appid)
  15124. type: string
  15125. urltype:
  15126. description: 链接类型 - 0:无 1:直接地址 2:商品ID 3:图片详情 4:App功能 5:微信小程序
  15127. type: integer
  15128. type: object
  15129. models.WrDeliveryAvalidHoldLB:
  15130. properties:
  15131. accountid:
  15132. description: 资金账号
  15133. type: integer
  15134. avalidqty:
  15135. description: 数量(可点选数量)
  15136. type: number
  15137. deliverygoodsid:
  15138. description: 品种id
  15139. type: integer
  15140. enumdicname:
  15141. description: 单位名称
  15142. type: string
  15143. goodsid:
  15144. description: x合约商品id
  15145. type: integer
  15146. ladingbillid:
  15147. description: 提单id
  15148. type: string
  15149. pgoodscode:
  15150. description: p商品代码(点价合约)
  15151. type: string
  15152. pgoodsid:
  15153. description: p商品id(点价合约)
  15154. type: integer
  15155. pgoodsname:
  15156. description: p商品名称(点价合约)
  15157. type: string
  15158. pricemove:
  15159. description: 升贴水
  15160. type: number
  15161. subnum:
  15162. description: 提单子id
  15163. type: integer
  15164. userid:
  15165. description: 用户id
  15166. type: integer
  15167. username:
  15168. description: 仓单持有人
  15169. type: string
  15170. warehousecode:
  15171. description: 仓库代码
  15172. type: string
  15173. warehouseid:
  15174. description: 仓库id
  15175. type: integer
  15176. warehousename:
  15177. description: 仓库名称
  15178. type: string
  15179. wrfactortypeid:
  15180. description: 仓单要素id
  15181. type: string
  15182. wrstandardcode:
  15183. description: 品代码
  15184. type: string
  15185. wrstandardid:
  15186. description: 品类d
  15187. type: integer
  15188. wrstandardname:
  15189. description: 品类名称
  15190. type: string
  15191. wrtypename:
  15192. description: 商品
  15193. type: string
  15194. xgoodscode:
  15195. description: x合约代码
  15196. type: string
  15197. xgoodsname:
  15198. description: x合约名称
  15199. type: string
  15200. type: object
  15201. models.WrDeliveryDetail:
  15202. properties:
  15203. accountid:
  15204. description: 账号ID
  15205. type: integer
  15206. averageprice:
  15207. description: 交割均价 = 交割金额 / 交割数量
  15208. type: number
  15209. begindate:
  15210. description: 开始交易日(yyyymmdd)
  15211. type: string
  15212. buyorsell:
  15213. description: 方向 - 0:买 1:卖
  15214. type: integer
  15215. deliveryamount:
  15216. description: 货款金额(X总货款+P总货款)
  15217. type: number
  15218. deliveryid:
  15219. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  15220. type: string
  15221. deliveryorderid:
  15222. description: 申报单号
  15223. type: string
  15224. deliverypricemove:
  15225. description: 升贴水(升贴水总额)
  15226. type: number
  15227. deliveryqty:
  15228. description: 交收数量(点选数量)
  15229. type: number
  15230. deliverystatus:
  15231. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  15232. type: integer
  15233. deliverytime:
  15234. description: 交割时间
  15235. type: string
  15236. deliverytotalamount:
  15237. description: 交收金额
  15238. type: number
  15239. enddate:
  15240. description: 结束交易日(yyyymmdd)
  15241. type: string
  15242. enumdicname:
  15243. description: 单位名称
  15244. type: string
  15245. matchaccountid:
  15246. description: 对手账号ID
  15247. type: integer
  15248. matchusername:
  15249. description: 对手方名称(仓单持有人)
  15250. type: string
  15251. p1goodsremainamount:
  15252. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  15253. type: number
  15254. pdeliverycloseqty:
  15255. description: p合约平仓数量
  15256. type: number
  15257. pdeliveryprice:
  15258. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  15259. type: number
  15260. pgoodscode:
  15261. description: 商品代码
  15262. type: string
  15263. pgoodsid:
  15264. description: p点选合约id
  15265. type: integer
  15266. pgoodsname:
  15267. description: 商品名称
  15268. type: string
  15269. ppricemode:
  15270. description: 点价价格方式 - 1:商品价 2:固定值
  15271. type: integer
  15272. tradedate:
  15273. description: 交易日(yyyymmdd)
  15274. type: string
  15275. userid:
  15276. description: 用户id
  15277. type: integer
  15278. username:
  15279. description: 用户名称
  15280. type: string
  15281. warehousename:
  15282. description: 仓库名称
  15283. type: string
  15284. wrfactortypeid:
  15285. description: 仓单要素类型ID
  15286. type: string
  15287. wrtypename:
  15288. description: 商品
  15289. type: string
  15290. xdeliverycloseqty:
  15291. description: 合约数量
  15292. type: number
  15293. xgoodsamount:
  15294. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  15295. type: number
  15296. xgoodscode:
  15297. description: 商品代码
  15298. type: string
  15299. xgoodsid:
  15300. description: x交易合约ID
  15301. type: integer
  15302. xgoodsname:
  15303. description: 商品名称
  15304. type: string
  15305. type: object
  15306. models.WrDeliveryGoodsSection:
  15307. properties:
  15308. dglst:
  15309. description: 板块商品列表
  15310. items:
  15311. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  15312. type: array
  15313. imagepath:
  15314. description: 图片地址
  15315. type: string
  15316. orderindex:
  15317. description: 排序
  15318. type: integer
  15319. sectionid:
  15320. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType
  15321. = 1的版块1 - 云融指数
  15322. type: integer
  15323. sectionname:
  15324. description: 版块名称
  15325. type: string
  15326. sectiontype:
  15327. description: 版块类型 - 1:指数版块 2:普通版块
  15328. type: integer
  15329. type: object
  15330. models.WrDeliveryGoodsSectionConfig:
  15331. properties:
  15332. deliverygoodscode:
  15333. description: 现货商品代码
  15334. type: string
  15335. deliverygoodsid:
  15336. description: 现货品种ID(SEQ_DELIVERYGOODS)
  15337. type: integer
  15338. deliverygoodsname:
  15339. description: 现货商品名称
  15340. type: string
  15341. orderindex:
  15342. description: 排序
  15343. type: integer
  15344. type: object
  15345. models.WrDraftUserInfo:
  15346. properties:
  15347. address:
  15348. description: 地址
  15349. type: string
  15350. attachment1:
  15351. description: 附件1
  15352. type: string
  15353. attachment2:
  15354. description: 附件2
  15355. type: string
  15356. attachment3:
  15357. description: 附件3
  15358. type: string
  15359. attachment4:
  15360. description: 附件4
  15361. type: string
  15362. attachment5:
  15363. description: 附件5
  15364. type: string
  15365. bankaccount:
  15366. description: 银行帐号 (加密存储)
  15367. type: string
  15368. bankaccountname:
  15369. description: 收款人名称
  15370. type: string
  15371. bankcardfrontphotourl:
  15372. description: 银行卡正面照地址
  15373. type: string
  15374. bankid:
  15375. description: 银行编码
  15376. type: string
  15377. bankname:
  15378. description: 银行名称
  15379. type: string
  15380. birthday:
  15381. description: 生日(个人:年月日)
  15382. type: string
  15383. biznature:
  15384. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  15385. type: integer
  15386. bizscope:
  15387. description: 企业经营范围(企业)
  15388. type: string
  15389. biztype:
  15390. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  15391. type: integer
  15392. cardbackphotourl:
  15393. description: 证件背面图片地址
  15394. type: string
  15395. cardfrontphotourl:
  15396. description: 证件正面图片地址
  15397. type: string
  15398. cardnum:
  15399. description: 证件号码(加密存储)
  15400. type: string
  15401. cardtypeid:
  15402. description: 证件类型ID
  15403. type: integer
  15404. cityid:
  15405. description: 市
  15406. type: integer
  15407. company:
  15408. description: 公司(个人)
  15409. type: string
  15410. contactcardbackphotourl:
  15411. description: 联系人证件背面图片地址
  15412. type: string
  15413. contactcardfrontphotourl:
  15414. description: 联系人证件正面图片地址
  15415. type: string
  15416. contactname:
  15417. description: 联系人
  15418. type: string
  15419. countryid:
  15420. description: 国家
  15421. type: integer
  15422. createtime:
  15423. description: 创建时间
  15424. type: string
  15425. creatorid:
  15426. description: 创建人
  15427. type: integer
  15428. creditquota:
  15429. description: 授信额度(金瑞)
  15430. type: number
  15431. customername:
  15432. description: 客户名称(企业名称)
  15433. type: string
  15434. districtid:
  15435. description: 地区
  15436. type: integer
  15437. email:
  15438. description: 邮件(加密存储)
  15439. type: string
  15440. fax:
  15441. description: 传真(加密存储)
  15442. type: string
  15443. halfbodyphotourl:
  15444. description: 半身照地址
  15445. type: string
  15446. hasencrypt:
  15447. description: 数据是否已加密 - 0:未加密 1:已加密
  15448. type: integer
  15449. headurl:
  15450. description: 头像地址
  15451. type: string
  15452. legalcardbackphotourl:
  15453. description: 法人身份证背面照地址
  15454. type: string
  15455. legalcardfrontphotourl:
  15456. description: 法人身份证正面照地址
  15457. type: string
  15458. legalpersonname:
  15459. description: 法人姓名(企业)
  15460. type: string
  15461. mobile:
  15462. description: 手机号码(加密存储)
  15463. type: string
  15464. mobile2:
  15465. description: 手机号码[明文-尚志]
  15466. type: string
  15467. modifierid:
  15468. description: 修改人
  15469. type: integer
  15470. modifiertime:
  15471. description: 修改时间
  15472. type: string
  15473. needinvoice:
  15474. description: 是否需要发票 - 0:不需要 1:需要
  15475. type: integer
  15476. nickname:
  15477. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  15478. type: string
  15479. openmode:
  15480. description: "开户方式 - 1:管理端开户 2\t:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  15481. 6:苹果手机端注册 7:PC交易端注册"
  15482. type: integer
  15483. otherurl:
  15484. description: 其它图片地址[使用分号分隔]
  15485. type: string
  15486. postalcode:
  15487. description: 邮政编码
  15488. type: string
  15489. provinceid:
  15490. description: 省
  15491. type: integer
  15492. proxystatementurl:
  15493. description: 授权委托书
  15494. type: string
  15495. qq:
  15496. description: QQ(加密存储
  15497. type: string
  15498. remark:
  15499. description: 备注
  15500. type: string
  15501. sex:
  15502. description: '用户性别 0: 女 1: 男'
  15503. type: integer
  15504. signpdfurl:
  15505. description: 签约pdf文件
  15506. type: string
  15507. taxpayernum:
  15508. description: 纳税人识别号
  15509. type: string
  15510. telphone:
  15511. description: 联系电话(加密存储)
  15512. type: string
  15513. userid:
  15514. description: 用户ID
  15515. type: integer
  15516. userinfotype:
  15517. description: 用户信息类型 - 1:个人 2:企业
  15518. type: integer
  15519. userstatus:
  15520. description: 用户状态 - 1:正常 2:注销
  15521. type: integer
  15522. usertype:
  15523. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者
  15524. type: integer
  15525. wechat:
  15526. description: 微信(加密存储)
  15527. type: string
  15528. wskhinfo:
  15529. description: 开户申请信息(JSON)
  15530. type: string
  15531. type: object
  15532. models.WrFAProductDetail:
  15533. properties:
  15534. accountid:
  15535. description: 资金账号
  15536. type: integer
  15537. areauserid:
  15538. description: 金融机构ID
  15539. type: integer
  15540. financingdays:
  15541. description: 天数(天)
  15542. type: integer
  15543. interestminlen:
  15544. description: 最小起息天数
  15545. type: integer
  15546. interestrate:
  15547. description: 利率
  15548. type: number
  15549. interestratemode:
  15550. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  15551. type: integer
  15552. interestsettlemode:
  15553. description: 结息方式 - 1:按日结息 3:按月结息
  15554. type: integer
  15555. interestsettlevalue:
  15556. description: 结息方式值
  15557. type: integer
  15558. isautoloan:
  15559. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  15560. type: integer
  15561. loantag:
  15562. description: '放款标识: "放款快" 或者为空'
  15563. type: string
  15564. marginratio:
  15565. description: 保证金比率质押率 - [仓单质押]
  15566. type: number
  15567. productdetailid:
  15568. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  15569. type: integer
  15570. productid:
  15571. description: 金融产品ID
  15572. type: integer
  15573. productname:
  15574. description: 产品名称
  15575. type: string
  15576. updatetime:
  15577. description: 更新时间
  15578. type: string
  15579. username:
  15580. description: 融出方
  15581. type: string
  15582. type: object
  15583. models.WrFactorTypeInfo:
  15584. properties:
  15585. deliverygoodscode:
  15586. description: 品种代码
  15587. type: string
  15588. deliverygoodsname:
  15589. description: 品种名称
  15590. type: string
  15591. dgfactoryitemid:
  15592. description: 选择项id
  15593. type: integer
  15594. dgfactoryitemtypeid:
  15595. description: 要素选择项ID (1-仓库 2-品牌)
  15596. type: integer
  15597. dgfactoryitemvalue:
  15598. description: 要素项值
  15599. type: string
  15600. itemtypename:
  15601. description: 要素项名称
  15602. type: string
  15603. optioncompare:
  15604. description: 选择比较串
  15605. type: string
  15606. warehouseid:
  15607. description: 仓库id
  15608. type: integer
  15609. wrfactortypeid:
  15610. description: 仓单要素ID
  15611. type: string
  15612. wrfactortypename:
  15613. description: 要素名称
  15614. type: string
  15615. wrfactortypename2:
  15616. description: 要素名称(不含仓库)
  15617. type: string
  15618. wrstandardcode:
  15619. description: 品类代码
  15620. type: string
  15621. wrstandardid:
  15622. description: 品类id
  15623. type: integer
  15624. wrstandardname:
  15625. description: 品类名称
  15626. type: string
  15627. type: object
  15628. models.WrFilterItem:
  15629. properties:
  15630. itemcode:
  15631. description: 代码
  15632. type: string
  15633. itemid:
  15634. description: 项id
  15635. type: integer
  15636. itemname:
  15637. description: 名称
  15638. type: string
  15639. itemtype:
  15640. description: 类型 1-品种 2-品类(商品) 3-仓库
  15641. type: integer
  15642. type: object
  15643. models.WrFinanceBuyApply:
  15644. properties:
  15645. applydate:
  15646. description: 申请时间
  15647. type: string
  15648. applystatus:
  15649. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  15650. type: integer
  15651. applyuserid:
  15652. description: 申请人
  15653. type: integer
  15654. auditdate:
  15655. description: 审核时间
  15656. type: string
  15657. auditremark:
  15658. description: 审核备注
  15659. type: string
  15660. audituserid:
  15661. description: 审核人
  15662. type: integer
  15663. buyaccountid:
  15664. description: 买方资金账号
  15665. type: integer
  15666. buyorsell:
  15667. description: 买卖 - 0:买 1:卖
  15668. type: integer
  15669. buyuserid:
  15670. description: 买方用户ID
  15671. type: integer
  15672. buyusername:
  15673. description: 买方名称
  15674. type: string
  15675. buywrtradeorderid:
  15676. description: 融资方买委托单ID
  15677. type: string
  15678. deliverygoodscode:
  15679. description: 品种代码
  15680. type: string
  15681. deliverygoodsid:
  15682. description: 品种ID
  15683. type: integer
  15684. deliverygoodsname:
  15685. description: 品种名称
  15686. type: string
  15687. deliverymonth:
  15688. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  15689. type: string
  15690. enumdicname:
  15691. description: 单位名称
  15692. type: string
  15693. financeaccountid:
  15694. description: 融资方资金帐户ID
  15695. type: integer
  15696. financeapplyid:
  15697. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15698. type: string
  15699. financeareauserid:
  15700. description: 融资方用户ID
  15701. type: string
  15702. financename:
  15703. description: 融出方名称
  15704. type: string
  15705. financetype:
  15706. description: 融资类型 1-融资回购
  15707. type: integer
  15708. financingdays:
  15709. description: 天数(天)
  15710. type: integer
  15711. freezebuymargin:
  15712. description: 冻结融资保证金(买方)
  15713. type: number
  15714. handleremark:
  15715. description: 处理备注
  15716. type: string
  15717. handlestatus:
  15718. description: 处理状态
  15719. type: integer
  15720. interestminlen:
  15721. description: 最小起息天数
  15722. type: integer
  15723. interestrate:
  15724. description: 利率
  15725. type: number
  15726. interestratemode:
  15727. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  15728. type: integer
  15729. interestsettlemode:
  15730. description: 结息方式 - 1:按日结息 3:按月结息
  15731. type: integer
  15732. interestsettlevalue:
  15733. description: 结息方式值
  15734. type: integer
  15735. isautoloan:
  15736. description: 是否自动放款 - 0:手动 1:自动
  15737. type: integer
  15738. marginratio:
  15739. description: 保证金比率质押率 - [仓单质押]
  15740. type: number
  15741. marketid:
  15742. description: 市场ID
  15743. type: integer
  15744. minivalue:
  15745. description: 现货商品最小变动值
  15746. type: integer
  15747. optioncompare:
  15748. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15749. type: string
  15750. orderqty:
  15751. description: 委托数量(商品数量)
  15752. type: number
  15753. productdetailid:
  15754. description: 产品组合ID
  15755. type: integer
  15756. productid:
  15757. description: 金融产品ID
  15758. type: integer
  15759. productname:
  15760. description: 产品名称
  15761. type: string
  15762. remark:
  15763. description: 备注
  15764. type: string
  15765. scfcontractid:
  15766. description: 仓单回购合同ID
  15767. type: string
  15768. sellaccountid:
  15769. description: 卖方资金账号
  15770. type: integer
  15771. selluserid:
  15772. description: 卖方用户ID
  15773. type: integer
  15774. sellwrtradeorderid:
  15775. description: 卖方委托单ID
  15776. type: string
  15777. tradeamount:
  15778. description: 成交金额(借款金额)
  15779. type: number
  15780. tradedate:
  15781. description: 交易日(yyyyMMdd)
  15782. type: string
  15783. tradeprice:
  15784. description: 成交价格
  15785. type: number
  15786. warehouseid:
  15787. description: 仓库ID
  15788. type: integer
  15789. warehousename:
  15790. description: 仓库名称
  15791. type: string
  15792. wrfactortypeid:
  15793. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15794. type: string
  15795. wrfactortypename:
  15796. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15797. type: string
  15798. wrpricetype:
  15799. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  15800. type: integer
  15801. wrstandardcode:
  15802. description: 现货商品代码
  15803. type: string
  15804. wrstandardid:
  15805. description: 现货商品ID
  15806. type: integer
  15807. wrstandardname:
  15808. description: 商品名称
  15809. type: string
  15810. wrtypename:
  15811. description: 商品
  15812. type: string
  15813. type: object
  15814. models.WrFriendApply:
  15815. properties:
  15816. applicantid:
  15817. description: 申请人
  15818. type: integer
  15819. applyname:
  15820. description: 申请人名称
  15821. type: string
  15822. applysrc:
  15823. description: 申请来源 - 1:管理端 2:终端
  15824. type: integer
  15825. applystatus:
  15826. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15827. type: integer
  15828. applytime:
  15829. description: 申请时间
  15830. type: string
  15831. auditname:
  15832. description: 审核人名称
  15833. type: string
  15834. auditorid:
  15835. description: 审核人
  15836. type: integer
  15837. auditremark:
  15838. description: 审核备注
  15839. type: string
  15840. auditsrc:
  15841. description: 审核来源 - 1:管理端 2:终端
  15842. type: integer
  15843. audittime:
  15844. description: 审核时间
  15845. type: string
  15846. friendapplyid:
  15847. description: 申请ID(SEQ_FRIENDAPPLY)
  15848. type: string
  15849. friendname:
  15850. description: 好友名字(已脱敏)
  15851. type: string
  15852. frienduserid:
  15853. description: 好友用户ID
  15854. type: string
  15855. remark:
  15856. description: 备注
  15857. type: string
  15858. userid:
  15859. description: 申请人用户ID
  15860. type: integer
  15861. type: object
  15862. models.WrFtDeliveryGoods:
  15863. properties:
  15864. deliverygoodscode:
  15865. description: 品种代码
  15866. type: string
  15867. deliverygoodsid:
  15868. description: 品种ID
  15869. type: integer
  15870. deliverygoodsname:
  15871. description: 品种名称
  15872. type: string
  15873. wdlst:
  15874. description: 商品列表
  15875. items:
  15876. $ref: '#/definitions/models.WrFtWrstandard'
  15877. type: array
  15878. type: object
  15879. models.WrFtWrstandard:
  15880. properties:
  15881. enumdicname:
  15882. description: 单位名称
  15883. type: string
  15884. minivalue:
  15885. description: 最小变动值
  15886. type: integer
  15887. wrstandardcode:
  15888. description: 现货商品代码
  15889. type: string
  15890. wrstandardid:
  15891. description: 现货商品ID
  15892. type: integer
  15893. wrstandardname:
  15894. description: 商品名称
  15895. type: string
  15896. type: object
  15897. models.WrGoodsInfo:
  15898. properties:
  15899. haswr:
  15900. description: 0:仓单预售 1:仓单贸易
  15901. type: integer
  15902. lstitem:
  15903. description: 商品信息项
  15904. items:
  15905. $ref: '#/definitions/models.WrTypeItem'
  15906. type: array
  15907. lststep:
  15908. description: 履约规则
  15909. items:
  15910. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  15911. type: array
  15912. marketid:
  15913. description: 市场id
  15914. type: integer
  15915. type: object
  15916. models.WrGoodsPerformanceStep:
  15917. properties:
  15918. autoid:
  15919. description: AutoID
  15920. type: integer
  15921. isauto:
  15922. description: 是否自动 - 0:不自动 1:自动
  15923. type: integer
  15924. remark:
  15925. description: 备注
  15926. type: string
  15927. stepdate:
  15928. description: 天数信息(T+N)
  15929. type: string
  15930. stepdays:
  15931. description: 距离上一步天数
  15932. type: integer
  15933. stepindex:
  15934. description: 步骤序号
  15935. type: integer
  15936. stepinfo:
  15937. description: 步骤信息(步骤名称+步骤值)
  15938. type: string
  15939. steptypeid:
  15940. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  15941. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15942. type: integer
  15943. steptypename:
  15944. description: 步骤名称
  15945. type: string
  15946. stepvalue:
  15947. description: 步骤值
  15948. type: number
  15949. templateid:
  15950. description: 履约计划模板ID
  15951. type: integer
  15952. type: object
  15953. models.WrHoldLB:
  15954. properties:
  15955. accountid:
  15956. description: 持有人帐户ID
  15957. type: integer
  15958. bannerpicurl:
  15959. description: Banner图
  15960. type: string
  15961. createtime:
  15962. description: 创建时间(过户时间)
  15963. type: string
  15964. deliverygoodscode:
  15965. description: 品种代码
  15966. type: string
  15967. deliverygoodsid:
  15968. description: 品种ID
  15969. type: integer
  15970. deliverygoodsname:
  15971. description: 品种名称
  15972. type: string
  15973. enableqty:
  15974. description: 可用数量
  15975. type: number
  15976. enumdicname:
  15977. description: 单位名称
  15978. type: string
  15979. freezerqty:
  15980. description: 冻结数量
  15981. type: number
  15982. ladingbillid:
  15983. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15984. type: string
  15985. minivalue:
  15986. description: 现货商品最小变动值
  15987. type: integer
  15988. optioncompare:
  15989. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15990. type: string
  15991. parentsubnum:
  15992. description: 拆分父子单号
  15993. type: integer
  15994. pledgeqty:
  15995. description: 质押数量
  15996. type: number
  15997. qty:
  15998. description: 数量
  15999. type: number
  16000. subnum:
  16001. description: 提单子单号
  16002. type: integer
  16003. thumurls:
  16004. description: 缩略图
  16005. type: string
  16006. tradedate:
  16007. description: 交易日(yyyyMMdd)
  16008. type: string
  16009. userid:
  16010. description: 持有人ID
  16011. type: integer
  16012. warehouseid:
  16013. description: 仓库ID
  16014. type: integer
  16015. warehousename:
  16016. description: 仓库名称
  16017. type: string
  16018. wrfactortypeid:
  16019. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16020. type: string
  16021. wrfactortypename:
  16022. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16023. type: string
  16024. wrholdeno:
  16025. description: 仓单编号
  16026. type: string
  16027. wrid:
  16028. description: 仓单变更ID
  16029. type: string
  16030. wrstandardcode:
  16031. description: 现货商品代码
  16032. type: string
  16033. wrstandardid:
  16034. description: 现货商品ID
  16035. type: integer
  16036. wrstandardname:
  16037. description: 商品名称
  16038. type: string
  16039. wrtypename:
  16040. description: 商品
  16041. type: string
  16042. type: object
  16043. models.WrMarketTradeConfig:
  16044. properties:
  16045. basisdownratio:
  16046. description: 浮动价基差下限比例(仓单贸易)
  16047. type: number
  16048. basisupratio:
  16049. description: 浮动价基差上限比例(仓单贸易)
  16050. type: number
  16051. buychargealgorithm:
  16052. description: 买方手续费收取方式 1:比率 2:固定
  16053. type: integer
  16054. buychargealgorithm2:
  16055. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  16056. type: integer
  16057. buychargealgorithmvalue:
  16058. description: 买方手续费设置值(交易所部分)
  16059. type: number
  16060. buychargealgorithmvalue2:
  16061. description: 买方手续费设置值(会员部分)
  16062. type: number
  16063. buychargealgorithmvalue3:
  16064. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  16065. type: number
  16066. buychargealgorithmvalue4:
  16067. description: 回购买方手续费设置值(会员部分) --77:现货商城
  16068. type: number
  16069. buyfirstmarginalgorithm:
  16070. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  16071. type: integer
  16072. buyfirstmarginvalue:
  16073. description: 买方出价保证金设置值 - [竞拍]
  16074. type: number
  16075. buymarginalgorithm:
  16076. description: 买方保证金方式 - 1:比率 2:固定
  16077. type: integer
  16078. buymarginvalue:
  16079. description: 买方保证金设置值
  16080. type: number
  16081. buyreleaseratio:
  16082. description: 买方释放比率[2:分步履约]
  16083. type: number
  16084. executemode:
  16085. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  16086. type: integer
  16087. executeside:
  16088. description: 执行方[2:分步履约] - 1:买方 2:卖方
  16089. type: integer
  16090. failedchargealgorithm:
  16091. description: 流拍手续费收取方式 1:比率 2:固定
  16092. type: integer
  16093. failedchargevalue:
  16094. description: 流拍手续费设置值
  16095. type: number
  16096. failedchargevalue2:
  16097. description: 流拍卖方手续费设置值
  16098. type: number
  16099. holddays:
  16100. description: 合同期限[2:分步履约]
  16101. type: integer
  16102. listingmode:
  16103. description: 挂牌方式 - 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  16104. type: integer
  16105. marketid:
  16106. description: 市场ID-仓单贸易、竞拍、预售
  16107. type: integer
  16108. minqty:
  16109. description: 最小执行量[2:分步履约]
  16110. type: number
  16111. modifierid:
  16112. description: 修改人
  16113. type: integer
  16114. nowrquotaflag:
  16115. description: 是否校验无仓单额度(仓单贸易) - 0:否 1:是
  16116. type: integer
  16117. performancetempid:
  16118. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  16119. 立即执行(-1)
  16120. type: integer
  16121. performancetempid2:
  16122. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  16123. 立即执行
  16124. type: integer
  16125. performancetempid2s:
  16126. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  16127. - 履约方式: 立即执行
  16128. type: string
  16129. performancetempids:
  16130. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  16131. - 履约方式: 立即执行(-1)
  16132. type: string
  16133. performanceway:
  16134. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  16135. type: integer
  16136. sellchargealgorithm:
  16137. description: 卖方手续费收取方式 1:比率 2:固定
  16138. type: integer
  16139. sellchargealgorithm2:
  16140. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  16141. type: integer
  16142. sellchargealgorithmvalue:
  16143. description: 卖方手续费设置值(交易所部分)
  16144. type: number
  16145. sellchargealgorithmvalue2:
  16146. description: 卖方手续费设置值(会员部分)
  16147. type: number
  16148. sellchargealgorithmvalue3:
  16149. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  16150. type: number
  16151. sellchargealgorithmvalue4:
  16152. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  16153. type: number
  16154. sellmarginalgorithm:
  16155. description: 卖方保证金方式 - 1:比率 2:固定
  16156. type: integer
  16157. sellmarginvalue:
  16158. description: 卖方保证金设置值
  16159. type: number
  16160. sellmarginvalue2:
  16161. description: 卖方保证金设置值(无仓单)
  16162. type: number
  16163. sellreleaseratio:
  16164. description: 卖方释放比率[2:分步履约]
  16165. type: number
  16166. updatetime:
  16167. description: 更新时间
  16168. type: string
  16169. type: object
  16170. models.WrOrderDetail:
  16171. properties:
  16172. accountid:
  16173. description: 交易账号(资金账号)
  16174. type: integer
  16175. allfriendsflag:
  16176. description: 是否全好友可见 - 0:否 1:是
  16177. type: integer
  16178. amount:
  16179. description: 挂牌金额 = 委托数量 * 固定价或升贴水
  16180. type: number
  16181. bannerpicurl:
  16182. description: Banner图
  16183. type: string
  16184. begindate:
  16185. description: 开始交易日(yyyymmdd)
  16186. type: string
  16187. buyorsell:
  16188. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16189. type: integer
  16190. canbargain:
  16191. description: 是否可议价 - 0:不可 1:可
  16192. type: integer
  16193. cancelqty:
  16194. description: 撤销数量
  16195. type: number
  16196. canpart:
  16197. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  16198. type: integer
  16199. delistminqty:
  16200. description: 起摘数量
  16201. type: integer
  16202. deliverygoodscode:
  16203. description: 品种代码
  16204. type: string
  16205. deliverygoodsid:
  16206. description: 品种ID
  16207. type: integer
  16208. deliverygoodsname:
  16209. description: 品种名称
  16210. type: string
  16211. deliverymonth:
  16212. description: 交收月
  16213. type: string
  16214. enddate:
  16215. description: 结束交易日(yyyymmdd)
  16216. type: string
  16217. enumdicname:
  16218. description: 单位名称
  16219. type: string
  16220. fixedprice:
  16221. description: 固定价格 - [挂牌]
  16222. type: number
  16223. freezecharge:
  16224. description: 冻结手续费
  16225. type: number
  16226. freezemargin:
  16227. description: 冻结保证金(保证金)
  16228. type: number
  16229. futupricemove:
  16230. description: 期货升贴水
  16231. type: number
  16232. futushow:
  16233. description: 期货合约/升贴水
  16234. type: string
  16235. goodscode:
  16236. description: 期货合约
  16237. type: string
  16238. goodsid:
  16239. description: 期货商品id
  16240. type: integer
  16241. goodsname:
  16242. description: 商品名称
  16243. type: string
  16244. haswr:
  16245. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16246. type: integer
  16247. isspecified:
  16248. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  16249. type: integer
  16250. ladingbillid:
  16251. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  16252. type: string
  16253. marginvalue:
  16254. description: 保证金设置值(履约保证金)
  16255. type: number
  16256. marketid:
  16257. description: 市场ID
  16258. type: integer
  16259. matchusername:
  16260. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  16261. type: string
  16262. minivalue:
  16263. description: 现货商品最小变动值
  16264. type: integer
  16265. optioncompare:
  16266. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16267. type: string
  16268. orderqty:
  16269. description: 委托数量
  16270. type: number
  16271. ordertime:
  16272. description: 委托时间(挂牌时间)
  16273. type: string
  16274. performancetemplateid:
  16275. description: 履约模板id
  16276. type: integer
  16277. pricemove:
  16278. description: 升贴水(浮动价时填写) - [挂牌]
  16279. type: number
  16280. taname:
  16281. description: 交易用户名称(资金账号名称)
  16282. type: string
  16283. thumurls:
  16284. description: 缩略图
  16285. type: string
  16286. tradedate:
  16287. description: 交易日(yyyyMMdd)
  16288. type: string
  16289. tradeprice:
  16290. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  16291. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  16292. type: number
  16293. tradeqty:
  16294. description: 成交数量
  16295. type: number
  16296. userid:
  16297. description: 用户ID
  16298. type: integer
  16299. validtime:
  16300. description: 挂牌有效期
  16301. type: string
  16302. validtype:
  16303. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  16304. type: integer
  16305. warehouseid:
  16306. description: 仓库ID
  16307. type: integer
  16308. warehousename:
  16309. description: 仓库名称
  16310. type: string
  16311. wrfactortypeid:
  16312. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16313. type: string
  16314. wrfactortypename:
  16315. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16316. type: string
  16317. wrpricetype:
  16318. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  16319. type: integer
  16320. wrstandardcode:
  16321. description: 现货商品代码
  16322. type: string
  16323. wrstandardid:
  16324. description: 现货商品ID
  16325. type: integer
  16326. wrstandardname:
  16327. description: 商品名称
  16328. type: string
  16329. wrtradeorderid:
  16330. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16331. type: string
  16332. wrtradeorderstatus:
  16333. 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:撤单解冻贷款失败
  16334. type: integer
  16335. wrtradetype:
  16336. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16337. type: integer
  16338. wrtypename:
  16339. description: 商品
  16340. type: string
  16341. type: object
  16342. models.WrOrderQuote:
  16343. properties:
  16344. bannerpicurl:
  16345. description: Banner图
  16346. type: string
  16347. buyprice:
  16348. description: 买价
  16349. type: number
  16350. buypricemove:
  16351. description: 买升贴水(基差)
  16352. type: number
  16353. buyqty:
  16354. description: 买量
  16355. type: number
  16356. deliverygoodscode:
  16357. description: 品种代码
  16358. type: string
  16359. deliverygoodsid:
  16360. description: 品种id
  16361. type: integer
  16362. deliverygoodsname:
  16363. description: 品种名称
  16364. type: string
  16365. deliverymonth:
  16366. description: 交收月
  16367. type: string
  16368. enumdicname:
  16369. description: 单位名称
  16370. type: string
  16371. goodscode:
  16372. description: 商品合约(浮动价列表才有)
  16373. type: string
  16374. goodsid:
  16375. description: 商品id(浮动价列表才有)
  16376. type: integer
  16377. minivalue:
  16378. description: 现货商品最小变动值
  16379. type: integer
  16380. pictureurls:
  16381. description: 详情图片(逗号分隔)
  16382. type: string
  16383. sellprice:
  16384. description: 卖价
  16385. type: number
  16386. sellpricemove:
  16387. description: 卖升贴水(基差)
  16388. type: number
  16389. sellqty:
  16390. description: 卖量
  16391. type: number
  16392. thumurls:
  16393. description: 缩略图片(1:1)(逗号分隔)
  16394. type: string
  16395. warehousecode:
  16396. description: 仓库代码
  16397. type: string
  16398. warehouseid:
  16399. description: 仓库id
  16400. type: integer
  16401. warehousename:
  16402. description: 仓库名称
  16403. type: string
  16404. wrfactortypeid:
  16405. description: 仓单要素id
  16406. type: string
  16407. wrfactortypename:
  16408. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16409. type: string
  16410. wrgoodsname:
  16411. description: 商品(商品名称+仓库要素名称 拼接)
  16412. type: string
  16413. wrstandardcode:
  16414. description: 商品代码
  16415. type: string
  16416. wrstandardid:
  16417. description: 商品id
  16418. type: integer
  16419. wrstandardname:
  16420. description: 商品名称
  16421. type: string
  16422. type: object
  16423. models.WrOrderQuoteDetail:
  16424. properties:
  16425. buyorsell:
  16426. description: 买卖 - 0:买 1:卖
  16427. type: integer
  16428. delistminqty:
  16429. description: 起摘数量
  16430. type: number
  16431. deliverymonth:
  16432. description: 交收月
  16433. type: string
  16434. enumdicname:
  16435. description: 单位名称
  16436. type: string
  16437. fixedprice:
  16438. description: 买(卖)价
  16439. type: number
  16440. marketid:
  16441. description: 市场id
  16442. type: integer
  16443. minivalue:
  16444. description: 现货商品最小变动值
  16445. type: integer
  16446. orderqty:
  16447. description: 买(卖)量(=委托量-成交量)
  16448. type: number
  16449. ordertime:
  16450. description: 委托时间
  16451. type: string
  16452. pricemove:
  16453. description: 买(卖)升贴水- 基差
  16454. type: number
  16455. userid:
  16456. description: 购买方(销售方)用户ID
  16457. type: integer
  16458. username:
  16459. description: 购买方(销售方)
  16460. type: string
  16461. wrtradeorderid:
  16462. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16463. type: string
  16464. type: object
  16465. models.WrOutInApply:
  16466. properties:
  16467. applyid:
  16468. description: 申请单id
  16469. type: string
  16470. applystatus:
  16471. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  16472. 8:已撤销
  16473. type: integer
  16474. applytime:
  16475. description: 申请时间
  16476. type: string
  16477. applytype:
  16478. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  16479. type: integer
  16480. bannerpicurl:
  16481. description: Banner图
  16482. type: string
  16483. begindate:
  16484. description: 开始交易日(yyyymmdd)
  16485. type: string
  16486. deliverygoodscode:
  16487. description: 品种代码
  16488. type: string
  16489. deliverygoodsid:
  16490. description: 品种ID
  16491. type: integer
  16492. deliverygoodsname:
  16493. description: 品种名称
  16494. type: string
  16495. enddate:
  16496. description: 结束交易日(yyyymmdd)
  16497. type: string
  16498. enumdicname:
  16499. description: 单位名称
  16500. type: string
  16501. expresscompany:
  16502. description: 物流公司
  16503. type: string
  16504. expressnum:
  16505. description: 物流单号
  16506. type: string
  16507. minivalue:
  16508. description: 现货商品最小变动值
  16509. type: integer
  16510. optioncompare:
  16511. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16512. type: string
  16513. qty:
  16514. description: 数量
  16515. type: integer
  16516. userid:
  16517. description: 用户id
  16518. type: integer
  16519. warehouseid:
  16520. description: 仓库ID
  16521. type: integer
  16522. warehousename:
  16523. description: 仓库名称
  16524. type: string
  16525. wrfactortypeid:
  16526. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16527. type: string
  16528. wrfactortypename:
  16529. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16530. type: string
  16531. wrstandardcode:
  16532. description: 现货商品代码
  16533. type: string
  16534. wrstandardid:
  16535. description: 现货商品ID
  16536. type: integer
  16537. wrstandardname:
  16538. description: 商品名称
  16539. type: string
  16540. wrtypename:
  16541. description: 商品
  16542. type: string
  16543. type: object
  16544. models.WrPerformancePlan:
  16545. properties:
  16546. activatemonth:
  16547. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  16548. type: string
  16549. amount:
  16550. description: 履约金额(总金额)
  16551. type: number
  16552. begindate:
  16553. description: 开始交易日(yyyymmdd)
  16554. type: string
  16555. buyaccountid:
  16556. description: 买方账号
  16557. type: integer
  16558. buyerfreezeamount:
  16559. description: 履约冻结(买履约)
  16560. type: number
  16561. buyerfreezeamountremain:
  16562. description: 履约冻结剩余(买履约)
  16563. type: number
  16564. buyorsell:
  16565. description: 买卖方向 0-买 1-卖
  16566. type: integer
  16567. buypaidamount:
  16568. description: 买方已冻/已扣金额 (已付金额)
  16569. type: number
  16570. buyusername:
  16571. description: 买方名字
  16572. type: string
  16573. contractid:
  16574. description: 合同ID
  16575. type: integer
  16576. createtime:
  16577. description: 创建时间
  16578. type: string
  16579. creatorid:
  16580. description: 创建人
  16581. type: integer
  16582. curstepdeadline:
  16583. description: 当前步骤到期时间
  16584. type: string
  16585. curstepid:
  16586. description: 当前步骤ID
  16587. type: string
  16588. curstepname:
  16589. description: 当前步骤名称
  16590. type: string
  16591. deliverygoodscode:
  16592. description: 品种代码
  16593. type: string
  16594. deliverygoodsid:
  16595. description: 品种ID
  16596. type: integer
  16597. deliverygoodsname:
  16598. description: 品种名称
  16599. type: string
  16600. enddate:
  16601. description: 结束交易日(yyyymmdd)
  16602. type: string
  16603. enumdicname:
  16604. description: 单位名称
  16605. type: string
  16606. expressfee:
  16607. description: 运费
  16608. type: number
  16609. expressfeeconfirmed:
  16610. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  16611. type: integer
  16612. hasovershort:
  16613. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  16614. type: integer
  16615. haswr:
  16616. description: 类型 0-仓单预售 1-仓单贸易
  16617. type: integer
  16618. marketid:
  16619. description: 市场ID
  16620. type: integer
  16621. middleaccountid:
  16622. description: 中间商资金账号ID
  16623. type: integer
  16624. middleuserid:
  16625. description: 中间商用户ID
  16626. type: integer
  16627. minivalue:
  16628. description: 现货商品最小变动值
  16629. type: integer
  16630. optioncompare:
  16631. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16632. type: string
  16633. overshortamount:
  16634. description: 溢短金额
  16635. type: number
  16636. overshortqty:
  16637. description: 溢短数量
  16638. type: number
  16639. paymenttype:
  16640. description: 付款方式 - 1:冻结 2:扣款
  16641. type: integer
  16642. performanceplanid:
  16643. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  16644. type: string
  16645. performancestatus:
  16646. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  16647. 9:超时待处理 10:超时关闭
  16648. type: integer
  16649. performancetype:
  16650. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  16651. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  16652. type: integer
  16653. qty:
  16654. description: 履约数量
  16655. type: number
  16656. relatedorderid:
  16657. description: 关联单号(履约类型的关联单号)
  16658. type: string
  16659. remark:
  16660. description: 备注
  16661. type: string
  16662. sellaccountid:
  16663. description: 卖方账号
  16664. type: integer
  16665. sellerfreezeamount:
  16666. description: 履约冻结(卖履约)
  16667. type: number
  16668. sellerfreezeamountremain:
  16669. description: 履约冻结剩余(卖履约)
  16670. type: number
  16671. sellreceivedamount:
  16672. description: 卖方已收金额
  16673. type: number
  16674. sellusername:
  16675. description: 卖方名字
  16676. type: string
  16677. shipremark:
  16678. description: 发货备注[物流单号]
  16679. type: string
  16680. starttime:
  16681. description: 开始时间
  16682. type: string
  16683. steptypeid:
  16684. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  16685. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  16686. type: integer
  16687. typename:
  16688. description: 履约类型 名称
  16689. type: string
  16690. unpaidamount:
  16691. description: 剩余款(待支付金额)
  16692. type: number
  16693. userid:
  16694. description: 用户id
  16695. type: integer
  16696. warehouseid:
  16697. description: 仓库ID
  16698. type: integer
  16699. warehousename:
  16700. description: 仓库名称
  16701. type: string
  16702. wrfactortypeid:
  16703. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16704. type: string
  16705. wrfactortypename:
  16706. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16707. type: string
  16708. wrstandardcode:
  16709. description: 现货商品代码
  16710. type: string
  16711. wrstandardid:
  16712. description: 现货商品ID
  16713. type: integer
  16714. wrstandardname:
  16715. description: 商品名称
  16716. type: string
  16717. wrtransferuserid:
  16718. description: 仓单受让用户
  16719. type: integer
  16720. wrtypename:
  16721. description: 商品
  16722. type: string
  16723. required:
  16724. - userid
  16725. type: object
  16726. models.WrPerformancePlanStep:
  16727. properties:
  16728. delaydays:
  16729. description: 延期申请天数
  16730. type: integer
  16731. deliverygoodscode:
  16732. description: 品种代码
  16733. type: string
  16734. deliverygoodsid:
  16735. description: 品种ID
  16736. type: integer
  16737. deliverygoodsname:
  16738. description: 品种名称
  16739. type: string
  16740. endtime:
  16741. description: 结束日期
  16742. type: string
  16743. enumdicname:
  16744. description: 单位名称
  16745. type: string
  16746. executeside:
  16747. description: 步骤执行方 - 1:买方 2:卖方
  16748. type: integer
  16749. handlestatus:
  16750. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  16751. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  16752. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  16753. type: integer
  16754. isauto:
  16755. description: 是否自动 - 0:不自动 1:自动
  16756. type: integer
  16757. islastreceivestep:
  16758. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  16759. type: integer
  16760. minivalue:
  16761. description: 现货商品最小变动值
  16762. type: integer
  16763. optioncompare:
  16764. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16765. type: string
  16766. overdays:
  16767. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  16768. type: integer
  16769. performancestepid:
  16770. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  16771. type: string
  16772. planid:
  16773. description: 所属履约计划ID
  16774. type: string
  16775. realamount:
  16776. description: 实际完成金额
  16777. type: number
  16778. relatedorderid:
  16779. description: 关联单号
  16780. type: string
  16781. remaindays:
  16782. description: 剩余天数
  16783. type: integer
  16784. remark:
  16785. description: 错误备注
  16786. type: string
  16787. starttime:
  16788. description: 开始日期
  16789. type: string
  16790. stepamount:
  16791. description: 步骤金额
  16792. type: number
  16793. stepdays:
  16794. description: 距离上一步天数(分钟)
  16795. type: integer
  16796. stepindex:
  16797. description: 步骤序号
  16798. type: integer
  16799. steplanchtype:
  16800. description: 步骤启动类型 - 1:系统自动 2:手动
  16801. type: integer
  16802. stepremark:
  16803. description: 步骤备注
  16804. type: string
  16805. stepstatus:
  16806. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  16807. type: integer
  16808. steptypeid:
  16809. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  16810. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  16811. type: integer
  16812. steptypename:
  16813. description: 步骤名称
  16814. type: string
  16815. stepvalue:
  16816. description: 步骤值
  16817. type: number
  16818. warehouseid:
  16819. description: 仓库ID
  16820. type: integer
  16821. warehousename:
  16822. description: 仓库名称
  16823. type: string
  16824. wrfactortypeid:
  16825. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16826. type: string
  16827. wrfactortypename:
  16828. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16829. type: string
  16830. wrstandardcode:
  16831. description: 现货商品代码
  16832. type: string
  16833. wrstandardid:
  16834. description: 现货商品ID
  16835. type: integer
  16836. wrstandardname:
  16837. description: 商品名称
  16838. type: string
  16839. wrtypename:
  16840. description: 商品
  16841. type: string
  16842. type: object
  16843. models.WrPerformanceStepType:
  16844. properties:
  16845. canauto:
  16846. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  16847. type: integer
  16848. steptypeid:
  16849. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  16850. type: integer
  16851. steptypename:
  16852. description: 步骤类型名称
  16853. type: string
  16854. type: object
  16855. models.WrPerformanceTemplateEx:
  16856. properties:
  16857. autoid:
  16858. description: AutoID 模板id
  16859. type: integer
  16860. createtime:
  16861. description: 创建时间
  16862. type: string
  16863. creatorid:
  16864. description: 创建人
  16865. type: integer
  16866. lstStep:
  16867. description: 步骤信息列表
  16868. items:
  16869. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  16870. type: array
  16871. paymenttype:
  16872. description: 支付方式 - 1:冻结 2:扣款
  16873. type: integer
  16874. takemode:
  16875. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  16876. type: integer
  16877. templatename:
  16878. description: 模板名称
  16879. type: string
  16880. templatetype:
  16881. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  16882. (无仓单) 5:挂牌期权 6:竞拍-降价式
  16883. type: integer
  16884. userid:
  16885. description: 所属用户
  16886. type: integer
  16887. type: object
  16888. models.WrPosition:
  16889. properties:
  16890. accountid:
  16891. description: 帐户ID
  16892. type: integer
  16893. buyexcuteqty:
  16894. description: 采购履约中数量
  16895. type: number
  16896. creditcurqty:
  16897. description: 授信当前数量(预售仓单:预售当前量)
  16898. type: number
  16899. creditenableqty:
  16900. description: '授信可用数量(预售仓单: 可用数量)'
  16901. type: number
  16902. creditfreezeqty:
  16903. description: '授信冻结数量(预售仓单: 当前数量)'
  16904. type: number
  16905. credittotalqty:
  16906. description: 授信总数量(预售仓单:预售总量)
  16907. type: number
  16908. credittradeqty:
  16909. description: 授信成交数量(预售仓单:成交总量)
  16910. type: number
  16911. deliverygoodscode:
  16912. description: 品种代码
  16913. type: string
  16914. deliverygoodsid:
  16915. description: 品种ID
  16916. type: integer
  16917. deliverygoodsname:
  16918. description: 品种名称
  16919. type: string
  16920. enalbeqty:
  16921. description: 可用数量
  16922. type: number
  16923. enumdicname:
  16924. description: 单位名称
  16925. type: string
  16926. freezeqty:
  16927. description: 总冻结数量
  16928. type: number
  16929. haswr:
  16930. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16931. type: integer
  16932. minivalue:
  16933. description: 现货商品最小变动值
  16934. type: integer
  16935. modifytime:
  16936. description: 修改时间(过户时间)
  16937. type: string
  16938. optioncompare:
  16939. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16940. type: string
  16941. pledgeqty:
  16942. description: 质押数量
  16943. type: number
  16944. querytype:
  16945. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  16946. type: integer
  16947. sellexcuteqty:
  16948. description: 销售履约中数量
  16949. type: number
  16950. totalqty:
  16951. description: 总数量(库存数量)
  16952. type: number
  16953. warehouseid:
  16954. description: 仓库ID
  16955. type: integer
  16956. warehousename:
  16957. description: 仓库名称
  16958. type: string
  16959. wrfactortypeid:
  16960. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16961. type: string
  16962. wrfactortypename:
  16963. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16964. type: string
  16965. wrpositionid:
  16966. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  16967. type: string
  16968. wrpositionno:
  16969. description: 仓单编号
  16970. type: string
  16971. wrstandardcode:
  16972. description: 现货商品代码
  16973. type: string
  16974. wrstandardid:
  16975. description: 现货商品ID
  16976. type: integer
  16977. wrstandardname:
  16978. description: 商品名称
  16979. type: string
  16980. wrtypename:
  16981. description: 商品
  16982. type: string
  16983. wruserid:
  16984. description: 持有人ID
  16985. type: integer
  16986. type: object
  16987. models.WrPreSaleInfo:
  16988. properties:
  16989. bannerpicurl:
  16990. description: Banner图
  16991. type: string
  16992. baseqty:
  16993. description: 中签基数
  16994. type: number
  16995. createtime:
  16996. description: 创建时间
  16997. type: string
  16998. deliverygoodsid:
  16999. description: 现货品种ID
  17000. type: integer
  17001. enddate:
  17002. description: 预售结束日期
  17003. type: string
  17004. enumdicname:
  17005. description: 单位名称
  17006. type: string
  17007. lotteryflag:
  17008. description: 摇号标识 - 0:未摇号 1:已摇号
  17009. type: integer
  17010. lotteryqty:
  17011. description: 摇号总量
  17012. type: number
  17013. luckyqty:
  17014. description: 已中签量
  17015. type: number
  17016. marketid:
  17017. description: 市场ID
  17018. type: integer
  17019. maxbuyqty:
  17020. description: 单人最大申购量
  17021. type: number
  17022. maxluckyqty:
  17023. description: 单人最大中签量
  17024. type: number
  17025. pictureurls:
  17026. description: 详情图片(逗号分隔)
  17027. type: string
  17028. placeqty:
  17029. description: 已配售量
  17030. type: number
  17031. presaleapplyid:
  17032. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  17033. example: "0"
  17034. type: string
  17035. presaleqty:
  17036. description: 预售总量
  17037. type: number
  17038. presalestatus:
  17039. description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭
  17040. type: integer
  17041. sellaccountid:
  17042. description: 发行方资金账户ID
  17043. type: integer
  17044. selluserid:
  17045. description: 发行方用户ID
  17046. type: integer
  17047. sellwrtradeorderid:
  17048. description: 发行方卖委托单ID
  17049. type: string
  17050. startdate:
  17051. description: 预售开始日期
  17052. type: string
  17053. takestartdate:
  17054. description: 提货开始日期
  17055. type: string
  17056. thumurls:
  17057. description: 缩略图片(1:1)(逗号分隔)
  17058. type: string
  17059. tradedate:
  17060. description: 交易日
  17061. type: string
  17062. unitid:
  17063. description: 单位ID
  17064. type: integer
  17065. unitprice:
  17066. description: 商品单价
  17067. type: number
  17068. username:
  17069. description: 发行方用户名称
  17070. type: string
  17071. warehousecode:
  17072. description: 仓库代码(仓库简称)
  17073. type: string
  17074. warehouseid:
  17075. description: 仓库ID
  17076. type: integer
  17077. warehousename:
  17078. description: 仓库名称
  17079. type: string
  17080. wrfactortypeid:
  17081. description: 仓单要素类型ID - 根据现货商品\仓库生成
  17082. example: "0"
  17083. type: string
  17084. wrstandardid:
  17085. description: 现货商品ID
  17086. type: integer
  17087. wrstandardname:
  17088. description: 现货商品名称
  17089. type: string
  17090. type: object
  17091. models.WrQuoteOrderMyq:
  17092. properties:
  17093. buyorsell:
  17094. description: 买卖 - 0:买 1:卖
  17095. type: integer
  17096. canbargain:
  17097. description: 是否可议价 - 0:不可 1:可
  17098. type: integer
  17099. canpart:
  17100. description: 是否允许部份摘牌 - 0:不允许 1:允许
  17101. type: integer
  17102. delistminqty:
  17103. description: 起摘数量
  17104. type: number
  17105. deliverygoodscode:
  17106. description: 品种代码
  17107. type: string
  17108. deliverygoodsid:
  17109. description: 品种ID
  17110. type: integer
  17111. deliverygoodsname:
  17112. description: 品种名称
  17113. type: string
  17114. deliverymonth:
  17115. description: 交收月
  17116. type: string
  17117. enumdicname:
  17118. description: 单位名称
  17119. type: string
  17120. fixedprice:
  17121. description: 买(卖)价
  17122. type: number
  17123. goodscode:
  17124. description: 商品合约代码
  17125. type: string
  17126. marginflag:
  17127. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  17128. type: integer
  17129. marginvalue:
  17130. description: 保证金设置值
  17131. type: number
  17132. minivalue:
  17133. description: 现货商品最小变动值
  17134. type: integer
  17135. orderqty:
  17136. description: 买(卖)量(=委托量-成交量)
  17137. type: number
  17138. ordertime:
  17139. description: 委托时间
  17140. type: string
  17141. performancetemplateid:
  17142. description: 履约模板id
  17143. type: integer
  17144. pricemove:
  17145. description: 买(卖)升贴水- 基差
  17146. type: number
  17147. templatename:
  17148. description: 履约模板名称
  17149. type: string
  17150. userid:
  17151. description: 购买方(销售方)用户ID
  17152. type: integer
  17153. username:
  17154. description: 购买方(销售方)
  17155. type: string
  17156. validtime:
  17157. description: 有效期限
  17158. type: string
  17159. validtype:
  17160. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  17161. type: integer
  17162. warehousename:
  17163. description: 仓库名称
  17164. type: string
  17165. wrfactortypeid:
  17166. description: 仓单要素id
  17167. type: string
  17168. wrstandardcode:
  17169. description: 现货商品代码
  17170. type: string
  17171. wrstandardid:
  17172. description: 现货商品ID
  17173. type: integer
  17174. wrstandardname:
  17175. description: 商品名称
  17176. type: string
  17177. wrtradeorderid:
  17178. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  17179. type: string
  17180. wrtypename:
  17181. description: 商品
  17182. type: string
  17183. type: object
  17184. models.WrReckonSpotGoodsTradeSum:
  17185. properties:
  17186. begindate:
  17187. description: 开始日期(结果含开始日期) yyyymmdd
  17188. type: string
  17189. enddate:
  17190. description: 结束日期(结果含结束日期) yyyymmdd
  17191. type: string
  17192. marketid:
  17193. description: 市场ID
  17194. type: integer
  17195. price:
  17196. description: 价格 = 日成交金额 / 日成交数量
  17197. type: string
  17198. reckondate:
  17199. description: 日期 格式 yyyymmdd
  17200. type: string
  17201. tradeamount:
  17202. description: 日成交金额(当日单方向成交金额)
  17203. type: number
  17204. tradeqty:
  17205. description: 日成交数量(当日单方向成交数量)
  17206. type: number
  17207. wrstandardid:
  17208. description: 现货商品ID
  17209. type: integer
  17210. type: object
  17211. models.WrScfContract:
  17212. properties:
  17213. borroweruserid:
  17214. description: 借款用户ID
  17215. type: integer
  17216. buybackwrpositionqty:
  17217. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  17218. type: number
  17219. closeinterest:
  17220. description: 已结利息 -> 已结费用
  17221. type: number
  17222. currisklevel:
  17223. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  17224. type: integer
  17225. deadline:
  17226. description: 截止日期(yyyyMMdd) -> 借款到期时间
  17227. type: string
  17228. deliverygoodscode:
  17229. description: 品种代码
  17230. type: string
  17231. deliverygoodsid:
  17232. description: 品种ID
  17233. type: integer
  17234. deliverygoodsname:
  17235. description: 品种名称
  17236. type: string
  17237. enumdicname:
  17238. description: 单位名称
  17239. type: string
  17240. financingdays:
  17241. description: 天数(天)
  17242. type: integer
  17243. initmargin:
  17244. description: 保证金 - [仓单回购]
  17245. type: number
  17246. interestamount:
  17247. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  17248. type: number
  17249. interestdebt:
  17250. description: 利息欠款(记录负数) -> 费用欠款
  17251. type: number
  17252. interestminlen:
  17253. description: 最小起息天数
  17254. type: integer
  17255. interestrate:
  17256. description: 利率
  17257. type: number
  17258. interestratemode:
  17259. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  17260. type: integer
  17261. interestsettlemode:
  17262. description: 结息方式 - 1:按日结息 3:按月结息
  17263. type: integer
  17264. interestsettlevalue:
  17265. description: 结息方式值
  17266. type: integer
  17267. isautoloan:
  17268. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  17269. type: integer
  17270. lastcloseinterestday:
  17271. description: 最近结息日(yyyyMMdd)
  17272. type: string
  17273. lenderamount:
  17274. description: 贷款金额 -> 借款金额
  17275. type: number
  17276. lenderuserid:
  17277. description: 贷款方用户ID -> 融出方用户ID
  17278. type: integer
  17279. lenderusername:
  17280. description: 融出方
  17281. type: string
  17282. marginratio:
  17283. description: 保证金比率质押率 - [仓单质押]
  17284. type: number
  17285. marketid:
  17286. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  17287. type: integer
  17288. minivalue:
  17289. description: 现货商品最小变动值
  17290. type: integer
  17291. optioncompare:
  17292. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17293. type: string
  17294. pricemove:
  17295. description: 估值升贴水值
  17296. type: number
  17297. productdetailid:
  17298. description: 产品组合ID
  17299. type: integer
  17300. productid:
  17301. description: 金融产品ID
  17302. type: integer
  17303. productname:
  17304. description: 产品名称
  17305. type: string
  17306. remainamount:
  17307. description: 合同剩余金额 -> 剩余金额
  17308. type: number
  17309. remainwrpositionqty:
  17310. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  17311. type: number
  17312. remark:
  17313. description: 备注
  17314. type: string
  17315. scfcontractid:
  17316. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  17317. type: string
  17318. scfcontractstatus:
  17319. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  17320. 9:违约结束 10:已注销 11:已关闭 99:未提交
  17321. type: integer
  17322. scfcontracttype:
  17323. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  17324. type: integer
  17325. startinterestday:
  17326. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  17327. type: string
  17328. totalinterest:
  17329. description: 已计利息 -> 已计费用
  17330. type: number
  17331. unpaidinterest:
  17332. description: 未结费用
  17333. type: number
  17334. updatetime:
  17335. description: 更新时间
  17336. type: string
  17337. warehouseid:
  17338. description: 仓库ID
  17339. type: integer
  17340. warehousename:
  17341. description: 仓库名称
  17342. type: string
  17343. wrfactortypeid:
  17344. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17345. type: string
  17346. wrfactortypename:
  17347. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17348. type: string
  17349. wrqty:
  17350. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  17351. type: number
  17352. wrstandardcode:
  17353. description: 现货商品代码
  17354. type: string
  17355. wrstandardid:
  17356. description: 现货商品ID
  17357. type: integer
  17358. wrstandardname:
  17359. description: 商品名称
  17360. type: string
  17361. wrtypename:
  17362. description: 商品
  17363. type: string
  17364. type: object
  17365. models.WrScfContractInterest:
  17366. properties:
  17367. closeinterest:
  17368. description: 已结利息
  17369. type: number
  17370. closeintereststatus:
  17371. description: 结息状态 - 1:未结 2:已结
  17372. type: integer
  17373. closetime:
  17374. description: 结息时间
  17375. type: string
  17376. closetradedate:
  17377. description: 结息交易日
  17378. type: string
  17379. creatorid:
  17380. description: 操作人ID
  17381. type: integer
  17382. dayrate:
  17383. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  17384. type: number
  17385. interest:
  17386. description: 利息
  17387. type: number
  17388. interestamount:
  17389. description: 计息金额
  17390. type: number
  17391. interestday:
  17392. description: 计息日(yyyyMMdd)
  17393. type: string
  17394. scfcontractid:
  17395. description: SCF合同ID
  17396. type: string
  17397. scfcontractinterestid:
  17398. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  17399. type: integer
  17400. updatetime:
  17401. description: 更新时间
  17402. type: string
  17403. type: object
  17404. models.WrSearchUser:
  17405. properties:
  17406. userid:
  17407. description: 用户ID
  17408. type: integer
  17409. username:
  17410. description: 用户名称(已脱敏)
  17411. type: string
  17412. username2:
  17413. description: 用户名称(未脱敏)
  17414. type: string
  17415. usertype:
  17416. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  17417. type: integer
  17418. required:
  17419. - username
  17420. type: object
  17421. models.WrSiteColumnDetail:
  17422. properties:
  17423. brief:
  17424. description: 简介
  17425. type: string
  17426. context:
  17427. description: 内容
  17428. type: string
  17429. coverimage:
  17430. description: 封面图片
  17431. type: string
  17432. creaedate:
  17433. description: 创建时间
  17434. type: string
  17435. id:
  17436. description: ID(SEQ_SITE_COLUMNDETAIL)
  17437. type: integer
  17438. istop:
  17439. description: 是否置顶 - 0:不置 1:置顶
  17440. type: integer
  17441. publishdate:
  17442. description: 发布日期
  17443. type: string
  17444. title:
  17445. description: 标题
  17446. type: string
  17447. updatedate:
  17448. description: 修改时间
  17449. type: string
  17450. type: object
  17451. models.WrSpecialMatchOrder:
  17452. properties:
  17453. amount:
  17454. description: 金额 = 数量 * 价格
  17455. type: number
  17456. buyorsell:
  17457. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  17458. type: integer
  17459. cancelqty:
  17460. description: 撤销数量
  17461. type: number
  17462. deliverygoodscode:
  17463. description: 品种代码
  17464. type: string
  17465. deliverygoodsid:
  17466. description: 品种ID
  17467. type: integer
  17468. deliverygoodsname:
  17469. description: 品种名称
  17470. type: string
  17471. enumdicname:
  17472. description: 单位名称
  17473. type: string
  17474. fixedprice:
  17475. description: 固定价格(价格)
  17476. type: number
  17477. haswr:
  17478. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  17479. type: integer
  17480. isspecified:
  17481. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  17482. type: integer
  17483. marketid:
  17484. description: 市场ID
  17485. type: integer
  17486. matchuserid:
  17487. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  17488. type: integer
  17489. matchusername:
  17490. description: 指定方
  17491. type: string
  17492. minivalue:
  17493. description: 现货商品最小变动值
  17494. type: integer
  17495. optioncompare:
  17496. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17497. type: string
  17498. orderqty:
  17499. description: 委托数量
  17500. type: number
  17501. ordertime:
  17502. description: 委托时间
  17503. type: string
  17504. pricemove:
  17505. description: 升贴水(浮动价时填写) - [挂牌]
  17506. type: number
  17507. tradedate:
  17508. description: 交易日(yyyyMMdd)
  17509. type: string
  17510. tradeprice:
  17511. description: 成交价格
  17512. type: number
  17513. tradeqty:
  17514. description: 成交数量
  17515. type: number
  17516. userid:
  17517. description: 用户ID
  17518. type: integer
  17519. username:
  17520. description: 发起方
  17521. type: string
  17522. warehouseid:
  17523. description: 仓库ID
  17524. type: integer
  17525. warehousename:
  17526. description: 仓库名称
  17527. type: string
  17528. wrfactortypeid:
  17529. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17530. type: string
  17531. wrfactortypename:
  17532. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17533. type: string
  17534. wrpricetype:
  17535. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  17536. type: integer
  17537. wrstandardcode:
  17538. description: 现货商品代码
  17539. type: string
  17540. wrstandardid:
  17541. description: 现货商品ID
  17542. type: integer
  17543. wrstandardname:
  17544. description: 商品名称
  17545. type: string
  17546. wrtradeorderid:
  17547. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  17548. type: string
  17549. wrtradeorderstatus:
  17550. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  17551. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  17552. type: integer
  17553. wrtradetype:
  17554. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  17555. type: integer
  17556. wrtypename:
  17557. description: 商品
  17558. type: string
  17559. type: object
  17560. models.WrSpotGroupTradeSum:
  17561. properties:
  17562. deliverygoodscode:
  17563. description: 现货品种代码
  17564. type: string
  17565. deliverygoodsid:
  17566. description: 现货品种ID(SEQ_DELIVERYGOODS)
  17567. type: integer
  17568. deliverygoodsname:
  17569. description: 现货品种名称
  17570. type: string
  17571. lastavgprice:
  17572. description: 上上个交易日价格(前2天价格)
  17573. type: string
  17574. lastreckondate:
  17575. description: 上上个交易日(前2天交易日)
  17576. type: string
  17577. reckondate:
  17578. description: 上个交易日(前1天交易日)
  17579. type: string
  17580. todayavgprice:
  17581. description: 上个交易日价格(前1天价格)
  17582. type: string
  17583. updown:
  17584. description: 涨跌
  17585. type: string
  17586. updownratio:
  17587. description: 涨幅(已格式化, 直接显示即可)
  17588. type: string
  17589. type: object
  17590. models.WrSpotGroupTradeSumDetail:
  17591. properties:
  17592. deliverygoodsid:
  17593. description: 现货商品id
  17594. type: integer
  17595. price:
  17596. description: 价格
  17597. type: number
  17598. reckondate:
  17599. description: 日期(yyymmdd, 如:20211031)
  17600. type: string
  17601. type: object
  17602. models.WrSpotGroupTradeSumEx:
  17603. properties:
  17604. lst:
  17605. description: 指数列表
  17606. items:
  17607. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  17608. type: array
  17609. prereckondate:
  17610. description: 上上个交易日(yyymmdd)
  17611. type: string
  17612. reckondate:
  17613. description: 上个交易日(yyyymmdd)
  17614. type: string
  17615. type: object
  17616. models.WrStandardFactoryItem:
  17617. properties:
  17618. dgfactoryitemid:
  17619. description: 选择项id
  17620. type: integer
  17621. dgfactoryitemvalue:
  17622. description: 要素项值
  17623. type: string
  17624. warehouseid:
  17625. description: 仓库id
  17626. type: integer
  17627. type: object
  17628. models.WrStandardFactoryItemEx:
  17629. properties:
  17630. dgfactoryitemtypeid:
  17631. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  17632. type: integer
  17633. itemlst:
  17634. description: 要素项列表
  17635. items:
  17636. $ref: '#/definitions/models.WrStandardFactoryItem'
  17637. type: array
  17638. itemtypename:
  17639. description: 要素项类型名称
  17640. type: string
  17641. wrstandardid:
  17642. description: 品类
  17643. type: integer
  17644. type: object
  17645. models.WrTradeDetail:
  17646. properties:
  17647. accountid:
  17648. description: 资金账号
  17649. type: integer
  17650. bannerpicurl:
  17651. description: Banner图
  17652. type: string
  17653. begindate:
  17654. description: 开始交易日(yyyymmdd)
  17655. type: string
  17656. buyorsell:
  17657. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  17658. type: integer
  17659. chargevalue:
  17660. description: 手续费
  17661. type: number
  17662. deliverygoodscode:
  17663. description: 品种代码
  17664. type: string
  17665. deliverygoodsid:
  17666. description: 品种ID
  17667. type: integer
  17668. deliverygoodsname:
  17669. description: 品种名称
  17670. type: string
  17671. deliverymonth:
  17672. description: 交收月
  17673. type: string
  17674. enddate:
  17675. description: 结束交易日(yyyymmdd)
  17676. type: string
  17677. enumdicname:
  17678. description: 单位名称
  17679. type: string
  17680. haswr:
  17681. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  17682. type: integer
  17683. marketid:
  17684. description: 市场ID
  17685. type: integer
  17686. matchaccountid:
  17687. description: 对手账号
  17688. type: integer
  17689. matchusername:
  17690. description: 对手方
  17691. type: string
  17692. minivalue:
  17693. description: 现货商品最小变动值
  17694. type: integer
  17695. optioncompare:
  17696. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17697. type: string
  17698. thumurls:
  17699. description: 缩略图
  17700. type: string
  17701. tradedate:
  17702. description: 交易日(yyyyMMdd)
  17703. type: string
  17704. tradeprice:
  17705. description: 成交价格
  17706. type: number
  17707. tradeqty:
  17708. description: 成交数量
  17709. type: number
  17710. tradetime:
  17711. description: 成交时间
  17712. type: string
  17713. userid:
  17714. description: 用户ID
  17715. type: integer
  17716. warehouseid:
  17717. description: 仓库ID
  17718. type: integer
  17719. warehousename:
  17720. description: 仓库名称
  17721. type: string
  17722. wrfactortypeid:
  17723. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17724. type: string
  17725. wrfactortypename:
  17726. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17727. type: string
  17728. wrstandardcode:
  17729. description: 现货商品代码
  17730. type: string
  17731. wrstandardid:
  17732. description: 现货商品ID
  17733. type: integer
  17734. wrstandardname:
  17735. description: 商品名称
  17736. type: string
  17737. wrtradedetailid:
  17738. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  17739. type: string
  17740. wrtradetype:
  17741. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  17742. type: integer
  17743. wrtypename:
  17744. description: 商品
  17745. type: string
  17746. type: object
  17747. models.WrTradeOrderDetail:
  17748. properties:
  17749. buyorsell:
  17750. description: 买卖方向 0-买 1-卖
  17751. type: integer
  17752. goodsid:
  17753. description: 商品id
  17754. type: integer
  17755. orderid:
  17756. description: 委托单号
  17757. type: string
  17758. orderprice:
  17759. description: 委托价格
  17760. type: number
  17761. orderqty:
  17762. description: 委托数量
  17763. type: integer
  17764. userid:
  17765. description: 用户id
  17766. type: integer
  17767. username:
  17768. description: 用户名称(已脱敏)
  17769. type: string
  17770. type: object
  17771. models.WrTypeItem:
  17772. properties:
  17773. name:
  17774. description: 名称
  17775. type: string
  17776. value:
  17777. description: 值
  17778. type: string
  17779. type: object
  17780. models.WrUserFriend:
  17781. properties:
  17782. friendname:
  17783. description: 朋友名称(已脱敏)
  17784. type: string
  17785. frienduserid:
  17786. description: 朋友id
  17787. type: integer
  17788. isfriend:
  17789. description: 是否好友 0-不是 1-是
  17790. type: integer
  17791. userid:
  17792. description: 用户id
  17793. type: integer
  17794. type: object
  17795. models.WrUserReceiptInfo:
  17796. properties:
  17797. address:
  17798. description: 地址[发票类型:企业]
  17799. type: string
  17800. autoid:
  17801. description: AutoID
  17802. type: integer
  17803. contactinfo:
  17804. description: 联系方式
  17805. type: string
  17806. idnum:
  17807. description: 身份证号码[发票类型:个人]
  17808. type: string
  17809. isdefault:
  17810. description: 是否默认地址 - 0:否 1:是
  17811. type: integer
  17812. receiptaccount:
  17813. description: 发票帐号[发票类型:企业]
  17814. type: string
  17815. receiptbank:
  17816. description: 发票开户行[发票类型:企业]
  17817. type: string
  17818. receipttype:
  17819. description: 发票类型 - 1:个人 2:企业
  17820. type: integer
  17821. taxpayerid:
  17822. description: 纳税人识别号
  17823. type: string
  17824. userid:
  17825. description: 用户ID
  17826. type: integer
  17827. username:
  17828. description: 户名(个人姓名或企业名称)
  17829. type: string
  17830. type: object
  17831. models.XHBRAND:
  17832. properties:
  17833. brandid:
  17834. description: 品牌id
  17835. type: integer
  17836. brandname:
  17837. description: 品牌名称
  17838. type: string
  17839. isvalid:
  17840. description: 是否有效 0-无效 1-有效
  17841. type: integer
  17842. type: object
  17843. models.XHDeliveryGoods:
  17844. properties:
  17845. areauserid:
  17846. description: 所属机构
  17847. type: integer
  17848. bdlst:
  17849. description: 品牌列表
  17850. items:
  17851. $ref: '#/definitions/models.XHBRAND'
  17852. type: array
  17853. deliverygoodscode:
  17854. description: 现货品种代码
  17855. type: string
  17856. deliverygoodsid:
  17857. description: 现货品种ID(SEQ_DELIVERYGOODS)
  17858. type: integer
  17859. deliverygoodsname:
  17860. description: 现货品种名称
  17861. type: string
  17862. dgstatus:
  17863. description: 品种状态 - 作废 - 0:未激活 1:正常
  17864. type: integer
  17865. filterSubEmpty:
  17866. description: 过滤下级为空的
  17867. type: integer
  17868. isvalid:
  17869. description: 是否有效 - 0:无效 1:有效
  17870. type: integer
  17871. remark:
  17872. description: 备注
  17873. type: string
  17874. unitid:
  17875. description: 单位id(目前看,数据库中是空值)
  17876. type: integer
  17877. wdlst:
  17878. description: 品类(现货商品)列表
  17879. items:
  17880. $ref: '#/definitions/models.XHWrstandard'
  17881. type: array
  17882. type: object
  17883. models.XHMiddleGoods:
  17884. properties:
  17885. GPLST:
  17886. description: 期货品种列表
  17887. items:
  17888. $ref: '#/definitions/models.TBGoodsGroup'
  17889. type: array
  17890. convertratio:
  17891. description: 拆算系数
  17892. type: number
  17893. costratio:
  17894. description: 成本权重
  17895. type: number
  17896. deliverygoodsid:
  17897. description: 现货商品id
  17898. type: integer
  17899. enumdicname:
  17900. description: 单位名称
  17901. type: string
  17902. middlegoodscode:
  17903. description: 套保品种代码
  17904. type: string
  17905. middlegoodsid:
  17906. description: 套保品种id
  17907. type: integer
  17908. middlegoodsname:
  17909. description: 套保品种名称
  17910. type: string
  17911. unitid:
  17912. description: 单位id
  17913. type: integer
  17914. type: object
  17915. models.XHWrstandard:
  17916. properties:
  17917. bannerpicurl:
  17918. description: banner图
  17919. type: string
  17920. deliverygoodsid:
  17921. description: 品种ID
  17922. type: integer
  17923. enumdicname:
  17924. description: 单位名称
  17925. type: string
  17926. mglst:
  17927. description: 套保品列表
  17928. items:
  17929. $ref: '#/definitions/models.XHMiddleGoods'
  17930. type: array
  17931. pictureurls:
  17932. description: 详情图片(逗号分隔)
  17933. type: string
  17934. thumurls:
  17935. description: 缩略图片(1:1)(逗号分隔)
  17936. type: string
  17937. unitid:
  17938. description: 单位id
  17939. type: integer
  17940. vatrate:
  17941. description: 增值税率
  17942. type: number
  17943. wrstandardcode:
  17944. description: 现货商品代码
  17945. type: string
  17946. wrstandardid:
  17947. description: 现货商品ID(SEQ_WRSTANDARD)
  17948. type: integer
  17949. wrstandardname:
  17950. description: 现货商品名称
  17951. type: string
  17952. type: object
  17953. order.QueryHisTradeDetailRsp:
  17954. properties:
  17955. accountid:
  17956. description: 账户ID[报价币种]
  17957. type: integer
  17958. advanceratio:
  17959. description: 首付比率
  17960. type: number
  17961. buildtype:
  17962. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  17963. type: integer
  17964. buyorsell:
  17965. description: 方向 - 0:买 1:卖
  17966. type: integer
  17967. charge:
  17968. description: 手续费
  17969. type: number
  17970. closecharge:
  17971. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17972. type: number
  17973. closeexchagechargevalue:
  17974. description: 平仓交易所手续费设置值
  17975. type: number
  17976. closefeealgorithm:
  17977. description: 平仓手续费收取方式 1:比率 2:固定
  17978. type: integer
  17979. closememberchargevalue:
  17980. description: 平仓会员手续费设置值
  17981. type: number
  17982. closepl:
  17983. description: 平仓盈亏
  17984. type: number
  17985. closepl2:
  17986. description: 平仓盈亏[逐笔]
  17987. type: number
  17988. closeqty:
  17989. description: 平仓数量(先建后平操作 需要记录)
  17990. type: number
  17991. creditamount:
  17992. description: 授信金额
  17993. type: number
  17994. decimalplace:
  17995. description: 商品报价小数位
  17996. type: integer
  17997. enumdicname:
  17998. description: 单位名称
  17999. type: string
  18000. gcaccountid:
  18001. description: 账户ID[合约币种]
  18002. type: integer
  18003. goodscode:
  18004. description: 商品代码
  18005. type: string
  18006. goodsid:
  18007. description: 商品ID
  18008. type: integer
  18009. goodsname:
  18010. description: 商品名称
  18011. type: string
  18012. goodunitid:
  18013. description: 商品单位id
  18014. type: integer
  18015. histradedate:
  18016. description: 历史交易日
  18017. type: string
  18018. intclosepl:
  18019. description: 整型盈亏(用于交易结算试算平衡-收益权)
  18020. type: integer
  18021. isconfirmexercise:
  18022. description: 是否确认行权- 0:否 1:是
  18023. type: integer
  18024. ismain:
  18025. description: 是否主单 - 0:不是 1:是
  18026. type: integer
  18027. ispreexercise:
  18028. description: 是否预申报- 0:否 1:是
  18029. type: integer
  18030. isreckoned:
  18031. description: 是否结算 - 0:未结算 1:已结算
  18032. type: integer
  18033. isvaliddata:
  18034. description: 是否有效 - 0:无效 1:有效
  18035. type: integer
  18036. listingselecttype:
  18037. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  18038. type: integer
  18039. marketid:
  18040. description: 市场ID
  18041. type: integer
  18042. marketname:
  18043. description: 市场名称
  18044. type: string
  18045. matchaccountid:
  18046. description: 对手账号id
  18047. type: integer
  18048. memberuserid:
  18049. description: 会员id 个人投资者 需要填写
  18050. type: integer
  18051. opencharge:
  18052. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  18053. type: number
  18054. openexchagechargevalue:
  18055. description: 建仓交易所手续费设置值
  18056. type: number
  18057. openfeealgorithm:
  18058. description: 建仓手续费收取方式 1:比率 2:固定
  18059. type: integer
  18060. openmemberchargevalue:
  18061. description: 建仓会员手续费设置值
  18062. type: number
  18063. openqty:
  18064. description: 开仓数量(先建后平操作 需要记录)
  18065. type: number
  18066. optiontype:
  18067. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  18068. type: integer
  18069. orderid:
  18070. description: 委托单号
  18071. type: string
  18072. payamount:
  18073. description: 支付金额(付款金额)
  18074. type: number
  18075. performanceplanid:
  18076. description: 履约计划ID[期权]
  18077. type: integer
  18078. performancestatus:
  18079. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  18080. type: integer
  18081. preexerciseprice:
  18082. description: 预申报价格
  18083. type: number
  18084. premium:
  18085. description: 权利金 - [持仓单的权利金]
  18086. type: number
  18087. qtydecimalplace:
  18088. description: 商品报价小数位
  18089. type: integer
  18090. recvamount:
  18091. description: 到账金额 = 成交金额 - 手续费
  18092. type: number
  18093. relatedouttradeid:
  18094. description: 关联外部成交单ID
  18095. type: integer
  18096. status:
  18097. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  18098. type: integer
  18099. totalamount:
  18100. description: 订单总额 = 成交金额 + 手续费
  18101. type: number
  18102. tradeamount:
  18103. description: 成交金额[账户币种,用于所有权]
  18104. type: number
  18105. tradedate:
  18106. description: 交易日(yyyyMMdd)
  18107. type: string
  18108. tradeid:
  18109. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18110. type: string
  18111. trademode:
  18112. description: 交易模式
  18113. type: integer
  18114. tradeprice:
  18115. description: 成交价格
  18116. type: number
  18117. tradeproperty:
  18118. description: 交易属性
  18119. type: integer
  18120. tradeqty:
  18121. description: 成交数量
  18122. type: number
  18123. tradetime:
  18124. description: 成交时间
  18125. type: string
  18126. tradetype:
  18127. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  18128. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  18129. type: integer
  18130. required:
  18131. - accountid
  18132. - buyorsell
  18133. - goodsid
  18134. - histradedate
  18135. - marketid
  18136. - memberuserid
  18137. - orderid
  18138. - tradeamount
  18139. - tradedate
  18140. - tradeid
  18141. - tradeprice
  18142. - tradeqty
  18143. - tradetime
  18144. type: object
  18145. order.QueryHisTradeOrderDetailRsp:
  18146. properties:
  18147. accountid:
  18148. description: 账户ID[报价币种]
  18149. type: integer
  18150. buildtype:
  18151. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  18152. type: integer
  18153. buyorsell:
  18154. description: 买卖 - 0:买 1:卖
  18155. type: integer
  18156. cancelorderid:
  18157. description: 撤单单号(撤单时填写)
  18158. type: string
  18159. cancelqty:
  18160. description: 撤单数量
  18161. type: number
  18162. clientordertime:
  18163. description: 客户端委托时间
  18164. type: string
  18165. clientticket:
  18166. description: 客户端流水号
  18167. type: string
  18168. clienttype:
  18169. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  18170. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  18171. type: integer
  18172. closeexchagechargevalue:
  18173. description: 平仓交易所手续费设置值
  18174. type: number
  18175. closefeealgorithm:
  18176. description: 平仓手续费收取方式 1:比率 2:固定
  18177. type: integer
  18178. closefreezecharge:
  18179. description: 平仓冻结手续费(先建后平操作,需要记录)
  18180. type: number
  18181. closememberchargevalue:
  18182. description: 平仓会员手续费设置值
  18183. type: number
  18184. closeqty:
  18185. description: 平仓数量(先建后平操作 需要记录)
  18186. type: number
  18187. closetradeqty:
  18188. description: 平仓成交数量(先建后平操作,需要记录)
  18189. type: number
  18190. closeunfreezecharge:
  18191. description: 平仓解冻手续费(先建后平操作,需要记录)
  18192. type: number
  18193. decimalplace:
  18194. description: 商品报价小数位
  18195. type: integer
  18196. delistingtype:
  18197. description: 摘牌类型 - 1:价格最优 2:点选成交
  18198. type: integer
  18199. enumdicname:
  18200. description: 单位名称
  18201. type: string
  18202. freezecharge:
  18203. description: 冻结手续费
  18204. type: number
  18205. freezemargin:
  18206. description: 冻结保证金(冻结交易金额)
  18207. type: number
  18208. gcaccountid:
  18209. description: 账户ID[合约币种]
  18210. type: integer
  18211. goodscode:
  18212. description: 商品代码
  18213. type: string
  18214. goodsid:
  18215. description: 商品ID
  18216. type: integer
  18217. goodsname:
  18218. description: 商品名称
  18219. type: string
  18220. goodunitid:
  18221. description: 商品单位id
  18222. type: integer
  18223. histradedate:
  18224. description: 历史交易日
  18225. type: string
  18226. isconfirmexercise:
  18227. description: 是否确认行权- 0:否 1:是
  18228. type: integer
  18229. ispreexercise:
  18230. description: 是否预申报- 0:否 1:是
  18231. type: integer
  18232. isvaliddata:
  18233. description: 是否有效 - 0:无效 1:有效
  18234. type: integer
  18235. listingselecttype:
  18236. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  18237. type: integer
  18238. marginalgorithm:
  18239. description: 保证金收取方式 1:比率 2:固定
  18240. type: integer
  18241. marginvalue:
  18242. description: 即市保证金设置值
  18243. type: number
  18244. marketid:
  18245. description: 市场ID
  18246. type: integer
  18247. marketmaxsub:
  18248. description: 市价最大偏移范围
  18249. type: number
  18250. marketname:
  18251. description: 市场名称
  18252. type: string
  18253. memberuserid:
  18254. description: 所属会员UserID
  18255. type: integer
  18256. openexchagechargevalue:
  18257. description: 建仓交易所手续费设置值
  18258. type: number
  18259. openfeealgorithm:
  18260. description: 建仓手续费收取方式 1:比率 2:固定
  18261. type: integer
  18262. openfreezecharge:
  18263. description: 开仓冻结手续费(先建后平操作,需要记录)
  18264. type: number
  18265. openmemberchargevalue:
  18266. description: 建仓会员手续费设置值
  18267. type: number
  18268. openqty:
  18269. description: 开仓数量(先建后平操作,需要记录)
  18270. type: number
  18271. opentradeqty:
  18272. description: 开仓成交数量(先建后平操作,需要记录)
  18273. type: number
  18274. openunfreezecharge:
  18275. description: 开仓解冻手续费(先建后平操作,需要记录)
  18276. type: number
  18277. operatetype:
  18278. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  18279. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  18280. 15:管理端协议转让
  18281. type: integer
  18282. operatorid:
  18283. description: 登录账号(LoginID)
  18284. type: integer
  18285. optiontype:
  18286. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  18287. type: integer
  18288. orderid:
  18289. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18290. type: string
  18291. orderprice:
  18292. description: 委托价格
  18293. type: number
  18294. orderqty:
  18295. description: 委托数量
  18296. type: number
  18297. ordersrc:
  18298. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  18299. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  18300. type: integer
  18301. orderstatus:
  18302. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  18303. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  18304. 16:成交失败违约(荷兰式竞拍专用)
  18305. type: integer
  18306. ordertime:
  18307. description: 委托时间
  18308. type: string
  18309. preexerciseprice:
  18310. description: 预申报价格
  18311. type: number
  18312. premium:
  18313. description: 权利金
  18314. type: number
  18315. preorderid:
  18316. description: 关联预埋单号(止盈止损单时填写)
  18317. type: string
  18318. pricemode:
  18319. description: '取价方式 - 1:市价 2: 限价'
  18320. type: integer
  18321. qtydecimalplace:
  18322. description: 成交量小数位
  18323. type: integer
  18324. quoteid:
  18325. description: 报价单ID
  18326. type: integer
  18327. relatedid:
  18328. description: 关联单号(交割单)
  18329. type: string
  18330. retcode:
  18331. description: 错误代码
  18332. type: integer
  18333. sessionid:
  18334. description: 会话ID
  18335. type: integer
  18336. tradedate:
  18337. description: 交易日(yyyyMMdd)
  18338. type: string
  18339. trademode:
  18340. description: 交易模式
  18341. type: integer
  18342. tradeproperty:
  18343. description: 交易属性
  18344. type: integer
  18345. tradeqty:
  18346. description: 成交数量
  18347. type: number
  18348. unfreezecharge:
  18349. description: 解冻手续费
  18350. type: number
  18351. unfreezemargin:
  18352. description: 解冻保证金
  18353. type: number
  18354. updatetime:
  18355. description: 更新时间
  18356. type: string
  18357. uuid:
  18358. description: 发起端唯一id
  18359. type: string
  18360. validtime:
  18361. description: 有效期限
  18362. type: string
  18363. validtype:
  18364. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  18365. type: integer
  18366. volumetype:
  18367. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  18368. type: integer
  18369. required:
  18370. - accountid
  18371. - buildtype
  18372. - buyorsell
  18373. - goodsid
  18374. - histradedate
  18375. - marketid
  18376. - memberuserid
  18377. - operatetype
  18378. - orderid
  18379. - orderqty
  18380. - ordertime
  18381. - pricemode
  18382. - tradedate
  18383. - validtype
  18384. type: object
  18385. order.QueryTradeDetailRsp:
  18386. properties:
  18387. accountid:
  18388. description: 账户ID[报价币种]
  18389. type: integer
  18390. advanceratio:
  18391. description: 首付比率
  18392. type: number
  18393. buildtype:
  18394. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  18395. type: integer
  18396. buyorsell:
  18397. description: 方向 - 0:买 1:卖
  18398. type: integer
  18399. charge:
  18400. description: 手续费
  18401. type: number
  18402. closecharge:
  18403. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  18404. type: number
  18405. closeexchagechargevalue:
  18406. description: 平仓交易所手续费设置值
  18407. type: number
  18408. closefeealgorithm:
  18409. description: 平仓手续费收取方式 1:比率 2:固定
  18410. type: integer
  18411. closememberchargevalue:
  18412. description: 平仓会员手续费设置值
  18413. type: number
  18414. closepl:
  18415. description: 平仓盈亏
  18416. type: number
  18417. closepl2:
  18418. description: 平仓盈亏[逐笔]
  18419. type: number
  18420. closeqty:
  18421. description: 平仓数量(先建后平操作 需要记录)
  18422. type: number
  18423. creditamount:
  18424. description: 授信金额
  18425. type: number
  18426. decimalplace:
  18427. description: 商品报价小数位
  18428. type: integer
  18429. enumdicname:
  18430. description: 单位名称
  18431. type: string
  18432. gcaccountid:
  18433. description: 账户ID[合约币种]
  18434. type: integer
  18435. goodscode:
  18436. description: 商品代码
  18437. type: string
  18438. goodsid:
  18439. description: 商品ID
  18440. type: integer
  18441. goodsname:
  18442. description: 商品名称
  18443. type: string
  18444. goodunitid:
  18445. description: 商品单位id
  18446. type: integer
  18447. intclosepl:
  18448. description: 整型盈亏(用于交易结算试算平衡-收益权)
  18449. type: integer
  18450. isconfirmexercise:
  18451. description: 是否确认行权- 0:否 1:是
  18452. type: integer
  18453. ismain:
  18454. description: 是否主单 - 0:不是 1:是
  18455. type: integer
  18456. ispreexercise:
  18457. description: 是否预申报- 0:否 1:是
  18458. type: integer
  18459. isreckoned:
  18460. description: 是否结算 - 0:未结算 1:已结算
  18461. type: integer
  18462. listingselecttype:
  18463. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  18464. type: integer
  18465. marketid:
  18466. description: 市场ID
  18467. type: integer
  18468. marketname:
  18469. description: 市场名称
  18470. type: string
  18471. matchaccountid:
  18472. description: 对手账号id
  18473. type: integer
  18474. memberuserid:
  18475. description: 会员id 个人投资者 需要填写
  18476. type: integer
  18477. opencharge:
  18478. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  18479. type: number
  18480. openexchagechargevalue:
  18481. description: 建仓交易所手续费设置值
  18482. type: number
  18483. openfeealgorithm:
  18484. description: 建仓手续费收取方式 1:比率 2:固定
  18485. type: integer
  18486. openmemberchargevalue:
  18487. description: 建仓会员手续费设置值
  18488. type: number
  18489. openqty:
  18490. description: 开仓数量(先建后平操作 需要记录)
  18491. type: number
  18492. optiontype:
  18493. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  18494. type: integer
  18495. orderid:
  18496. description: 委托单号
  18497. type: string
  18498. payamount:
  18499. description: 支付金额(付款金额)
  18500. type: number
  18501. performanceplanid:
  18502. description: 履约计划ID[期权]
  18503. type: integer
  18504. performancestatus:
  18505. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  18506. type: integer
  18507. preexerciseprice:
  18508. description: 预申报价格
  18509. type: number
  18510. premium:
  18511. description: 权利金 - [持仓单的权利金]
  18512. type: number
  18513. qtydecimalplace:
  18514. description: 商品报价小数位
  18515. type: integer
  18516. recvamount:
  18517. description: 到账金额 = 成交金额 - 手续费
  18518. type: number
  18519. relatedouttradeid:
  18520. description: 关联外部成交单ID
  18521. type: integer
  18522. status:
  18523. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  18524. type: integer
  18525. totalamount:
  18526. description: 订单总额 = 成交金额 + 手续费
  18527. type: number
  18528. tradeamount:
  18529. description: 成交金额[账户币种,用于所有权]
  18530. type: number
  18531. tradedate:
  18532. description: 交易日(yyyyMMdd)
  18533. type: string
  18534. tradeid:
  18535. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18536. type: string
  18537. trademode:
  18538. description: 交易模式
  18539. type: integer
  18540. tradeprice:
  18541. description: 成交价格
  18542. type: number
  18543. tradeproperty:
  18544. description: 交易属性
  18545. type: integer
  18546. tradeqty:
  18547. description: 成交数量
  18548. type: number
  18549. tradetime:
  18550. description: 成交时间
  18551. type: string
  18552. tradetype:
  18553. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  18554. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  18555. type: integer
  18556. required:
  18557. - accountid
  18558. - buyorsell
  18559. - goodsid
  18560. - marketid
  18561. - memberuserid
  18562. - orderid
  18563. - tradeamount
  18564. - tradedate
  18565. - tradeid
  18566. - tradeprice
  18567. - tradeqty
  18568. - tradetime
  18569. type: object
  18570. order.QueryTradeOrderDetailRsp:
  18571. properties:
  18572. accountid:
  18573. description: 账户ID[报价币种]
  18574. type: integer
  18575. buildtype:
  18576. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  18577. type: integer
  18578. buyorsell:
  18579. description: 买卖 - 0:买 1:卖
  18580. type: integer
  18581. cancelorderid:
  18582. description: 撤单单号(撤单时填写)
  18583. type: string
  18584. cancelqty:
  18585. description: 撤单数量
  18586. type: number
  18587. clienttype:
  18588. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  18589. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  18590. type: integer
  18591. closefreezecharge:
  18592. description: 平仓冻结手续费(先建后平操作,需要记录)
  18593. type: number
  18594. closeqty:
  18595. description: 平仓数量(先建后平操作 需要记录)
  18596. type: number
  18597. closetradeqty:
  18598. description: 平仓成交数量(先建后平操作,需要记录)
  18599. type: number
  18600. closeunfreezecharge:
  18601. description: 平仓解冻手续费(先建后平操作,需要记录)
  18602. type: number
  18603. decimalplace:
  18604. description: 商品报价小数位
  18605. type: integer
  18606. delistingtype:
  18607. description: 摘牌类型 - 1:价格最优 2:点选成交
  18608. type: integer
  18609. enableqty:
  18610. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  18611. type: number
  18612. enumdicname:
  18613. description: 单位名称
  18614. type: string
  18615. freezecharge:
  18616. description: 冻结手续费
  18617. type: number
  18618. freezemargin:
  18619. description: 冻结保证金(冻结交易金额)
  18620. type: number
  18621. goodscode:
  18622. description: 商品代码
  18623. type: string
  18624. goodsid:
  18625. description: 商品ID
  18626. type: integer
  18627. goodsname:
  18628. description: 商品名称
  18629. type: string
  18630. goodunitid:
  18631. description: 商品单位id
  18632. type: integer
  18633. listingselecttype:
  18634. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  18635. type: integer
  18636. marketid:
  18637. description: 市场ID
  18638. type: integer
  18639. marketname:
  18640. description: 市场名称
  18641. type: string
  18642. openfreezecharge:
  18643. description: 开仓冻结手续费(先建后平操作,需要记录)
  18644. type: number
  18645. openqty:
  18646. description: 开仓数量(先建后平操作,需要记录)
  18647. type: number
  18648. opentradeqty:
  18649. description: 开仓成交数量(先建后平操作,需要记录)
  18650. type: number
  18651. openunfreezecharge:
  18652. description: 开仓解冻手续费(先建后平操作,需要记录)
  18653. type: number
  18654. operatetype:
  18655. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  18656. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  18657. 15:管理端协议转让
  18658. type: integer
  18659. operatorid:
  18660. description: 登录账号(LoginID)
  18661. type: integer
  18662. orderid:
  18663. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18664. type: string
  18665. orderprice:
  18666. description: 委托价格
  18667. type: number
  18668. orderqty:
  18669. description: 委托数量
  18670. type: number
  18671. ordersrc:
  18672. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  18673. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  18674. type: integer
  18675. orderstatus:
  18676. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  18677. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  18678. 16:成交失败违约(荷兰式竞拍专用)
  18679. type: integer
  18680. ordertime:
  18681. description: 委托时间
  18682. type: string
  18683. preorderid:
  18684. description: 关联预埋单号(止盈止损单时填写)
  18685. type: string
  18686. pricemode:
  18687. description: '取价方式 - 1:市价 2: 限价'
  18688. type: integer
  18689. qtydecimalplace:
  18690. description: 商品报价小数位
  18691. type: integer
  18692. relatedid:
  18693. description: 关联单号(交割单)
  18694. type: string
  18695. tradedate:
  18696. description: 交易日(yyyyMMdd)
  18697. type: string
  18698. trademode:
  18699. description: 交易模式
  18700. type: integer
  18701. tradeqty:
  18702. description: 成交数量
  18703. type: number
  18704. unfreezecharge:
  18705. description: 解冻手续费
  18706. type: number
  18707. unfreezemargin:
  18708. description: 解冻保证金
  18709. type: number
  18710. validtime:
  18711. description: 有效期限
  18712. type: string
  18713. validtype:
  18714. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  18715. type: integer
  18716. volumetype:
  18717. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  18718. type: integer
  18719. required:
  18720. - accountid
  18721. - buildtype
  18722. - buyorsell
  18723. - goodsid
  18724. - marketid
  18725. - operatetype
  18726. - orderqty
  18727. - ordertime
  18728. - pricemode
  18729. - tradedate
  18730. - validtype
  18731. type: object
  18732. order.QueryTradePositionRsp:
  18733. properties:
  18734. accountid:
  18735. description: 资金账户
  18736. type: integer
  18737. agreeunit:
  18738. description: 合约单位
  18739. type: number
  18740. averageprice:
  18741. description: 持仓均价
  18742. type: number
  18743. buyorsell:
  18744. description: 方向 - 0:买 1:卖
  18745. type: integer
  18746. closetotalqty:
  18747. description: 平仓总数量
  18748. type: number
  18749. curholderamount:
  18750. description: 当前持仓总金额[商品币种]
  18751. type: number
  18752. curpositionqty:
  18753. description: 当前持仓总数量
  18754. type: number
  18755. currencyid:
  18756. description: 报价货币ID
  18757. type: integer
  18758. curtdposition:
  18759. description: 期末今日头寸
  18760. type: number
  18761. decimalplace:
  18762. description: 报价小数位
  18763. type: integer
  18764. enableqty:
  18765. description: 可用量
  18766. type: number
  18767. fretdposition:
  18768. description: 冻结今日头寸
  18769. type: number
  18770. frozenqty:
  18771. description: 持仓冻结数量
  18772. type: number
  18773. goodscode:
  18774. description: 商品代码
  18775. type: string
  18776. goodsid:
  18777. description: 商品Id
  18778. type: integer
  18779. goodsname:
  18780. description: 商品名称
  18781. type: string
  18782. goodunit:
  18783. description: 报价单位
  18784. type: string
  18785. goodunitid:
  18786. description: 报价单位ID
  18787. type: integer
  18788. holderamount:
  18789. description: 期初持仓总金额[商品币种]
  18790. type: number
  18791. lastprice:
  18792. description: 最新价
  18793. type: number
  18794. marketamount:
  18795. description: 市值
  18796. type: number
  18797. marketid:
  18798. description: 所属市场ID
  18799. type: integer
  18800. openreqqty:
  18801. description: 开仓申请数量(用于比较最大持仓数量)
  18802. type: number
  18803. opentotalqty:
  18804. description: 开仓总数量
  18805. type: number
  18806. otherfrozenqty:
  18807. description: 持仓其他冻结数量(交割冻结)
  18808. type: number
  18809. positionpl:
  18810. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  18811. * 合约单位
  18812. type: number
  18813. positionplrate:
  18814. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  18815. type: number
  18816. positionqty:
  18817. description: 期初持仓数量
  18818. type: number
  18819. qtydecimalplace:
  18820. description: 成交量小数位
  18821. type: integer
  18822. refgoodscode:
  18823. description: 参考商品代码
  18824. type: string
  18825. refgoodsid:
  18826. description: 参考商品ID
  18827. type: integer
  18828. tnqty:
  18829. description: T+N冻结总量
  18830. type: number
  18831. tnusedqty:
  18832. description: T+N使用量(可以使用T+N的冻结数量)
  18833. type: number
  18834. trademode:
  18835. description: 交易模式
  18836. type: integer
  18837. tradeproperty:
  18838. description: 交易属性
  18839. type: integer
  18840. usedmargin:
  18841. description: 占用保证金[商品币种]
  18842. type: number
  18843. required:
  18844. - goodsid
  18845. type: object
  18846. pb.GoodsMarginCfgStruct:
  18847. properties:
  18848. CustomerTypeID:
  18849. description: 投资者客户类型
  18850. type: integer
  18851. GoodsID:
  18852. description: 商品ID
  18853. type: integer
  18854. IsDefault:
  18855. description: 是否默认标志位
  18856. type: integer
  18857. LockMarginValue:
  18858. description: 锁仓保证金
  18859. type: number
  18860. MarginAlgorithm:
  18861. description: 保证金计算方式
  18862. type: integer
  18863. MarketMarginValue:
  18864. description: 即市保证金值
  18865. type: number
  18866. RealMarginAlgorithm:
  18867. description: 实付保证金计算方式
  18868. type: integer
  18869. RealMarginValue:
  18870. description: 实付比例
  18871. type: number
  18872. ReckonMarginValue:
  18873. description: 结算保证金值
  18874. type: number
  18875. type: object
  18876. quote.HistoryData:
  18877. properties:
  18878. c:
  18879. description: 收盘价
  18880. type: number
  18881. f:
  18882. description: 是否补充数据
  18883. type: boolean
  18884. h:
  18885. description: 最高价
  18886. type: number
  18887. hv:
  18888. description: 持仓量
  18889. type: integer
  18890. l:
  18891. description: 最低价
  18892. type: number
  18893. o:
  18894. description: 开盘价
  18895. type: number
  18896. s:
  18897. description: 结算价,日线周期(包括)以上才有
  18898. type: number
  18899. ts:
  18900. description: 时间
  18901. type: string
  18902. tt:
  18903. description: 总金额
  18904. type: number
  18905. tv:
  18906. description: 总量(成交量)
  18907. type: integer
  18908. type: object
  18909. quote.HistoryTikData:
  18910. properties:
  18911. AV:
  18912. description: 卖量
  18913. type: integer
  18914. Ask:
  18915. description: 卖价
  18916. type: number
  18917. BV:
  18918. description: 买量
  18919. type: integer
  18920. Bid:
  18921. description: 买价
  18922. type: number
  18923. HI:
  18924. description: 单笔持仓
  18925. type: integer
  18926. HV:
  18927. description: 持仓量
  18928. type: integer
  18929. PE:
  18930. description: 现价
  18931. type: number
  18932. TDR:
  18933. description: 交易方向,0:买 1:卖
  18934. type: integer
  18935. TK:
  18936. description: 交易类型
  18937. type: integer
  18938. TS:
  18939. description: 行情时间文本
  18940. type: string
  18941. TT:
  18942. description: 现金额
  18943. type: number
  18944. Vol:
  18945. description: 现量
  18946. type: integer
  18947. type: object
  18948. quote.QueryQuoteDayRsp:
  18949. properties:
  18950. ask:
  18951. description: 卖1
  18952. type: number
  18953. ask2:
  18954. description: 卖2
  18955. type: number
  18956. ask3:
  18957. description: 卖3
  18958. type: number
  18959. ask4:
  18960. description: 卖4
  18961. type: number
  18962. ask5:
  18963. description: 卖5
  18964. type: number
  18965. ask6:
  18966. description: 卖6
  18967. type: number
  18968. ask7:
  18969. description: 卖7
  18970. type: number
  18971. ask8:
  18972. description: 卖8
  18973. type: number
  18974. ask9:
  18975. description: 卖9
  18976. type: number
  18977. ask10:
  18978. description: 卖10
  18979. type: number
  18980. askorderid:
  18981. description: 卖单号1
  18982. type: integer
  18983. askorderid2:
  18984. description: 卖单号2
  18985. type: integer
  18986. askorderid3:
  18987. description: 卖单号3
  18988. type: integer
  18989. askorderid4:
  18990. description: 卖单号4
  18991. type: integer
  18992. askorderid5:
  18993. description: 卖单号5
  18994. type: integer
  18995. askordervolume:
  18996. description: 卖单量1
  18997. type: integer
  18998. askordervolume2:
  18999. description: 卖单量2
  19000. type: integer
  19001. askordervolume3:
  19002. description: 卖单量3
  19003. type: integer
  19004. askordervolume4:
  19005. description: 卖单量4
  19006. type: integer
  19007. askordervolume5:
  19008. description: 卖单量5
  19009. type: integer
  19010. askordervolume6:
  19011. description: 卖单量6
  19012. type: integer
  19013. askordervolume7:
  19014. description: 卖单量7
  19015. type: integer
  19016. askordervolume8:
  19017. description: 卖单量8
  19018. type: integer
  19019. askordervolume9:
  19020. description: 卖单量9
  19021. type: integer
  19022. askordervolume10:
  19023. description: 卖单量10
  19024. type: integer
  19025. askqueueinfo:
  19026. description: 大利市卖港股用
  19027. type: string
  19028. askvolume:
  19029. description: 卖量1
  19030. type: integer
  19031. askvolume2:
  19032. description: 卖量2
  19033. type: integer
  19034. askvolume3:
  19035. description: 卖量3
  19036. type: integer
  19037. askvolume4:
  19038. description: 卖量4
  19039. type: integer
  19040. askvolume5:
  19041. description: 卖量5
  19042. type: integer
  19043. askvolume6:
  19044. description: 卖量6
  19045. type: integer
  19046. askvolume7:
  19047. description: 卖量7
  19048. type: integer
  19049. askvolume8:
  19050. description: 卖量8
  19051. type: integer
  19052. askvolume9:
  19053. description: 卖量9
  19054. type: integer
  19055. askvolume10:
  19056. description: 卖量10
  19057. type: integer
  19058. averageprice:
  19059. description: 均价
  19060. type: number
  19061. bid:
  19062. description: 买1
  19063. type: number
  19064. bid2:
  19065. description: 买2
  19066. type: number
  19067. bid3:
  19068. description: 买3
  19069. type: number
  19070. bid4:
  19071. description: 买4
  19072. type: number
  19073. bid5:
  19074. description: 买5
  19075. type: number
  19076. bid6:
  19077. description: 买6
  19078. type: number
  19079. bid7:
  19080. description: 买7
  19081. type: number
  19082. bid8:
  19083. description: 买8
  19084. type: number
  19085. bid9:
  19086. description: 买9
  19087. type: number
  19088. bid10:
  19089. description: 买10
  19090. type: number
  19091. bidorderid:
  19092. description: 买单号1
  19093. type: integer
  19094. bidorderid2:
  19095. description: 买单号2
  19096. type: integer
  19097. bidorderid3:
  19098. description: 买单号3
  19099. type: integer
  19100. bidorderid4:
  19101. description: 买单号4
  19102. type: integer
  19103. bidorderid5:
  19104. description: 买单号5
  19105. type: integer
  19106. bidordervolume:
  19107. description: 买单量1
  19108. type: integer
  19109. bidordervolume2:
  19110. description: 买单量2
  19111. type: integer
  19112. bidordervolume3:
  19113. description: 买单量3
  19114. type: integer
  19115. bidordervolume4:
  19116. description: 买单量4
  19117. type: integer
  19118. bidordervolume5:
  19119. description: 买单量5
  19120. type: integer
  19121. bidordervolume6:
  19122. description: 买单量6
  19123. type: integer
  19124. bidordervolume7:
  19125. description: 买单量7
  19126. type: integer
  19127. bidordervolume8:
  19128. description: 买单量8
  19129. type: integer
  19130. bidordervolume9:
  19131. description: 买单量9
  19132. type: integer
  19133. bidordervolume10:
  19134. description: 买单量10
  19135. type: integer
  19136. bidqueueinfo:
  19137. description: 大利市买港股用
  19138. type: string
  19139. bidvolume:
  19140. description: 买量1
  19141. type: integer
  19142. bidvolume2:
  19143. description: 买量2
  19144. type: integer
  19145. bidvolume3:
  19146. description: 买量3
  19147. type: integer
  19148. bidvolume4:
  19149. description: 买量4
  19150. type: integer
  19151. bidvolume5:
  19152. description: 买量5
  19153. type: integer
  19154. bidvolume6:
  19155. description: 买量6
  19156. type: integer
  19157. bidvolume7:
  19158. description: 买量7
  19159. type: integer
  19160. bidvolume8:
  19161. description: 买量8
  19162. type: integer
  19163. bidvolume9:
  19164. description: 买量9
  19165. type: integer
  19166. bidvolume10:
  19167. description: 买量10
  19168. type: integer
  19169. calloptionpremiums:
  19170. description: 认购期权1
  19171. type: integer
  19172. calloptionpremiums2:
  19173. description: 认购期权2
  19174. type: integer
  19175. calloptionpremiums3:
  19176. description: 认购期权3
  19177. type: integer
  19178. calloptionpremiums4:
  19179. description: 认购期权4
  19180. type: integer
  19181. calloptionpremiums5:
  19182. description: 认购期权5
  19183. type: integer
  19184. cleartime:
  19185. description: 清盘时间
  19186. type: integer
  19187. exchangecode:
  19188. description: 交易所代码
  19189. type: integer
  19190. exchangedate:
  19191. description: 交易日
  19192. type: integer
  19193. goodscode:
  19194. description: 商品代码
  19195. type: string
  19196. grepmarketprice:
  19197. description: 暗盘价 港股专用
  19198. type: number
  19199. highest:
  19200. description: 最高价
  19201. type: number
  19202. holdincrement:
  19203. description: 单笔持仓
  19204. type: integer
  19205. holdvolume:
  19206. description: 持仓
  19207. type: integer
  19208. iep:
  19209. description: 平衡价 港股专用
  19210. type: number
  19211. iev:
  19212. description: 平衡量 港股专用
  19213. type: number
  19214. inventory:
  19215. description: 库存
  19216. type: integer
  19217. iscleared:
  19218. description: 是否清盘标志
  19219. type: integer
  19220. issettled:
  19221. description: 是否结算标志
  19222. type: integer
  19223. last:
  19224. description: 最新价
  19225. type: number
  19226. lastlot:
  19227. description: 最新成交手数
  19228. type: integer
  19229. lasttime:
  19230. description: 行情时间(只有现价变化行情时间才变化)
  19231. type: string
  19232. lastturnover:
  19233. description: 最新成交金额
  19234. type: number
  19235. lastvolume:
  19236. description: 最新成交量
  19237. type: integer
  19238. limitdown:
  19239. description: 跌停价
  19240. type: number
  19241. limitup:
  19242. description: 涨停价
  19243. type: number
  19244. lowest:
  19245. description: 最低价
  19246. type: number
  19247. nontotalholdervolume:
  19248. description: 非交易持仓量
  19249. type: integer
  19250. nontotallot:
  19251. description: 非交易总手数
  19252. type: integer
  19253. nontotalturnover:
  19254. description: 非交易总金额
  19255. type: integer
  19256. nontotalvolume:
  19257. description: 非交易总量
  19258. type: integer
  19259. opened:
  19260. description: 开盘价
  19261. type: number
  19262. opentime:
  19263. description: 开盘时间
  19264. type: string
  19265. orderid:
  19266. description: 序号
  19267. type: integer
  19268. preclose:
  19269. description: 昨收
  19270. type: number
  19271. preholdvolume:
  19272. description: 昨持仓
  19273. type: integer
  19274. presettle:
  19275. description: 昨结价
  19276. type: number
  19277. publictradetype:
  19278. description: 公共交易标志类型 港股专用
  19279. type: string
  19280. putoptionpremiums:
  19281. description: 认沽期权1
  19282. type: integer
  19283. putoptionpremiums2:
  19284. description: 认沽期权2
  19285. type: integer
  19286. putoptionpremiums3:
  19287. description: 认沽期权3
  19288. type: integer
  19289. putoptionpremiums4:
  19290. description: 认沽期权4
  19291. type: integer
  19292. putoptionpremiums5:
  19293. description: 认沽期权5
  19294. type: integer
  19295. settle:
  19296. description: 结算价
  19297. type: number
  19298. strikeprice:
  19299. description: 发行价
  19300. type: number
  19301. totalaskvolume:
  19302. description: 内盘
  19303. type: integer
  19304. totalbidvolume:
  19305. description: 外盘
  19306. type: integer
  19307. totallot:
  19308. description: 总手数
  19309. type: integer
  19310. totalturnover:
  19311. description: 总金额
  19312. type: number
  19313. totalvolume:
  19314. description: 总量
  19315. type: integer
  19316. utclasttime:
  19317. description: utc的行情时间
  19318. type: string
  19319. type: object
  19320. quote.QueryTSDataRsp:
  19321. properties:
  19322. Count:
  19323. description: 交易日应有数据个数
  19324. type: integer
  19325. decimalPlace:
  19326. description: 小数位
  19327. type: integer
  19328. endTime:
  19329. description: 结束时间
  19330. type: string
  19331. goodsCode:
  19332. description: 商品代码
  19333. type: string
  19334. historyDatas:
  19335. description: 历史数据
  19336. items:
  19337. $ref: '#/definitions/quote.HistoryData'
  19338. type: array
  19339. outGoodsCode:
  19340. description: 外部商品代码
  19341. type: string
  19342. preSettle:
  19343. description: 昨结价
  19344. type: number
  19345. runSteps:
  19346. description: 交易日开休市计划
  19347. items:
  19348. $ref: '#/definitions/quote.TSDataRunStep'
  19349. type: array
  19350. startTime:
  19351. description: 开始时间
  19352. type: string
  19353. tradeDate:
  19354. description: 交易日
  19355. type: string
  19356. type: object
  19357. quote.TSDataRunStep:
  19358. properties:
  19359. end:
  19360. description: 真实结束时间
  19361. type: string
  19362. endflag:
  19363. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  19364. type: integer
  19365. endtime:
  19366. description: 结束时间(HH:mm)
  19367. type: string
  19368. endweekday:
  19369. description: 结束周几
  19370. type: integer
  19371. groupid:
  19372. description: 分组ID
  19373. type: integer
  19374. runstep:
  19375. description: 运行阶段 - 2:连续交易
  19376. type: integer
  19377. sectionid:
  19378. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  19379. 结束时间=结算时间 结束周几=结算周几
  19380. type: integer
  19381. start:
  19382. description: 真实开始时间
  19383. type: string
  19384. startflag:
  19385. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  19386. type: integer
  19387. starttime:
  19388. description: 起始时间(HH:mm)
  19389. type: string
  19390. startweekday:
  19391. description: 起始周几
  19392. type: integer
  19393. tradeweekday:
  19394. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  19395. type: integer
  19396. type: object
  19397. szdz.QueryConvertLogRsp:
  19398. properties:
  19399. accountid:
  19400. description: 资金账户ID
  19401. type: integer
  19402. clientticket:
  19403. description: 客户端流水号
  19404. type: string
  19405. converttype:
  19406. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  19407. type: integer
  19408. createtime:
  19409. description: 记账时间
  19410. type: string
  19411. daymaxvalue:
  19412. description: 配置当日最大转入限制
  19413. type: number
  19414. daymaxvalue2:
  19415. description: 配置当日最大转入限制(转入)
  19416. type: number
  19417. goodscode:
  19418. description: 商品代码
  19419. type: string
  19420. goodsname:
  19421. description: 商品名称
  19422. type: string
  19423. handlestatus:
  19424. description: 处理状态
  19425. type: integer
  19426. innergoodsid:
  19427. description: 内部商品ID
  19428. type: integer
  19429. inratio:
  19430. description: 配置转入比值
  19431. type: integer
  19432. invalue:
  19433. description: 目标值
  19434. type: number
  19435. logid:
  19436. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  19437. type: integer
  19438. mobile:
  19439. description: 手机号码(加密存储)
  19440. type: string
  19441. outergoodscode:
  19442. description: 外部商品代码[JD\PD]
  19443. type: string
  19444. outratio:
  19445. description: 配置转出比值
  19446. type: integer
  19447. outvalue:
  19448. description: 源值
  19449. type: number
  19450. pddecimalplace:
  19451. description: PD小数位
  19452. type: integer
  19453. qty:
  19454. description: 数量
  19455. type: string
  19456. remark:
  19457. description: 备注
  19458. type: string
  19459. sessionid:
  19460. description: 会话ID
  19461. type: integer
  19462. timemaxvalue:
  19463. description: 配置单次最大转入限制
  19464. type: number
  19465. timemaxvalue2:
  19466. description: 配置单次最大转入限制(转入)
  19467. type: number
  19468. timeminvalue:
  19469. description: 配置单次最小数量限制
  19470. type: number
  19471. timeminvalue2:
  19472. description: 配置单次最小数量限制(转入)
  19473. type: number
  19474. tradedate:
  19475. description: 交易日(yyyyMMdd)
  19476. type: string
  19477. userid:
  19478. description: 用户ID
  19479. type: integer
  19480. required:
  19481. - logid
  19482. type: object
  19483. szdz.QueryGoodsPickupRsp:
  19484. properties:
  19485. accountid:
  19486. description: 账户ID
  19487. type: integer
  19488. address:
  19489. description: 提货人详细地址
  19490. type: string
  19491. auditer:
  19492. description: 审核人
  19493. type: integer
  19494. audittime:
  19495. description: 审核时间
  19496. type: string
  19497. cardnum:
  19498. description: 提货人证件号码
  19499. type: string
  19500. cardtypeid:
  19501. description: 提货人证件类型
  19502. type: integer
  19503. checkremark:
  19504. description: 审核备注
  19505. type: string
  19506. goodscode:
  19507. description: 商品代码
  19508. type: string
  19509. goodsid:
  19510. description: 商品ID
  19511. type: integer
  19512. goodsname:
  19513. description: 商品名称
  19514. type: string
  19515. handlestatus:
  19516. description: 处理状态
  19517. type: integer
  19518. marketid:
  19519. description: 市场ID
  19520. type: integer
  19521. phonenum:
  19522. description: 提货人联系方式
  19523. type: string
  19524. qty:
  19525. description: 提货数量
  19526. type: number
  19527. recivername:
  19528. description: 提货人姓名
  19529. type: string
  19530. reqtime:
  19531. description: 更新时间
  19532. type: string
  19533. takemode:
  19534. description: 提货方式 - 2:自提 3:配送
  19535. type: integer
  19536. takeorderid:
  19537. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  19538. type: string
  19539. takeorderstatus:
  19540. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  19541. type: integer
  19542. takeremark:
  19543. description: 提货备注
  19544. type: string
  19545. tradedate:
  19546. description: 交易日(yyyyMMdd)
  19547. type: string
  19548. userid:
  19549. description: 用户ID
  19550. type: integer
  19551. required:
  19552. - takeorderid
  19553. type: object
  19554. szdz.QueryRecieptOrderRsp:
  19555. properties:
  19556. accountName:
  19557. description: 所属账号名称(已脱敏)
  19558. type: string
  19559. accountid:
  19560. description: 资金账号
  19561. type: integer
  19562. buyorsell:
  19563. description: 方向 - 0:买 1:卖
  19564. type: integer
  19565. enableqty:
  19566. description: 可摘数量
  19567. type: integer
  19568. goodscode:
  19569. description: 商品代码
  19570. type: string
  19571. goodsid:
  19572. description: 商品ID
  19573. type: integer
  19574. goodsname:
  19575. description: 商品名称
  19576. type: string
  19577. orderid:
  19578. description: 委托单号
  19579. type: string
  19580. orderprice:
  19581. description: 委托价格
  19582. type: number
  19583. ordertime:
  19584. description: 委托时间
  19585. type: string
  19586. tradedate:
  19587. description: 交易日(yyyyMMdd)
  19588. type: string
  19589. required:
  19590. - ordertime
  19591. type: object
  19592. szdz.QuerySZDZTradePositionRsp:
  19593. properties:
  19594. accountid:
  19595. description: 账号Id
  19596. type: integer
  19597. agreeunit:
  19598. description: 合约单位
  19599. type: number
  19600. averageprice:
  19601. description: 持仓均价
  19602. type: number
  19603. buyorsell:
  19604. description: 方向 - 0:买 1:卖
  19605. type: integer
  19606. closetotalqty:
  19607. description: 平仓总数量
  19608. type: integer
  19609. curholderamount:
  19610. description: 当前持仓总金额
  19611. type: number
  19612. curpositionqty:
  19613. description: 当前持仓总数量
  19614. type: integer
  19615. currencyid:
  19616. description: 报价货币ID
  19617. type: integer
  19618. curtdposition:
  19619. description: 期末今日头寸
  19620. type: integer
  19621. decimalplace:
  19622. description: 报价小数位
  19623. type: integer
  19624. enableqty:
  19625. description: 可用量
  19626. type: integer
  19627. fretdposition:
  19628. description: 冻结今日头寸
  19629. type: integer
  19630. frozenqty:
  19631. description: 持仓冻结数量
  19632. type: integer
  19633. goodscode:
  19634. description: 商品代码(内部)
  19635. type: string
  19636. goodsid:
  19637. description: 商品Id
  19638. type: integer
  19639. goodsname:
  19640. description: 商品名称
  19641. type: string
  19642. goodunit:
  19643. description: 报价单位
  19644. type: string
  19645. goodunitid:
  19646. description: 报价单位ID
  19647. type: integer
  19648. holderamount:
  19649. description: 期初持仓总金额
  19650. type: number
  19651. marketid:
  19652. description: 市场ID
  19653. type: integer
  19654. openreqqty:
  19655. description: 开仓申请数量
  19656. type: integer
  19657. opentotalqty:
  19658. description: 开仓总数量
  19659. type: integer
  19660. otherfrozenqty:
  19661. description: 持仓其他冻结数量(交割冻结)
  19662. type: integer
  19663. positionqty:
  19664. description: 期初持仓数量
  19665. type: integer
  19666. szdz3freezqty:
  19667. description: 尚志大宗转换冻结总数量
  19668. type: integer
  19669. tnqty:
  19670. description: T+N冻结总量
  19671. type: integer
  19672. tnusedqty:
  19673. description: T+N使用量
  19674. type: integer
  19675. trademode:
  19676. description: 交易模式
  19677. type: integer
  19678. usedmargin:
  19679. description: 占用保证金
  19680. type: number
  19681. type: object
  19682. taaccount.QueryAmountLogRsp:
  19683. properties:
  19684. OPERATETYPENAME:
  19685. description: 资金操作类型名称
  19686. type: string
  19687. accountid:
  19688. description: 资金账户ID
  19689. type: integer
  19690. agoodscode:
  19691. description: 竞拍商品代码
  19692. type: string
  19693. agoodsname:
  19694. description: 竞拍商品名称
  19695. type: string
  19696. amount:
  19697. description: 资金金额
  19698. type: number
  19699. amountadjusttype:
  19700. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  19701. type: integer
  19702. autoid:
  19703. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  19704. type: integer
  19705. balance:
  19706. description: 期初余额
  19707. type: number
  19708. businesscode:
  19709. description: 业务编号
  19710. type: integer
  19711. createtime:
  19712. description: 发生时间
  19713. type: string
  19714. currencyid:
  19715. description: 币种ID
  19716. type: integer
  19717. currentbalance:
  19718. description: 期末余额(变动后金额)
  19719. type: number
  19720. dgoodscode:
  19721. description: 交割商品代码
  19722. type: string
  19723. dgoodsname:
  19724. description: 交割商品名称
  19725. type: string
  19726. goodscode:
  19727. description: 商品代码
  19728. type: string
  19729. goodsid:
  19730. description: 商品ID
  19731. type: integer
  19732. goodsname:
  19733. description: 商品名称
  19734. type: string
  19735. marketid:
  19736. description: 市场ID
  19737. type: integer
  19738. marketname:
  19739. description: 市场名称
  19740. type: string
  19741. moneyticket:
  19742. description: 资金流水号:银行端流水号
  19743. type: integer
  19744. operatetype:
  19745. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  19746. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  19747. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  19748. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  19749. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  19750. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  19751. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  19752. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  19753. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  19754. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  19755. type: integer
  19756. relationorderid:
  19757. description: 关联单号
  19758. type: string
  19759. remark:
  19760. description: 备注
  19761. type: string
  19762. trademode:
  19763. description: 交易模式
  19764. type: integer
  19765. required:
  19766. - accountid
  19767. - amount
  19768. - amountadjusttype
  19769. - autoid
  19770. - balance
  19771. - createtime
  19772. - currentbalance
  19773. - operatetype
  19774. type: object
  19775. taaccount.QueryHisAmountLogRsp:
  19776. properties:
  19777. OPERATETYPENAME:
  19778. description: 资金操作类型名称
  19779. type: string
  19780. accountid:
  19781. description: 资金账户ID
  19782. type: integer
  19783. agoodscode:
  19784. description: 竞拍商品代码
  19785. type: string
  19786. agoodsname:
  19787. description: 竞拍商品名称
  19788. type: string
  19789. amount:
  19790. description: 资金金额
  19791. type: number
  19792. amountadjusttype:
  19793. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  19794. type: integer
  19795. autoid:
  19796. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  19797. type: integer
  19798. balance:
  19799. description: 期初余额
  19800. type: number
  19801. businesscode:
  19802. description: 业务编号
  19803. type: integer
  19804. createtime:
  19805. description: 发生时间
  19806. type: string
  19807. currencyid:
  19808. description: 币种ID
  19809. type: integer
  19810. currentbalance:
  19811. description: 期末余额(变动后金额)
  19812. type: number
  19813. dgoodscode:
  19814. description: 交割商品代码
  19815. type: string
  19816. dgoodsname:
  19817. description: 交割商品名称
  19818. type: string
  19819. goodscode:
  19820. description: 商品代码
  19821. type: string
  19822. goodsid:
  19823. description: 商品ID
  19824. type: integer
  19825. goodsname:
  19826. description: 商品名称
  19827. type: string
  19828. histradedate:
  19829. description: 历史交易日
  19830. type: string
  19831. isvaliddata:
  19832. description: 是否有效 - 0:无效 1:有效
  19833. type: integer
  19834. marketid:
  19835. description: 市场ID
  19836. type: integer
  19837. marketname:
  19838. description: 市场名称
  19839. type: string
  19840. moneyticket:
  19841. description: 资金流水号:银行端流水号
  19842. type: integer
  19843. operatetype:
  19844. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  19845. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  19846. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  19847. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  19848. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  19849. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  19850. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  19851. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  19852. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  19853. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  19854. type: integer
  19855. relationorderid:
  19856. description: 关联单号
  19857. type: string
  19858. remark:
  19859. description: 备注
  19860. type: string
  19861. trademode:
  19862. description: 交易模式
  19863. type: integer
  19864. required:
  19865. - accountid
  19866. - amount
  19867. - amountadjusttype
  19868. - autoid
  19869. - balance
  19870. - createtime
  19871. - currentbalance
  19872. - histradedate
  19873. - operatetype
  19874. type: object
  19875. trade.QueryRecieptOrderRsp:
  19876. properties:
  19877. accountName:
  19878. description: 所属账号名称(已脱敏)
  19879. type: string
  19880. accountid:
  19881. description: 资金账号
  19882. type: integer
  19883. buyorsell:
  19884. description: 方向 - 0:买 1:卖
  19885. type: integer
  19886. enableqty:
  19887. description: 可摘数量
  19888. type: integer
  19889. goodscode:
  19890. description: 商品代码
  19891. type: string
  19892. goodsid:
  19893. description: 商品ID
  19894. type: integer
  19895. goodsname:
  19896. description: 商品名称
  19897. type: string
  19898. orderid:
  19899. description: 委托单号
  19900. type: string
  19901. orderprice:
  19902. description: 委托价格
  19903. type: number
  19904. ordertime:
  19905. description: 委托时间
  19906. type: string
  19907. tradedate:
  19908. description: 交易日(yyyyMMdd)
  19909. type: string
  19910. required:
  19911. - ordertime
  19912. type: object
  19913. user.LoginQueryRsp:
  19914. properties:
  19915. areaRoles:
  19916. description: 所属角色信息
  19917. items:
  19918. $ref: '#/definitions/models.Arearole'
  19919. type: array
  19920. externalExchanges:
  19921. description: 外部交易所
  19922. items:
  19923. $ref: '#/definitions/models.Externalexchange'
  19924. type: array
  19925. goodsgroups:
  19926. description: 商品组
  19927. items:
  19928. $ref: '#/definitions/models.Goodsgroup'
  19929. type: array
  19930. loginAccount:
  19931. $ref: '#/definitions/models.Loginaccount'
  19932. description: 登录账号
  19933. markets:
  19934. description: 市场
  19935. items:
  19936. $ref: '#/definitions/models.Market'
  19937. type: array
  19938. systemParams:
  19939. description: 系统参数
  19940. items:
  19941. $ref: '#/definitions/models.Systemparam'
  19942. type: array
  19943. userAccount:
  19944. $ref: '#/definitions/models.Useraccount'
  19945. description: 用户账号
  19946. userInfo:
  19947. $ref: '#/definitions/models.Userinfo'
  19948. description: 用户信息
  19949. username:
  19950. description: 用户姓名
  19951. type: string
  19952. type: object
  19953. info:
  19954. contact: {}
  19955. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  19956. termsOfService: http://www.muchinfo.cn
  19957. title: MTP2.0 查询服务 API
  19958. version: "1.0"
  19959. paths:
  19960. /CPTrade/QueryCPTradeMyBidInfos:
  19961. get:
  19962. parameters:
  19963. - description: 资金账户
  19964. in: query
  19965. name: accountid
  19966. required: true
  19967. type: integer
  19968. - description: 预售市场ID
  19969. in: query
  19970. name: marketid
  19971. type: integer
  19972. - description: 预售商品ID
  19973. in: query
  19974. name: goodsid
  19975. type: integer
  19976. produces:
  19977. - application/json
  19978. responses:
  19979. "200":
  19980. description: OK
  19981. schema:
  19982. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  19983. "500":
  19984. description: Internal Server Error
  19985. schema:
  19986. $ref: '#/definitions/app.Response'
  19987. security:
  19988. - ApiKeyAuth: []
  19989. summary: 查询产能预售我的出价信息
  19990. tags:
  19991. - 产能预售
  19992. /CPTrade/QueryCPTradeOrderDetail:
  19993. get:
  19994. parameters:
  19995. - description: 预售商品ID
  19996. in: query
  19997. name: goodsid
  19998. type: integer
  19999. - description: 预售市场ID
  20000. in: query
  20001. name: marketid
  20002. type: integer
  20003. - description: 预售商品ID列表 - 格式:1,2,3
  20004. in: query
  20005. name: goodsids
  20006. type: string
  20007. produces:
  20008. - application/json
  20009. responses:
  20010. "200":
  20011. description: OK
  20012. schema:
  20013. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  20014. "500":
  20015. description: Internal Server Error
  20016. schema:
  20017. $ref: '#/definitions/app.Response'
  20018. security:
  20019. - ApiKeyAuth: []
  20020. summary: 查询产能预售委托单信息
  20021. tags:
  20022. - 产能预售
  20023. /CPTrade/QueryMyCPTradeGoods:
  20024. get:
  20025. parameters:
  20026. - description: 资金账户
  20027. in: query
  20028. name: accountid
  20029. required: true
  20030. type: integer
  20031. produces:
  20032. - application/json
  20033. responses:
  20034. "200":
  20035. description: OK
  20036. schema:
  20037. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  20038. "500":
  20039. description: Internal Server Error
  20040. schema:
  20041. $ref: '#/definitions/app.Response'
  20042. security:
  20043. - ApiKeyAuth: []
  20044. summary: 查询我的预售信息
  20045. tags:
  20046. - 产能预售
  20047. /CPTrade/QueryPositionCancel:
  20048. get:
  20049. parameters:
  20050. - description: 账户ID
  20051. in: query
  20052. name: userid
  20053. required: true
  20054. type: integer
  20055. - description: 注销ID
  20056. in: query
  20057. name: cancelid
  20058. type: integer
  20059. - description: 资金账户ID
  20060. in: query
  20061. name: accountid
  20062. type: integer
  20063. produces:
  20064. - application/json
  20065. responses:
  20066. "200":
  20067. description: OK
  20068. schema:
  20069. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  20070. "500":
  20071. description: Internal Server Error
  20072. schema:
  20073. $ref: '#/definitions/app.Response'
  20074. security:
  20075. - ApiKeyAuth: []
  20076. summary: 查询远期订单注销申请信息
  20077. tags:
  20078. - 产能预售
  20079. /CPTrade/QueryPreasleApply:
  20080. get:
  20081. parameters:
  20082. - description: 账户ID
  20083. in: query
  20084. name: userid
  20085. required: true
  20086. type: integer
  20087. - description: 申请ID
  20088. in: query
  20089. name: applyid
  20090. type: integer
  20091. - description: 资金账户ID
  20092. in: query
  20093. name: accountid
  20094. type: integer
  20095. produces:
  20096. - application/json
  20097. responses:
  20098. "200":
  20099. description: OK
  20100. schema:
  20101. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  20102. "500":
  20103. description: Internal Server Error
  20104. schema:
  20105. $ref: '#/definitions/app.Response'
  20106. security:
  20107. - ApiKeyAuth: []
  20108. summary: 查询产能预售申请信息
  20109. tags:
  20110. - 产能预售
  20111. /CPTrade/QueryPresaleGoodsEx:
  20112. get:
  20113. parameters:
  20114. - description: 预售商品ID
  20115. in: query
  20116. name: goodsid
  20117. type: integer
  20118. - description: 预售市场ID
  20119. in: query
  20120. name: marketid
  20121. type: integer
  20122. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  20123. in: query
  20124. name: presalemode
  20125. type: integer
  20126. - description: 预售商品ID列表 - 格式:1,2,3
  20127. in: query
  20128. name: goodsids
  20129. type: string
  20130. - description: 预售商品代码
  20131. in: query
  20132. name: goodscode
  20133. type: string
  20134. produces:
  20135. - application/json
  20136. responses:
  20137. "200":
  20138. description: OK
  20139. schema:
  20140. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  20141. "500":
  20142. description: Internal Server Error
  20143. schema:
  20144. $ref: '#/definitions/app.Response'
  20145. security:
  20146. - ApiKeyAuth: []
  20147. summary: 查询产能预售商品扩展信息
  20148. tags:
  20149. - 产能预售
  20150. /CPTrade/QueryUserGoodsData:
  20151. get:
  20152. parameters:
  20153. - description: 资金账户ID
  20154. in: query
  20155. name: accountid
  20156. required: true
  20157. type: integer
  20158. produces:
  20159. - application/json
  20160. responses:
  20161. "200":
  20162. description: OK
  20163. schema:
  20164. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  20165. "500":
  20166. description: Internal Server Error
  20167. schema:
  20168. $ref: '#/definitions/app.Response'
  20169. security:
  20170. - ApiKeyAuth: []
  20171. summary: 查询远期订单信息
  20172. tags:
  20173. - 产能预售
  20174. /Common/GetAllEnums:
  20175. get:
  20176. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  20177. parameters:
  20178. - description: 起始自增ID
  20179. in: query
  20180. name: autoid
  20181. type: integer
  20182. produces:
  20183. - application/json
  20184. responses:
  20185. "200":
  20186. description: OK
  20187. schema:
  20188. $ref: '#/definitions/models.Enumdicitem'
  20189. "500":
  20190. description: Internal Server Error
  20191. schema:
  20192. $ref: '#/definitions/app.Response'
  20193. summary: 获取所有枚举信息
  20194. tags:
  20195. - 通用服务
  20196. /Common/GetClientMenus:
  20197. get:
  20198. parameters:
  20199. - description: 登录账号
  20200. in: query
  20201. name: loginID
  20202. required: true
  20203. type: integer
  20204. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  20205. in: query
  20206. name: clientType
  20207. type: integer
  20208. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  20209. in: query
  20210. name: name
  20211. type: string
  20212. produces:
  20213. - application/json
  20214. responses:
  20215. "200":
  20216. description: OK
  20217. schema:
  20218. items:
  20219. $ref: '#/definitions/common.ClientMenu'
  20220. type: array
  20221. "500":
  20222. description: Internal Server Error
  20223. schema:
  20224. $ref: '#/definitions/app.Response'
  20225. security:
  20226. - ApiKeyAuth: []
  20227. summary: 获取交易端菜单
  20228. tags:
  20229. - 通用服务
  20230. /Common/GetDivisions:
  20231. get:
  20232. produces:
  20233. - application/json
  20234. responses:
  20235. "200":
  20236. description: OK
  20237. schema:
  20238. $ref: '#/definitions/models.Division'
  20239. "500":
  20240. description: Internal Server Error
  20241. schema:
  20242. $ref: '#/definitions/app.Response'
  20243. summary: 查询区域信息
  20244. tags:
  20245. - 通用服务
  20246. /Common/GetPCWebMenus:
  20247. get:
  20248. parameters:
  20249. - description: 登录账号
  20250. in: query
  20251. name: loginID
  20252. required: true
  20253. type: integer
  20254. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  20255. in: query
  20256. name: name
  20257. type: string
  20258. produces:
  20259. - application/json
  20260. responses:
  20261. "200":
  20262. description: OK
  20263. schema:
  20264. items:
  20265. $ref: '#/definitions/common.PCWebMenu'
  20266. type: array
  20267. "500":
  20268. description: Internal Server Error
  20269. schema:
  20270. $ref: '#/definitions/app.Response'
  20271. security:
  20272. - ApiKeyAuth: []
  20273. summary: 获取PCWeb交易端菜单
  20274. tags:
  20275. - 通用服务
  20276. /Common/GetServerTime:
  20277. get:
  20278. produces:
  20279. - application/json
  20280. responses:
  20281. "200":
  20282. description: OK
  20283. schema:
  20284. $ref: '#/definitions/app.Response'
  20285. "500":
  20286. description: Internal Server Error
  20287. schema:
  20288. $ref: '#/definitions/app.Response'
  20289. summary: 获取服务器时间
  20290. tags:
  20291. - 通用服务
  20292. /Common/NoticeReaded:
  20293. post:
  20294. parameters:
  20295. - description: 登录账号
  20296. in: query
  20297. name: loginID
  20298. required: true
  20299. type: integer
  20300. - description: 通知公告ID
  20301. in: query
  20302. name: noticeID
  20303. required: true
  20304. type: integer
  20305. produces:
  20306. - application/json
  20307. responses:
  20308. "200":
  20309. description: OK
  20310. schema:
  20311. $ref: '#/definitions/app.Response'
  20312. "500":
  20313. description: Internal Server Error
  20314. schema:
  20315. $ref: '#/definitions/app.Response'
  20316. security:
  20317. - ApiKeyAuth: []
  20318. summary: 通知公告设置已读请求
  20319. tags:
  20320. - 通用服务
  20321. /Common/QueryErrorInfos:
  20322. get:
  20323. description: 如果传入rowNumber,则返回此rowNumber后的数据
  20324. parameters:
  20325. - description: 起始行号前索引
  20326. in: query
  20327. name: rowNumber
  20328. type: string
  20329. produces:
  20330. - application/json
  20331. responses:
  20332. "200":
  20333. description: OK
  20334. schema:
  20335. $ref: '#/definitions/models.QueryErrorInfosRsp'
  20336. "500":
  20337. description: Internal Server Error
  20338. schema:
  20339. $ref: '#/definitions/app.Response'
  20340. summary: 获取数据库错误信息
  20341. tags:
  20342. - 通用服务
  20343. /Common/QueryImageConfigs:
  20344. get:
  20345. parameters:
  20346. - description: 用户id
  20347. in: query
  20348. name: userId
  20349. type: integer
  20350. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  20351. in: query
  20352. name: imageType
  20353. type: integer
  20354. produces:
  20355. - application/json
  20356. responses:
  20357. "200":
  20358. description: OK
  20359. schema:
  20360. $ref: '#/definitions/common.QueryImageConfigsRsp'
  20361. "500":
  20362. description: Internal Server Error
  20363. schema:
  20364. $ref: '#/definitions/app.Response'
  20365. summary: 查询轮播图配置信息
  20366. tags:
  20367. - 通用服务
  20368. /Common/QueryNotice:
  20369. get:
  20370. parameters:
  20371. - description: 页码
  20372. in: query
  20373. name: page
  20374. type: integer
  20375. - description: 每页条数
  20376. in: query
  20377. name: pagesize
  20378. type: integer
  20379. - description: 登录账号
  20380. in: query
  20381. name: loginID
  20382. required: true
  20383. type: integer
  20384. - description: 消息类型 - 1:公告通知 2:系统消息
  20385. in: query
  20386. name: msgType
  20387. type: integer
  20388. - description: 是否只获取未读信息
  20389. in: query
  20390. name: onlyUnRead
  20391. type: boolean
  20392. - description: 自增ID,传入后会返回这个ID后面的记录
  20393. in: query
  20394. name: lastID
  20395. type: integer
  20396. produces:
  20397. - application/json
  20398. responses:
  20399. "200":
  20400. description: OK
  20401. schema:
  20402. $ref: '#/definitions/common.QueryNoticeRsp'
  20403. "500":
  20404. description: Internal Server Error
  20405. schema:
  20406. $ref: '#/definitions/app.Response'
  20407. security:
  20408. - ApiKeyAuth: []
  20409. summary: 通知公告系统消息查询
  20410. tags:
  20411. - 通用服务
  20412. /Common/QueryProvincesAndCities:
  20413. get:
  20414. parameters:
  20415. - description: 省ID
  20416. in: query
  20417. name: provinceID
  20418. type: integer
  20419. produces:
  20420. - application/json
  20421. responses:
  20422. "200":
  20423. description: OK
  20424. schema:
  20425. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  20426. "500":
  20427. description: Internal Server Error
  20428. schema:
  20429. $ref: '#/definitions/app.Response'
  20430. summary: 查询省市信息(不包括区)
  20431. tags:
  20432. - 通用服务
  20433. /Common/QueryTableDefine:
  20434. get:
  20435. parameters:
  20436. - description: 表key
  20437. in: query
  20438. name: tableKey
  20439. type: string
  20440. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  20441. in: query
  20442. name: tableType
  20443. type: integer
  20444. produces:
  20445. - application/json
  20446. responses:
  20447. "200":
  20448. description: OK
  20449. schema:
  20450. $ref: '#/definitions/common.QueryTableDefineRsp'
  20451. "500":
  20452. description: Internal Server Error
  20453. schema:
  20454. $ref: '#/definitions/app.Response'
  20455. summary: 查询交易端列表头信息
  20456. tags:
  20457. - 通用服务
  20458. /Common/QueryTraderMenu:
  20459. get:
  20460. parameters:
  20461. - description: 登录账号
  20462. in: query
  20463. name: loginid
  20464. required: true
  20465. type: integer
  20466. produces:
  20467. - application/json
  20468. responses:
  20469. "200":
  20470. description: OK
  20471. schema:
  20472. $ref: '#/definitions/common.QueryTraderMenuRsp'
  20473. "500":
  20474. description: Internal Server Error
  20475. schema:
  20476. $ref: '#/definitions/app.Response'
  20477. summary: 查询交易端菜单
  20478. tags:
  20479. - 通用服务
  20480. /Delivery/QueryDeliveryRelation:
  20481. get:
  20482. parameters:
  20483. - description: 商品ID
  20484. in: query
  20485. name: goodsid
  20486. type: integer
  20487. - description: 品种ID
  20488. in: query
  20489. name: deliverygoodsid
  20490. type: integer
  20491. - description: 市场ID
  20492. in: query
  20493. name: marketid
  20494. type: integer
  20495. produces:
  20496. - application/json
  20497. responses:
  20498. "200":
  20499. description: OK
  20500. schema:
  20501. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  20502. "500":
  20503. description: Internal Server Error
  20504. schema:
  20505. $ref: '#/definitions/app.Response'
  20506. security:
  20507. - ApiKeyAuth: []
  20508. summary: 查询商品交割关系表
  20509. tags:
  20510. - 交割服务
  20511. /Ermcp/GetErmcpGoods:
  20512. get:
  20513. parameters:
  20514. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  20515. in: query
  20516. name: userid
  20517. type: integer
  20518. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  20519. in: query
  20520. name: lastUpdateTime
  20521. type: string
  20522. produces:
  20523. - application/json
  20524. responses:
  20525. "200":
  20526. description: OK
  20527. schema:
  20528. $ref: '#/definitions/models.ErmcpGoods'
  20529. "500":
  20530. description: Internal Server Error
  20531. schema:
  20532. $ref: '#/definitions/app.Response'
  20533. security:
  20534. - ApiKeyAuth: []
  20535. summary: 查询企业风管期货商品信息
  20536. tags:
  20537. - 企业风险管理(app)
  20538. /Ermcp/GetErmcpGoodsSortByPosition:
  20539. get:
  20540. parameters:
  20541. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  20542. in: query
  20543. name: sortIndex
  20544. type: string
  20545. produces:
  20546. - application/json
  20547. responses:
  20548. "200":
  20549. description: OK
  20550. schema:
  20551. $ref: '#/definitions/models.Goodssortbypreposition'
  20552. "500":
  20553. description: Internal Server Error
  20554. schema:
  20555. $ref: '#/definitions/app.Response'
  20556. security:
  20557. - ApiKeyAuth: []
  20558. summary: 查询企业风管期货主力、次主力商品信息
  20559. tags:
  20560. - 企业风险管理(app)
  20561. /Ermcp/GetErmcpOutAccountStatus:
  20562. get:
  20563. parameters:
  20564. - description: 登录账号
  20565. in: query
  20566. name: loginID
  20567. required: true
  20568. type: integer
  20569. produces:
  20570. - application/json
  20571. responses:
  20572. "200":
  20573. description: OK
  20574. schema:
  20575. $ref: '#/definitions/models.Hedgemarketopenlog'
  20576. "500":
  20577. description: Internal Server Error
  20578. schema:
  20579. $ref: '#/definitions/app.Response'
  20580. security:
  20581. - ApiKeyAuth: []
  20582. summary: 获取目标登录账号当前对冲账号在线状态
  20583. tags:
  20584. - 企业风险管理(app)
  20585. /Ermcp/GetErmcpRoleFuncMenuLists:
  20586. get:
  20587. parameters:
  20588. - description: 登录账号
  20589. in: query
  20590. name: loginID
  20591. required: true
  20592. type: integer
  20593. produces:
  20594. - application/json
  20595. responses:
  20596. "200":
  20597. description: OK
  20598. schema:
  20599. $ref: '#/definitions/models.Funcmenulist'
  20600. "500":
  20601. description: Internal Server Error
  20602. schema:
  20603. $ref: '#/definitions/app.Response'
  20604. security:
  20605. - ApiKeyAuth: []
  20606. summary: 获取企业风管终端权限
  20607. tags:
  20608. - 企业风险管理(app)
  20609. /Ermcp/QueryAccMgrBizGroupSet:
  20610. get:
  20611. parameters:
  20612. - description: 用户ID
  20613. in: query
  20614. name: userid
  20615. required: true
  20616. type: integer
  20617. - description: 现货商品id
  20618. in: query
  20619. name: deliverygoodsid
  20620. type: integer
  20621. produces:
  20622. - application/json
  20623. responses:
  20624. "200":
  20625. description: OK
  20626. schema:
  20627. items:
  20628. $ref: '#/definitions/models.ErmcpBizGroupEx'
  20629. type: array
  20630. "500":
  20631. description: Internal Server Error
  20632. schema:
  20633. $ref: '#/definitions/app.Response'
  20634. security:
  20635. - ApiKeyAuth: []
  20636. summary: 查询业务类型分组(账户管理/账户设置)
  20637. tags:
  20638. - 企业风险管理(app)
  20639. /Ermcp/QueryAccMgrLoginUser:
  20640. get:
  20641. parameters:
  20642. - description: 用户ID
  20643. in: query
  20644. name: userid
  20645. required: true
  20646. type: integer
  20647. - description: 用户类型 2-机构 7-企业成员
  20648. in: query
  20649. name: usertype
  20650. type: integer
  20651. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  20652. in: query
  20653. name: querytype
  20654. required: true
  20655. type: integer
  20656. produces:
  20657. - application/json
  20658. responses:
  20659. "200":
  20660. description: OK
  20661. schema:
  20662. items:
  20663. $ref: '#/definitions/models.ErmcpLoginUserEx'
  20664. type: array
  20665. "500":
  20666. description: Internal Server Error
  20667. schema:
  20668. $ref: '#/definitions/app.Response'
  20669. security:
  20670. - ApiKeyAuth: []
  20671. summary: 查询账户管理登录账号(账户管理/登录账号)
  20672. tags:
  20673. - 企业风险管理(app)
  20674. /Ermcp/QueryAccMgrMainAccountInfo:
  20675. get:
  20676. parameters:
  20677. - description: 用户ID
  20678. in: query
  20679. name: userid
  20680. type: integer
  20681. - description: 主账号id
  20682. in: query
  20683. name: accountid
  20684. type: integer
  20685. produces:
  20686. - application/json
  20687. responses:
  20688. "200":
  20689. description: OK
  20690. schema:
  20691. items:
  20692. $ref: '#/definitions/models.MainAccountInfo'
  20693. type: array
  20694. "500":
  20695. description: Internal Server Error
  20696. schema:
  20697. $ref: '#/definitions/app.Response'
  20698. security:
  20699. - ApiKeyAuth: []
  20700. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  20701. tags:
  20702. - 企业风险管理(app)
  20703. /Ermcp/QueryAccMgrRole:
  20704. get:
  20705. parameters:
  20706. - description: 用户ID
  20707. in: query
  20708. name: userid
  20709. required: true
  20710. type: integer
  20711. produces:
  20712. - application/json
  20713. responses:
  20714. "200":
  20715. description: OK
  20716. schema:
  20717. items:
  20718. $ref: '#/definitions/models.ErmcpRole'
  20719. type: array
  20720. "500":
  20721. description: Internal Server Error
  20722. schema:
  20723. $ref: '#/definitions/app.Response'
  20724. security:
  20725. - ApiKeyAuth: []
  20726. summary: 查询账户管理角色设置(账户管理/角色设置)
  20727. tags:
  20728. - 企业风险管理(app)
  20729. /Ermcp/QueryAccMgrRoleMenu:
  20730. get:
  20731. parameters:
  20732. - description: 用户ID
  20733. in: query
  20734. name: userid
  20735. required: true
  20736. type: integer
  20737. - description: 角色id(可多个,逗号隔开)
  20738. in: query
  20739. name: roleid
  20740. type: string
  20741. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  20742. in: query
  20743. name: menutype
  20744. type: integer
  20745. produces:
  20746. - application/json
  20747. responses:
  20748. "200":
  20749. description: OK
  20750. schema:
  20751. items:
  20752. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  20753. type: array
  20754. "500":
  20755. description: Internal Server Error
  20756. schema:
  20757. $ref: '#/definitions/app.Response'
  20758. security:
  20759. - ApiKeyAuth: []
  20760. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  20761. tags:
  20762. - 企业风险管理(app)
  20763. /Ermcp/QueryAccMgrTaAccountInfo:
  20764. get:
  20765. parameters:
  20766. - description: 用户ID
  20767. in: query
  20768. name: userid
  20769. required: true
  20770. type: integer
  20771. - description: 账号id
  20772. in: query
  20773. name: accountid
  20774. type: integer
  20775. produces:
  20776. - application/json
  20777. responses:
  20778. "200":
  20779. description: OK
  20780. schema:
  20781. items:
  20782. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  20783. type: array
  20784. "500":
  20785. description: Internal Server Error
  20786. schema:
  20787. $ref: '#/definitions/app.Response'
  20788. security:
  20789. - ApiKeyAuth: []
  20790. summary: 查询账户管理授信(账户管理/账户设置/授信)
  20791. tags:
  20792. - 企业风险管理(app)
  20793. /Ermcp/QueryAccMgrTaaccount:
  20794. get:
  20795. parameters:
  20796. - description: 用户ID
  20797. in: query
  20798. name: userid
  20799. required: true
  20800. type: integer
  20801. produces:
  20802. - application/json
  20803. responses:
  20804. "200":
  20805. description: OK
  20806. schema:
  20807. items:
  20808. $ref: '#/definitions/models.ErmcpTaAccountEx'
  20809. type: array
  20810. "500":
  20811. description: Internal Server Error
  20812. schema:
  20813. $ref: '#/definitions/app.Response'
  20814. security:
  20815. - ApiKeyAuth: []
  20816. summary: 查询账户管理期货账号(账户管理/期货账号)
  20817. tags:
  20818. - 企业风险管理(app)
  20819. /Ermcp/QueryAvaildGoodsGroup:
  20820. get:
  20821. parameters:
  20822. - description: 所属机构ID
  20823. in: query
  20824. name: userid
  20825. required: true
  20826. type: integer
  20827. produces:
  20828. - application/json
  20829. responses:
  20830. "200":
  20831. description: OK
  20832. schema:
  20833. items:
  20834. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  20835. type: array
  20836. "500":
  20837. description: Internal Server Error
  20838. schema:
  20839. $ref: '#/definitions/app.Response'
  20840. security:
  20841. - ApiKeyAuth: []
  20842. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  20843. tags:
  20844. - 企业风险管理(app)
  20845. /Ermcp/QueryBusinessDj:
  20846. get:
  20847. parameters:
  20848. - description: 用户ID
  20849. in: query
  20850. name: UserId
  20851. required: true
  20852. type: integer
  20853. - description: 用户类型 2-机构 7-企业成员
  20854. in: query
  20855. name: usertype
  20856. type: integer
  20857. - description: 现货合同ID, 不填则查所有
  20858. in: query
  20859. name: relatedid
  20860. type: string
  20861. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20862. in: query
  20863. name: applystatus
  20864. type: string
  20865. produces:
  20866. - application/json
  20867. responses:
  20868. "200":
  20869. description: OK
  20870. schema:
  20871. items:
  20872. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  20873. type: array
  20874. "500":
  20875. description: Internal Server Error
  20876. schema:
  20877. $ref: '#/definitions/app.Response'
  20878. security:
  20879. - ApiKeyAuth: []
  20880. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  20881. tags:
  20882. - 企业风险管理(app)
  20883. /Ermcp/QueryBusinessFp:
  20884. get:
  20885. parameters:
  20886. - description: 用户ID
  20887. in: query
  20888. name: UserId
  20889. required: true
  20890. type: integer
  20891. - description: 用户类型 2-机构 7-企业成员
  20892. in: query
  20893. name: usertype
  20894. type: integer
  20895. - description: 现货合同ID, 不填则查所有
  20896. in: query
  20897. name: relatedid
  20898. type: string
  20899. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20900. in: query
  20901. name: applystatus
  20902. type: string
  20903. produces:
  20904. - application/json
  20905. responses:
  20906. "200":
  20907. description: OK
  20908. schema:
  20909. items:
  20910. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  20911. type: array
  20912. "500":
  20913. description: Internal Server Error
  20914. schema:
  20915. $ref: '#/definitions/app.Response'
  20916. security:
  20917. - ApiKeyAuth: []
  20918. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  20919. tags:
  20920. - 企业风险管理(app)
  20921. /Ermcp/QueryBusinessJs:
  20922. get:
  20923. parameters:
  20924. - description: 用户ID
  20925. in: query
  20926. name: UserId
  20927. required: true
  20928. type: integer
  20929. - description: 用户类型 2-机构 7-企业成员
  20930. in: query
  20931. name: usertype
  20932. type: integer
  20933. - description: 现货合同ID, 不填则查所有
  20934. in: query
  20935. name: relatedid
  20936. type: string
  20937. - description: 操作申请id
  20938. in: query
  20939. name: operateapplyid
  20940. type: string
  20941. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20942. in: query
  20943. name: applystatus
  20944. type: string
  20945. produces:
  20946. - application/json
  20947. responses:
  20948. "200":
  20949. description: OK
  20950. schema:
  20951. items:
  20952. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  20953. type: array
  20954. "500":
  20955. description: Internal Server Error
  20956. schema:
  20957. $ref: '#/definitions/app.Response'
  20958. security:
  20959. - ApiKeyAuth: []
  20960. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  20961. tags:
  20962. - 企业风险管理(app)
  20963. /Ermcp/QueryBusinessJsEx:
  20964. get:
  20965. parameters:
  20966. - description: 用户ID
  20967. in: query
  20968. name: UserId
  20969. required: true
  20970. type: integer
  20971. - description: 用户类型 2-机构 7-企业成员
  20972. in: query
  20973. name: usertype
  20974. type: integer
  20975. - description: 现货合同ID, 不填则查所有
  20976. in: query
  20977. name: relatedid
  20978. type: string
  20979. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20980. in: query
  20981. name: applystatus
  20982. type: string
  20983. produces:
  20984. - application/json
  20985. responses:
  20986. "200":
  20987. description: OK
  20988. schema:
  20989. items:
  20990. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  20991. type: array
  20992. "500":
  20993. description: Internal Server Error
  20994. schema:
  20995. $ref: '#/definitions/app.Response'
  20996. security:
  20997. - ApiKeyAuth: []
  20998. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  20999. tags:
  21000. - 企业风险管理(app)
  21001. /Ermcp/QueryBusinessKx:
  21002. get:
  21003. parameters:
  21004. - description: 用户ID
  21005. in: query
  21006. name: UserId
  21007. required: true
  21008. type: integer
  21009. - description: 用户类型 2-机构 7-企业成员
  21010. in: query
  21011. name: usertype
  21012. type: integer
  21013. - description: 现货合同ID, 不填则查所有
  21014. in: query
  21015. name: relatedid
  21016. type: string
  21017. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21018. in: query
  21019. name: applystatus
  21020. type: string
  21021. produces:
  21022. - application/json
  21023. responses:
  21024. "200":
  21025. description: OK
  21026. schema:
  21027. items:
  21028. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  21029. type: array
  21030. "500":
  21031. description: Internal Server Error
  21032. schema:
  21033. $ref: '#/definitions/app.Response'
  21034. security:
  21035. - ApiKeyAuth: []
  21036. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  21037. tags:
  21038. - 企业风险管理(app)
  21039. /Ermcp/QueryChangeLog:
  21040. get:
  21041. parameters:
  21042. - description: 合同ID
  21043. in: query
  21044. name: RelatedId
  21045. required: true
  21046. type: string
  21047. produces:
  21048. - application/json
  21049. responses:
  21050. "200":
  21051. description: OK
  21052. schema:
  21053. items:
  21054. $ref: '#/definitions/ermcp.QryOPLogRsp'
  21055. type: array
  21056. "500":
  21057. description: Internal Server Error
  21058. schema:
  21059. $ref: '#/definitions/app.Response'
  21060. security:
  21061. - ApiKeyAuth: []
  21062. summary: 查询变更记录
  21063. tags:
  21064. - 企业风险管理(app)
  21065. /Ermcp/QueryErmcpHisOrderDetails:
  21066. get:
  21067. parameters:
  21068. - description: 资金账户ID
  21069. in: query
  21070. name: accountID
  21071. required: true
  21072. type: integer
  21073. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  21074. in: query
  21075. name: startDate
  21076. type: string
  21077. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  21078. in: query
  21079. name: endDate
  21080. type: string
  21081. produces:
  21082. - application/json
  21083. responses:
  21084. "200":
  21085. description: OK
  21086. schema:
  21087. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  21088. "500":
  21089. description: Internal Server Error
  21090. schema:
  21091. $ref: '#/definitions/app.Response'
  21092. security:
  21093. - ApiKeyAuth: []
  21094. summary: 获取企业风管期货历史委托单信息
  21095. tags:
  21096. - 企业风险管理(app)
  21097. /Ermcp/QueryErmcpHisTradeDetails:
  21098. get:
  21099. parameters:
  21100. - description: 资金账户ID
  21101. in: query
  21102. name: accountID
  21103. required: true
  21104. type: integer
  21105. - description: 商品ID
  21106. in: query
  21107. name: goodsID
  21108. type: integer
  21109. - description: 买卖方向,0:买 1:卖
  21110. in: query
  21111. name: buyOrSell
  21112. type: integer
  21113. - description: 关联委托单号
  21114. in: query
  21115. name: orderID
  21116. type: integer
  21117. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  21118. in: query
  21119. name: startDate
  21120. type: string
  21121. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  21122. in: query
  21123. name: endDate
  21124. type: string
  21125. produces:
  21126. - application/json
  21127. responses:
  21128. "200":
  21129. description: OK
  21130. schema:
  21131. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  21132. "500":
  21133. description: Internal Server Error
  21134. schema:
  21135. $ref: '#/definitions/app.Response'
  21136. security:
  21137. - ApiKeyAuth: []
  21138. summary: 获取企业风管期货历史成交单信息
  21139. tags:
  21140. - 企业风险管理(app)
  21141. /Ermcp/QueryErmcpInnerHolderDetails:
  21142. get:
  21143. parameters:
  21144. - description: 资金账户ID
  21145. in: query
  21146. name: accountID
  21147. required: true
  21148. type: integer
  21149. - description: 商品ID
  21150. in: query
  21151. name: goodsID
  21152. type: integer
  21153. - description: 买卖方向,0:买 1:卖
  21154. in: query
  21155. name: buyOrSell
  21156. type: integer
  21157. produces:
  21158. - application/json
  21159. responses:
  21160. "200":
  21161. description: OK
  21162. schema:
  21163. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  21164. "500":
  21165. description: Internal Server Error
  21166. schema:
  21167. $ref: '#/definitions/app.Response'
  21168. security:
  21169. - ApiKeyAuth: []
  21170. summary: 获取企业风管期货内部持仓单信息
  21171. tags:
  21172. - 企业风险管理(app)
  21173. /Ermcp/QueryErmcpOrderDetails:
  21174. get:
  21175. parameters:
  21176. - description: 资金账户ID
  21177. in: query
  21178. name: accountID
  21179. required: true
  21180. type: integer
  21181. produces:
  21182. - application/json
  21183. responses:
  21184. "200":
  21185. description: OK
  21186. schema:
  21187. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  21188. "500":
  21189. description: Internal Server Error
  21190. schema:
  21191. $ref: '#/definitions/app.Response'
  21192. security:
  21193. - ApiKeyAuth: []
  21194. summary: 获取企业风管期货委托单信息
  21195. tags:
  21196. - 企业风险管理(app)
  21197. /Ermcp/QueryErmcpTradeDetails:
  21198. get:
  21199. parameters:
  21200. - description: 资金账户ID
  21201. in: query
  21202. name: accountID
  21203. required: true
  21204. type: integer
  21205. - description: 商品ID
  21206. in: query
  21207. name: goodsID
  21208. type: integer
  21209. - description: 买卖方向,0:买 1:卖
  21210. in: query
  21211. name: buyOrSell
  21212. type: integer
  21213. - description: 关联委托单号
  21214. in: query
  21215. name: orderID
  21216. type: integer
  21217. produces:
  21218. - application/json
  21219. responses:
  21220. "200":
  21221. description: OK
  21222. schema:
  21223. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  21224. "500":
  21225. description: Internal Server Error
  21226. schema:
  21227. $ref: '#/definitions/app.Response'
  21228. security:
  21229. - ApiKeyAuth: []
  21230. summary: 获取企业风管期货成交单信息
  21231. tags:
  21232. - 企业风险管理(app)
  21233. /Ermcp/QueryErmcpTradePosition:
  21234. get:
  21235. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  21236. parameters:
  21237. - description: 资金账户ID
  21238. in: query
  21239. name: accountID
  21240. required: true
  21241. type: integer
  21242. - description: 所属市场ID
  21243. in: query
  21244. name: marketID
  21245. type: integer
  21246. produces:
  21247. - application/json
  21248. responses:
  21249. "200":
  21250. description: OK
  21251. schema:
  21252. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  21253. "500":
  21254. description: Internal Server Error
  21255. schema:
  21256. $ref: '#/definitions/app.Response'
  21257. security:
  21258. - ApiKeyAuth: []
  21259. summary: 获取企业风管期货持仓头寸信息
  21260. tags:
  21261. - 企业风险管理(app)
  21262. /Ermcp/QueryExposureDetail:
  21263. get:
  21264. parameters:
  21265. - description: 所属机构ID
  21266. in: query
  21267. name: areaUserId
  21268. required: true
  21269. type: integer
  21270. - description: 套保商品
  21271. in: query
  21272. name: middleGoodsId
  21273. required: true
  21274. type: integer
  21275. produces:
  21276. - application/json
  21277. responses:
  21278. "200":
  21279. description: OK
  21280. schema:
  21281. items:
  21282. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  21283. type: array
  21284. "500":
  21285. description: Internal Server Error
  21286. schema:
  21287. $ref: '#/definitions/app.Response'
  21288. security:
  21289. - ApiKeyAuth: []
  21290. summary: 查询敞口现货明细
  21291. tags:
  21292. - 企业风险管理(app)
  21293. /Ermcp/QueryExposureGoods:
  21294. get:
  21295. parameters:
  21296. - description: 套保商品id
  21297. in: query
  21298. name: middlegoodsid
  21299. required: true
  21300. type: integer
  21301. produces:
  21302. - application/json
  21303. responses:
  21304. "200":
  21305. description: OK
  21306. schema:
  21307. items:
  21308. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  21309. type: array
  21310. "500":
  21311. description: Internal Server Error
  21312. schema:
  21313. $ref: '#/definitions/app.Response'
  21314. security:
  21315. - ApiKeyAuth: []
  21316. summary: 查询敞口主力合约
  21317. tags:
  21318. - 企业风险管理(app)
  21319. /Ermcp/QueryExposureHedgePosition:
  21320. get:
  21321. parameters:
  21322. - description: 用户id
  21323. in: query
  21324. name: userid
  21325. required: true
  21326. type: integer
  21327. produces:
  21328. - application/json
  21329. responses:
  21330. "200":
  21331. description: OK
  21332. schema:
  21333. items:
  21334. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  21335. type: array
  21336. "500":
  21337. description: Internal Server Error
  21338. schema:
  21339. $ref: '#/definitions/app.Response'
  21340. security:
  21341. - ApiKeyAuth: []
  21342. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  21343. tags:
  21344. - 企业风险管理(app)
  21345. /Ermcp/QueryExposureHedgePositionDetail:
  21346. get:
  21347. parameters:
  21348. - description: 所属机构ID
  21349. in: query
  21350. name: userid
  21351. required: true
  21352. type: integer
  21353. - description: 商品id
  21354. in: query
  21355. name: goodsId
  21356. required: true
  21357. type: integer
  21358. produces:
  21359. - application/json
  21360. responses:
  21361. "200":
  21362. description: OK
  21363. schema:
  21364. items:
  21365. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  21366. type: array
  21367. "500":
  21368. description: Internal Server Error
  21369. schema:
  21370. $ref: '#/definitions/app.Response'
  21371. security:
  21372. - ApiKeyAuth: []
  21373. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  21374. tags:
  21375. - 企业风险管理(app)
  21376. /Ermcp/QueryExposureSpot:
  21377. get:
  21378. parameters:
  21379. - description: 所属机构ID
  21380. in: query
  21381. name: areaUserId
  21382. required: true
  21383. type: integer
  21384. produces:
  21385. - application/json
  21386. responses:
  21387. "200":
  21388. description: OK
  21389. schema:
  21390. items:
  21391. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  21392. type: array
  21393. "500":
  21394. description: Internal Server Error
  21395. schema:
  21396. $ref: '#/definitions/app.Response'
  21397. security:
  21398. - ApiKeyAuth: []
  21399. summary: 查询敞口现货头寸(敞口/现货头寸)
  21400. tags:
  21401. - 企业风险管理(app)
  21402. /Ermcp/QueryExposureSpotDetail:
  21403. get:
  21404. parameters:
  21405. - description: 所属机构ID
  21406. in: query
  21407. name: areaUserId
  21408. required: true
  21409. type: integer
  21410. - description: 现货品种ID
  21411. in: query
  21412. name: wrstandardId
  21413. required: true
  21414. type: integer
  21415. produces:
  21416. - application/json
  21417. responses:
  21418. "200":
  21419. description: OK
  21420. schema:
  21421. items:
  21422. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  21423. type: array
  21424. "500":
  21425. description: Internal Server Error
  21426. schema:
  21427. $ref: '#/definitions/app.Response'
  21428. security:
  21429. - ApiKeyAuth: []
  21430. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  21431. tags:
  21432. - 企业风险管理(app)
  21433. /Ermcp/QueryFuturesCompany:
  21434. get:
  21435. produces:
  21436. - application/json
  21437. responses:
  21438. "200":
  21439. description: OK
  21440. schema:
  21441. items:
  21442. $ref: '#/definitions/models.ErmcpFuturesCompany'
  21443. type: array
  21444. "500":
  21445. description: Internal Server Error
  21446. schema:
  21447. $ref: '#/definitions/app.Response'
  21448. security:
  21449. - ApiKeyAuth: []
  21450. summary: 查询期货公司
  21451. tags:
  21452. - 企业风险管理(app)
  21453. /Ermcp/QueryGGConvertConfig:
  21454. get:
  21455. parameters:
  21456. - description: 品种id(不填则查所有)
  21457. in: query
  21458. name: goodsgroupid
  21459. type: integer
  21460. produces:
  21461. - application/json
  21462. responses:
  21463. "200":
  21464. description: OK
  21465. schema:
  21466. items:
  21467. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  21468. type: array
  21469. "500":
  21470. description: Internal Server Error
  21471. schema:
  21472. $ref: '#/definitions/app.Response'
  21473. security:
  21474. - ApiKeyAuth: []
  21475. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  21476. tags:
  21477. - 企业风险管理(app)
  21478. /Ermcp/QueryGoodsBrand:
  21479. get:
  21480. parameters:
  21481. - description: 用户ID
  21482. in: query
  21483. name: userid
  21484. required: true
  21485. type: integer
  21486. - description: 现货商品ID
  21487. in: query
  21488. name: wrstandardid
  21489. type: integer
  21490. produces:
  21491. - application/json
  21492. responses:
  21493. "200":
  21494. description: OK
  21495. schema:
  21496. items:
  21497. $ref: '#/definitions/models.ErmcpGoodsBrand'
  21498. type: array
  21499. "500":
  21500. description: Internal Server Error
  21501. schema:
  21502. $ref: '#/definitions/app.Response'
  21503. security:
  21504. - ApiKeyAuth: []
  21505. summary: 查询商品品牌
  21506. tags:
  21507. - 企业风险管理(app)
  21508. /Ermcp/QueryGoodsModel:
  21509. get:
  21510. parameters:
  21511. - description: 用户ID
  21512. in: query
  21513. name: userid
  21514. required: true
  21515. type: integer
  21516. produces:
  21517. - application/json
  21518. responses:
  21519. "200":
  21520. description: OK
  21521. schema:
  21522. items:
  21523. $ref: '#/definitions/models.ErmcpGoodsModel'
  21524. type: array
  21525. "500":
  21526. description: Internal Server Error
  21527. schema:
  21528. $ref: '#/definitions/app.Response'
  21529. security:
  21530. - ApiKeyAuth: []
  21531. summary: 查询商品型号
  21532. tags:
  21533. - 企业风险管理(app)
  21534. /Ermcp/QueryHisExposure:
  21535. get:
  21536. parameters:
  21537. - description: 用户id
  21538. in: query
  21539. name: userid
  21540. required: true
  21541. type: integer
  21542. - description: 每个品种记录数
  21543. in: query
  21544. name: lastNum
  21545. required: true
  21546. type: integer
  21547. produces:
  21548. - application/json
  21549. responses:
  21550. "200":
  21551. description: OK
  21552. schema:
  21553. items:
  21554. $ref: '#/definitions/ermcp.HisExposureRsp'
  21555. type: array
  21556. "500":
  21557. description: Internal Server Error
  21558. schema:
  21559. $ref: '#/definitions/app.Response'
  21560. security:
  21561. - ApiKeyAuth: []
  21562. summary: 查询历史敞口(菜单:敞口/历史敞口)
  21563. tags:
  21564. - 企业风险管理(app)
  21565. /Ermcp/QueryMiddleGoods:
  21566. get:
  21567. parameters:
  21568. - description: 所属机构ID
  21569. in: query
  21570. name: userid
  21571. required: true
  21572. type: integer
  21573. - description: 状态 0-停用 1-正常
  21574. in: query
  21575. name: status
  21576. required: true
  21577. type: integer
  21578. produces:
  21579. - application/json
  21580. responses:
  21581. "200":
  21582. description: OK
  21583. schema:
  21584. items:
  21585. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  21586. type: array
  21587. "500":
  21588. description: Internal Server Error
  21589. schema:
  21590. $ref: '#/definitions/app.Response'
  21591. security:
  21592. - ApiKeyAuth: []
  21593. summary: 查询套保品种(菜单:套保品种)
  21594. tags:
  21595. - 企业风险管理(app)
  21596. /Ermcp/QueryMiddleGoodsChangeLog:
  21597. get:
  21598. parameters:
  21599. - description: 所属机构ID
  21600. in: query
  21601. name: userid
  21602. required: true
  21603. type: integer
  21604. - description: 套保品种id
  21605. in: query
  21606. name: middlegoodsid
  21607. required: true
  21608. type: integer
  21609. produces:
  21610. - application/json
  21611. responses:
  21612. "200":
  21613. description: OK
  21614. schema:
  21615. items:
  21616. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  21617. type: array
  21618. "500":
  21619. description: Internal Server Error
  21620. schema:
  21621. $ref: '#/definitions/app.Response'
  21622. security:
  21623. - ApiKeyAuth: []
  21624. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  21625. tags:
  21626. - 企业风险管理(app)
  21627. /Ermcp/QueryMiddleGoodsDetail:
  21628. get:
  21629. parameters:
  21630. - description: 所属机构ID
  21631. in: query
  21632. name: userid
  21633. required: true
  21634. type: integer
  21635. - description: 套保品种id
  21636. in: query
  21637. name: middlegoodsid
  21638. type: integer
  21639. produces:
  21640. - application/json
  21641. responses:
  21642. "200":
  21643. description: OK
  21644. schema:
  21645. items:
  21646. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  21647. type: array
  21648. "500":
  21649. description: Internal Server Error
  21650. schema:
  21651. $ref: '#/definitions/app.Response'
  21652. security:
  21653. - ApiKeyAuth: []
  21654. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  21655. tags:
  21656. - 企业风险管理(app)
  21657. /Ermcp/QueryPendingAuditInfo:
  21658. get:
  21659. parameters:
  21660. - description: 用户ID
  21661. in: query
  21662. name: UserId
  21663. required: true
  21664. type: integer
  21665. produces:
  21666. - application/json
  21667. responses:
  21668. "200":
  21669. description: OK
  21670. schema:
  21671. items:
  21672. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  21673. type: array
  21674. "500":
  21675. description: Internal Server Error
  21676. schema:
  21677. $ref: '#/definitions/app.Response'
  21678. security:
  21679. - ApiKeyAuth: []
  21680. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  21681. tags:
  21682. - 企业风险管理(app)
  21683. /Ermcp/QueryRealtimeExposure:
  21684. get:
  21685. parameters:
  21686. - description: 所属机构ID
  21687. in: query
  21688. name: userid
  21689. required: true
  21690. type: integer
  21691. produces:
  21692. - application/json
  21693. responses:
  21694. "200":
  21695. description: OK
  21696. schema:
  21697. items:
  21698. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  21699. type: array
  21700. "500":
  21701. description: Internal Server Error
  21702. schema:
  21703. $ref: '#/definitions/app.Response'
  21704. security:
  21705. - ApiKeyAuth: []
  21706. summary: 查询实时敞口
  21707. tags:
  21708. - 企业风险管理(app)
  21709. /Ermcp/QueryRealtimeExposurePosition:
  21710. get:
  21711. parameters:
  21712. - description: 用户id
  21713. in: query
  21714. name: userid
  21715. required: true
  21716. type: integer
  21717. - description: 套保商品ID
  21718. in: query
  21719. name: middleGoodsId
  21720. required: true
  21721. type: integer
  21722. produces:
  21723. - application/json
  21724. responses:
  21725. "200":
  21726. description: OK
  21727. schema:
  21728. items:
  21729. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  21730. type: array
  21731. "500":
  21732. description: Internal Server Error
  21733. schema:
  21734. $ref: '#/definitions/app.Response'
  21735. security:
  21736. - ApiKeyAuth: []
  21737. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  21738. tags:
  21739. - 企业风险管理(app)
  21740. /Ermcp/QueryRoleMenu:
  21741. get:
  21742. parameters:
  21743. - description: 登录ID
  21744. in: query
  21745. name: loginid
  21746. required: true
  21747. type: integer
  21748. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  21749. in: query
  21750. name: menutype
  21751. type: integer
  21752. produces:
  21753. - application/json
  21754. responses:
  21755. "200":
  21756. description: OK
  21757. schema:
  21758. items:
  21759. $ref: '#/definitions/models.RoleMenu'
  21760. type: array
  21761. "500":
  21762. description: Internal Server Error
  21763. schema:
  21764. $ref: '#/definitions/app.Response'
  21765. security:
  21766. - ApiKeyAuth: []
  21767. summary: 查询角色菜单和权限
  21768. tags:
  21769. - 企业风险管理(app)
  21770. /Ermcp/QueryTradeConfigTMP:
  21771. get:
  21772. parameters:
  21773. - description: 所属机构id
  21774. in: query
  21775. name: areauserid
  21776. type: integer
  21777. produces:
  21778. - application/json
  21779. responses:
  21780. "200":
  21781. description: OK
  21782. schema:
  21783. items:
  21784. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  21785. type: array
  21786. "500":
  21787. description: Internal Server Error
  21788. schema:
  21789. $ref: '#/definitions/app.Response'
  21790. security:
  21791. - ApiKeyAuth: []
  21792. summary: 查询交易模板配置
  21793. tags:
  21794. - 企业风险管理(app)
  21795. /Ermcp/QueryUserInfo:
  21796. get:
  21797. parameters:
  21798. - description: 所属机构用户ID
  21799. in: query
  21800. name: MemberUserID
  21801. required: true
  21802. type: integer
  21803. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  21804. in: query
  21805. name: queryType
  21806. required: true
  21807. type: integer
  21808. produces:
  21809. - application/json
  21810. responses:
  21811. "200":
  21812. description: OK
  21813. schema:
  21814. items:
  21815. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  21816. type: array
  21817. "500":
  21818. description: Internal Server Error
  21819. schema:
  21820. $ref: '#/definitions/app.Response'
  21821. security:
  21822. - ApiKeyAuth: []
  21823. summary: 查询客户资料
  21824. tags:
  21825. - 企业风险管理(app)
  21826. /Ermcp/QueryWarehouseInfo:
  21827. get:
  21828. parameters:
  21829. - description: 用户ID
  21830. in: query
  21831. name: userid
  21832. required: true
  21833. type: integer
  21834. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  21835. in: query
  21836. name: status
  21837. type: string
  21838. produces:
  21839. - application/json
  21840. responses:
  21841. "200":
  21842. description: OK
  21843. schema:
  21844. items:
  21845. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  21846. type: array
  21847. "500":
  21848. description: Internal Server Error
  21849. schema:
  21850. $ref: '#/definitions/app.Response'
  21851. security:
  21852. - ApiKeyAuth: []
  21853. summary: 查询仓库信息
  21854. tags:
  21855. - 企业风险管理(app)
  21856. /Ermcp3/QryAreaExpourseContractDetail:
  21857. get:
  21858. parameters:
  21859. - description: 用户ID
  21860. in: query
  21861. name: userid
  21862. required: true
  21863. type: integer
  21864. - description: 套保商品id
  21865. in: query
  21866. name: middlegoodsid
  21867. required: true
  21868. type: integer
  21869. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21870. in: query
  21871. name: cycletype
  21872. required: true
  21873. type: integer
  21874. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21875. 全(0)【原值】
  21876. in: query
  21877. name: cycletime
  21878. required: true
  21879. type: string
  21880. produces:
  21881. - application/json
  21882. responses:
  21883. "200":
  21884. description: OK
  21885. schema:
  21886. items:
  21887. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  21888. type: array
  21889. "500":
  21890. description: Internal Server Error
  21891. schema:
  21892. $ref: '#/definitions/app.Response'
  21893. security:
  21894. - ApiKeyAuth: []
  21895. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  21896. tags:
  21897. - 企业风险管理v3(app)
  21898. /Ermcp3/QryAreaExpourseFutuDetail:
  21899. get:
  21900. parameters:
  21901. - description: 用户ID
  21902. in: query
  21903. name: userid
  21904. required: true
  21905. type: integer
  21906. - description: 套保商品id
  21907. in: query
  21908. name: middlegoodsid
  21909. required: true
  21910. type: integer
  21911. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21912. in: query
  21913. name: cycletype
  21914. required: true
  21915. type: integer
  21916. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21917. 全(0)【原值】
  21918. in: query
  21919. name: cycletime
  21920. required: true
  21921. type: string
  21922. produces:
  21923. - application/json
  21924. responses:
  21925. "200":
  21926. description: OK
  21927. schema:
  21928. items:
  21929. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  21930. type: array
  21931. "500":
  21932. description: Internal Server Error
  21933. schema:
  21934. $ref: '#/definitions/app.Response'
  21935. security:
  21936. - ApiKeyAuth: []
  21937. summary: 查询敞口期货明细(敞口报表/期货明细)
  21938. tags:
  21939. - 企业风险管理v3(app)
  21940. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  21941. get:
  21942. parameters:
  21943. - description: 用户ID
  21944. in: query
  21945. name: userid
  21946. required: true
  21947. type: integer
  21948. - description: 套保商品id
  21949. in: query
  21950. name: middlegoodsid
  21951. required: true
  21952. type: integer
  21953. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21954. in: query
  21955. name: cycletype
  21956. required: true
  21957. type: integer
  21958. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21959. 全(0)【原值】
  21960. in: query
  21961. name: cycletime
  21962. required: true
  21963. type: string
  21964. produces:
  21965. - application/json
  21966. responses:
  21967. "200":
  21968. description: OK
  21969. schema:
  21970. items:
  21971. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  21972. type: array
  21973. "500":
  21974. description: Internal Server Error
  21975. schema:
  21976. $ref: '#/definitions/app.Response'
  21977. security:
  21978. - ApiKeyAuth: []
  21979. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  21980. tags:
  21981. - 企业风险管理v3(app)
  21982. /Ermcp3/QryAreaExpourseParamChLogDetail:
  21983. get:
  21984. parameters:
  21985. - description: 用户ID
  21986. in: query
  21987. name: userid
  21988. required: true
  21989. type: integer
  21990. - description: 套保商品id
  21991. in: query
  21992. name: middlegoodsid
  21993. required: true
  21994. type: integer
  21995. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21996. in: query
  21997. name: cycletype
  21998. required: true
  21999. type: integer
  22000. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22001. 全(0)【原值】
  22002. in: query
  22003. name: cycletime
  22004. required: true
  22005. type: string
  22006. produces:
  22007. - application/json
  22008. responses:
  22009. "200":
  22010. description: OK
  22011. schema:
  22012. items:
  22013. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  22014. type: array
  22015. "500":
  22016. description: Internal Server Error
  22017. schema:
  22018. $ref: '#/definitions/app.Response'
  22019. security:
  22020. - ApiKeyAuth: []
  22021. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  22022. tags:
  22023. - 企业风险管理v3(app)
  22024. /Ermcp3/QryAreaExpourseReport:
  22025. get:
  22026. parameters:
  22027. - description: 用户ID
  22028. in: query
  22029. name: userid
  22030. required: true
  22031. type: integer
  22032. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  22033. in: query
  22034. name: querytype
  22035. required: true
  22036. type: integer
  22037. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22038. in: query
  22039. name: cycletype
  22040. required: true
  22041. type: integer
  22042. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22043. 全(0)【原值】
  22044. in: query
  22045. name: cycletime
  22046. required: true
  22047. type: string
  22048. produces:
  22049. - application/json
  22050. responses:
  22051. "200":
  22052. description: OK
  22053. schema:
  22054. items:
  22055. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  22056. type: array
  22057. "500":
  22058. description: Internal Server Error
  22059. schema:
  22060. $ref: '#/definitions/app.Response'
  22061. security:
  22062. - ApiKeyAuth: []
  22063. summary: 查询敞口报表
  22064. tags:
  22065. - 企业风险管理v3(app)
  22066. /Ermcp3/QryAreaSpotplReport:
  22067. get:
  22068. description: 目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1
  22069. parameters:
  22070. - description: 用户ID
  22071. in: query
  22072. name: userid
  22073. required: true
  22074. type: integer
  22075. - description: 查询类型 1-报表 2-报表明细
  22076. in: query
  22077. name: querytype
  22078. required: true
  22079. type: integer
  22080. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22081. in: query
  22082. name: cycletype
  22083. required: true
  22084. type: integer
  22085. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22086. 全(0)【原值】
  22087. in: query
  22088. name: cycletime
  22089. required: true
  22090. type: string
  22091. - description: 现货品种id(明细必填)
  22092. in: query
  22093. name: deliverygoodsid
  22094. type: integer
  22095. - description: 币种id(明细必填)
  22096. in: query
  22097. name: currencyid
  22098. type: integer
  22099. - description: 日/周/月报表汇总维度 1:品种+品类
  22100. in: query
  22101. name: sumflag
  22102. type: integer
  22103. produces:
  22104. - application/json
  22105. responses:
  22106. "200":
  22107. description: OK
  22108. schema:
  22109. items:
  22110. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  22111. type: array
  22112. "500":
  22113. description: Internal Server Error
  22114. schema:
  22115. $ref: '#/definitions/app.Response'
  22116. security:
  22117. - ApiKeyAuth: []
  22118. summary: 查询现货报表
  22119. tags:
  22120. - 企业风险管理v3(app)
  22121. /Ermcp3/QryAreaStockReport:
  22122. get:
  22123. parameters:
  22124. - description: 用户ID
  22125. in: query
  22126. name: userid
  22127. required: true
  22128. type: integer
  22129. - description: 查询类型 1-报表 2-报表明细
  22130. in: query
  22131. name: querytype
  22132. required: true
  22133. type: integer
  22134. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22135. in: query
  22136. name: cycletype
  22137. required: true
  22138. type: integer
  22139. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22140. 全(0)【原值】
  22141. in: query
  22142. name: cycletime
  22143. required: true
  22144. type: string
  22145. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  22146. in: query
  22147. name: sumfields
  22148. type: string
  22149. - description: 品种ID
  22150. in: query
  22151. name: deliverygoodsid
  22152. type: integer
  22153. - description: 品类ID
  22154. in: query
  22155. name: wrstandardid
  22156. type: integer
  22157. - description: 品牌ID
  22158. in: query
  22159. name: spotgoodsbrandid
  22160. type: integer
  22161. - description: 仓库ID
  22162. in: query
  22163. name: warehouseinfoid
  22164. type: integer
  22165. produces:
  22166. - application/json
  22167. responses:
  22168. "200":
  22169. description: OK
  22170. schema:
  22171. items:
  22172. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  22173. type: array
  22174. "500":
  22175. description: Internal Server Error
  22176. schema:
  22177. $ref: '#/definitions/app.Response'
  22178. security:
  22179. - ApiKeyAuth: []
  22180. summary: 查询库存报表
  22181. tags:
  22182. - 企业风险管理v3(app)
  22183. /Ermcp3/QryAreaSumPL:
  22184. get:
  22185. parameters:
  22186. - description: 用户ID
  22187. in: query
  22188. name: userid
  22189. required: true
  22190. type: integer
  22191. - description: 查询类型 1-报表 2-报表明细
  22192. in: query
  22193. name: querytype
  22194. required: true
  22195. type: integer
  22196. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22197. in: query
  22198. name: cycletype
  22199. required: true
  22200. type: integer
  22201. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22202. 全(0)【原值】
  22203. in: query
  22204. name: cycletime
  22205. required: true
  22206. type: string
  22207. - description: 币种id(明细必填)
  22208. in: query
  22209. name: currencyid
  22210. type: integer
  22211. produces:
  22212. - application/json
  22213. responses:
  22214. "200":
  22215. description: OK
  22216. schema:
  22217. items:
  22218. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  22219. type: array
  22220. "500":
  22221. description: Internal Server Error
  22222. schema:
  22223. $ref: '#/definitions/app.Response'
  22224. security:
  22225. - ApiKeyAuth: []
  22226. summary: 查询汇总损益表
  22227. tags:
  22228. - 企业风险管理v3(app)
  22229. /Ermcp3/QryFinanceReport:
  22230. get:
  22231. parameters:
  22232. - description: 用户ID
  22233. in: query
  22234. name: userid
  22235. required: true
  22236. type: integer
  22237. - description: 查询类型 1-报表 2-报表明细
  22238. in: query
  22239. name: querytype
  22240. required: true
  22241. type: integer
  22242. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22243. in: query
  22244. name: cycletype
  22245. required: true
  22246. type: integer
  22247. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22248. 全(0)【原值】
  22249. in: query
  22250. name: cycletime
  22251. required: true
  22252. type: string
  22253. - description: 币种id(报表明细必填)
  22254. in: query
  22255. name: currencyid
  22256. type: integer
  22257. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  22258. in: query
  22259. name: sumfields
  22260. type: string
  22261. produces:
  22262. - application/json
  22263. responses:
  22264. "200":
  22265. description: OK
  22266. schema:
  22267. items:
  22268. $ref: '#/definitions/models.Ermcp3FinanceReport'
  22269. type: array
  22270. "500":
  22271. description: Internal Server Error
  22272. schema:
  22273. $ref: '#/definitions/app.Response'
  22274. security:
  22275. - ApiKeyAuth: []
  22276. summary: 查询财务报表
  22277. tags:
  22278. - 企业风险管理v3(app)
  22279. /Ermcp3/QrySCMiddleGoodsReport:
  22280. get:
  22281. parameters:
  22282. - description: 用户ID
  22283. in: query
  22284. name: userid
  22285. required: true
  22286. type: integer
  22287. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22288. in: query
  22289. name: cycletype
  22290. required: true
  22291. type: integer
  22292. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22293. 全(0)【原值】
  22294. in: query
  22295. name: cycletime
  22296. required: true
  22297. type: string
  22298. - description: 合同id
  22299. in: query
  22300. name: spotcontractid
  22301. type: integer
  22302. - description: 套保品种id
  22303. in: query
  22304. name: middlegoodsid
  22305. type: integer
  22306. - description: 现货品种id
  22307. in: query
  22308. name: deliverygoodsid
  22309. type: integer
  22310. - description: 现货商品id
  22311. in: query
  22312. name: wrstandardid
  22313. type: integer
  22314. - description: 合同编号(模糊匹配)
  22315. in: query
  22316. name: contractno
  22317. type: string
  22318. produces:
  22319. - application/json
  22320. responses:
  22321. "200":
  22322. description: OK
  22323. schema:
  22324. items:
  22325. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  22326. type: array
  22327. "500":
  22328. description: Internal Server Error
  22329. schema:
  22330. $ref: '#/definitions/app.Response'
  22331. security:
  22332. - ApiKeyAuth: []
  22333. summary: 查询定价报表
  22334. tags:
  22335. - 企业风险管理v3(app)
  22336. /Ermcp3/QryTaFutureDataReport:
  22337. get:
  22338. parameters:
  22339. - description: 用户ID
  22340. in: query
  22341. name: userid
  22342. required: true
  22343. type: integer
  22344. - description: 查询类型 1-报表 2-报表明细
  22345. in: query
  22346. name: querytype
  22347. required: true
  22348. type: integer
  22349. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  22350. in: query
  22351. name: cycletype
  22352. required: true
  22353. type: integer
  22354. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  22355. 全(0)【原值】
  22356. in: query
  22357. name: cycletime
  22358. required: true
  22359. type: string
  22360. - description: 币种id(查明细必填)
  22361. in: query
  22362. name: currencyid
  22363. type: integer
  22364. - description: 品种id(查明细必填)
  22365. in: query
  22366. name: goodsgroupid
  22367. type: integer
  22368. - description: 商品id(查明细必填)
  22369. in: query
  22370. name: goodsid
  22371. type: integer
  22372. - description: 买卖方向(查明细必填)
  22373. in: query
  22374. name: buyorsell
  22375. type: integer
  22376. produces:
  22377. - application/json
  22378. responses:
  22379. "200":
  22380. description: OK
  22381. schema:
  22382. items:
  22383. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  22384. type: array
  22385. "500":
  22386. description: Internal Server Error
  22387. schema:
  22388. $ref: '#/definitions/app.Response'
  22389. security:
  22390. - ApiKeyAuth: []
  22391. summary: 查询期货报表
  22392. tags:
  22393. - 企业风险管理v3(app)
  22394. /Ermcp3/QueryAreaStock:
  22395. get:
  22396. parameters:
  22397. - description: 用户ID
  22398. in: query
  22399. name: userid
  22400. required: true
  22401. type: integer
  22402. produces:
  22403. - application/json
  22404. responses:
  22405. "200":
  22406. description: OK
  22407. schema:
  22408. items:
  22409. $ref: '#/definitions/models.Ermcp3AreaStock'
  22410. type: array
  22411. "500":
  22412. description: Internal Server Error
  22413. schema:
  22414. $ref: '#/definitions/app.Response'
  22415. security:
  22416. - ApiKeyAuth: []
  22417. summary: 查询机构库存(库存管理/当前库存)
  22418. tags:
  22419. - 企业风险管理v3(app)
  22420. /Ermcp3/QueryAreaStockApply:
  22421. get:
  22422. parameters:
  22423. - description: 用户ID
  22424. in: query
  22425. name: userid
  22426. required: true
  22427. type: integer
  22428. - description: 用户类型 2-机构 7-企业成员
  22429. in: query
  22430. name: usertype
  22431. type: integer
  22432. - description: 现货商品ID
  22433. in: query
  22434. name: deliverygoodsid
  22435. type: integer
  22436. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  22437. in: query
  22438. name: inouttype
  22439. type: string
  22440. - description: 合同ID
  22441. in: query
  22442. name: spotcontractid
  22443. type: integer
  22444. - description: 品类ID
  22445. in: query
  22446. name: wrstandardid
  22447. type: integer
  22448. - description: 品牌ID
  22449. in: query
  22450. name: spotgoodsbrandid
  22451. type: integer
  22452. - description: 仓库ID
  22453. in: query
  22454. name: warehouseinfoid
  22455. type: integer
  22456. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22457. in: query
  22458. name: applystatus
  22459. type: string
  22460. produces:
  22461. - application/json
  22462. responses:
  22463. "200":
  22464. description: OK
  22465. schema:
  22466. items:
  22467. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  22468. type: array
  22469. "500":
  22470. description: Internal Server Error
  22471. schema:
  22472. $ref: '#/definitions/app.Response'
  22473. security:
  22474. - ApiKeyAuth: []
  22475. summary: 查询库存申请(出入库记录|库存审核)
  22476. tags:
  22477. - 企业风险管理v3(app)
  22478. /Ermcp3/QueryAreaStockApplySum:
  22479. get:
  22480. parameters:
  22481. - description: 合同ID
  22482. in: query
  22483. name: spotcontractid
  22484. required: true
  22485. type: integer
  22486. produces:
  22487. - application/json
  22488. responses:
  22489. "200":
  22490. description: OK
  22491. schema:
  22492. items:
  22493. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  22494. type: array
  22495. "500":
  22496. description: Internal Server Error
  22497. schema:
  22498. $ref: '#/definitions/app.Response'
  22499. security:
  22500. - ApiKeyAuth: []
  22501. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  22502. tags:
  22503. - 企业风险管理v3(app)
  22504. /Ermcp3/QueryDGFactoryItem:
  22505. get:
  22506. parameters:
  22507. - description: 用户id
  22508. in: query
  22509. name: userid
  22510. type: integer
  22511. - description: 用户类型 2-机构 7-企业成员
  22512. in: query
  22513. name: usertype
  22514. type: integer
  22515. - description: 选择项ID(SEQ_DGFACTORYITEM)
  22516. in: query
  22517. name: dgfactoryitemid
  22518. type: integer
  22519. - description: 现货品种ID
  22520. in: query
  22521. name: deliverygoodsid
  22522. type: integer
  22523. - description: 要素项类型
  22524. in: query
  22525. name: dgfactoryitemtypeid
  22526. type: integer
  22527. - description: 顺序
  22528. in: query
  22529. name: orderindex
  22530. type: integer
  22531. produces:
  22532. - application/json
  22533. responses:
  22534. "200":
  22535. description: OK
  22536. schema:
  22537. items:
  22538. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  22539. type: array
  22540. "500":
  22541. description: Internal Server Error
  22542. schema:
  22543. $ref: '#/definitions/app.Response'
  22544. security:
  22545. - ApiKeyAuth: []
  22546. summary: 查询品种要素定义项
  22547. tags:
  22548. - 企业风险管理v3(app)
  22549. /Ermcp3/QueryDeliveryGoods:
  22550. get:
  22551. parameters:
  22552. - description: 用户id
  22553. in: query
  22554. name: userid
  22555. required: true
  22556. type: integer
  22557. - description: 用户类型 2-机构 7-企业成员
  22558. in: query
  22559. name: usertype
  22560. type: integer
  22561. - description: 排除已配置的业务类型商品 1-套保 2-套利
  22562. in: query
  22563. name: excludecfg
  22564. type: integer
  22565. produces:
  22566. - application/json
  22567. responses:
  22568. "200":
  22569. description: OK
  22570. schema:
  22571. items:
  22572. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  22573. type: array
  22574. "500":
  22575. description: Internal Server Error
  22576. schema:
  22577. $ref: '#/definitions/app.Response'
  22578. security:
  22579. - ApiKeyAuth: []
  22580. summary: 查询现货商品
  22581. tags:
  22582. - 企业风险管理v3(app)
  22583. /Ermcp3/QueryDeliveryGoodsDetail:
  22584. get:
  22585. parameters:
  22586. - description: 用户id
  22587. in: query
  22588. name: userid
  22589. required: true
  22590. type: integer
  22591. - description: 用户类型 2-机构 7-企业成员
  22592. in: query
  22593. name: usertype
  22594. type: integer
  22595. - description: 现货商品id
  22596. in: query
  22597. name: deliverygoodsid
  22598. type: integer
  22599. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  22600. in: query
  22601. name: filtersubempty
  22602. type: integer
  22603. produces:
  22604. - application/json
  22605. responses:
  22606. "200":
  22607. description: OK
  22608. schema:
  22609. items:
  22610. $ref: '#/definitions/models.XHDeliveryGoods'
  22611. type: array
  22612. "500":
  22613. description: Internal Server Error
  22614. schema:
  22615. $ref: '#/definitions/app.Response'
  22616. security:
  22617. - ApiKeyAuth: []
  22618. summary: 查询现货商品详情
  22619. tags:
  22620. - 企业风险管理v3(app)
  22621. /Ermcp3/QueryErmcp3ContractMiddleGoodsCfg:
  22622. get:
  22623. parameters:
  22624. - description: 合同id
  22625. in: query
  22626. name: spotcontractid
  22627. required: true
  22628. type: string
  22629. produces:
  22630. - application/json
  22631. responses:
  22632. "200":
  22633. description: OK
  22634. schema:
  22635. items:
  22636. $ref: '#/definitions/models.Ermcp3ContractMiddleGoodsCfg'
  22637. type: array
  22638. "500":
  22639. description: Internal Server Error
  22640. schema:
  22641. $ref: '#/definitions/app.Response'
  22642. security:
  22643. - ApiKeyAuth: []
  22644. summary: 查询现货合同期现配置信息
  22645. tags:
  22646. - 企业风险管理v3(app)
  22647. /Ermcp3/QueryExposureDetail:
  22648. get:
  22649. parameters:
  22650. - description: 用户id
  22651. in: query
  22652. name: userid
  22653. required: true
  22654. type: integer
  22655. - description: 用户类型 2-机构 7-企业成员
  22656. in: query
  22657. name: usertype
  22658. type: integer
  22659. - description: 套保商品
  22660. in: query
  22661. name: middlegoodsid
  22662. required: true
  22663. type: integer
  22664. produces:
  22665. - application/json
  22666. responses:
  22667. "200":
  22668. description: OK
  22669. schema:
  22670. items:
  22671. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  22672. type: array
  22673. "500":
  22674. description: Internal Server Error
  22675. schema:
  22676. $ref: '#/definitions/app.Response'
  22677. security:
  22678. - ApiKeyAuth: []
  22679. summary: 查询敞口现货明细
  22680. tags:
  22681. - 企业风险管理v3(app)
  22682. /Ermcp3/QueryExposureSpot:
  22683. get:
  22684. parameters:
  22685. - description: 用户id
  22686. in: query
  22687. name: userid
  22688. required: true
  22689. type: integer
  22690. - description: 用户类型 2-机构 7-企业成员
  22691. in: query
  22692. name: usertype
  22693. type: integer
  22694. produces:
  22695. - application/json
  22696. responses:
  22697. "200":
  22698. description: OK
  22699. schema:
  22700. items:
  22701. $ref: '#/definitions/models.Ermcp3AreaSpot'
  22702. type: array
  22703. "500":
  22704. description: Internal Server Error
  22705. schema:
  22706. $ref: '#/definitions/app.Response'
  22707. security:
  22708. - ApiKeyAuth: []
  22709. summary: 查询敞口现货头寸(敞口/现货头寸)
  22710. tags:
  22711. - 企业风险管理v3(app)
  22712. /Ermcp3/QueryExposureSpotDetail:
  22713. get:
  22714. parameters:
  22715. - description: 用户id
  22716. in: query
  22717. name: userid
  22718. required: true
  22719. type: integer
  22720. - description: 用户类型 2-机构 7-企业成员
  22721. in: query
  22722. name: usertype
  22723. type: integer
  22724. - description: 现货商品ID
  22725. in: query
  22726. name: wrstandardid
  22727. required: true
  22728. type: integer
  22729. produces:
  22730. - application/json
  22731. responses:
  22732. "200":
  22733. description: OK
  22734. schema:
  22735. items:
  22736. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  22737. type: array
  22738. "500":
  22739. description: Internal Server Error
  22740. schema:
  22741. $ref: '#/definitions/app.Response'
  22742. security:
  22743. - ApiKeyAuth: []
  22744. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  22745. tags:
  22746. - 企业风险管理v3(app)
  22747. /Ermcp3/QueryGoodsGroup:
  22748. get:
  22749. parameters:
  22750. - description: 用户id
  22751. in: query
  22752. name: userid
  22753. required: true
  22754. type: integer
  22755. - description: 用户类型 2-机构 7-企业成员
  22756. in: query
  22757. name: usertype
  22758. type: integer
  22759. - description: 排除套保品中已关联的商品组 1-排除
  22760. in: query
  22761. name: excludecfg
  22762. type: integer
  22763. produces:
  22764. - application/json
  22765. responses:
  22766. "200":
  22767. description: OK
  22768. schema:
  22769. items:
  22770. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  22771. type: array
  22772. "500":
  22773. description: Internal Server Error
  22774. schema:
  22775. $ref: '#/definitions/app.Response'
  22776. security:
  22777. - ApiKeyAuth: []
  22778. summary: 查询期货商品组
  22779. tags:
  22780. - 企业风险管理v3(app)
  22781. /Ermcp3/QueryGoodsWrstandard:
  22782. get:
  22783. parameters:
  22784. - description: 用户id
  22785. in: query
  22786. name: userid
  22787. required: true
  22788. type: integer
  22789. - description: 用户类型 2-机构 7-企业成员
  22790. in: query
  22791. name: usertype
  22792. type: integer
  22793. - description: 现货商品id
  22794. in: query
  22795. name: deliverygoodsid
  22796. type: integer
  22797. produces:
  22798. - application/json
  22799. responses:
  22800. "200":
  22801. description: OK
  22802. schema:
  22803. items:
  22804. $ref: '#/definitions/models.Ermcp3Wrstandard'
  22805. type: array
  22806. "500":
  22807. description: Internal Server Error
  22808. schema:
  22809. $ref: '#/definitions/app.Response'
  22810. security:
  22811. - ApiKeyAuth: []
  22812. summary: 查询商品品类
  22813. tags:
  22814. - 企业风险管理v3(app)
  22815. /Ermcp3/QueryGoodsbrand:
  22816. get:
  22817. parameters:
  22818. - description: 用户id
  22819. in: query
  22820. name: userid
  22821. required: true
  22822. type: integer
  22823. - description: 用户类型 2-机构 7-企业成员
  22824. in: query
  22825. name: usertype
  22826. type: integer
  22827. produces:
  22828. - application/json
  22829. responses:
  22830. "200":
  22831. description: OK
  22832. schema:
  22833. items:
  22834. $ref: '#/definitions/models.Ermcp3Brand'
  22835. type: array
  22836. "500":
  22837. description: Internal Server Error
  22838. schema:
  22839. $ref: '#/definitions/app.Response'
  22840. security:
  22841. - ApiKeyAuth: []
  22842. summary: 查询商品品牌
  22843. tags:
  22844. - 企业风险管理v3(app)
  22845. /Ermcp3/QueryHPMiddleGoods:
  22846. get:
  22847. parameters:
  22848. - description: 用户ID(填登录用户的userid)
  22849. in: query
  22850. name: userid
  22851. required: true
  22852. type: integer
  22853. - description: 买卖方向 0-买 1-卖
  22854. in: query
  22855. name: buyorsell
  22856. required: true
  22857. type: integer
  22858. - description: 商品组id
  22859. in: query
  22860. name: goodsgroupid
  22861. required: true
  22862. type: integer
  22863. - description: 套保计划编号(模糊匹配)
  22864. in: query
  22865. name: hedgeplanno
  22866. type: string
  22867. - description: 现货商品名称(模糊匹配)
  22868. in: query
  22869. name: wrstandardname
  22870. type: string
  22871. produces:
  22872. - application/json
  22873. responses:
  22874. "200":
  22875. description: OK
  22876. schema:
  22877. items:
  22878. $ref: '#/definitions/models.Ermcp3HPMiddleGoods'
  22879. type: array
  22880. "500":
  22881. description: Internal Server Error
  22882. schema:
  22883. $ref: '#/definitions/app.Response'
  22884. security:
  22885. - ApiKeyAuth: []
  22886. summary: 查询可关联套保计划
  22887. tags:
  22888. - 企业风险管理v3(app)
  22889. /Ermcp3/QueryHedgePlan:
  22890. get:
  22891. parameters:
  22892. - description: 用户ID
  22893. in: query
  22894. name: userid
  22895. required: true
  22896. type: integer
  22897. - description: 用户类型 2-机构 7-企业成员
  22898. in: query
  22899. name: usertype
  22900. type: integer
  22901. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22902. in: query
  22903. name: hedgeplanstatus
  22904. required: true
  22905. type: string
  22906. produces:
  22907. - application/json
  22908. responses:
  22909. "200":
  22910. description: OK
  22911. schema:
  22912. items:
  22913. $ref: '#/definitions/models.Ermcp3HedgePlan'
  22914. type: array
  22915. "500":
  22916. description: Internal Server Error
  22917. schema:
  22918. $ref: '#/definitions/app.Response'
  22919. security:
  22920. - ApiKeyAuth: []
  22921. summary: 查询套保计划
  22922. tags:
  22923. - 企业风险管理v3(app)
  22924. /Ermcp3/QueryInnerTradeLink:
  22925. get:
  22926. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  22927. parameters:
  22928. - description: 外部成交单号
  22929. in: query
  22930. name: outtradeid
  22931. required: true
  22932. type: integer
  22933. produces:
  22934. - application/json
  22935. responses:
  22936. "200":
  22937. description: OK
  22938. schema:
  22939. items:
  22940. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  22941. type: array
  22942. "500":
  22943. description: Internal Server Error
  22944. schema:
  22945. $ref: '#/definitions/app.Response'
  22946. security:
  22947. - ApiKeyAuth: []
  22948. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  22949. tags:
  22950. - 企业风险管理v3(app)
  22951. /Ermcp3/QueryMiddleGoodsDetail:
  22952. get:
  22953. parameters:
  22954. - description: 用户id
  22955. in: query
  22956. name: userid
  22957. required: true
  22958. type: integer
  22959. - description: 用户类型 2-机构 7-企业成员
  22960. in: query
  22961. name: usertype
  22962. type: integer
  22963. - description: 套保品种id
  22964. in: query
  22965. name: middlegoodsid
  22966. type: integer
  22967. produces:
  22968. - application/json
  22969. responses:
  22970. "200":
  22971. description: OK
  22972. schema:
  22973. items:
  22974. $ref: '#/definitions/models.TBMiddleGoods'
  22975. type: array
  22976. "500":
  22977. description: Internal Server Error
  22978. schema:
  22979. $ref: '#/definitions/app.Response'
  22980. security:
  22981. - ApiKeyAuth: []
  22982. summary: 查询套保品种详情(套保品种/商品详情)
  22983. tags:
  22984. - 企业风险管理v3(app)
  22985. /Ermcp3/QueryOutTradeLink:
  22986. get:
  22987. description: 页面 app 现货->期现关联->外部成交单关联
  22988. parameters:
  22989. - description: 用户ID(填登录用户的userid)
  22990. in: query
  22991. name: userid
  22992. required: true
  22993. type: integer
  22994. - description: 外部订单号(模糊匹配)
  22995. in: query
  22996. name: outtradeid
  22997. type: string
  22998. - description: 合约名称/代码(模糊匹配)
  22999. in: query
  23000. name: goodsname
  23001. type: string
  23002. - description: 关联状态 0-未关联 1-已关联
  23003. in: query
  23004. name: hasinnerorder
  23005. type: integer
  23006. produces:
  23007. - application/json
  23008. responses:
  23009. "200":
  23010. description: OK
  23011. schema:
  23012. items:
  23013. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  23014. type: array
  23015. "500":
  23016. description: Internal Server Error
  23017. schema:
  23018. $ref: '#/definitions/app.Response'
  23019. security:
  23020. - ApiKeyAuth: []
  23021. summary: 查询外部成交单关联
  23022. tags:
  23023. - 企业风险管理v3(app)
  23024. /Ermcp3/QueryPaAreaAuditCfg:
  23025. get:
  23026. parameters:
  23027. - description: 用户id
  23028. in: query
  23029. name: userid
  23030. required: true
  23031. type: integer
  23032. produces:
  23033. - application/json
  23034. responses:
  23035. "200":
  23036. description: OK
  23037. schema:
  23038. items:
  23039. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  23040. type: array
  23041. "500":
  23042. description: Internal Server Error
  23043. schema:
  23044. $ref: '#/definitions/app.Response'
  23045. security:
  23046. - ApiKeyAuth: []
  23047. summary: 查询审核设置
  23048. tags:
  23049. - 企业风险管理v3(app)
  23050. /Ermcp3/QueryPaAreaSubject:
  23051. get:
  23052. parameters:
  23053. - description: 用户id
  23054. in: query
  23055. name: userid
  23056. required: true
  23057. type: integer
  23058. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  23059. in: query
  23060. name: subjectid
  23061. type: integer
  23062. - description: 主体类型 - 1:交易主体 2:业务部门
  23063. in: query
  23064. name: subjecttype
  23065. type: integer
  23066. - description: '主体状态 - 1:正常 2: 停用'
  23067. in: query
  23068. name: subjectstatus
  23069. type: integer
  23070. produces:
  23071. - application/json
  23072. responses:
  23073. "200":
  23074. description: OK
  23075. schema:
  23076. items:
  23077. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  23078. type: array
  23079. "500":
  23080. description: Internal Server Error
  23081. schema:
  23082. $ref: '#/definitions/app.Response'
  23083. security:
  23084. - ApiKeyAuth: []
  23085. summary: 查询交易主体
  23086. tags:
  23087. - 企业风险管理v3(app)
  23088. /Ermcp3/QueryPaTradeLink:
  23089. get:
  23090. description: 页面 app 现货->期现关联->期现单据关联
  23091. parameters:
  23092. - description: 用户ID
  23093. in: query
  23094. name: userid
  23095. required: true
  23096. type: integer
  23097. produces:
  23098. - application/json
  23099. responses:
  23100. "200":
  23101. description: OK
  23102. schema:
  23103. items:
  23104. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  23105. type: array
  23106. "500":
  23107. description: Internal Server Error
  23108. schema:
  23109. $ref: '#/definitions/app.Response'
  23110. security:
  23111. - ApiKeyAuth: []
  23112. summary: 查询期现单据关联
  23113. tags:
  23114. - 企业风险管理v3(app)
  23115. /Ermcp3/QueryPaTradeLinkDetail:
  23116. get:
  23117. description: 页面 app 现货->期现关联->关联记录
  23118. parameters:
  23119. - description: 用户ID(填登录用户的userid)
  23120. in: query
  23121. name: userid
  23122. required: true
  23123. type: integer
  23124. - description: 关联状态 1:成功 2:失败 3:解绑
  23125. in: query
  23126. name: linkstatus
  23127. type: integer
  23128. - description: 期货订单号(模糊匹配)
  23129. in: query
  23130. name: tradeid
  23131. type: string
  23132. - description: 现货编号(模糊匹配)
  23133. in: query
  23134. name: contractno
  23135. type: string
  23136. - description: 期货账户(模糊匹配)
  23137. in: query
  23138. name: taname
  23139. type: string
  23140. produces:
  23141. - application/json
  23142. responses:
  23143. "200":
  23144. description: OK
  23145. schema:
  23146. items:
  23147. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  23148. type: array
  23149. "500":
  23150. description: Internal Server Error
  23151. schema:
  23152. $ref: '#/definitions/app.Response'
  23153. security:
  23154. - ApiKeyAuth: []
  23155. summary: 查询期现关联记录
  23156. tags:
  23157. - 企业风险管理v3(app)
  23158. /Ermcp3/QueryParamChangeApp:
  23159. get:
  23160. description: |-
  23161. 原型页面:
  23162. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  23163. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  23164. parameters:
  23165. - description: 用户ID
  23166. in: query
  23167. name: userid
  23168. required: true
  23169. type: integer
  23170. - description: 现货品种id
  23171. in: query
  23172. name: deliverygoodsid
  23173. type: integer
  23174. - description: 现货商品id
  23175. in: query
  23176. name: wrstandardid
  23177. type: integer
  23178. - description: 套保商品id
  23179. in: query
  23180. name: middlegoodsid
  23181. type: integer
  23182. - description: 操作类型 1:新增 2:修改
  23183. in: query
  23184. name: operatetype
  23185. type: integer
  23186. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  23187. in: query
  23188. name: paramchangetype
  23189. type: integer
  23190. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23191. in: query
  23192. name: ftstatus
  23193. type: string
  23194. produces:
  23195. - application/json
  23196. responses:
  23197. "200":
  23198. description: OK
  23199. schema:
  23200. items:
  23201. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  23202. type: array
  23203. "500":
  23204. description: Internal Server Error
  23205. schema:
  23206. $ref: '#/definitions/app.Response'
  23207. security:
  23208. - ApiKeyAuth: []
  23209. summary: 查询现货商品参数变更申请(流水)
  23210. tags:
  23211. - 企业风险管理v3(app)
  23212. /Ermcp3/QueryRootUserAccount:
  23213. get:
  23214. parameters:
  23215. - description: 用户ID
  23216. in: query
  23217. name: userid
  23218. required: true
  23219. type: integer
  23220. produces:
  23221. - application/json
  23222. responses:
  23223. "200":
  23224. description: OK
  23225. schema:
  23226. items:
  23227. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  23228. type: array
  23229. "500":
  23230. description: Internal Server Error
  23231. schema:
  23232. $ref: '#/definitions/app.Response'
  23233. security:
  23234. - ApiKeyAuth: []
  23235. summary: 查询顶级用户信息
  23236. tags:
  23237. - 企业风险管理v3(app)
  23238. /Ermcp3/QuerySCMiddleGoods:
  23239. get:
  23240. description: |-
  23241. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  23242. 现货编号 即 合同编号
  23243. parameters:
  23244. - description: 用户ID(填登录用户的userid)
  23245. in: query
  23246. name: userid
  23247. required: true
  23248. type: integer
  23249. - description: 买卖方向 0-买 1-卖
  23250. in: query
  23251. name: buyorsell
  23252. required: true
  23253. type: integer
  23254. - description: 商品组id
  23255. in: query
  23256. name: goodsgroupid
  23257. required: true
  23258. type: integer
  23259. - description: 业务类型 1:套保 2:套利
  23260. in: query
  23261. name: biztype
  23262. type: integer
  23263. - description: 现货编号(模糊匹配)
  23264. in: query
  23265. name: contractno
  23266. type: string
  23267. - description: 对手方(模糊匹配)
  23268. in: query
  23269. name: customername
  23270. type: string
  23271. - description: 现货商品名称(模糊匹配)
  23272. in: query
  23273. name: wrstandardname
  23274. type: string
  23275. produces:
  23276. - application/json
  23277. responses:
  23278. "200":
  23279. description: OK
  23280. schema:
  23281. items:
  23282. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  23283. type: array
  23284. "500":
  23285. description: Internal Server Error
  23286. schema:
  23287. $ref: '#/definitions/app.Response'
  23288. security:
  23289. - ApiKeyAuth: []
  23290. summary: 查询现货订单
  23291. tags:
  23292. - 企业风险管理v3(app)
  23293. /Ermcp3/QuerySpotContract:
  23294. get:
  23295. parameters:
  23296. - description: 用户id(当指定contractid, userid可不填)
  23297. in: query
  23298. name: userid
  23299. required: true
  23300. type: integer
  23301. - description: 用户类型 2-机构 7-企业成员
  23302. in: query
  23303. name: usertype
  23304. type: integer
  23305. - description: 合同类型 1-采购, -1-销售
  23306. in: query
  23307. name: contracttype
  23308. type: integer
  23309. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  23310. in: query
  23311. name: querytype
  23312. type: string
  23313. - description: 合同ID(SpotContractId)
  23314. in: query
  23315. name: contractid
  23316. type: string
  23317. - description: 合同编号(模糊匹配)
  23318. in: query
  23319. name: contractno
  23320. type: string
  23321. - description: 商品名称(模糊匹配)
  23322. in: query
  23323. name: wrstandardname
  23324. type: string
  23325. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  23326. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  23327. in: query
  23328. name: status
  23329. type: string
  23330. - description: 是否只查今日的合同 1-查今日合同
  23331. in: query
  23332. name: istoday
  23333. type: integer
  23334. produces:
  23335. - application/json
  23336. responses:
  23337. "200":
  23338. description: OK
  23339. schema:
  23340. items:
  23341. $ref: '#/definitions/models.Ermcp3Contract'
  23342. type: array
  23343. "500":
  23344. description: Internal Server Error
  23345. schema:
  23346. $ref: '#/definitions/app.Response'
  23347. security:
  23348. - ApiKeyAuth: []
  23349. summary: 查询现货合同
  23350. tags:
  23351. - 企业风险管理v3(app)
  23352. /Ermcp3/QuerySpotContractBS:
  23353. get:
  23354. parameters:
  23355. - description: 用户id
  23356. in: query
  23357. name: userid
  23358. required: true
  23359. type: integer
  23360. - description: 用户类型 2-机构 7-企业成员
  23361. in: query
  23362. name: usertype
  23363. type: integer
  23364. - description: 合同类型 1-采购, -1-销售
  23365. in: query
  23366. name: contracttype
  23367. required: true
  23368. type: integer
  23369. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  23370. in: query
  23371. name: querytype
  23372. type: integer
  23373. - description: 合同ID(SpotContractId)
  23374. in: query
  23375. name: contractid
  23376. type: string
  23377. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  23378. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  23379. in: query
  23380. name: status
  23381. type: string
  23382. - description: 是否只查今日的合同 1-查今日合同
  23383. in: query
  23384. name: istoday
  23385. type: integer
  23386. produces:
  23387. - application/json
  23388. responses:
  23389. "200":
  23390. description: OK
  23391. schema:
  23392. items:
  23393. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  23394. type: array
  23395. "500":
  23396. description: Internal Server Error
  23397. schema:
  23398. $ref: '#/definitions/app.Response'
  23399. security:
  23400. - ApiKeyAuth: []
  23401. summary: 查询合同(采购/销售)
  23402. tags:
  23403. - 企业风险管理v3(app)
  23404. /Ermcp3/QuerySpotGoodsPrice:
  23405. get:
  23406. parameters:
  23407. - description: 用户ID
  23408. in: query
  23409. name: userid
  23410. required: true
  23411. type: integer
  23412. produces:
  23413. - application/json
  23414. responses:
  23415. "200":
  23416. description: OK
  23417. schema:
  23418. items:
  23419. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  23420. type: array
  23421. "500":
  23422. description: Internal Server Error
  23423. schema:
  23424. $ref: '#/definitions/app.Response'
  23425. security:
  23426. - ApiKeyAuth: []
  23427. summary: 查询现货市价(现货市价)
  23428. tags:
  23429. - 企业风险管理v3(app)
  23430. /Ermcp3/QuerySpotGoodsPriceLog:
  23431. get:
  23432. parameters:
  23433. - description: 用户ID
  23434. in: query
  23435. name: userid
  23436. required: true
  23437. type: integer
  23438. - description: 现货商品ID
  23439. in: query
  23440. name: deliverygoodsid
  23441. required: true
  23442. type: integer
  23443. - description: 品牌ID
  23444. in: query
  23445. name: brandid
  23446. type: integer
  23447. - description: 品类ID
  23448. in: query
  23449. name: wrstandardid
  23450. type: integer
  23451. produces:
  23452. - application/json
  23453. responses:
  23454. "200":
  23455. description: OK
  23456. schema:
  23457. items:
  23458. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  23459. type: array
  23460. "500":
  23461. description: Internal Server Error
  23462. schema:
  23463. $ref: '#/definitions/app.Response'
  23464. security:
  23465. - ApiKeyAuth: []
  23466. summary: 查询现货市价详情(现货市价/详情)
  23467. tags:
  23468. - 企业风险管理v3(app)
  23469. /Ermcp3/QuerySubTaaccount:
  23470. get:
  23471. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  23472. parameters:
  23473. - description: 母账号id
  23474. in: query
  23475. name: parentaccountid
  23476. type: integer
  23477. - description: 母账号代码
  23478. in: query
  23479. name: parentaccountcode
  23480. type: string
  23481. produces:
  23482. - application/json
  23483. responses:
  23484. "200":
  23485. description: OK
  23486. schema:
  23487. items:
  23488. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  23489. type: array
  23490. "500":
  23491. description: Internal Server Error
  23492. schema:
  23493. $ref: '#/definitions/app.Response'
  23494. security:
  23495. - ApiKeyAuth: []
  23496. summary: 查询期货子账户
  23497. tags:
  23498. - 企业风险管理v3(app)
  23499. /Erms2/QueryArbitrageStrategy:
  23500. get:
  23501. parameters:
  23502. - description: 账户ID
  23503. in: query
  23504. name: userid
  23505. required: true
  23506. type: integer
  23507. - description: 商品组ID(品种ID)
  23508. in: query
  23509. name: goodsgroupid
  23510. type: string
  23511. produces:
  23512. - application/json
  23513. responses:
  23514. "200":
  23515. description: OK
  23516. schema:
  23517. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  23518. "500":
  23519. description: Internal Server Error
  23520. schema:
  23521. $ref: '#/definitions/app.Response'
  23522. security:
  23523. - ApiKeyAuth: []
  23524. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  23525. tags:
  23526. - 风险管理
  23527. /Erms2/QueryInnerTradeDetail:
  23528. get:
  23529. parameters:
  23530. - description: 资金账户
  23531. in: query
  23532. name: accountid
  23533. required: true
  23534. type: integer
  23535. produces:
  23536. - application/json
  23537. responses:
  23538. "200":
  23539. description: OK
  23540. schema:
  23541. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  23542. "500":
  23543. description: Internal Server Error
  23544. schema:
  23545. $ref: '#/definitions/app.Response'
  23546. security:
  23547. - ApiKeyAuth: []
  23548. summary: 查询内部成交单信息
  23549. tags:
  23550. - 风险管理
  23551. /Erms2/QuerySpotContract:
  23552. get:
  23553. parameters:
  23554. - description: 策略申请ID
  23555. in: query
  23556. name: asapplyid
  23557. required: true
  23558. type: integer
  23559. - description: 现货合同ID
  23560. in: query
  23561. name: spotcontractid
  23562. type: integer
  23563. produces:
  23564. - application/json
  23565. responses:
  23566. "200":
  23567. description: OK
  23568. schema:
  23569. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  23570. "500":
  23571. description: Internal Server Error
  23572. schema:
  23573. $ref: '#/definitions/app.Response'
  23574. security:
  23575. - ApiKeyAuth: []
  23576. summary: 查询现货合同表信息(指定策略ID、未结束的)
  23577. tags:
  23578. - 风险管理
  23579. /Erms3/AddErms2ASApply:
  23580. post:
  23581. parameters:
  23582. - description: 申请参数
  23583. in: body
  23584. name: jsonBody
  23585. required: true
  23586. schema:
  23587. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  23588. produces:
  23589. - application/json
  23590. responses:
  23591. "200":
  23592. description: OK
  23593. schema:
  23594. $ref: '#/definitions/app.Response'
  23595. "500":
  23596. description: Internal Server Error
  23597. schema:
  23598. $ref: '#/definitions/app.Response'
  23599. security:
  23600. - ApiKeyAuth: []
  23601. summary: 新增期现套利业务申请
  23602. tags:
  23603. - 风险管理v3
  23604. /Erms3/AddErms2SpotTradeApply:
  23605. post:
  23606. parameters:
  23607. - description: 申请参数
  23608. in: body
  23609. name: jsonBody
  23610. required: true
  23611. schema:
  23612. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  23613. produces:
  23614. - application/json
  23615. responses:
  23616. "200":
  23617. description: OK
  23618. schema:
  23619. $ref: '#/definitions/app.Response'
  23620. "500":
  23621. description: Internal Server Error
  23622. schema:
  23623. $ref: '#/definitions/app.Response'
  23624. security:
  23625. - ApiKeyAuth: []
  23626. summary: 新增现货贸易业务申请
  23627. tags:
  23628. - 风险管理v3
  23629. /Erms3/AddSpotContractApply:
  23630. post:
  23631. parameters:
  23632. - description: 申请参数
  23633. in: body
  23634. name: jsonBody
  23635. required: true
  23636. schema:
  23637. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  23638. produces:
  23639. - application/json
  23640. responses:
  23641. "200":
  23642. description: OK
  23643. schema:
  23644. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  23645. "500":
  23646. description: Internal Server Error
  23647. schema:
  23648. $ref: '#/definitions/app.Response'
  23649. security:
  23650. - ApiKeyAuth: []
  23651. summary: 新增现货合同申请
  23652. tags:
  23653. - 风险管理v3
  23654. /Erms3/AddUserInfoApply:
  23655. post:
  23656. parameters:
  23657. - description: 用户信息
  23658. in: body
  23659. name: jsonBody
  23660. required: true
  23661. schema:
  23662. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  23663. produces:
  23664. - application/json
  23665. responses:
  23666. "200":
  23667. description: OK
  23668. schema:
  23669. $ref: '#/definitions/app.Response'
  23670. "500":
  23671. description: Internal Server Error
  23672. schema:
  23673. $ref: '#/definitions/app.Response'
  23674. security:
  23675. - ApiKeyAuth: []
  23676. summary: 新增客户申请
  23677. tags:
  23678. - 风险管理v3
  23679. /Erms3/DeleteUserInfoApply:
  23680. get:
  23681. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  23682. parameters:
  23683. - description: 用户ID
  23684. in: query
  23685. name: userID
  23686. required: true
  23687. type: integer
  23688. produces:
  23689. - application/json
  23690. responses:
  23691. "200":
  23692. description: OK
  23693. schema:
  23694. $ref: '#/definitions/app.Response'
  23695. "500":
  23696. description: Internal Server Error
  23697. schema:
  23698. $ref: '#/definitions/app.Response'
  23699. security:
  23700. - ApiKeyAuth: []
  23701. summary: 删除客户申请
  23702. tags:
  23703. - 风险管理v3
  23704. /Erms3/ModifyUserInfoApply:
  23705. post:
  23706. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  23707. int, "userstate": 2 }'
  23708. parameters:
  23709. - description: 用户信息
  23710. in: body
  23711. name: jsonBody
  23712. required: true
  23713. schema:
  23714. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  23715. produces:
  23716. - application/json
  23717. responses:
  23718. "200":
  23719. description: OK
  23720. schema:
  23721. $ref: '#/definitions/app.Response'
  23722. "500":
  23723. description: Internal Server Error
  23724. schema:
  23725. $ref: '#/definitions/app.Response'
  23726. security:
  23727. - ApiKeyAuth: []
  23728. summary: 修改客户申请
  23729. tags:
  23730. - 风险管理v3
  23731. /Erms3/QueryBusinessInfo:
  23732. get:
  23733. parameters:
  23734. - description: 资金账号ID列表,用逗号分隔
  23735. in: query
  23736. name: accountids
  23737. required: true
  23738. type: string
  23739. - description: 状态,0为未结束 1为已结束
  23740. in: query
  23741. name: status
  23742. required: true
  23743. type: integer
  23744. produces:
  23745. - application/json
  23746. responses:
  23747. "200":
  23748. description: OK
  23749. schema:
  23750. items:
  23751. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  23752. type: array
  23753. "500":
  23754. description: Internal Server Error
  23755. schema:
  23756. $ref: '#/definitions/app.Response'
  23757. security:
  23758. - ApiKeyAuth: []
  23759. summary: 查询业务表单数据
  23760. tags:
  23761. - 风险管理v3
  23762. /Erms3/QueryPendingAuditContract:
  23763. get:
  23764. parameters:
  23765. - description: 资金账号ID列表,逗号隔开
  23766. in: query
  23767. name: accountids
  23768. required: true
  23769. type: string
  23770. - description: 合同类型 1-采购 -1-销售
  23771. in: query
  23772. name: contracttype
  23773. required: true
  23774. type: integer
  23775. - description: 合同模式 1-普通 2-回购
  23776. in: query
  23777. name: contractmode
  23778. required: true
  23779. type: integer
  23780. produces:
  23781. - application/json
  23782. responses:
  23783. "200":
  23784. description: OK
  23785. schema:
  23786. items:
  23787. $ref: '#/definitions/erms3.QryAuditContractRsp'
  23788. type: array
  23789. "500":
  23790. description: Internal Server Error
  23791. schema:
  23792. $ref: '#/definitions/app.Response'
  23793. security:
  23794. - ApiKeyAuth: []
  23795. summary: 查询待审核合同
  23796. tags:
  23797. - 风险管理v3
  23798. /Erms3/QueryPendingBusiness:
  23799. get:
  23800. parameters:
  23801. - description: 资金账号ID列表,逗号隔开
  23802. in: query
  23803. name: accountids
  23804. required: true
  23805. type: string
  23806. produces:
  23807. - application/json
  23808. responses:
  23809. "200":
  23810. description: OK
  23811. schema:
  23812. items:
  23813. $ref: '#/definitions/erms3.QryPendingBizRsp'
  23814. type: array
  23815. "500":
  23816. description: Internal Server Error
  23817. schema:
  23818. $ref: '#/definitions/app.Response'
  23819. security:
  23820. - ApiKeyAuth: []
  23821. summary: 查询待审核基差贸易业务
  23822. tags:
  23823. - 风险管理v3
  23824. /Erms3/QuerySpotContractAppleForm:
  23825. get:
  23826. parameters:
  23827. - description: 登录账号
  23828. in: query
  23829. name: loginID
  23830. required: true
  23831. type: integer
  23832. produces:
  23833. - application/json
  23834. responses:
  23835. "200":
  23836. description: OK
  23837. schema:
  23838. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  23839. "500":
  23840. description: Internal Server Error
  23841. schema:
  23842. $ref: '#/definitions/app.Response'
  23843. security:
  23844. - ApiKeyAuth: []
  23845. summary: 查询合同申请表单数据
  23846. tags:
  23847. - 风险管理v3
  23848. /Erms3/QuerySpotContractDetail:
  23849. get:
  23850. parameters:
  23851. - description: 资金账号ID列表,用逗号分隔
  23852. in: query
  23853. name: accountids
  23854. required: true
  23855. type: string
  23856. - description: 合同类型,1为采购合同 -1为销售合同
  23857. in: query
  23858. name: contracttype
  23859. required: true
  23860. type: integer
  23861. - description: 合同模式,1为普通合同 2为回购销售合同
  23862. in: query
  23863. name: contractmode
  23864. required: true
  23865. type: integer
  23866. - description: 状态,0为履约中 1为已完成
  23867. in: query
  23868. name: status
  23869. required: true
  23870. type: integer
  23871. produces:
  23872. - application/json
  23873. responses:
  23874. "200":
  23875. description: OK
  23876. schema:
  23877. items:
  23878. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  23879. type: array
  23880. "500":
  23881. description: Internal Server Error
  23882. schema:
  23883. $ref: '#/definitions/app.Response'
  23884. security:
  23885. - ApiKeyAuth: []
  23886. summary: 查询合同详细信息
  23887. tags:
  23888. - 风险管理v3
  23889. /Erms3/QueryUserInfoApplies:
  23890. get:
  23891. parameters:
  23892. - description: 页码
  23893. in: query
  23894. name: page
  23895. type: integer
  23896. - description: 每页条数
  23897. in: query
  23898. name: pagesize
  23899. type: integer
  23900. - description: 客户名称,支持模糊查询
  23901. in: query
  23902. name: userName
  23903. type: string
  23904. produces:
  23905. - application/json
  23906. responses:
  23907. "200":
  23908. description: OK
  23909. schema:
  23910. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  23911. "500":
  23912. description: Internal Server Error
  23913. schema:
  23914. $ref: '#/definitions/app.Response'
  23915. security:
  23916. - ApiKeyAuth: []
  23917. summary: 客户申请信息查询
  23918. tags:
  23919. - 风险管理v3
  23920. /Erms3/QueryUserInfos:
  23921. get:
  23922. parameters:
  23923. - description: 页码
  23924. in: query
  23925. name: page
  23926. type: integer
  23927. - description: 每页条数
  23928. in: query
  23929. name: pagesize
  23930. type: integer
  23931. - description: 客户名称,支持模糊查询
  23932. in: query
  23933. name: userName
  23934. type: string
  23935. produces:
  23936. - application/json
  23937. responses:
  23938. "200":
  23939. description: OK
  23940. schema:
  23941. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  23942. "500":
  23943. description: Internal Server Error
  23944. schema:
  23945. $ref: '#/definitions/app.Response'
  23946. security:
  23947. - ApiKeyAuth: []
  23948. summary: 客户信息查询
  23949. tags:
  23950. - 风险管理v3
  23951. /HSBY/GetHsbyMyCount:
  23952. get:
  23953. description: 说明: 不包括已完成的数量。
  23954. parameters:
  23955. - description: 资金账户列表,格式:1,2,3
  23956. in: query
  23957. name: accountIDs
  23958. required: true
  23959. type: string
  23960. produces:
  23961. - application/json
  23962. responses:
  23963. "200":
  23964. description: OK
  23965. schema:
  23966. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  23967. "500":
  23968. description: Internal Server Error
  23969. schema:
  23970. $ref: '#/definitions/app.Response'
  23971. security:
  23972. - ApiKeyAuth: []
  23973. summary: 获取我的订单与包裹数量
  23974. tags:
  23975. - 定制【海商报业】
  23976. /HSBY/QueryClientFixedADConfigs:
  23977. get:
  23978. produces:
  23979. - application/json
  23980. responses:
  23981. "200":
  23982. description: OK
  23983. schema:
  23984. $ref: '#/definitions/models.Clientfixedadconfig'
  23985. "500":
  23986. description: Internal Server Error
  23987. schema:
  23988. $ref: '#/definitions/app.Response'
  23989. security:
  23990. - ApiKeyAuth: []
  23991. summary: 获取终端固定广告配置
  23992. tags:
  23993. - 定制【海商报业】
  23994. /HSBY/QueryHsbyBuyMyTradeDetail:
  23995. get:
  23996. parameters:
  23997. - description: 页码
  23998. in: query
  23999. name: page
  24000. type: integer
  24001. - description: 每页条数
  24002. in: query
  24003. name: pagesize
  24004. type: integer
  24005. - description: 资金账户列表,格式:1,2,3
  24006. in: query
  24007. name: accountIDs
  24008. required: true
  24009. type: string
  24010. produces:
  24011. - application/json
  24012. responses:
  24013. "200":
  24014. description: OK
  24015. schema:
  24016. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  24017. "500":
  24018. description: Internal Server Error
  24019. schema:
  24020. $ref: '#/definitions/app.Response'
  24021. security:
  24022. - ApiKeyAuth: []
  24023. summary: 查询"我的订单 - 已完成"单据信息
  24024. tags:
  24025. - 定制【海商报业】
  24026. /HSBY/QueryHsbyGoodsOrderDetails:
  24027. get:
  24028. description: 说明:查询结果已按委托价格和委托时间排序
  24029. parameters:
  24030. - description: 商品ID
  24031. in: query
  24032. name: goodsID
  24033. required: true
  24034. type: integer
  24035. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  24036. in: query
  24037. name: accountIDs
  24038. type: string
  24039. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  24040. in: query
  24041. name: buyOrSell
  24042. type: integer
  24043. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  24044. in: query
  24045. name: price
  24046. type: number
  24047. - description: 档位,不传则默认为3档
  24048. in: query
  24049. name: speed
  24050. type: integer
  24051. produces:
  24052. - application/json
  24053. responses:
  24054. "200":
  24055. description: OK
  24056. schema:
  24057. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  24058. "500":
  24059. description: Internal Server Error
  24060. schema:
  24061. $ref: '#/definitions/app.Response'
  24062. security:
  24063. - ApiKeyAuth: []
  24064. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  24065. tags:
  24066. - 定制【海商报业】
  24067. /HSBY/QueryHsbyListingGoodsDetail:
  24068. get:
  24069. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  24070. parameters:
  24071. - description: 商品ID
  24072. in: query
  24073. name: goodsID
  24074. required: true
  24075. type: integer
  24076. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  24077. in: query
  24078. name: accountID
  24079. type: integer
  24080. produces:
  24081. - application/json
  24082. responses:
  24083. "200":
  24084. description: OK
  24085. schema:
  24086. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  24087. "500":
  24088. description: Internal Server Error
  24089. schema:
  24090. $ref: '#/definitions/app.Response'
  24091. security:
  24092. - ApiKeyAuth: []
  24093. summary: 查询二级市场(挂牌点选)商品信息详情
  24094. tags:
  24095. - 定制【海商报业】
  24096. /HSBY/QueryHsbyMarketGoodsDetail:
  24097. get:
  24098. parameters:
  24099. - description: 委托单号
  24100. in: query
  24101. name: orderID
  24102. required: true
  24103. type: integer
  24104. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  24105. in: query
  24106. name: accountID
  24107. type: integer
  24108. produces:
  24109. - application/json
  24110. responses:
  24111. "200":
  24112. description: OK
  24113. schema:
  24114. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  24115. "500":
  24116. description: Internal Server Error
  24117. schema:
  24118. $ref: '#/definitions/app.Response'
  24119. security:
  24120. - ApiKeyAuth: []
  24121. summary: 查询三级市场(商城)商品信息详情
  24122. tags:
  24123. - 定制【海商报业】
  24124. /HSBY/QueryHsbyMarketGoodses:
  24125. get:
  24126. parameters:
  24127. - description: 页码
  24128. in: query
  24129. name: page
  24130. type: integer
  24131. - description: 每页条数
  24132. in: query
  24133. name: pagesize
  24134. type: integer
  24135. - description: 市场ID列表,格式:1,2,3
  24136. in: query
  24137. name: marketIDs
  24138. required: true
  24139. type: string
  24140. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  24141. in: query
  24142. name: accountID
  24143. required: true
  24144. type: integer
  24145. - description: 类别ID
  24146. in: query
  24147. name: categoryID
  24148. type: integer
  24149. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  24150. in: query
  24151. name: goodsIDs
  24152. type: string
  24153. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  24154. in: query
  24155. name: couponTypeID
  24156. type: integer
  24157. produces:
  24158. - application/json
  24159. responses:
  24160. "200":
  24161. description: OK
  24162. schema:
  24163. $ref: '#/definitions/models.HsbyMarketGoods'
  24164. "500":
  24165. description: Internal Server Error
  24166. schema:
  24167. $ref: '#/definitions/app.Response'
  24168. security:
  24169. - ApiKeyAuth: []
  24170. summary: 查询特卖商品列表(三级商城)
  24171. tags:
  24172. - 定制【海商报业】
  24173. /HSBY/QueryHsbyMarkets:
  24174. get:
  24175. produces:
  24176. - application/json
  24177. responses:
  24178. "200":
  24179. description: OK
  24180. schema:
  24181. $ref: '#/definitions/models.HsbyMarketInfo'
  24182. "500":
  24183. description: Internal Server Error
  24184. schema:
  24185. $ref: '#/definitions/app.Response'
  24186. security:
  24187. - ApiKeyAuth: []
  24188. summary: 查询海商报业相关市场信息
  24189. tags:
  24190. - 定制【海商报业】
  24191. /HSBY/QueryHsbyMyBuyOrderDetails:
  24192. get:
  24193. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  24194. parameters:
  24195. - description: 资金账户列表,格式:1,2,3
  24196. in: query
  24197. name: accountIDs
  24198. required: true
  24199. type: string
  24200. produces:
  24201. - application/json
  24202. responses:
  24203. "200":
  24204. description: OK
  24205. schema:
  24206. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  24207. "500":
  24208. description: Internal Server Error
  24209. schema:
  24210. $ref: '#/definitions/app.Response'
  24211. security:
  24212. - ApiKeyAuth: []
  24213. summary: 查询“我的订单”信息
  24214. tags:
  24215. - 定制【海商报业】
  24216. /HSBY/QueryHsbyMyGoods:
  24217. get:
  24218. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  24219. parameters:
  24220. - description: 资金账户列表,格式:1,2,3
  24221. in: query
  24222. name: accountIDs
  24223. required: true
  24224. type: string
  24225. produces:
  24226. - application/json
  24227. responses:
  24228. "200":
  24229. description: OK
  24230. schema:
  24231. $ref: '#/definitions/models.HsbyMyGoods'
  24232. "500":
  24233. description: Internal Server Error
  24234. schema:
  24235. $ref: '#/definitions/app.Response'
  24236. security:
  24237. - ApiKeyAuth: []
  24238. summary: 查询“我的商品”信息
  24239. tags:
  24240. - 定制【海商报业】
  24241. /HSBY/QueryHsbyMyPackages:
  24242. get:
  24243. parameters:
  24244. - description: 资金账户列表,格式:1,2,3
  24245. in: query
  24246. name: accountIDs
  24247. required: true
  24248. type: string
  24249. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  24250. in: query
  24251. name: takeOrderStatus
  24252. type: integer
  24253. produces:
  24254. - application/json
  24255. responses:
  24256. "200":
  24257. description: OK
  24258. schema:
  24259. $ref: '#/definitions/models.HsbyMyPackage'
  24260. "500":
  24261. description: Internal Server Error
  24262. schema:
  24263. $ref: '#/definitions/app.Response'
  24264. security:
  24265. - ApiKeyAuth: []
  24266. summary: 查询我的包裹信息
  24267. tags:
  24268. - 定制【海商报业】
  24269. /HSBY/QueryHsbyPreGoodsDetail:
  24270. get:
  24271. parameters:
  24272. - description: 商品ID
  24273. in: query
  24274. name: goodsID
  24275. required: true
  24276. type: integer
  24277. - description: 资金账户,主要用于获取预售商品购买上限
  24278. in: query
  24279. name: accountID
  24280. type: integer
  24281. produces:
  24282. - application/json
  24283. responses:
  24284. "200":
  24285. description: OK
  24286. schema:
  24287. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  24288. "500":
  24289. description: Internal Server Error
  24290. schema:
  24291. $ref: '#/definitions/app.Response'
  24292. security:
  24293. - ApiKeyAuth: []
  24294. summary: 查询一级市场(预售)商品信息详情
  24295. tags:
  24296. - 定制【海商报业】
  24297. /HSBY/QueryHsbyPreGoodses:
  24298. get:
  24299. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  24300. parameters:
  24301. - description: 页码
  24302. in: query
  24303. name: page
  24304. type: integer
  24305. - description: 每页条数
  24306. in: query
  24307. name: pagesize
  24308. type: integer
  24309. - description: 市场ID列表,格式:1,2,3
  24310. in: query
  24311. name: marketIDs
  24312. required: true
  24313. type: string
  24314. - description: 目的地(省)ID
  24315. in: query
  24316. name: descProvinceID
  24317. type: integer
  24318. - description: 目的地(市)ID
  24319. in: query
  24320. name: descCityID
  24321. type: integer
  24322. produces:
  24323. - application/json
  24324. responses:
  24325. "200":
  24326. description: OK
  24327. schema:
  24328. $ref: '#/definitions/models.HsbyPreGoods'
  24329. "500":
  24330. description: Internal Server Error
  24331. schema:
  24332. $ref: '#/definitions/app.Response'
  24333. security:
  24334. - ApiKeyAuth: []
  24335. summary: 查询新品上市商品列表(一级市场预售)
  24336. tags:
  24337. - 定制【海商报业】
  24338. /HSBY/QueryHsbySellMyDetails:
  24339. get:
  24340. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  24341. parameters:
  24342. - description: 页码
  24343. in: query
  24344. name: page
  24345. type: integer
  24346. - description: 每页条数
  24347. in: query
  24348. name: pagesize
  24349. type: integer
  24350. - description: 资金账户列表,格式:1,2,3
  24351. in: query
  24352. name: accountIDs
  24353. required: true
  24354. type: string
  24355. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  24356. in: query
  24357. name: orderType
  24358. type: integer
  24359. produces:
  24360. - application/json
  24361. responses:
  24362. "200":
  24363. description: OK
  24364. schema:
  24365. $ref: '#/definitions/models.HsbySellMyDetail'
  24366. "500":
  24367. description: Internal Server Error
  24368. schema:
  24369. $ref: '#/definitions/app.Response'
  24370. security:
  24371. - ApiKeyAuth: []
  24372. summary: 查询"我的闲置"单据信息
  24373. tags:
  24374. - 定制【海商报业】
  24375. /HSBY/QueryHsbyTopGoodses:
  24376. get:
  24377. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  24378. parameters:
  24379. - description: 页码
  24380. in: query
  24381. name: page
  24382. type: integer
  24383. - description: 每页条数
  24384. in: query
  24385. name: pagesize
  24386. type: integer
  24387. - description: 市场ID列表,格式:1,2,3
  24388. in: query
  24389. name: marketIDs
  24390. required: true
  24391. type: string
  24392. - description: 目的地(省)ID
  24393. in: query
  24394. name: descProvinceID
  24395. type: integer
  24396. - description: 目的地(市)ID
  24397. in: query
  24398. name: descCityID
  24399. type: integer
  24400. produces:
  24401. - application/json
  24402. responses:
  24403. "200":
  24404. description: OK
  24405. schema:
  24406. $ref: '#/definitions/models.HsbyTopGoods'
  24407. "500":
  24408. description: Internal Server Error
  24409. schema:
  24410. $ref: '#/definitions/app.Response'
  24411. security:
  24412. - ApiKeyAuth: []
  24413. summary: 查询热卖商品列表(二级市场挂牌点选)
  24414. tags:
  24415. - 定制【海商报业】
  24416. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  24417. get:
  24418. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  24419. parameters:
  24420. - description: 商品ID
  24421. in: query
  24422. name: goodsID
  24423. required: true
  24424. type: integer
  24425. produces:
  24426. - application/json
  24427. responses:
  24428. "200":
  24429. description: OK
  24430. schema:
  24431. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  24432. "500":
  24433. description: Internal Server Error
  24434. schema:
  24435. $ref: '#/definitions/app.Response'
  24436. security:
  24437. - ApiKeyAuth: []
  24438. summary: 查询游客三级市场(商城)商品信息详情
  24439. tags:
  24440. - 定制【海商报业】
  24441. /HSBY/QueryHsbyVisitorMarketGoodses:
  24442. get:
  24443. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  24444. parameters:
  24445. - description: 页码
  24446. in: query
  24447. name: page
  24448. type: integer
  24449. - description: 每页条数
  24450. in: query
  24451. name: pagesize
  24452. type: integer
  24453. - description: 市场ID列表,格式:1,2,3
  24454. in: query
  24455. name: marketIDs
  24456. required: true
  24457. type: string
  24458. - description: 类别ID
  24459. in: query
  24460. name: categoryID
  24461. type: integer
  24462. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  24463. in: query
  24464. name: goodsIDs
  24465. type: string
  24466. produces:
  24467. - application/json
  24468. responses:
  24469. "200":
  24470. description: OK
  24471. schema:
  24472. $ref: '#/definitions/models.HsbyMarketGoods'
  24473. "500":
  24474. description: Internal Server Error
  24475. schema:
  24476. $ref: '#/definitions/app.Response'
  24477. security:
  24478. - ApiKeyAuth: []
  24479. summary: 查询游客特卖商品列表(三级商城)
  24480. tags:
  24481. - 定制【海商报业】
  24482. /HSBY/QueryMyCollectionOrders:
  24483. get:
  24484. parameters:
  24485. - description: 页码
  24486. in: query
  24487. name: page
  24488. type: integer
  24489. - description: 每页条数
  24490. in: query
  24491. name: pagesize
  24492. type: integer
  24493. - description: 资金账户,格式:1,2,3
  24494. in: query
  24495. name: accountIDs
  24496. required: true
  24497. type: string
  24498. produces:
  24499. - application/json
  24500. responses:
  24501. "200":
  24502. description: OK
  24503. schema:
  24504. $ref: '#/definitions/models.HsbySellCollectionOrder'
  24505. "500":
  24506. description: Internal Server Error
  24507. schema:
  24508. $ref: '#/definitions/app.Response'
  24509. security:
  24510. - ApiKeyAuth: []
  24511. summary: 我的闲置中收款信息查询
  24512. tags:
  24513. - 定制【海商报业】
  24514. /HSBY/QueryMyCouponHolds:
  24515. get:
  24516. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  24517. parameters:
  24518. - description: 资金账户列表,格式:1,2,3
  24519. in: query
  24520. name: accountIDs
  24521. required: true
  24522. type: string
  24523. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  24524. in: query
  24525. name: holdStatus
  24526. type: string
  24527. produces:
  24528. - application/json
  24529. responses:
  24530. "200":
  24531. description: OK
  24532. schema:
  24533. $ref: '#/definitions/models.MyCouponHold'
  24534. "500":
  24535. description: Internal Server Error
  24536. schema:
  24537. $ref: '#/definitions/app.Response'
  24538. security:
  24539. - ApiKeyAuth: []
  24540. summary: 我的优惠卷持仓查询
  24541. tags:
  24542. - 定制【海商报业】
  24543. /HSBY/QueryMyCoupons:
  24544. get:
  24545. parameters:
  24546. - description: 资金账户列表,格式:1,2,3
  24547. in: query
  24548. name: accountIDs
  24549. required: true
  24550. type: string
  24551. - description: 商品ID, 一般与sellUserID配套传入
  24552. in: query
  24553. name: goodsID
  24554. type: integer
  24555. - description: 卖方UserID
  24556. in: query
  24557. name: sellUserID
  24558. type: integer
  24559. produces:
  24560. - application/json
  24561. responses:
  24562. "200":
  24563. description: OK
  24564. schema:
  24565. $ref: '#/definitions/models.MyCoupon'
  24566. "500":
  24567. description: Internal Server Error
  24568. schema:
  24569. $ref: '#/definitions/app.Response'
  24570. security:
  24571. - ApiKeyAuth: []
  24572. summary: 我的优惠卷查询
  24573. tags:
  24574. - 定制【海商报业】
  24575. /HSBY/QueryMyPayOrders:
  24576. get:
  24577. parameters:
  24578. - description: 页码
  24579. in: query
  24580. name: page
  24581. type: integer
  24582. - description: 每页条数
  24583. in: query
  24584. name: pagesize
  24585. type: integer
  24586. - description: 资金账户列表,格式:1,2,3
  24587. in: query
  24588. name: accountIDs
  24589. required: true
  24590. type: string
  24591. - description: 买方委托单号
  24592. in: query
  24593. name: buyOrderID
  24594. type: integer
  24595. - description: 卖方委托单号
  24596. in: query
  24597. name: sellOrderID
  24598. type: integer
  24599. produces:
  24600. - application/json
  24601. responses:
  24602. "200":
  24603. description: OK
  24604. schema:
  24605. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  24606. "500":
  24607. description: Internal Server Error
  24608. schema:
  24609. $ref: '#/definitions/app.Response'
  24610. security:
  24611. - ApiKeyAuth: []
  24612. summary: 获取我的订单中待付款信息
  24613. tags:
  24614. - 定制【海商报业】
  24615. /HSBY/QueryMyUsedCoupon:
  24616. get:
  24617. parameters:
  24618. - description: 资金账户列表,格式:1,2,3
  24619. in: query
  24620. name: accountIDs
  24621. required: true
  24622. type: string
  24623. produces:
  24624. - application/json
  24625. responses:
  24626. "200":
  24627. description: OK
  24628. schema:
  24629. $ref: '#/definitions/models.MyUsedCoupon'
  24630. "500":
  24631. description: Internal Server Error
  24632. schema:
  24633. $ref: '#/definitions/app.Response'
  24634. security:
  24635. - ApiKeyAuth: []
  24636. summary: 已使用优惠卷查询
  24637. tags:
  24638. - 定制【海商报业】
  24639. /HSBY/QueryProvincesAndCities:
  24640. get:
  24641. description: 查询结果只包括二级市场商品已关连的省市信息。
  24642. parameters:
  24643. - description: 省ID
  24644. in: query
  24645. name: provinceID
  24646. type: integer
  24647. produces:
  24648. - application/json
  24649. responses:
  24650. "200":
  24651. description: OK
  24652. schema:
  24653. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  24654. "500":
  24655. description: Internal Server Error
  24656. schema:
  24657. $ref: '#/definitions/app.Response'
  24658. security:
  24659. - ApiKeyAuth: []
  24660. summary: 查询省市信息(不包括区)
  24661. tags:
  24662. - 定制【海商报业】
  24663. /HSBY/SetHsbyMyPackagesStatus:
  24664. post:
  24665. parameters:
  24666. - description: 提货单号
  24667. in: query
  24668. name: takeOrderID
  24669. required: true
  24670. type: string
  24671. - description: 资金账号
  24672. in: query
  24673. name: accountID
  24674. required: true
  24675. type: integer
  24676. produces:
  24677. - application/json
  24678. responses:
  24679. "200":
  24680. description: OK
  24681. schema:
  24682. $ref: '#/definitions/app.Response'
  24683. "500":
  24684. description: Internal Server Error
  24685. schema:
  24686. $ref: '#/definitions/app.Response'
  24687. security:
  24688. - ApiKeyAuth: []
  24689. summary: 设置我的包裹已收货状态
  24690. tags:
  24691. - 定制【海商报业】
  24692. /Market/GetAllExExchanges:
  24693. get:
  24694. produces:
  24695. - application/json
  24696. responses:
  24697. "200":
  24698. description: OK
  24699. schema:
  24700. $ref: '#/definitions/models.Goods'
  24701. "500":
  24702. description: Internal Server Error
  24703. schema:
  24704. $ref: '#/definitions/app.Response'
  24705. security:
  24706. - ApiKeyAuth: []
  24707. summary: 获取所有外部交易所信息
  24708. tags:
  24709. - 通用市场
  24710. /Market/QueryGoodsesByLoginID:
  24711. get:
  24712. parameters:
  24713. - description: 登录账号
  24714. in: query
  24715. name: loginID
  24716. required: true
  24717. type: integer
  24718. - description: 市场ID列表,格式:1,2,3
  24719. in: query
  24720. name: marketIDs
  24721. type: string
  24722. produces:
  24723. - application/json
  24724. responses:
  24725. "200":
  24726. description: OK
  24727. schema:
  24728. $ref: '#/definitions/models.Goods'
  24729. "500":
  24730. description: Internal Server Error
  24731. schema:
  24732. $ref: '#/definitions/app.Response'
  24733. security:
  24734. - ApiKeyAuth: []
  24735. summary: 获取登录账号有权限的商品信息
  24736. tags:
  24737. - 通用市场
  24738. /Market/QueryMarketRun:
  24739. get:
  24740. parameters:
  24741. - description: 市场ID,不传返回所有
  24742. in: query
  24743. name: marketID
  24744. type: integer
  24745. produces:
  24746. - application/json
  24747. responses:
  24748. "200":
  24749. description: OK
  24750. schema:
  24751. $ref: '#/definitions/models.Marketrun'
  24752. "500":
  24753. description: Internal Server Error
  24754. schema:
  24755. $ref: '#/definitions/app.Response'
  24756. security:
  24757. - ApiKeyAuth: []
  24758. summary: 查询市场运行信息
  24759. tags:
  24760. - 通用市场
  24761. /Market/QueryMarketsByLoginID:
  24762. get:
  24763. parameters:
  24764. - description: 登录账号
  24765. in: query
  24766. name: loginID
  24767. required: true
  24768. type: integer
  24769. produces:
  24770. - application/json
  24771. responses:
  24772. "200":
  24773. description: OK
  24774. schema:
  24775. $ref: '#/definitions/models.Market'
  24776. "500":
  24777. description: Internal Server Error
  24778. schema:
  24779. $ref: '#/definitions/app.Response'
  24780. security:
  24781. - ApiKeyAuth: []
  24782. summary: 获取登录账号有权限的市场信息
  24783. tags:
  24784. - 通用市场
  24785. /Order/QueryHisTradeDetail:
  24786. get:
  24787. parameters:
  24788. - description: 资金账户 - 格式:1,2,3
  24789. in: query
  24790. name: accountID
  24791. required: true
  24792. type: string
  24793. - description: 成交单号
  24794. in: query
  24795. name: tradeID
  24796. type: integer
  24797. - description: 委托单号
  24798. in: query
  24799. name: orderID
  24800. type: integer
  24801. - description: 商品ID
  24802. in: query
  24803. name: goodsID
  24804. type: integer
  24805. - description: 交易模式 - 格式:1,2,3
  24806. in: query
  24807. name: tradeMode
  24808. type: string
  24809. - description: 委托单据类型
  24810. in: query
  24811. name: buildType
  24812. type: integer
  24813. - description: 成交类别 - 格式:1,2,3
  24814. in: query
  24815. name: tradeType
  24816. type: string
  24817. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24818. in: query
  24819. name: startDate
  24820. type: string
  24821. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24822. in: query
  24823. name: endDate
  24824. type: string
  24825. produces:
  24826. - application/json
  24827. responses:
  24828. "200":
  24829. description: OK
  24830. schema:
  24831. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  24832. "500":
  24833. description: Internal Server Error
  24834. schema:
  24835. $ref: '#/definitions/app.Response'
  24836. security:
  24837. - ApiKeyAuth: []
  24838. summary: 历史成交单查询(合约市场)
  24839. tags:
  24840. - 通用单据
  24841. /Order/QueryHisTradeOrderDetail:
  24842. get:
  24843. parameters:
  24844. - description: 资金账户 - 格式:1,2,3
  24845. in: query
  24846. name: accountID
  24847. required: true
  24848. type: string
  24849. - description: 交易模式 - 格式:1,2,3
  24850. in: query
  24851. name: tradeMode
  24852. type: string
  24853. - description: 委托状态 - 格式:1,2,3
  24854. in: query
  24855. name: orderStatus
  24856. type: string
  24857. - description: 委托单号
  24858. in: query
  24859. name: orderID
  24860. type: integer
  24861. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24862. in: query
  24863. name: startDate
  24864. type: string
  24865. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24866. in: query
  24867. name: endDate
  24868. type: string
  24869. produces:
  24870. - application/json
  24871. responses:
  24872. "200":
  24873. description: OK
  24874. schema:
  24875. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  24876. "500":
  24877. description: Internal Server Error
  24878. schema:
  24879. $ref: '#/definitions/app.Response'
  24880. security:
  24881. - ApiKeyAuth: []
  24882. summary: 历史委托单查询请求(合约市场)
  24883. tags:
  24884. - 通用单据
  24885. /Order/QueryTradeDetail:
  24886. get:
  24887. parameters:
  24888. - description: 资金账户 - 格式:1,2,3
  24889. in: query
  24890. name: accountID
  24891. required: true
  24892. type: string
  24893. - description: 成交单号
  24894. in: query
  24895. name: tradeID
  24896. type: integer
  24897. - description: 委托单号
  24898. in: query
  24899. name: orderID
  24900. type: integer
  24901. - description: 交易模式 - 格式:1,2,3
  24902. in: query
  24903. name: tradeMode
  24904. type: string
  24905. - description: 委托单据类型
  24906. in: query
  24907. name: buildType
  24908. type: integer
  24909. - description: 成交类别 - 格式:1,2,3
  24910. in: query
  24911. name: tradeType
  24912. type: string
  24913. - description: 商品ID
  24914. in: query
  24915. name: goodsID
  24916. type: integer
  24917. produces:
  24918. - application/json
  24919. responses:
  24920. "200":
  24921. description: OK
  24922. schema:
  24923. $ref: '#/definitions/order.QueryTradeDetailRsp'
  24924. "500":
  24925. description: Internal Server Error
  24926. schema:
  24927. $ref: '#/definitions/app.Response'
  24928. security:
  24929. - ApiKeyAuth: []
  24930. summary: 成交单查询(合约市场)
  24931. tags:
  24932. - 通用单据
  24933. /Order/QueryTradeHolderDetail:
  24934. get:
  24935. parameters:
  24936. - description: 用户id
  24937. in: query
  24938. name: userid
  24939. type: integer
  24940. - description: 资金账号, 格式 1,2,3
  24941. in: query
  24942. name: accids
  24943. type: string
  24944. - description: 交易模式, 格式 1,2,3
  24945. in: query
  24946. name: trademodes
  24947. type: string
  24948. - description: 市场id, 格式 1,2,3
  24949. in: query
  24950. name: marketids
  24951. type: string
  24952. - description: 商品id
  24953. in: query
  24954. name: goodsid
  24955. type: integer
  24956. - description: 买卖方向 0-买 1-卖
  24957. in: query
  24958. name: buyorsell
  24959. type: integer
  24960. produces:
  24961. - application/json
  24962. responses:
  24963. "200":
  24964. description: OK
  24965. schema:
  24966. items:
  24967. $ref: '#/definitions/models.TradeHolderDetail'
  24968. type: array
  24969. "500":
  24970. description: Internal Server Error
  24971. schema:
  24972. $ref: '#/definitions/app.Response'
  24973. security:
  24974. - ApiKeyAuth: []
  24975. summary: 查询持仓明细
  24976. tags:
  24977. - 通用单据
  24978. /Order/QueryTradeOrderDetail:
  24979. get:
  24980. parameters:
  24981. - description: 资金账户 - 格式:1,2,3
  24982. in: query
  24983. name: accountID
  24984. required: true
  24985. type: string
  24986. - description: 交易模式 - 格式:1,2,3
  24987. in: query
  24988. name: tradeMode
  24989. type: string
  24990. - description: 委托状态 - 格式:1,2,3
  24991. in: query
  24992. name: orderStatus
  24993. type: string
  24994. - description: 委托单号
  24995. in: query
  24996. name: orderID
  24997. type: integer
  24998. produces:
  24999. - application/json
  25000. responses:
  25001. "200":
  25002. description: OK
  25003. schema:
  25004. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  25005. "500":
  25006. description: Internal Server Error
  25007. schema:
  25008. $ref: '#/definitions/app.Response'
  25009. security:
  25010. - ApiKeyAuth: []
  25011. summary: 委托单查询请求(合约市场)
  25012. tags:
  25013. - 通用单据
  25014. /Order/QueryTradePosition:
  25015. get:
  25016. parameters:
  25017. - description: 资金账户 - 格式:1,2,3
  25018. in: query
  25019. name: accountID
  25020. required: true
  25021. type: string
  25022. - description: 交易模式 - 格式:1,2,3
  25023. in: query
  25024. name: tradeMode
  25025. type: string
  25026. produces:
  25027. - application/json
  25028. responses:
  25029. "200":
  25030. description: OK
  25031. schema:
  25032. $ref: '#/definitions/order.QueryTradePositionRsp'
  25033. "500":
  25034. description: Internal Server Error
  25035. schema:
  25036. $ref: '#/definitions/app.Response'
  25037. security:
  25038. - ApiKeyAuth: []
  25039. summary: 持仓汇总查询(合约市场)
  25040. tags:
  25041. - 通用单据
  25042. /Qhj/QueryAccountInOutApply:
  25043. get:
  25044. parameters:
  25045. - description: 用户ID
  25046. in: query
  25047. name: userid
  25048. required: true
  25049. type: integer
  25050. - description: 申请起始日期(格式yyyymmdd)
  25051. in: query
  25052. name: begindate
  25053. type: string
  25054. - description: 申请截止日期(格式yyyymmdd)
  25055. in: query
  25056. name: enddate
  25057. type: string
  25058. - description: 模糊搜索名称
  25059. in: query
  25060. name: likename
  25061. type: string
  25062. produces:
  25063. - application/json
  25064. responses:
  25065. "200":
  25066. description: OK
  25067. schema:
  25068. items:
  25069. $ref: '#/definitions/models.QhjAccountOutInApply'
  25070. type: array
  25071. "500":
  25072. description: Internal Server Error
  25073. schema:
  25074. $ref: '#/definitions/app.Response'
  25075. security:
  25076. - ApiKeyAuth: []
  25077. summary: 查询充值提现
  25078. tags:
  25079. - 大连千海金
  25080. /Qhj/QueryAreaFinanceConfig:
  25081. get:
  25082. parameters:
  25083. - description: 机构用户ID 其他做市关系,都设置为 1
  25084. in: query
  25085. name: userid
  25086. type: integer
  25087. produces:
  25088. - application/json
  25089. responses:
  25090. "200":
  25091. description: OK
  25092. schema:
  25093. items:
  25094. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  25095. type: array
  25096. "500":
  25097. description: Internal Server Error
  25098. schema:
  25099. $ref: '#/definitions/app.Response'
  25100. security:
  25101. - ApiKeyAuth: []
  25102. summary: 查询企业配置表
  25103. tags:
  25104. - 大连千海金
  25105. /Qhj/QueryBankAccountSign:
  25106. get:
  25107. parameters:
  25108. - description: 用户ID
  25109. in: query
  25110. name: userid
  25111. required: true
  25112. type: integer
  25113. produces:
  25114. - application/json
  25115. responses:
  25116. "200":
  25117. description: OK
  25118. schema:
  25119. items:
  25120. $ref: '#/definitions/models.QhjBankAccountSign'
  25121. type: array
  25122. "500":
  25123. description: Internal Server Error
  25124. schema:
  25125. $ref: '#/definitions/app.Response'
  25126. security:
  25127. - ApiKeyAuth: []
  25128. summary: 查询签约银行信息(提现账户管理)
  25129. tags:
  25130. - 大连千海金
  25131. /Qhj/QueryBankInfo:
  25132. get:
  25133. produces:
  25134. - application/json
  25135. responses:
  25136. "200":
  25137. description: OK
  25138. schema:
  25139. items:
  25140. $ref: '#/definitions/models.QhjBankInfo'
  25141. type: array
  25142. "500":
  25143. description: Internal Server Error
  25144. schema:
  25145. $ref: '#/definitions/app.Response'
  25146. security:
  25147. - ApiKeyAuth: []
  25148. summary: 查询开户行
  25149. tags:
  25150. - 大连千海金
  25151. /Qhj/QueryBrokerApply:
  25152. get:
  25153. parameters:
  25154. - description: 所属机构ID
  25155. in: query
  25156. name: userid
  25157. type: integer
  25158. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  25159. in: query
  25160. name: filterstatus
  25161. type: string
  25162. produces:
  25163. - application/json
  25164. responses:
  25165. "200":
  25166. description: OK
  25167. schema:
  25168. items:
  25169. $ref: '#/definitions/models.QhjBrokerApply'
  25170. type: array
  25171. "500":
  25172. description: Internal Server Error
  25173. schema:
  25174. $ref: '#/definitions/app.Response'
  25175. security:
  25176. - ApiKeyAuth: []
  25177. summary: 查询经纪人申请
  25178. tags:
  25179. - 大连千海金
  25180. /Qhj/QueryBrokerApplyEx:
  25181. get:
  25182. parameters:
  25183. - description: 所属机构ID
  25184. in: query
  25185. name: userid
  25186. type: integer
  25187. produces:
  25188. - application/json
  25189. responses:
  25190. "200":
  25191. description: OK
  25192. schema:
  25193. items:
  25194. $ref: '#/definitions/models.QhjBrokerApplyEx'
  25195. type: array
  25196. "500":
  25197. description: Internal Server Error
  25198. schema:
  25199. $ref: '#/definitions/app.Response'
  25200. security:
  25201. - ApiKeyAuth: []
  25202. summary: 查询经纪人信息和申请记录
  25203. tags:
  25204. - 大连千海金
  25205. /Qhj/QueryBrokerRewardLog:
  25206. get:
  25207. parameters:
  25208. - description: 用户ID
  25209. in: query
  25210. name: userid
  25211. required: true
  25212. type: integer
  25213. - description: 开始交易日(yyyymmdd)
  25214. in: query
  25215. name: begindate
  25216. type: string
  25217. - description: 结束交易日(yyyymmdd)
  25218. in: query
  25219. name: enddate
  25220. type: string
  25221. produces:
  25222. - application/json
  25223. responses:
  25224. "200":
  25225. description: OK
  25226. schema:
  25227. items:
  25228. $ref: '#/definitions/models.QhjBrokerRewardLog'
  25229. type: array
  25230. "500":
  25231. description: Internal Server Error
  25232. schema:
  25233. $ref: '#/definitions/app.Response'
  25234. security:
  25235. - ApiKeyAuth: []
  25236. summary: 查询奖励流水(我的奖励)
  25237. tags:
  25238. - 大连千海金
  25239. /Qhj/QueryContract:
  25240. get:
  25241. parameters:
  25242. - description: 用户ID
  25243. in: query
  25244. name: userid
  25245. type: integer
  25246. - description: scf合同id
  25247. in: query
  25248. name: scfcontractid
  25249. type: integer
  25250. produces:
  25251. - application/json
  25252. responses:
  25253. "200":
  25254. description: OK
  25255. schema:
  25256. items:
  25257. $ref: '#/definitions/models.QhjContract'
  25258. type: array
  25259. "500":
  25260. description: Internal Server Error
  25261. schema:
  25262. $ref: '#/definitions/app.Response'
  25263. security:
  25264. - ApiKeyAuth: []
  25265. summary: 查询融资明细(合同)
  25266. tags:
  25267. - 大连千海金
  25268. /Qhj/QueryContractLog:
  25269. get:
  25270. parameters:
  25271. - description: scf合同id
  25272. in: query
  25273. name: scfcontractid
  25274. required: true
  25275. type: integer
  25276. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  25277. in: query
  25278. name: amounttype
  25279. type: string
  25280. produces:
  25281. - application/json
  25282. responses:
  25283. "200":
  25284. description: OK
  25285. schema:
  25286. items:
  25287. $ref: '#/definitions/models.QhjContractLog'
  25288. type: array
  25289. "500":
  25290. description: Internal Server Error
  25291. schema:
  25292. $ref: '#/definitions/app.Response'
  25293. security:
  25294. - ApiKeyAuth: []
  25295. summary: 查询融资明细流水(融资明细详情页中的流水)
  25296. tags:
  25297. - 大连千海金
  25298. /Qhj/QueryCusBankSignBank:
  25299. get:
  25300. produces:
  25301. - application/json
  25302. responses:
  25303. "200":
  25304. description: OK
  25305. schema:
  25306. items:
  25307. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  25308. type: array
  25309. "500":
  25310. description: Internal Server Error
  25311. schema:
  25312. $ref: '#/definitions/app.Response'
  25313. security:
  25314. - ApiKeyAuth: []
  25315. summary: 查询托管银行
  25316. tags:
  25317. - 大连千海金
  25318. /Qhj/QueryCustomerInfo:
  25319. get:
  25320. parameters:
  25321. - description: 用户ID
  25322. in: query
  25323. name: userid
  25324. required: true
  25325. type: integer
  25326. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  25327. in: query
  25328. name: querytype
  25329. required: true
  25330. type: integer
  25331. - description: 客户类型 1-个人 2-企业
  25332. in: query
  25333. name: userinfotype
  25334. type: integer
  25335. - description: 客户名称(模糊匹配)
  25336. in: query
  25337. name: customername
  25338. type: string
  25339. - description: 昵称(模糊匹配)
  25340. in: query
  25341. name: nickname
  25342. type: string
  25343. - description: 是否包含子级 1-包含
  25344. in: query
  25345. name: includesub
  25346. type: integer
  25347. produces:
  25348. - application/json
  25349. responses:
  25350. "200":
  25351. description: OK
  25352. schema:
  25353. items:
  25354. $ref: '#/definitions/models.QhjCustomer'
  25355. type: array
  25356. "500":
  25357. description: Internal Server Error
  25358. schema:
  25359. $ref: '#/definitions/app.Response'
  25360. security:
  25361. - ApiKeyAuth: []
  25362. summary: 查询客户资料
  25363. tags:
  25364. - 大连千海金
  25365. /Qhj/QueryGoodsEx:
  25366. get:
  25367. parameters:
  25368. - description: 商品id
  25369. in: query
  25370. name: goodsid
  25371. type: integer
  25372. produces:
  25373. - application/json
  25374. responses:
  25375. "200":
  25376. description: OK
  25377. schema:
  25378. items:
  25379. $ref: '#/definitions/models.Qhjgoodsex'
  25380. type: array
  25381. "500":
  25382. description: Internal Server Error
  25383. schema:
  25384. $ref: '#/definitions/app.Response'
  25385. security:
  25386. - ApiKeyAuth: []
  25387. summary: 交易商品扩展表
  25388. tags:
  25389. - 大连千海金
  25390. /Qhj/QueryMyTeam:
  25391. get:
  25392. parameters:
  25393. - description: 用户ID
  25394. in: query
  25395. name: userid
  25396. required: true
  25397. type: integer
  25398. produces:
  25399. - application/json
  25400. responses:
  25401. "200":
  25402. description: OK
  25403. schema:
  25404. items:
  25405. $ref: '#/definitions/models.QhjMyTeamEx'
  25406. type: array
  25407. "500":
  25408. description: Internal Server Error
  25409. schema:
  25410. $ref: '#/definitions/app.Response'
  25411. security:
  25412. - ApiKeyAuth: []
  25413. summary: 查询我的团队
  25414. tags:
  25415. - 大连千海金
  25416. /Qhj/QueryMyTeamOrder:
  25417. get:
  25418. parameters:
  25419. - description: 页码
  25420. in: query
  25421. name: page
  25422. type: integer
  25423. - description: 每页条数
  25424. in: query
  25425. name: pagesize
  25426. type: integer
  25427. - description: 用户ID
  25428. in: query
  25429. name: userid
  25430. required: true
  25431. type: integer
  25432. - description: 交易模式
  25433. in: query
  25434. name: trademode
  25435. type: integer
  25436. - description: 名称(模糊搜索账户)
  25437. in: query
  25438. name: filtername
  25439. type: string
  25440. produces:
  25441. - application/json
  25442. responses:
  25443. "200":
  25444. description: OK
  25445. schema:
  25446. items:
  25447. $ref: '#/definitions/models.QhjTeamOrder'
  25448. type: array
  25449. "500":
  25450. description: Internal Server Error
  25451. schema:
  25452. $ref: '#/definitions/app.Response'
  25453. security:
  25454. - ApiKeyAuth: []
  25455. summary: 查询团队订单(我的团队/团队订单)
  25456. tags:
  25457. - 大连千海金
  25458. /Qhj/QueryParentAreaList:
  25459. get:
  25460. parameters:
  25461. - description: 用户ID
  25462. in: query
  25463. name: userid
  25464. required: true
  25465. type: integer
  25466. produces:
  25467. - application/json
  25468. responses:
  25469. "200":
  25470. description: OK
  25471. schema:
  25472. items:
  25473. $ref: '#/definitions/models.QhjParentAreaList'
  25474. type: array
  25475. "500":
  25476. description: Internal Server Error
  25477. schema:
  25478. $ref: '#/definitions/app.Response'
  25479. security:
  25480. - ApiKeyAuth: []
  25481. summary: 查询所属机构列表
  25482. tags:
  25483. - 大连千海金
  25484. /Qhj/QueryPayOrder:
  25485. get:
  25486. parameters:
  25487. - description: 资金账号id
  25488. in: query
  25489. name: accountid
  25490. required: true
  25491. type: integer
  25492. - description: 成交单号
  25493. in: query
  25494. name: tradeid
  25495. type: integer
  25496. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  25497. in: query
  25498. name: payflag
  25499. type: string
  25500. produces:
  25501. - application/json
  25502. responses:
  25503. "200":
  25504. description: OK
  25505. schema:
  25506. items:
  25507. $ref: '#/definitions/models.QhjPayOrder'
  25508. type: array
  25509. "500":
  25510. description: Internal Server Error
  25511. schema:
  25512. $ref: '#/definitions/app.Response'
  25513. security:
  25514. - ApiKeyAuth: []
  25515. summary: 查询待付款单据
  25516. tags:
  25517. - 大连千海金
  25518. /Qhj/QueryPickArea:
  25519. get:
  25520. parameters:
  25521. - description: 用户ID
  25522. in: query
  25523. name: userid
  25524. type: integer
  25525. produces:
  25526. - application/json
  25527. responses:
  25528. "200":
  25529. description: OK
  25530. schema:
  25531. items:
  25532. $ref: '#/definitions/models.QhjPickArea'
  25533. type: array
  25534. "500":
  25535. description: Internal Server Error
  25536. schema:
  25537. $ref: '#/definitions/app.Response'
  25538. security:
  25539. - ApiKeyAuth: []
  25540. summary: 查询提货门店
  25541. tags:
  25542. - 大连千海金
  25543. /Qhj/QueryPickGoods:
  25544. get:
  25545. parameters:
  25546. - description: 交易商品id
  25547. in: query
  25548. name: goodsid
  25549. required: true
  25550. type: integer
  25551. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  25552. in: query
  25553. name: status
  25554. type: string
  25555. produces:
  25556. - application/json
  25557. responses:
  25558. "200":
  25559. description: OK
  25560. schema:
  25561. items:
  25562. $ref: '#/definitions/models.QhjPickGoods'
  25563. type: array
  25564. "500":
  25565. description: Internal Server Error
  25566. schema:
  25567. $ref: '#/definitions/app.Response'
  25568. security:
  25569. - ApiKeyAuth: []
  25570. summary: 查询提货商品
  25571. tags:
  25572. - 大连千海金
  25573. /Qhj/QueryRSTriggerLog:
  25574. get:
  25575. parameters:
  25576. - description: 用户ID
  25577. in: query
  25578. name: userid
  25579. type: integer
  25580. - description: 定投策略id
  25581. in: query
  25582. name: regularlystrategyid
  25583. type: integer
  25584. - description: 商品id
  25585. in: query
  25586. name: goodsid
  25587. type: integer
  25588. - description: 开始交易日(yyyymmdd)
  25589. in: query
  25590. name: begindate
  25591. type: string
  25592. - description: 结束交易日(yyyymmdd)
  25593. in: query
  25594. name: enddate
  25595. type: string
  25596. - description: 名称(模糊搜索账户)
  25597. in: query
  25598. name: filtername
  25599. type: string
  25600. produces:
  25601. - application/json
  25602. responses:
  25603. "200":
  25604. description: OK
  25605. schema:
  25606. items:
  25607. $ref: '#/definitions/models.QhjRSTriggerLog'
  25608. type: array
  25609. "500":
  25610. description: Internal Server Error
  25611. schema:
  25612. $ref: '#/definitions/app.Response'
  25613. security:
  25614. - ApiKeyAuth: []
  25615. summary: 查询定投记录(定投管理/详情/定投记录)
  25616. tags:
  25617. - 大连千海金
  25618. /Qhj/QueryRStrategy:
  25619. get:
  25620. parameters:
  25621. - description: 用户ID
  25622. in: query
  25623. name: userid
  25624. type: integer
  25625. - description: 商品id
  25626. in: query
  25627. name: goodsid
  25628. type: integer
  25629. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  25630. in: query
  25631. name: status
  25632. type: string
  25633. - description: 名称(模糊搜索账户)
  25634. in: query
  25635. name: filtername
  25636. type: string
  25637. produces:
  25638. - application/json
  25639. responses:
  25640. "200":
  25641. description: OK
  25642. schema:
  25643. items:
  25644. $ref: '#/definitions/models.QhjRStrategy'
  25645. type: array
  25646. "500":
  25647. description: Internal Server Error
  25648. schema:
  25649. $ref: '#/definitions/app.Response'
  25650. security:
  25651. - ApiKeyAuth: []
  25652. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  25653. tags:
  25654. - 大连千海金
  25655. /Qhj/QueryReckonPriceLog:
  25656. get:
  25657. parameters:
  25658. - description: 商品ID
  25659. in: query
  25660. name: goodsid
  25661. type: integer
  25662. - description: 交易日 格式(yyyymmdd)
  25663. in: query
  25664. name: tradedate
  25665. type: string
  25666. produces:
  25667. - application/json
  25668. responses:
  25669. "200":
  25670. description: OK
  25671. schema:
  25672. items:
  25673. $ref: '#/definitions/models.QhjReckonPriceLog'
  25674. type: array
  25675. "500":
  25676. description: Internal Server Error
  25677. schema:
  25678. $ref: '#/definitions/app.Response'
  25679. security:
  25680. - ApiKeyAuth: []
  25681. summary: 查询定投价(结算价)
  25682. tags:
  25683. - 大连千海金
  25684. /Qhj/QueryScoreLog:
  25685. get:
  25686. parameters:
  25687. - description: 用户ID
  25688. in: query
  25689. name: userid
  25690. required: true
  25691. type: integer
  25692. - description: 开始交易日(yyyymmdd)
  25693. in: query
  25694. name: begindate
  25695. type: string
  25696. - description: 结束交易日(yyyymmdd)
  25697. in: query
  25698. name: enddate
  25699. type: string
  25700. - description: 最近多少条
  25701. in: query
  25702. name: lastnum
  25703. type: integer
  25704. produces:
  25705. - application/json
  25706. responses:
  25707. "200":
  25708. description: OK
  25709. schema:
  25710. items:
  25711. $ref: '#/definitions/models.QhjScoreLog'
  25712. type: array
  25713. "500":
  25714. description: Internal Server Error
  25715. schema:
  25716. $ref: '#/definitions/app.Response'
  25717. security:
  25718. - ApiKeyAuth: []
  25719. summary: 查询积分流水(我的积分)
  25720. tags:
  25721. - 大连千海金
  25722. /Qhj/QuerySiteColumnDetail:
  25723. get:
  25724. parameters:
  25725. - description: 用户ID
  25726. in: query
  25727. name: userid
  25728. required: true
  25729. type: integer
  25730. produces:
  25731. - application/json
  25732. responses:
  25733. "200":
  25734. description: OK
  25735. schema:
  25736. items:
  25737. $ref: '#/definitions/models.QhjSiteColumnDetail'
  25738. type: array
  25739. "500":
  25740. description: Internal Server Error
  25741. schema:
  25742. $ref: '#/definitions/app.Response'
  25743. security:
  25744. - ApiKeyAuth: []
  25745. summary: 查询资讯
  25746. tags:
  25747. - 大连千海金
  25748. /Qhj/QueryTradeGoodsPickup:
  25749. get:
  25750. parameters:
  25751. - description: 用户ID
  25752. in: query
  25753. name: userid
  25754. required: true
  25755. type: integer
  25756. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  25757. 7:已拒绝 8:已撤销
  25758. in: query
  25759. name: takeorderstatus
  25760. type: integer
  25761. produces:
  25762. - application/json
  25763. responses:
  25764. "200":
  25765. description: OK
  25766. schema:
  25767. items:
  25768. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  25769. type: array
  25770. "500":
  25771. description: Internal Server Error
  25772. schema:
  25773. $ref: '#/definitions/app.Response'
  25774. security:
  25775. - ApiKeyAuth: []
  25776. summary: 查询提货
  25777. tags:
  25778. - 大连千海金
  25779. /Qhj/QueryUserCollectConfig:
  25780. get:
  25781. parameters:
  25782. - description: 用户ID
  25783. in: query
  25784. name: userid
  25785. required: true
  25786. type: integer
  25787. produces:
  25788. - application/json
  25789. responses:
  25790. "200":
  25791. description: OK
  25792. schema:
  25793. items:
  25794. $ref: '#/definitions/models.UserCollectConfig'
  25795. type: array
  25796. "500":
  25797. description: Internal Server Error
  25798. schema:
  25799. $ref: '#/definitions/app.Response'
  25800. security:
  25801. - ApiKeyAuth: []
  25802. summary: 查询提现账户设置
  25803. tags:
  25804. - 大连千海金
  25805. /Qhj/QueryUserReceiveInfo:
  25806. get:
  25807. parameters:
  25808. - description: 用户ID
  25809. in: query
  25810. name: userid
  25811. required: true
  25812. type: integer
  25813. produces:
  25814. - application/json
  25815. responses:
  25816. "200":
  25817. description: OK
  25818. schema:
  25819. items:
  25820. $ref: '#/definitions/models.UserReceiveInfo'
  25821. type: array
  25822. "500":
  25823. description: Internal Server Error
  25824. schema:
  25825. $ref: '#/definitions/app.Response'
  25826. security:
  25827. - ApiKeyAuth: []
  25828. summary: 查询收货地址信息
  25829. tags:
  25830. - 大连千海金
  25831. /QhjMgr/QueryAccountInOutApply:
  25832. get:
  25833. parameters:
  25834. - description: 查询类型 1-提现(出金) 2-充值(出金)
  25835. in: query
  25836. name: querytype
  25837. required: true
  25838. type: integer
  25839. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  25840. in: query
  25841. name: applystatus
  25842. type: integer
  25843. - description: 申请起始日期(格式yyyymmdd)
  25844. in: query
  25845. name: begindate
  25846. type: string
  25847. - description: 申请截止日期(格式yyyymmdd)
  25848. in: query
  25849. name: enddate
  25850. type: string
  25851. - description: 模糊搜索名称
  25852. in: query
  25853. name: likename
  25854. type: string
  25855. produces:
  25856. - application/json
  25857. responses:
  25858. "200":
  25859. description: OK
  25860. schema:
  25861. items:
  25862. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  25863. type: array
  25864. "500":
  25865. description: Internal Server Error
  25866. schema:
  25867. $ref: '#/definitions/app.Response'
  25868. security:
  25869. - ApiKeyAuth: []
  25870. summary: 查询充值提现
  25871. tags:
  25872. - 大连千海金(PCWeb)
  25873. /QhjMgr/QueryBrokerApply:
  25874. get:
  25875. parameters:
  25876. - description: 所属机构ID
  25877. in: query
  25878. name: userid
  25879. type: integer
  25880. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  25881. in: query
  25882. name: filterstatus
  25883. type: string
  25884. - description: 名称(模糊匹配)
  25885. in: query
  25886. name: filtername
  25887. type: string
  25888. - description: 是否包含子级 1-包含
  25889. in: query
  25890. name: includesub
  25891. type: integer
  25892. produces:
  25893. - application/json
  25894. responses:
  25895. "200":
  25896. description: OK
  25897. schema:
  25898. items:
  25899. $ref: '#/definitions/models.QhjMgrBrokerApply'
  25900. type: array
  25901. "500":
  25902. description: Internal Server Error
  25903. schema:
  25904. $ref: '#/definitions/app.Response'
  25905. security:
  25906. - ApiKeyAuth: []
  25907. summary: 查询经纪人申请
  25908. tags:
  25909. - 大连千海金(PCWeb)
  25910. /QhjMgr/QueryBrokerRewardReport:
  25911. get:
  25912. parameters:
  25913. - description: 所属机构ID
  25914. in: query
  25915. name: userid
  25916. required: true
  25917. type: integer
  25918. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25919. in: query
  25920. name: cycletype
  25921. required: true
  25922. type: integer
  25923. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  25924. in: query
  25925. name: cycletime
  25926. required: true
  25927. type: string
  25928. - description: 名称(模糊匹配)
  25929. in: query
  25930. name: filtername
  25931. type: string
  25932. - description: 是否包含子级 1-包含
  25933. in: query
  25934. name: includesub
  25935. type: integer
  25936. produces:
  25937. - application/json
  25938. responses:
  25939. "200":
  25940. description: OK
  25941. schema:
  25942. items:
  25943. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  25944. type: array
  25945. "500":
  25946. description: Internal Server Error
  25947. schema:
  25948. $ref: '#/definitions/app.Response'
  25949. security:
  25950. - ApiKeyAuth: []
  25951. summary: 查询经纪人奖励报表(废弃)
  25952. tags:
  25953. - 大连千海金(PCWeb)
  25954. /QhjMgr/QueryContract:
  25955. get:
  25956. parameters:
  25957. - description: 用户ID
  25958. in: query
  25959. name: userid
  25960. type: integer
  25961. - description: 商品id
  25962. in: query
  25963. name: goodsid
  25964. type: integer
  25965. - description: 名称(模糊搜索账户)
  25966. in: query
  25967. name: filtername
  25968. type: string
  25969. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  25970. in: query
  25971. name: risklevel
  25972. type: string
  25973. - description: 开始交易日(yyyymmdd)
  25974. in: query
  25975. name: begindate
  25976. type: string
  25977. - description: 结束交易日(yyyymmdd)
  25978. in: query
  25979. name: enddate
  25980. type: string
  25981. produces:
  25982. - application/json
  25983. responses:
  25984. "200":
  25985. description: OK
  25986. schema:
  25987. items:
  25988. $ref: '#/definitions/models.QhjMgrContract'
  25989. type: array
  25990. "500":
  25991. description: Internal Server Error
  25992. schema:
  25993. $ref: '#/definitions/app.Response'
  25994. security:
  25995. - ApiKeyAuth: []
  25996. summary: 查询融资信息(合同)
  25997. tags:
  25998. - 大连千海金(PCWeb)
  25999. /QhjMgr/QueryCustomerInfo:
  26000. get:
  26001. parameters:
  26002. - description: 用户ID
  26003. in: query
  26004. name: userid
  26005. required: true
  26006. type: integer
  26007. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  26008. in: query
  26009. name: querytype
  26010. required: true
  26011. type: integer
  26012. - description: 客户类型 1-个人 2-企业
  26013. in: query
  26014. name: userinfotype
  26015. type: integer
  26016. - description: 客户名称(模糊匹配)
  26017. in: query
  26018. name: customername
  26019. type: string
  26020. - description: 昵称(模糊匹配)
  26021. in: query
  26022. name: nickname
  26023. type: string
  26024. - description: 所属客户经理(模糊匹配)
  26025. in: query
  26026. name: brokername
  26027. type: string
  26028. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  26029. 如0503 -5月3日)
  26030. in: query
  26031. name: birthday
  26032. type: string
  26033. - description: 是否包含子级 1-包含
  26034. in: query
  26035. name: includesub
  26036. type: integer
  26037. produces:
  26038. - application/json
  26039. responses:
  26040. "200":
  26041. description: OK
  26042. schema:
  26043. items:
  26044. $ref: '#/definitions/models.QhjMgrCustomer'
  26045. type: array
  26046. "500":
  26047. description: Internal Server Error
  26048. schema:
  26049. $ref: '#/definitions/app.Response'
  26050. security:
  26051. - ApiKeyAuth: []
  26052. summary: 查询客户资料
  26053. tags:
  26054. - 大连千海金(PCWeb)
  26055. /QhjMgr/QueryPickGoods:
  26056. get:
  26057. parameters:
  26058. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  26059. in: query
  26060. name: status
  26061. type: string
  26062. produces:
  26063. - application/json
  26064. responses:
  26065. "200":
  26066. description: OK
  26067. schema:
  26068. items:
  26069. $ref: '#/definitions/models.QhjMgrPickGoods'
  26070. type: array
  26071. "500":
  26072. description: Internal Server Error
  26073. schema:
  26074. $ref: '#/definitions/app.Response'
  26075. security:
  26076. - ApiKeyAuth: []
  26077. summary: 查询提货商品
  26078. tags:
  26079. - 大连千海金(PCWeb)
  26080. /QhjMgr/QuerySubArea:
  26081. get:
  26082. parameters:
  26083. - description: 用户ID
  26084. in: query
  26085. name: userid
  26086. required: true
  26087. type: integer
  26088. produces:
  26089. - application/json
  26090. responses:
  26091. "200":
  26092. description: OK
  26093. schema:
  26094. items:
  26095. $ref: '#/definitions/models.QhjMgrSubArea'
  26096. type: array
  26097. "500":
  26098. description: Internal Server Error
  26099. schema:
  26100. $ref: '#/definitions/app.Response'
  26101. security:
  26102. - ApiKeyAuth: []
  26103. summary: 查询子机构列表
  26104. tags:
  26105. - 大连千海金(PCWeb)
  26106. /QhjMgr/QueryTradeDetail:
  26107. get:
  26108. parameters:
  26109. - description: 用户ID
  26110. in: query
  26111. name: userid
  26112. required: true
  26113. type: integer
  26114. - description: 用户类型 1-个人 2-企业
  26115. in: query
  26116. name: userinfotype
  26117. type: integer
  26118. - description: 交易模式
  26119. in: query
  26120. name: trademode
  26121. type: integer
  26122. - description: 商品id
  26123. in: query
  26124. name: goodsid
  26125. type: integer
  26126. - description: 名称(模糊搜索账户)
  26127. in: query
  26128. name: filtername
  26129. type: string
  26130. - description: 开始交易日(yyyymmdd)
  26131. in: query
  26132. name: begindate
  26133. type: string
  26134. - description: 结束交易日(yyyymmdd)
  26135. in: query
  26136. name: enddate
  26137. type: string
  26138. - description: 是否包含子级 1-包含
  26139. in: query
  26140. name: includesub
  26141. type: integer
  26142. produces:
  26143. - application/json
  26144. responses:
  26145. "200":
  26146. description: OK
  26147. schema:
  26148. items:
  26149. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  26150. type: array
  26151. "500":
  26152. description: Internal Server Error
  26153. schema:
  26154. $ref: '#/definitions/app.Response'
  26155. security:
  26156. - ApiKeyAuth: []
  26157. summary: 查询成交明细
  26158. tags:
  26159. - 大连千海金(PCWeb)
  26160. /QhjMgr/QueryTradeOrderDetail:
  26161. get:
  26162. parameters:
  26163. - description: 用户ID
  26164. in: query
  26165. name: userid
  26166. required: true
  26167. type: integer
  26168. - description: 用户类型 1-个人 2-企业
  26169. in: query
  26170. name: userinfotype
  26171. type: integer
  26172. - description: 交易模式
  26173. in: query
  26174. name: trademode
  26175. type: integer
  26176. - description: 商品id
  26177. in: query
  26178. name: goodsid
  26179. type: integer
  26180. - description: 名称(模糊搜索账户)
  26181. in: query
  26182. name: filtername
  26183. type: string
  26184. - description: 开始交易日(yyyymmdd)
  26185. in: query
  26186. name: begindate
  26187. type: string
  26188. - description: 结束交易日(yyyymmdd)
  26189. in: query
  26190. name: enddate
  26191. type: string
  26192. - description: 是否包含子级 1-包含
  26193. in: query
  26194. name: includesub
  26195. type: integer
  26196. produces:
  26197. - application/json
  26198. responses:
  26199. "200":
  26200. description: OK
  26201. schema:
  26202. items:
  26203. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  26204. type: array
  26205. "500":
  26206. description: Internal Server Error
  26207. schema:
  26208. $ref: '#/definitions/app.Response'
  26209. security:
  26210. - ApiKeyAuth: []
  26211. summary: 查询委托明细
  26212. tags:
  26213. - 大连千海金(PCWeb)
  26214. /QhjMgr/QueryTradePayOrder:
  26215. get:
  26216. parameters:
  26217. - description: 用户ID
  26218. in: query
  26219. name: userid
  26220. required: true
  26221. type: integer
  26222. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  26223. in: query
  26224. name: payflag
  26225. type: string
  26226. - description: 用户类型 1-个人 2-企业
  26227. in: query
  26228. name: userinfotype
  26229. type: integer
  26230. - description: 交易模式
  26231. in: query
  26232. name: trademode
  26233. type: integer
  26234. - description: 商品id
  26235. in: query
  26236. name: goodsid
  26237. type: integer
  26238. - description: 名称(模糊搜索账户)
  26239. in: query
  26240. name: filtername
  26241. type: string
  26242. - description: 开始交易日(yyyymmdd)
  26243. in: query
  26244. name: begindate
  26245. type: string
  26246. - description: 结束交易日(yyyymmdd)
  26247. in: query
  26248. name: enddate
  26249. type: string
  26250. - description: 是否包含子级 1-包含
  26251. in: query
  26252. name: includesub
  26253. type: integer
  26254. produces:
  26255. - application/json
  26256. responses:
  26257. "200":
  26258. description: OK
  26259. schema:
  26260. items:
  26261. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  26262. type: array
  26263. "500":
  26264. description: Internal Server Error
  26265. schema:
  26266. $ref: '#/definitions/app.Response'
  26267. security:
  26268. - ApiKeyAuth: []
  26269. summary: 查询待付款单
  26270. tags:
  26271. - 大连千海金(PCWeb)
  26272. /QhjMgr/QueryTradePosition:
  26273. get:
  26274. parameters:
  26275. - description: 用户ID
  26276. in: query
  26277. name: userid
  26278. required: true
  26279. type: integer
  26280. - description: 用户类型 1-个人 2-企业
  26281. in: query
  26282. name: userinfotype
  26283. type: integer
  26284. - description: 交易模式
  26285. in: query
  26286. name: trademode
  26287. type: integer
  26288. - description: 商品id
  26289. in: query
  26290. name: goodsid
  26291. type: integer
  26292. - description: 名称(模糊搜索账户)
  26293. in: query
  26294. name: filtername
  26295. type: string
  26296. - description: 是否包含子级 1-包含
  26297. in: query
  26298. name: includesub
  26299. type: integer
  26300. produces:
  26301. - application/json
  26302. responses:
  26303. "200":
  26304. description: OK
  26305. schema:
  26306. items:
  26307. $ref: '#/definitions/models.QhjMgrPositionRsp'
  26308. type: array
  26309. "500":
  26310. description: Internal Server Error
  26311. schema:
  26312. $ref: '#/definitions/app.Response'
  26313. security:
  26314. - ApiKeyAuth: []
  26315. summary: 查询持仓汇总
  26316. tags:
  26317. - 大连千海金(PCWeb)
  26318. /QhjSys/QueryAgreementChangeLog:
  26319. get:
  26320. parameters:
  26321. - description: 协议ID
  26322. in: query
  26323. name: agreementid
  26324. type: integer
  26325. - description: 协议版本号
  26326. in: query
  26327. name: agreementversion
  26328. type: integer
  26329. - description: 协议类型 - 1:注册 2:登录 3:交易
  26330. in: query
  26331. name: agreementtype
  26332. type: integer
  26333. - description: 协议编号(模糊匹配)
  26334. in: query
  26335. name: agreementno
  26336. type: string
  26337. - description: 协议名称(模糊匹配)
  26338. in: query
  26339. name: agreementname
  26340. type: string
  26341. produces:
  26342. - application/json
  26343. responses:
  26344. "200":
  26345. description: OK
  26346. schema:
  26347. items:
  26348. $ref: '#/definitions/models.QhjAgreementChangeLog'
  26349. type: array
  26350. "500":
  26351. description: Internal Server Error
  26352. schema:
  26353. $ref: '#/definitions/app.Response'
  26354. security:
  26355. - ApiKeyAuth: []
  26356. summary: 查询协议配置变更流水
  26357. tags:
  26358. - 大连千海金(协议和签约信息)
  26359. /QhjSys/QueryAgreementConfig:
  26360. get:
  26361. parameters:
  26362. - description: 协议ID
  26363. in: query
  26364. name: agreementid
  26365. type: integer
  26366. - description: 协议版本号
  26367. in: query
  26368. name: agreementversion
  26369. type: integer
  26370. - description: 协议类型 - 1:注册 2:登录 3:交易
  26371. in: query
  26372. name: agreementtype
  26373. type: integer
  26374. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  26375. in: query
  26376. name: isvalid
  26377. type: integer
  26378. - description: 协议编号(模糊匹配)
  26379. in: query
  26380. name: agreementno
  26381. type: string
  26382. - description: 协议名称(模糊匹配)
  26383. in: query
  26384. name: agreementname
  26385. type: string
  26386. produces:
  26387. - application/json
  26388. responses:
  26389. "200":
  26390. description: OK
  26391. schema:
  26392. items:
  26393. $ref: '#/definitions/models.QhjAgreementConfig'
  26394. type: array
  26395. "500":
  26396. description: Internal Server Error
  26397. schema:
  26398. $ref: '#/definitions/app.Response'
  26399. security:
  26400. - ApiKeyAuth: []
  26401. summary: 查询协议配置
  26402. tags:
  26403. - 大连千海金(协议和签约信息)
  26404. /QhjSys/QueryCustomerSignStatus:
  26405. get:
  26406. parameters:
  26407. - description: 客户ID
  26408. in: query
  26409. name: userid
  26410. type: integer
  26411. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  26412. in: query
  26413. name: nodetype
  26414. type: integer
  26415. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  26416. in: query
  26417. name: goodsid
  26418. type: integer
  26419. - description: 创建交易日(yyyyMMdd)
  26420. in: query
  26421. name: tradedate
  26422. type: string
  26423. - description: 用户名称(模糊匹配)
  26424. in: query
  26425. name: username
  26426. type: string
  26427. produces:
  26428. - application/json
  26429. responses:
  26430. "200":
  26431. description: OK
  26432. schema:
  26433. items:
  26434. $ref: '#/definitions/models.QhjCustomerSignStatus'
  26435. type: array
  26436. "500":
  26437. description: Internal Server Error
  26438. schema:
  26439. $ref: '#/definitions/app.Response'
  26440. security:
  26441. - ApiKeyAuth: []
  26442. summary: 查询客户协议签约状态
  26443. tags:
  26444. - 大连千海金(协议和签约信息)
  26445. /QhjSys/QueryNodeAgreementConfig:
  26446. get:
  26447. parameters:
  26448. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  26449. in: query
  26450. name: configid
  26451. type: integer
  26452. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  26453. in: query
  26454. name: nodetype
  26455. type: integer
  26456. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  26457. in: query
  26458. name: goodsid
  26459. type: integer
  26460. - description: 协议ID
  26461. in: query
  26462. name: agreementid
  26463. type: integer
  26464. - description: 协议类型 - 1:注册 2:登录 3:交易
  26465. in: query
  26466. name: agreementtype
  26467. type: integer
  26468. - description: 协议版本号
  26469. in: query
  26470. name: agreementversion
  26471. type: integer
  26472. - description: 协议编号(模糊匹配)
  26473. in: query
  26474. name: agreementno
  26475. type: string
  26476. - description: 协议名称(模糊匹配)
  26477. in: query
  26478. name: agreementname
  26479. type: string
  26480. produces:
  26481. - application/json
  26482. responses:
  26483. "200":
  26484. description: OK
  26485. schema:
  26486. items:
  26487. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  26488. type: array
  26489. "500":
  26490. description: Internal Server Error
  26491. schema:
  26492. $ref: '#/definitions/app.Response'
  26493. security:
  26494. - ApiKeyAuth: []
  26495. summary: 查询协议节点配置
  26496. tags:
  26497. - 大连千海金(协议和签约信息)
  26498. /QhjSys/QueryQhjCustomerSignLog:
  26499. get:
  26500. parameters:
  26501. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  26502. in: query
  26503. name: logid
  26504. type: integer
  26505. - description: 客户ID
  26506. in: query
  26507. name: userid
  26508. type: integer
  26509. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  26510. in: query
  26511. name: nodetype
  26512. type: integer
  26513. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  26514. in: query
  26515. name: goodsid
  26516. type: integer
  26517. - description: 协议ID
  26518. in: query
  26519. name: agreementid
  26520. type: integer
  26521. - description: 用户名称(模糊匹配)
  26522. in: query
  26523. name: username
  26524. type: string
  26525. - description: 协议编号(模糊匹配)
  26526. in: query
  26527. name: agreementno
  26528. type: string
  26529. - description: 协议名称(模糊匹配)
  26530. in: query
  26531. name: agreementname
  26532. type: string
  26533. produces:
  26534. - application/json
  26535. responses:
  26536. "200":
  26537. description: OK
  26538. schema:
  26539. items:
  26540. $ref: '#/definitions/models.QhjCustomerSignLog'
  26541. type: array
  26542. "500":
  26543. description: Internal Server Error
  26544. schema:
  26545. $ref: '#/definitions/app.Response'
  26546. security:
  26547. - ApiKeyAuth: []
  26548. summary: 查询客户协议签约流水
  26549. tags:
  26550. - 大连千海金(协议和签约信息)
  26551. /QhjSys/QueryUserNodeCfgAndStatus:
  26552. get:
  26553. parameters:
  26554. - description: 客户ID
  26555. in: query
  26556. name: userid
  26557. type: integer
  26558. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  26559. in: query
  26560. name: configid
  26561. type: integer
  26562. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  26563. in: query
  26564. name: nodetype
  26565. type: string
  26566. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  26567. in: query
  26568. name: goodsid
  26569. type: integer
  26570. - description: 协议ID
  26571. in: query
  26572. name: agreementid
  26573. type: integer
  26574. - description: 协议类型 - 1:注册 2:登录 3:交易
  26575. in: query
  26576. name: agreementtype
  26577. type: integer
  26578. - description: 协议版本号
  26579. in: query
  26580. name: agreementversion
  26581. type: integer
  26582. - description: 协议编号(模糊匹配)
  26583. in: query
  26584. name: agreementno
  26585. type: string
  26586. - description: 协议名称(模糊匹配)
  26587. in: query
  26588. name: agreementname
  26589. type: string
  26590. produces:
  26591. - application/json
  26592. responses:
  26593. "200":
  26594. description: OK
  26595. schema:
  26596. items:
  26597. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  26598. type: array
  26599. "500":
  26600. description: Internal Server Error
  26601. schema:
  26602. $ref: '#/definitions/app.Response'
  26603. security:
  26604. - ApiKeyAuth: []
  26605. summary: 查询用户协议节点配置和状态
  26606. tags:
  26607. - 大连千海金(协议和签约信息)
  26608. /Quote/QueryHistoryDatas:
  26609. get:
  26610. parameters:
  26611. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  26612. 日线 12:周线 13:月线 14:年线'
  26613. in: query
  26614. name: cycleType
  26615. required: true
  26616. type: integer
  26617. - description: 商品代码
  26618. in: query
  26619. name: goodsCode
  26620. required: true
  26621. type: string
  26622. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  26623. in: query
  26624. name: startTime
  26625. type: string
  26626. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  26627. in: query
  26628. name: endTime
  26629. type: string
  26630. - description: 条数
  26631. in: query
  26632. name: count
  26633. type: integer
  26634. - description: 是否按时间顺序排序(默认为时间倒序排序)
  26635. in: query
  26636. name: isAsc
  26637. type: boolean
  26638. produces:
  26639. - application/json
  26640. responses:
  26641. "200":
  26642. description: OK
  26643. schema:
  26644. $ref: '#/definitions/quote.HistoryData'
  26645. "500":
  26646. description: Internal Server Error
  26647. schema:
  26648. $ref: '#/definitions/app.Response'
  26649. security:
  26650. - ApiKeyAuth: []
  26651. summary: 查询行情历史数据
  26652. tags:
  26653. - 行情服务
  26654. /Quote/QueryHistoryTikDatas:
  26655. get:
  26656. parameters:
  26657. - description: 商品代码
  26658. in: query
  26659. name: goodsCode
  26660. required: true
  26661. type: string
  26662. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  26663. in: query
  26664. name: startTime
  26665. type: string
  26666. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  26667. in: query
  26668. name: endTime
  26669. type: string
  26670. - description: 条数
  26671. in: query
  26672. name: count
  26673. type: integer
  26674. - description: 是否按时间顺序排序(默认为时间倒序排序)
  26675. in: query
  26676. name: isAsc
  26677. type: boolean
  26678. produces:
  26679. - application/json
  26680. responses:
  26681. "200":
  26682. description: OK
  26683. schema:
  26684. $ref: '#/definitions/quote.HistoryTikData'
  26685. "500":
  26686. description: Internal Server Error
  26687. schema:
  26688. $ref: '#/definitions/app.Response'
  26689. security:
  26690. - ApiKeyAuth: []
  26691. summary: 查询行情Tik数据
  26692. tags:
  26693. - 行情服务
  26694. /Quote/QueryQuoteDay:
  26695. get:
  26696. parameters:
  26697. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  26698. in: query
  26699. name: goodsCodes
  26700. type: string
  26701. produces:
  26702. - application/json
  26703. responses:
  26704. "200":
  26705. description: OK
  26706. schema:
  26707. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  26708. "500":
  26709. description: Internal Server Error
  26710. schema:
  26711. $ref: '#/definitions/app.Response'
  26712. security:
  26713. - ApiKeyAuth: []
  26714. summary: 获取商品盘面信息
  26715. tags:
  26716. - 行情服务
  26717. /Quote/QueryTSData:
  26718. get:
  26719. parameters:
  26720. - description: 商品代码
  26721. in: query
  26722. name: goodsCode
  26723. required: true
  26724. type: string
  26725. produces:
  26726. - application/json
  26727. responses:
  26728. "200":
  26729. description: OK
  26730. schema:
  26731. $ref: '#/definitions/quote.QueryTSDataRsp'
  26732. "500":
  26733. description: Internal Server Error
  26734. schema:
  26735. $ref: '#/definitions/app.Response'
  26736. security:
  26737. - ApiKeyAuth: []
  26738. summary: 分时图数据查询
  26739. tags:
  26740. - 行情服务
  26741. /SZDZ/QueryConvertConfig:
  26742. get:
  26743. parameters:
  26744. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  26745. 6:交易转花生米(不设置)
  26746. in: query
  26747. name: convertType
  26748. type: integer
  26749. - description: 外部商品代码[JD\PD]
  26750. in: query
  26751. name: outerGoodsCode
  26752. type: string
  26753. - description: 内部商品ID列表[交易],格式:1,2,3
  26754. in: query
  26755. name: innerGoodsIDs
  26756. type: string
  26757. produces:
  26758. - application/json
  26759. responses:
  26760. "200":
  26761. description: OK
  26762. schema:
  26763. $ref: '#/definitions/models.Szdz3convertconfig'
  26764. "500":
  26765. description: Internal Server Error
  26766. schema:
  26767. $ref: '#/definitions/app.Response'
  26768. security:
  26769. - ApiKeyAuth: []
  26770. summary: 查询交易系统转换设置
  26771. tags:
  26772. - 定制【尚志大宗】
  26773. /SZDZ/QueryConvertLog:
  26774. get:
  26775. parameters:
  26776. - description: 资金账户 - 格式:1,2,3
  26777. in: query
  26778. name: accountID
  26779. required: true
  26780. type: string
  26781. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  26782. in: query
  26783. name: startDate
  26784. type: string
  26785. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  26786. in: query
  26787. name: endDate
  26788. type: string
  26789. produces:
  26790. - application/json
  26791. responses:
  26792. "200":
  26793. description: OK
  26794. schema:
  26795. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  26796. "500":
  26797. description: Internal Server Error
  26798. schema:
  26799. $ref: '#/definitions/app.Response'
  26800. security:
  26801. - ApiKeyAuth: []
  26802. summary: 交易系统转换流水查询
  26803. tags:
  26804. - 定制【尚志大宗】
  26805. /SZDZ/QueryGoodsPickup:
  26806. get:
  26807. parameters:
  26808. - description: 资金账户 - 格式:1,2,3
  26809. in: query
  26810. name: accountID
  26811. required: true
  26812. type: string
  26813. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  26814. in: query
  26815. name: takeOrderStatus
  26816. type: integer
  26817. produces:
  26818. - application/json
  26819. responses:
  26820. "200":
  26821. description: OK
  26822. schema:
  26823. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  26824. "500":
  26825. description: Internal Server Error
  26826. schema:
  26827. $ref: '#/definitions/app.Response'
  26828. security:
  26829. - ApiKeyAuth: []
  26830. summary: 商品提货单查询
  26831. tags:
  26832. - 定制【尚志大宗】
  26833. /SZDZ/QueryRecieptOrder:
  26834. get:
  26835. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  26836. parameters:
  26837. - description: 页码
  26838. in: query
  26839. name: page
  26840. type: integer
  26841. - description: 每页条数
  26842. in: query
  26843. name: pagesize
  26844. type: integer
  26845. - description: 商品ID
  26846. in: query
  26847. name: goodsID
  26848. required: true
  26849. type: integer
  26850. - description: 所属账户名称
  26851. in: query
  26852. name: accountName
  26853. type: string
  26854. - description: 市场ID
  26855. in: query
  26856. name: marketID
  26857. type: integer
  26858. - description: 方向 - 0:买 1:卖
  26859. in: query
  26860. name: buyorsell
  26861. required: true
  26862. type: integer
  26863. produces:
  26864. - application/json
  26865. responses:
  26866. "200":
  26867. description: OK
  26868. schema:
  26869. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  26870. "500":
  26871. description: Internal Server Error
  26872. schema:
  26873. $ref: '#/definitions/app.Response'
  26874. security:
  26875. - ApiKeyAuth: []
  26876. summary: 点选挂牌委托单据查询(摘牌大厅)
  26877. tags:
  26878. - 定制【尚志大宗】
  26879. /SZDZ/QuerySZDZTradePosition:
  26880. get:
  26881. parameters:
  26882. - description: 资金账户
  26883. in: query
  26884. name: accountID
  26885. required: true
  26886. type: integer
  26887. produces:
  26888. - application/json
  26889. responses:
  26890. "200":
  26891. description: OK
  26892. schema:
  26893. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  26894. "500":
  26895. description: Internal Server Error
  26896. schema:
  26897. $ref: '#/definitions/app.Response'
  26898. security:
  26899. - ApiKeyAuth: []
  26900. summary: 持仓汇总查询(尚志大宗)
  26901. tags:
  26902. - 定制【尚志大宗】
  26903. /SZDZ/SearchWhite:
  26904. get:
  26905. parameters:
  26906. - description: 用户ID
  26907. in: query
  26908. name: userID
  26909. required: true
  26910. type: integer
  26911. produces:
  26912. - application/json
  26913. responses:
  26914. "200":
  26915. description: OK
  26916. schema:
  26917. $ref: '#/definitions/models.Szdz3searchwhitelist'
  26918. "500":
  26919. description: Internal Server Error
  26920. schema:
  26921. $ref: '#/definitions/app.Response'
  26922. security:
  26923. - ApiKeyAuth: []
  26924. summary: 搜索白名单
  26925. tags:
  26926. - 定制【尚志大宗】
  26927. /Search/SearchGoodses:
  26928. get:
  26929. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  26930. parameters:
  26931. - description: 检索内容
  26932. in: query
  26933. name: content
  26934. required: true
  26935. type: string
  26936. - description: 交易模式,格式:1,2,3
  26937. in: query
  26938. name: tradeModes
  26939. type: string
  26940. produces:
  26941. - application/json
  26942. responses:
  26943. "200":
  26944. description: OK
  26945. schema:
  26946. $ref: '#/definitions/models.SearchGoods'
  26947. "500":
  26948. description: Internal Server Error
  26949. schema:
  26950. $ref: '#/definitions/app.Response'
  26951. summary: 检索商品信息
  26952. tags:
  26953. - 检索服务
  26954. /TaAccount/GetTaAccounts:
  26955. get:
  26956. parameters:
  26957. - description: 登录账户
  26958. in: query
  26959. name: loginID
  26960. required: true
  26961. type: integer
  26962. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  26963. in: query
  26964. name: taAccountType
  26965. type: integer
  26966. produces:
  26967. - application/json
  26968. responses:
  26969. "200":
  26970. description: OK
  26971. schema:
  26972. $ref: '#/definitions/models.Taaccount'
  26973. "500":
  26974. description: Internal Server Error
  26975. schema:
  26976. $ref: '#/definitions/app.Response'
  26977. security:
  26978. - ApiKeyAuth: []
  26979. summary: 获取资金账户信息
  26980. tags:
  26981. - 资金账户
  26982. /TaAccount/QueryAmountLog:
  26983. get:
  26984. parameters:
  26985. - description: 页码
  26986. in: query
  26987. name: page
  26988. type: integer
  26989. - description: 每页条数
  26990. in: query
  26991. name: pagesize
  26992. type: integer
  26993. - description: 资金账户 - 格式:1,2,3
  26994. in: query
  26995. name: accountID
  26996. required: true
  26997. type: string
  26998. - description: 资金操作类型 - 格式:1,2,3
  26999. in: query
  27000. name: OperateType
  27001. type: string
  27002. produces:
  27003. - application/json
  27004. responses:
  27005. "200":
  27006. description: OK
  27007. schema:
  27008. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  27009. "500":
  27010. description: Internal Server Error
  27011. schema:
  27012. $ref: '#/definitions/app.Response'
  27013. security:
  27014. - ApiKeyAuth: []
  27015. summary: 资金流水查询(当前)
  27016. tags:
  27017. - 资金账户
  27018. /TaAccount/QueryHisAmountLog:
  27019. get:
  27020. parameters:
  27021. - description: 页码
  27022. in: query
  27023. name: page
  27024. type: integer
  27025. - description: 每页条数
  27026. in: query
  27027. name: pagesize
  27028. type: integer
  27029. - description: 资金账户 - 格式:1,2,3
  27030. in: query
  27031. name: accountID
  27032. required: true
  27033. type: string
  27034. - description: 资金操作类型 - 格式:1,2,3
  27035. in: query
  27036. name: OperateType
  27037. type: string
  27038. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  27039. in: query
  27040. name: startDate
  27041. type: string
  27042. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  27043. in: query
  27044. name: endDate
  27045. type: string
  27046. produces:
  27047. - application/json
  27048. responses:
  27049. "200":
  27050. description: OK
  27051. schema:
  27052. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  27053. "500":
  27054. description: Internal Server Error
  27055. schema:
  27056. $ref: '#/definitions/app.Response'
  27057. security:
  27058. - ApiKeyAuth: []
  27059. summary: 资金流水查询(历史)
  27060. tags:
  27061. - 资金账户
  27062. /Tjmd/QueryQuoteGoodsList:
  27063. get:
  27064. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  27065. parameters:
  27066. - description: 用户类型
  27067. in: query
  27068. name: usertype
  27069. required: true
  27070. type: integer
  27071. - description: 市场id, 格式 1,2,3
  27072. in: query
  27073. name: marketids
  27074. type: string
  27075. - description: 商品组id
  27076. in: query
  27077. name: goodsgroupid
  27078. type: integer
  27079. - description: 商品id
  27080. in: query
  27081. name: goodsid
  27082. type: integer
  27083. produces:
  27084. - application/json
  27085. responses:
  27086. "200":
  27087. description: OK
  27088. schema:
  27089. items:
  27090. $ref: '#/definitions/models.TjmdQuoteGoods'
  27091. type: array
  27092. "500":
  27093. description: Internal Server Error
  27094. schema:
  27095. $ref: '#/definitions/app.Response'
  27096. security:
  27097. - ApiKeyAuth: []
  27098. summary: 查询掉期报价列表
  27099. tags:
  27100. - 天津麦顿
  27101. /Tjmd/QueryTjmdHolderDetailTradeInfo:
  27102. get:
  27103. parameters:
  27104. - description: 成交单号
  27105. in: query
  27106. name: tradeid
  27107. required: true
  27108. type: string
  27109. produces:
  27110. - application/json
  27111. responses:
  27112. "200":
  27113. description: OK
  27114. schema:
  27115. items:
  27116. $ref: '#/definitions/models.TjmdHolderDetailTradeInfo'
  27117. type: array
  27118. "500":
  27119. description: Internal Server Error
  27120. schema:
  27121. $ref: '#/definitions/app.Response'
  27122. security:
  27123. - ApiKeyAuth: []
  27124. summary: 掉期商品订单详情(交易确认书)
  27125. tags:
  27126. - 天津麦顿
  27127. /Tjmd/QueryTjmdMarketSection:
  27128. get:
  27129. produces:
  27130. - application/json
  27131. responses:
  27132. "200":
  27133. description: OK
  27134. schema:
  27135. items:
  27136. $ref: '#/definitions/models.TjmdMarketSection'
  27137. type: array
  27138. "500":
  27139. description: Internal Server Error
  27140. schema:
  27141. $ref: '#/definitions/app.Response'
  27142. security:
  27143. - ApiKeyAuth: []
  27144. summary: 查询市场板块
  27145. tags:
  27146. - 天津麦顿
  27147. /Tjmd/QueryTjmdTodayAccountMargin:
  27148. get:
  27149. parameters:
  27150. - description: 市场id
  27151. in: query
  27152. name: marketid
  27153. type: string
  27154. - description: 商品id
  27155. in: query
  27156. name: goodsid
  27157. type: string
  27158. - description: 资金账号
  27159. in: query
  27160. name: accountid
  27161. type: string
  27162. produces:
  27163. - application/json
  27164. responses:
  27165. "200":
  27166. description: OK
  27167. schema:
  27168. items:
  27169. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  27170. type: array
  27171. "500":
  27172. description: Internal Server Error
  27173. schema:
  27174. $ref: '#/definitions/app.Response'
  27175. security:
  27176. - ApiKeyAuth: []
  27177. summary: 查询今日账户保证金配置
  27178. tags:
  27179. - 天津麦顿
  27180. /Tjmd/QueryTjmdTradeOrderDetail:
  27181. get:
  27182. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  27183. parameters:
  27184. - description: 页码
  27185. in: query
  27186. name: page
  27187. type: integer
  27188. - description: 每页条数
  27189. in: query
  27190. name: pagesize
  27191. type: integer
  27192. - description: 用户id
  27193. in: query
  27194. name: userid
  27195. required: true
  27196. type: integer
  27197. - description: 用户类型
  27198. in: query
  27199. name: usertype
  27200. required: true
  27201. type: integer
  27202. - description: 市场id, 格式 1,2,3
  27203. in: query
  27204. name: marketids
  27205. type: string
  27206. - description: 商品id
  27207. in: query
  27208. name: goodsid
  27209. required: true
  27210. type: integer
  27211. - description: 买卖方向 0-买 1-卖
  27212. in: query
  27213. name: buyorsell
  27214. required: true
  27215. type: integer
  27216. produces:
  27217. - application/json
  27218. responses:
  27219. "200":
  27220. description: OK
  27221. schema:
  27222. items:
  27223. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  27224. type: array
  27225. "500":
  27226. description: Internal Server Error
  27227. schema:
  27228. $ref: '#/definitions/app.Response'
  27229. security:
  27230. - ApiKeyAuth: []
  27231. summary: 查询掉期买卖大厅
  27232. tags:
  27233. - 天津麦顿
  27234. /Tjmd/QueryTjmdTransferApply:
  27235. get:
  27236. parameters:
  27237. - description: 类型 1-我的申请 2-对方申请
  27238. in: query
  27239. name: applytype
  27240. required: true
  27241. type: integer
  27242. - description: 市场id, 格式 1,2,3
  27243. in: query
  27244. name: marketids
  27245. type: string
  27246. - description: 资金账号, 格式 25000000001,25000000003
  27247. in: query
  27248. name: accountids
  27249. type: string
  27250. - description: 开始交易日(yyyymmdd)
  27251. in: query
  27252. name: begindate
  27253. type: string
  27254. - description: 结束交易日(yyyymmdd)
  27255. in: query
  27256. name: enddate
  27257. type: string
  27258. produces:
  27259. - application/json
  27260. responses:
  27261. "200":
  27262. description: OK
  27263. schema:
  27264. items:
  27265. $ref: '#/definitions/models.TjmdTransferApply'
  27266. type: array
  27267. "500":
  27268. description: Internal Server Error
  27269. schema:
  27270. $ref: '#/definitions/app.Response'
  27271. security:
  27272. - ApiKeyAuth: []
  27273. summary: 查询掉期协议单
  27274. tags:
  27275. - 天津麦顿
  27276. /Trade/QueryRecieptOrder:
  27277. get:
  27278. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  27279. parameters:
  27280. - description: 页码
  27281. in: query
  27282. name: page
  27283. type: integer
  27284. - description: 每页条数
  27285. in: query
  27286. name: pagesize
  27287. type: integer
  27288. - description: 商品ID
  27289. in: query
  27290. name: goodsID
  27291. required: true
  27292. type: integer
  27293. - description: 所属账户名称
  27294. in: query
  27295. name: accountName
  27296. type: string
  27297. - description: 市场ID
  27298. in: query
  27299. name: marketID
  27300. type: integer
  27301. - description: 方向 - 0:买 1:卖
  27302. in: query
  27303. name: buyorsell
  27304. required: true
  27305. type: integer
  27306. produces:
  27307. - application/json
  27308. responses:
  27309. "200":
  27310. description: OK
  27311. schema:
  27312. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  27313. "500":
  27314. description: Internal Server Error
  27315. schema:
  27316. $ref: '#/definitions/app.Response'
  27317. security:
  27318. - ApiKeyAuth: []
  27319. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  27320. tags:
  27321. - 通用交易
  27322. /User/AddMessageBoard:
  27323. post:
  27324. parameters:
  27325. - description: 用户ID
  27326. in: query
  27327. name: userID
  27328. required: true
  27329. type: integer
  27330. - description: 留言信息
  27331. in: query
  27332. name: message
  27333. required: true
  27334. type: string
  27335. - description: 联系电话
  27336. in: query
  27337. name: contactNum
  27338. required: true
  27339. type: string
  27340. produces:
  27341. - application/json
  27342. responses:
  27343. "200":
  27344. description: OK
  27345. schema:
  27346. $ref: '#/definitions/app.Response'
  27347. "500":
  27348. description: Internal Server Error
  27349. schema:
  27350. $ref: '#/definitions/app.Response'
  27351. security:
  27352. - ApiKeyAuth: []
  27353. summary: 添加用户留言板信息
  27354. tags:
  27355. - 用户信息
  27356. /User/AddUserFavoriteGoods:
  27357. post:
  27358. parameters:
  27359. - description: 用户ID
  27360. in: query
  27361. name: userID
  27362. required: true
  27363. type: integer
  27364. - description: 商品ID
  27365. in: query
  27366. name: goodsID
  27367. required: true
  27368. type: integer
  27369. produces:
  27370. - application/json
  27371. responses:
  27372. "200":
  27373. description: OK
  27374. schema:
  27375. $ref: '#/definitions/app.Response'
  27376. "500":
  27377. description: Internal Server Error
  27378. schema:
  27379. $ref: '#/definitions/app.Response'
  27380. security:
  27381. - ApiKeyAuth: []
  27382. summary: 添加用户商品收藏信息
  27383. tags:
  27384. - 用户信息
  27385. /User/GetLoginID:
  27386. get:
  27387. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  27388. parameters:
  27389. - description: 登录代码
  27390. in: query
  27391. name: username
  27392. required: true
  27393. type: string
  27394. produces:
  27395. - application/json
  27396. responses:
  27397. "200":
  27398. description: OK
  27399. schema:
  27400. $ref: '#/definitions/app.Response'
  27401. "500":
  27402. description: Internal Server Error
  27403. schema:
  27404. $ref: '#/definitions/app.Response'
  27405. summary: 获取登录ID
  27406. tags:
  27407. - 用户信息
  27408. /User/GetUserAccount:
  27409. get:
  27410. parameters:
  27411. - description: 用户ID
  27412. in: query
  27413. name: userID
  27414. required: true
  27415. type: integer
  27416. produces:
  27417. - application/json
  27418. responses:
  27419. "200":
  27420. description: OK
  27421. schema:
  27422. $ref: '#/definitions/models.Useraccount'
  27423. "500":
  27424. description: Internal Server Error
  27425. schema:
  27426. $ref: '#/definitions/app.Response'
  27427. security:
  27428. - ApiKeyAuth: []
  27429. summary: 获取用户账号信息
  27430. tags:
  27431. - 用户信息
  27432. /User/GetUserAuthStatus:
  27433. get:
  27434. parameters:
  27435. - description: 用户ID
  27436. in: query
  27437. name: userID
  27438. required: true
  27439. type: integer
  27440. produces:
  27441. - application/json
  27442. responses:
  27443. "200":
  27444. description: OK
  27445. schema:
  27446. $ref: '#/definitions/app.Response'
  27447. "500":
  27448. description: Internal Server Error
  27449. schema:
  27450. $ref: '#/definitions/app.Response'
  27451. security:
  27452. - ApiKeyAuth: []
  27453. summary: 获取用户实名认证状态
  27454. tags:
  27455. - 用户信息
  27456. /User/LoginQuery:
  27457. get:
  27458. parameters:
  27459. - description: 登录账号
  27460. in: query
  27461. name: loginID
  27462. required: true
  27463. type: integer
  27464. produces:
  27465. - application/json
  27466. responses:
  27467. "200":
  27468. description: OK
  27469. schema:
  27470. $ref: '#/definitions/user.LoginQueryRsp'
  27471. "500":
  27472. description: Internal Server Error
  27473. schema:
  27474. $ref: '#/definitions/app.Response'
  27475. security:
  27476. - ApiKeyAuth: []
  27477. summary: 账户登录后信息查询
  27478. tags:
  27479. - 用户信息
  27480. /User/QueryMessageBoard:
  27481. get:
  27482. parameters:
  27483. - description: 用户ID
  27484. in: query
  27485. name: userID
  27486. required: true
  27487. type: integer
  27488. produces:
  27489. - application/json
  27490. responses:
  27491. "200":
  27492. description: OK
  27493. schema:
  27494. $ref: '#/definitions/models.Messageboard'
  27495. "500":
  27496. description: Internal Server Error
  27497. schema:
  27498. $ref: '#/definitions/app.Response'
  27499. security:
  27500. - ApiKeyAuth: []
  27501. summary: 获取用户留言板信息
  27502. tags:
  27503. - 用户信息
  27504. /User/QueryUserFavoriteGoodses:
  27505. get:
  27506. parameters:
  27507. - description: 用户ID
  27508. in: query
  27509. name: userID
  27510. required: true
  27511. type: integer
  27512. produces:
  27513. - application/json
  27514. responses:
  27515. "200":
  27516. description: OK
  27517. schema:
  27518. $ref: '#/definitions/models.Userfavoritegoods'
  27519. "500":
  27520. description: Internal Server Error
  27521. schema:
  27522. $ref: '#/definitions/app.Response'
  27523. security:
  27524. - ApiKeyAuth: []
  27525. summary: 获取用户商品收藏信息
  27526. tags:
  27527. - 用户信息
  27528. /User/QueryUserInfo:
  27529. get:
  27530. parameters:
  27531. - description: 用户ID
  27532. in: query
  27533. name: userID
  27534. required: true
  27535. type: integer
  27536. - description: 是否解密
  27537. in: query
  27538. name: isDecrypt
  27539. type: boolean
  27540. produces:
  27541. - application/json
  27542. responses:
  27543. "200":
  27544. description: OK
  27545. schema:
  27546. $ref: '#/definitions/models.Userinfo'
  27547. "500":
  27548. description: Internal Server Error
  27549. schema:
  27550. $ref: '#/definitions/app.Response'
  27551. security:
  27552. - ApiKeyAuth: []
  27553. summary: 获取用户信息
  27554. tags:
  27555. - 用户信息
  27556. /User/QueryUserReferNum:
  27557. get:
  27558. parameters:
  27559. - description: 用户ID
  27560. in: query
  27561. name: userID
  27562. required: true
  27563. type: integer
  27564. produces:
  27565. - application/json
  27566. responses:
  27567. "200":
  27568. description: OK
  27569. schema:
  27570. $ref: '#/definitions/app.Response'
  27571. "500":
  27572. description: Internal Server Error
  27573. schema:
  27574. $ref: '#/definitions/app.Response'
  27575. summary: 获取用户邀请码
  27576. tags:
  27577. - 用户信息
  27578. /User/RemoveUserFavoriteGoods:
  27579. post:
  27580. parameters:
  27581. - description: 用户ID
  27582. in: query
  27583. name: userID
  27584. required: true
  27585. type: integer
  27586. - description: 商品ID
  27587. in: query
  27588. name: goodsID
  27589. required: true
  27590. type: integer
  27591. produces:
  27592. - application/json
  27593. responses:
  27594. "200":
  27595. description: OK
  27596. schema:
  27597. $ref: '#/definitions/app.Response'
  27598. "500":
  27599. description: Internal Server Error
  27600. schema:
  27601. $ref: '#/definitions/app.Response'
  27602. security:
  27603. - ApiKeyAuth: []
  27604. summary: 移除用户商品收藏信息
  27605. tags:
  27606. - 用户信息
  27607. /User/UpdateUserAccountStatus:
  27608. post:
  27609. parameters:
  27610. - description: 用户ID
  27611. in: query
  27612. name: userID
  27613. required: true
  27614. type: integer
  27615. - description: 账户状态 - 4:正常 6:注销(停用)
  27616. in: query
  27617. name: accountStatus
  27618. required: true
  27619. type: integer
  27620. produces:
  27621. - application/json
  27622. responses:
  27623. "200":
  27624. description: OK
  27625. schema:
  27626. $ref: '#/definitions/app.Response'
  27627. "500":
  27628. description: Internal Server Error
  27629. schema:
  27630. $ref: '#/definitions/app.Response'
  27631. security:
  27632. - ApiKeyAuth: []
  27633. summary: 更新用户状态
  27634. tags:
  27635. - 用户信息
  27636. /WRTrade/GetAllDeliveryGoods:
  27637. get:
  27638. produces:
  27639. - application/json
  27640. responses:
  27641. "200":
  27642. description: OK
  27643. schema:
  27644. $ref: '#/definitions/app.Response'
  27645. "500":
  27646. description: Internal Server Error
  27647. schema:
  27648. $ref: '#/definitions/app.Response'
  27649. security:
  27650. - ApiKeyAuth: []
  27651. summary: 获取带仓单分类的种类信息
  27652. tags:
  27653. - 仓单贸易
  27654. - 仓单贸易
  27655. /WrTrade2/QueryDeliveryGoodsSection:
  27656. get:
  27657. produces:
  27658. - application/json
  27659. responses:
  27660. "200":
  27661. description: OK
  27662. schema:
  27663. items:
  27664. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  27665. type: array
  27666. "500":
  27667. description: Internal Server Error
  27668. schema:
  27669. $ref: '#/definitions/app.Response'
  27670. security:
  27671. - ApiKeyAuth: []
  27672. summary: 查询板块(分类)
  27673. tags:
  27674. - 仓单贸易v2
  27675. /WrTrade2/QueryFaProductDetail:
  27676. get:
  27677. description: 页面 买卖大厅 -> 选择融资方案
  27678. parameters:
  27679. - description: 仓单要素id
  27680. in: query
  27681. name: wrfactortypeid
  27682. required: true
  27683. type: integer
  27684. produces:
  27685. - application/json
  27686. responses:
  27687. "200":
  27688. description: OK
  27689. schema:
  27690. items:
  27691. $ref: '#/definitions/models.WrFAProductDetail'
  27692. type: array
  27693. "500":
  27694. description: Internal Server Error
  27695. schema:
  27696. $ref: '#/definitions/app.Response'
  27697. security:
  27698. - ApiKeyAuth: []
  27699. summary: 查询融资产品列表
  27700. tags:
  27701. - 仓单贸易v2
  27702. /WrTrade2/QueryFilterItem:
  27703. get:
  27704. parameters:
  27705. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  27706. in: query
  27707. name: itype
  27708. required: true
  27709. type: string
  27710. produces:
  27711. - application/json
  27712. responses:
  27713. "200":
  27714. description: OK
  27715. schema:
  27716. items:
  27717. $ref: '#/definitions/models.WrFilterItem'
  27718. type: array
  27719. "500":
  27720. description: Internal Server Error
  27721. schema:
  27722. $ref: '#/definitions/app.Response'
  27723. security:
  27724. - ApiKeyAuth: []
  27725. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  27726. tags:
  27727. - 仓单贸易v2
  27728. /WrTrade2/QueryFtDeliveryGoods:
  27729. get:
  27730. produces:
  27731. - application/json
  27732. responses:
  27733. "200":
  27734. description: OK
  27735. schema:
  27736. items:
  27737. $ref: '#/definitions/models.WrFtDeliveryGoods'
  27738. type: array
  27739. "500":
  27740. description: Internal Server Error
  27741. schema:
  27742. $ref: '#/definitions/app.Response'
  27743. security:
  27744. - ApiKeyAuth: []
  27745. summary: 查询品种品类筛选框列表
  27746. tags:
  27747. - 仓单贸易v2
  27748. /WrTrade2/QueryHoldLB:
  27749. get:
  27750. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  27751. parameters:
  27752. - description: 资金账号
  27753. in: query
  27754. name: accountid
  27755. required: true
  27756. type: integer
  27757. - description: 仓库id
  27758. in: query
  27759. name: warehouseid
  27760. type: integer
  27761. - description: 品种id
  27762. in: query
  27763. name: deliverygoodsid
  27764. type: integer
  27765. - description: 品类id
  27766. in: query
  27767. name: wrstandardid
  27768. type: integer
  27769. - description: 仓单要素id
  27770. in: query
  27771. name: wrfactortypeid
  27772. type: integer
  27773. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27774. in: query
  27775. name: dgitemname
  27776. type: string
  27777. produces:
  27778. - application/json
  27779. responses:
  27780. "200":
  27781. description: OK
  27782. schema:
  27783. items:
  27784. $ref: '#/definitions/models.WrHoldLB'
  27785. type: array
  27786. "500":
  27787. description: Internal Server Error
  27788. schema:
  27789. $ref: '#/definitions/app.Response'
  27790. security:
  27791. - ApiKeyAuth: []
  27792. summary: 查询仓单持有记录
  27793. tags:
  27794. - 仓单贸易v2
  27795. /WrTrade2/QueryOrderQuote:
  27796. get:
  27797. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  27798. 唯一确定1条记录
  27799. parameters:
  27800. - description: 页码
  27801. in: query
  27802. name: page
  27803. type: integer
  27804. - description: 每页条数
  27805. in: query
  27806. name: pagesize
  27807. type: integer
  27808. - description: 仓单贸易市场id
  27809. in: query
  27810. name: marketid
  27811. type: integer
  27812. - description: 价格方式 - 1:固定价 2-浮动价
  27813. in: query
  27814. name: wrpricetype
  27815. required: true
  27816. type: integer
  27817. - description: 0:仓单预售 1:仓单贸易
  27818. in: query
  27819. name: haswr
  27820. type: integer
  27821. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27822. in: query
  27823. name: dgitemname
  27824. type: string
  27825. - description: 仓库id(筛选条件)
  27826. in: query
  27827. name: warehouseid
  27828. type: integer
  27829. - description: 品种id
  27830. in: query
  27831. name: deliverygoodsid
  27832. type: integer
  27833. - description: 品类id
  27834. in: query
  27835. name: wrstandardid
  27836. type: integer
  27837. - description: 品牌id(dgfactoryitemid)
  27838. in: query
  27839. name: brandid
  27840. type: integer
  27841. - description: 年份id(dgfactoryitemid)
  27842. in: query
  27843. name: yearsid
  27844. type: integer
  27845. - description: 仓单要素id
  27846. in: query
  27847. name: wrfactortypeid
  27848. type: integer
  27849. - description: 交收月(yyyy-mm) 仓单预售填写
  27850. in: query
  27851. name: deliverymonth
  27852. type: string
  27853. produces:
  27854. - application/json
  27855. responses:
  27856. "200":
  27857. description: OK
  27858. schema:
  27859. items:
  27860. $ref: '#/definitions/models.WrOrderQuote'
  27861. type: array
  27862. "500":
  27863. description: Internal Server Error
  27864. schema:
  27865. $ref: '#/definitions/app.Response'
  27866. security:
  27867. - ApiKeyAuth: []
  27868. summary: 查询大厅行情列表
  27869. tags:
  27870. - 仓单贸易v2
  27871. /WrTrade2/QueryOrderQuoteDetail:
  27872. get:
  27873. parameters:
  27874. - description: 页码
  27875. in: query
  27876. name: page
  27877. type: integer
  27878. - description: 每页条数
  27879. in: query
  27880. name: pagesize
  27881. type: integer
  27882. - description: 仓单贸易市场id
  27883. in: query
  27884. name: marketid
  27885. type: integer
  27886. - description: 价格方式 - 1:固定价 2-浮动价
  27887. in: query
  27888. name: wrpricetype
  27889. required: true
  27890. type: integer
  27891. - description: 0:仓单预售 1:仓单贸易
  27892. in: query
  27893. name: haswr
  27894. type: integer
  27895. - description: 仓单要素id
  27896. in: query
  27897. name: wrfactortypeid
  27898. required: true
  27899. type: integer
  27900. - description: 期货商品id(浮动价方式时填)
  27901. in: query
  27902. name: goodsid
  27903. type: integer
  27904. - description: 买卖方向 0-买 1-卖
  27905. in: query
  27906. name: buyorsell
  27907. required: true
  27908. type: integer
  27909. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  27910. in: query
  27911. name: deliverymonth
  27912. type: string
  27913. produces:
  27914. - application/json
  27915. responses:
  27916. "200":
  27917. description: OK
  27918. schema:
  27919. items:
  27920. $ref: '#/definitions/models.WrOrderQuoteDetail'
  27921. type: array
  27922. "500":
  27923. description: Internal Server Error
  27924. schema:
  27925. $ref: '#/definitions/app.Response'
  27926. security:
  27927. - ApiKeyAuth: []
  27928. summary: 查询买卖大厅
  27929. tags:
  27930. - 仓单贸易v2
  27931. /WrTrade2/QueryOrderQuoteMyq:
  27932. get:
  27933. parameters:
  27934. - description: 页码
  27935. in: query
  27936. name: page
  27937. type: integer
  27938. - description: 每页条数
  27939. in: query
  27940. name: pagesize
  27941. type: integer
  27942. - description: 用户id
  27943. in: query
  27944. name: userid
  27945. required: true
  27946. type: integer
  27947. - description: 仓单贸易市场id
  27948. in: query
  27949. name: marketid
  27950. type: integer
  27951. - description: 0:仓单预售 1:仓单贸易
  27952. in: query
  27953. name: haswr
  27954. type: integer
  27955. - description: 买卖方向 0-买 1-卖
  27956. in: query
  27957. name: buyorsell
  27958. required: true
  27959. type: integer
  27960. - description: 品种id
  27961. in: query
  27962. name: deliverygoodsid
  27963. type: integer
  27964. - description: 品类id
  27965. in: query
  27966. name: wrstandardid
  27967. type: integer
  27968. - description: 交收月(yyyy-mm) 仓单预售填写
  27969. in: query
  27970. name: deliverymonth
  27971. type: string
  27972. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27973. in: query
  27974. name: dgitemname
  27975. type: string
  27976. produces:
  27977. - application/json
  27978. responses:
  27979. "200":
  27980. description: OK
  27981. schema:
  27982. items:
  27983. $ref: '#/definitions/models.WrQuoteOrderMyq'
  27984. type: array
  27985. "500":
  27986. description: Internal Server Error
  27987. schema:
  27988. $ref: '#/definitions/app.Response'
  27989. security:
  27990. - ApiKeyAuth: []
  27991. summary: 查询贸易圈挂牌大厅
  27992. tags:
  27993. - 仓单贸易v2
  27994. /WrTrade2/QueryPerformancePlan:
  27995. get:
  27996. parameters:
  27997. - description: 用户id
  27998. in: query
  27999. name: userid
  28000. required: true
  28001. type: integer
  28002. - description: 买卖方向 0-买 1-卖
  28003. in: query
  28004. name: buyorsell
  28005. required: true
  28006. type: integer
  28007. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  28008. 8:释放冻结失败 9:超时待处理 10:超时关闭
  28009. in: query
  28010. name: status
  28011. type: string
  28012. - description: 开始交易日(yyyymmdd)
  28013. in: query
  28014. name: begindate
  28015. type: string
  28016. - description: 结束交易日(yyyymmdd)
  28017. in: query
  28018. name: enddate
  28019. type: string
  28020. produces:
  28021. - application/json
  28022. responses:
  28023. "200":
  28024. description: OK
  28025. schema:
  28026. items:
  28027. $ref: '#/definitions/models.WrPerformancePlan'
  28028. type: array
  28029. "500":
  28030. description: Internal Server Error
  28031. schema:
  28032. $ref: '#/definitions/app.Response'
  28033. security:
  28034. - ApiKeyAuth: []
  28035. summary: 查询履约信息
  28036. tags:
  28037. - 仓单贸易v2
  28038. /WrTrade2/QueryPermancePlanTmp:
  28039. get:
  28040. description: |-
  28041. 返回指定用户的模板和公共模板(用户id为空)
  28042. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  28043. parameters:
  28044. - description: 用户id
  28045. in: query
  28046. name: userid
  28047. type: integer
  28048. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  28049. (无仓单) 5:挂牌期权 6:竞拍-降价式
  28050. in: query
  28051. name: tmptype
  28052. type: string
  28053. - description: 是否包含公共模板(用户id为空的) 1-包含
  28054. in: query
  28055. name: includepub
  28056. type: integer
  28057. - description: 市场id(天津麦顿指定此参数,其它不用)
  28058. in: query
  28059. name: marketid
  28060. type: integer
  28061. produces:
  28062. - application/json
  28063. responses:
  28064. "200":
  28065. description: OK
  28066. schema:
  28067. items:
  28068. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  28069. type: array
  28070. "500":
  28071. description: Internal Server Error
  28072. schema:
  28073. $ref: '#/definitions/app.Response'
  28074. security:
  28075. - ApiKeyAuth: []
  28076. summary: 查询履约模板
  28077. tags:
  28078. - 仓单贸易v2
  28079. /WrTrade2/QuerySiteColumnDetail:
  28080. get:
  28081. parameters:
  28082. - description: 页码
  28083. in: query
  28084. name: page
  28085. type: integer
  28086. - description: 每页条数
  28087. in: query
  28088. name: pagesize
  28089. type: integer
  28090. - description: 所属栏目id
  28091. in: query
  28092. name: columnid
  28093. type: integer
  28094. produces:
  28095. - application/json
  28096. responses:
  28097. "200":
  28098. description: OK
  28099. schema:
  28100. items:
  28101. $ref: '#/definitions/models.WrSiteColumnDetail'
  28102. type: array
  28103. "500":
  28104. description: Internal Server Error
  28105. schema:
  28106. $ref: '#/definitions/app.Response'
  28107. security:
  28108. - ApiKeyAuth: []
  28109. summary: 查询资讯
  28110. tags:
  28111. - 仓单贸易v2
  28112. /WrTrade2/QuerySpotGroupTradeSum:
  28113. get:
  28114. produces:
  28115. - application/json
  28116. responses:
  28117. "200":
  28118. description: OK
  28119. schema:
  28120. items:
  28121. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  28122. type: array
  28123. "500":
  28124. description: Internal Server Error
  28125. schema:
  28126. $ref: '#/definitions/app.Response'
  28127. security:
  28128. - ApiKeyAuth: []
  28129. summary: 查询指数
  28130. tags:
  28131. - 仓单贸易v2
  28132. /WrTrade2/QuerySpotGroupTradeSumDetail:
  28133. get:
  28134. description: 查询的结果将会按日期 从小到大 排序
  28135. parameters:
  28136. - description: 现货商品id
  28137. in: query
  28138. name: deliverygoodsid
  28139. required: true
  28140. type: integer
  28141. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  28142. in: query
  28143. name: lastnum
  28144. type: integer
  28145. produces:
  28146. - application/json
  28147. responses:
  28148. "200":
  28149. description: OK
  28150. schema:
  28151. items:
  28152. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  28153. type: array
  28154. "500":
  28155. description: Internal Server Error
  28156. schema:
  28157. $ref: '#/definitions/app.Response'
  28158. security:
  28159. - ApiKeyAuth: []
  28160. summary: 查询指数详细(价格走势图)
  28161. tags:
  28162. - 仓单贸易v2
  28163. /WrTrade2/QueryWrAverageTradePrice:
  28164. get:
  28165. parameters:
  28166. - description: 页码
  28167. in: query
  28168. name: page
  28169. type: integer
  28170. - description: 每页条数
  28171. in: query
  28172. name: pagesize
  28173. type: integer
  28174. - description: 0:仓单预售 1:仓单贸易
  28175. in: query
  28176. name: haswr
  28177. required: true
  28178. type: integer
  28179. - description: 仓单要素id
  28180. in: query
  28181. name: wrfactortypeid
  28182. required: true
  28183. type: integer
  28184. produces:
  28185. - application/json
  28186. responses:
  28187. "200":
  28188. description: OK
  28189. schema:
  28190. items:
  28191. $ref: '#/definitions/models.WrAverageTradePrice'
  28192. type: array
  28193. "500":
  28194. description: Internal Server Error
  28195. schema:
  28196. $ref: '#/definitions/app.Response'
  28197. security:
  28198. - ApiKeyAuth: []
  28199. summary: 查询成交价(历史走势)
  28200. tags:
  28201. - 仓单贸易v2
  28202. /WrTrade2/QueryWrBrandAndYears:
  28203. get:
  28204. produces:
  28205. - application/json
  28206. responses:
  28207. "200":
  28208. description: OK
  28209. schema:
  28210. items:
  28211. $ref: '#/definitions/models.WrBrandAndYears'
  28212. type: array
  28213. "500":
  28214. description: Internal Server Error
  28215. schema:
  28216. $ref: '#/definitions/app.Response'
  28217. security:
  28218. - ApiKeyAuth: []
  28219. summary: 查询品牌和年份
  28220. tags:
  28221. - 仓单贸易v2
  28222. /WrTrade2/QueryWrBsGoodsInfo:
  28223. get:
  28224. description: 合约交易/买卖大厅/详情
  28225. parameters:
  28226. - description: 商品id
  28227. in: query
  28228. name: goodsid
  28229. required: true
  28230. type: integer
  28231. produces:
  28232. - application/json
  28233. responses:
  28234. "200":
  28235. description: OK
  28236. schema:
  28237. items:
  28238. $ref: '#/definitions/models.WrBsGoodsInfo'
  28239. type: array
  28240. "500":
  28241. description: Internal Server Error
  28242. schema:
  28243. $ref: '#/definitions/app.Response'
  28244. security:
  28245. - ApiKeyAuth: []
  28246. summary: 查询合约交易买卖大厅详情
  28247. tags:
  28248. - 仓单贸易v2
  28249. /WrTrade2/QueryWrBuybackDetail:
  28250. get:
  28251. parameters:
  28252. - description: 融资合同id
  28253. in: query
  28254. name: scfcontractid
  28255. type: integer
  28256. produces:
  28257. - application/json
  28258. responses:
  28259. "200":
  28260. description: OK
  28261. schema:
  28262. items:
  28263. $ref: '#/definitions/models.WrBuybackDetail'
  28264. type: array
  28265. "500":
  28266. description: Internal Server Error
  28267. schema:
  28268. $ref: '#/definitions/app.Response'
  28269. security:
  28270. - ApiKeyAuth: []
  28271. summary: 查询仓单回购明细
  28272. tags:
  28273. - 仓单贸易v2
  28274. /WrTrade2/QueryWrClientAdSpaceConfig:
  28275. get:
  28276. produces:
  28277. - application/json
  28278. responses:
  28279. "200":
  28280. description: OK
  28281. schema:
  28282. items:
  28283. $ref: '#/definitions/models.WrClientAdSpaceConfig'
  28284. type: array
  28285. "500":
  28286. description: Internal Server Error
  28287. schema:
  28288. $ref: '#/definitions/app.Response'
  28289. security:
  28290. - ApiKeyAuth: []
  28291. summary: 查询固定广告配置
  28292. tags:
  28293. - 仓单贸易v2
  28294. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  28295. get:
  28296. parameters:
  28297. - description: 资金账号
  28298. in: query
  28299. name: accountid
  28300. required: true
  28301. type: integer
  28302. - description: 商品id
  28303. in: query
  28304. name: goodsid
  28305. required: true
  28306. type: integer
  28307. produces:
  28308. - application/json
  28309. responses:
  28310. "200":
  28311. description: OK
  28312. schema:
  28313. items:
  28314. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  28315. type: array
  28316. "500":
  28317. description: Internal Server Error
  28318. schema:
  28319. $ref: '#/definitions/app.Response'
  28320. security:
  28321. - ApiKeyAuth: []
  28322. summary: 查询合约交收可点选仓单
  28323. tags:
  28324. - 仓单贸易v2
  28325. /WrTrade2/QueryWrDeliveryDetail:
  28326. get:
  28327. parameters:
  28328. - description: 用户id
  28329. in: query
  28330. name: userid
  28331. required: true
  28332. type: integer
  28333. - description: 资金账号id
  28334. in: query
  28335. name: accountid
  28336. type: integer
  28337. - description: 开始交易日(yyyymmdd)
  28338. in: query
  28339. name: begindate
  28340. type: string
  28341. - description: 结束交易日(yyyymmdd)
  28342. in: query
  28343. name: enddate
  28344. type: string
  28345. produces:
  28346. - application/json
  28347. responses:
  28348. "200":
  28349. description: OK
  28350. schema:
  28351. items:
  28352. $ref: '#/definitions/models.WrDeliveryDetail'
  28353. type: array
  28354. "500":
  28355. description: Internal Server Error
  28356. schema:
  28357. $ref: '#/definitions/app.Response'
  28358. security:
  28359. - ApiKeyAuth: []
  28360. summary: 查询交收
  28361. tags:
  28362. - 仓单贸易v2
  28363. /WrTrade2/QueryWrDraftUserInfo:
  28364. get:
  28365. parameters:
  28366. - description: 用户ID
  28367. in: query
  28368. name: userid
  28369. required: true
  28370. type: integer
  28371. - description: 用户状态 1:正常 2:注销
  28372. in: query
  28373. name: userstatus
  28374. type: integer
  28375. produces:
  28376. - application/json
  28377. responses:
  28378. "200":
  28379. description: OK
  28380. schema:
  28381. items:
  28382. $ref: '#/definitions/models.WrDraftUserInfo'
  28383. type: array
  28384. "500":
  28385. description: Internal Server Error
  28386. schema:
  28387. $ref: '#/definitions/app.Response'
  28388. security:
  28389. - ApiKeyAuth: []
  28390. summary: 查询实名认证信息
  28391. tags:
  28392. - 仓单贸易v2
  28393. /WrTrade2/QueryWrFactorTypeInfo:
  28394. get:
  28395. parameters:
  28396. - description: 仓单要素id
  28397. in: query
  28398. name: wrfactortypeid
  28399. required: true
  28400. type: integer
  28401. produces:
  28402. - application/json
  28403. responses:
  28404. "200":
  28405. description: OK
  28406. schema:
  28407. items:
  28408. $ref: '#/definitions/models.WrFactorTypeInfo'
  28409. type: array
  28410. "500":
  28411. description: Internal Server Error
  28412. schema:
  28413. $ref: '#/definitions/app.Response'
  28414. security:
  28415. - ApiKeyAuth: []
  28416. summary: 查询仓单要素详细信息
  28417. tags:
  28418. - 仓单贸易v2
  28419. /WrTrade2/QueryWrFactorTypeInfoEx:
  28420. get:
  28421. parameters:
  28422. - description: 仓单要素id
  28423. in: query
  28424. name: wrfactortypeid
  28425. required: true
  28426. type: integer
  28427. produces:
  28428. - application/json
  28429. responses:
  28430. "200":
  28431. description: OK
  28432. schema:
  28433. items:
  28434. $ref: '#/definitions/models.WrTypeItem'
  28435. type: array
  28436. "500":
  28437. description: Internal Server Error
  28438. schema:
  28439. $ref: '#/definitions/app.Response'
  28440. security:
  28441. - ApiKeyAuth: []
  28442. summary: 查询仓单要素详细信息列表项
  28443. tags:
  28444. - 仓单贸易v2
  28445. /WrTrade2/QueryWrFinanceBuyApply:
  28446. get:
  28447. description: 页面 融资信息+ / 申请单
  28448. parameters:
  28449. - description: 用户id
  28450. in: query
  28451. name: userid
  28452. required: true
  28453. type: integer
  28454. produces:
  28455. - application/json
  28456. responses:
  28457. "200":
  28458. description: OK
  28459. schema:
  28460. items:
  28461. $ref: '#/definitions/models.WrFinanceBuyApply'
  28462. type: array
  28463. "500":
  28464. description: Internal Server Error
  28465. schema:
  28466. $ref: '#/definitions/app.Response'
  28467. security:
  28468. - ApiKeyAuth: []
  28469. summary: 查询融资购买申请
  28470. tags:
  28471. - 仓单贸易v2
  28472. /WrTrade2/QueryWrFriendApply:
  28473. get:
  28474. parameters:
  28475. - description: 用户id
  28476. in: query
  28477. name: userid
  28478. required: true
  28479. type: integer
  28480. produces:
  28481. - application/json
  28482. responses:
  28483. "200":
  28484. description: OK
  28485. schema:
  28486. items:
  28487. $ref: '#/definitions/models.WrFriendApply'
  28488. type: array
  28489. "500":
  28490. description: Internal Server Error
  28491. schema:
  28492. $ref: '#/definitions/app.Response'
  28493. security:
  28494. - ApiKeyAuth: []
  28495. summary: 查询好友申请记录
  28496. tags:
  28497. - 仓单贸易v2
  28498. /WrTrade2/QueryWrGoodsInfo:
  28499. get:
  28500. parameters:
  28501. - description: 仓单贸易市场id
  28502. in: query
  28503. name: marketid
  28504. type: integer
  28505. - description: 0:仓单预售 1:仓单贸易
  28506. in: query
  28507. name: haswr
  28508. required: true
  28509. type: integer
  28510. - description: 仓单要素id
  28511. in: query
  28512. name: wrfactortypeid
  28513. required: true
  28514. type: integer
  28515. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  28516. in: query
  28517. name: tmplateid
  28518. type: integer
  28519. produces:
  28520. - application/json
  28521. responses:
  28522. "200":
  28523. description: OK
  28524. schema:
  28525. items:
  28526. $ref: '#/definitions/models.WrGoodsInfo'
  28527. type: array
  28528. "500":
  28529. description: Internal Server Error
  28530. schema:
  28531. $ref: '#/definitions/app.Response'
  28532. security:
  28533. - ApiKeyAuth: []
  28534. summary: 查询仓单商品信息
  28535. tags:
  28536. - 仓单贸易v2
  28537. /WrTrade2/QueryWrMarketTradeConfig:
  28538. get:
  28539. parameters:
  28540. - description: 市场id
  28541. in: query
  28542. name: marketid
  28543. type: integer
  28544. produces:
  28545. - application/json
  28546. responses:
  28547. "200":
  28548. description: OK
  28549. schema:
  28550. items:
  28551. $ref: '#/definitions/models.WrMarketTradeConfig'
  28552. type: array
  28553. "500":
  28554. description: Internal Server Error
  28555. schema:
  28556. $ref: '#/definitions/app.Response'
  28557. security:
  28558. - ApiKeyAuth: []
  28559. summary: 查询市场交易参数配置
  28560. tags:
  28561. - 仓单贸易v2
  28562. /WrTrade2/QueryWrOrderDetail:
  28563. get:
  28564. description: 页面 现货仓单 | 预售仓单 -> 委托单
  28565. parameters:
  28566. - description: 页码
  28567. in: query
  28568. name: page
  28569. type: integer
  28570. - description: 每页条数
  28571. in: query
  28572. name: pagesize
  28573. type: integer
  28574. - description: 用户id
  28575. in: query
  28576. name: userid
  28577. required: true
  28578. type: integer
  28579. - description: 仓单贸易市场id
  28580. in: query
  28581. name: marketid
  28582. type: integer
  28583. - description: 0:仓单预售 1:仓单贸易
  28584. in: query
  28585. name: haswr
  28586. required: true
  28587. type: integer
  28588. - description: 是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场
  28589. in: query
  28590. name: bcancel
  28591. type: integer
  28592. - description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  28593. in: query
  28594. name: wrtradetype
  28595. type: integer
  28596. - description: 开始交易日(yyyymmdd)
  28597. in: query
  28598. name: begindate
  28599. type: string
  28600. - description: 结束交易日(yyyymmdd)
  28601. in: query
  28602. name: enddate
  28603. type: string
  28604. produces:
  28605. - application/json
  28606. responses:
  28607. "200":
  28608. description: OK
  28609. schema:
  28610. items:
  28611. $ref: '#/definitions/models.WrOrderDetail'
  28612. type: array
  28613. "500":
  28614. description: Internal Server Error
  28615. schema:
  28616. $ref: '#/definitions/app.Response'
  28617. security:
  28618. - ApiKeyAuth: []
  28619. summary: 查询仓单委托单
  28620. tags:
  28621. - 仓单贸易v2
  28622. /WrTrade2/QueryWrOutInApply:
  28623. get:
  28624. parameters:
  28625. - description: 用户id
  28626. in: query
  28627. name: userid
  28628. required: true
  28629. type: integer
  28630. - description: 开始交易日(yyyymmdd)
  28631. in: query
  28632. name: begindate
  28633. type: string
  28634. - description: 结束交易日(yyyymmdd)
  28635. in: query
  28636. name: enddate
  28637. type: string
  28638. produces:
  28639. - application/json
  28640. responses:
  28641. "200":
  28642. description: OK
  28643. schema:
  28644. items:
  28645. $ref: '#/definitions/models.WrOutInApply'
  28646. type: array
  28647. "500":
  28648. description: Internal Server Error
  28649. schema:
  28650. $ref: '#/definitions/app.Response'
  28651. security:
  28652. - ApiKeyAuth: []
  28653. summary: 查询提货申请
  28654. tags:
  28655. - 仓单贸易v2
  28656. /WrTrade2/QueryWrPerformancePlanStep:
  28657. get:
  28658. parameters:
  28659. - description: 履约计划id(performanceplanid)
  28660. in: query
  28661. name: planid
  28662. required: true
  28663. type: integer
  28664. - description: 当前步骤id
  28665. in: query
  28666. name: curstepid
  28667. type: integer
  28668. produces:
  28669. - application/json
  28670. responses:
  28671. "200":
  28672. description: OK
  28673. schema:
  28674. items:
  28675. $ref: '#/definitions/models.WrPerformancePlanStep'
  28676. type: array
  28677. "500":
  28678. description: Internal Server Error
  28679. schema:
  28680. $ref: '#/definitions/app.Response'
  28681. security:
  28682. - ApiKeyAuth: []
  28683. summary: 查询履约信息详情
  28684. tags:
  28685. - 仓单贸易v2
  28686. /WrTrade2/QueryWrPerformanceStepType:
  28687. get:
  28688. produces:
  28689. - application/json
  28690. responses:
  28691. "200":
  28692. description: OK
  28693. schema:
  28694. items:
  28695. $ref: '#/definitions/models.WrPerformanceStepType'
  28696. type: array
  28697. "500":
  28698. description: Internal Server Error
  28699. schema:
  28700. $ref: '#/definitions/app.Response'
  28701. security:
  28702. - ApiKeyAuth: []
  28703. summary: 查询履约步骤枚举
  28704. tags:
  28705. - 仓单贸易v2
  28706. /WrTrade2/QueryWrPosition:
  28707. get:
  28708. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  28709. parameters:
  28710. - description: 用户id
  28711. in: query
  28712. name: userid
  28713. required: true
  28714. type: integer
  28715. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  28716. in: query
  28717. name: querytype
  28718. required: true
  28719. type: integer
  28720. - description: 0:仓单预售 1:仓单贸易
  28721. in: query
  28722. name: haswr
  28723. required: true
  28724. type: integer
  28725. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  28726. in: query
  28727. name: dgitemname
  28728. type: string
  28729. - description: 仓库id(筛选条件)
  28730. in: query
  28731. name: warehouseid
  28732. type: integer
  28733. - description: 品种id
  28734. in: query
  28735. name: deliverygoodsid
  28736. type: integer
  28737. - description: 品类id
  28738. in: query
  28739. name: wrstandardid
  28740. type: integer
  28741. produces:
  28742. - application/json
  28743. responses:
  28744. "200":
  28745. description: OK
  28746. schema:
  28747. items:
  28748. $ref: '#/definitions/models.WrPosition'
  28749. type: array
  28750. "500":
  28751. description: Internal Server Error
  28752. schema:
  28753. $ref: '#/definitions/app.Response'
  28754. security:
  28755. - ApiKeyAuth: []
  28756. summary: 查询现货(预售)仓单持仓
  28757. tags:
  28758. - 仓单贸易v2
  28759. /WrTrade2/QueryWrPreSaleInfo:
  28760. get:
  28761. parameters:
  28762. - description: 市场id
  28763. in: query
  28764. name: marketid
  28765. type: integer
  28766. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  28767. in: query
  28768. name: presalestatus
  28769. type: string
  28770. - description: 摇号标识 - 0:未摇号 1:已摇号
  28771. in: query
  28772. name: lotteryflag
  28773. type: integer
  28774. - description: 最近多少条记录(按创建时间倒序)
  28775. in: query
  28776. name: lastnum
  28777. type: integer
  28778. produces:
  28779. - application/json
  28780. responses:
  28781. "200":
  28782. description: OK
  28783. schema:
  28784. items:
  28785. $ref: '#/definitions/models.WrPreSaleInfo'
  28786. type: array
  28787. "500":
  28788. description: Internal Server Error
  28789. schema:
  28790. $ref: '#/definitions/app.Response'
  28791. security:
  28792. - ApiKeyAuth: []
  28793. summary: 查询新品发布
  28794. tags:
  28795. - 仓单贸易v2
  28796. /WrTrade2/QueryWrReckonSpotGoodsTradeSum:
  28797. get:
  28798. parameters:
  28799. - description: 市场id
  28800. in: query
  28801. name: marketid
  28802. required: true
  28803. type: integer
  28804. - description: 现货商品id
  28805. in: query
  28806. name: wrstandardid
  28807. required: true
  28808. type: integer
  28809. - description: 开始交易日(yyyymmdd)
  28810. in: query
  28811. name: begindate
  28812. type: string
  28813. - description: 结束交易日(yyyymmdd)
  28814. in: query
  28815. name: enddate
  28816. type: string
  28817. - description: 最近多少条记录(按交易日倒序)
  28818. in: query
  28819. name: lastnum
  28820. type: integer
  28821. produces:
  28822. - application/json
  28823. responses:
  28824. "200":
  28825. description: OK
  28826. schema:
  28827. items:
  28828. $ref: '#/definitions/models.WrReckonSpotGoodsTradeSum'
  28829. type: array
  28830. "500":
  28831. description: Internal Server Error
  28832. schema:
  28833. $ref: '#/definitions/app.Response'
  28834. security:
  28835. - ApiKeyAuth: []
  28836. summary: 查询价格走势
  28837. tags:
  28838. - 仓单贸易v2
  28839. /WrTrade2/QueryWrScfContract:
  28840. get:
  28841. parameters:
  28842. - description: 用户id
  28843. in: query
  28844. name: userid
  28845. required: true
  28846. type: integer
  28847. - description: 融资合同id
  28848. in: query
  28849. name: scfcontractid
  28850. type: integer
  28851. produces:
  28852. - application/json
  28853. responses:
  28854. "200":
  28855. description: OK
  28856. schema:
  28857. items:
  28858. $ref: '#/definitions/models.WrScfContract'
  28859. type: array
  28860. "500":
  28861. description: Internal Server Error
  28862. schema:
  28863. $ref: '#/definitions/app.Response'
  28864. security:
  28865. - ApiKeyAuth: []
  28866. summary: 查询仓单贸易融资合同
  28867. tags:
  28868. - 仓单贸易v2
  28869. /WrTrade2/QueryWrScfContractInterest:
  28870. get:
  28871. parameters:
  28872. - description: 融资合同id
  28873. in: query
  28874. name: scfcontractid
  28875. type: integer
  28876. produces:
  28877. - application/json
  28878. responses:
  28879. "200":
  28880. description: OK
  28881. schema:
  28882. items:
  28883. $ref: '#/definitions/models.WrScfContractInterest'
  28884. type: array
  28885. "500":
  28886. description: Internal Server Error
  28887. schema:
  28888. $ref: '#/definitions/app.Response'
  28889. security:
  28890. - ApiKeyAuth: []
  28891. summary: 查询融资合同费用明细
  28892. tags:
  28893. - 仓单贸易v2
  28894. /WrTrade2/QueryWrSearchUser:
  28895. get:
  28896. parameters:
  28897. - description: 用户名称(模糊匹配)
  28898. in: query
  28899. name: username
  28900. required: true
  28901. type: string
  28902. produces:
  28903. - application/json
  28904. responses:
  28905. "200":
  28906. description: OK
  28907. schema:
  28908. items:
  28909. $ref: '#/definitions/models.WrSearchUser'
  28910. type: array
  28911. "500":
  28912. description: Internal Server Error
  28913. schema:
  28914. $ref: '#/definitions/app.Response'
  28915. security:
  28916. - ApiKeyAuth: []
  28917. summary: 查询用户
  28918. tags:
  28919. - 仓单贸易v2
  28920. /WrTrade2/QueryWrSpecialMatchOrder:
  28921. get:
  28922. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  28923. parameters:
  28924. - description: 页码
  28925. in: query
  28926. name: page
  28927. type: integer
  28928. - description: 每页条数
  28929. in: query
  28930. name: pagesize
  28931. type: integer
  28932. - description: 用户id
  28933. in: query
  28934. name: userid
  28935. required: true
  28936. type: integer
  28937. - description: 仓单贸易市场id
  28938. in: query
  28939. name: marketid
  28940. type: integer
  28941. - description: 0:仓单预售 1:仓单贸易
  28942. in: query
  28943. name: haswr
  28944. required: true
  28945. type: integer
  28946. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  28947. in: query
  28948. name: isspecified
  28949. type: integer
  28950. produces:
  28951. - application/json
  28952. responses:
  28953. "200":
  28954. description: OK
  28955. schema:
  28956. items:
  28957. $ref: '#/definitions/models.WrSpecialMatchOrder'
  28958. type: array
  28959. "500":
  28960. description: Internal Server Error
  28961. schema:
  28962. $ref: '#/definitions/app.Response'
  28963. security:
  28964. - ApiKeyAuth: []
  28965. summary: 查询指定成交
  28966. tags:
  28967. - 仓单贸易v2
  28968. /WrTrade2/QueryWrStandardFactoryItem:
  28969. get:
  28970. parameters:
  28971. - description: 品类id
  28972. in: query
  28973. name: wrstandardid
  28974. required: true
  28975. type: integer
  28976. produces:
  28977. - application/json
  28978. responses:
  28979. "200":
  28980. description: OK
  28981. schema:
  28982. items:
  28983. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  28984. type: array
  28985. "500":
  28986. description: Internal Server Error
  28987. schema:
  28988. $ref: '#/definitions/app.Response'
  28989. security:
  28990. - ApiKeyAuth: []
  28991. summary: 查询品类要素定义项
  28992. tags:
  28993. - 仓单贸易v2
  28994. /WrTrade2/QueryWrTradeBargainApply:
  28995. get:
  28996. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  28997. 议价->对方议价 填写matchuserid=登录用户id
  28998. parameters:
  28999. - description: 议价人id(摘牌方)
  29000. in: query
  29001. name: userid
  29002. type: integer
  29003. - description: 挂牌方id(查对方议价时,填写此项)
  29004. in: query
  29005. name: matchuserid
  29006. type: integer
  29007. - description: 关联委托单id
  29008. in: query
  29009. name: wrtradeorderid
  29010. type: integer
  29011. - description: 0:仓单预售 1:仓单贸易
  29012. in: query
  29013. name: haswr
  29014. required: true
  29015. type: integer
  29016. - description: 开始交易日(yyyymmdd)
  29017. in: query
  29018. name: begindate
  29019. type: string
  29020. - description: 结束交易日(yyyymmdd)
  29021. in: query
  29022. name: enddate
  29023. type: string
  29024. produces:
  29025. - application/json
  29026. responses:
  29027. "200":
  29028. description: OK
  29029. schema:
  29030. items:
  29031. $ref: '#/definitions/models.WRTradeBargainApply'
  29032. type: array
  29033. "500":
  29034. description: Internal Server Error
  29035. schema:
  29036. $ref: '#/definitions/app.Response'
  29037. security:
  29038. - ApiKeyAuth: []
  29039. summary: 查询议价单
  29040. tags:
  29041. - 仓单贸易v2
  29042. /WrTrade2/QueryWrTradeDetail:
  29043. get:
  29044. parameters:
  29045. - description: 页码
  29046. in: query
  29047. name: page
  29048. type: integer
  29049. - description: 每页条数
  29050. in: query
  29051. name: pagesize
  29052. type: integer
  29053. - description: 用户id
  29054. in: query
  29055. name: userid
  29056. required: true
  29057. type: integer
  29058. - description: 仓单贸易市场id
  29059. in: query
  29060. name: marketid
  29061. type: integer
  29062. - description: 0:仓单预售 1:仓单贸易
  29063. in: query
  29064. name: haswr
  29065. required: true
  29066. type: integer
  29067. - description: 开始交易日(yyyymmdd)
  29068. in: query
  29069. name: begindate
  29070. type: string
  29071. - description: 结束交易日(yyyymmdd)
  29072. in: query
  29073. name: enddate
  29074. type: string
  29075. produces:
  29076. - application/json
  29077. responses:
  29078. "200":
  29079. description: OK
  29080. schema:
  29081. items:
  29082. $ref: '#/definitions/models.WrTradeDetail'
  29083. type: array
  29084. "500":
  29085. description: Internal Server Error
  29086. schema:
  29087. $ref: '#/definitions/app.Response'
  29088. security:
  29089. - ApiKeyAuth: []
  29090. summary: 查询仓单成交明细
  29091. tags:
  29092. - 仓单贸易v2
  29093. /WrTrade2/QueryWrTradeOrderDetail:
  29094. get:
  29095. parameters:
  29096. - description: 页码
  29097. in: query
  29098. name: page
  29099. type: integer
  29100. - description: 每页条数
  29101. in: query
  29102. name: pagesize
  29103. type: integer
  29104. - description: 商品id
  29105. in: query
  29106. name: goodsid
  29107. required: true
  29108. type: integer
  29109. - description: 买卖方向 0-买 1-卖
  29110. in: query
  29111. name: buyorsell
  29112. required: true
  29113. type: integer
  29114. produces:
  29115. - application/json
  29116. responses:
  29117. "200":
  29118. description: OK
  29119. schema:
  29120. items:
  29121. $ref: '#/definitions/models.WrTradeOrderDetail'
  29122. type: array
  29123. "500":
  29124. description: Internal Server Error
  29125. schema:
  29126. $ref: '#/definitions/app.Response'
  29127. security:
  29128. - ApiKeyAuth: []
  29129. summary: 查询合约交易买卖大厅
  29130. tags:
  29131. - 仓单贸易v2
  29132. /WrTrade2/QueryWrUserFriend:
  29133. get:
  29134. parameters:
  29135. - description: 用户id
  29136. in: query
  29137. name: userid
  29138. required: true
  29139. type: integer
  29140. - description: 新朋友userid, 如果填写了此项则查找新朋友
  29141. in: query
  29142. name: newuserid
  29143. type: integer
  29144. produces:
  29145. - application/json
  29146. responses:
  29147. "200":
  29148. description: OK
  29149. schema:
  29150. items:
  29151. $ref: '#/definitions/models.WrUserFriend'
  29152. type: array
  29153. "500":
  29154. description: Internal Server Error
  29155. schema:
  29156. $ref: '#/definitions/app.Response'
  29157. security:
  29158. - ApiKeyAuth: []
  29159. summary: 查询我的朋友
  29160. tags:
  29161. - 仓单贸易v2
  29162. /WrTrade2/QueryWrUserReceiptInfo:
  29163. get:
  29164. parameters:
  29165. - description: 用户id
  29166. in: query
  29167. name: userid
  29168. type: integer
  29169. - description: 发票类型 - 1:个人 2:企业
  29170. in: query
  29171. name: receipttype
  29172. type: integer
  29173. produces:
  29174. - application/json
  29175. responses:
  29176. "200":
  29177. description: OK
  29178. schema:
  29179. items:
  29180. $ref: '#/definitions/models.WrUserReceiptInfo'
  29181. type: array
  29182. "500":
  29183. description: Internal Server Error
  29184. schema:
  29185. $ref: '#/definitions/app.Response'
  29186. security:
  29187. - ApiKeyAuth: []
  29188. summary: 查询发票信息
  29189. tags:
  29190. - 仓单贸易v2
  29191. /ZJ/GetBankTip:
  29192. get:
  29193. produces:
  29194. - application/json
  29195. responses:
  29196. "200":
  29197. description: OK
  29198. schema:
  29199. type: string
  29200. "500":
  29201. description: Internal Server Error
  29202. schema:
  29203. $ref: '#/definitions/app.Response'
  29204. summary: 获取中江网银端出入金提示信息
  29205. tags:
  29206. - 中江
  29207. /ZJ/GetCusBankChannels:
  29208. get:
  29209. produces:
  29210. - application/json
  29211. responses:
  29212. "200":
  29213. description: OK
  29214. schema:
  29215. items:
  29216. type: string
  29217. type: array
  29218. "500":
  29219. description: Internal Server Error
  29220. schema:
  29221. $ref: '#/definitions/app.Response'
  29222. summary: 获取中江出入金渠道显示列表
  29223. tags:
  29224. - 中江
  29225. securityDefinitions:
  29226. ApiKeyAuth:
  29227. in: header
  29228. name: Authorization
  29229. type: apiKey
  29230. swagger: "2.0"