swagger.yaml 776 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data:
  8. type: object
  9. msg:
  10. type: string
  11. page:
  12. description: 页码
  13. type: integer
  14. pagesize:
  15. description: 每页条数
  16. type: integer
  17. total:
  18. description: 总条数
  19. type: integer
  20. type: object
  21. common.ClientMenu:
  22. properties:
  23. children:
  24. description: 子菜单列表
  25. items:
  26. $ref: '#/definitions/common.ClientMenu'
  27. type: array
  28. code:
  29. description: ID
  30. type: string
  31. isshow:
  32. description: 是否显示
  33. type: boolean
  34. remark:
  35. description: 备注
  36. type: string
  37. rulekey:
  38. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  39. type: string
  40. sort:
  41. description: 排序
  42. type: integer
  43. title:
  44. description: 标题
  45. type: string
  46. type:
  47. description: 类型,1:菜单 2:按钮
  48. type: integer
  49. url:
  50. description: URL
  51. type: string
  52. type: object
  53. common.PCWebMenu:
  54. properties:
  55. auth:
  56. description: 页面权限列表
  57. items:
  58. $ref: '#/definitions/common.PCWebMenuAuth'
  59. type: array
  60. children:
  61. description: 子菜单列表
  62. items:
  63. $ref: '#/definitions/common.PCWebMenu'
  64. type: array
  65. code:
  66. description: ID,新版本中权限KEY也是这个字段
  67. type: string
  68. component:
  69. description: 路由组件
  70. type: string
  71. isshow:
  72. description: 是否显示
  73. type: boolean
  74. path:
  75. description: 路由路径
  76. type: string
  77. remark:
  78. description: 备注
  79. type: string
  80. rulekey:
  81. description: 权限主键,非空表示需要判断控制,非空值不可重复
  82. type: string
  83. sort:
  84. description: 排序
  85. type: integer
  86. title:
  87. description: 标题
  88. type: string
  89. url:
  90. description: URL
  91. type: string
  92. type: object
  93. common.PCWebMenuAuth:
  94. properties:
  95. code:
  96. description: ID,新版本中权限KEY也是这个字段
  97. type: string
  98. isshow:
  99. description: 是否显示
  100. type: boolean
  101. label:
  102. description: 标题
  103. type: string
  104. remark:
  105. description: 备注
  106. type: string
  107. rulekey:
  108. description: 权限主键,非空表示需要判断控制,非空值不可重复
  109. type: string
  110. type: object
  111. common.QueryImageConfigsRsp:
  112. properties:
  113. areauserid:
  114. description: 所属机构ID
  115. type: integer
  116. configid:
  117. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  118. type: integer
  119. createdate:
  120. description: 创建时间
  121. type: string
  122. creatorid:
  123. description: 创建人
  124. type: integer
  125. imagepath:
  126. description: 图片
  127. type: string
  128. imagetype:
  129. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  130. type: integer
  131. isshow:
  132. description: 是否展示 - 0:不展示 1:展示
  133. type: integer
  134. marketid:
  135. description: 市场ID
  136. type: integer
  137. modifierid:
  138. description: 操作人
  139. type: integer
  140. sort:
  141. description: 排序
  142. type: integer
  143. title:
  144. description: 标题
  145. type: string
  146. trademode:
  147. description: 交易模式
  148. type: integer
  149. updatedate:
  150. description: 修改时间
  151. type: string
  152. url:
  153. description: 链接(地址或商品ID)
  154. type: string
  155. urltype:
  156. description: 链接类型 - 1:直接地址 2:商品ID
  157. type: integer
  158. required:
  159. - configid
  160. type: object
  161. common.QueryNoticeRsp:
  162. properties:
  163. auditoruserid:
  164. description: 审核人
  165. type: integer
  166. auditremark:
  167. description: 审核备注
  168. type: string
  169. audittime:
  170. description: 审核日期
  171. type: string
  172. autoid:
  173. description: 自增ID
  174. type: integer
  175. content:
  176. description: 内容
  177. type: string
  178. createtime:
  179. description: 创建时间
  180. type: string
  181. creatorid:
  182. description: 建仓人
  183. type: integer
  184. endtime:
  185. description: 结束时间
  186. type: string
  187. istop:
  188. description: 是否置顶 - 0:不置顶 1:置顶
  189. type: integer
  190. msgiconurl:
  191. description: 消息图标Url
  192. type: string
  193. msgtype:
  194. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  195. type: integer
  196. publisher:
  197. description: 消息发布者
  198. type: string
  199. readed:
  200. description: 是否已读
  201. type: boolean
  202. scheduletime:
  203. description: 计划发送时间
  204. type: string
  205. sendtype:
  206. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  207. type: integer
  208. sentstatus:
  209. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  210. type: integer
  211. title:
  212. description: 标题
  213. type: string
  214. userid:
  215. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  216. type: integer
  217. required:
  218. - autoid
  219. type: object
  220. common.QueryProvincesAndCitiesRsp:
  221. properties:
  222. cities:
  223. description: 市
  224. items:
  225. $ref: '#/definitions/models.Division'
  226. type: array
  227. province:
  228. $ref: '#/definitions/models.Division'
  229. description: 省
  230. type: object
  231. common.QueryTableDefineRsp:
  232. properties:
  233. columns:
  234. description: 列头信息数组
  235. items:
  236. $ref: '#/definitions/models.Tablecolumnconfig'
  237. type: array
  238. remark:
  239. description: Remark
  240. type: string
  241. tabelmenu:
  242. description: 列表菜单
  243. type: string
  244. tablekey:
  245. description: 列表Key
  246. type: string
  247. tablename:
  248. description: 列表名称
  249. type: string
  250. tabletype:
  251. description: 列表类型 - 1:管理端 2:终端
  252. type: integer
  253. required:
  254. - tablekey
  255. type: object
  256. common.QueryTraderMenuRsp:
  257. properties:
  258. OperationMenu:
  259. description: 功能菜单
  260. items:
  261. $ref: '#/definitions/models.OperationPrimaryMenu'
  262. type: array
  263. QuoteMenu:
  264. description: 报价牌分类菜单
  265. items:
  266. $ref: '#/definitions/models.QuotePrimaryMenu'
  267. type: array
  268. type: object
  269. cptrade.Cptradepositioncancel:
  270. properties:
  271. accountid:
  272. description: 申请人账户ID
  273. type: integer
  274. applystatus:
  275. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  276. type: integer
  277. applytime:
  278. description: 申请时间
  279. type: string
  280. cancelid:
  281. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  282. type: integer
  283. cancelqty:
  284. description: 注销数量
  285. type: integer
  286. createtime:
  287. description: 创建时间
  288. type: string
  289. creatorid:
  290. description: 创建人ID
  291. type: integer
  292. creatorname:
  293. description: 创建人
  294. type: string
  295. goodscode:
  296. description: 订单商品代码
  297. type: string
  298. goodsid:
  299. description: 商品ID
  300. type: integer
  301. goodsname:
  302. description: 订单商品名称
  303. type: string
  304. goodunit:
  305. description: 报价单位
  306. type: string
  307. handlestatus:
  308. description: 处理状态
  309. type: integer
  310. marketid:
  311. description: 市场ID
  312. type: integer
  313. marketname:
  314. description: 市场名称
  315. type: string
  316. tradedate:
  317. description: 交易日(yyyyMMdd)
  318. type: string
  319. userid:
  320. description: 申请人ID
  321. type: integer
  322. required:
  323. - cancelid
  324. type: object
  325. cptrade.Cptradepresaleapply:
  326. properties:
  327. accountid:
  328. description: 申请人账户ID
  329. type: integer
  330. applyid:
  331. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  332. type: integer
  333. applyremark:
  334. description: 申请备注
  335. type: string
  336. applystatus:
  337. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  338. type: integer
  339. applytime:
  340. description: 申请时间
  341. type: string
  342. attachmenturl:
  343. description: 附件地址
  344. type: string
  345. endtime:
  346. description: 预售结束时间
  347. type: string
  348. goodscode:
  349. description: 商品代码
  350. type: string
  351. goodsid:
  352. description: 商品ID
  353. type: integer
  354. goodsname:
  355. description: 商品名称
  356. type: string
  357. goodunit:
  358. description: 报价单位
  359. type: string
  360. handlestatus:
  361. description: 处理状态
  362. type: integer
  363. marketid:
  364. description: 预售市场ID
  365. type: integer
  366. marketname:
  367. description: 预售市场名称
  368. type: string
  369. presaleqty:
  370. description: 预售数量
  371. type: integer
  372. relatedgoodscode:
  373. description: 关联交易合约代码
  374. type: string
  375. relatedgoodsid:
  376. description: 关联交易合约ID
  377. type: integer
  378. relatedgoodsname:
  379. description: 关联交易合约名称
  380. type: string
  381. starttime:
  382. description: 预售开始时间
  383. type: string
  384. tradedate:
  385. description: 交易日(yyyyMMdd)
  386. type: string
  387. trademode:
  388. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  389. type: integer
  390. userid:
  391. description: 申请人ID
  392. type: integer
  393. required:
  394. - applyid
  395. type: object
  396. cptrade.Cptradeusergoodsdata:
  397. properties:
  398. EnabledQty:
  399. description: 可用量
  400. type: integer
  401. GoodsCode:
  402. description: 订单商品代码
  403. type: string
  404. GoodsName:
  405. description: 订单商品名称
  406. type: string
  407. WRStandardCode:
  408. description: 仓单标准代码
  409. type: string
  410. WRStandardName:
  411. description: 仓单标准名称
  412. type: string
  413. accountid:
  414. description: 账户ID
  415. type: integer
  416. cancelqty:
  417. description: 注销量
  418. type: integer
  419. curpresaleqty:
  420. description: 当前预售量
  421. type: integer
  422. deliveryqty:
  423. description: 交割量
  424. type: integer
  425. freezeamount:
  426. description: 冻结金额
  427. type: number
  428. goodsid:
  429. description: 商品ID
  430. type: integer
  431. goodunit:
  432. description: 报价单位
  433. type: string
  434. hasspotfreeze:
  435. description: 是否有现货冻结 - 0:否 1:有
  436. type: integer
  437. inqty:
  438. description: 转入量(总数量)
  439. type: integer
  440. marketid:
  441. description: 市场ID
  442. type: integer
  443. presaledamount:
  444. description: 已预售总金额
  445. type: integer
  446. presaledqty:
  447. description: 已预售量
  448. type: integer
  449. userid:
  450. description: 用户ID
  451. type: integer
  452. wrstandardid:
  453. description: 仓单标准ID
  454. type: integer
  455. required:
  456. - accountid
  457. - goodsid
  458. type: object
  459. cptrade.QueryCPTradeMyBidRsp:
  460. properties:
  461. accountid:
  462. description: 账户ID[报价币种]
  463. type: integer
  464. goodsid:
  465. description: 商品ID
  466. type: integer
  467. goodunit:
  468. description: 报价单位
  469. type: string
  470. marketid:
  471. description: 市场ID
  472. type: integer
  473. orderid:
  474. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  475. type: integer
  476. orderprice:
  477. description: 委托价格
  478. type: number
  479. orderqty:
  480. description: 委托数量
  481. type: integer
  482. ordertime:
  483. description: 委托时间
  484. type: string
  485. ordertotalprice:
  486. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  487. type: number
  488. ordertotalweight:
  489. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  490. type: integer
  491. totaltotalprice:
  492. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  493. type: number
  494. tradeprice:
  495. description: 成交价格
  496. type: number
  497. tradeqty:
  498. description: 成交数量
  499. type: integer
  500. required:
  501. - accountid
  502. - goodsid
  503. - marketid
  504. - orderid
  505. - orderqty
  506. - ordertime
  507. - tradeprice
  508. - tradeqty
  509. type: object
  510. cptrade.QueryCPTradeOrderDetailRsq:
  511. properties:
  512. accountid:
  513. description: 账户ID[报价币种]
  514. type: integer
  515. buildtype:
  516. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  517. type: integer
  518. buyorsell:
  519. description: 买卖 - 0:买 1:卖
  520. type: integer
  521. cancelorderid:
  522. description: 撤单单号(撤单时填写)
  523. type: integer
  524. cancelqty:
  525. description: 撤单数量
  526. type: integer
  527. clientordertime:
  528. description: 客户端委托时间
  529. type: string
  530. clientticket:
  531. description: 客户端流水号
  532. type: string
  533. clienttype:
  534. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  535. type: integer
  536. closeexchagechargevalue:
  537. description: 平仓交易所手续费设置值
  538. type: number
  539. closefeealgorithm:
  540. description: 平仓手续费收取方式 1:比率 2:固定
  541. type: integer
  542. closefreezecharge:
  543. description: 平仓冻结手续费(先建后平操作,需要记录)
  544. type: number
  545. closememberchargevalue:
  546. description: 平仓会员手续费设置值
  547. type: number
  548. closeqty:
  549. description: 平仓数量(先建后平操作 需要记录)
  550. type: integer
  551. closetradeqty:
  552. description: 平仓成交数量(先建后平操作,需要记录)
  553. type: integer
  554. closeunfreezecharge:
  555. description: 平仓解冻手续费(先建后平操作,需要记录)
  556. type: number
  557. delistingtype:
  558. description: 摘牌类型 - 1:价格最优 2:点选成交
  559. type: integer
  560. freezecharge:
  561. description: 冻结手续费
  562. type: number
  563. freezemargin:
  564. description: 冻结保证金(冻结交易金额)
  565. type: number
  566. gcaccountid:
  567. description: 账户ID[合约币种]
  568. type: integer
  569. goodsid:
  570. description: 商品ID
  571. type: integer
  572. isconfirmexercise:
  573. description: 是否确认行权- 0:否 1:是
  574. type: integer
  575. ispreexercise:
  576. description: 是否预申报- 0:否 1:是
  577. type: integer
  578. listingselecttype:
  579. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  580. type: integer
  581. marginalgorithm:
  582. description: 保证金收取方式 1:比率 2:固定
  583. type: integer
  584. marginvalue:
  585. description: 即市保证金设置值
  586. type: number
  587. marketid:
  588. description: 市场ID
  589. type: integer
  590. marketmaxsub:
  591. description: 市价最大偏移范围
  592. type: number
  593. memberuserid:
  594. description: 所属会员UserID
  595. type: integer
  596. openexchagechargevalue:
  597. description: 建仓交易所手续费设置值
  598. type: number
  599. openfeealgorithm:
  600. description: 建仓手续费收取方式 1:比率 2:固定
  601. type: integer
  602. openfreezecharge:
  603. description: 开仓冻结手续费(先建后平操作,需要记录)
  604. type: number
  605. openmemberchargevalue:
  606. description: 建仓会员手续费设置值
  607. type: number
  608. openqty:
  609. description: 开仓数量(先建后平操作,需要记录)
  610. type: integer
  611. opentradeqty:
  612. description: 开仓成交数量(先建后平操作,需要记录)
  613. type: integer
  614. openunfreezecharge:
  615. description: 开仓解冻手续费(先建后平操作,需要记录)
  616. type: number
  617. operatetype:
  618. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让
  619. type: integer
  620. operatorid:
  621. description: 登录账号(LoginID)
  622. type: integer
  623. optiontype:
  624. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  625. type: integer
  626. orderprice:
  627. description: 委托价格
  628. type: number
  629. orderqty:
  630. description: 委托数量
  631. type: integer
  632. ordersrc:
  633. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  634. type: integer
  635. orderstatus:
  636. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  637. type: integer
  638. ordertime:
  639. description: 委托时间
  640. type: string
  641. preexerciseprice:
  642. description: 预申报价格
  643. type: number
  644. premium:
  645. description: 权利金
  646. type: number
  647. preorderid:
  648. description: 关联预埋单号(止盈止损单时填写)
  649. type: integer
  650. pricemode:
  651. description: '取价方式 - 1:市价 2: 限价'
  652. type: integer
  653. quoteid:
  654. description: 报价单ID
  655. type: integer
  656. relatedid:
  657. description: 关联单号(交割单)
  658. type: integer
  659. retcode:
  660. description: 错误代码
  661. type: integer
  662. sessionid:
  663. description: 会话ID
  664. type: integer
  665. strorderid:
  666. description: 委托单号
  667. type: string
  668. tradedate:
  669. description: 交易日(yyyyMMdd)
  670. type: string
  671. tradeproperty:
  672. description: 交易属性
  673. type: integer
  674. tradeqty:
  675. description: 成交数量
  676. type: integer
  677. unfreezecharge:
  678. description: 解冻手续费
  679. type: number
  680. unfreezemargin:
  681. description: 解冻保证金
  682. type: number
  683. updatetime:
  684. description: 更新时间
  685. type: string
  686. uuid:
  687. description: 发起端唯一id
  688. type: string
  689. validtime:
  690. description: 有效期限
  691. type: string
  692. validtype:
  693. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  694. type: integer
  695. volumetype:
  696. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  697. type: integer
  698. required:
  699. - accountid
  700. - buildtype
  701. - buyorsell
  702. - goodsid
  703. - marketid
  704. - memberuserid
  705. - operatetype
  706. - orderqty
  707. - ordertime
  708. - pricemode
  709. - strorderid
  710. - tradedate
  711. - validtype
  712. type: object
  713. cptrade.QueryMyCPTradeGoodsRsp:
  714. properties:
  715. accountid:
  716. description: 卖方账户ID
  717. type: integer
  718. agreeunit:
  719. description: 合约单位
  720. type: number
  721. applyid:
  722. description: 关联申请ID
  723. type: integer
  724. attachmenturl:
  725. description: 附件地址
  726. type: string
  727. createtime:
  728. description: 创建时间
  729. type: string
  730. currencyid:
  731. description: 报价货币ID
  732. type: integer
  733. decimalplace:
  734. description: 报价小数位
  735. type: integer
  736. endtime:
  737. description: 预售结束时间
  738. type: string
  739. floorprice:
  740. description: 底价[大宗式竞拍]
  741. type: number
  742. goodscode:
  743. description: 商品代码(预售)
  744. type: string
  745. goodsdetail:
  746. description: 详情[大宗]
  747. type: string
  748. goodsid:
  749. description: 商品ID(自增ID SEQ_GOODS)
  750. type: integer
  751. goodsname:
  752. description: 商品名称(预售)
  753. type: string
  754. goodunit:
  755. description: 报价单位
  756. type: string
  757. goodunitid:
  758. description: 报价单位ID
  759. type: integer
  760. marketid:
  761. description: 所属市场ID
  762. type: integer
  763. marketname:
  764. description: 预售市场名称
  765. type: string
  766. presaledamount:
  767. description: 已预售总金额(预售结束时更新)
  768. type: number
  769. presaledqty:
  770. description: 已预售量(预售结束时更新)
  771. type: integer
  772. presalemode:
  773. description: 预售模式 - 1:一口价 2:大宗式竞拍
  774. type: integer
  775. presaleqty:
  776. description: 预售数量
  777. type: integer
  778. refprice:
  779. description: 参考价格[一口价]
  780. type: number
  781. relatedgoodscode:
  782. description: 商品代码(订单)
  783. type: string
  784. relatedgoodsid:
  785. description: 关联交易合约ID
  786. type: integer
  787. relatedgoodsname:
  788. description: 商品名称(订单)
  789. type: string
  790. relatedmarketid:
  791. description: 关联交易合约市场ID
  792. type: integer
  793. sellstatus:
  794. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  795. type: integer
  796. startprice:
  797. description: 起拍价[大宗式竞拍]
  798. type: number
  799. starttime:
  800. description: 预售开始时间
  801. type: string
  802. tradedate:
  803. description: 交易日(yyyyMMdd)
  804. type: string
  805. tradeprice:
  806. description: 成交价[大宗]
  807. type: number
  808. userid:
  809. description: 卖方用户ID
  810. type: integer
  811. required:
  812. - goodscode
  813. - goodsid
  814. - goodsname
  815. - marketid
  816. - relatedgoodscode
  817. - relatedgoodsname
  818. type: object
  819. cptrade.QueryPresaleGoodsExRsp:
  820. properties:
  821. attachmenturl:
  822. description: 附件地址
  823. type: string
  824. createtime:
  825. description: 创建时间
  826. type: string
  827. endtime:
  828. description: 预售结束时间
  829. type: string
  830. floorprice:
  831. description: 底价[大宗式竞拍]
  832. type: number
  833. goodsdetail:
  834. description: 详情[大宗]
  835. type: string
  836. goodsid:
  837. description: 商品ID(预售)
  838. type: integer
  839. goodunit:
  840. description: 报价单位
  841. type: string
  842. marketid:
  843. description: 预售市场ID - 根据预售模式选择市场
  844. type: integer
  845. presaledamount:
  846. description: 已预售总金额(预售结束时更新)
  847. type: number
  848. presaledqty:
  849. description: 已预售量(预售结束时更新)
  850. type: integer
  851. presalemode:
  852. description: 预售模式 - 1:一口价 2:大宗式竞拍
  853. type: integer
  854. presaleqty:
  855. description: 预售数量
  856. type: integer
  857. refprice:
  858. description: 参考价格[一口价]
  859. type: number
  860. relatedgoodsid:
  861. description: 关联交易合约ID
  862. type: integer
  863. relatedmarketid:
  864. description: 关联交易合约市场ID
  865. type: integer
  866. sellstatus:
  867. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  868. type: integer
  869. startprice:
  870. description: 起拍价[大宗式竞拍]
  871. type: number
  872. starttime:
  873. description: 预售开始时间
  874. type: string
  875. tradedate:
  876. description: 交易日(yyyyMMdd)
  877. type: string
  878. tradeprice:
  879. description: 成交价[大宗]
  880. type: number
  881. required:
  882. - goodsid
  883. type: object
  884. delivery.QueryDeliveryRelationRsp:
  885. properties:
  886. begindate:
  887. description: 起始日期(yyyyMMdd)
  888. type: string
  889. buytemplateid:
  890. description: 买履约计划模板ID
  891. type: integer
  892. deliverygoodscode:
  893. description: 品种代码
  894. type: string
  895. deliverygoodsid:
  896. description: 交割商品
  897. type: integer
  898. deliverygoodsname:
  899. description: 品种名称
  900. type: string
  901. deliverymode:
  902. description: 交割方式 - 1:点选式 2:申报式
  903. type: integer
  904. deliverypricerule:
  905. description: 交割价规则- 1:行情价 2:建仓价
  906. type: integer
  907. deliverytype:
  908. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  909. type: integer
  910. enddate:
  911. description: 结束日期(yyyyMMdd)
  912. type: string
  913. enumdicname:
  914. description: 品类单位名称
  915. type: string
  916. goodscode:
  917. description: 商品代码
  918. type: string
  919. goodsid:
  920. description: 交易合约ID
  921. type: integer
  922. goodsname:
  923. description: 商品名称
  924. type: string
  925. marketid:
  926. description: 市场ID
  927. type: integer
  928. mindeliveryqty:
  929. description: 最小交割系数(K)
  930. type: integer
  931. p2deliveryprice:
  932. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  933. type: number
  934. p2deliveryratio:
  935. description: P2合约系数(p)
  936. type: integer
  937. p2goodsid:
  938. description: P2合约ID
  939. type: integer
  940. p2pricemode:
  941. description: P2合约价格方式 - 1:商品价 2:固定值
  942. type: integer
  943. pdeliveryprice:
  944. description: P合约价格(商品价时填写0,固定值时填写固定值)
  945. type: number
  946. pdeliveryratio:
  947. description: P合约系数(n)
  948. type: integer
  949. pgoodscode:
  950. description: p合约代码
  951. type: string
  952. pgoodsid:
  953. description: P合约ID
  954. type: integer
  955. ppricemode:
  956. description: P合约价格方式 - 1:商品价 2:固定值
  957. type: integer
  958. rratio:
  959. description: 兑换系数(R)
  960. type: integer
  961. rratio1:
  962. description: 兑换系数(交易合约)(R1)
  963. type: integer
  964. rratio2:
  965. description: 兑换系数(仓单标准)(R2)
  966. type: integer
  967. selltemplateid:
  968. description: 卖履约计划模板ID
  969. type: integer
  970. wrstandardid:
  971. description: 仓单标准ID
  972. type: integer
  973. xdeliveryratio:
  974. description: 交易合约系数(m)
  975. type: integer
  976. required:
  977. - begindate
  978. - enddate
  979. - goodsid
  980. - mindeliveryqty
  981. - xdeliveryratio
  982. type: object
  983. ermcp.ExposureDetailRsp:
  984. properties:
  985. areauserid:
  986. description: 机构ID
  987. type: integer
  988. changeQty:
  989. description: 套保变动量
  990. type: number
  991. contracttype:
  992. description: 现货合同类型 - 1:采购 -1:销售
  993. type: integer
  994. convertfactor:
  995. description: 标仓系数
  996. type: number
  997. convertratio:
  998. description: 套保系数
  999. type: number
  1000. createtime:
  1001. description: 时间
  1002. type: string
  1003. enumdicname:
  1004. description: 现货商品单位名称
  1005. type: string
  1006. logtype:
  1007. description: 类型 - 1:套保计划 2:现货合同
  1008. type: integer
  1009. middlegoodsId:
  1010. description: 套保商品id
  1011. type: integer
  1012. middlegoodscode:
  1013. description: 套保商品代码
  1014. type: string
  1015. middlegoodsname:
  1016. description: 套保商品名称
  1017. type: string
  1018. qty:
  1019. description: 数量
  1020. type: number
  1021. relateNo:
  1022. description: 现货合同/套保计划编号
  1023. type: string
  1024. wrstandardcode:
  1025. description: 现货商品代码
  1026. type: string
  1027. wrstandardid:
  1028. description: 现货商品ID
  1029. type: integer
  1030. wrstandardname:
  1031. description: 现货商品名称
  1032. type: string
  1033. type: object
  1034. ermcp.ExposureHedgePosDetailRsp:
  1035. properties:
  1036. buyorsell:
  1037. description: 买卖方向 0-买 1-卖
  1038. type: integer
  1039. channelbuildtype:
  1040. description: 开平方向 1-建仓 2-平仓
  1041. type: integer
  1042. goodscode:
  1043. description: 商品代码
  1044. type: string
  1045. goodsname:
  1046. description: 商品名称
  1047. type: string
  1048. hedgegoodsid:
  1049. description: 商品id
  1050. type: integer
  1051. tradeqty:
  1052. description: 数量(成交数量)
  1053. type: integer
  1054. tradetime:
  1055. description: 时间(成交时间)
  1056. type: string
  1057. type: object
  1058. ermcp.ExposureHedgePositionRsp:
  1059. properties:
  1060. accountid:
  1061. description: 资金账号[外部母账户]
  1062. type: integer
  1063. curbuyposition:
  1064. description: 期末买头寸
  1065. type: integer
  1066. cursellposition:
  1067. description: 期末卖头寸
  1068. type: integer
  1069. curtdbuyposition:
  1070. description: 期末今日买头寸
  1071. type: integer
  1072. curtdsellposition:
  1073. description: 期末今日卖头寸
  1074. type: integer
  1075. curydbuyposition:
  1076. description: 期末上日买头寸
  1077. type: integer
  1078. curydsellposition:
  1079. description: 期末上日卖头寸
  1080. type: integer
  1081. decreaseqty:
  1082. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  1083. type: integer
  1084. fretdbuyposition:
  1085. description: 冻结今日买头寸
  1086. type: integer
  1087. fretdsellposition:
  1088. description: 冻结今日卖头寸
  1089. type: integer
  1090. freydbuyposition:
  1091. description: 冻结上日买头寸
  1092. type: integer
  1093. freydsellposition:
  1094. description: 冻结上日卖头寸
  1095. type: integer
  1096. goodscode:
  1097. description: 商品代码
  1098. type: string
  1099. goodsid:
  1100. description: 商品id
  1101. type: integer
  1102. goodsname:
  1103. description: 商品名称
  1104. type: string
  1105. hedgeaccountcode:
  1106. description: 对冲账号
  1107. type: string
  1108. hedgegoodsid:
  1109. description: 对冲合约ID
  1110. type: integer
  1111. increaseqty:
  1112. description: 增加数量 = 期末买头寸 - 期初买头寸
  1113. type: integer
  1114. marketid:
  1115. description: 市场ID
  1116. type: integer
  1117. relateduserid:
  1118. description: 关联用户id
  1119. type: integer
  1120. totalcurqty:
  1121. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  1122. type: integer
  1123. totalydqty:
  1124. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  1125. type: integer
  1126. tradedate:
  1127. description: 交易日(yyyyMMdd)
  1128. type: string
  1129. ydbuyposition:
  1130. description: 期初买头寸
  1131. type: integer
  1132. ydsellposition:
  1133. description: 期初卖头寸
  1134. type: integer
  1135. type: object
  1136. ermcp.ExposureSpotDetailRsp:
  1137. properties:
  1138. contracttype:
  1139. description: 合同类型 1-采购 -1-销售
  1140. type: integer
  1141. createtime:
  1142. description: 创建时间
  1143. type: string
  1144. enumdicname:
  1145. description: 现货商品单位名称
  1146. type: string
  1147. logtype:
  1148. description: 记录类型 1-套保 2-现货合同
  1149. type: integer
  1150. qty:
  1151. description: 数量
  1152. type: number
  1153. recordname:
  1154. description: 类型名称
  1155. type: string
  1156. relatedid:
  1157. description: 套保计划ID/现货合同ID
  1158. type: string
  1159. relatedno:
  1160. description: 编号
  1161. type: string
  1162. strtime:
  1163. description: 时间
  1164. type: string
  1165. wrstandardcode:
  1166. description: 现货商品代码
  1167. type: string
  1168. wrstandardname:
  1169. description: 现货商品名称
  1170. type: string
  1171. type: object
  1172. ermcp.ExposureSpotRsp:
  1173. properties:
  1174. areauserid:
  1175. description: 所属机构
  1176. type: integer
  1177. decreaseqty:
  1178. description: 减少数量=-(销售已定价数量+采购计划数量)
  1179. type: number
  1180. increaseqty:
  1181. description: 增加数量=销售计划数量+采购已定价数量
  1182. type: number
  1183. oritoalspotqty:
  1184. description: 昨日数量
  1185. type: number
  1186. totalspotqty:
  1187. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  1188. type: number
  1189. updatetime:
  1190. description: 更新时间
  1191. type: string
  1192. wrstandardcode:
  1193. description: 现货品种代码
  1194. type: string
  1195. wrstandardid:
  1196. description: 现货商品ID
  1197. type: integer
  1198. wrstandardname:
  1199. description: 现货品种
  1200. type: string
  1201. type: object
  1202. ermcp.HisExposureRsp:
  1203. properties:
  1204. data:
  1205. description: 历史敞口
  1206. items:
  1207. $ref: '#/definitions/models.ErmcpHisExposure'
  1208. type: array
  1209. enumdicname:
  1210. description: 单位名称
  1211. type: string
  1212. middlegoodscode:
  1213. description: 套保品种代码
  1214. type: string
  1215. middlegoodsid:
  1216. description: 套保品种ID
  1217. type: integer
  1218. middlegoodsname:
  1219. description: 套保品种名称
  1220. type: string
  1221. type: object
  1222. ermcp.PendingAuditCntRsp:
  1223. properties:
  1224. areastockqty:
  1225. description: '待审核数量: 库存申请'
  1226. type: integer
  1227. businessdjqty:
  1228. description: '待审核数量: 点价'
  1229. type: integer
  1230. businessfpqty:
  1231. description: '待审核数量: 发票'
  1232. type: integer
  1233. businessjsqty:
  1234. description: '待审核数量: 结算'
  1235. type: integer
  1236. businesskxqty:
  1237. description: '待审核数量: 款项'
  1238. type: integer
  1239. hedgeplanqty:
  1240. description: '待审核数量: 套保计划'
  1241. type: integer
  1242. spotcontractqty:
  1243. description: '待审核数量: 现货合同'
  1244. type: integer
  1245. userqty:
  1246. description: '待审核数量: 用户'
  1247. type: integer
  1248. type: object
  1249. ermcp.QryAvalidGPRsp:
  1250. properties:
  1251. goodsgroupid:
  1252. description: 期货品种id
  1253. type: integer
  1254. goodsgroupname:
  1255. description: 期货品种名称
  1256. type: string
  1257. goodunitid:
  1258. description: 品种单位id
  1259. type: integer
  1260. goodunitname:
  1261. description: 品种单位名称
  1262. type: string
  1263. outergroupcode:
  1264. description: 期货品种代码
  1265. type: string
  1266. type: object
  1267. ermcp.QryBusinessDjRsp:
  1268. properties:
  1269. amount:
  1270. description: 点价金额=(点价价格+升贴水)*点价数量
  1271. type: number
  1272. applyid:
  1273. description: 申请人
  1274. type: string
  1275. applyname:
  1276. description: 申请人名称
  1277. type: string
  1278. applystatus:
  1279. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1280. type: integer
  1281. applytime:
  1282. description: 申请时间
  1283. type: string
  1284. attachurl:
  1285. description: 附件
  1286. type: string
  1287. auditid:
  1288. description: 审核人ID
  1289. type: string
  1290. auditname:
  1291. description: 审核人名称
  1292. type: string
  1293. auditremark:
  1294. description: 审核备注
  1295. type: string
  1296. audittime:
  1297. description: 审核时间
  1298. type: string
  1299. buyusername:
  1300. description: 采购方名称
  1301. type: string
  1302. contractno:
  1303. description: 合同编号
  1304. type: string
  1305. contractstatus:
  1306. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1307. type: integer
  1308. contracttype:
  1309. description: 现货合同类型 - 1:采购 -1:销售
  1310. type: integer
  1311. deliverygoodscode:
  1312. description: 现货品种代码
  1313. type: string
  1314. deliverygoodsid:
  1315. description: 现货商品ID
  1316. type: integer
  1317. deliverygoodsname:
  1318. description: 现货品种名称
  1319. type: string
  1320. enumdicname:
  1321. description: 单位名称
  1322. type: string
  1323. goodscode:
  1324. description: 点价合约
  1325. type: string
  1326. goodsname:
  1327. description: 商品名称
  1328. type: string
  1329. operateapplyid:
  1330. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1331. type: string
  1332. operateapplytype:
  1333. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1334. type: integer
  1335. pricedPrice:
  1336. description: 点价价格(非必填)
  1337. type: number
  1338. pricedQty:
  1339. description: 点价数量(非必填)
  1340. type: number
  1341. pricemove:
  1342. description: 升贴水
  1343. type: number
  1344. pricetype:
  1345. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1346. type: integer
  1347. relatedid:
  1348. description: 现货合同ID
  1349. type: string
  1350. sellusername:
  1351. description: 销售方名字
  1352. type: string
  1353. userid:
  1354. description: 用户ID
  1355. type: integer
  1356. wrstandardcode:
  1357. description: 品类代码
  1358. type: string
  1359. wrstandardid:
  1360. description: 品类id
  1361. type: integer
  1362. wrstandardname:
  1363. description: 品类名称
  1364. type: string
  1365. type: object
  1366. ermcp.QryBussinessFpRsp:
  1367. properties:
  1368. applyid:
  1369. description: 申请人
  1370. type: string
  1371. applyname:
  1372. description: 申请人名称
  1373. type: string
  1374. applystatus:
  1375. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1376. type: integer
  1377. applytime:
  1378. description: 申请时间
  1379. type: string
  1380. attachurl:
  1381. description: 附件
  1382. type: string
  1383. auditid:
  1384. description: 审核人ID
  1385. type: string
  1386. auditname:
  1387. description: 审核人名称
  1388. type: string
  1389. auditremark:
  1390. description: 审核备注
  1391. type: string
  1392. audittime:
  1393. description: 审核时间
  1394. type: string
  1395. buyusername:
  1396. description: 采购方名称
  1397. type: string
  1398. contractno:
  1399. description: 合同编号
  1400. type: string
  1401. contractstatus:
  1402. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1403. type: integer
  1404. contracttype:
  1405. description: 现货合同类型 - 1:采购 -1:销售
  1406. type: integer
  1407. deliverygoodscode:
  1408. description: 现货品种代码
  1409. type: string
  1410. deliverygoodsid:
  1411. description: 现货商品ID
  1412. type: integer
  1413. deliverygoodsname:
  1414. description: 现货品种名称
  1415. type: string
  1416. enumdicname:
  1417. description: 单位名称
  1418. type: string
  1419. goodscode:
  1420. description: 点价合约
  1421. type: string
  1422. goodsname:
  1423. description: 商品名称
  1424. type: string
  1425. invoiceAmount:
  1426. description: 已开收票金额(销售为开票,采购为收票)
  1427. type: number
  1428. operateapplyid:
  1429. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1430. type: string
  1431. operateapplytype:
  1432. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1433. type: integer
  1434. pricemove:
  1435. description: 升贴水
  1436. type: number
  1437. pricetype:
  1438. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1439. type: integer
  1440. relatedid:
  1441. description: 现货合同ID
  1442. type: string
  1443. sellusername:
  1444. description: 销售方名字
  1445. type: string
  1446. userid:
  1447. description: 用户ID
  1448. type: integer
  1449. wrstandardcode:
  1450. description: 品类代码
  1451. type: string
  1452. wrstandardid:
  1453. description: 品类id
  1454. type: integer
  1455. wrstandardname:
  1456. description: 品类名称
  1457. type: string
  1458. type: object
  1459. ermcp.QryBussinessJsExRsp:
  1460. properties:
  1461. applyid:
  1462. description: 申请人
  1463. type: string
  1464. applyname:
  1465. description: 申请人名称
  1466. type: string
  1467. applystatus:
  1468. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1469. type: integer
  1470. applytime:
  1471. description: 申请时间
  1472. type: string
  1473. attachurl:
  1474. description: 附件
  1475. type: string
  1476. auditid:
  1477. description: 审核人ID
  1478. type: string
  1479. auditname:
  1480. description: 审核人名称
  1481. type: string
  1482. auditremark:
  1483. description: 审核备注
  1484. type: string
  1485. audittime:
  1486. description: 审核时间
  1487. type: string
  1488. buyusername:
  1489. description: 采购方名称
  1490. type: string
  1491. contractno:
  1492. description: 合同编号
  1493. type: string
  1494. contractstatus:
  1495. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1496. type: integer
  1497. contracttype:
  1498. description: 现货合同类型 - 1:采购 -1:销售
  1499. type: integer
  1500. deliverygoodscode:
  1501. description: 现货品种代码
  1502. type: string
  1503. deliverygoodsid:
  1504. description: 现货商品ID
  1505. type: integer
  1506. deliverygoodsname:
  1507. description: 现货品种名称
  1508. type: string
  1509. enumdicname:
  1510. description: 单位名称
  1511. type: string
  1512. goodscode:
  1513. description: 点价合约
  1514. type: string
  1515. goodsname:
  1516. description: 商品名称
  1517. type: string
  1518. operateapplyid:
  1519. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1520. type: string
  1521. operateapplytype:
  1522. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1523. type: integer
  1524. pricemove:
  1525. description: 升贴水
  1526. type: number
  1527. pricetype:
  1528. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1529. type: integer
  1530. reckontype:
  1531. description: 结算类型
  1532. type: string
  1533. reckonvalue:
  1534. description: 值
  1535. type: number
  1536. relatedid:
  1537. description: 现货合同ID
  1538. type: string
  1539. sellusername:
  1540. description: 销售方名字
  1541. type: string
  1542. userid:
  1543. description: 用户ID
  1544. type: integer
  1545. wrstandardcode:
  1546. description: 品类代码
  1547. type: string
  1548. wrstandardid:
  1549. description: 品类id
  1550. type: integer
  1551. wrstandardname:
  1552. description: 品类名称
  1553. type: string
  1554. type: object
  1555. ermcp.QryBussinessJsRsp:
  1556. properties:
  1557. addmargin:
  1558. description: 追加保证金(非必填)
  1559. type: number
  1560. applyid:
  1561. description: 申请人
  1562. type: string
  1563. applyname:
  1564. description: 申请人名称
  1565. type: string
  1566. applystatus:
  1567. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1568. type: integer
  1569. applytime:
  1570. description: 申请时间
  1571. type: string
  1572. attachurl:
  1573. description: 附件
  1574. type: string
  1575. auditid:
  1576. description: 审核人ID
  1577. type: string
  1578. auditname:
  1579. description: 审核人名称
  1580. type: string
  1581. auditremark:
  1582. description: 审核备注
  1583. type: string
  1584. audittime:
  1585. description: 审核时间
  1586. type: string
  1587. buyusername:
  1588. description: 采购方名称
  1589. type: string
  1590. contractno:
  1591. description: 合同编号
  1592. type: string
  1593. contractstatus:
  1594. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1595. type: integer
  1596. contracttype:
  1597. description: 现货合同类型 - 1:采购 -1:销售
  1598. type: integer
  1599. decmargin:
  1600. description: 减少保证金(非必填)
  1601. type: number
  1602. deliverygoodscode:
  1603. description: 现货品种代码
  1604. type: string
  1605. deliverygoodsid:
  1606. description: 现货商品ID
  1607. type: integer
  1608. deliverygoodsname:
  1609. description: 现货品种名称
  1610. type: string
  1611. enumdicname:
  1612. description: 单位名称
  1613. type: string
  1614. goodscode:
  1615. description: 点价合约
  1616. type: string
  1617. goodsname:
  1618. description: 商品名称
  1619. type: string
  1620. operateapplyid:
  1621. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1622. type: string
  1623. operateapplytype:
  1624. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1625. type: integer
  1626. pricemove:
  1627. description: 升贴水
  1628. type: number
  1629. pricetype:
  1630. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1631. type: integer
  1632. reckonadjustamount:
  1633. description: 结算调整金额(非必填)
  1634. type: number
  1635. reckonosamount:
  1636. description: 结算溢短金额(非必填)
  1637. type: number
  1638. reckonotheramount:
  1639. description: 结算其他费用(非必填)
  1640. type: number
  1641. reckonrealqty:
  1642. description: 结算实际数量(非必填)
  1643. type: number
  1644. relatedid:
  1645. description: 现货合同ID
  1646. type: string
  1647. sellusername:
  1648. description: 销售方名字
  1649. type: string
  1650. userid:
  1651. description: 用户ID
  1652. type: integer
  1653. wrstandardcode:
  1654. description: 品类代码
  1655. type: string
  1656. wrstandardid:
  1657. description: 品类id
  1658. type: integer
  1659. wrstandardname:
  1660. description: 品类名称
  1661. type: string
  1662. type: object
  1663. ermcp.QryBussinessKxRsp:
  1664. properties:
  1665. applyid:
  1666. description: 申请人
  1667. type: string
  1668. applyname:
  1669. description: 申请人名称
  1670. type: string
  1671. applystatus:
  1672. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1673. type: integer
  1674. applytime:
  1675. description: 申请时间
  1676. type: string
  1677. attachurl:
  1678. description: 附件
  1679. type: string
  1680. auditid:
  1681. description: 审核人ID
  1682. type: string
  1683. auditname:
  1684. description: 审核人名称
  1685. type: string
  1686. auditremark:
  1687. description: 审核备注
  1688. type: string
  1689. audittime:
  1690. description: 审核时间
  1691. type: string
  1692. buyusername:
  1693. description: 采购方名称
  1694. type: string
  1695. contractno:
  1696. description: 合同编号
  1697. type: string
  1698. contractstatus:
  1699. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1700. type: integer
  1701. contracttype:
  1702. description: 现货合同类型 - 1:采购 -1:销售
  1703. type: integer
  1704. deductamount:
  1705. description: 退款(非必填)
  1706. type: number
  1707. deliverygoodscode:
  1708. description: 现货品种代码
  1709. type: string
  1710. deliverygoodsid:
  1711. description: 现货商品ID
  1712. type: integer
  1713. deliverygoodsname:
  1714. description: 现货品种名称
  1715. type: string
  1716. enumdicname:
  1717. description: 单位名称
  1718. type: string
  1719. goodscode:
  1720. description: 点价合约
  1721. type: string
  1722. goodsname:
  1723. description: 商品名称
  1724. type: string
  1725. kxtype:
  1726. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1727. type: integer
  1728. operateapplyid:
  1729. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1730. type: string
  1731. operateapplytype:
  1732. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1733. type: integer
  1734. payamount:
  1735. description: 收付款(非必填)
  1736. type: number
  1737. pricemove:
  1738. description: 升贴水
  1739. type: number
  1740. pricetype:
  1741. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1742. type: integer
  1743. relatedid:
  1744. description: 现货合同ID
  1745. type: string
  1746. sellusername:
  1747. description: 销售方名字
  1748. type: string
  1749. userid:
  1750. description: 用户ID
  1751. type: integer
  1752. wrstandardcode:
  1753. description: 品类代码
  1754. type: string
  1755. wrstandardid:
  1756. description: 品类id
  1757. type: integer
  1758. wrstandardname:
  1759. description: 品类名称
  1760. type: string
  1761. type: object
  1762. ermcp.QryGGCovertCfgRsp:
  1763. properties:
  1764. convertratio:
  1765. description: 折算系数
  1766. type: number
  1767. destgoodsgroupid:
  1768. description: 目标品种ID
  1769. type: integer
  1770. dstcode:
  1771. description: 目录品种代码
  1772. type: string
  1773. dstexchangecode:
  1774. description: 目标期货交易所
  1775. type: string
  1776. dstname:
  1777. description: 目标品种名称
  1778. type: string
  1779. dstunitid:
  1780. description: 目标品种单位ID
  1781. type: integer
  1782. dstunitidname:
  1783. description: 目标品种单位名称
  1784. type: string
  1785. modifytime:
  1786. description: 修改时间
  1787. type: string
  1788. srccode:
  1789. description: 源品种代码
  1790. type: string
  1791. srcexchangecode:
  1792. description: 源期货交易所
  1793. type: string
  1794. srcgoodsgroupid:
  1795. description: 源品种ID
  1796. type: integer
  1797. srcname:
  1798. description: 源品种名称
  1799. type: string
  1800. srcunitid:
  1801. description: 源品种单位ID
  1802. type: integer
  1803. srcunitidname:
  1804. description: 源品种单位名称
  1805. type: string
  1806. type: object
  1807. ermcp.QryMGChangeLogRsp:
  1808. properties:
  1809. aftervalue:
  1810. description: 变更后
  1811. type: number
  1812. applyid:
  1813. description: 操作人
  1814. type: integer
  1815. applyname:
  1816. description: 操作人名称
  1817. type: string
  1818. applysrc:
  1819. description: 操作来源 - 1:管理端 2:终端
  1820. type: integer
  1821. beforevalue:
  1822. description: 变更前
  1823. type: number
  1824. changelogtype:
  1825. description: 变更流水类型 - 1:套保比率变更
  1826. type: integer
  1827. handlestatus:
  1828. description: 处理状态
  1829. type: integer
  1830. logdatetime:
  1831. description: 流水日期
  1832. type: string
  1833. logid:
  1834. description: 流水ID
  1835. type: integer
  1836. logremark:
  1837. description: 流水备注
  1838. type: string
  1839. middlegoodsid:
  1840. description: 套保品种ID
  1841. type: integer
  1842. tradedate:
  1843. description: 交易日(yyyyMMdd)
  1844. type: string
  1845. updatetime:
  1846. description: 更新时间
  1847. type: string
  1848. type: object
  1849. ermcp.QryMiddleGoodsDetailRsp:
  1850. properties:
  1851. cvList:
  1852. description: 期货品种折算列表
  1853. items:
  1854. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1855. type: array
  1856. mg:
  1857. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1858. description: 套保品种基本信息
  1859. wrcList:
  1860. description: 现货品种列表(现货商品折算配置)
  1861. items:
  1862. $ref: '#/definitions/models.WRSConverTDetail'
  1863. type: array
  1864. type: object
  1865. ermcp.QryMiddleGoodsRsp:
  1866. properties:
  1867. areauserid:
  1868. description: 机构用户ID
  1869. type: integer
  1870. createtime:
  1871. description: 修改时间
  1872. type: string
  1873. enumdicname:
  1874. description: 单位名称
  1875. type: string
  1876. evaluateratio:
  1877. description: 估价系数
  1878. type: number
  1879. goodsgroupid:
  1880. description: 关联期货品种ID
  1881. type: integer
  1882. goodsunitid:
  1883. description: 单位ID
  1884. type: integer
  1885. isvalid:
  1886. description: 状态 0-无效(停用) 1-有效(正常)
  1887. type: integer
  1888. middlegoodscode:
  1889. description: 套保品种代码
  1890. type: string
  1891. middlegoodsid:
  1892. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  1893. type: integer
  1894. middlegoodsname:
  1895. description: 套保品种名称
  1896. type: string
  1897. modifytime:
  1898. description: 修改时间
  1899. type: string
  1900. needarbitrageratio:
  1901. description: 套利比例
  1902. type: number
  1903. needhedgeratio:
  1904. description: 套保比率
  1905. type: number
  1906. qtydecimalplace:
  1907. description: 数量小数位
  1908. type: integer
  1909. relatedgoodsid:
  1910. description: 关联交易商品ID
  1911. type: integer
  1912. relatedgoodstype:
  1913. description: 关联商品类型 - 1:期货合约 2:现货品种
  1914. type: integer
  1915. remark:
  1916. description: 备注
  1917. type: string
  1918. type: object
  1919. ermcp.QryOPLogRsp:
  1920. properties:
  1921. aftervalue:
  1922. description: 变更后
  1923. type: number
  1924. applyid:
  1925. description: 操作人ID
  1926. type: string
  1927. applyname:
  1928. description: 操作人名称
  1929. type: string
  1930. beforevalue:
  1931. description: 变更前
  1932. type: number
  1933. biztype:
  1934. description: 业务类型 - 1:套保计划 2:现货合同
  1935. type: integer
  1936. contracttype:
  1937. description: 现货合同类型 - 1:采购 -1:销售
  1938. type: integer
  1939. logvalue:
  1940. description: 数值
  1941. type: number
  1942. operatelogtype:
  1943. description: 操作流水类型
  1944. type: integer
  1945. operatelogtypedesc:
  1946. description: 操作流水类型名称
  1947. type: string
  1948. relatedid:
  1949. description: 现货合同ID\套保计划
  1950. type: string
  1951. updatetime:
  1952. description: 更新时间
  1953. type: string
  1954. type: object
  1955. ermcp.QryUserInfoRsp:
  1956. properties:
  1957. address:
  1958. description: 通讯地址
  1959. type: string
  1960. attachment1:
  1961. description: 附件1
  1962. type: string
  1963. audittime:
  1964. description: 审核时间
  1965. type: string
  1966. cardbackphotourl:
  1967. description: 证件反面图片地址
  1968. type: string
  1969. cardfrontphotourl:
  1970. description: 证件正面图片地址
  1971. type: string
  1972. cardnum:
  1973. description: 证件号码
  1974. type: string
  1975. cardtype:
  1976. description: 证件类型
  1977. type: integer
  1978. cardtypename:
  1979. description: 证件类型名称
  1980. type: string
  1981. cityid:
  1982. description: 市
  1983. type: integer
  1984. contactname:
  1985. description: 联系人
  1986. type: string
  1987. countryid:
  1988. description: 国家
  1989. type: integer
  1990. createtime:
  1991. description: 创建时间
  1992. type: string
  1993. customername:
  1994. description: 企业名称
  1995. type: string
  1996. districtid:
  1997. description: 区域
  1998. type: integer
  1999. email:
  2000. description: 邮件
  2001. type: string
  2002. legalpersonname:
  2003. description: 法人姓名(企业)
  2004. type: string
  2005. memberuserid:
  2006. description: 所属机构ID
  2007. type: integer
  2008. mobile:
  2009. description: 手机号码
  2010. type: string
  2011. modifytime:
  2012. description: 修改时间
  2013. type: string
  2014. nickname:
  2015. description: 昵称
  2016. type: string
  2017. provinceid:
  2018. description: 省
  2019. type: integer
  2020. remark:
  2021. description: 备注
  2022. type: string
  2023. status:
  2024. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  2025. type: integer
  2026. statusdesc:
  2027. description: 账户状态中文描述
  2028. type: string
  2029. taxpayernum:
  2030. description: 纳税人识别号
  2031. type: string
  2032. telphone:
  2033. description: 联系电话
  2034. type: string
  2035. userid:
  2036. description: 用户ID
  2037. type: integer
  2038. userinfotype:
  2039. description: 客户类型
  2040. type: string
  2041. type: object
  2042. ermcp.QryWarehouseRsp:
  2043. properties:
  2044. address:
  2045. description: 详细地址
  2046. type: string
  2047. areauserid:
  2048. description: 所属机构
  2049. type: integer
  2050. autoid:
  2051. description: 自增ID(仓库ID)
  2052. type: integer
  2053. cityid:
  2054. description: 市
  2055. type: integer
  2056. contactname:
  2057. description: 联系人
  2058. type: string
  2059. contactnum:
  2060. description: 联系电话
  2061. type: string
  2062. countryid:
  2063. description: 国家
  2064. type: integer
  2065. createtime:
  2066. description: 创建时间
  2067. type: string
  2068. districtid:
  2069. description: 区
  2070. type: integer
  2071. hasvideo:
  2072. description: 是否有视频 - 0:无 1:有
  2073. type: integer
  2074. provinceid:
  2075. description: 省
  2076. type: integer
  2077. remark:
  2078. description: 审核备注
  2079. type: string
  2080. videourl:
  2081. description: 视频地址
  2082. type: string
  2083. warehousecode:
  2084. description: 仓库代码
  2085. type: string
  2086. warehousename:
  2087. description: 仓库名称
  2088. type: string
  2089. warehousestatus:
  2090. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  2091. type: integer
  2092. warehousetype:
  2093. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2094. type: integer
  2095. type: object
  2096. ermcp.QueryErmcpTradePositionRsp:
  2097. properties:
  2098. agreeunit:
  2099. description: 合约单位
  2100. type: number
  2101. buyorsell:
  2102. description: 方向 - 0:买 1:卖
  2103. type: integer
  2104. curpositionqty:
  2105. description: 持仓(总仓数量, 期末头寸)
  2106. type: integer
  2107. curtdposition:
  2108. description: 今仓数量(期末今日头寸)
  2109. type: integer
  2110. curtdpositionenabled:
  2111. description: 今仓可用
  2112. type: integer
  2113. decimalplace:
  2114. description: 报价小数位
  2115. type: integer
  2116. enableqty:
  2117. description: 可用(总仓可用)
  2118. type: integer
  2119. exexchangename:
  2120. description: 外部交易所名称
  2121. type: string
  2122. goodscode:
  2123. description: 商品代码(内部)
  2124. type: string
  2125. goodsid:
  2126. description: 商品ID(自增ID SEQ_GOODS)
  2127. type: integer
  2128. goodsname:
  2129. description: 商品名称
  2130. type: string
  2131. last:
  2132. description: 现价
  2133. type: number
  2134. marketid:
  2135. description: 所属市场ID
  2136. type: integer
  2137. openaverageprice:
  2138. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  2139. type: number
  2140. opencost:
  2141. description: 开仓成本
  2142. type: number
  2143. openpl:
  2144. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2145. type: number
  2146. outgoodscode:
  2147. description: 商品代码(外部)
  2148. type: string
  2149. positionaverageprice:
  2150. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  2151. type: number
  2152. positioncost:
  2153. description: 持仓成本
  2154. type: number
  2155. positionpl:
  2156. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2157. type: number
  2158. positionplrate:
  2159. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  2160. type: number
  2161. usedmargin:
  2162. description: 占用保证金
  2163. type: number
  2164. type: object
  2165. ermcp.RealtimeExposurePositionRsp:
  2166. properties:
  2167. agreeunit:
  2168. description: 合约单位
  2169. type: string
  2170. areauserid:
  2171. description: 所属机构id
  2172. type: integer
  2173. convertratio:
  2174. description: 期货品种系数(折算系数)
  2175. type: number
  2176. curqty:
  2177. description: 当前持仓
  2178. type: integer
  2179. diffhedgeqty:
  2180. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  2181. type: number
  2182. diffqty:
  2183. description: 持仓变动量=当前持仓-昨日持仓
  2184. type: integer
  2185. goodscode:
  2186. description: 商品代码
  2187. type: string
  2188. goodsid:
  2189. description: 商品id
  2190. type: integer
  2191. goodsname:
  2192. description: 商品名称
  2193. type: string
  2194. middlegoodsid:
  2195. description: 套保商品id
  2196. type: integer
  2197. ydqty:
  2198. description: 昨日持仓
  2199. type: integer
  2200. type: object
  2201. ermcp.RealtimeExposureRsp:
  2202. properties:
  2203. AreaUserID:
  2204. description: 所属机构
  2205. type: integer
  2206. BuyFutureQty:
  2207. description: 买入期货数量
  2208. type: number
  2209. BuyPlanQty:
  2210. description: 采购计划数量
  2211. type: number
  2212. BuyPricedQty:
  2213. description: 采购合同已定价数量
  2214. type: number
  2215. MiddleGoodsCode:
  2216. description: 套保品种代码
  2217. type: string
  2218. MiddleGoodsHedgeRatio:
  2219. description: 套保比例
  2220. type: number
  2221. MiddleGoodsID:
  2222. description: 套保品种
  2223. type: integer
  2224. MiddleGoodsName:
  2225. description: 套保品种名称
  2226. type: string
  2227. NeedHedgeExposoure:
  2228. description: 应套保敞口(套保敞口)
  2229. type: number
  2230. NeedHedgeRatio:
  2231. description: 应套保敞口比例
  2232. type: number
  2233. OriBuyFutureQty:
  2234. description: 期初买入期货数量
  2235. type: number
  2236. OriBuyPlanQty:
  2237. description: 期初采购计划数量
  2238. type: number
  2239. OriBuyPricedQty:
  2240. description: 期初采购合同已定价数量
  2241. type: number
  2242. OriSellFutureQty:
  2243. description: 期初卖出期货数量
  2244. type: number
  2245. OriSellPlanQty:
  2246. description: 期初销售计划数量
  2247. type: number
  2248. OriSellPricedQty:
  2249. description: 期初销售合同已定价数量
  2250. type: number
  2251. SellFutureQty:
  2252. description: 卖出期货数量
  2253. type: number
  2254. SellPlanQty:
  2255. description: 销售计划数量
  2256. type: number
  2257. SellPricedQty:
  2258. description: 销售合同已定价数量
  2259. type: number
  2260. TotalExposure:
  2261. description: 总敞口 平安:净敞口
  2262. type: number
  2263. TotalFutureQty:
  2264. description: 期货总量 平安:保值净持仓量
  2265. type: number
  2266. TotalHedgeRatio:
  2267. description: 敞口比例
  2268. type: number
  2269. TotalNeedHedgeQty:
  2270. description: 应套保总量(现货应套保总量)
  2271. type: number
  2272. TotalSpotQty:
  2273. description: 现货总量 平安:采销定价净值
  2274. type: number
  2275. arbitrageqty:
  2276. description: 套利量
  2277. type: number
  2278. diffArbitrageQty:
  2279. description: 套利变动量
  2280. type: number
  2281. diffExposoureQty:
  2282. description: 变动量(套保敞口)
  2283. type: number
  2284. diffFutuQty:
  2285. description: 变动量(期货总量) 平安:保值净持仓量今日变动
  2286. type: number
  2287. diffHedgeQty:
  2288. description: 套保变动量
  2289. type: number
  2290. diffQty:
  2291. description: 变动量(总敞口) 平安:净敞口今日变动
  2292. type: number
  2293. diffSpotHedgeQty:
  2294. description: 变动量(现货应套保总量) 平安:应套保量今日变动
  2295. type: number
  2296. diffSpotQty:
  2297. description: 变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动
  2298. type: number
  2299. enumdicname:
  2300. description: 单位名称
  2301. type: string
  2302. hedgeqty:
  2303. description: 套保量
  2304. type: number
  2305. needarbitrageqty:
  2306. description: 应套利量
  2307. type: number
  2308. needarbitrageratio:
  2309. description: 套利比例
  2310. type: number
  2311. needhedgeqty:
  2312. description: 应套保量
  2313. type: number
  2314. oriTotalFutuQty:
  2315. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  2316. type: number
  2317. oriTotalSpotQty:
  2318. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  2319. type: number
  2320. oriarbitrageqty:
  2321. description: 期初套利量
  2322. type: number
  2323. orihedgeqty:
  2324. description: 期初套保量
  2325. type: number
  2326. orineedhedgeexposoure:
  2327. description: 期初套保敞口
  2328. type: number
  2329. oritotalexposure:
  2330. description: 期初总敞口
  2331. type: number
  2332. oritotalfutureqty:
  2333. description: 期初期货总量
  2334. type: number
  2335. oritotalneedhedgeqty:
  2336. description: 期初现货应套保量
  2337. type: number
  2338. type: object
  2339. erms2.QueryArbitrageStrategyRsp:
  2340. properties:
  2341. applybasis:
  2342. description: 申请基差
  2343. type: number
  2344. asapplyid:
  2345. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2346. type: string
  2347. asname:
  2348. description: 策略名称
  2349. type: string
  2350. asno:
  2351. description: 策略编号
  2352. type: string
  2353. basischangepl:
  2354. description: 基差变动损益[结算更新]
  2355. type: number
  2356. biztype:
  2357. description: 业务类型 - 1:正向套利 -1:反向套利
  2358. type: integer
  2359. closetradedate:
  2360. description: 完结交易日(yyyyMMdd)
  2361. type: string
  2362. curbasis:
  2363. description: 当前基差[结算更新]
  2364. type: number
  2365. deliverygoodsid:
  2366. description: 现货品种ID
  2367. type: integer
  2368. futureavgprice:
  2369. description: 期货建仓均价
  2370. type: number
  2371. futurecloseamount:
  2372. description: 期货平仓金额
  2373. type: number
  2374. futurecloseqty:
  2375. description: 期货平仓数量
  2376. type: number
  2377. futureopenamount:
  2378. description: 期货开仓金额
  2379. type: number
  2380. futureopenqty:
  2381. description: 期货开仓数量
  2382. type: number
  2383. futurepl:
  2384. description: 期货总盈亏[结算更新]
  2385. type: number
  2386. futureqty:
  2387. description: 期货持仓数量
  2388. type: number
  2389. futurequote:
  2390. description: 期货额度
  2391. type: number
  2392. goodsgroupid:
  2393. description: 期货品种ID
  2394. type: integer
  2395. marketid:
  2396. description: 市场ID
  2397. type: integer
  2398. netexposure:
  2399. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2400. type: number
  2401. netexposurepl:
  2402. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2403. type: number
  2404. netexposurerate:
  2405. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2406. type: number
  2407. openbasis:
  2408. description: 建仓基差
  2409. type: number
  2410. pricedspotqty:
  2411. description: 已定价现货数量
  2412. type: number
  2413. pricedspotqtynotax:
  2414. description: 已定价现货不含税数量
  2415. type: number
  2416. remark:
  2417. description: 备注
  2418. type: string
  2419. spotavgprice:
  2420. description: 现货均价
  2421. type: number
  2422. spotbuyamount:
  2423. description: 现货采购金额
  2424. type: number
  2425. spotbuyqty:
  2426. description: 现货采购数量
  2427. type: number
  2428. spotpl:
  2429. description: 现货总盈亏[结算更新]
  2430. type: number
  2431. spotquota:
  2432. description: 现货额度
  2433. type: number
  2434. spotsellamount:
  2435. description: 现货销售金额
  2436. type: number
  2437. spotsellqty:
  2438. description: 现货销售数量
  2439. type: number
  2440. spotusedquota:
  2441. description: 现货占用资金
  2442. type: number
  2443. strategystatus:
  2444. description: 策略状态 - 0:未结束 1:已结束
  2445. type: integer
  2446. totalpl:
  2447. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2448. type: number
  2449. tradedate:
  2450. description: 交易日(yyyyMMdd)
  2451. type: string
  2452. updatetime:
  2453. description: 更新时间
  2454. type: string
  2455. usedquota:
  2456. description: 已占用资金
  2457. type: number
  2458. userid:
  2459. description: 所属机构
  2460. type: integer
  2461. required:
  2462. - asapplyid
  2463. type: object
  2464. erms2.QueryInnerTradeDetailRsp:
  2465. properties:
  2466. accountid:
  2467. description: 账号ID
  2468. type: integer
  2469. agreeunit:
  2470. description: 合约单位
  2471. type: number
  2472. asapplyid:
  2473. description: 策略申请ID
  2474. type: integer
  2475. asname:
  2476. description: 策略名称
  2477. type: string
  2478. asno:
  2479. description: 策略编号
  2480. type: string
  2481. buyorsell:
  2482. description: 方向 - 0:买 1:卖
  2483. type: integer
  2484. channelbuildtype:
  2485. description: 委托单据类型 0:无 1:建仓 2:平仓
  2486. type: integer
  2487. closetype:
  2488. description: 平仓方式 - 0:无 1:平今 2:平昨
  2489. type: integer
  2490. decimalplace:
  2491. description: 报价小数位
  2492. type: integer
  2493. detailtype:
  2494. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2495. type: integer
  2496. exexchangecode:
  2497. description: 外部交易所代码
  2498. type: string
  2499. exexchangename:
  2500. description: 外部交易所名称
  2501. type: string
  2502. goodscode:
  2503. description: 商品代码(合约)
  2504. type: string
  2505. goodsgroupid:
  2506. description: 商品组ID(品种ID)
  2507. type: integer
  2508. goodsgroupname:
  2509. description: 商品组名称(品种)
  2510. type: string
  2511. goodsid:
  2512. description: 商品ID
  2513. type: integer
  2514. goodsname:
  2515. description: 商品名称(合约)
  2516. type: string
  2517. goodunit:
  2518. description: 报价单位
  2519. type: string
  2520. marketid:
  2521. description: 市场ID
  2522. type: integer
  2523. orderid:
  2524. description: 委托单号
  2525. type: string
  2526. outgoodscode:
  2527. description: 商品代码(外部)
  2528. type: string
  2529. relatedouttradeid:
  2530. description: 关联外部成交单ID
  2531. type: string
  2532. remark:
  2533. description: 备注
  2534. type: string
  2535. spotcontractid:
  2536. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2537. type: integer
  2538. spotcontractno:
  2539. description: 现货合同编号
  2540. type: string
  2541. tradeid:
  2542. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2543. type: string
  2544. tradeprice:
  2545. description: 成交价格
  2546. type: number
  2547. tradeqty:
  2548. description: 成交数量
  2549. type: integer
  2550. tradetime:
  2551. description: 成交时间
  2552. type: string
  2553. updatetime:
  2554. description: 更新时间
  2555. type: string
  2556. required:
  2557. - asapplyid
  2558. - buyorsell
  2559. - goodscode
  2560. - goodsgroupid
  2561. - goodsgroupname
  2562. - goodsname
  2563. - tradeid
  2564. type: object
  2565. erms2.QuerySpotContractRsp:
  2566. properties:
  2567. accountid:
  2568. description: 资金账户ID
  2569. type: integer
  2570. areauserid:
  2571. description: 所属机构
  2572. type: integer
  2573. closedate:
  2574. description: 终止日期
  2575. type: string
  2576. closeremark:
  2577. description: 结束备注
  2578. type: string
  2579. closetradedate:
  2580. description: 完结交易日(yyyyMMdd)
  2581. type: string
  2582. closetype:
  2583. description: 终止类型 - 1:违约 2:提前终止
  2584. type: integer
  2585. contractamount:
  2586. description: 合同金额
  2587. type: number
  2588. contractattachment:
  2589. description: 合同附件
  2590. type: string
  2591. contractno:
  2592. description: 现货合同编号
  2593. type: string
  2594. contractqty:
  2595. description: 合同数量(数值) (用于计算)
  2596. type: number
  2597. contractqtychar:
  2598. description: 合同数量\已订价数量 (用于显示)
  2599. type: string
  2600. contractstatus:
  2601. description: 合同状态 - 0:未结束 1:已结束
  2602. type: integer
  2603. contracttype:
  2604. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2605. type: integer
  2606. customeraccountid:
  2607. description: 客户资金账户ID
  2608. type: integer
  2609. customeruserid:
  2610. description: 客户ID
  2611. type: integer
  2612. deliverygoodsdesc:
  2613. description: 品种说明
  2614. type: string
  2615. deliverygoodsid:
  2616. description: 现货品种ID
  2617. type: integer
  2618. handlestatus:
  2619. description: 处理状态
  2620. type: integer
  2621. invoiceatt:
  2622. description: 发票附件
  2623. type: string
  2624. invoicedatetime:
  2625. description: 开收票更新时间
  2626. type: string
  2627. invoiceopentime:
  2628. description: 开票时间
  2629. type: string
  2630. invoiceremark:
  2631. description: 发票备注
  2632. type: string
  2633. invoicestatus:
  2634. description: 开收票状态 - 0:未开票 1:已开票
  2635. type: integer
  2636. lastdate:
  2637. description: 交货时间
  2638. type: string
  2639. marketid:
  2640. description: 市场ID
  2641. type: integer
  2642. paydatetime:
  2643. description: 收付款更新时间
  2644. type: string
  2645. payremark:
  2646. description: 收付款备注
  2647. type: string
  2648. paystatus:
  2649. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  2650. type: integer
  2651. positionqty:
  2652. description: 头寸数量 - 合同数量去小数部分
  2653. type: integer
  2654. producttype:
  2655. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2656. type: integer
  2657. relatedqty:
  2658. description: 已关联数量
  2659. type: number
  2660. relatedstatus:
  2661. description: 关联完结状态 - 0:未结束 1:已结束
  2662. type: integer
  2663. remark:
  2664. description: 备注
  2665. type: string
  2666. signdate:
  2667. description: 签订日期
  2668. type: string
  2669. spotcontractid:
  2670. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  2671. type: string
  2672. spotdatetime:
  2673. description: 收发货更新时间
  2674. type: string
  2675. spotprice:
  2676. description: 价格
  2677. type: number
  2678. spotremark:
  2679. description: 收发货备注
  2680. type: string
  2681. spotstatus:
  2682. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  2683. type: integer
  2684. tradedate:
  2685. description: 交易日(yyyyMMdd)
  2686. type: string
  2687. userid:
  2688. description: 业务员用户ID
  2689. type: integer
  2690. warehouseid:
  2691. description: 仓库ID
  2692. type: integer
  2693. wrfactortypeid:
  2694. description: 仓单要素类型ID
  2695. type: integer
  2696. wrstandardid:
  2697. description: 仓单标准ID(SEQ_WRSTANDARD)
  2698. type: integer
  2699. required:
  2700. - spotcontractid
  2701. type: object
  2702. erms3.AddErms2ASApplyReq:
  2703. properties:
  2704. applybasis:
  2705. description: 申请基差
  2706. type: number
  2707. applystatus:
  2708. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2709. type: integer
  2710. asapplyid:
  2711. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  2712. type: integer
  2713. asname:
  2714. description: 策略名称
  2715. type: string
  2716. asno:
  2717. description: 策略编号
  2718. type: string
  2719. auditid:
  2720. description: 审核人
  2721. type: integer
  2722. auditremark:
  2723. description: 审核备注
  2724. type: string
  2725. audittime:
  2726. description: 审核时间
  2727. type: string
  2728. biztype:
  2729. description: 业务类型 - 1:正向套利 2:反向套利
  2730. type: integer
  2731. createtime:
  2732. description: 创建时间
  2733. type: string
  2734. creatorid:
  2735. description: 创建人
  2736. type: integer
  2737. deliverygoodsid:
  2738. description: 现货品种ID
  2739. type: integer
  2740. futurequote:
  2741. description: 期货额度
  2742. type: number
  2743. goodsgroupid:
  2744. description: 期货品种ID
  2745. type: integer
  2746. marketid:
  2747. description: 市场ID
  2748. type: integer
  2749. remark:
  2750. description: 备注
  2751. type: string
  2752. spotquota:
  2753. description: 现货额度
  2754. type: number
  2755. tradedate:
  2756. description: 交易日(yyyyMMdd)
  2757. type: string
  2758. userid:
  2759. description: 所属机构
  2760. type: integer
  2761. required:
  2762. - asapplyid
  2763. type: object
  2764. erms3.AddErms2SpotTradeApplyReq:
  2765. properties:
  2766. applyjsondetail:
  2767. description: 申请明细(JSON)
  2768. type: string
  2769. applystatus:
  2770. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2771. type: integer
  2772. areauserid:
  2773. description: 所属机构
  2774. type: integer
  2775. auditid:
  2776. description: 审核人
  2777. type: integer
  2778. auditremark:
  2779. description: 审核备注
  2780. type: string
  2781. audittime:
  2782. description: 审核时间
  2783. type: string
  2784. createtime:
  2785. description: 创建时间
  2786. type: string
  2787. creatorid:
  2788. description: 创建人
  2789. type: integer
  2790. deliverygoodsid:
  2791. description: 现货品种ID
  2792. type: integer
  2793. futureaccountid:
  2794. description: 期货资金账户
  2795. type: integer
  2796. goodsgroupid:
  2797. description: 期货品种
  2798. type: integer
  2799. marketid:
  2800. description: 市场ID
  2801. type: integer
  2802. remark:
  2803. description: 备注
  2804. type: string
  2805. spotaccountid:
  2806. description: 现货资金账户
  2807. type: integer
  2808. spottradeid:
  2809. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2810. type: integer
  2811. spottradename:
  2812. description: 业务名称
  2813. type: string
  2814. spottradeno:
  2815. description: 业务编号
  2816. type: string
  2817. tradedate:
  2818. description: 交易日(yyyyMMdd)
  2819. type: string
  2820. wrstandardid:
  2821. description: 仓单标准ID
  2822. type: integer
  2823. required:
  2824. - spottradeid
  2825. type: object
  2826. erms3.AddSpotContractApplyReq:
  2827. properties:
  2828. accountid:
  2829. description: 资金账户ID
  2830. type: integer
  2831. areauserid:
  2832. description: 所属机构
  2833. type: integer
  2834. contractattachment:
  2835. description: 合同附件
  2836. type: string
  2837. contractno:
  2838. description: 现货合同编号
  2839. type: string
  2840. contracttype:
  2841. description: 现货合同类型 - 1:采购 -1:销售
  2842. type: integer
  2843. creatorid:
  2844. description: 申请人
  2845. type: integer
  2846. customeraccountid:
  2847. description: 客户资金账户ID
  2848. type: integer
  2849. customeruserid:
  2850. description: 客户ID
  2851. type: integer
  2852. details:
  2853. description: 明细
  2854. items:
  2855. $ref: '#/definitions/erms3.SoptContractDetail'
  2856. type: array
  2857. orimargin:
  2858. description: 初始保证金
  2859. type: number
  2860. remark:
  2861. description: 备注
  2862. type: string
  2863. signdate:
  2864. description: 签订日期
  2865. type: string
  2866. required:
  2867. - accountid
  2868. - areauserid
  2869. - contractno
  2870. - contracttype
  2871. - customeraccountid
  2872. - customeruserid
  2873. - details
  2874. - orimargin
  2875. - signdate
  2876. type: object
  2877. erms3.AddSpotContractApplyRsp:
  2878. properties:
  2879. contractno:
  2880. description: 现货合同编号
  2881. type: string
  2882. spotcontractid:
  2883. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2884. type: integer
  2885. required:
  2886. - contractno
  2887. type: object
  2888. erms3.AddUserInfoApplyReq:
  2889. properties:
  2890. accountid:
  2891. description: 交易系统帐号Id (加密存储)
  2892. type: integer
  2893. areacode:
  2894. description: 机构代码
  2895. type: string
  2896. areaid:
  2897. description: 机构Id
  2898. type: integer
  2899. attachment1:
  2900. description: 附件1
  2901. type: string
  2902. attachment2:
  2903. description: 附件2
  2904. type: string
  2905. attachment3:
  2906. description: 附件3
  2907. type: string
  2908. attachment4:
  2909. description: 附件4
  2910. type: string
  2911. attachment5:
  2912. description: 附件5
  2913. type: string
  2914. auditedby:
  2915. description: 审核人
  2916. type: string
  2917. auditime:
  2918. description: 审核时间
  2919. type: string
  2920. auditsrc:
  2921. description: 审核来源 - 1:管理端 2:终端
  2922. type: integer
  2923. bankaccount:
  2924. description: 银行帐号 (加密存储)
  2925. type: string
  2926. bankaccountname:
  2927. description: 收款人名称
  2928. type: string
  2929. bankcardbackphotourl:
  2930. description: 银行卡背面照地址
  2931. type: string
  2932. bankcardfrontphotourl:
  2933. description: 银行卡正面照地址
  2934. type: string
  2935. bankid:
  2936. description: 银行编码
  2937. type: string
  2938. bankname:
  2939. description: 银行名称
  2940. type: string
  2941. bankpictureurl:
  2942. description: 银行卡正面地址
  2943. type: string
  2944. biznature:
  2945. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2946. type: integer
  2947. bizscope:
  2948. description: 企业经营范围(企业)
  2949. type: string
  2950. biztype:
  2951. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2952. type: integer
  2953. brokerid:
  2954. description: 经纪人ID(加密存储)
  2955. type: string
  2956. cardaddress:
  2957. description: 证件地址 (加密存储)
  2958. type: string
  2959. cardbackphotourl:
  2960. description: 背面证件照地址
  2961. type: string
  2962. cardfrontphotourl:
  2963. description: 正面证件照地址
  2964. type: string
  2965. cardnum:
  2966. description: 证件号码 (加密存储)
  2967. type: string
  2968. cardtype:
  2969. description: 证件类型
  2970. type: integer
  2971. cityid:
  2972. description: 市
  2973. type: integer
  2974. company:
  2975. description: 公司(个人)
  2976. type: string
  2977. contactcardbackphotourl:
  2978. description: 联系人证件背面图片地址
  2979. type: string
  2980. contactcardfrontphotourl:
  2981. description: 联系人证件正面图片地址
  2982. type: string
  2983. contactname:
  2984. description: 联系人
  2985. type: string
  2986. countryid:
  2987. description: 国家
  2988. type: integer
  2989. createtime:
  2990. description: 开户申请时间
  2991. type: string
  2992. cusbankid:
  2993. description: 签约类型
  2994. type: string
  2995. cusbankname:
  2996. description: 签约类型名称
  2997. type: string
  2998. customername:
  2999. description: 客户名称(企业名称)
  3000. type: string
  3001. districtid:
  3002. description: 地区
  3003. type: integer
  3004. email:
  3005. description: Email地址(加密存储)
  3006. type: string
  3007. halfbodyphotourl:
  3008. description: 半身照地址
  3009. type: string
  3010. headurl:
  3011. description: 头像地址
  3012. type: string
  3013. ipaddress:
  3014. description: IP地址
  3015. type: string
  3016. isvalidate:
  3017. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3018. type: string
  3019. legalcardbackphotourl:
  3020. description: 法人身份证背面照地址
  3021. type: string
  3022. legalcardfrontphotourl:
  3023. description: 法人身份证正面照地址
  3024. type: string
  3025. legalpersonname:
  3026. description: 法人姓名(企业)
  3027. type: string
  3028. logincode:
  3029. description: 登录帐号 (加密存储)
  3030. type: string
  3031. memberareaid:
  3032. description: 所属会员ID
  3033. type: integer
  3034. mobile2:
  3035. description: 手机号码[明文-尚志]
  3036. type: string
  3037. mobilephone:
  3038. description: 手机号码 (加密存储)
  3039. type: string
  3040. modifiedby:
  3041. description: 修改人帐号
  3042. type: integer
  3043. modifiedtime:
  3044. description: 修改时间
  3045. type: string
  3046. nickname:
  3047. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3048. type: string
  3049. openmode:
  3050. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3051. type: integer
  3052. otherurl:
  3053. description: 其它图片地址[使用分号分隔]
  3054. type: string
  3055. postalcode:
  3056. description: 邮政编码
  3057. type: string
  3058. provinceid:
  3059. description: 省
  3060. type: integer
  3061. proxystatementurl:
  3062. description: 授权委托书
  3063. type: string
  3064. qq:
  3065. description: QQ(加密存储
  3066. type: string
  3067. referral:
  3068. description: 推荐人编码
  3069. type: string
  3070. remark:
  3071. description: 备注
  3072. type: string
  3073. removebeforestatus:
  3074. description: REMOVEBEFORESTATUS
  3075. type: integer
  3076. sex:
  3077. description: 性别 - 0:女 1:男
  3078. type: integer
  3079. signedstatus:
  3080. description: 账户一号签签约状态
  3081. type: integer
  3082. signpdfurl:
  3083. description: 签约pdf文件
  3084. type: string
  3085. subbranch:
  3086. description: 开户支行
  3087. type: string
  3088. taxpayernum:
  3089. description: 纳税人识别号
  3090. type: string
  3091. telphone:
  3092. description: 联系电话(加密存储)
  3093. type: string
  3094. userid:
  3095. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3096. type: integer
  3097. userinfotype:
  3098. description: 用户信息类型 - 1:个人 2:企业
  3099. type: integer
  3100. username:
  3101. description: 用户姓名
  3102. type: string
  3103. userstate:
  3104. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3105. type: integer
  3106. usertype:
  3107. description: 用户类型 - 1:投资者 2:机构
  3108. type: integer
  3109. videourl:
  3110. description: 视频地址
  3111. type: string
  3112. wechat:
  3113. description: 微信号 (加密存储)
  3114. type: string
  3115. required:
  3116. - userid
  3117. type: object
  3118. erms3.CustomerInfo:
  3119. properties:
  3120. accountids:
  3121. description: 资金账户ID列表
  3122. items:
  3123. type: integer
  3124. type: array
  3125. customername:
  3126. description: 名称(企业名称)
  3127. type: string
  3128. mobile:
  3129. description: 手机号码
  3130. type: string
  3131. userid:
  3132. description: 用户ID
  3133. type: integer
  3134. required:
  3135. - userid
  3136. type: object
  3137. erms3.ModifyUserInfoApplyReq:
  3138. properties:
  3139. accountid:
  3140. description: 交易系统帐号Id (加密存储)
  3141. type: integer
  3142. areacode:
  3143. description: 机构代码
  3144. type: string
  3145. areaid:
  3146. description: 机构Id
  3147. type: integer
  3148. attachment1:
  3149. description: 附件1
  3150. type: string
  3151. attachment2:
  3152. description: 附件2
  3153. type: string
  3154. attachment3:
  3155. description: 附件3
  3156. type: string
  3157. attachment4:
  3158. description: 附件4
  3159. type: string
  3160. attachment5:
  3161. description: 附件5
  3162. type: string
  3163. auditedby:
  3164. description: 审核人
  3165. type: string
  3166. auditime:
  3167. description: 审核时间
  3168. type: string
  3169. auditsrc:
  3170. description: 审核来源 - 1:管理端 2:终端
  3171. type: integer
  3172. bankaccount:
  3173. description: 银行帐号 (加密存储)
  3174. type: string
  3175. bankaccountname:
  3176. description: 收款人名称
  3177. type: string
  3178. bankcardbackphotourl:
  3179. description: 银行卡背面照地址
  3180. type: string
  3181. bankcardfrontphotourl:
  3182. description: 银行卡正面照地址
  3183. type: string
  3184. bankid:
  3185. description: 银行编码
  3186. type: string
  3187. bankname:
  3188. description: 银行名称
  3189. type: string
  3190. bankpictureurl:
  3191. description: 银行卡正面地址
  3192. type: string
  3193. biznature:
  3194. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3195. type: integer
  3196. bizscope:
  3197. description: 企业经营范围(企业)
  3198. type: string
  3199. biztype:
  3200. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3201. type: integer
  3202. brokerid:
  3203. description: 经纪人ID(加密存储)
  3204. type: string
  3205. cardaddress:
  3206. description: 证件地址 (加密存储)
  3207. type: string
  3208. cardbackphotourl:
  3209. description: 背面证件照地址
  3210. type: string
  3211. cardfrontphotourl:
  3212. description: 正面证件照地址
  3213. type: string
  3214. cardnum:
  3215. description: 证件号码 (加密存储)
  3216. type: string
  3217. cardtype:
  3218. description: 证件类型
  3219. type: integer
  3220. cityid:
  3221. description: 市
  3222. type: integer
  3223. company:
  3224. description: 公司(个人)
  3225. type: string
  3226. contactcardbackphotourl:
  3227. description: 联系人证件背面图片地址
  3228. type: string
  3229. contactcardfrontphotourl:
  3230. description: 联系人证件正面图片地址
  3231. type: string
  3232. contactname:
  3233. description: 联系人
  3234. type: string
  3235. countryid:
  3236. description: 国家
  3237. type: integer
  3238. createtime:
  3239. description: 开户申请时间
  3240. type: string
  3241. cusbankid:
  3242. description: 签约类型
  3243. type: string
  3244. cusbankname:
  3245. description: 签约类型名称
  3246. type: string
  3247. customername:
  3248. description: 客户名称(企业名称)
  3249. type: string
  3250. districtid:
  3251. description: 地区
  3252. type: integer
  3253. email:
  3254. description: Email地址(加密存储)
  3255. type: string
  3256. halfbodyphotourl:
  3257. description: 半身照地址
  3258. type: string
  3259. headurl:
  3260. description: 头像地址
  3261. type: string
  3262. ipaddress:
  3263. description: IP地址
  3264. type: string
  3265. isvalidate:
  3266. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3267. type: string
  3268. legalcardbackphotourl:
  3269. description: 法人身份证背面照地址
  3270. type: string
  3271. legalcardfrontphotourl:
  3272. description: 法人身份证正面照地址
  3273. type: string
  3274. legalpersonname:
  3275. description: 法人姓名(企业)
  3276. type: string
  3277. logincode:
  3278. description: 登录帐号 (加密存储)
  3279. type: string
  3280. memberareaid:
  3281. description: 所属会员ID
  3282. type: integer
  3283. mobile2:
  3284. description: 手机号码[明文-尚志]
  3285. type: string
  3286. mobilephone:
  3287. description: 手机号码 (加密存储)
  3288. type: string
  3289. modifiedby:
  3290. description: 修改人帐号
  3291. type: integer
  3292. modifiedtime:
  3293. description: 修改时间
  3294. type: string
  3295. nickname:
  3296. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3297. type: string
  3298. openmode:
  3299. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3300. type: integer
  3301. otherurl:
  3302. description: 其它图片地址[使用分号分隔]
  3303. type: string
  3304. postalcode:
  3305. description: 邮政编码
  3306. type: string
  3307. provinceid:
  3308. description: 省
  3309. type: integer
  3310. proxystatementurl:
  3311. description: 授权委托书
  3312. type: string
  3313. qq:
  3314. description: QQ(加密存储
  3315. type: string
  3316. referral:
  3317. description: 推荐人编码
  3318. type: string
  3319. remark:
  3320. description: 备注
  3321. type: string
  3322. removebeforestatus:
  3323. description: REMOVEBEFORESTATUS
  3324. type: integer
  3325. sex:
  3326. description: 性别 - 0:女 1:男
  3327. type: integer
  3328. signedstatus:
  3329. description: 账户一号签签约状态
  3330. type: integer
  3331. signpdfurl:
  3332. description: 签约pdf文件
  3333. type: string
  3334. subbranch:
  3335. description: 开户支行
  3336. type: string
  3337. taxpayernum:
  3338. description: 纳税人识别号
  3339. type: string
  3340. telphone:
  3341. description: 联系电话(加密存储)
  3342. type: string
  3343. userid:
  3344. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3345. type: integer
  3346. userinfotype:
  3347. description: 用户信息类型 - 1:个人 2:企业
  3348. type: integer
  3349. username:
  3350. description: 用户姓名
  3351. type: string
  3352. userstate:
  3353. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3354. type: integer
  3355. usertype:
  3356. description: 用户类型 - 1:投资者 2:机构
  3357. type: integer
  3358. videourl:
  3359. description: 视频地址
  3360. type: string
  3361. wechat:
  3362. description: 微信号 (加密存储)
  3363. type: string
  3364. required:
  3365. - userid
  3366. type: object
  3367. erms3.QryAuditContractRsp:
  3368. properties:
  3369. accountid:
  3370. description: 交易员ID
  3371. type: string
  3372. applystatus:
  3373. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3374. type: integer
  3375. curdeliveryqty:
  3376. description: 未交收量
  3377. type: integer
  3378. customername:
  3379. description: 采购方ID
  3380. type: string
  3381. deliverygoodsid:
  3382. description: 品种ID
  3383. type: string
  3384. deliveryqty:
  3385. description: 交收量
  3386. type: integer
  3387. enumdicname:
  3388. description: 单位名称
  3389. type: string
  3390. matchaccountid:
  3391. description: 业务员ID
  3392. type: string
  3393. matchcustomername:
  3394. description: 销售方ID
  3395. type: string
  3396. pricedqty:
  3397. description: 定价量
  3398. type: number
  3399. signdate:
  3400. description: 签订日期
  3401. type: string
  3402. spotcontractid:
  3403. description: 合同ID
  3404. type: string
  3405. totaldqty:
  3406. description: 合同量
  3407. type: number
  3408. unpricedqty:
  3409. description: 未定价量
  3410. type: number
  3411. wrstandardname:
  3412. description: 商品名称
  3413. type: string
  3414. required:
  3415. - matchcustomername
  3416. - spotcontractid
  3417. type: object
  3418. erms3.QryPendingBizRsp:
  3419. properties:
  3420. accountid:
  3421. description: 现货账户
  3422. type: string
  3423. areaname:
  3424. description: 所属部门
  3425. type: string
  3426. bizid:
  3427. description: 业务ID
  3428. type: string
  3429. bizname:
  3430. description: 业务名称
  3431. type: string
  3432. status:
  3433. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3434. type: integer
  3435. type:
  3436. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3437. type: integer
  3438. type: object
  3439. erms3.QueryBusinessInfoRsp:
  3440. properties:
  3441. businessid:
  3442. description: 业务ID.
  3443. type: integer
  3444. buyamount:
  3445. description: 采购额.
  3446. type: number
  3447. buyqty:
  3448. description: 采购量.
  3449. type: string
  3450. futurepl:
  3451. description: 期货盈亏.
  3452. type: number
  3453. futureqty:
  3454. description: 期货敞口.
  3455. type: string
  3456. goodsid:
  3457. description: 商品名称/商品代码.
  3458. type: string
  3459. hedgingqty:
  3460. description: 套保量.
  3461. type: string
  3462. sellamount:
  3463. description: 销售额.
  3464. type: number
  3465. sellqty:
  3466. description: 销售量.
  3467. type: string
  3468. spotmarketvalue:
  3469. description: 现货市值.
  3470. type: number
  3471. spotpl:
  3472. description: 浮动权益.
  3473. type: number
  3474. spotqty:
  3475. description: 现货量.
  3476. type: string
  3477. statu:
  3478. description: 状态,0-未结束 1-已结束.
  3479. type: integer
  3480. totalpl:
  3481. description: 总盈亏.
  3482. type: number
  3483. totalqty:
  3484. description: 总敞口.
  3485. type: string
  3486. type:
  3487. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3488. type: integer
  3489. type: object
  3490. erms3.QuerySpotContractAppleFormRsp:
  3491. properties:
  3492. goodses:
  3493. description: 合约列表
  3494. items:
  3495. $ref: '#/definitions/models.GoodsIDAndName'
  3496. type: array
  3497. oppositeusers:
  3498. description: 对方账号列表
  3499. items:
  3500. $ref: '#/definitions/erms3.CustomerInfo'
  3501. type: array
  3502. ouruser:
  3503. $ref: '#/definitions/erms3.CustomerInfo'
  3504. description: 我方账号
  3505. warehouseinfos:
  3506. description: 仓库信息列表
  3507. items:
  3508. $ref: '#/definitions/models.Warehouseinfo'
  3509. type: array
  3510. wrstandards:
  3511. description: 仓单标准列表
  3512. items:
  3513. $ref: '#/definitions/models.WRStandardInfo'
  3514. type: array
  3515. type: object
  3516. erms3.QuerySpotContractInfoRsp:
  3517. properties:
  3518. accountid:
  3519. description: 表示交易员ID.
  3520. type: integer
  3521. curdeliveryqty:
  3522. description: 表示未交收量.
  3523. type: number
  3524. customername:
  3525. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3526. type: string
  3527. deliverygoodsid:
  3528. description: 表示品种ID.
  3529. type: string
  3530. deliveryqty:
  3531. description: 表示交收量.
  3532. type: number
  3533. matchaccountid:
  3534. description: 表示业务员ID.
  3535. type: integer
  3536. matchcustomername:
  3537. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3538. type: string
  3539. priceqty:
  3540. description: 表示定价量.
  3541. type: number
  3542. relatedbizid:
  3543. description: 表示业务ID.
  3544. type: string
  3545. signdate:
  3546. description: 表示签订日期.
  3547. type: string
  3548. spotcontractid:
  3549. description: 合同ID
  3550. type: string
  3551. status:
  3552. description: 表示状态,0-履约中 1-已完成.
  3553. type: integer
  3554. totalqty:
  3555. description: 表示合同量.
  3556. type: number
  3557. unpricedqty:
  3558. description: 表示未定价量.
  3559. type: number
  3560. wrstandardname:
  3561. description: 表示商品ID.
  3562. type: string
  3563. type: object
  3564. erms3.QueryUserInfoAppliesRsp:
  3565. properties:
  3566. biznature:
  3567. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3568. type: integer
  3569. contactname:
  3570. description: 联系人
  3571. type: string
  3572. createtime:
  3573. description: 开户申请时间
  3574. type: string
  3575. userid:
  3576. description: 用户ID(自增ID)
  3577. type: integer
  3578. userinfotype:
  3579. description: 用户信息类型 - 1:个人 2:企业
  3580. type: integer
  3581. username:
  3582. description: 用户姓名
  3583. type: string
  3584. userstate:
  3585. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3586. type: integer
  3587. required:
  3588. - userid
  3589. type: object
  3590. erms3.QueryUserInfosRsp:
  3591. properties:
  3592. biznature:
  3593. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3594. type: integer
  3595. contactname:
  3596. description: 联系人
  3597. type: string
  3598. customername:
  3599. description: 客户名称(企业名称)
  3600. type: string
  3601. userid:
  3602. description: 用户ID
  3603. type: integer
  3604. userinfotype:
  3605. description: 用户信息类型 - 1:个人 2:企业
  3606. type: integer
  3607. userstatus:
  3608. description: 用户状态 - 1:正常 2:注销
  3609. type: integer
  3610. required:
  3611. - userid
  3612. type: object
  3613. erms3.SoptContractDetail:
  3614. properties:
  3615. deliverygoodsdesc:
  3616. description: 现货品种说明
  3617. type: string
  3618. deliverygoodsid:
  3619. description: 现货品种ID
  3620. type: integer
  3621. deliverygoodsname:
  3622. description: 现货品种名称
  3623. type: string
  3624. pointdesc:
  3625. description: 点价描述
  3626. type: string
  3627. producttype:
  3628. description: 产品类型 1:标准仓单 2:等标 3:非标
  3629. type: integer
  3630. producttypename:
  3631. description: 产品类型名称
  3632. type: string
  3633. spotPointOrderVoList:
  3634. description: 点价列表
  3635. items:
  3636. $ref: '#/definitions/erms3.SpotPointOrder'
  3637. type: array
  3638. spotPriceOrderList:
  3639. description: 定价列表
  3640. items:
  3641. $ref: '#/definitions/erms3.SpotPriceOrder'
  3642. type: array
  3643. unitname:
  3644. description: 单位名称
  3645. type: string
  3646. warehouseid:
  3647. description: 仓库ID
  3648. type: integer
  3649. warehousename:
  3650. description: 仓库名称
  3651. type: string
  3652. wrstandardid:
  3653. description: 交易标的ID
  3654. type: integer
  3655. wrstandardname:
  3656. description: 交易标的名称
  3657. type: string
  3658. required:
  3659. - deliverygoodsid
  3660. - producttype
  3661. - unitname
  3662. - warehouseid
  3663. - wrstandardid
  3664. - wrstandardname
  3665. type: object
  3666. erms3.SpotPointOrder:
  3667. properties:
  3668. basic:
  3669. description: 基差
  3670. type: number
  3671. deliveryenddate:
  3672. description: 交收结束日期
  3673. type: string
  3674. deliverystartdate:
  3675. description: 交收开始日期
  3676. type: string
  3677. enddate:
  3678. description: 点价结束日期
  3679. type: string
  3680. goodsid:
  3681. description: 商品ID
  3682. type: integer
  3683. goodsname:
  3684. description: 商品名称
  3685. type: string
  3686. qty:
  3687. description: 数量
  3688. type: number
  3689. startdate:
  3690. description: 点价开始日期
  3691. type: string
  3692. required:
  3693. - basic
  3694. - goodsid
  3695. - qty
  3696. type: object
  3697. erms3.SpotPriceOrder:
  3698. properties:
  3699. amount:
  3700. description: 金额
  3701. type: number
  3702. deliveryenddate:
  3703. description: 交收结束日期
  3704. type: string
  3705. deliverystartdate:
  3706. description: 交收开始日期
  3707. type: string
  3708. price:
  3709. description: 价格
  3710. type: number
  3711. qty:
  3712. description: 数量
  3713. type: number
  3714. required:
  3715. - amount
  3716. - price
  3717. - qty
  3718. type: object
  3719. hsby.GetHsbyMyCountRsp:
  3720. properties:
  3721. myCouponCount:
  3722. description: 我的优惠卷数量
  3723. type: integer
  3724. myOrderDetailListingCount:
  3725. description: 我的订单求购中数量
  3726. type: integer
  3727. myOrderDetailPreCount:
  3728. description: 我的订单抢购中数量
  3729. type: integer
  3730. myPackageUnReceiveCount:
  3731. description: 我的包裹待收货数量
  3732. type: integer
  3733. myPackageUnSendCount:
  3734. description: 我的包裹待发货数量
  3735. type: integer
  3736. myPayOrderCount:
  3737. description: 我的订单待付款数量
  3738. type: integer
  3739. type: object
  3740. hsby.QueryProvincesAndCitiesRsp:
  3741. properties:
  3742. cities:
  3743. description: 市
  3744. items:
  3745. $ref: '#/definitions/models.Division'
  3746. type: array
  3747. province:
  3748. $ref: '#/definitions/models.Division'
  3749. description: 省
  3750. type: object
  3751. models.Arearole:
  3752. properties:
  3753. createtime:
  3754. description: 创建时间
  3755. type: string
  3756. creatorid:
  3757. description: 创建人ID
  3758. type: integer
  3759. fromuserid:
  3760. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  3761. type: integer
  3762. isreturnscore:
  3763. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  3764. type: integer
  3765. modifierid:
  3766. description: 修改人ID
  3767. type: integer
  3768. modifytime:
  3769. description: 修改时间
  3770. type: string
  3771. orgtype:
  3772. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  3773. type: integer
  3774. outuserid:
  3775. description: 外部账户[场外期权做市商]
  3776. type: string
  3777. parentuserid:
  3778. description: 上级组织机构(组织机构)
  3779. type: integer
  3780. roletype:
  3781. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  3782. type: integer
  3783. rootuserid:
  3784. description: 顶级组织机构用户ID(组织机构)
  3785. type: integer
  3786. shoppassword:
  3787. description: 商城店铺登陆密码(商城店铺角色使用)
  3788. type: string
  3789. sublevelpath:
  3790. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  3791. type: string
  3792. suborgtype:
  3793. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  3794. type: integer
  3795. tradeaccountid:
  3796. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  3797. type: integer
  3798. transurl:
  3799. description: 物流地址(物流机构)
  3800. type: string
  3801. userid:
  3802. description: 机构用户ID其他做市关系,都设置为 1
  3803. type: integer
  3804. required:
  3805. - roletype
  3806. - userid
  3807. type: object
  3808. models.Clientfixedadconfig:
  3809. properties:
  3810. adsort:
  3811. description: 排序
  3812. type: integer
  3813. adtype:
  3814. description: 广告位类型 - 1:新品抢购(HSBY)
  3815. type: integer
  3816. areauserid:
  3817. description: 所属机构ID
  3818. type: integer
  3819. createdate:
  3820. description: 创建时间
  3821. type: string
  3822. creatorid:
  3823. description: 创建人
  3824. type: integer
  3825. imagepath:
  3826. description: 图片
  3827. type: string
  3828. isshow:
  3829. description: 是否展示 - 0:不展示 1:展示
  3830. type: integer
  3831. modifierid:
  3832. description: 操作人
  3833. type: integer
  3834. recsize:
  3835. description: 推荐尺寸
  3836. type: string
  3837. title:
  3838. description: 标题
  3839. type: string
  3840. updatedate:
  3841. description: 更新时间
  3842. type: string
  3843. urlcontent:
  3844. description: 链接(地址或商品ID)
  3845. type: string
  3846. urltype:
  3847. description: 链接类型 - 1:直接地址 2:商品ID
  3848. type: integer
  3849. required:
  3850. - adsort
  3851. - adtype
  3852. type: object
  3853. models.Division:
  3854. properties:
  3855. autoid:
  3856. description: 自增ID
  3857. type: integer
  3858. divisioncode:
  3859. description: 行政代码
  3860. type: string
  3861. divisionlevel:
  3862. description: 行政级别
  3863. type: string
  3864. divisionname:
  3865. description: 行政名称
  3866. type: string
  3867. modifierid:
  3868. description: 修改人
  3869. type: integer
  3870. modifytime:
  3871. description: 修改时间
  3872. type: string
  3873. parentcode:
  3874. description: 上级行政代码
  3875. type: string
  3876. pathname:
  3877. description: 路径名称
  3878. type: string
  3879. postcode:
  3880. description: 邮政编码
  3881. type: string
  3882. separablename:
  3883. description: 可拆分的全称
  3884. type: string
  3885. shortcode:
  3886. description: 地区简码
  3887. type: string
  3888. required:
  3889. - autoid
  3890. - divisioncode
  3891. type: object
  3892. models.Enumdicitem:
  3893. properties:
  3894. autoid:
  3895. description: 自增ID
  3896. type: integer
  3897. bankmappedvalue:
  3898. description: 银行服务对应值
  3899. type: string
  3900. enumdiccode:
  3901. description: 所属枚举代码
  3902. type: string
  3903. enumdicid:
  3904. description: 所属枚举ID
  3905. type: integer
  3906. enumdicname:
  3907. description: 枚举项名称
  3908. type: string
  3909. enumitemname:
  3910. description: 枚举项值
  3911. type: integer
  3912. enumitemstatus:
  3913. description: 枚举项状态 - 1.启用 2.不启用
  3914. type: integer
  3915. enumitemvalue:
  3916. description: 通用值 - [币种通用简写]
  3917. type: string
  3918. param1:
  3919. description: 参数1[币种:币种小数位]
  3920. type: string
  3921. param2:
  3922. description: 参数1[币种:币种显示单位]
  3923. type: string
  3924. remark:
  3925. description: 备注
  3926. type: string
  3927. required:
  3928. - autoid
  3929. - enumdiccode
  3930. - enumdicid
  3931. - enumitemname
  3932. type: object
  3933. models.Ermcp3AreaSpot:
  3934. properties:
  3935. areauserid:
  3936. description: 所属机构
  3937. type: integer
  3938. convertratio:
  3939. description: 套保系数
  3940. type: number
  3941. decreaseqty:
  3942. description: 减少数量=-(销售已定价数量+采购计划数量)
  3943. type: number
  3944. enumdicname:
  3945. description: 单位名称
  3946. type: string
  3947. increaseqty:
  3948. description: 增加数量=销售计划数量+采购已定价数量
  3949. type: number
  3950. oritoalspotqty:
  3951. description: 昨日数量
  3952. type: number
  3953. totalspotqty:
  3954. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  3955. type: number
  3956. unitid:
  3957. description: 现货商品单位id
  3958. type: integer
  3959. updatetime:
  3960. description: 更新时间
  3961. type: string
  3962. wrstandardcode:
  3963. description: 现货商品代码
  3964. type: string
  3965. wrstandardid:
  3966. description: 现货商品ID(SEQ_WRSTANDARD)
  3967. type: integer
  3968. wrstandardname:
  3969. description: 现货商品名称
  3970. type: string
  3971. type: object
  3972. models.Ermcp3AreaSpotDetail:
  3973. properties:
  3974. contracttype:
  3975. description: 合同类型 1-采购 -1-销售
  3976. type: integer
  3977. createtime:
  3978. description: 创建时间
  3979. type: string
  3980. enumdicname:
  3981. description: 现货商品单位名称
  3982. type: string
  3983. logtype:
  3984. description: 记录类型 1-套保 2-现货合同
  3985. type: integer
  3986. qty:
  3987. description: 数量
  3988. type: number
  3989. recordname:
  3990. description: 类型名称
  3991. type: string
  3992. relatedid:
  3993. description: 套保计划ID/现货合同ID
  3994. type: string
  3995. relatedno:
  3996. description: 编号
  3997. type: string
  3998. strtime:
  3999. description: 时间
  4000. type: string
  4001. wrstandardcode:
  4002. description: 现货商品代码
  4003. type: string
  4004. wrstandardid:
  4005. description: 现货商品ID(SEQ_WRSTANDARD)
  4006. type: integer
  4007. wrstandardname:
  4008. description: 现货商品名称
  4009. type: string
  4010. type: object
  4011. models.Ermcp3AreaSpotPLReport:
  4012. properties:
  4013. accountid:
  4014. description: 期货账户ID (作废, 默认为0)
  4015. type: integer
  4016. accountname:
  4017. description: 机构名称
  4018. type: string
  4019. actualpl:
  4020. description: 现货损益
  4021. type: number
  4022. areauserid:
  4023. description: 所属机构\交易用户ID
  4024. type: integer
  4025. begindate:
  4026. description: 开始交易日
  4027. type: string
  4028. biztype:
  4029. description: 业务类型 - 1:套保 2:套利
  4030. type: integer
  4031. brandname:
  4032. description: 品牌名称
  4033. type: string
  4034. curamount:
  4035. description: 期末额
  4036. type: number
  4037. curaverageprice:
  4038. description: 期末均价
  4039. type: number
  4040. curbuyamount:
  4041. description: 期末采购总额
  4042. type: number
  4043. curbuyqty:
  4044. description: 期末采购总量
  4045. type: number
  4046. curmarketvalue:
  4047. description: 参考市值(期末市值)
  4048. type: number
  4049. curqty:
  4050. description: 期末量
  4051. type: number
  4052. currencyid:
  4053. description: 结算币种ID【原值】
  4054. type: integer
  4055. currencyname:
  4056. description: 币种名称
  4057. type: string
  4058. cursellamount:
  4059. description: 期末销售总额
  4060. type: number
  4061. cursellqty:
  4062. description: 期末销售总量
  4063. type: number
  4064. curspotprice:
  4065. description: 参考市价(最新价)
  4066. type: number
  4067. cycletime:
  4068. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4069. type: string
  4070. cycletype:
  4071. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4072. type: integer
  4073. deliverygoodscode:
  4074. description: 现货商品代码
  4075. type: string
  4076. deliverygoodsid:
  4077. description: 现货品种ID
  4078. type: integer
  4079. deliverygoodsname:
  4080. description: 现货商品名称
  4081. type: string
  4082. enddate:
  4083. description: 结束交易日
  4084. type: string
  4085. enumdicname:
  4086. description: 现货商品单位名称
  4087. type: string
  4088. floatpl:
  4089. description: 浮动损益
  4090. type: number
  4091. goodsunitid:
  4092. description: 现货商品单位id
  4093. type: integer
  4094. oriamount:
  4095. description: 期初额
  4096. type: number
  4097. oriaverageprice:
  4098. description: 期初均价
  4099. type: number
  4100. oribuyamount:
  4101. description: 期初采购总额
  4102. type: number
  4103. oribuyqty:
  4104. description: 期初采购总量
  4105. type: number
  4106. oriqty:
  4107. description: 期初量
  4108. type: number
  4109. orisellamount:
  4110. description: 期初销售总额
  4111. type: number
  4112. orisellqty:
  4113. description: 期初销售总量
  4114. type: number
  4115. reckondate:
  4116. description: 日照时期(yyyyMMdd)
  4117. type: string
  4118. spotgoodsbrandid:
  4119. description: 现货品牌ID
  4120. type: integer
  4121. todaybuyamount:
  4122. description: 今日采购额(今采购额)
  4123. type: number
  4124. todaybuyaverageprice:
  4125. description: 今日采购均价
  4126. type: number
  4127. todaybuyqty:
  4128. description: 今日采购量(今采购量)
  4129. type: number
  4130. todayinqty:
  4131. description: 今日入库量(今入库量)
  4132. type: number
  4133. todayoutqty:
  4134. description: 今日出库量(今出库量)
  4135. type: number
  4136. todaysellamount:
  4137. description: 今日销售额(今销售额)
  4138. type: number
  4139. todaysellaverageprice:
  4140. description: 今日销售均价
  4141. type: number
  4142. todaysellqty:
  4143. description: 今日销售量(今销售量)
  4144. type: number
  4145. unitid:
  4146. description: 品类单位id
  4147. type: integer
  4148. unitidname:
  4149. description: 品类单位名称
  4150. type: string
  4151. updatetime:
  4152. description: 更新时间
  4153. type: string
  4154. wrfactortypeid:
  4155. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4156. type: integer
  4157. wrstandardcode:
  4158. description: 品类代码
  4159. type: string
  4160. wrstandardid:
  4161. description: 现货品类ID
  4162. type: integer
  4163. wrstandardname:
  4164. description: 品类名称
  4165. type: string
  4166. type: object
  4167. models.Ermcp3AreaStock:
  4168. properties:
  4169. brandname:
  4170. description: 品牌名称
  4171. type: string
  4172. curstock:
  4173. description: 期末库存量(今日量)
  4174. type: number
  4175. deliverygoodscode:
  4176. description: 现货品种代码
  4177. type: string
  4178. deliverygoodsid:
  4179. description: 现货品种id
  4180. type: integer
  4181. deliverygoodsname:
  4182. description: 现货品种名称
  4183. type: string
  4184. enumdicname:
  4185. description: 单位名称
  4186. type: string
  4187. goodsunitid:
  4188. description: 现货商品单位id
  4189. type: integer
  4190. oristock:
  4191. description: 期初库存量(昨日量)
  4192. type: number
  4193. spotgoodsbrandid:
  4194. description: 现货品牌ID
  4195. type: integer
  4196. todaybuyinqty:
  4197. description: 今日采购入库量
  4198. type: number
  4199. todayproduceinqty:
  4200. description: 今日生产入库量
  4201. type: number
  4202. todayproduceoutqty:
  4203. description: 今日生产出库量
  4204. type: number
  4205. todayselloutqty:
  4206. description: 今日销售出库量
  4207. type: number
  4208. unitid:
  4209. description: 单位id
  4210. type: integer
  4211. updatetime:
  4212. description: 更新时间
  4213. type: string
  4214. userid:
  4215. description: 机构ID
  4216. type: integer
  4217. username:
  4218. description: 机构名称
  4219. type: string
  4220. warehousecode:
  4221. description: 仓库代码
  4222. type: string
  4223. warehouseinfoid:
  4224. description: 仓库ID
  4225. type: string
  4226. warehousename:
  4227. description: 仓库名称
  4228. type: string
  4229. warehousetype:
  4230. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4231. type: integer
  4232. wrstandardcode:
  4233. description: 品类代码
  4234. type: string
  4235. wrstandardid:
  4236. description: 品类ID
  4237. type: string
  4238. wrstandardname:
  4239. description: 品类名称
  4240. type: string
  4241. required:
  4242. - userid
  4243. type: object
  4244. models.Ermcp3AreaStockApply:
  4245. properties:
  4246. applyid:
  4247. description: 申请人
  4248. type: integer
  4249. applyname:
  4250. description: 申请人名称
  4251. type: string
  4252. applyremark:
  4253. description: 申请备注
  4254. type: string
  4255. applysrc:
  4256. description: 申请来源 - 1:管理端 2:终端
  4257. type: integer
  4258. applystatus:
  4259. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  4260. type: integer
  4261. applytime:
  4262. description: 申请时间
  4263. type: string
  4264. auditid:
  4265. description: 审核人
  4266. type: integer
  4267. auditname:
  4268. description: 审核人名称
  4269. type: string
  4270. auditremark:
  4271. description: 审核备注
  4272. type: string
  4273. auditsrc:
  4274. description: 审核来源 - 1:管理端 2:终端
  4275. type: integer
  4276. audittime:
  4277. description: 审核时间
  4278. type: string
  4279. audittradedate:
  4280. description: 审核交易日(yyyyMMdd)
  4281. type: string
  4282. brandname:
  4283. description: 品牌名称
  4284. type: string
  4285. buynickname:
  4286. description: 采购方昵称
  4287. type: string
  4288. buyuserid:
  4289. description: 采购方userid
  4290. type: integer
  4291. buyusername:
  4292. description: 采购方名称
  4293. type: string
  4294. contractno:
  4295. description: 合同编号
  4296. type: string
  4297. contractqty:
  4298. description: 合同量
  4299. type: number
  4300. contracttype:
  4301. description: 现货合同类型 - 1:采购 -1:销售
  4302. type: integer
  4303. deliverygoodscode:
  4304. description: 现货品种代码
  4305. type: string
  4306. deliverygoodsid:
  4307. description: 现货品种id
  4308. type: integer
  4309. deliverygoodsname:
  4310. description: 现货品种名称
  4311. type: string
  4312. detailjson:
  4313. description: 明细数据
  4314. type: string
  4315. enumdicname:
  4316. description: 现货商品单位名称
  4317. type: string
  4318. inoutapplyid:
  4319. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  4320. type: string
  4321. inouttype:
  4322. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4323. type: integer
  4324. pricetype:
  4325. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4326. type: integer
  4327. qty:
  4328. description: 数量
  4329. type: number
  4330. sellnickname:
  4331. description: 销售方昵称
  4332. type: string
  4333. selluserid:
  4334. description: 销售方userid
  4335. type: integer
  4336. sellusername:
  4337. description: 销售方名称
  4338. type: string
  4339. spotcontractid:
  4340. description: 关联现货合同ID
  4341. type: string
  4342. spotgoodsbrandid:
  4343. description: 现货品牌ID
  4344. type: integer
  4345. unitid:
  4346. description: 单位id
  4347. type: integer
  4348. userid:
  4349. description: 机构ID
  4350. type: integer
  4351. warehousecode:
  4352. description: 仓库代码
  4353. type: string
  4354. warehouseinfoid:
  4355. description: 现货仓库ID
  4356. type: string
  4357. warehousename:
  4358. description: 仓库名称
  4359. type: string
  4360. warehousetype:
  4361. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4362. type: integer
  4363. wrstandardcode:
  4364. description: 品类代码
  4365. type: string
  4366. wrstandardid:
  4367. description: 品类ID
  4368. type: integer
  4369. wrstandardname:
  4370. description: 品类名称
  4371. type: string
  4372. type: object
  4373. models.Ermcp3AreaStockApplySum:
  4374. properties:
  4375. brandname:
  4376. description: 品牌名称
  4377. type: string
  4378. inouttype:
  4379. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4380. type: integer
  4381. spotcontractid:
  4382. description: 关联现货合同ID
  4383. type: string
  4384. spotgoodsbrandid:
  4385. description: 品牌id
  4386. type: integer
  4387. totalqty:
  4388. description: 总数量
  4389. type: number
  4390. wrstandardid:
  4391. description: 品类id
  4392. type: integer
  4393. wrstandardname:
  4394. description: 品类名称
  4395. type: string
  4396. type: object
  4397. models.Ermcp3AreaStockReportEx:
  4398. properties:
  4399. begindate:
  4400. description: 开始交易日
  4401. type: string
  4402. brandname:
  4403. description: 品牌名称
  4404. type: string
  4405. curstock:
  4406. description: 期末库存量
  4407. type: number
  4408. cycletime:
  4409. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4410. type: string
  4411. cycletype:
  4412. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4413. type: integer
  4414. deliverygoodscode:
  4415. description: 现货品种代码
  4416. type: string
  4417. deliverygoodsid:
  4418. description: 现货品种id
  4419. type: integer
  4420. deliverygoodsname:
  4421. description: 现货品种名称
  4422. type: string
  4423. diffqty:
  4424. description: 库存变化量 = 期末 - 期初
  4425. type: number
  4426. enddate:
  4427. description: 结束交易日
  4428. type: string
  4429. enumdicname:
  4430. description: 单位名称
  4431. type: string
  4432. goodsunitid:
  4433. description: 现货单位id
  4434. type: integer
  4435. oristock:
  4436. description: 期初库存量
  4437. type: number
  4438. reckondate:
  4439. description: 日照时期(yyyyMMdd)
  4440. type: string
  4441. spotgoodsbrandid:
  4442. description: 现货品牌ID
  4443. type: integer
  4444. todaybuyinqty:
  4445. description: 今采购入库量
  4446. type: number
  4447. todayproduceinqty:
  4448. description: 今内部入库量
  4449. type: number
  4450. todayproduceoutqty:
  4451. description: 今内部出库量
  4452. type: number
  4453. todayselloutqty:
  4454. description: 今销售出库量
  4455. type: number
  4456. unbuyinqty:
  4457. description: 采购未入库量(数据库未找到相关字段?)
  4458. type: number
  4459. unitid:
  4460. description: 品类单位id
  4461. type: integer
  4462. unselloutqty:
  4463. description: 销售未出库量(数据库未找到相关字段?)
  4464. type: number
  4465. updatetime:
  4466. description: 更新时间
  4467. type: string
  4468. userid:
  4469. description: 机构ID
  4470. type: integer
  4471. username:
  4472. description: 机构名称
  4473. type: string
  4474. warehousecode:
  4475. description: 仓库代码
  4476. type: string
  4477. warehouseinfoid:
  4478. description: 仓库ID
  4479. type: string
  4480. warehousename:
  4481. description: 仓库名称
  4482. type: string
  4483. warehousetype:
  4484. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4485. type: integer
  4486. wrstandardcode:
  4487. description: 品类代码
  4488. type: string
  4489. wrstandardid:
  4490. description: 品类ID
  4491. type: integer
  4492. wrstandardname:
  4493. description: 品类名称
  4494. type: string
  4495. type: object
  4496. models.Ermcp3ArealSumPL:
  4497. properties:
  4498. accountname:
  4499. description: 机构名称
  4500. type: string
  4501. areauserid:
  4502. description: 所属机构\交易用户ID
  4503. type: integer
  4504. begindate:
  4505. description: 开始交易日
  4506. type: string
  4507. currencyid:
  4508. description: 结算币种ID
  4509. type: integer
  4510. currencyname:
  4511. description: 币种名称
  4512. type: string
  4513. cycletime:
  4514. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4515. type: string
  4516. cycletype:
  4517. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4518. type: integer
  4519. enddate:
  4520. description: 结束交易日
  4521. type: string
  4522. enumdicname:
  4523. description: 单位名称(套保品种)
  4524. type: string
  4525. futureactualpl:
  4526. description: 期货损益
  4527. type: number
  4528. futurefloatpl:
  4529. description: 期货浮动损益
  4530. type: number
  4531. futurespotratio:
  4532. description: 期现比例 = 期货头寸总量 / 现货头寸总量
  4533. type: number
  4534. goodsunitid:
  4535. description: 套保品种单位id
  4536. type: integer
  4537. hedgeexposurepl:
  4538. description: 套保敞口损益
  4539. type: number
  4540. middlegoodscode:
  4541. description: 套保品种代码
  4542. type: string
  4543. middlegoodsid:
  4544. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  4545. type: integer
  4546. middlegoodsname:
  4547. description: 套保品种名称
  4548. type: string
  4549. reckondate:
  4550. description: 日照时期(yyyyMMdd)
  4551. type: string
  4552. spotactualpl:
  4553. description: 现货损益
  4554. type: number
  4555. spotfloatpl:
  4556. description: 现货浮动损益
  4557. type: number
  4558. sumactualpl:
  4559. description: 实际损益 = (ActualPL + FutureActualPL)
  4560. type: number
  4561. sumpl:
  4562. description: 总敞口损益 | 汇总损益
  4563. type: number
  4564. totalfutureqty:
  4565. description: 期货头寸总量
  4566. type: number
  4567. totalneedhedgeqty:
  4568. description: 应套保总量
  4569. type: number
  4570. totalspotqty:
  4571. description: 现货头寸总量
  4572. type: number
  4573. updatetime:
  4574. description: 更新时间
  4575. type: string
  4576. type: object
  4577. models.Ermcp3Brand:
  4578. properties:
  4579. areauserid:
  4580. description: 用户id
  4581. type: integer
  4582. brandid:
  4583. description: 品牌id
  4584. type: integer
  4585. brandname:
  4586. description: 品牌名称
  4587. type: string
  4588. deliverygoodsid:
  4589. description: 品种ID
  4590. type: integer
  4591. isvalid:
  4592. description: 是否有效
  4593. type: integer
  4594. type: object
  4595. models.Ermcp3Contract:
  4596. properties:
  4597. accountid:
  4598. description: 期货账户id
  4599. type: string
  4600. amount:
  4601. description: 金额 [1:一口价、3:暂定价]
  4602. type: number
  4603. attachment:
  4604. description: 附件
  4605. type: string
  4606. auditremark:
  4607. description: 审核意见
  4608. type: string
  4609. audittime:
  4610. description: 审核时间
  4611. type: string
  4612. biztype:
  4613. description: 业务类型 1-套保 2-套利
  4614. type: integer
  4615. brandname:
  4616. description: 品牌名称
  4617. type: string
  4618. buynickname:
  4619. description: 销售方昵称
  4620. type: string
  4621. buyuserid:
  4622. description: 采购方ID
  4623. type: integer
  4624. buyusername:
  4625. description: 采购方名称
  4626. type: string
  4627. contracctstatus:
  4628. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4629. type: integer
  4630. contractmargin:
  4631. description: 合同保证金
  4632. type: number
  4633. contractno:
  4634. description: 现货合同编号
  4635. type: string
  4636. contracttype:
  4637. description: 现货合同类型 - 1:采购 -1:销售
  4638. type: integer
  4639. convertfactor:
  4640. description: 标仓系数(品类)
  4641. type: number
  4642. createtime:
  4643. description: 创建时间
  4644. type: string
  4645. currencyid:
  4646. description: 币种id
  4647. type: integer
  4648. currencyname:
  4649. description: 币种名称
  4650. type: string
  4651. deliveryenddate:
  4652. description: 交收期(结束)
  4653. type: string
  4654. deliverygoodscode:
  4655. description: 现货品种代码
  4656. type: string
  4657. deliverygoodsid:
  4658. description: 现货品种ID
  4659. type: integer
  4660. deliverygoodsname:
  4661. description: 现货品种名称
  4662. type: string
  4663. deliverystartdate:
  4664. description: 交收期(开始)
  4665. type: string
  4666. enddate:
  4667. description: 点价结束日期 [2:点价 3:暂定价]
  4668. type: string
  4669. enumdicname:
  4670. description: 单位名称
  4671. type: string
  4672. goodscode:
  4673. description: 点价合约代码
  4674. type: string
  4675. goodsid:
  4676. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  4677. type: integer
  4678. goodsname:
  4679. description: 点价商品名称
  4680. type: string
  4681. margin:
  4682. description: 当前保证金
  4683. type: number
  4684. meruserid:
  4685. description: 跟单员id
  4686. type: integer
  4687. meruserlogincode:
  4688. description: 跟单员登录代码
  4689. type: string
  4690. merusername:
  4691. description: 跟单员名称
  4692. type: string
  4693. price:
  4694. description: 价格\暂定价 [1:一口价、3:暂定价]
  4695. type: number
  4696. pricemove:
  4697. description: 升贴水 [2:点价 3:暂定价]
  4698. type: number
  4699. pricetype:
  4700. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4701. type: integer
  4702. producttype:
  4703. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4704. type: integer
  4705. qty:
  4706. description: 数量
  4707. type: number
  4708. remark:
  4709. description: 备注
  4710. type: string
  4711. saleuserid:
  4712. description: 业务员id
  4713. type: integer
  4714. saleuserlogincode:
  4715. description: 业务员登录代码
  4716. type: string
  4717. saleusername:
  4718. description: 业务员名称
  4719. type: string
  4720. sellnickname:
  4721. description: 采购方昵称
  4722. type: string
  4723. selluserid:
  4724. description: 销售方ID
  4725. type: integer
  4726. sellusername:
  4727. description: 销售方名称
  4728. type: string
  4729. spotcontractid:
  4730. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  4731. type: string
  4732. spotgoodsbrandid:
  4733. description: 现货品牌ID(DGFactoryItem表的ID)
  4734. type: integer
  4735. spotgoodsdesc:
  4736. description: 商品型号
  4737. type: string
  4738. startdate:
  4739. description: 点价开始日期 [2:点价 3:暂定价]
  4740. type: string
  4741. subjectid:
  4742. description: 交易主体ID
  4743. type: integer
  4744. subjectname:
  4745. description: 交易主体名称
  4746. type: string
  4747. tradeuserid:
  4748. description: 交易员id
  4749. type: integer
  4750. tradeuserlogincode:
  4751. description: 交易员登录代码
  4752. type: string
  4753. tradeusername:
  4754. description: 交易员名称
  4755. type: string
  4756. unitid:
  4757. description: 单位id(取品类上的单位id)
  4758. type: integer
  4759. updatetime:
  4760. description: 更新时间
  4761. type: string
  4762. userid:
  4763. description: 所属机构ID
  4764. type: integer
  4765. vatrate:
  4766. description: 增值税率
  4767. type: number
  4768. wrstandardcode:
  4769. description: 品类代码
  4770. type: string
  4771. wrstandardid:
  4772. description: 品类ID
  4773. type: integer
  4774. wrstandardname:
  4775. description: 品类名称
  4776. type: string
  4777. type: object
  4778. models.Ermcp3ExposureContractDetail:
  4779. properties:
  4780. biztype:
  4781. description: 业务类型 1-套保 2-套利
  4782. type: integer
  4783. brandname:
  4784. description: 品牌名称
  4785. type: string
  4786. buyuserid:
  4787. description: 采购方id
  4788. type: integer
  4789. buyusername:
  4790. description: 采购方名称
  4791. type: string
  4792. contractno:
  4793. description: 合同编号
  4794. type: string
  4795. contracttype:
  4796. description: 现货合同类型 - 1:采购 -1:销售
  4797. type: integer
  4798. convertfactor:
  4799. description: 标仓系数
  4800. type: number
  4801. convertratio:
  4802. description: 折算系数(套保品种)
  4803. type: number
  4804. curqty:
  4805. description: 今定价量
  4806. type: number
  4807. deliverygoodscode:
  4808. description: 现货商品代码
  4809. type: string
  4810. deliverygoodsid:
  4811. description: 现货商品id
  4812. type: integer
  4813. deliverygoodsname:
  4814. description: 现货商品名称
  4815. type: string
  4816. diffhedgeqty:
  4817. description: 套保变动量
  4818. type: number
  4819. diffneedhedgeqty:
  4820. description: 应套保变动量
  4821. type: number
  4822. diffqty:
  4823. description: 套保品种今变动量
  4824. type: number
  4825. enumdicname:
  4826. description: 单位名称
  4827. type: string
  4828. mgunitname:
  4829. description: 套保品种单位名称
  4830. type: string
  4831. middlegoodscode:
  4832. description: 套保品种代码
  4833. type: string
  4834. middlegoodsid:
  4835. description: 套保品种id
  4836. type: integer
  4837. middlegoodsname:
  4838. description: 套保品种名称
  4839. type: string
  4840. needarbitrageratio:
  4841. description: 应套利比例
  4842. type: number
  4843. needhedgeratio:
  4844. description: 应套保比例
  4845. type: number
  4846. pricedqty:
  4847. description: 已定价量
  4848. type: number
  4849. qty:
  4850. description: 合同量
  4851. type: number
  4852. selluserid:
  4853. description: 销售方id
  4854. type: integer
  4855. sellusername:
  4856. description: 销售方名称
  4857. type: string
  4858. spotcontractid:
  4859. description: 合同id
  4860. type: string
  4861. todaypricedqty:
  4862. description: 今定价量
  4863. type: number
  4864. tradedate:
  4865. description: 交易日
  4866. type: string
  4867. unitid:
  4868. description: 品类单位id
  4869. type: integer
  4870. userid:
  4871. description: 机构id
  4872. type: integer
  4873. username:
  4874. description: 交易用户
  4875. type: string
  4876. wrstandardcode:
  4877. description: 品类代码
  4878. type: string
  4879. wrstandardid:
  4880. description: 品类id
  4881. type: integer
  4882. wrstandardname:
  4883. description: 品类名称
  4884. type: string
  4885. type: object
  4886. models.Ermcp3ExposureDetail:
  4887. properties:
  4888. areauserid:
  4889. description: 机构ID
  4890. type: integer
  4891. changeQty:
  4892. description: 套保变动量
  4893. type: number
  4894. contracttype:
  4895. description: 现货合同类型 - 1:采购 -1:销售
  4896. type: integer
  4897. convertfactor:
  4898. description: 标仓系数
  4899. type: number
  4900. convertratio:
  4901. description: 折算系数
  4902. type: number
  4903. createtime:
  4904. description: 时间
  4905. type: string
  4906. enumdicname:
  4907. description: 现货商品单位名称
  4908. type: string
  4909. logtype:
  4910. description: 类型 - 1:套保计划 2:现货合同
  4911. type: integer
  4912. mgunitid:
  4913. description: 套保品种单位id
  4914. type: integer
  4915. mgunitidname:
  4916. description: 套保品种单位名称
  4917. type: string
  4918. middlegoodsId:
  4919. description: 套保商品id
  4920. type: integer
  4921. middlegoodscode:
  4922. description: 套保商品代码
  4923. type: string
  4924. middlegoodsname:
  4925. description: 套保商品名称
  4926. type: string
  4927. qty:
  4928. description: 数量
  4929. type: number
  4930. relateNo:
  4931. description: 现货合同/套保计划编号
  4932. type: string
  4933. unitid:
  4934. description: 现货商品单位id
  4935. type: integer
  4936. wrstandardcode:
  4937. description: 现货商品代码
  4938. type: string
  4939. wrstandardid:
  4940. description: 现货商品ID(SEQ_WRSTANDARD)
  4941. type: integer
  4942. wrstandardname:
  4943. description: 现货商品名称
  4944. type: string
  4945. type: object
  4946. models.Ermcp3ExposureFutuDetail:
  4947. properties:
  4948. accountid:
  4949. description: 交易账户id
  4950. type: integer
  4951. accountname:
  4952. description: 交易账户
  4953. type: string
  4954. begindate:
  4955. description: 开始交易日
  4956. type: string
  4957. buyorsell:
  4958. description: 方向 0-买 1-卖
  4959. type: integer
  4960. diffmgqty:
  4961. description: 套保品种今变化量
  4962. type: number
  4963. diffneedqty:
  4964. description: 应套保总量变化量
  4965. type: number
  4966. difftradeqty:
  4967. description: 交易品种今变化量
  4968. type: number
  4969. enddate:
  4970. description: 结束交易日
  4971. type: string
  4972. enumdicname:
  4973. description: 单位名称
  4974. type: string
  4975. goodscode:
  4976. description: 商品代码
  4977. type: string
  4978. goodsid:
  4979. description: 商品id
  4980. type: integer
  4981. goodsname:
  4982. description: 商品名称
  4983. type: string
  4984. holdqty:
  4985. description: 期末持仓量
  4986. type: number
  4987. middlegoodscode:
  4988. description: 套保商品代码
  4989. type: string
  4990. middlegoodsid:
  4991. description: 套保商品id
  4992. type: integer
  4993. middlegoodsname:
  4994. description: 套保商品名称
  4995. type: string
  4996. oriholdqty:
  4997. description: 期初持仓量
  4998. type: number
  4999. todaycloseqty:
  5000. description: 今平仓量
  5001. type: number
  5002. todayopenqty:
  5003. description: 今开仓量
  5004. type: number
  5005. tradedate:
  5006. description: 交易日
  5007. type: string
  5008. username:
  5009. description: 用户名称(交易用户)
  5010. type: string
  5011. type: object
  5012. models.Ermcp3ExposureHedgeplanDetail:
  5013. properties:
  5014. biztype:
  5015. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  5016. type: integer
  5017. changqty:
  5018. description: 应套保总量变化量
  5019. type: number
  5020. contracttype:
  5021. description: 计划类型 - 1:采购 -1:销售
  5022. type: integer
  5023. convertratio:
  5024. description: 折算系数(套保品种)
  5025. type: number
  5026. deliverygoodscode:
  5027. description: 现货商品代码
  5028. type: string
  5029. deliverygoodsid:
  5030. description: 现货商品id
  5031. type: integer
  5032. deliverygoodsname:
  5033. description: 现货商吕名称
  5034. type: string
  5035. dgunitid:
  5036. description: 现货商品单位id
  5037. type: integer
  5038. dgunitidname:
  5039. description: 单位名称(现货商品)
  5040. type: string
  5041. diffqty:
  5042. description: 套保品种今变动量
  5043. type: number
  5044. enumdicname:
  5045. description: 单位名称(品类)
  5046. type: string
  5047. hedgeplanid:
  5048. description: 套保计划id
  5049. type: string
  5050. hedgeplanno:
  5051. description: 套保计划名称
  5052. type: string
  5053. hedgeplanstatus:
  5054. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5055. type: integer
  5056. mgunitidname:
  5057. description: 单位名称(套保商品)
  5058. type: string
  5059. middlegoodscode:
  5060. description: 套保品种代码
  5061. type: string
  5062. middlegoodsid:
  5063. description: 套保品种id
  5064. type: integer
  5065. middlegoodsname:
  5066. description: 套保品种名称
  5067. type: string
  5068. needarbitrageratio:
  5069. description: 应套利比例
  5070. type: number
  5071. needhedgeratio:
  5072. description: 应套保比例
  5073. type: number
  5074. pricedqty:
  5075. description: 已定价量
  5076. type: number
  5077. qty:
  5078. description: 合同量
  5079. type: number
  5080. tradedate:
  5081. description: 交易日(登记日)
  5082. type: string
  5083. unitid:
  5084. description: 品类单位id
  5085. type: integer
  5086. userid:
  5087. description: 机构id
  5088. type: integer
  5089. wrstandardcode:
  5090. description: 品类代码
  5091. type: string
  5092. wrstandardid:
  5093. description: 品类id
  5094. type: integer
  5095. wrstandardname:
  5096. description: 品类名称
  5097. type: string
  5098. type: object
  5099. models.Ermcp3ExposureParamChLog:
  5100. properties:
  5101. accountid:
  5102. description: 期货账户ID (作废, 默认为0)
  5103. type: integer
  5104. aftervalue:
  5105. description: 应套保\套利量变更后(调整后应套保总量)
  5106. type: number
  5107. areauserid:
  5108. description: 所属机构\交易用户ID
  5109. type: integer
  5110. beforevalue:
  5111. description: 应套保\套利量变更前(调整前应套保总量)
  5112. type: number
  5113. begindate:
  5114. description: 开始交易日
  5115. type: string
  5116. changelogtype:
  5117. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5118. type: integer
  5119. curvalue:
  5120. description: 当前套保\套利量(套保总量|套利总量)
  5121. type: number
  5122. diffvalue:
  5123. description: 应套保总量变化量
  5124. type: number
  5125. enddate:
  5126. description: 结束交易日
  5127. type: string
  5128. logdatetime:
  5129. description: 流水日期
  5130. type: string
  5131. logid:
  5132. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  5133. type: string
  5134. middlegoodscode:
  5135. description: 套保品种代码
  5136. type: string
  5137. middlegoodsid:
  5138. description: 套保品种
  5139. type: integer
  5140. middlegoodsname:
  5141. description: 套保品种名称
  5142. type: string
  5143. paramaftervalue:
  5144. description: 参数变更后(调整后参数值)
  5145. type: number
  5146. parambeforevalue:
  5147. description: 参数变更前(调整前参数值)
  5148. type: number
  5149. tradedate:
  5150. description: 交易日(yyyyMMdd)
  5151. type: string
  5152. type: object
  5153. models.Ermcp3ExpourseReport:
  5154. properties:
  5155. accountid:
  5156. description: 期货账户ID (作废, 默认为0)
  5157. type: integer
  5158. accountname:
  5159. description: 机构名称
  5160. type: string
  5161. arbitrageqty:
  5162. description: 套利量
  5163. type: number
  5164. areauserid:
  5165. description: 所属机构\交易用户ID
  5166. type: integer
  5167. begindate:
  5168. description: 开始交易日
  5169. type: string
  5170. buyfutureqty:
  5171. description: 买入期货数量
  5172. type: number
  5173. buyplanqty:
  5174. description: 采购计划数量
  5175. type: number
  5176. buypricedqty:
  5177. description: 采购合同已定价数量
  5178. type: number
  5179. cycletime:
  5180. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5181. type: string
  5182. cycletype:
  5183. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5184. type: integer
  5185. diffexposure:
  5186. description: 变动量(套保敞口)
  5187. type: number
  5188. difffutuqty:
  5189. description: 变动量(期货)
  5190. type: number
  5191. diffhedgeqty:
  5192. description: 变动量(现货应套保总量)
  5193. type: number
  5194. diffmgqtya:
  5195. description: 套保变动量
  5196. type: number
  5197. diffmgqtyb:
  5198. description: 套利变动量
  5199. type: number
  5200. diffqty:
  5201. description: 变动量(总敞口)
  5202. type: number
  5203. diffspotqty:
  5204. description: 变动量(现货)
  5205. type: number
  5206. enddate:
  5207. description: 结束交易日
  5208. type: string
  5209. enumdicname:
  5210. description: 单位名称
  5211. type: string
  5212. hedgeqty:
  5213. description: 套保量
  5214. type: number
  5215. mgneedhedgeratio:
  5216. description: 套保比例(套保品的)
  5217. type: number
  5218. middlegoodsid:
  5219. description: 套保品种ID
  5220. type: integer
  5221. middlegoodsname:
  5222. description: 套保商品名称
  5223. type: string
  5224. middlgoodscode:
  5225. description: 套保商品代码
  5226. type: string
  5227. needarbitrageqty:
  5228. description: 应套利量
  5229. type: number
  5230. needarbitrageratio:
  5231. description: 套利比例(套保品的)
  5232. type: number
  5233. needhedgeexposoure:
  5234. description: 应套保敞口(套保敞口)
  5235. type: number
  5236. needhedgeqty:
  5237. description: 应套保量
  5238. type: number
  5239. needhedgeratio:
  5240. description: 应套保敞口比例
  5241. type: number
  5242. oriarbitrageqty:
  5243. description: 期初套利量
  5244. type: number
  5245. oribuyfutureqty:
  5246. description: 期初买入期货数量
  5247. type: number
  5248. oribuyplanqty:
  5249. description: 期初采购计划数量
  5250. type: number
  5251. oribuypricedqty:
  5252. description: 期初采购合同已定价数量
  5253. type: number
  5254. orihedgeqty:
  5255. description: 期初套保量
  5256. type: number
  5257. orineedarbitrageqty:
  5258. description: 期初应套利量
  5259. type: number
  5260. orineedhedgeexposoure:
  5261. description: 期初应套保敞口
  5262. type: number
  5263. orineedhedgeqty:
  5264. description: 期初应套保量
  5265. type: number
  5266. orisellfutureqty:
  5267. description: 期初卖出期货数量
  5268. type: number
  5269. orisellplanqty:
  5270. description: 期初销售计划数量
  5271. type: number
  5272. orisellpricedqty:
  5273. description: 期初销售合同已定价数量
  5274. type: number
  5275. oritotalexposure:
  5276. description: 期初实时总敞口
  5277. type: number
  5278. oritotalfutureqty:
  5279. description: 期初期货头寸总量
  5280. type: number
  5281. oritotalneedhedgeqty:
  5282. description: 期初应套保总量
  5283. type: number
  5284. oritotalspotqty:
  5285. description: 期初现货头寸总量
  5286. type: number
  5287. reckondate:
  5288. description: 日照时期(yyyyMMdd)
  5289. type: string
  5290. sellfutureqty:
  5291. description: 卖出期货数量
  5292. type: number
  5293. sellplanqty:
  5294. description: 销售计划数量
  5295. type: number
  5296. sellpricedqty:
  5297. description: 销售合同已定价数量
  5298. type: number
  5299. totalexposure:
  5300. description: 实时总敞口(总敞口)
  5301. type: number
  5302. totalfutureqty:
  5303. description: 期货头寸总量(期货总量)
  5304. type: number
  5305. totalhedgeratio:
  5306. description: 敞口比例
  5307. type: number
  5308. totalneedhedgeqty:
  5309. description: 应套保总量(现货应套保总量)
  5310. type: number
  5311. totalspotqty:
  5312. description: 现货头寸总量
  5313. type: number
  5314. unitid:
  5315. description: 单位id
  5316. type: integer
  5317. updatetime:
  5318. description: 更新时间
  5319. type: string
  5320. type: object
  5321. models.Ermcp3FinanceReport:
  5322. properties:
  5323. accountname:
  5324. description: 机构名称
  5325. type: string
  5326. areauserid:
  5327. description: 所属机构\交易用户ID
  5328. type: integer
  5329. begindate:
  5330. description: 开始交易日
  5331. type: string
  5332. biztype:
  5333. description: 业务类型 - 1:套保 2:套利
  5334. type: integer
  5335. brandname:
  5336. description: 品牌名称
  5337. type: string
  5338. buypreinvoicedamount:
  5339. description: 采购预收票额(预收票额)
  5340. type: number
  5341. buyprepaidamount:
  5342. description: 采购预付款额(预付货款额)
  5343. type: number
  5344. buytodayinvoiceamount:
  5345. description: 采购今收票额(今收票额)
  5346. type: number
  5347. buytodayrefundamount:
  5348. description: 采购今收退款额(今收退款额)
  5349. type: number
  5350. buytodaysettleamount:
  5351. description: 采购今付款额(今付货款额)
  5352. type: number
  5353. buyuninvoicedamount:
  5354. description: 采购应收票额(应收票额)
  5355. type: number
  5356. buyunpaidamount:
  5357. description: 采购应付款额(应付货款额)
  5358. type: number
  5359. currencyid:
  5360. description: 结算币种ID
  5361. type: integer
  5362. currencyname:
  5363. description: 币种名称
  5364. type: string
  5365. cycletime:
  5366. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5367. type: string
  5368. cycletype:
  5369. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5370. type: integer
  5371. deliverygoodscode:
  5372. description: 现货品种代码
  5373. type: string
  5374. deliverygoodsid:
  5375. description: 现货品种ID
  5376. type: integer
  5377. deliverygoodsname:
  5378. description: 现货品种名称
  5379. type: string
  5380. enddate:
  5381. description: 结束交易日
  5382. type: string
  5383. reckondate:
  5384. description: 日照时期(yyyyMMdd)
  5385. type: string
  5386. sellpreinvoicedamount:
  5387. description: 销售预开票额(预开票额)
  5388. type: number
  5389. sellprepaidamount:
  5390. description: 销售预收款额(预收货款额)
  5391. type: number
  5392. selltodayinvoiceamount:
  5393. description: 销售今开票额(今开票额)
  5394. type: number
  5395. selltodayrefundamount:
  5396. description: 销售今付退款额(今付退款额)
  5397. type: number
  5398. selltodaysettleamount:
  5399. description: 销售今收款额(今收货款额)
  5400. type: number
  5401. selluninvoicedamount:
  5402. description: 销售应开票额(应开票额)
  5403. type: number
  5404. sellunpaidamount:
  5405. description: 销售应收款额(应收货款额)
  5406. type: number
  5407. spotgoodsbrandid:
  5408. description: 现货品牌ID
  5409. type: integer
  5410. todaypaysum:
  5411. description: 今付款合计
  5412. type: number
  5413. todayreceivesum:
  5414. description: 今收款合计
  5415. type: number
  5416. updatetime:
  5417. description: 更新时间
  5418. type: string
  5419. wrfactortypeid:
  5420. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  5421. type: integer
  5422. wrstandardcode:
  5423. description: 品类代码
  5424. type: string
  5425. wrstandardid:
  5426. description: 现货商品ID
  5427. type: integer
  5428. wrstandardname:
  5429. description: 品类名称
  5430. type: string
  5431. type: object
  5432. models.Ermcp3GoodsGroup:
  5433. properties:
  5434. agreeunit:
  5435. description: 合约单位
  5436. type: number
  5437. areauserid:
  5438. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  5439. type: integer
  5440. canshort:
  5441. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  5442. type: integer
  5443. closepricemode:
  5444. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5445. type: integer
  5446. createtime:
  5447. description: 创建时间
  5448. type: string
  5449. creatorid:
  5450. description: 创建人
  5451. type: integer
  5452. currencyid:
  5453. description: 报价货币ID
  5454. type: integer
  5455. decimalplace:
  5456. description: 报价小数位
  5457. type: integer
  5458. enumdicname:
  5459. description: 单位名称
  5460. type: string
  5461. exchangefullname:
  5462. description: 交易所全称
  5463. type: string
  5464. excludecfg:
  5465. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  5466. type: integer
  5467. exexchangecode:
  5468. description: 交易所代码
  5469. type: string
  5470. exexchangeid:
  5471. description: 外部交易所ID[通道交易]
  5472. type: integer
  5473. exexchangename:
  5474. description: 交易所名称
  5475. type: string
  5476. goodsgroupid:
  5477. description: 商品组ID(自增ID)
  5478. type: integer
  5479. goodsgroupname:
  5480. description: 商品组名称
  5481. type: string
  5482. goodsgroupstatus:
  5483. description: 商品组状态 - 1:正常 2:注销
  5484. type: integer
  5485. goodunitid:
  5486. description: 报价单位ID
  5487. type: integer
  5488. groupcategroyid:
  5489. description: 品种分类ID
  5490. type: integer
  5491. innerdealmode:
  5492. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  5493. type: integer
  5494. marketid:
  5495. description: 所属市场ID
  5496. type: integer
  5497. modifierid:
  5498. description: 修改人
  5499. type: integer
  5500. modifytime:
  5501. description: 修改时间
  5502. type: string
  5503. outerdealmode:
  5504. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  5505. type: integer
  5506. outergroupcode:
  5507. description: 外部商品组代码[通道交易]
  5508. type: string
  5509. quoteminunit:
  5510. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5511. type: integer
  5512. quotesourcegroupid:
  5513. description: 所属行情源分组ID[参考行情市场用\通道交易]
  5514. type: integer
  5515. syncgoodsqty:
  5516. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  5517. type: integer
  5518. required:
  5519. - areauserid
  5520. type: object
  5521. models.Ermcp3HedgePlan:
  5522. properties:
  5523. accountid:
  5524. description: 资金账号
  5525. type: integer
  5526. areauserid:
  5527. description: 用户ID
  5528. type: integer
  5529. auditid:
  5530. description: 审核id
  5531. type: integer
  5532. auditname:
  5533. description: 审核人名称
  5534. type: string
  5535. auditremark:
  5536. description: 审核备注
  5537. type: string
  5538. auditsrc:
  5539. description: 审核来源 1-管理端 2-终端
  5540. type: integer
  5541. audittime:
  5542. description: 审核时间
  5543. type: string
  5544. contracttype:
  5545. description: 计划类型 - 1:采购 -1:销售
  5546. type: integer
  5547. convertfactor:
  5548. description: 标仓系数
  5549. type: number
  5550. createtime:
  5551. description: 创建时间
  5552. type: string
  5553. currencyid:
  5554. description: 币种id
  5555. type: integer
  5556. currencyname:
  5557. description: 币种名称
  5558. type: string
  5559. deliverygoodscode:
  5560. description: 现货品种代码
  5561. type: string
  5562. deliverygoodsid:
  5563. description: 现货品种ID
  5564. type: integer
  5565. deliverygoodsname:
  5566. description: 现货品种名称
  5567. type: string
  5568. enumdicname:
  5569. description: 单位名称(现货商品)
  5570. type: string
  5571. hedgeplanid:
  5572. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  5573. type: string
  5574. hedgeplanno:
  5575. description: 套保计划编号(名称)
  5576. type: string
  5577. hedgeplanstatus:
  5578. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5579. type: integer
  5580. planqty:
  5581. description: 计划数量
  5582. type: number
  5583. plantime:
  5584. description: 计划时间
  5585. type: string
  5586. producttype:
  5587. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5588. type: integer
  5589. remark:
  5590. description: 备注
  5591. type: string
  5592. spotgoodsdesc:
  5593. description: 商品型号
  5594. type: string
  5595. taaccountname:
  5596. description: 资金账号名称
  5597. type: string
  5598. tradeuserid:
  5599. description: 交易用户id
  5600. type: integer
  5601. tradeusername:
  5602. description: 交易用户名称
  5603. type: string
  5604. unitid:
  5605. description: 单位id(现货商品)
  5606. type: integer
  5607. updatetime:
  5608. description: 更新时间
  5609. type: string
  5610. vatrate:
  5611. description: 增值税率
  5612. type: number
  5613. wrstandardcode:
  5614. description: 品类代码
  5615. type: string
  5616. wrstandardid:
  5617. description: 品类id
  5618. type: integer
  5619. wrstandardname:
  5620. description: 品类名称
  5621. type: string
  5622. wrunitid:
  5623. description: 品类单位id
  5624. type: integer
  5625. wrunitidame:
  5626. description: 品类单位名称
  5627. type: string
  5628. type: object
  5629. models.Ermcp3InnerTradeLink:
  5630. properties:
  5631. accountid:
  5632. description: 期货账号代码 | 资金账号ID
  5633. type: integer
  5634. buyorsell:
  5635. description: 方向 - 0:买 1:卖
  5636. type: integer
  5637. channelbuildtype:
  5638. description: 委托单据类型 0:无 1:建仓 2:平仓
  5639. type: integer
  5640. currencyid:
  5641. description: 币种id
  5642. type: integer
  5643. currencyname:
  5644. description: 结算币种 名称
  5645. type: string
  5646. goodscode:
  5647. description: 商品代码
  5648. type: string
  5649. goodsid:
  5650. description: 商品ID
  5651. type: integer
  5652. goodsname:
  5653. description: 商品名称
  5654. type: string
  5655. outtradeid:
  5656. description: 外部成交单号
  5657. type: string
  5658. taname:
  5659. description: 期货账户名称
  5660. type: string
  5661. tradeid:
  5662. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5663. type: string
  5664. tradeprice:
  5665. description: 成交价格
  5666. type: number
  5667. tradeqty:
  5668. description: 期货成交数量
  5669. type: integer
  5670. tradetime:
  5671. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  5672. type: string
  5673. username:
  5674. description: 用户名称
  5675. type: string
  5676. type: object
  5677. models.Ermcp3OutTradeLink:
  5678. properties:
  5679. buyorsell:
  5680. description: 买卖方向 - 0:买 1:卖
  5681. type: integer
  5682. channelbuildtype:
  5683. description: 开平标志- 0:无 1:建仓 2:平仓
  5684. type: integer
  5685. currencyname:
  5686. description: 币种名称
  5687. type: string
  5688. exexchangecode:
  5689. description: 交易所代码
  5690. type: string
  5691. exexchangename:
  5692. description: 交易所名称
  5693. type: string
  5694. goodscode:
  5695. description: 合约代码
  5696. type: string
  5697. goodsid:
  5698. description: 合约id
  5699. type: integer
  5700. goodsname:
  5701. description: 合约名称
  5702. type: string
  5703. hasinnerorder:
  5704. description: 是否有内部单关联 - 0:无 1:有
  5705. type: integer
  5706. hedgeaccountcode:
  5707. description: 外部账号 | 对冲账号
  5708. type: string
  5709. outtradeid:
  5710. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5711. type: string
  5712. tradeprice:
  5713. description: 成交价格
  5714. type: number
  5715. tradeqty:
  5716. description: 成交数量
  5717. type: integer
  5718. tradetime:
  5719. description: 成交时间
  5720. type: string
  5721. type: object
  5722. models.Ermcp3PaAreaAuditCfg:
  5723. properties:
  5724. areauserid:
  5725. description: 用户ID
  5726. type: integer
  5727. buyinauditflag:
  5728. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  5729. type: integer
  5730. costratioauditflag:
  5731. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  5732. type: integer
  5733. customerauditflag:
  5734. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  5735. type: integer
  5736. deliveryauditflag:
  5737. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  5738. type: integer
  5739. invoiceauditflag:
  5740. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  5741. type: integer
  5742. mgneedhedgeratioauditflag:
  5743. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  5744. type: integer
  5745. moneyauditflag:
  5746. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  5747. type: integer
  5748. operatorid:
  5749. description: 操作人
  5750. type: integer
  5751. operatorsrc:
  5752. description: 操作来源 - 1:管理端 2:终端
  5753. type: integer
  5754. pointpriceauditflag:
  5755. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  5756. type: integer
  5757. produceinauditflag:
  5758. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  5759. type: integer
  5760. produceoutauditflag:
  5761. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  5762. type: integer
  5763. selloutauditflag:
  5764. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  5765. type: integer
  5766. sgconvertratioauditflag:
  5767. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  5768. type: integer
  5769. sgvtaratioauditflag:
  5770. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  5771. type: integer
  5772. spotcontractauditflag:
  5773. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  5774. type: integer
  5775. updatetime:
  5776. description: 更新时间
  5777. type: string
  5778. type: object
  5779. models.Ermcp3PaAreaSubject:
  5780. properties:
  5781. areauserid:
  5782. description: 所属机构
  5783. type: integer
  5784. canmodify:
  5785. description: 是否可修改 - 0:否 1:是
  5786. type: integer
  5787. createtime:
  5788. description: 创建时间
  5789. type: string
  5790. creatorid:
  5791. description: 创建人ID
  5792. type: string
  5793. creatorsrc:
  5794. description: 创建人来源 - 1:管理端 2:终端 3:交易
  5795. type: integer
  5796. modifierid:
  5797. description: 修改人
  5798. type: string
  5799. modifiersrc:
  5800. description: 修改人来源 - 1:管理端 2:终端
  5801. type: integer
  5802. modifytime:
  5803. description: 修改时间
  5804. type: string
  5805. parentsubjectid:
  5806. description: 上级主体ID
  5807. type: string
  5808. remark:
  5809. description: 备注
  5810. type: string
  5811. subjectid:
  5812. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  5813. type: integer
  5814. subjectname:
  5815. description: 主体名称
  5816. type: string
  5817. subjectstatus:
  5818. description: '主体状态 - 1:正常 2: 停用'
  5819. type: integer
  5820. subjecttype:
  5821. description: 主体类型 - 1:交易主体 2:业务部门
  5822. type: integer
  5823. type: object
  5824. models.Ermcp3PaTradeLink:
  5825. properties:
  5826. accountid:
  5827. description: 期货账户代码 | 账号ID
  5828. type: integer
  5829. agreeunit:
  5830. description: 合约乘数
  5831. type: number
  5832. buyorsell:
  5833. description: 方向 - 0:买 1:卖
  5834. type: integer
  5835. channelbuildtype:
  5836. description: 委托单据类型 0:无 1:建仓 2:平仓
  5837. type: integer
  5838. charge:
  5839. description: 手续费
  5840. type: number
  5841. closepl:
  5842. description: 平仓盈亏
  5843. type: number
  5844. closetype:
  5845. description: 平仓方式 - 0:无 1:平今 2:平昨
  5846. type: integer
  5847. convertratio:
  5848. description: 折算系数
  5849. type: number
  5850. enumdicname:
  5851. description: 单位名称
  5852. type: string
  5853. executeprice:
  5854. description: 执行价 [期权]
  5855. type: integer
  5856. goodscode:
  5857. description: 合约代码
  5858. type: string
  5859. goodsgroupid:
  5860. description: 对冲品种ID[期货合约商品组ID]
  5861. type: integer
  5862. goodsid:
  5863. description: 商品ID
  5864. type: integer
  5865. goodsname:
  5866. description: 合约名称
  5867. type: string
  5868. goodunitid:
  5869. description: 单位id
  5870. type: integer
  5871. hedgeflag:
  5872. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  5873. type: integer
  5874. marketid:
  5875. description: 市场ID
  5876. type: integer
  5877. middlegoodsid:
  5878. description: 套保品种ID
  5879. type: integer
  5880. middlegoodsqty:
  5881. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  5882. type: number
  5883. optioncode:
  5884. description: 期权代码 [期权]
  5885. type: string
  5886. ordertype:
  5887. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  5888. type: integer
  5889. ordertypename:
  5890. description: 订单类型
  5891. type: string
  5892. parentaccountid:
  5893. description: 所属母账户
  5894. type: integer
  5895. premium:
  5896. description: 权利金 [期权]
  5897. type: number
  5898. relatedlot:
  5899. description: 已关联数量(已关联数量手) | db:关联手数
  5900. type: number
  5901. relatedouttradeid:
  5902. description: 关联外部成交单ID
  5903. type: string
  5904. relatedqty:
  5905. description: 关联数量
  5906. type: number
  5907. spotcontractid:
  5908. description: 现货合同ID [4:套期保值\10\11]
  5909. type: string
  5910. taname:
  5911. description: 期货账户名称
  5912. type: string
  5913. tradeamount:
  5914. description: 成交金额(账户)
  5915. type: number
  5916. tradedate:
  5917. description: 交易日(yyyyMMdd)
  5918. type: string
  5919. tradeid:
  5920. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5921. type: string
  5922. tradelot:
  5923. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  5924. type: integer
  5925. tradeprice:
  5926. description: 成交价格
  5927. type: number
  5928. tradetime:
  5929. description: 时间 | db:成交时间
  5930. type: string
  5931. tradetype:
  5932. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  5933. type: integer
  5934. userid:
  5935. description: 所属机构 - 所属母账户的UserID
  5936. type: string
  5937. username:
  5938. description: 用户名称
  5939. type: string
  5940. type: object
  5941. models.Ermcp3ParamChangeApp:
  5942. properties:
  5943. aftervalue:
  5944. description: 变更后
  5945. type: number
  5946. applicationid:
  5947. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  5948. type: string
  5949. applyid:
  5950. description: 申请人
  5951. type: string
  5952. applyname:
  5953. description: 申请人名称(代码)
  5954. type: string
  5955. applyremark:
  5956. description: 申请备注
  5957. type: string
  5958. applysrc:
  5959. description: 申请来源 - 1:管理端 2:终端
  5960. type: integer
  5961. applystatus:
  5962. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  5963. type: integer
  5964. applytime:
  5965. description: 申请时间
  5966. type: string
  5967. areauserid:
  5968. description: 所属机构用户ID
  5969. type: integer
  5970. auditid:
  5971. description: 审核人
  5972. type: string
  5973. auditname:
  5974. description: 审核人名称(代码)
  5975. type: string
  5976. auditremark:
  5977. description: 审核备注
  5978. type: string
  5979. auditsrc:
  5980. description: 审核来源 - 1:管理端 2:终端
  5981. type: integer
  5982. audittime:
  5983. description: 审核时间
  5984. type: string
  5985. audittradedate:
  5986. description: 审核交易日(yyyyMMdd)
  5987. type: string
  5988. beforevalue:
  5989. description: 变更前
  5990. type: number
  5991. deliverygoodscode:
  5992. description: 品种代码
  5993. type: string
  5994. deliverygoodsid:
  5995. description: 品种id
  5996. type: integer
  5997. deliverygoodsname:
  5998. description: 品种名称
  5999. type: string
  6000. middlegoodscode:
  6001. description: 套保品种代码
  6002. type: string
  6003. middlegoodsid:
  6004. description: 套保品种ID [ParamChangeType = 2,3,4]
  6005. type: integer
  6006. middlegoodsname:
  6007. description: 套保品种名称
  6008. type: string
  6009. operatetype:
  6010. description: 操作类型 - 1:新增 2:修改
  6011. type: integer
  6012. paramchangetype:
  6013. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  6014. type: integer
  6015. wrstandardcode:
  6016. description: 现货商品代码
  6017. type: string
  6018. wrstandardid:
  6019. description: 现货商品ID [ParamChangeType = 1,2,3]
  6020. type: integer
  6021. wrstandardname:
  6022. description: 现货商品名称
  6023. type: string
  6024. type: object
  6025. models.Ermcp3RootUserAccount:
  6026. properties:
  6027. accountname:
  6028. description: 账户名称(机构名称)
  6029. type: string
  6030. accountstatus:
  6031. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6032. type: integer
  6033. applysrc:
  6034. description: 申请来源 - 1:管理端 2:终端
  6035. type: integer
  6036. auditremark:
  6037. description: 审核备注
  6038. type: string
  6039. auditsrc:
  6040. description: 审核来源 - 1:管理端 2:终端
  6041. type: integer
  6042. audittime:
  6043. description: 审核时间
  6044. type: string
  6045. audituserid:
  6046. description: 审核人
  6047. type: integer
  6048. broker:
  6049. description: 所属经纪人ID
  6050. type: integer
  6051. canceltime:
  6052. description: 销户时间
  6053. type: string
  6054. canceluserid:
  6055. description: 销户人
  6056. type: integer
  6057. canrecommend:
  6058. description: 是否可推荐 - 0:不可 1;可
  6059. type: integer
  6060. createtime:
  6061. description: 创建时间
  6062. type: string
  6063. creatorid:
  6064. description: 创建人
  6065. type: integer
  6066. hasauth:
  6067. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  6068. type: integer
  6069. isanonymous:
  6070. description: 是否匿名下单 - 0:否 1:是
  6071. type: integer
  6072. maxinvestornum:
  6073. description: 最大用户数(经纪会员下投资者个数)
  6074. type: integer
  6075. memberuserid:
  6076. description: 所属会员ID
  6077. type: integer
  6078. modifierid:
  6079. description: 修改人
  6080. type: integer
  6081. modifyremark:
  6082. description: 变更备注
  6083. type: string
  6084. modifystatus:
  6085. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  6086. type: integer
  6087. modifytime:
  6088. description: 修改时间
  6089. type: string
  6090. parenttopuser:
  6091. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  6092. type: string
  6093. parentuserid:
  6094. description: 所属机构ID
  6095. type: integer
  6096. reckonaccountid:
  6097. description: 默认结算资金账号ID(机构分润使用) 作废
  6098. type: integer
  6099. refercount:
  6100. description: 推荐总人数
  6101. type: integer
  6102. refereeuserid:
  6103. description: 推荐人ID
  6104. type: integer
  6105. refernum:
  6106. description: 推荐码
  6107. type: string
  6108. rootuserid:
  6109. description: 根用户ID
  6110. type: integer
  6111. subaccountlevel:
  6112. description: 子账户层数
  6113. type: integer
  6114. subarealevelpath:
  6115. description: 子机构层级路径(逗号分隔,首尾加逗号)
  6116. type: string
  6117. userid:
  6118. description: 用户ID
  6119. type: integer
  6120. usertype:
  6121. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6122. type: integer
  6123. type: object
  6124. models.Ermcp3SCMiddleGoods:
  6125. properties:
  6126. biztype:
  6127. description: 业务类型 1:套保 2:套利
  6128. type: integer
  6129. contractno:
  6130. description: 合同编号
  6131. type: string
  6132. contracttype:
  6133. description: 合同类型 1:采购 -1:销售
  6134. type: integer
  6135. convertratio:
  6136. description: 折算系数
  6137. type: number
  6138. customername:
  6139. description: 对手手名称
  6140. type: string
  6141. customeruserid:
  6142. description: 对手id
  6143. type: integer
  6144. deliverygoodscode:
  6145. description: 现货品种代码
  6146. type: string
  6147. deliverygoodsid:
  6148. description: 现货品种ID
  6149. type: integer
  6150. deliverygoodsname:
  6151. description: 现货品种名称
  6152. type: string
  6153. enumdicname:
  6154. description: 现货单位名称
  6155. type: string
  6156. middlegoodsid:
  6157. description: 套保品种ID
  6158. type: integer
  6159. middlegoodspricedqty3:
  6160. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  6161. type: number
  6162. needhedgeratio:
  6163. description: 套保比例
  6164. type: number
  6165. pricedqty:
  6166. description: 已定价量
  6167. type: number
  6168. relatedmiddlegoodsqty:
  6169. description: 已关联量(套保品种)(期货)
  6170. type: number
  6171. spotcontractid:
  6172. description: 合同编号
  6173. type: string
  6174. unitid:
  6175. description: 现货单位id
  6176. type: integer
  6177. userid:
  6178. description: 用户id
  6179. type: integer
  6180. vatrate:
  6181. description: 增值税率
  6182. type: number
  6183. wrstandardcode:
  6184. description: 现货商品代码
  6185. type: string
  6186. wrstandardid:
  6187. description: 现货商品id
  6188. type: integer
  6189. wrstandardname:
  6190. description: 现货商品名称
  6191. type: string
  6192. type: object
  6193. models.Ermcp3SCMiddleGoodsReport:
  6194. properties:
  6195. begindate:
  6196. description: 开始交易日
  6197. type: string
  6198. contractno:
  6199. description: 合同编号
  6200. type: string
  6201. contracttype:
  6202. description: 合同类型 1:采购 -1:销售
  6203. type: integer
  6204. convertratio:
  6205. description: 折算系数
  6206. type: number
  6207. cycletime:
  6208. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6209. type: string
  6210. cycletype:
  6211. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6212. type: integer
  6213. deliverygoodscode:
  6214. description: 品种代码
  6215. type: string
  6216. deliverygoodsid:
  6217. description: 现货品种ID
  6218. type: integer
  6219. deliverygoodsname:
  6220. description: 品种名称
  6221. type: string
  6222. diffprice:
  6223. description: 现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价
  6224. type: number
  6225. diffqty:
  6226. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  6227. type: number
  6228. enddate:
  6229. description: 结束交易日
  6230. type: string
  6231. hedgeplanqty:
  6232. description: 套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例
  6233. type: number
  6234. matchname:
  6235. description: 交易对手方(个人:用户名称 企业:简称)
  6236. type: string
  6237. middlegoodscode:
  6238. description: 套保品种代码
  6239. type: string
  6240. middlegoodsid:
  6241. description: 套保品种ID
  6242. type: integer
  6243. middlegoodsname:
  6244. description: 套保品种名称
  6245. type: string
  6246. middlegoodspricedqty:
  6247. description: 已定价量(套保品种 - 税前) = PricedQty * 折算系数
  6248. type: number
  6249. middlegoodspricedqty2:
  6250. description: 已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))
  6251. type: number
  6252. middlegoodspricedqty3:
  6253. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  6254. type: number
  6255. needhedgeratio:
  6256. description: 套保系数
  6257. type: number
  6258. pricedamount:
  6259. description: 已定价额(现货)
  6260. type: number
  6261. pricedamount2:
  6262. description: 已定价额(现货-基价额)
  6263. type: number
  6264. pricedqty:
  6265. description: 已定价量(现货)
  6266. type: number
  6267. reckondate:
  6268. description: 日照时期(yyyyMMdd)
  6269. type: string
  6270. relatedmiddlegoodsamount:
  6271. description: 已关联额(期货)
  6272. type: number
  6273. relatedmiddlegoodsqty:
  6274. description: 已关联量(套保品种)(期货)
  6275. type: number
  6276. spotcontractid:
  6277. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  6278. type: string
  6279. todayavgfutuprice:
  6280. description: 今日期货成交均价 = TodayRelatedMiddleGoodsAmount /todayrelatedfutureqty
  6281. type: number
  6282. todayavgprice:
  6283. description: 今日定价均价 = TodayPricedAmount / TodayPricedQty
  6284. type: number
  6285. todayavgprice2:
  6286. description: 今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty
  6287. type: number
  6288. todaypricedamount:
  6289. description: 今日定价额(现货)
  6290. type: number
  6291. todaypricedamount2:
  6292. description: 今日定价额(现货-基价额)
  6293. type: number
  6294. todaypricedqty:
  6295. description: 今日定价量(现货)
  6296. type: number
  6297. todayrelatedfutureqty:
  6298. description: 今日关联量(期货)
  6299. type: number
  6300. todayrelatedmiddlegoodsamount:
  6301. description: 今日关联额(期货)
  6302. type: number
  6303. todayrelatedmiddlegoodsqty:
  6304. description: 今日关联量(套保品-期货)
  6305. type: number
  6306. updatetime:
  6307. description: 更新时间
  6308. type: string
  6309. userid:
  6310. description: 合同所属用户id
  6311. type: integer
  6312. vatrate:
  6313. description: 增值税率
  6314. type: number
  6315. wrstandardcode:
  6316. description: 商品(品类) 代码
  6317. type: string
  6318. wrstandardid:
  6319. description: 现货商品ID
  6320. type: integer
  6321. wrstandardname:
  6322. description: 商品(品类) 名称
  6323. type: string
  6324. type: object
  6325. models.Ermcp3SellBuyContract:
  6326. properties:
  6327. accountid:
  6328. description: 期货账户id
  6329. type: string
  6330. accountname:
  6331. description: 账户名称
  6332. type: string
  6333. attachment:
  6334. description: 附件
  6335. type: string
  6336. audittime:
  6337. description: 审核时间
  6338. type: string
  6339. biztype:
  6340. description: 业务类型 1-套保 2-套利
  6341. type: integer
  6342. brandname:
  6343. description: 品牌名称
  6344. type: string
  6345. contracctstatus:
  6346. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6347. type: integer
  6348. contractmargin:
  6349. description: 合同保证金
  6350. type: number
  6351. contractno:
  6352. description: 合同编号
  6353. type: string
  6354. contracttype:
  6355. description: 合同类型 1-采购, -1-销售
  6356. type: integer
  6357. convertfactor:
  6358. description: 标仓系数(品类)
  6359. type: number
  6360. createtime:
  6361. description: 创建时间
  6362. type: string
  6363. currencyid:
  6364. description: 币种id
  6365. type: integer
  6366. currencyname:
  6367. description: 币种名称
  6368. type: string
  6369. daikaiamount:
  6370. description: 应收(开)票额
  6371. type: number
  6372. deliveryenddate:
  6373. description: 交割结束日
  6374. type: string
  6375. deliverygoodscode:
  6376. description: 现货品种代码
  6377. type: string
  6378. deliverygoodsid:
  6379. description: 现货商品ID
  6380. type: integer
  6381. deliverygoodsname:
  6382. description: 现货品种名称
  6383. type: string
  6384. deliverystartdate:
  6385. description: 交割开始日
  6386. type: string
  6387. enddate:
  6388. description: 点价结束日
  6389. type: string
  6390. enumdicname:
  6391. description: 单位名称
  6392. type: string
  6393. goodscode:
  6394. description: 点价商品代码
  6395. type: string
  6396. goodsid:
  6397. description: 点价商品ID
  6398. type: integer
  6399. goodsname:
  6400. description: 点价商品名称
  6401. type: string
  6402. invoiceamount:
  6403. description: 已开票额
  6404. type: number
  6405. loanamount:
  6406. description: 贷款总额=已定价额+调整金额
  6407. type: number
  6408. margin:
  6409. description: 保证金
  6410. type: number
  6411. meruserid:
  6412. description: 跟单员id
  6413. type: integer
  6414. meruserlogincode:
  6415. description: 跟单员登录代码
  6416. type: string
  6417. merusername:
  6418. description: 跟单员名称
  6419. type: string
  6420. nickname:
  6421. description: 账户昵称
  6422. type: string
  6423. payamount:
  6424. description: 已收付额(收款或付款)
  6425. type: number
  6426. preinvoiceamount:
  6427. description: 预收(开)票额
  6428. type: number
  6429. prepayamount:
  6430. description: 预收付额
  6431. type: number
  6432. price:
  6433. description: 价格
  6434. type: number
  6435. pricedamount:
  6436. description: 已定价额
  6437. type: number
  6438. pricedavg:
  6439. description: 已点均价
  6440. type: number
  6441. pricedqty:
  6442. description: 已定价量
  6443. type: number
  6444. pricemove:
  6445. description: 升贴水
  6446. type: number
  6447. pricetype:
  6448. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  6449. type: integer
  6450. producttype:
  6451. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6452. type: integer
  6453. qty:
  6454. description: 合同量
  6455. type: number
  6456. reckonadjustamount:
  6457. description: 调整金额
  6458. type: number
  6459. reckonedamount:
  6460. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  6461. type: number
  6462. reckonotheramount:
  6463. description: 其它费用
  6464. type: number
  6465. reckonrealqty:
  6466. description: 已确定量
  6467. type: number
  6468. remark:
  6469. description: 备注
  6470. type: string
  6471. saleuserid:
  6472. description: 业务员id
  6473. type: integer
  6474. saleuserlogincode:
  6475. description: 业务员登录代码
  6476. type: string
  6477. saleusername:
  6478. description: 业务员名称
  6479. type: string
  6480. spotcontractid:
  6481. description: 合同ID
  6482. type: string
  6483. spotgoodsbrandid:
  6484. description: 现货品牌ID(DGFactoryItem表的ID)
  6485. type: integer
  6486. spotgoodsdesc:
  6487. description: 商品型号(商品规格)
  6488. type: string
  6489. startdate:
  6490. description: 点价开始日
  6491. type: string
  6492. subjectid:
  6493. description: 交易主体ID
  6494. type: integer
  6495. subjectname:
  6496. description: 交易主体名称
  6497. type: string
  6498. totalamount:
  6499. description: 合计总额
  6500. type: number
  6501. tradeuserid:
  6502. description: 交易员id
  6503. type: integer
  6504. tradeuserlogincode:
  6505. description: 交易员登录代码
  6506. type: string
  6507. tradeusername:
  6508. description: 交易员名称
  6509. type: string
  6510. unpayamount:
  6511. description: 应收付款额(应支付或应收款)
  6512. type: number
  6513. unpricedqty:
  6514. description: 未定价量
  6515. type: number
  6516. unsureqty:
  6517. description: 未确定量
  6518. type: number
  6519. userid:
  6520. description: 机构ID
  6521. type: integer
  6522. vatrate:
  6523. description: 增值税率
  6524. type: number
  6525. wrstandardcode:
  6526. description: 品类代码
  6527. type: string
  6528. wrstandardid:
  6529. description: 品类ID
  6530. type: integer
  6531. wrstandardname:
  6532. description: 品类名称
  6533. type: string
  6534. type: object
  6535. models.Ermcp3SpotGoodsPrice:
  6536. properties:
  6537. areauserid:
  6538. description: 所属机构id
  6539. type: integer
  6540. brandname:
  6541. description: 品牌名称
  6542. type: string
  6543. currencyid:
  6544. description: 报价货币ID
  6545. type: integer
  6546. currencyname:
  6547. description: 币种名称
  6548. type: string
  6549. deliverygoodscode:
  6550. description: 现货商品代码
  6551. type: string
  6552. deliverygoodsid:
  6553. description: 现货商品id
  6554. type: integer
  6555. deliverygoodsname:
  6556. description: 现货商品名称
  6557. type: string
  6558. enumdicname:
  6559. description: 现货商品单位名称
  6560. type: string
  6561. gbenumdicname:
  6562. description: 品类单位名称
  6563. type: string
  6564. gmunitid:
  6565. description: 品类单位id
  6566. type: integer
  6567. isvalid:
  6568. description: 是否有效 - 0:无效 1:有效
  6569. type: integer
  6570. operateid:
  6571. description: 最后操作人
  6572. type: integer
  6573. operatesrc:
  6574. description: 最后操作来源 - 1:管理端 2:终端
  6575. type: integer
  6576. operatetime:
  6577. description: 最后操作时间
  6578. type: string
  6579. operatorname:
  6580. description: 操作人名称
  6581. type: string
  6582. spotgoodsbrandid:
  6583. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6584. type: integer
  6585. spotgoodsprice:
  6586. description: 现货价格
  6587. type: number
  6588. tradedate:
  6589. description: 交易日(yyyyMMdd)
  6590. type: string
  6591. unitid:
  6592. description: 现货商品单位id
  6593. type: integer
  6594. wrstandardcode:
  6595. description: 品类代码
  6596. type: string
  6597. wrstandardid:
  6598. description: 现货品类ID(通用则为0)
  6599. type: integer
  6600. wrstandardname:
  6601. description: 品类名称
  6602. type: string
  6603. type: object
  6604. models.Ermcp3SpotGoodsPriceLog:
  6605. properties:
  6606. areauserid:
  6607. description: 所属机构id
  6608. type: integer
  6609. brandname:
  6610. description: 品牌名称
  6611. type: string
  6612. currencyid:
  6613. description: 报价货币ID
  6614. type: integer
  6615. deliverygoodscode:
  6616. description: 现货商品代码
  6617. type: string
  6618. deliverygoodsid:
  6619. description: 现货商品id
  6620. type: integer
  6621. deliverygoodsname:
  6622. description: 现货商品名称
  6623. type: string
  6624. enumdicname:
  6625. description: 现货商品单位名称
  6626. type: string
  6627. gbenumdicname:
  6628. description: 品类单位名称
  6629. type: string
  6630. gmunitid:
  6631. description: 品类单位id
  6632. type: integer
  6633. logid:
  6634. description: 日志id
  6635. type: integer
  6636. operateid:
  6637. description: 最后操作人
  6638. type: integer
  6639. operatesrc:
  6640. description: 最后操作来源 - 1:管理端 2:终端
  6641. type: integer
  6642. operatetime:
  6643. description: 最后操作时间
  6644. type: string
  6645. operatorname:
  6646. description: 操作人名称
  6647. type: string
  6648. spotgoodsbrandid:
  6649. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6650. type: integer
  6651. spotgoodsprice:
  6652. description: 现货价格
  6653. type: number
  6654. tradedate:
  6655. description: 交易日(yyyyMMdd)
  6656. type: string
  6657. unitid:
  6658. description: 现货商品单位id
  6659. type: integer
  6660. wrstandardcode:
  6661. description: 品类代码
  6662. type: string
  6663. wrstandardid:
  6664. description: 现货品类ID(通用则为0)
  6665. type: integer
  6666. wrstandardname:
  6667. description: 品类名称
  6668. type: string
  6669. type: object
  6670. models.Ermcp3SubTaaccount:
  6671. properties:
  6672. accountid:
  6673. description: 资金账户ID
  6674. type: integer
  6675. parentaccountcode:
  6676. description: 所属根账号代码(母账号代码)
  6677. type: string
  6678. parentaccountid:
  6679. description: 所属根账号(母账号)
  6680. type: integer
  6681. taname:
  6682. description: 资金账号名称
  6683. type: string
  6684. tradestatus:
  6685. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  6686. type: integer
  6687. username:
  6688. description: 交易用户
  6689. type: string
  6690. type: object
  6691. models.Ermcp3TaFutuReDataReport:
  6692. properties:
  6693. accountid:
  6694. description: 交易账户
  6695. type: integer
  6696. accountname:
  6697. description: 交易账号名称
  6698. type: string
  6699. agreeunit:
  6700. description: 商品合约单位
  6701. type: number
  6702. begindate:
  6703. description: 开始交易日
  6704. type: string
  6705. buyorsell:
  6706. description: 持仓方向
  6707. type: integer
  6708. charge:
  6709. description: 手续费
  6710. type: number
  6711. closeavgprice:
  6712. description: 平仓均价
  6713. type: number
  6714. closepl:
  6715. description: 平仓损益
  6716. type: number
  6717. currencyid:
  6718. description: 结算币种ID
  6719. type: integer
  6720. currencyname:
  6721. description: 币种名称
  6722. type: string
  6723. cycletime:
  6724. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6725. type: string
  6726. cycletype:
  6727. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6728. type: integer
  6729. enddate:
  6730. description: 结束交易日
  6731. type: string
  6732. enumdicname:
  6733. description: 单位名称
  6734. type: string
  6735. floatpl:
  6736. description: 浮动损益
  6737. type: number
  6738. goodscode:
  6739. description: 交易合约代码
  6740. type: string
  6741. goodsgroupid:
  6742. description: 交易品种
  6743. type: integer
  6744. goodsgroupname:
  6745. description: 交易品种名称
  6746. type: string
  6747. goodsgroupspotqty:
  6748. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  6749. type: number
  6750. goodsid:
  6751. description: 交易合约
  6752. type: integer
  6753. goodsname:
  6754. description: 交易合约名称
  6755. type: string
  6756. goodunitid:
  6757. description: 交易合约单位id
  6758. type: integer
  6759. holdamount:
  6760. description: 期末持仓额
  6761. type: number
  6762. holdqty:
  6763. description: 期末持仓量
  6764. type: number
  6765. lastholdamount:
  6766. description: 当前持仓额
  6767. type: number
  6768. lastprice:
  6769. description: 最新价
  6770. type: number
  6771. middlegoodsid:
  6772. description: 套保品种id
  6773. type: integer
  6774. middlegoodsname:
  6775. description: 套保商品名称
  6776. type: string
  6777. middlegoodsqty:
  6778. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  6779. type: number
  6780. middlgoodscode:
  6781. description: 套保商品代码
  6782. type: string
  6783. openamount:
  6784. description: 期末开仓额
  6785. type: number
  6786. openavgprice:
  6787. description: 开仓均价
  6788. type: number
  6789. oriholdamount:
  6790. description: 期初持仓额
  6791. type: number
  6792. oriholdqty:
  6793. description: 期初持仓量
  6794. type: number
  6795. oriopenamount:
  6796. description: 期初开仓额
  6797. type: number
  6798. outergroupcode:
  6799. description: 交易品种代码
  6800. type: string
  6801. qtydecimalplace:
  6802. description: 成交量小数位
  6803. type: integer
  6804. reckondate:
  6805. description: 日照时期(yyyyMMdd)
  6806. type: string
  6807. reckonholdamount:
  6808. description: 结算持仓额
  6809. type: number
  6810. reckonpl:
  6811. description: 结算损益
  6812. type: number
  6813. reckonpl2:
  6814. description: 结算逐笔盈亏
  6815. type: number
  6816. reckonprice:
  6817. description: 结算价
  6818. type: number
  6819. relateduserid:
  6820. description: 账户关联用户ID
  6821. type: integer
  6822. todaycloseamount:
  6823. description: 今平仓额
  6824. type: number
  6825. todaycloseqty:
  6826. description: 今平仓量
  6827. type: number
  6828. todaygoodsgroupspotqty:
  6829. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  6830. type: number
  6831. todaymiddlegoodsqty:
  6832. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  6833. type: number
  6834. todayopenamount:
  6835. description: 今开仓额
  6836. type: number
  6837. todayopenqty:
  6838. description: 今开仓量
  6839. type: number
  6840. userid:
  6841. description: 账户所属用户ID
  6842. type: integer
  6843. type: object
  6844. models.Ermcp3TradeLinkDetail:
  6845. properties:
  6846. accountid:
  6847. description: 资金账号
  6848. type: integer
  6849. agreeunit:
  6850. description: 合约乘数
  6851. type: number
  6852. areauserid:
  6853. description: 所属机构
  6854. type: string
  6855. bizsubjectid:
  6856. description: 归属业务部门ID - SubjectID
  6857. type: string
  6858. buyorsell:
  6859. description: 方向 - 0:买 1:卖
  6860. type: integer
  6861. channelbuildtype:
  6862. description: 委托单据类型 0:无 1:建仓 2:平仓
  6863. type: integer
  6864. contractno:
  6865. description: 现货编号 (合同编号)
  6866. type: string
  6867. convertratio:
  6868. description: 折算系数
  6869. type: number
  6870. createtime:
  6871. description: 关联时间 | 创建时间
  6872. type: string
  6873. creatorid:
  6874. description: 创建人ID
  6875. type: string
  6876. creatorsrc:
  6877. description: 创建人来源 - 1:管理端 2:终端 3:交易
  6878. type: integer
  6879. enumdicname:
  6880. description: 单位名称
  6881. type: string
  6882. goodscode:
  6883. description: 合约代码
  6884. type: string
  6885. goodsgroupid:
  6886. description: 对冲品种ID[期货合约商品组ID]
  6887. type: integer
  6888. goodsid:
  6889. description: 商品ID
  6890. type: integer
  6891. goodsname:
  6892. description: 合约名称
  6893. type: string
  6894. hedgeflag:
  6895. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6896. type: integer
  6897. linkdetailid:
  6898. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  6899. type: string
  6900. linkstatus:
  6901. description: 关联状态 - 1:成功 2:失败 3:解绑
  6902. type: integer
  6903. middlegoodscode:
  6904. description: 套保品种代码
  6905. type: string
  6906. middlegoodsid:
  6907. description: 套保品种ID
  6908. type: integer
  6909. middlegoodsname:
  6910. description: 套保品种名称
  6911. type: string
  6912. relatedlot:
  6913. description: 关联手数
  6914. type: number
  6915. relatedmode:
  6916. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  6917. type: integer
  6918. relatedqty:
  6919. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  6920. type: number
  6921. retcode:
  6922. description: 返回码
  6923. type: integer
  6924. saleuserid:
  6925. description: 业务员ID
  6926. type: string
  6927. spotcontractid:
  6928. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  6929. type: string
  6930. taname:
  6931. description: 期货账户
  6932. type: string
  6933. tradedate:
  6934. description: 关联交易日(yyyyMMdd)
  6935. type: string
  6936. tradeid:
  6937. description: 期货订单号 | 内部成交单ID
  6938. type: string
  6939. tradelot:
  6940. description: 成交数量 | 成交手数
  6941. type: integer
  6942. tradeprice:
  6943. description: 成交价格
  6944. type: number
  6945. tradetime:
  6946. description: 期货成交时间
  6947. type: string
  6948. tradetradedate:
  6949. description: 成交交易日(yyyyMMdd)
  6950. type: string
  6951. username:
  6952. description: 用户名称
  6953. type: string
  6954. type: object
  6955. models.Ermcp3Wrstandard:
  6956. properties:
  6957. areauserid:
  6958. description: 所属机构
  6959. type: integer
  6960. cantrade:
  6961. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  6962. type: integer
  6963. convertfactor:
  6964. description: 标仓系数
  6965. type: number
  6966. createtime:
  6967. description: 创建时间
  6968. type: string
  6969. creatorid:
  6970. description: 创建人
  6971. type: integer
  6972. deliverygoodsid:
  6973. description: 现货品种ID
  6974. type: integer
  6975. enumdicname:
  6976. description: 品类单位名称
  6977. type: string
  6978. isvalid:
  6979. description: 是否有效 0-无效(停用) 1-有效(正常)
  6980. type: integer
  6981. minivalue:
  6982. description: 最小变动值
  6983. type: integer
  6984. minivaluedp:
  6985. description: 最小变动值小数位
  6986. type: integer
  6987. realminivalue:
  6988. description: 实际最小变动值
  6989. type: integer
  6990. realminivaluedp:
  6991. description: 实际最小变动值小数位
  6992. type: integer
  6993. remark:
  6994. description: 备注
  6995. type: string
  6996. unitid:
  6997. description: 品类单位ID
  6998. type: integer
  6999. updatetime:
  7000. description: 更新时间
  7001. type: string
  7002. wrstandardcode:
  7003. description: 品类代码
  7004. type: string
  7005. wrstandardid:
  7006. description: 品类ID(SEQ_WRSTANDARD)
  7007. type: integer
  7008. wrstandardname:
  7009. description: 品类名称
  7010. type: string
  7011. type: object
  7012. models.ErmcpBizGroupEx:
  7013. properties:
  7014. acclist:
  7015. description: 账号列表
  7016. items:
  7017. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  7018. type: array
  7019. bizgroupid:
  7020. description: 业务分组id
  7021. type: integer
  7022. biztype:
  7023. description: 业务类型 1-套保 2-套利
  7024. type: integer
  7025. wrlist:
  7026. description: 现货商品表
  7027. items:
  7028. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  7029. type: array
  7030. type: object
  7031. models.ErmcpBizGroupSpotGoods:
  7032. properties:
  7033. areauserid:
  7034. description: 所属机构id
  7035. type: integer
  7036. bizgroupid:
  7037. description: 分组id
  7038. type: integer
  7039. biztype:
  7040. description: 业务类型 1-套保 2-套利
  7041. type: integer
  7042. deliverygoodscode:
  7043. description: 现货商品代码
  7044. type: string
  7045. deliverygoodsid:
  7046. description: 现货商品id
  7047. type: integer
  7048. deliverygoodsname:
  7049. description: 现货商品名称
  7050. type: string
  7051. unitid:
  7052. description: 现货商品单位id
  7053. type: integer
  7054. type: object
  7055. models.ErmcpBizGroupTaAccount:
  7056. properties:
  7057. accountid:
  7058. description: 账号id
  7059. type: integer
  7060. accountname:
  7061. description: 账号名称
  7062. type: string
  7063. areauserid:
  7064. description: 所属机构id
  7065. type: integer
  7066. bizgroupid:
  7067. description: 业务分组id
  7068. type: integer
  7069. ismain:
  7070. description: 是否主账号 1-是 0-否
  7071. type: integer
  7072. type: object
  7073. models.ErmcpDGFactoryItem:
  7074. properties:
  7075. areauserid:
  7076. description: 用户id
  7077. type: integer
  7078. deliverygoodsid:
  7079. description: 现货品种ID
  7080. type: integer
  7081. dgfactoryitemid:
  7082. description: 选择项ID(SEQ_DGFACTORYITEM)
  7083. type: integer
  7084. dgfactoryitemtypeid:
  7085. description: 要素项类型
  7086. type: integer
  7087. dgfactoryitemvalue:
  7088. description: 要素项值(类型为仓库时填写仓库名称)
  7089. type: string
  7090. isvalid:
  7091. description: 是否有效 - 0:无效 1:有效
  7092. type: integer
  7093. orderindex:
  7094. description: 顺序
  7095. type: integer
  7096. warehouseid:
  7097. description: 仓库ID(类型为仓库时填写)
  7098. type: integer
  7099. type: object
  7100. models.ErmcpDeliveryGoods:
  7101. properties:
  7102. agreeunit:
  7103. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  7104. type: integer
  7105. areauserid:
  7106. description: 所属机构
  7107. type: integer
  7108. auditflag:
  7109. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  7110. type: integer
  7111. categoryid:
  7112. description: 类别ID(SEQ_WRCATEGORY)
  7113. type: integer
  7114. deliverygoodscode:
  7115. description: 现货品种代码
  7116. type: string
  7117. deliverygoodsid:
  7118. description: 现货品种ID(SEQ_DELIVERYGOODS)
  7119. type: integer
  7120. deliverygoodsname:
  7121. description: 现货品种名称
  7122. type: string
  7123. deliverygoodstype:
  7124. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  7125. type: integer
  7126. dgstatus:
  7127. description: 品种状态 - 作废 - 0:未激活 1:正常
  7128. type: integer
  7129. enumdicname:
  7130. description: 现货品种单位名称
  7131. type: string
  7132. goodsunitid:
  7133. description: 现货品种单位ID
  7134. type: integer
  7135. isvalid:
  7136. description: 是否有效 - 0:无效 1:有效
  7137. type: integer
  7138. qtydecimalplace:
  7139. description: 成交量小数位
  7140. type: integer
  7141. remark:
  7142. description: 备注
  7143. type: string
  7144. standardqty:
  7145. description: 标准数量(库位数量) [标准品特有]
  7146. type: integer
  7147. standardqtyrange:
  7148. description: 标准数量偏差范围 [标准品特有]
  7149. type: integer
  7150. type: object
  7151. models.ErmcpFuturesCompany:
  7152. properties:
  7153. brokerid:
  7154. description: 经纪公司代码
  7155. type: string
  7156. channeladdress:
  7157. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  7158. type: string
  7159. channelid:
  7160. description: 对冲渠道ID
  7161. type: string
  7162. createtime:
  7163. description: 创建时间
  7164. type: string
  7165. creatorid:
  7166. description: 创建人
  7167. type: string
  7168. fcid:
  7169. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  7170. type: integer
  7171. fcname:
  7172. description: 期货公司名称
  7173. type: string
  7174. isvalid:
  7175. description: 是否有效 - 0:无效 1:有效
  7176. type: integer
  7177. mhpaddress:
  7178. description: MHP服务地址(IP:Port)
  7179. type: string
  7180. riskrulegroupid:
  7181. description: 风控规则组ID
  7182. type: string
  7183. tradefeetmpid:
  7184. description: 手续费模板ID[TradeConfigTmpType为2]
  7185. type: string
  7186. trademargintmpid:
  7187. description: 保证金模板ID [TradeConfigTmpType为1]
  7188. type: string
  7189. traderatetmpid:
  7190. description: 汇率模板ID[TradeConfigTmpType为3]
  7191. type: string
  7192. updatetime:
  7193. description: 更新时间
  7194. type: string
  7195. updatorid:
  7196. description: 更新人
  7197. type: string
  7198. type: object
  7199. models.ErmcpGGConvertCfg:
  7200. properties:
  7201. convertratio:
  7202. description: 折算系数
  7203. type: number
  7204. destgoodsgroupid:
  7205. description: 目标品种ID
  7206. type: integer
  7207. dstcode:
  7208. description: 目录品种代码
  7209. type: string
  7210. dstexchangecode:
  7211. description: 目标期货交易所
  7212. type: string
  7213. dstname:
  7214. description: 目标品种名称
  7215. type: string
  7216. dstunitid:
  7217. description: 目标品种单位ID
  7218. type: integer
  7219. dstunitidname:
  7220. description: 目标品种单位名称
  7221. type: string
  7222. modifytime:
  7223. description: 修改时间
  7224. type: string
  7225. srccode:
  7226. description: 源品种代码
  7227. type: string
  7228. srcexchangecode:
  7229. description: 源期货交易所
  7230. type: string
  7231. srcgoodsgroupid:
  7232. description: 源品种ID
  7233. type: integer
  7234. srcname:
  7235. description: 源品种名称
  7236. type: string
  7237. srcunitid:
  7238. description: 源品种单位ID
  7239. type: integer
  7240. srcunitidname:
  7241. description: 源品种单位名称
  7242. type: string
  7243. type: object
  7244. models.ErmcpGoods:
  7245. properties:
  7246. agreeunit:
  7247. description: 合约单位
  7248. type: number
  7249. areauserid:
  7250. description: 所属机构
  7251. type: integer
  7252. auditaccountid:
  7253. description: 审核操作员账号
  7254. type: integer
  7255. audittime:
  7256. description: 审核时间
  7257. type: string
  7258. cancelaccountid:
  7259. description: 注销操作员账号
  7260. type: integer
  7261. canceltime:
  7262. description: 注销时间
  7263. type: string
  7264. closepricemode:
  7265. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7266. type: integer
  7267. closepriceparam:
  7268. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7269. type: number
  7270. createtime:
  7271. description: 创建时间
  7272. type: string
  7273. creatorid:
  7274. description: 创建人
  7275. type: integer
  7276. currencyid:
  7277. description: 报价货币ID
  7278. type: integer
  7279. cutmode:
  7280. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7281. type: integer
  7282. decimalplace:
  7283. description: 报价小数位
  7284. type: integer
  7285. delistingdate:
  7286. description: 商品退市时间(状态:退市) -- 已作废
  7287. type: string
  7288. delistingmode:
  7289. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7290. type: integer
  7291. deliveryflag:
  7292. description: 交割标志 - 0:不可交割 1:可交割
  7293. type: integer
  7294. enumdicname:
  7295. description: 单位名称
  7296. type: string
  7297. forceclosemode:
  7298. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7299. type: integer
  7300. forceclosevalue:
  7301. description: 定期强平参数 [收益权]
  7302. type: integer
  7303. goodscode:
  7304. description: 商品代码(内部)
  7305. type: string
  7306. goodscurrencyid:
  7307. description: 合约货币ID
  7308. type: integer
  7309. goodsgroupid:
  7310. description: 所属商品组ID
  7311. type: integer
  7312. goodsid:
  7313. description: 商品ID(自增ID SEQ_GOODS)
  7314. type: integer
  7315. goodsname:
  7316. description: 商品名称
  7317. type: string
  7318. goodsquotetype:
  7319. description: '合约报价类型: 1-直接报价 2-间接报价'
  7320. type: integer
  7321. goodsstatus:
  7322. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7323. type: integer
  7324. goodstradetype:
  7325. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7326. type: integer
  7327. goodunitid:
  7328. description: 报价单位ID
  7329. type: integer
  7330. hasquoter:
  7331. description: 是否有报价商 - 0:无报价商 1:有报价商
  7332. type: integer
  7333. hqprotecttime:
  7334. description: 行情保护时间(秒)
  7335. type: integer
  7336. innerdealmode:
  7337. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7338. type: integer
  7339. isbuylimited:
  7340. description: 是否限制建仓量 - 0:不限制 1:限制
  7341. type: integer
  7342. isvisible:
  7343. description: 游客是否可见 - 0:不可见 1:可见
  7344. type: integer
  7345. lasttradedate:
  7346. description: 最后交易日期(状态:待退市)
  7347. type: string
  7348. listingdate:
  7349. description: 交易开始日期
  7350. type: string
  7351. marketid:
  7352. description: 所属市场ID
  7353. type: integer
  7354. modifierid:
  7355. description: 修改人
  7356. type: integer
  7357. modifystatus:
  7358. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7359. type: integer
  7360. modifytime:
  7361. description: 修改时间
  7362. type: string
  7363. outerdealmode:
  7364. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7365. type: integer
  7366. outgoodscode:
  7367. description: 商品代码(外部)
  7368. type: string
  7369. pictureurl:
  7370. description: 商品图片
  7371. type: string
  7372. qtydecimalplace:
  7373. description: 成交量小数位
  7374. type: integer
  7375. quotegear:
  7376. description: 行情档位(1-10)
  7377. type: integer
  7378. quoteminunit:
  7379. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7380. type: integer
  7381. quoteshowtype:
  7382. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7383. type: integer
  7384. quoteshowtypeinterval:
  7385. description: 行情报价间隔时间(秒)(成交价时为0)
  7386. type: integer
  7387. relatedgoodsid:
  7388. description: 关联参考商品ID
  7389. type: integer
  7390. remark:
  7391. description: 备注
  7392. type: string
  7393. trademode:
  7394. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  7395. type: integer
  7396. required:
  7397. - goodscode
  7398. - goodsid
  7399. - goodsname
  7400. - marketid
  7401. type: object
  7402. models.ErmcpGoodsBrand:
  7403. properties:
  7404. areauserid:
  7405. description: 所属机构
  7406. type: integer
  7407. brandid:
  7408. description: BrandID(SEQ_SPOTGOODSBRAND)
  7409. type: integer
  7410. brandname:
  7411. description: 品牌名称
  7412. type: string
  7413. createtime:
  7414. description: 创建时间
  7415. type: string
  7416. creatorid:
  7417. description: 创建人
  7418. type: integer
  7419. creatorsrc:
  7420. description: 创建人来源 - 1:管理端 2:终端
  7421. type: integer
  7422. deliverygoodsid:
  7423. description: 现货品种ID
  7424. type: integer
  7425. isvalid:
  7426. description: 是否有效 - 0:无效 1:有效
  7427. type: integer
  7428. updatetime:
  7429. description: 更新时间
  7430. type: string
  7431. updatorid:
  7432. description: 更新人
  7433. type: integer
  7434. updatorsrc:
  7435. description: 更新人来源 - 1:管理端 2:终端
  7436. type: integer
  7437. wrstandardid:
  7438. description: 现货商品ID
  7439. type: integer
  7440. type: object
  7441. models.ErmcpGoodsModel:
  7442. properties:
  7443. areauserid:
  7444. description: 所属机构
  7445. type: integer
  7446. convertfactor:
  7447. description: 标仓系数
  7448. type: number
  7449. createtime:
  7450. description: 创建时间
  7451. type: string
  7452. creatorid:
  7453. description: 创建人
  7454. type: integer
  7455. creatorsrc:
  7456. description: 创建人来源 - 1:管理端 2:终端
  7457. type: integer
  7458. deliverygoodsid:
  7459. description: 现货品种ID
  7460. type: integer
  7461. isvalid:
  7462. description: 是否有效 - 0:无效 1:有效
  7463. type: integer
  7464. modelid:
  7465. description: ModelID(SEQ_SPOTGOODSMODEL)
  7466. type: integer
  7467. modelname:
  7468. description: 型号名称
  7469. type: string
  7470. updatetime:
  7471. description: 更新时间
  7472. type: string
  7473. updatorid:
  7474. description: 更新人
  7475. type: integer
  7476. updatorsrc:
  7477. description: 更新人来源 - 1:管理端 2:终端
  7478. type: integer
  7479. wrstandardid:
  7480. description: 现货商品ID
  7481. type: integer
  7482. type: object
  7483. models.ErmcpHisExposure:
  7484. properties:
  7485. needhedgeexposoure:
  7486. description: 应套保敞口
  7487. type: number
  7488. reckondate:
  7489. description: 日照时期(yyyyMMdd)
  7490. type: string
  7491. totalexposure:
  7492. description: 总敞口
  7493. type: number
  7494. type: object
  7495. models.ErmcpLoginTaAccount:
  7496. properties:
  7497. accountid:
  7498. description: 账号id
  7499. type: integer
  7500. accountname:
  7501. description: 账号名称
  7502. type: string
  7503. type: object
  7504. models.ErmcpLoginUser:
  7505. properties:
  7506. acclist:
  7507. description: 关联资金账号
  7508. items:
  7509. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  7510. type: array
  7511. accountname:
  7512. description: 用户名称
  7513. type: string
  7514. clientroleid:
  7515. description: 角色id(usertype=2)
  7516. type: integer
  7517. createtime:
  7518. description: 创建时间
  7519. type: string
  7520. logincode:
  7521. description: 登录代码
  7522. type: string
  7523. loginid:
  7524. description: 登录id(LOGINID)
  7525. type: integer
  7526. loginname:
  7527. description: 登录名称(loginaccount表中的accountname字段)
  7528. type: string
  7529. loginstatus:
  7530. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  7531. type: integer
  7532. memberuserid:
  7533. description: 所属会员id
  7534. type: integer
  7535. mobile:
  7536. description: 手机号
  7537. type: string
  7538. modifytime:
  7539. description: 修改时间
  7540. type: string
  7541. password:
  7542. description: 密码(不可解密)
  7543. type: string
  7544. rolename:
  7545. description: 角色名称
  7546. type: string
  7547. rolestatus:
  7548. description: 角色状态 1-启用 2-停用
  7549. type: integer
  7550. roletype:
  7551. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  7552. type: string
  7553. userid:
  7554. description: 用户id
  7555. type: integer
  7556. usertype:
  7557. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  7558. type: integer
  7559. type: object
  7560. models.ErmcpLoginUserEx:
  7561. properties:
  7562. accountstatus:
  7563. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  7564. type: integer
  7565. mobile:
  7566. description: 手机号
  7567. type: string
  7568. querytype:
  7569. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  7570. type: integer
  7571. roleid:
  7572. description: 角色id(交易账户->用户id)
  7573. type: integer
  7574. rolename:
  7575. description: 角色名称(交易账户->用户名称)
  7576. type: string
  7577. userlist:
  7578. description: 用户列表
  7579. items:
  7580. $ref: '#/definitions/models.ErmcpLoginUser'
  7581. type: array
  7582. usertype:
  7583. description: 用户类型 2-机构 7-企业成员(云平台)
  7584. type: integer
  7585. type: object
  7586. models.ErmcpMiddleGoodsModel:
  7587. properties:
  7588. areauserid:
  7589. description: 机构用户ID
  7590. type: integer
  7591. createtime:
  7592. description: 修改时间
  7593. type: string
  7594. enumdicname:
  7595. description: 单位名称
  7596. type: string
  7597. evaluateratio:
  7598. description: 估价系数
  7599. type: number
  7600. goodsgroupid:
  7601. description: 关联期货品种ID
  7602. type: integer
  7603. goodsunitid:
  7604. description: 单位ID
  7605. type: integer
  7606. isvalid:
  7607. description: 状态 0-无效(停用) 1-有效(正常)
  7608. type: integer
  7609. middlegoodscode:
  7610. description: 套保品种代码
  7611. type: string
  7612. middlegoodsid:
  7613. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  7614. type: integer
  7615. middlegoodsname:
  7616. description: 套保品种名称
  7617. type: string
  7618. modifytime:
  7619. description: 修改时间
  7620. type: string
  7621. needarbitrageratio:
  7622. description: 套利比例
  7623. type: number
  7624. needhedgeratio:
  7625. description: 套保比率
  7626. type: number
  7627. qtydecimalplace:
  7628. description: 数量小数位
  7629. type: integer
  7630. relatedgoodsid:
  7631. description: 关联交易商品ID
  7632. type: integer
  7633. relatedgoodstype:
  7634. description: 关联商品类型 - 1:期货合约 2:现货品种
  7635. type: integer
  7636. remark:
  7637. description: 备注
  7638. type: string
  7639. type: object
  7640. models.ErmcpMiddlegoodsRelateGoods:
  7641. properties:
  7642. agreeunit:
  7643. description: 合约乘数
  7644. type: number
  7645. convertratio:
  7646. description: 折算系数
  7647. type: number
  7648. enumdicname:
  7649. description: 单位名称(交易商品)
  7650. type: string
  7651. goodscode:
  7652. description: 交易商品代码
  7653. type: string
  7654. goodsgroupid:
  7655. description: 交易品种id
  7656. type: integer
  7657. goodsid:
  7658. description: 商品Id
  7659. type: integer
  7660. goodsname:
  7661. description: 交易商品名称
  7662. type: string
  7663. goodunitid:
  7664. description: 交易商品单位id
  7665. type: integer
  7666. middlegoodsid:
  7667. description: 套保商品id
  7668. type: integer
  7669. middlegoodsname:
  7670. description: 套保商品名称
  7671. type: string
  7672. middlegoodsswcode:
  7673. description: 套保商品代码
  7674. type: string
  7675. needarbitrageratio:
  7676. description: 应套利比例
  7677. type: number
  7678. needhedgeratio:
  7679. description: 应套保比例
  7680. type: number
  7681. type: object
  7682. models.ErmcpRole:
  7683. properties:
  7684. areauserid:
  7685. description: 所属机构
  7686. type: integer
  7687. autoid:
  7688. description: 角色ID(自增ID)
  7689. type: integer
  7690. modifierid:
  7691. description: 修改人(创建人)
  7692. type: integer
  7693. modifiername:
  7694. description: 修改人名称
  7695. type: string
  7696. modifytime:
  7697. description: 修改时间(创建时间)
  7698. type: string
  7699. rolename:
  7700. description: 角色名称
  7701. type: string
  7702. rolestatus:
  7703. description: 角色状态 - 1:启用 2:停用
  7704. type: integer
  7705. roletype:
  7706. description: 角色类型 - 1- 管理端 2- 交易端
  7707. type: integer
  7708. type: object
  7709. models.ErmcpRoleMenu:
  7710. properties:
  7711. iconame:
  7712. description: 菜单图标
  7713. type: string
  7714. ishadrole:
  7715. description: 是否有权限
  7716. type: boolean
  7717. menutype:
  7718. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)
  7719. type: integer
  7720. parentcode:
  7721. description: 上级资源代码
  7722. type: string
  7723. remark:
  7724. description: 菜单备注
  7725. type: string
  7726. resourcecode:
  7727. description: 菜单代码
  7728. type: string
  7729. resourcelevel:
  7730. description: 级别
  7731. type: integer
  7732. resourcename:
  7733. description: 菜单名称
  7734. type: string
  7735. roleid:
  7736. description: 角色id
  7737. type: integer
  7738. sort:
  7739. description: 排序
  7740. type: integer
  7741. url:
  7742. description: URL
  7743. type: string
  7744. userid:
  7745. description: 用户id
  7746. type: integer
  7747. type: object
  7748. models.ErmcpRoleMenuEx:
  7749. properties:
  7750. menu:
  7751. $ref: '#/definitions/models.ErmcpRoleMenu'
  7752. description: 父级菜单
  7753. subMenu:
  7754. description: 子级菜单
  7755. items:
  7756. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  7757. type: array
  7758. type: object
  7759. models.ErmcpTaAccount:
  7760. properties:
  7761. accountid:
  7762. description: 账户id
  7763. type: integer
  7764. accountname:
  7765. description: 账户名称
  7766. type: string
  7767. currencyid:
  7768. description: 币种id
  7769. type: integer
  7770. hedgeaccountcode:
  7771. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7772. type: string
  7773. ismain:
  7774. description: 是否主账户 0-否 1-是
  7775. type: integer
  7776. parentaccountid:
  7777. description: 父账户id
  7778. type: integer
  7779. relateduserid:
  7780. description: 关联userid
  7781. type: integer
  7782. tradefeetmpid:
  7783. description: 手续费模板id
  7784. type: integer
  7785. tradefeetmpname:
  7786. description: 手续费模板名称
  7787. type: string
  7788. trademargintmpid:
  7789. description: 保证金模板id
  7790. type: integer
  7791. trademargintmpname:
  7792. description: 保证金模板名称
  7793. type: string
  7794. traderatetmpid:
  7795. description: 汇率模板id
  7796. type: integer
  7797. traderatetmpname:
  7798. description: 汇率模板名称
  7799. type: string
  7800. tradestatus:
  7801. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7802. type: integer
  7803. userid:
  7804. description: 用户id
  7805. type: integer
  7806. type: object
  7807. models.ErmcpTaAccountEx:
  7808. properties:
  7809. mainAcc:
  7810. $ref: '#/definitions/models.ErmcpTaAccountM'
  7811. description: 主账号
  7812. subacclist:
  7813. description: 子账号列表
  7814. items:
  7815. $ref: '#/definitions/models.ErmcpTaAccount'
  7816. type: array
  7817. type: object
  7818. models.ErmcpTaAccountInfo:
  7819. properties:
  7820. accountid:
  7821. description: 资金账户ID
  7822. type: integer
  7823. accountname:
  7824. description: 账户名称
  7825. type: string
  7826. balance:
  7827. description: 期初余额
  7828. type: number
  7829. capitalbalance:
  7830. description: 本金余额[外部子账户实际出入金余额]
  7831. type: number
  7832. closepl:
  7833. description: 今日平仓盈亏
  7834. type: number
  7835. creditdecrease:
  7836. description: 今日授信减少
  7837. type: number
  7838. creditincrease:
  7839. description: 今日授信增加
  7840. type: number
  7841. curdebt:
  7842. description: 期末欠款
  7843. type: number
  7844. currencyid:
  7845. description: 货币ID
  7846. type: integer
  7847. currentbalance:
  7848. description: 期末余额
  7849. type: number
  7850. freezecharge:
  7851. description: 手续费冻结
  7852. type: number
  7853. freezemargin:
  7854. description: 冻结保证金
  7855. type: number
  7856. fromaccountid:
  7857. description: 所属上级账户
  7858. type: integer
  7859. inamount:
  7860. description: 今日入金金额(包括三方入金)
  7861. type: number
  7862. ismain:
  7863. description: 是否母账号 0:不是母账户 1:是母账户
  7864. type: integer
  7865. mortgagecredit:
  7866. description: 授信金额
  7867. type: number
  7868. oridebt:
  7869. description: 期初欠款
  7870. type: number
  7871. orifreezecharge:
  7872. description: 期初手续费冻结
  7873. type: number
  7874. orifreezemargin:
  7875. description: 期初冻结保证金
  7876. type: number
  7877. orimortgagecredit:
  7878. description: 期初授信金额
  7879. type: number
  7880. oriothercredit:
  7881. description: 期初其它授信金额
  7882. type: number
  7883. oriotherfreezemargin:
  7884. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  7885. type: number
  7886. orioutamountfreeze:
  7887. description: 期初出金冻结
  7888. type: number
  7889. oriusedmargin:
  7890. description: 期初占用保证金
  7891. type: number
  7892. othercredit:
  7893. description: 其它授信金额
  7894. type: number
  7895. othercreditdecrease:
  7896. description: 今日其它授信减少
  7897. type: number
  7898. othercreditincrease:
  7899. description: 今日其它授信增加
  7900. type: number
  7901. otherfreezemargin:
  7902. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  7903. type: number
  7904. outamount:
  7905. description: 今日出金金额(包括三方出金)
  7906. type: number
  7907. outamountfreeze:
  7908. description: 出金冻结
  7909. type: number
  7910. outthreshold:
  7911. description: 出金阈值
  7912. type: number
  7913. parentaccountid:
  7914. description: 所属根账号
  7915. type: integer
  7916. paycharge:
  7917. description: 今日手续费支出
  7918. type: number
  7919. relateduserid:
  7920. description: 关联用户
  7921. type: integer
  7922. signstatus:
  7923. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  7924. type: integer
  7925. sublevelpath:
  7926. description: 账号层级路径(逗号分隔,首尾加逗号)
  7927. type: string
  7928. taaccounttype:
  7929. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  7930. type: integer
  7931. thirdinamount:
  7932. description: 今日三方入金
  7933. type: number
  7934. thirdoutamount:
  7935. description: 今日三方出金
  7936. type: number
  7937. tradestatus:
  7938. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7939. type: integer
  7940. transferamount:
  7941. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  7942. type: number
  7943. usedmargin:
  7944. description: 占用保证金
  7945. type: number
  7946. userid:
  7947. description: 用户ID
  7948. type: integer
  7949. type: object
  7950. models.ErmcpTaAccountM:
  7951. properties:
  7952. accountid:
  7953. description: 账户id
  7954. type: integer
  7955. accountname:
  7956. description: 账户名称
  7957. type: string
  7958. currencyid:
  7959. description: 币种id
  7960. type: integer
  7961. fcid:
  7962. description: 期货公司id
  7963. type: integer
  7964. fcname:
  7965. description: 期货公司代码
  7966. type: string
  7967. hedgeaccountcode:
  7968. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7969. type: string
  7970. ismain:
  7971. description: 是否主账户 0-否 1-是
  7972. type: integer
  7973. parentaccountid:
  7974. description: 父账户id
  7975. type: integer
  7976. relateduserid:
  7977. description: 关联userid
  7978. type: integer
  7979. tradefeetmpid:
  7980. description: 手续费模板id
  7981. type: integer
  7982. tradefeetmpname:
  7983. description: 手续费模板名称
  7984. type: string
  7985. trademargintmpid:
  7986. description: 保证金模板id
  7987. type: integer
  7988. trademargintmpname:
  7989. description: 保证金模板名称
  7990. type: string
  7991. traderatetmpid:
  7992. description: 汇率模板id
  7993. type: integer
  7994. traderatetmpname:
  7995. description: 汇率模板名称
  7996. type: string
  7997. tradestatus:
  7998. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7999. type: integer
  8000. userid:
  8001. description: 用户id
  8002. type: integer
  8003. type: object
  8004. models.ErmcpTradeConfigTMP:
  8005. properties:
  8006. areauserid:
  8007. description: 所属机构
  8008. type: integer
  8009. basiccurrencyid:
  8010. description: 基本币种ID[汇率] - 目标币种
  8011. type: integer
  8012. mainaccountid:
  8013. description: 主账户ID
  8014. type: integer
  8015. modifierid:
  8016. description: 修改人
  8017. type: integer
  8018. remark:
  8019. description: 备注
  8020. type: string
  8021. tradeconfigtmpid:
  8022. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  8023. type: integer
  8024. tradeconfigtmpname:
  8025. description: 交易配置模板名称
  8026. type: string
  8027. tradeconfigtmptype:
  8028. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  8029. type: integer
  8030. updatetime:
  8031. description: 更新时间
  8032. type: string
  8033. type: object
  8034. models.Externalexchange:
  8035. properties:
  8036. autoid:
  8037. description: AutoID - SEQ_EXTERNALEXCHANGE
  8038. type: integer
  8039. exchangefullname:
  8040. description: 外部交易所全称
  8041. type: string
  8042. exexchangecode:
  8043. description: 外部交易所代码
  8044. type: string
  8045. exexchangename:
  8046. description: 外部交易所名称(简称)
  8047. type: string
  8048. ismarketprice:
  8049. description: 是否支持市价 - 0:不支持 1:支持
  8050. type: integer
  8051. quotegear:
  8052. description: 行情档位(1-10)
  8053. type: integer
  8054. showbrokerflag:
  8055. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  8056. type: integer
  8057. updatetime:
  8058. description: 更新时间
  8059. type: string
  8060. required:
  8061. - autoid
  8062. type: object
  8063. models.Funcmenulist:
  8064. properties:
  8065. iconame:
  8066. description: 菜单图标
  8067. type: string
  8068. menutype:
  8069. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  8070. type: integer
  8071. parentcode:
  8072. description: 上级资源代码
  8073. type: string
  8074. remark:
  8075. description: 备注
  8076. type: string
  8077. resourcecode:
  8078. description: 资源代码
  8079. type: string
  8080. resourcelevel:
  8081. description: 级别 1-一级 2-二级 3-三级 4-四级
  8082. type: integer
  8083. resourcename:
  8084. description: 资源名
  8085. type: string
  8086. sort:
  8087. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  8088. type: integer
  8089. url:
  8090. description: URL
  8091. type: string
  8092. required:
  8093. - resourcecode
  8094. type: object
  8095. models.Goods:
  8096. properties:
  8097. agreeunit:
  8098. description: 合约单位
  8099. type: number
  8100. areauserid:
  8101. description: 所属机构
  8102. type: integer
  8103. auditaccountid:
  8104. description: 审核操作员账号
  8105. type: integer
  8106. audittime:
  8107. description: 审核时间
  8108. type: string
  8109. cancelaccountid:
  8110. description: 注销操作员账号
  8111. type: integer
  8112. canceltime:
  8113. description: 注销时间
  8114. type: string
  8115. closepricemode:
  8116. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8117. type: integer
  8118. closepriceparam:
  8119. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8120. type: number
  8121. createtime:
  8122. description: 创建时间
  8123. type: string
  8124. creatorid:
  8125. description: 创建人
  8126. type: integer
  8127. currencyid:
  8128. description: 报价货币ID
  8129. type: integer
  8130. cutmode:
  8131. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8132. type: integer
  8133. decimalplace:
  8134. description: 报价小数位
  8135. type: integer
  8136. delistingdate:
  8137. description: 商品退市时间(状态:退市) -- 已作废
  8138. type: string
  8139. delistingmode:
  8140. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8141. type: integer
  8142. deliveryflag:
  8143. description: 交割标志 - 0:不可交割 1:可交割
  8144. type: integer
  8145. forceclosemode:
  8146. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8147. type: integer
  8148. forceclosevalue:
  8149. description: 定期强平参数 [收益权]
  8150. type: integer
  8151. goodscode:
  8152. description: 商品代码(内部)
  8153. type: string
  8154. goodscurrencyid:
  8155. description: 合约货币ID
  8156. type: integer
  8157. goodsgroupid:
  8158. description: 所属商品组ID
  8159. type: integer
  8160. goodsid:
  8161. description: 商品ID(自增ID SEQ_GOODS)
  8162. type: integer
  8163. goodsname:
  8164. description: 商品名称
  8165. type: string
  8166. goodsquotetype:
  8167. description: '合约报价类型: 1-直接报价 2-间接报价'
  8168. type: integer
  8169. goodsstatus:
  8170. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8171. type: integer
  8172. goodstradetype:
  8173. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8174. type: integer
  8175. goodunitid:
  8176. description: 报价单位ID
  8177. type: integer
  8178. hasquoter:
  8179. description: 是否有报价商 - 0:无报价商 1:有报价商
  8180. type: integer
  8181. hqprotecttime:
  8182. description: 行情保护时间(秒)
  8183. type: integer
  8184. innerdealmode:
  8185. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8186. type: integer
  8187. isbuylimited:
  8188. description: 是否限制建仓量 - 0:不限制 1:限制
  8189. type: integer
  8190. isvisible:
  8191. description: 游客是否可见 - 0:不可见 1:可见
  8192. type: integer
  8193. lasttradedate:
  8194. description: 最后交易日期(状态:待退市)
  8195. type: string
  8196. listingdate:
  8197. description: 交易开始日期
  8198. type: string
  8199. marketid:
  8200. description: 所属市场ID
  8201. type: integer
  8202. modifierid:
  8203. description: 修改人
  8204. type: integer
  8205. modifystatus:
  8206. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8207. type: integer
  8208. modifytime:
  8209. description: 修改时间
  8210. type: string
  8211. outerdealmode:
  8212. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8213. type: integer
  8214. outgoodscode:
  8215. description: 商品代码(外部)
  8216. type: string
  8217. pictureurl:
  8218. description: 商品图片
  8219. type: string
  8220. qtydecimalplace:
  8221. description: 成交量小数位
  8222. type: integer
  8223. quotegear:
  8224. description: 行情档位(1-10)
  8225. type: integer
  8226. quoteminunit:
  8227. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8228. type: integer
  8229. quoteshowtype:
  8230. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8231. type: integer
  8232. quoteshowtypeinterval:
  8233. description: 行情报价间隔时间(秒)(成交价时为0)
  8234. type: integer
  8235. remark:
  8236. description: 备注
  8237. type: string
  8238. required:
  8239. - goodscode
  8240. - goodsid
  8241. - goodsname
  8242. - marketid
  8243. type: object
  8244. models.GoodsIDAndName:
  8245. properties:
  8246. goodscode:
  8247. description: 商品代码(内部)
  8248. type: string
  8249. goodsid:
  8250. description: 商品ID(自增ID SEQ_GOODS)
  8251. type: integer
  8252. goodsname:
  8253. description: 商品名称
  8254. type: string
  8255. marketid:
  8256. description: 所属市场ID
  8257. type: integer
  8258. required:
  8259. - goodscode
  8260. - goodsid
  8261. - goodsname
  8262. - marketid
  8263. type: object
  8264. models.Goodsgroup:
  8265. properties:
  8266. agreeunit:
  8267. description: 合约单位
  8268. type: number
  8269. canshort:
  8270. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  8271. type: integer
  8272. closepricemode:
  8273. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8274. type: integer
  8275. closepriceparam:
  8276. description: 强平最新价浮动比例 - 方式为2时使用
  8277. type: number
  8278. createtime:
  8279. description: 创建时间
  8280. type: string
  8281. creatorid:
  8282. description: 创建人
  8283. type: integer
  8284. currencyid:
  8285. description: 报价货币ID
  8286. type: integer
  8287. decimalplace:
  8288. description: 报价小数位
  8289. type: integer
  8290. exercisetype:
  8291. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  8292. type: integer
  8293. exexchangeid:
  8294. description: 外部交易所ID[通道交易]
  8295. type: integer
  8296. goodsgroupid:
  8297. description: 商品组ID(自增ID)
  8298. type: integer
  8299. goodsgroupname:
  8300. description: 商品组名称
  8301. type: string
  8302. goodsgroupstatus:
  8303. description: 商品组状态 - 1:正常 2:注销
  8304. type: integer
  8305. goodunitid:
  8306. description: 报价单位ID
  8307. type: integer
  8308. innerdealmode:
  8309. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8310. type: integer
  8311. isbuylimited:
  8312. description: 是否限制建仓量 - 0:不限制 1:限制
  8313. type: integer
  8314. marketid:
  8315. description: 所属市场ID
  8316. type: integer
  8317. modifierid:
  8318. description: 修改人
  8319. type: integer
  8320. modifytime:
  8321. description: 修改时间
  8322. type: string
  8323. outerdealmode:
  8324. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8325. type: integer
  8326. outergroupcode:
  8327. description: 外部商品组代码[通道交易]
  8328. type: string
  8329. premiumdecimalplace:
  8330. description: 权利金小数位[场外期权]
  8331. type: integer
  8332. premiumspreadalgorithm:
  8333. description: 权利金点差方式[场外期权] 1:比率 2:固定
  8334. type: integer
  8335. premiumspreadvalue:
  8336. description: 权利金点差值[场外期权]
  8337. type: number
  8338. qtydecimalplace:
  8339. description: 成交量小数位
  8340. type: integer
  8341. quotegear:
  8342. description: 行情档位(1-10)
  8343. type: integer
  8344. quoteminunit:
  8345. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8346. type: integer
  8347. quoterid:
  8348. description: 报价商ID[场外期权]
  8349. type: integer
  8350. quotesourcegroupid:
  8351. description: 所属行情源分组ID[参考行情市场用\通道交易]
  8352. type: integer
  8353. syncgoodsqty:
  8354. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  8355. type: integer
  8356. required:
  8357. - goodsgroupid
  8358. - goodsgroupname
  8359. - goodsgroupstatus
  8360. - marketid
  8361. type: object
  8362. models.Goodssortbypreposition:
  8363. properties:
  8364. goodscode:
  8365. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  8366. type: string
  8367. goodsgroupcode:
  8368. description: 品种代码
  8369. type: string
  8370. prepositionqty:
  8371. description: 昨持仓量
  8372. type: integer
  8373. sortindex:
  8374. description: 排序
  8375. type: integer
  8376. tradedate:
  8377. description: 交易日
  8378. type: string
  8379. updatetime:
  8380. description: 更新时间
  8381. type: string
  8382. required:
  8383. - goodscode
  8384. - tradedate
  8385. type: object
  8386. models.Hedgeinnerholderdetail:
  8387. properties:
  8388. accountid:
  8389. description: 账号ID
  8390. type: integer
  8391. buyorsell:
  8392. description: 方向 - 0:买 1:卖
  8393. type: integer
  8394. freezeqty:
  8395. description: 冻结数量 - 按单平使用
  8396. type: integer
  8397. goodsid:
  8398. description: 商品ID
  8399. type: integer
  8400. holderamount:
  8401. description: 持仓金额 [商品币种]
  8402. type: number
  8403. holderdays:
  8404. description: 剩余冻结天数
  8405. type: integer
  8406. holderprice:
  8407. description: 持仓价格
  8408. type: number
  8409. holderqty:
  8410. description: 持仓数量
  8411. type: integer
  8412. marketid:
  8413. description: 市场ID
  8414. type: integer
  8415. openprice:
  8416. description: 建仓价格
  8417. type: number
  8418. openqty:
  8419. description: 建仓数量
  8420. type: integer
  8421. parentaccountid:
  8422. description: 所属母账户
  8423. type: integer
  8424. releaseamount:
  8425. description: 释放持仓金额[商品币种]
  8426. type: number
  8427. tradeamount:
  8428. description: 成交金额[账户]
  8429. type: number
  8430. tradedate:
  8431. description: 交易日(yyyyMMdd)
  8432. type: string
  8433. tradeid:
  8434. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8435. type: string
  8436. tradetime:
  8437. description: 交易时间
  8438. type: string
  8439. required:
  8440. - buyorsell
  8441. - tradeid
  8442. type: object
  8443. models.Hedgemarketopenlog:
  8444. properties:
  8445. accountid:
  8446. description: 资金账号[外部母账户]
  8447. type: integer
  8448. fcname:
  8449. description: 期货公司名称
  8450. type: string
  8451. handlestatus:
  8452. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  8453. type: integer
  8454. marketid:
  8455. description: 市场ID
  8456. type: integer
  8457. status:
  8458. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  8459. type: integer
  8460. tradedate:
  8461. description: 交易日(yyyyMMdd)
  8462. type: string
  8463. updatetime:
  8464. description: 更新时间
  8465. type: string
  8466. required:
  8467. - accountid
  8468. type: object
  8469. models.HsbyBuyMyPayOrder:
  8470. properties:
  8471. agreeunit:
  8472. description: 合约单位
  8473. type: number
  8474. buyaccountid:
  8475. description: 买方账号ID[报价币种]
  8476. type: integer
  8477. buyorderid:
  8478. description: 买方委托单号
  8479. type: string
  8480. createtime:
  8481. description: 创建时间
  8482. type: string
  8483. currencysign:
  8484. description: 货币符号
  8485. type: string
  8486. decimalplace:
  8487. description: 报价小数位
  8488. type: integer
  8489. goodscode:
  8490. description: 商品代码(内部)
  8491. type: string
  8492. goodsid:
  8493. description: 商品ID
  8494. type: integer
  8495. goodsname:
  8496. description: 商品名称
  8497. type: string
  8498. marketid:
  8499. description: 市场ID
  8500. type: integer
  8501. offamount:
  8502. description: 优惠金额
  8503. type: number
  8504. originalamount:
  8505. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  8506. type: number
  8507. payamount:
  8508. description: 支付金额 = TradeAmount + TradeCharge
  8509. type: number
  8510. payflag:
  8511. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8512. type: integer
  8513. paylimitedtime:
  8514. description: 支付期限
  8515. type: string
  8516. paytime:
  8517. description: 付款时间
  8518. type: string
  8519. picurls1:
  8520. description: 预售商品介绍图片[多张用逗号分隔]
  8521. type: string
  8522. picurls2:
  8523. description: 挂牌商品介绍图片[多张用逗号分隔]
  8524. type: string
  8525. sellaccountid:
  8526. description: 卖方账号ID[报价币种]
  8527. type: integer
  8528. sellorderid:
  8529. description: 卖方委托单号
  8530. type: string
  8531. tradeamount:
  8532. description: 成交金额
  8533. type: number
  8534. tradecharge:
  8535. description: 成交手续费(买方)
  8536. type: number
  8537. tradedate:
  8538. description: 交易日(yyyyMMdd)
  8539. type: string
  8540. tradeid:
  8541. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8542. type: string
  8543. trademode:
  8544. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8545. type: integer
  8546. tradeprice:
  8547. description: 成交价格
  8548. type: number
  8549. tradeqty:
  8550. description: 成交数量
  8551. type: integer
  8552. vendorname1:
  8553. description: 预售商品供应商名称
  8554. type: string
  8555. vendorname2:
  8556. description: 挂牌商品供应商名称
  8557. type: string
  8558. required:
  8559. - goodscode
  8560. - goodsname
  8561. - tradeid
  8562. - trademode
  8563. type: object
  8564. models.HsbyBuyMyTradeDetail:
  8565. properties:
  8566. accountid:
  8567. description: 账户ID[报价币种]
  8568. type: integer
  8569. agreeunit:
  8570. description: 合约单位
  8571. type: number
  8572. amount:
  8573. description: 金额 = 价格 * 数量 * 合约单位
  8574. type: number
  8575. buyorsell:
  8576. description: 买卖 - 0:买 1:卖
  8577. type: integer
  8578. currencysign:
  8579. description: 货币符号
  8580. type: string
  8581. decimalplace:
  8582. description: 报价小数位
  8583. type: integer
  8584. goodscode:
  8585. description: 商品代码(内部)
  8586. type: string
  8587. goodsid:
  8588. description: 商品ID
  8589. type: integer
  8590. goodsname:
  8591. description: 商品名称
  8592. type: string
  8593. marketid:
  8594. description: 市场ID
  8595. type: integer
  8596. orderamount:
  8597. description: 委托金额
  8598. type: number
  8599. orderid:
  8600. description: 单号(成交单号)
  8601. type: string
  8602. picurls1:
  8603. description: 预售商品介绍图片[多张用逗号分隔]
  8604. type: string
  8605. picurls2:
  8606. description: 挂牌商品介绍图片[多张用逗号分隔]
  8607. type: string
  8608. price:
  8609. description: 价格
  8610. type: number
  8611. qty:
  8612. description: 数量
  8613. type: integer
  8614. time:
  8615. description: 时间
  8616. type: string
  8617. trademode:
  8618. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8619. type: integer
  8620. vendorname1:
  8621. description: 预售商品供应商名称
  8622. type: string
  8623. vendorname2:
  8624. description: 挂牌商品供应商名称
  8625. type: string
  8626. required:
  8627. - accountid
  8628. - buyorsell
  8629. - goodscode
  8630. - goodsid
  8631. - goodsname
  8632. - marketid
  8633. - orderid
  8634. - qty
  8635. - time
  8636. - trademode
  8637. type: object
  8638. models.HsbyGoodsOrderDetail:
  8639. properties:
  8640. buyorsell:
  8641. description: 买卖 - 0:买 1:卖
  8642. type: integer
  8643. currencysign:
  8644. description: 货币符号
  8645. type: string
  8646. customername:
  8647. description: 客户名称(企业名称),已脱敏
  8648. type: string
  8649. enableqty:
  8650. description: 可用数量
  8651. type: integer
  8652. goodunit:
  8653. description: 报价单位
  8654. type: string
  8655. orderid:
  8656. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8657. type: string
  8658. orderprice:
  8659. description: 委托价格
  8660. type: number
  8661. ordertime:
  8662. description: 委托时间
  8663. type: string
  8664. required:
  8665. - buyorsell
  8666. - orderid
  8667. - ordertime
  8668. type: object
  8669. models.HsbyListingGoodsDetail:
  8670. properties:
  8671. agreeunit:
  8672. description: 合约单位
  8673. type: number
  8674. buymaxqty:
  8675. description: 购买上限 [71] - 0为不限
  8676. type: integer
  8677. currency:
  8678. description: 货币
  8679. type: string
  8680. currencysign:
  8681. description: 货币符号
  8682. type: string
  8683. decimalplace:
  8684. description: 报价小数位
  8685. type: integer
  8686. desccityid:
  8687. description: 目的地(市)ID
  8688. type: integer
  8689. descprovinceid:
  8690. description: 目的地(省)ID
  8691. type: integer
  8692. goodscode:
  8693. description: 商品代码(内部)
  8694. type: string
  8695. goodsdesc:
  8696. description: 商品详情
  8697. type: string
  8698. goodsid:
  8699. description: 商品ID(自增ID SEQ_GOODS)
  8700. type: integer
  8701. goodsname:
  8702. description: 商品名称
  8703. type: string
  8704. goodsprice:
  8705. description: 商品价格
  8706. type: number
  8707. hotindex:
  8708. description: 景点热度
  8709. type: integer
  8710. last:
  8711. description: 现价
  8712. type: number
  8713. limitdown:
  8714. description: 跌停价
  8715. type: number
  8716. limitup:
  8717. description: 涨停价
  8718. type: number
  8719. lotsize:
  8720. description: 手数最小变动单位
  8721. type: integer
  8722. marketid:
  8723. description: 所属市场ID
  8724. type: integer
  8725. picurls:
  8726. description: 介绍图片[多张用逗号分隔]
  8727. type: string
  8728. quoteminunit:
  8729. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8730. type: integer
  8731. stepvalue:
  8732. description: 价格最小变动单位
  8733. type: number
  8734. trademode:
  8735. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8736. type: integer
  8737. vendorattr:
  8738. description: 供应商附件(多张,逗号分隔)
  8739. type: string
  8740. vendorname:
  8741. description: 供应商名称
  8742. type: string
  8743. vendorphone:
  8744. description: 供应商客服电话
  8745. type: string
  8746. videourls:
  8747. description: 介绍视频[多张用逗号分隔]
  8748. type: string
  8749. required:
  8750. - goodscode
  8751. - goodsid
  8752. - goodsname
  8753. - marketid
  8754. - trademode
  8755. type: object
  8756. models.HsbyMarketGoods:
  8757. properties:
  8758. accountid:
  8759. description: 账户ID[报价币种]
  8760. type: integer
  8761. agreeunit:
  8762. description: 合约单位
  8763. type: number
  8764. buyorsell:
  8765. description: 买卖 - 0:买 1:卖
  8766. type: integer
  8767. categoryid:
  8768. description: 类别ID(WRCATEGORY)
  8769. type: integer
  8770. currency:
  8771. description: 货币
  8772. type: string
  8773. currencysign:
  8774. description: 货币符号
  8775. type: string
  8776. customername:
  8777. description: 卖家名称
  8778. type: string
  8779. decimalplace:
  8780. description: 报价小数位
  8781. type: integer
  8782. goodscode:
  8783. description: 商品代码(内部)
  8784. type: string
  8785. goodsid:
  8786. description: 商品ID
  8787. type: integer
  8788. goodsname:
  8789. description: 商品名称
  8790. type: string
  8791. goodsprice:
  8792. description: 商品价格
  8793. type: number
  8794. hascoupon:
  8795. description: 是否可用优惠卷
  8796. type: boolean
  8797. hotindex:
  8798. description: 景点热度
  8799. type: integer
  8800. marketid:
  8801. description: 市场ID
  8802. type: integer
  8803. orderid:
  8804. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8805. type: string
  8806. orderprice:
  8807. description: 委托价格
  8808. type: number
  8809. orderstatus:
  8810. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  8811. type: integer
  8812. picurls:
  8813. description: 介绍图片[多张用逗号分隔]
  8814. type: string
  8815. quoteminunit:
  8816. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8817. type: integer
  8818. sellUserID:
  8819. description: 卖方UserID
  8820. type: integer
  8821. trademode:
  8822. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8823. type: integer
  8824. videourls:
  8825. description: 介绍视频[多张用逗号分隔]
  8826. type: string
  8827. required:
  8828. - accountid
  8829. - buyorsell
  8830. - goodscode
  8831. - goodsid
  8832. - goodsname
  8833. - marketid
  8834. - orderid
  8835. - trademode
  8836. type: object
  8837. models.HsbyMarketGoodsDetail:
  8838. properties:
  8839. accountid:
  8840. description: 账户ID[报价币种]
  8841. type: integer
  8842. agreeunit:
  8843. description: 合约单位
  8844. type: number
  8845. buymaxqty:
  8846. description: 购买上限 [71] - 0为不限
  8847. type: integer
  8848. buyorsell:
  8849. description: 买卖 - 0:买 1:卖
  8850. type: integer
  8851. cancelqty:
  8852. description: 撤单数量
  8853. type: integer
  8854. categoryid:
  8855. description: 类别ID(WRCATEGORY)
  8856. type: integer
  8857. currency:
  8858. description: 货币
  8859. type: string
  8860. currencysign:
  8861. description: 货币符号
  8862. type: string
  8863. customername:
  8864. description: 卖家名称
  8865. type: string
  8866. decimalplace:
  8867. description: 报价小数位
  8868. type: integer
  8869. goodscode:
  8870. description: 商品代码(内部)
  8871. type: string
  8872. goodsdesc:
  8873. description: 商品详情
  8874. type: string
  8875. goodsid:
  8876. description: 商品ID
  8877. type: integer
  8878. goodsname:
  8879. description: 商品名称
  8880. type: string
  8881. goodsprice:
  8882. description: 商品价格
  8883. type: number
  8884. hotindex:
  8885. description: 景点热度
  8886. type: integer
  8887. lotsize:
  8888. description: 手数最小变动单位
  8889. type: integer
  8890. marketid:
  8891. description: 市场ID
  8892. type: integer
  8893. orderid:
  8894. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8895. type: string
  8896. orderprice:
  8897. description: 委托价格
  8898. type: number
  8899. orderqty:
  8900. description: 委托数量
  8901. type: integer
  8902. orderstatus:
  8903. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  8904. type: integer
  8905. picurls:
  8906. description: 介绍图片[多张用逗号分隔]
  8907. type: string
  8908. quoteminunit:
  8909. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8910. type: integer
  8911. sellUserID:
  8912. description: 卖方UserID
  8913. type: integer
  8914. trademode:
  8915. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8916. type: integer
  8917. tradeqty:
  8918. description: 成交数量
  8919. type: integer
  8920. vendorattr:
  8921. description: 供应商附件(多张,逗号分隔)
  8922. type: string
  8923. vendorname:
  8924. description: 供应商名称
  8925. type: string
  8926. vendorphone:
  8927. description: 供应商客服电话
  8928. type: string
  8929. videourls:
  8930. description: 介绍视频[多张用逗号分隔]
  8931. type: string
  8932. required:
  8933. - accountid
  8934. - buyorsell
  8935. - goodscode
  8936. - goodsid
  8937. - goodsname
  8938. - marketid
  8939. - orderid
  8940. - orderqty
  8941. - trademode
  8942. type: object
  8943. models.HsbyMarketInfo:
  8944. properties:
  8945. marketid:
  8946. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8947. type: integer
  8948. marketname:
  8949. description: 市场名称
  8950. type: string
  8951. marketstatus:
  8952. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8953. type: integer
  8954. trademode:
  8955. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8956. type: integer
  8957. required:
  8958. - marketid
  8959. - marketstatus
  8960. - trademode
  8961. type: object
  8962. models.HsbyMyGoods:
  8963. properties:
  8964. accountid:
  8965. description: 账号Id
  8966. type: integer
  8967. agreeunit:
  8968. description: 合约单位
  8969. type: number
  8970. buyaverageprice:
  8971. description: 持仓均价
  8972. type: number
  8973. buycurholderamount:
  8974. description: 买当前持仓总金额[商品币种]
  8975. type: number
  8976. buycurpositionqty:
  8977. description: 买当前持仓总数量
  8978. type: integer
  8979. buymaxqty:
  8980. description: 购买上限 [71] - 0为不限
  8981. type: integer
  8982. currencysign:
  8983. description: 货币符号
  8984. type: string
  8985. decimalplace:
  8986. description: 报价小数位
  8987. type: integer
  8988. enableqty:
  8989. description: 可用数量
  8990. type: integer
  8991. goodscode:
  8992. description: 商品代码(内部)
  8993. type: string
  8994. goodsid:
  8995. description: 商品Id
  8996. type: integer
  8997. goodsname:
  8998. description: 商品名称
  8999. type: string
  9000. goodsprice:
  9001. description: 商品价格
  9002. type: number
  9003. goodsstatus:
  9004. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  9005. type: integer
  9006. last:
  9007. description: 现价(仅使用于挂牌点选)
  9008. type: number
  9009. limitdown:
  9010. description: 跌停价(仅使用于挂牌点选)
  9011. type: number
  9012. limitup:
  9013. description: 涨停价(仅使用于挂牌点选)
  9014. type: number
  9015. lotsize:
  9016. description: 手数最小变动单位
  9017. type: integer
  9018. marketid:
  9019. description: 所属市场ID
  9020. type: integer
  9021. picurls:
  9022. description: 介绍图片[多张用逗号分隔]
  9023. type: string
  9024. quoteminunit:
  9025. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9026. type: integer
  9027. stepvalue:
  9028. description: 价格最小变动单位
  9029. type: number
  9030. trademode:
  9031. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9032. type: integer
  9033. required:
  9034. - accountid
  9035. - goodscode
  9036. - goodsid
  9037. - goodsname
  9038. - marketid
  9039. - trademode
  9040. type: object
  9041. models.HsbyMyPackage:
  9042. properties:
  9043. accountid:
  9044. description: 账户ID
  9045. type: integer
  9046. address:
  9047. description: 提货人详细地址
  9048. type: string
  9049. agreeunit:
  9050. description: 合约单位
  9051. type: number
  9052. amount:
  9053. description: 提货金额
  9054. type: number
  9055. auditer:
  9056. description: 审核人
  9057. type: integer
  9058. audittime:
  9059. description: 审核时间
  9060. type: string
  9061. averageprice:
  9062. description: 均价
  9063. type: number
  9064. cardnum:
  9065. description: 提货人证件号码
  9066. type: string
  9067. cardtypeid:
  9068. description: 提货人证件类型
  9069. type: integer
  9070. checkremark:
  9071. description: 审核备注
  9072. type: string
  9073. currencysign:
  9074. description: 货币符号
  9075. type: string
  9076. decimalplace:
  9077. description: 报价小数位
  9078. type: integer
  9079. goodscode:
  9080. description: 商品代码(内部)
  9081. type: string
  9082. goodsid:
  9083. description: 商品ID
  9084. type: integer
  9085. goodsname:
  9086. description: 商品名称
  9087. type: string
  9088. handlestatus:
  9089. description: 处理状态
  9090. type: integer
  9091. marketid:
  9092. description: 市场ID
  9093. type: integer
  9094. phonenum:
  9095. description: 提货人联系方式
  9096. type: string
  9097. picurls:
  9098. description: 介绍图片[多张用逗号分隔]
  9099. type: string
  9100. qty:
  9101. description: 提货数量
  9102. type: number
  9103. recivername:
  9104. description: 提货人姓名
  9105. type: string
  9106. reqtime:
  9107. description: 更新时间
  9108. type: string
  9109. takemode:
  9110. description: 提货方式 - 2:自提 3:配送
  9111. type: integer
  9112. takeorderid:
  9113. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  9114. type: string
  9115. takeorderstatus:
  9116. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  9117. type: integer
  9118. takeremark:
  9119. description: 提货备注
  9120. type: string
  9121. tradedate:
  9122. description: 交易日(yyyyMMdd)
  9123. type: string
  9124. trademode:
  9125. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9126. type: integer
  9127. userid:
  9128. description: 用户ID
  9129. type: integer
  9130. vendorname:
  9131. description: 供应商名称
  9132. type: string
  9133. required:
  9134. - goodscode
  9135. - goodsname
  9136. - takeorderid
  9137. - trademode
  9138. type: object
  9139. models.HsbyPreGoods:
  9140. properties:
  9141. agreeunit:
  9142. description: 合约单位
  9143. type: number
  9144. currency:
  9145. description: 货币
  9146. type: string
  9147. currencysign:
  9148. description: 货币符号
  9149. type: string
  9150. decimalplace:
  9151. description: 报价小数位
  9152. type: integer
  9153. desccityid:
  9154. description: 目的地(市)
  9155. type: integer
  9156. descprovinceid:
  9157. description: 目的地(省)
  9158. type: integer
  9159. enableqty:
  9160. description: 剩余数量
  9161. type: integer
  9162. goodscode:
  9163. description: 商品代码(内部)
  9164. type: string
  9165. goodsid:
  9166. description: 商品ID(自增ID SEQ_GOODS)
  9167. type: integer
  9168. goodsname:
  9169. description: 商品名称
  9170. type: string
  9171. goodsstatus:
  9172. description: 商品状态- 2:未上市 3:上市
  9173. type: integer
  9174. lasttradedate:
  9175. description: 最后交易日期(状态:待退市)
  9176. type: string
  9177. listingdate:
  9178. description: 交易开始日期
  9179. type: string
  9180. marketid:
  9181. description: 所属市场ID
  9182. type: integer
  9183. picurls:
  9184. description: 介绍图片[多张用逗号分隔]
  9185. type: string
  9186. presaledqty:
  9187. description: 已预售量(预售结束时更新)
  9188. type: integer
  9189. presaleqty:
  9190. description: 预售数量
  9191. type: integer
  9192. quoteminunit:
  9193. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9194. type: integer
  9195. refprice:
  9196. description: 参考价格[一口价]
  9197. type: number
  9198. relatedgoodsid:
  9199. description: 关联交易合约ID
  9200. type: integer
  9201. trademode:
  9202. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9203. type: integer
  9204. videourls:
  9205. description: 介绍视频[多张用逗号分隔]
  9206. type: string
  9207. required:
  9208. - goodscode
  9209. - goodsid
  9210. - goodsname
  9211. - marketid
  9212. - trademode
  9213. type: object
  9214. models.HsbyPreGoodsDetail:
  9215. properties:
  9216. agreeunit:
  9217. description: 合约单位
  9218. type: number
  9219. buymaxqty:
  9220. description: 购买上限 [71] - 0为不限
  9221. type: integer
  9222. currency:
  9223. description: 货币
  9224. type: string
  9225. currencysign:
  9226. description: 货币符号
  9227. type: string
  9228. customername:
  9229. description: 发行单位
  9230. type: string
  9231. decimalplace:
  9232. description: 报价小数位
  9233. type: integer
  9234. desccityid:
  9235. description: 目的地(市)ID
  9236. type: integer
  9237. descprovinceid:
  9238. description: 目的地(省)ID
  9239. type: integer
  9240. enableqty:
  9241. description: 剩余数量
  9242. type: integer
  9243. goodscode:
  9244. description: 商品代码(内部)
  9245. type: string
  9246. goodsdesc:
  9247. description: 商品详情
  9248. type: string
  9249. goodsid:
  9250. description: 商品ID(自增ID SEQ_GOODS)
  9251. type: integer
  9252. goodsname:
  9253. description: 商品名称
  9254. type: string
  9255. goodsstatus:
  9256. description: 商品状态- 2:未上市 3:上市
  9257. type: integer
  9258. goodunit:
  9259. description: 报价单位
  9260. type: string
  9261. lasttradedate:
  9262. description: 最后交易日期(状态:待退市)
  9263. type: string
  9264. listingdate:
  9265. description: 交易开始日期
  9266. type: string
  9267. lotsize:
  9268. description: 手数最小变动单位
  9269. type: integer
  9270. marketid:
  9271. description: 所属市场ID
  9272. type: integer
  9273. picurls:
  9274. description: 介绍图片[多张用逗号分隔]
  9275. type: string
  9276. presaledqty:
  9277. description: 已预售量(预售结束时更新)
  9278. type: integer
  9279. presaleqty:
  9280. description: 预售数量
  9281. type: integer
  9282. quoteminunit:
  9283. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9284. type: integer
  9285. refprice:
  9286. description: 参考价格[一口价]
  9287. type: number
  9288. relatedgoodsid:
  9289. description: 关联交易合约ID
  9290. type: integer
  9291. stepvalue:
  9292. description: 价格最小变动单位
  9293. type: number
  9294. trademode:
  9295. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9296. type: integer
  9297. vendorattr:
  9298. description: 供应商附件(多张,逗号分隔)
  9299. type: string
  9300. vendorname:
  9301. description: 供应商名称
  9302. type: string
  9303. vendorphone:
  9304. description: 供应商客服电话
  9305. type: string
  9306. videourls:
  9307. description: 介绍视频[多张用逗号分隔]
  9308. type: string
  9309. required:
  9310. - goodscode
  9311. - goodsid
  9312. - goodsname
  9313. - marketid
  9314. - trademode
  9315. type: object
  9316. models.HsbySellCollectionOrder:
  9317. properties:
  9318. agreeunit:
  9319. description: 合约单位
  9320. type: number
  9321. buyaccountid:
  9322. description: 买方账号ID[报价币种]
  9323. type: integer
  9324. buyorderid:
  9325. description: 买方委托单号
  9326. type: string
  9327. createtime:
  9328. description: 创建时间
  9329. type: string
  9330. currencysign:
  9331. description: 货币符号
  9332. type: string
  9333. decimalplace:
  9334. description: 报价小数位
  9335. type: integer
  9336. goodscode:
  9337. description: 商品代码(内部)
  9338. type: string
  9339. goodsid:
  9340. description: 商品ID
  9341. type: integer
  9342. goodsname:
  9343. description: 商品名称
  9344. type: string
  9345. marketid:
  9346. description: 市场ID
  9347. type: integer
  9348. offamount:
  9349. description: 优惠金额
  9350. type: number
  9351. payamount:
  9352. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  9353. type: number
  9354. payflag:
  9355. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  9356. type: integer
  9357. paylimitedtime:
  9358. description: 支付期限
  9359. type: string
  9360. paytime:
  9361. description: 付款时间
  9362. type: string
  9363. picurls:
  9364. description: 商品介绍图片[多张用逗号分隔]
  9365. type: string
  9366. sellaccountid:
  9367. description: 卖方账号ID[报价币种]
  9368. type: integer
  9369. sellorderid:
  9370. description: 卖方委托单号
  9371. type: string
  9372. tradeamount:
  9373. description: 成交金额
  9374. type: number
  9375. tradecharge:
  9376. description: 成交手续费(买方)
  9377. type: number
  9378. tradedate:
  9379. description: 交易日(yyyyMMdd)
  9380. type: string
  9381. tradeid:
  9382. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9383. type: string
  9384. trademode:
  9385. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9386. type: integer
  9387. tradeprice:
  9388. description: 成交价格
  9389. type: number
  9390. tradeqty:
  9391. description: 成交数量
  9392. type: integer
  9393. required:
  9394. - goodscode
  9395. - goodsname
  9396. - tradeid
  9397. - trademode
  9398. type: object
  9399. models.HsbySellMyDetail:
  9400. properties:
  9401. accountid:
  9402. description: 账户ID[报价币种]
  9403. type: integer
  9404. agreeunit:
  9405. description: 合约单位
  9406. type: number
  9407. buyorsell:
  9408. description: 买卖 - 0:买 1:卖
  9409. type: integer
  9410. currencysign:
  9411. description: 货币符号
  9412. type: string
  9413. decimalplace:
  9414. description: 报价小数位
  9415. type: integer
  9416. goodscode:
  9417. description: 商品代码(内部)
  9418. type: string
  9419. goodsid:
  9420. description: 商品ID
  9421. type: integer
  9422. goodsname:
  9423. description: 商品名称
  9424. type: string
  9425. marketid:
  9426. description: 市场ID
  9427. type: integer
  9428. orderid:
  9429. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  9430. type: string
  9431. ordertype:
  9432. description: 单据类型:0 - 发布中, 1 - 已完成
  9433. type: integer
  9434. picurls:
  9435. description: 介绍图片[多张用逗号分隔]
  9436. type: string
  9437. price:
  9438. description: 价格
  9439. type: number
  9440. qty:
  9441. description: 数量
  9442. type: integer
  9443. time:
  9444. description: 时间
  9445. type: string
  9446. trademode:
  9447. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9448. type: integer
  9449. vendorname:
  9450. description: 供应商名称
  9451. type: string
  9452. required:
  9453. - accountid
  9454. - buyorsell
  9455. - goodscode
  9456. - goodsid
  9457. - goodsname
  9458. - marketid
  9459. - orderid
  9460. - time
  9461. - trademode
  9462. type: object
  9463. models.HsbyTopGoods:
  9464. properties:
  9465. agreeunit:
  9466. description: 合约单位
  9467. type: number
  9468. currency:
  9469. description: 货币
  9470. type: string
  9471. currencysign:
  9472. description: 货币符号
  9473. type: string
  9474. decimalplace:
  9475. description: 报价小数位
  9476. type: integer
  9477. desccityid:
  9478. description: 目的地(市)
  9479. type: integer
  9480. descprovinceid:
  9481. description: 目的地(省)
  9482. type: integer
  9483. goodscode:
  9484. description: 商品代码(内部)
  9485. type: string
  9486. goodsid:
  9487. description: 商品ID(自增ID SEQ_GOODS)
  9488. type: integer
  9489. goodsname:
  9490. description: 商品名称
  9491. type: string
  9492. hotindex:
  9493. description: 景点热度
  9494. type: integer
  9495. last:
  9496. description: 现价
  9497. type: number
  9498. marketid:
  9499. description: 所属市场ID
  9500. type: integer
  9501. picurls:
  9502. description: 介绍图片[多张用逗号分隔]
  9503. type: string
  9504. quoteminunit:
  9505. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9506. type: integer
  9507. trademode:
  9508. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9509. type: integer
  9510. videourls:
  9511. description: 介绍视频[多张用逗号分隔]
  9512. type: string
  9513. required:
  9514. - goodscode
  9515. - goodsid
  9516. - goodsname
  9517. - marketid
  9518. - trademode
  9519. type: object
  9520. models.HybsMyBuyOrderDetail:
  9521. properties:
  9522. accountid:
  9523. description: 账户ID[报价币种]
  9524. type: integer
  9525. agreeunit:
  9526. description: 合约单位
  9527. type: number
  9528. buyorsell:
  9529. description: 买卖 - 0:买 1:卖
  9530. type: integer
  9531. cancelqty:
  9532. description: 撤单数量
  9533. type: integer
  9534. currencysign:
  9535. description: 货币符号
  9536. type: string
  9537. decimalplace:
  9538. description: 报价小数位
  9539. type: integer
  9540. goodscode:
  9541. description: 商品代码(内部)
  9542. type: string
  9543. goodsid:
  9544. description: 商品ID
  9545. type: integer
  9546. goodsname:
  9547. description: 商品名称
  9548. type: string
  9549. listingselecttype:
  9550. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9551. type: integer
  9552. marketid:
  9553. description: 市场ID
  9554. type: integer
  9555. mybuystatus:
  9556. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  9557. type: integer
  9558. orderamount:
  9559. description: 委托金额
  9560. type: number
  9561. orderid:
  9562. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9563. type: string
  9564. orderprice:
  9565. description: 委托价格
  9566. type: number
  9567. orderqty:
  9568. description: 委托数量
  9569. type: integer
  9570. orderstatus:
  9571. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  9572. type: integer
  9573. ordertime:
  9574. description: 委托时间
  9575. type: string
  9576. picurls1:
  9577. description: 预售商品介绍图片[多张用逗号分隔]
  9578. type: string
  9579. picurls2:
  9580. description: 挂牌商品介绍图片[多张用逗号分隔]
  9581. type: string
  9582. trademode:
  9583. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9584. type: integer
  9585. tradeqty:
  9586. description: 成交数量
  9587. type: integer
  9588. vendorname1:
  9589. description: 预售商品供应商名称
  9590. type: string
  9591. vendorname2:
  9592. description: 挂牌商品供应商名称
  9593. type: string
  9594. required:
  9595. - accountid
  9596. - buyorsell
  9597. - goodscode
  9598. - goodsid
  9599. - goodsname
  9600. - marketid
  9601. - orderid
  9602. - orderqty
  9603. - ordertime
  9604. - trademode
  9605. type: object
  9606. models.Loginaccount:
  9607. properties:
  9608. accountname:
  9609. description: 账户名称
  9610. type: string
  9611. canoutin:
  9612. description: 是否可出入金 - 0:不可 1:可
  9613. type: integer
  9614. clientroleid:
  9615. description: 终端角色ID
  9616. type: integer
  9617. haslogined:
  9618. description: 是否已登录 - 0:未登录 1:已登录
  9619. type: integer
  9620. hasupdatedpwd:
  9621. description: 是否已更改密码 - 0:未修改 1:已修改
  9622. type: integer
  9623. lastloginip:
  9624. description: 最新登录地址
  9625. type: string
  9626. lastloginmode:
  9627. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  9628. type: integer
  9629. lastloginremark:
  9630. description: 最新登录描述
  9631. type: string
  9632. lastlogintime:
  9633. description: 最新登录时间
  9634. type: string
  9635. logincode:
  9636. description: 登录代码
  9637. type: string
  9638. loginfailnum:
  9639. description: 连续登录失败次数(登录成功时清零)
  9640. type: integer
  9641. loginid:
  9642. description: 登陆账号
  9643. type: integer
  9644. loginport:
  9645. description: 最新登录端口
  9646. type: integer
  9647. loginstatus:
  9648. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  9649. type: integer
  9650. loginusertype:
  9651. description: 登录账号类型 - 1:投资者 2:机构交易员
  9652. type: integer
  9653. mobile:
  9654. description: 手机号码(加密存储)
  9655. type: string
  9656. modifierid:
  9657. description: 修改人
  9658. type: integer
  9659. modifysrc:
  9660. description: 审核来源 - 1:管理端 2:终端
  9661. type: integer
  9662. modifytime:
  9663. description: 修改时间
  9664. type: string
  9665. password:
  9666. description: 登陆密码
  9667. type: string
  9668. pwdwrongcount:
  9669. description: 密码错误次数
  9670. type: integer
  9671. relateduserid:
  9672. description: 关联用户ID(机构)
  9673. type: integer
  9674. taaccountrighttype:
  9675. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  9676. type: integer
  9677. unfreezetime:
  9678. description: 账户解冻时间
  9679. type: string
  9680. userid:
  9681. description: 用户ID
  9682. type: integer
  9683. required:
  9684. - loginid
  9685. type: object
  9686. models.MainAccountInfo:
  9687. properties:
  9688. accountid:
  9689. description: 账号id
  9690. type: integer
  9691. accountname:
  9692. description: 账号名称(taaccount表中的名称)
  9693. type: string
  9694. appid:
  9695. description: AppID
  9696. type: string
  9697. authcode:
  9698. description: 授权码
  9699. type: string
  9700. brokerid:
  9701. description: 经纪商id
  9702. type: string
  9703. fcid:
  9704. description: 期货公司id
  9705. type: integer
  9706. fcname:
  9707. description: 期货公司代码
  9708. type: string
  9709. hedgeaccountcode:
  9710. description: 外部账号代码(主账号登录代码)
  9711. type: string
  9712. hedgeaccountpwd:
  9713. description: 密码
  9714. type: string
  9715. ismain:
  9716. description: 是否主账号
  9717. type: integer
  9718. relateduserid:
  9719. description: 关联用户id
  9720. type: integer
  9721. userid:
  9722. description: 关联用户id
  9723. type: integer
  9724. type: object
  9725. models.Market:
  9726. properties:
  9727. auctionwrtype:
  9728. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  9729. type: integer
  9730. canacceptquote:
  9731. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  9732. type: integer
  9733. cangoodsexercise:
  9734. description: '[期权]是否可现货行权- 0:否 1:是'
  9735. type: integer
  9736. cangoodsexercisetype:
  9737. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  9738. type: integer
  9739. canmanualquotestrike:
  9740. description: 是否可手动报行权价- 0:否 1:是 [期权]
  9741. type: integer
  9742. canmutistage:
  9743. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  9744. type: integer
  9745. canpreexercise:
  9746. description: '[期权]是否可预申报- 0:否 1:是'
  9747. type: integer
  9748. clearinterval:
  9749. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  9750. type: integer
  9751. contracttmp:
  9752. description: 合同模板[荷兰式][竞价式][仓单贸易]
  9753. type: string
  9754. exchareaid:
  9755. description: 所属交易所,可以没有
  9756. type: integer
  9757. goodstype:
  9758. description: 商品类型 - 1:交易商品 2:仓单商品
  9759. type: integer
  9760. hasrebate:
  9761. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  9762. type: integer
  9763. hastradecredit:
  9764. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  9765. type: integer
  9766. haswr:
  9767. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  9768. type: integer
  9769. isdeductmargin:
  9770. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  9771. type: integer
  9772. isrecordsource:
  9773. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  9774. type: integer
  9775. isreleasemargin:
  9776. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  9777. type: integer
  9778. marginformula:
  9779. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9780. type: integer
  9781. marginformula2:
  9782. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9783. type: integer
  9784. marketid:
  9785. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  9786. type: integer
  9787. marketname:
  9788. description: 市场名称
  9789. type: string
  9790. marketserviceid:
  9791. description: 市场服务ID
  9792. type: integer
  9793. marketstatus:
  9794. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  9795. type: integer
  9796. markettype:
  9797. description: 市场类型- 1:非交易服务 2:交易服务
  9798. type: integer
  9799. matchermode:
  9800. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  9801. type: integer
  9802. openmethod:
  9803. description: 开盘模式 - 0 自动 1手动
  9804. type: integer
  9805. otcuserid:
  9806. description: 场外期权做市商[场外期权]
  9807. type: integer
  9808. outersynctime:
  9809. description: 外部同步时间点(h24:mi:ss)[场外期权]
  9810. type: string
  9811. pendingflag:
  9812. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  9813. type: integer
  9814. pendingtime:
  9815. description: 待开市时间[通道交易-对冲](HH:mm)
  9816. type: string
  9817. performancetempid:
  9818. description: 履约计划模板ID - 作废
  9819. type: integer
  9820. premiumquotemode:
  9821. description: 权利金报价方式 - 1:自动 2:手动
  9822. type: integer
  9823. rebateratio:
  9824. description: 返利比率[竞价式]
  9825. type: number
  9826. reckonorder:
  9827. description: 结算顺序
  9828. type: integer
  9829. reckonpricealgorithm:
  9830. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价'
  9831. type: integer
  9832. reckonpriceparam:
  9833. description: 结算价参数
  9834. type: integer
  9835. reckontime:
  9836. description: 结算时间[通道交易-对冲](HH:mm)
  9837. type: string
  9838. roleprioritytype:
  9839. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  9840. type: integer
  9841. selllistingauditflag:
  9842. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  9843. type: integer
  9844. trademarkettype:
  9845. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  9846. type: integer
  9847. trademode:
  9848. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9849. type: integer
  9850. tradeproperty:
  9851. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权
  9852. type: integer
  9853. tradetype:
  9854. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  9855. type: integer
  9856. required:
  9857. - marketid
  9858. - marketstatus
  9859. - openmethod
  9860. - reckonpricealgorithm
  9861. - trademode
  9862. - tradeproperty
  9863. type: object
  9864. models.Marketrun:
  9865. properties:
  9866. afternexttradedate:
  9867. description: 下下交易日
  9868. type: string
  9869. clearquoteflag:
  9870. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  9871. type: integer
  9872. lastreckondate:
  9873. description: 最新交易日(结算成功)
  9874. type: string
  9875. machinedate:
  9876. description: 机器时间
  9877. type: string
  9878. manualflag:
  9879. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  9880. type: integer
  9881. marketid:
  9882. description: 市场ID
  9883. type: integer
  9884. nexttradedate:
  9885. description: 下一交易日
  9886. type: string
  9887. pretradedate:
  9888. description: 上一交易日
  9889. type: string
  9890. reckonflag:
  9891. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  9892. type: integer
  9893. runstatus:
  9894. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内) 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始 62.今日免清算
  9895. type: integer
  9896. sectionid:
  9897. description: 时间段号[多时段时用]
  9898. type: integer
  9899. tradedate:
  9900. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  9901. type: string
  9902. tradedate2:
  9903. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  9904. type: string
  9905. updatetime:
  9906. description: 更新时间
  9907. type: string
  9908. required:
  9909. - marketid
  9910. - nexttradedate
  9911. - reckonflag
  9912. - runstatus
  9913. - tradedate
  9914. - tradedate2
  9915. type: object
  9916. models.Messageboard:
  9917. properties:
  9918. contactnum:
  9919. description: 联系电话
  9920. type: string
  9921. createtime:
  9922. description: 创建时间
  9923. type: string
  9924. message:
  9925. description: 留言信息
  9926. type: string
  9927. messageboardid:
  9928. description: 留言簿ID(SEQ_MessageBoard)
  9929. type: integer
  9930. userid:
  9931. description: 用户ID
  9932. type: integer
  9933. required:
  9934. - messageboardid
  9935. type: object
  9936. models.MyCoupon:
  9937. properties:
  9938. accountid:
  9939. description: 资金账户ID
  9940. type: integer
  9941. areauserid:
  9942. description: 所属机构
  9943. type: integer
  9944. conditionvalue:
  9945. description: 条件阈值(可为0)
  9946. type: number
  9947. couponcategroy:
  9948. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  9949. type: integer
  9950. couponname:
  9951. description: 优惠券名称
  9952. type: string
  9953. coupontypeid:
  9954. description: 优惠券类型ID
  9955. type: string
  9956. couponvalue:
  9957. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9958. type: number
  9959. curfreezeqty:
  9960. description: 期末冻结数量
  9961. type: integer
  9962. curqty:
  9963. description: 期末数量
  9964. type: integer
  9965. isgeneral:
  9966. description: 是否通用券 - 0:否 1:是
  9967. type: integer
  9968. isunusable:
  9969. description: 是否不可用
  9970. type: boolean
  9971. limitedflag:
  9972. description: 是否指定商品 - 0:不限 1:限制
  9973. type: integer
  9974. limitedgoodsids:
  9975. description: 指定商品IDs[逗号分隔,前后加逗号]
  9976. type: string
  9977. orifreezeqty:
  9978. description: 期初冻结数量
  9979. type: integer
  9980. oriqty:
  9981. description: 期初数量
  9982. type: integer
  9983. reasontype:
  9984. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  9985. type: integer
  9986. todaydecrease:
  9987. description: 今日减少
  9988. type: integer
  9989. todayincrease:
  9990. description: 今日增加
  9991. type: integer
  9992. userid:
  9993. description: 用户ID
  9994. type: integer
  9995. userscope:
  9996. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  9997. type: string
  9998. required:
  9999. - accountid
  10000. - coupontypeid
  10001. type: object
  10002. models.MyCouponHold:
  10003. properties:
  10004. accountid:
  10005. description: 资金账户ID
  10006. type: integer
  10007. conditionvalue:
  10008. description: 条件阈值(可为0)
  10009. type: number
  10010. couponcategroy:
  10011. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  10012. type: integer
  10013. couponholdid:
  10014. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  10015. type: string
  10016. couponname:
  10017. description: 优惠券名称
  10018. type: string
  10019. coupontypeid:
  10020. description: 优惠券类型ID - SEQ_COUPONTYPE
  10021. type: string
  10022. couponvalue:
  10023. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  10024. type: number
  10025. createtime:
  10026. description: 创建时间
  10027. type: string
  10028. enddate:
  10029. description: 结束日期
  10030. type: string
  10031. giveapplyid:
  10032. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  10033. type: integer
  10034. holdstatus:
  10035. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  10036. type: integer
  10037. isgeneral:
  10038. description: 是否通用券 - 0:否 1:是
  10039. type: integer
  10040. limitedflag:
  10041. description: 是否指定商品 - 0:不限 1:限制
  10042. type: integer
  10043. limitedgoodsids:
  10044. description: 指定商品IDs[逗号分隔]
  10045. type: string
  10046. qty:
  10047. description: 数量(按1平铺)
  10048. type: integer
  10049. startdate:
  10050. description: 开始日期
  10051. type: string
  10052. userid:
  10053. description: 用户ID
  10054. type: integer
  10055. userscope:
  10056. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  10057. type: string
  10058. required:
  10059. - couponholdid
  10060. type: object
  10061. models.MyUsedCoupon:
  10062. properties:
  10063. accountid:
  10064. description: 资金账户ID(买方)
  10065. type: integer
  10066. conditionvalue:
  10067. description: 条件阈值(可为0)
  10068. type: number
  10069. couponcategroy:
  10070. description: 种类 - 1:现金券 2:折扣券
  10071. type: integer
  10072. couponname:
  10073. description: 优惠券名称
  10074. type: string
  10075. coupontypeid:
  10076. description: 优惠券类型ID(买方)
  10077. type: string
  10078. couponvalue:
  10079. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  10080. type: number
  10081. createtime:
  10082. description: 创建时间
  10083. type: string
  10084. goodsid:
  10085. description: 商品ID
  10086. type: integer
  10087. handlestatus:
  10088. description: 处理状态
  10089. type: integer
  10090. marketid:
  10091. description: 市场ID
  10092. type: integer
  10093. offamount:
  10094. description: 优惠金额
  10095. type: number
  10096. orderid:
  10097. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10098. type: string
  10099. sellaccountid:
  10100. description: 资金账户ID(卖方)
  10101. type: integer
  10102. tradeamount:
  10103. description: 成交金额
  10104. type: number
  10105. tradeid:
  10106. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10107. type: string
  10108. usedqty:
  10109. description: 使用数量
  10110. type: integer
  10111. required:
  10112. - coupontypeid
  10113. - orderid
  10114. type: object
  10115. models.OperationPrimaryMenu:
  10116. properties:
  10117. Children:
  10118. description: 二级功能菜单
  10119. items:
  10120. $ref: '#/definitions/models.OperationSecondaryMenu'
  10121. type: array
  10122. Key:
  10123. description: 菜单KEY
  10124. type: string
  10125. Label:
  10126. description: 菜单标题
  10127. type: string
  10128. type: object
  10129. models.OperationSecondaryMenu:
  10130. properties:
  10131. Key:
  10132. description: 菜单KEY
  10133. type: string
  10134. Label:
  10135. description: 菜单标题
  10136. type: string
  10137. TabList:
  10138. description: 三级功能菜单
  10139. items:
  10140. $ref: '#/definitions/models.OperationTabMenu'
  10141. type: array
  10142. type: object
  10143. models.OperationTabMenu:
  10144. properties:
  10145. Key:
  10146. description: 菜单KEY
  10147. type: string
  10148. Label:
  10149. description: 菜单标题
  10150. type: string
  10151. type: object
  10152. models.QhjAccountOutInApply:
  10153. properties:
  10154. accountcode:
  10155. description: 资金账号
  10156. type: string
  10157. accountname:
  10158. description: 用户名称(名称)
  10159. type: string
  10160. accountpwd:
  10161. description: 资金密码
  10162. type: string
  10163. accountticket:
  10164. description: 最新账户服务流水号
  10165. type: string
  10166. amount:
  10167. description: 金额
  10168. type: number
  10169. applyremark:
  10170. description: 申请备注
  10171. type: string
  10172. applystatus:
  10173. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败; 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22: 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  10174. type: integer
  10175. auditid:
  10176. description: 审核人
  10177. type: integer
  10178. audittime:
  10179. description: 审核时间
  10180. type: string
  10181. bank_apply_ticket:
  10182. description: 银行申请流水
  10183. type: string
  10184. bankaccountname:
  10185. description: 银行账户名
  10186. type: string
  10187. bankaccountno:
  10188. description: 银行卡号
  10189. type: string
  10190. bankid:
  10191. description: 银行编号
  10192. type: string
  10193. bankticket:
  10194. description: 银行流水
  10195. type: string
  10196. branchbankid:
  10197. description: 银行支行号
  10198. type: string
  10199. branchbankname:
  10200. description: 银行支行名称
  10201. type: string
  10202. capamountout:
  10203. description: 出金(劣后本金) - 外部子账户
  10204. type: number
  10205. certificatephotourl:
  10206. description: 凭证地址
  10207. type: string
  10208. charge:
  10209. description: 手续费
  10210. type: number
  10211. checkerrorflag:
  10212. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  10213. type: integer
  10214. currency:
  10215. description: 币种
  10216. type: string
  10217. cusbankid:
  10218. description: 托管银行编号
  10219. type: string
  10220. exchticket:
  10221. description: 银行服务流水号
  10222. type: string
  10223. executetype:
  10224. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金'
  10225. type: integer
  10226. extendinfo:
  10227. description: 扩展信息
  10228. type: string
  10229. extoperateid:
  10230. description: 交易服务流水号
  10231. type: integer
  10232. infamount:
  10233. description: 劣后金额(自有)
  10234. type: number
  10235. logincode:
  10236. description: 登录账号(账号)
  10237. type: string
  10238. netaddr:
  10239. description: 调转网址
  10240. type: string
  10241. priamount:
  10242. description: 优先金额(授信)
  10243. type: number
  10244. reauditid:
  10245. description: 复审人
  10246. type: integer
  10247. reauditremark:
  10248. description: 复审备注
  10249. type: string
  10250. reaudittime:
  10251. description: 复审时间
  10252. type: string
  10253. relatedorderid:
  10254. description: 三方关联ID
  10255. type: string
  10256. remark:
  10257. description: 备注
  10258. type: string
  10259. remark2:
  10260. description: 备注(失败原因)
  10261. type: string
  10262. soucreamount:
  10263. description: 原始出入金金额
  10264. type: number
  10265. soucrecurrencyid:
  10266. description: 原始出入金币种
  10267. type: integer
  10268. tradedate:
  10269. description: 交易日(yyyyMMdd)
  10270. type: string
  10271. updatetime:
  10272. description: 更新时间(申请时间)
  10273. type: string
  10274. userid:
  10275. description: 用户id
  10276. type: integer
  10277. userinfotype:
  10278. description: 账户类型 1-个人 2-企业
  10279. type: integer
  10280. type: object
  10281. models.QhjAgreementChangeLog:
  10282. properties:
  10283. agreementcontent:
  10284. description: 协议内容
  10285. type: string
  10286. agreementfrequency:
  10287. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  10288. type: integer
  10289. agreementid:
  10290. description: 协议ID
  10291. type: integer
  10292. agreementname:
  10293. description: 协议名称
  10294. type: string
  10295. agreementno:
  10296. description: 协议编号
  10297. type: string
  10298. agreementtype:
  10299. description: 协议类型 - 1:注册 2:登录 3:交易
  10300. type: integer
  10301. agreementversion:
  10302. description: 协议版本号
  10303. type: integer
  10304. logid:
  10305. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  10306. type: integer
  10307. reviserid:
  10308. description: 修改人
  10309. type: integer
  10310. revisersrc:
  10311. description: 修改来源 - 1:管理端 2:终端
  10312. type: integer
  10313. updatetime:
  10314. description: 更新时间
  10315. type: string
  10316. type: object
  10317. models.QhjAgreementConfig:
  10318. properties:
  10319. agreementcontent:
  10320. description: 协议内容
  10321. type: string
  10322. agreementfrequency:
  10323. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  10324. type: integer
  10325. agreementid:
  10326. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  10327. type: integer
  10328. agreementname:
  10329. description: 协议名称
  10330. type: string
  10331. agreementno:
  10332. description: 协议编号
  10333. type: string
  10334. agreementtype:
  10335. description: 协议类型 - 1:注册 2:登录 3:交易
  10336. type: integer
  10337. agreementversion:
  10338. description: 协议版本号(从1开始每次修改加1)
  10339. type: integer
  10340. createtime:
  10341. description: 创建时间
  10342. type: string
  10343. creatorid:
  10344. description: 创建人
  10345. type: integer
  10346. creatorsrc:
  10347. description: 创建来源 - 1:管理端 2:终端
  10348. type: integer
  10349. isvalid:
  10350. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  10351. type: integer
  10352. reviserid:
  10353. description: 修改人
  10354. type: integer
  10355. revisersrc:
  10356. description: 修改来源 - 1:管理端 2:终端
  10357. type: integer
  10358. updatetime:
  10359. description: 更新时间
  10360. type: string
  10361. type: object
  10362. models.QhjAreaFinanceConfig:
  10363. properties:
  10364. additionalratio:
  10365. description: 追加款比例
  10366. type: number
  10367. advanceratio:
  10368. description: 预付款比例
  10369. type: number
  10370. alarmratio:
  10371. description: 告警比例
  10372. type: number
  10373. consumptiondirectreward:
  10374. description: 消费直推奖励值
  10375. type: number
  10376. consumptionenabled:
  10377. description: 是否启用消费奖励 - 0:不启用 1:启用
  10378. type: integer
  10379. consumptionindirectreward:
  10380. description: 消费间推奖励值
  10381. type: number
  10382. consumptionmodel:
  10383. description: 消费奖励方式 - 1:比率 2:固定
  10384. type: integer
  10385. customerservicenum:
  10386. description: 客服电话
  10387. type: string
  10388. dayinterestrate:
  10389. description: 日利率
  10390. type: number
  10391. disableconsumptiontips:
  10392. description: 关闭消费奖励提示
  10393. type: string
  10394. modifierid:
  10395. description: 修改人ID
  10396. type: integer
  10397. modifysrc:
  10398. description: 审核来源 - 1:管理端 2:终端
  10399. type: integer
  10400. modifytime:
  10401. description: 修改时间
  10402. type: string
  10403. promotionvalue:
  10404. description: 推广奖励值(固定)
  10405. type: number
  10406. scoreconfigvalue1:
  10407. description: 提货积分配置1
  10408. type: integer
  10409. scoreconfigvalue2:
  10410. description: 提货积分配置2
  10411. type: integer
  10412. userid:
  10413. description: 机构用户ID其他做市关系,都设置为 1
  10414. type: integer
  10415. username:
  10416. description: 用户名称
  10417. type: string
  10418. type: object
  10419. models.QhjBankAccountSign:
  10420. properties:
  10421. accountcode:
  10422. description: 资金账号
  10423. type: string
  10424. accountname:
  10425. description: 资金账号对应的账号名(UserName)
  10426. type: string
  10427. accountname2:
  10428. description: 资金账号对应的账号名(UserName) - 密文
  10429. type: string
  10430. accounttype:
  10431. description: 账户类型(UserType)
  10432. type: integer
  10433. applicationtime:
  10434. description: 最后一次更新的时间
  10435. type: string
  10436. applyexchticket:
  10437. description: 申请流水
  10438. type: string
  10439. auditid:
  10440. description: 审核人
  10441. type: integer
  10442. audittime:
  10443. description: 审核时间
  10444. type: string
  10445. bankaccountname:
  10446. description: 签约银行卡账号名
  10447. type: string
  10448. bankaccountname2:
  10449. description: 签约银行卡账号名 - 密文
  10450. type: string
  10451. bankaccountno:
  10452. description: 银行卡号
  10453. type: string
  10454. bankaccountno2:
  10455. description: 银行卡号 - 密文
  10456. type: string
  10457. bankaccounttype:
  10458. description: 银行账户类型 - 1-对私; 2-对公
  10459. type: integer
  10460. bankcardtype:
  10461. description: 银行卡类型
  10462. type: integer
  10463. bankchildaccount:
  10464. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  10465. type: string
  10466. bankcity:
  10467. description: 开户行城市
  10468. type: string
  10469. bankid:
  10470. description: 签约银行ID
  10471. type: string
  10472. bankname:
  10473. description: 签约银行名称
  10474. type: string
  10475. bankprovince:
  10476. description: 开户行省份
  10477. type: string
  10478. branchbankid:
  10479. description: 签约银行支行号
  10480. type: string
  10481. branchbankname:
  10482. description: 签约银行支行名称
  10483. type: string
  10484. cardno:
  10485. description: 证件号码
  10486. type: string
  10487. cardno2:
  10488. description: 证件号码 - 密文
  10489. type: string
  10490. cardtype:
  10491. description: 证件类型
  10492. type: string
  10493. currency:
  10494. description: 币种
  10495. type: string
  10496. cusbankid:
  10497. description: 托管银行编号
  10498. type: string
  10499. direct:
  10500. description: 方向(可以判断那方先发起的签约)
  10501. type: integer
  10502. exchticket:
  10503. description: 最后一次签约成功的流水号
  10504. type: string
  10505. extendinfo:
  10506. description: 扩展信息(JSON字符串)
  10507. type: string
  10508. mobilephone:
  10509. description: 手机号
  10510. type: string
  10511. mobilephone2:
  10512. description: 手机号 - 密文
  10513. type: string
  10514. netaddr:
  10515. description: 调转网址
  10516. type: string
  10517. relateduserid:
  10518. description: 关联使用者userid
  10519. type: integer
  10520. signstatus:
  10521. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核
  10522. type: integer
  10523. updatetime:
  10524. description: 更新时间(签解约更新时间)
  10525. type: string
  10526. type: object
  10527. models.QhjBankInfo:
  10528. properties:
  10529. bankid:
  10530. description: 银行ID
  10531. type: string
  10532. bankname:
  10533. description: 银行名称
  10534. type: string
  10535. clearbankno:
  10536. description: 清算系统银行编号
  10537. type: string
  10538. orderindex:
  10539. description: 排序顺序
  10540. type: integer
  10541. status:
  10542. description: 状态 - 0:正常 1:注销
  10543. type: integer
  10544. type: object
  10545. models.QhjBrokerApply:
  10546. properties:
  10547. applicantid:
  10548. description: 申请人
  10549. type: integer
  10550. applysrc:
  10551. description: 申请来源 - 1:管理端 2:终端
  10552. type: integer
  10553. applystatus:
  10554. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  10555. type: integer
  10556. applytime:
  10557. description: 申请时间
  10558. type: string
  10559. auditorid:
  10560. description: 审核人
  10561. type: integer
  10562. auditremark:
  10563. description: 审核备注
  10564. type: string
  10565. auditsrc:
  10566. description: 审核来源 - 1:管理端 2:终端
  10567. type: integer
  10568. audittime:
  10569. description: 审核时间
  10570. type: string
  10571. audittradedate:
  10572. description: 审核交易日(yyyyMMdd)
  10573. type: string
  10574. brokerapplyid:
  10575. description: 申请ID(SEQ_BROKERAPPLY)
  10576. type: integer
  10577. cardbackphotourl:
  10578. description: 证件背面图片地址
  10579. type: string
  10580. cardfrontphotourl:
  10581. description: 证件正面图片地址
  10582. type: string
  10583. cardnum:
  10584. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  10585. type: string
  10586. customername:
  10587. description: 姓名
  10588. type: string
  10589. logincode:
  10590. description: 登录代码
  10591. type: string
  10592. mobile:
  10593. description: 手机号码
  10594. type: string
  10595. parentuserid:
  10596. description: 所属机构id
  10597. type: integer
  10598. parentusername:
  10599. description: 所属机构名称
  10600. type: string
  10601. refereeuserid:
  10602. description: 推荐人id(经纪人)
  10603. type: integer
  10604. refernum:
  10605. description: 推荐码
  10606. type: string
  10607. remark:
  10608. description: 备注
  10609. type: string
  10610. subarealevelpath:
  10611. description: 层级路径
  10612. type: string
  10613. tradedate:
  10614. description: 交易日(yyyyMMdd)
  10615. type: string
  10616. userid:
  10617. description: 申请人用户ID
  10618. type: integer
  10619. userinfotype:
  10620. description: 用户类型 1-个人 2-企业
  10621. type: integer
  10622. username:
  10623. description: 用户名称
  10624. type: string
  10625. type: object
  10626. models.QhjBrokerApplyEx:
  10627. properties:
  10628. applylist:
  10629. description: 经纪人申请记录(只返回最新一条)
  10630. items:
  10631. $ref: '#/definitions/models.QhjBrokerApply'
  10632. type: array
  10633. canrecommend:
  10634. description: 是否经纪人 0-不是 1-是
  10635. type: integer
  10636. refernum:
  10637. description: 推荐码
  10638. type: string
  10639. userid:
  10640. description: 用户id
  10641. type: integer
  10642. userinfotype:
  10643. description: 用户类型 1-个人 2-企业
  10644. type: integer
  10645. type: object
  10646. models.QhjBrokerRewardLog:
  10647. properties:
  10648. accountid:
  10649. description: 资金账号ID
  10650. type: integer
  10651. createtime:
  10652. description: 创建时间(时间)
  10653. type: string
  10654. handlestatus:
  10655. description: 处理状态
  10656. type: integer
  10657. logid:
  10658. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10659. type: string
  10660. marketid:
  10661. description: 市场ID
  10662. type: integer
  10663. mmaccountid:
  10664. description: 做市商资金账号ID
  10665. type: string
  10666. mmuserid:
  10667. description: 做市商用户ID
  10668. type: string
  10669. rewardamount:
  10670. description: 奖励金额
  10671. type: number
  10672. rewardmodel:
  10673. description: 消费奖励方式 - 1:比率 2:固定
  10674. type: integer
  10675. rewardtype:
  10676. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  10677. type: integer
  10678. rewardvalue:
  10679. description: 配置奖励值
  10680. type: number
  10681. srcamount:
  10682. description: 成交金额 [消费奖励] (金额)
  10683. type: number
  10684. srcgoodsid:
  10685. description: 来源商品ID [消费奖励]
  10686. type: string
  10687. srctime:
  10688. description: 来源时间 (成交时间) [消费奖励]
  10689. type: string
  10690. srctradeid:
  10691. description: 来源成交单ID [消费奖励] - 排除提货成交
  10692. type: string
  10693. srcuserid:
  10694. description: 来源用户ID(推广账户)
  10695. type: string
  10696. srcusername:
  10697. description: 推广账户名称
  10698. type: string
  10699. tradedate:
  10700. description: 交易日(yyyyMMdd)
  10701. type: string
  10702. userid:
  10703. description: 经纪人用户ID
  10704. type: integer
  10705. type: object
  10706. models.QhjContract:
  10707. properties:
  10708. contractconfirmtime:
  10709. description: 合同确认时间(时间)
  10710. type: string
  10711. currisklevel:
  10712. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  10713. type: integer
  10714. decimalplace:
  10715. description: 商品报价小数位
  10716. type: integer
  10717. enumdicname:
  10718. description: 单位名称
  10719. type: string
  10720. goodscode:
  10721. description: 商品代码
  10722. type: string
  10723. goodsid:
  10724. description: 商品ID [5:融资单]
  10725. type: integer
  10726. goodsname:
  10727. description: 商品名称
  10728. type: string
  10729. goodunitid:
  10730. description: 商品单位id
  10731. type: integer
  10732. initmargin:
  10733. description: 初始保证金(首付款)
  10734. type: number
  10735. lenderamount:
  10736. description: 贷款金额(总额|订单总额)
  10737. type: number
  10738. marginratio:
  10739. description: 保证金比率(首付比例)
  10740. type: number
  10741. payamount:
  10742. description: 已付(已付货款)
  10743. type: number
  10744. reckonrecovermargin:
  10745. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10746. type: number
  10747. recoveredmargin:
  10748. description: 已追缴保证金
  10749. type: number
  10750. remainamount:
  10751. description: 合同剩余金额(融资额)
  10752. type: number
  10753. scfcontractid:
  10754. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10755. type: string
  10756. scfcontractstatus:
  10757. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交
  10758. type: integer
  10759. scfcontracttype:
  10760. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10761. type: integer
  10762. totalinterest:
  10763. description: 已计总利息(利息)
  10764. type: number
  10765. tradeprice:
  10766. description: 成交价格(成本价格)
  10767. type: number
  10768. userid:
  10769. description: 用户ID
  10770. type: integer
  10771. username:
  10772. description: 用户名称
  10773. type: string
  10774. wrqty:
  10775. description: 仓单数量(数量)
  10776. type: number
  10777. type: object
  10778. models.QhjContractLog:
  10779. properties:
  10780. amount:
  10781. description: 支付金额
  10782. type: number
  10783. amounttype:
  10784. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  10785. type: integer
  10786. logid:
  10787. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10788. type: string
  10789. remainamount:
  10790. description: 剩余货款
  10791. type: number
  10792. scfcontractid:
  10793. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10794. type: integer
  10795. updatetime:
  10796. description: 更新时间
  10797. type: string
  10798. type: object
  10799. models.QhjCusBankSignBankEx:
  10800. properties:
  10801. banklst:
  10802. description: 银行列表
  10803. items:
  10804. $ref: '#/definitions/models.QhjBankInfo'
  10805. type: array
  10806. canallot:
  10807. description: 是否支持跨行调拨 - 0:不支持 1:支持
  10808. type: integer
  10809. canallotquery:
  10810. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  10811. type: integer
  10812. canbindcard:
  10813. description: 是否可绑卡与解卡 - 0:不可 1:可以
  10814. type: integer
  10815. caninamount:
  10816. description: 是否可入金 - 0:不可 1:可以
  10817. type: integer
  10818. caninamount2:
  10819. description: 是否可入金(网银端) - 0:不可 1:可以
  10820. type: integer
  10821. canmodifybankcard:
  10822. description: 是否可修改银行卡号 - 0:不可 1:可以
  10823. type: integer
  10824. canmodifyphone:
  10825. description: 是否可修改手机号 - 0:不可 1:可以
  10826. type: integer
  10827. canmodifysigninfo:
  10828. description: 是否可修改签约信息 - 0:不可 1:可以
  10829. type: integer
  10830. canoutamount:
  10831. description: 是否可出金 - 0:不可 1:可以
  10832. type: integer
  10833. canoutamount2:
  10834. description: 是否可出金(网银端) - 0:不可 1:可以
  10835. type: integer
  10836. canrelease:
  10837. description: 是否可解约 - 0:不可 1:可以
  10838. type: integer
  10839. canrelease2:
  10840. description: 是否可解约(网银端) - 0:不可 1:可以
  10841. type: integer
  10842. cansign:
  10843. description: 是否可签约 - 0:不可 1:可以
  10844. type: integer
  10845. cansign2:
  10846. description: 是否可签约(网银端) - 0:不可 1:可以
  10847. type: integer
  10848. currency:
  10849. description: 币种
  10850. type: string
  10851. cusbankid:
  10852. description: 托管银行编号(对应清算中心TRAN_NO)
  10853. type: string
  10854. cusbankname:
  10855. description: 银行业务名称
  10856. type: string
  10857. cusbankshortname:
  10858. description: 银行业务简称
  10859. type: string
  10860. exchbankid:
  10861. description: 交易所开户银行ID
  10862. type: string
  10863. exchpaybankaccname:
  10864. description: 交易所支出结算账户户名
  10865. type: string
  10866. exchpaybankaccno:
  10867. description: 交易所支出结算账户
  10868. type: string
  10869. isneedcheck:
  10870. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  10871. type: integer
  10872. isneedclear:
  10873. description: 是否需要清算 - 0:不需要 1:需要
  10874. type: integer
  10875. lastcheckstatus:
  10876. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  10877. type: integer
  10878. lastchecktime:
  10879. description: 最后对账时间
  10880. type: string
  10881. lastclearstatus:
  10882. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  10883. type: integer
  10884. lastcleartime:
  10885. description: 最后清算时间
  10886. type: string
  10887. lastsignintime:
  10888. description: 最后签到时间
  10889. type: string
  10890. lastsignouttime:
  10891. description: 最后签退时间
  10892. type: string
  10893. riskinfo:
  10894. description: 签约风险提示书
  10895. type: string
  10896. signstatus:
  10897. description: 当前签到/签退状态 - 1:签到 2:签退
  10898. type: integer
  10899. tradedate:
  10900. description: 交易日(yyyyMMdd)
  10901. type: string
  10902. updatetime:
  10903. description: 当前签到/签退更新时间
  10904. type: string
  10905. type: object
  10906. models.QhjCustomer:
  10907. properties:
  10908. address:
  10909. description: 通讯地址
  10910. type: string
  10911. attachment1:
  10912. description: 附件1
  10913. type: string
  10914. attachment2:
  10915. description: 附件2
  10916. type: string
  10917. audittime:
  10918. description: 审核时间
  10919. type: string
  10920. cardbackphotourl:
  10921. description: 证件反面图片地址
  10922. type: string
  10923. cardfrontphotourl:
  10924. description: 证件正面图片地址
  10925. type: string
  10926. cardnum:
  10927. description: 证件号码
  10928. type: string
  10929. cardtype:
  10930. description: 证件类型
  10931. type: integer
  10932. cardtypename:
  10933. description: 证件类型名称
  10934. type: string
  10935. cityid:
  10936. description: 市
  10937. type: integer
  10938. cityname:
  10939. description: 城市名称
  10940. type: string
  10941. contactname:
  10942. description: 联系人
  10943. type: string
  10944. countryid:
  10945. description: 国家
  10946. type: integer
  10947. countryname:
  10948. description: 国家名称
  10949. type: string
  10950. createtime:
  10951. description: 创建时间
  10952. type: string
  10953. customername:
  10954. description: 客户名称
  10955. type: string
  10956. districtid:
  10957. description: 区域
  10958. type: integer
  10959. districtname:
  10960. description: 地区名称
  10961. type: string
  10962. email:
  10963. description: 邮件
  10964. type: string
  10965. legalpersonname:
  10966. description: 法人姓名(企业)
  10967. type: string
  10968. logincode:
  10969. description: 登录账号(代码)
  10970. type: string
  10971. memberuserid:
  10972. description: 所属机构ID(所属会员)
  10973. type: integer
  10974. memberusername:
  10975. description: 所属会员名称
  10976. type: string
  10977. mobile:
  10978. description: 手机号码
  10979. type: string
  10980. modifytime:
  10981. description: 修改时间
  10982. type: string
  10983. nickname:
  10984. description: 昵称
  10985. type: string
  10986. parentuserid:
  10987. description: 上级机构(所属机构)
  10988. type: integer
  10989. parentusername:
  10990. description: 所属机构名称
  10991. type: string
  10992. provinceid:
  10993. description: 省
  10994. type: integer
  10995. provincename:
  10996. description: 省名称
  10997. type: string
  10998. proxystatementurl:
  10999. description: 授权委托书
  11000. type: string
  11001. remark:
  11002. description: 备注
  11003. type: string
  11004. status:
  11005. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  11006. type: integer
  11007. statusdesc:
  11008. description: 账户状态中文描述
  11009. type: string
  11010. taxpayernum:
  11011. description: 纳税人识别号
  11012. type: string
  11013. telphone:
  11014. description: 联系电话
  11015. type: string
  11016. userid:
  11017. description: 用户ID
  11018. type: integer
  11019. userinfotype:
  11020. description: 客户类型 1-个人 2-企业
  11021. type: integer
  11022. username:
  11023. description: 用户名称
  11024. type: string
  11025. type: object
  11026. models.QhjCustomerSignLog:
  11027. properties:
  11028. agreementcontent:
  11029. description: 协议内容
  11030. type: string
  11031. agreementid:
  11032. description: 协议ID
  11033. type: integer
  11034. agreementname:
  11035. description: 协议名称
  11036. type: string
  11037. agreementno:
  11038. description: 协议编号
  11039. type: string
  11040. agreementtype:
  11041. description: 协议类型 - 1:注册 2:登录 3:交易
  11042. type: integer
  11043. agreementversion:
  11044. description: 协议版本号
  11045. type: integer
  11046. createtime:
  11047. description: 创建时间
  11048. type: string
  11049. goodscode:
  11050. description: 商品代码
  11051. type: string
  11052. goodsid:
  11053. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11054. type: integer
  11055. goodsname:
  11056. description: 商品名称
  11057. type: string
  11058. logid:
  11059. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  11060. type: integer
  11061. nodetype:
  11062. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  11063. type: integer
  11064. signadressurl:
  11065. description: 签约文件地址
  11066. type: string
  11067. signtimestamp:
  11068. description: 签约状态时间戳
  11069. type: string
  11070. userid:
  11071. description: 客户ID
  11072. type: integer
  11073. username:
  11074. description: 客户名称
  11075. type: string
  11076. type: object
  11077. models.QhjCustomerSignStatus:
  11078. properties:
  11079. createtime:
  11080. description: 创建时间
  11081. type: string
  11082. goodscode:
  11083. description: 商品代码
  11084. type: string
  11085. goodsid:
  11086. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11087. type: integer
  11088. goodsname:
  11089. description: 商品名称
  11090. type: string
  11091. nodetype:
  11092. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  11093. type: integer
  11094. signtimestamp:
  11095. description: 签约状态时间戳
  11096. type: string
  11097. tradedate:
  11098. description: 创建交易日(yyyyMMdd)
  11099. type: string
  11100. updatetime:
  11101. description: 更新时间
  11102. type: string
  11103. userid:
  11104. description: 客户ID
  11105. type: integer
  11106. username:
  11107. description: 客户名称
  11108. type: string
  11109. type: object
  11110. models.QhjMgrAccountOutInApply:
  11111. properties:
  11112. accountcode:
  11113. description: 资金账号
  11114. type: string
  11115. accountname:
  11116. description: 用户名称(名称)
  11117. type: string
  11118. accountpwd:
  11119. description: 资金密码
  11120. type: string
  11121. accountticket:
  11122. description: 最新账户服务流水号
  11123. type: string
  11124. amount:
  11125. description: 金额
  11126. type: number
  11127. applyremark:
  11128. description: 申请备注
  11129. type: string
  11130. applystatus:
  11131. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败; 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22: 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  11132. type: integer
  11133. auditid:
  11134. description: 审核人
  11135. type: integer
  11136. audittime:
  11137. description: 审核时间
  11138. type: string
  11139. bank_apply_ticket:
  11140. description: 银行申请流水
  11141. type: string
  11142. bankaccountname:
  11143. description: 银行账户名
  11144. type: string
  11145. bankaccountno:
  11146. description: 银行卡号
  11147. type: string
  11148. bankid:
  11149. description: 银行编号
  11150. type: string
  11151. bankname:
  11152. description: 银行名称
  11153. type: string
  11154. bankticket:
  11155. description: 银行流水
  11156. type: string
  11157. branchbankid:
  11158. description: 银行支行号
  11159. type: string
  11160. branchbankname:
  11161. description: 银行支行名称
  11162. type: string
  11163. capamountout:
  11164. description: 出金(劣后本金) - 外部子账户
  11165. type: number
  11166. certificatephotourl:
  11167. description: 凭证地址
  11168. type: string
  11169. charge:
  11170. description: 手续费
  11171. type: number
  11172. checkerrorflag:
  11173. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  11174. type: integer
  11175. currency:
  11176. description: 币种
  11177. type: string
  11178. cusbankid:
  11179. description: 托管银行编号
  11180. type: string
  11181. exchticket:
  11182. description: 银行服务流水号
  11183. type: string
  11184. executetype:
  11185. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金'
  11186. type: integer
  11187. extendinfo:
  11188. description: 扩展信息
  11189. type: string
  11190. extoperateid:
  11191. description: 交易服务流水号
  11192. type: integer
  11193. infamount:
  11194. description: 劣后金额(自有)
  11195. type: number
  11196. logincode:
  11197. description: 登录账号(账号)
  11198. type: string
  11199. netaddr:
  11200. description: 调转网址
  11201. type: string
  11202. priamount:
  11203. description: 优先金额(授信)
  11204. type: number
  11205. reauditid:
  11206. description: 复审人
  11207. type: integer
  11208. reauditremark:
  11209. description: 复审备注
  11210. type: string
  11211. reaudittime:
  11212. description: 复审时间
  11213. type: string
  11214. relatedorderid:
  11215. description: 三方关联ID
  11216. type: string
  11217. remark:
  11218. description: 备注
  11219. type: string
  11220. remark2:
  11221. description: 备注(失败原因)
  11222. type: string
  11223. soucreamount:
  11224. description: 原始出入金金额
  11225. type: number
  11226. soucrecurrencyid:
  11227. description: 原始出入金币种
  11228. type: integer
  11229. tradedate:
  11230. description: 交易日(yyyyMMdd)
  11231. type: string
  11232. updatetime:
  11233. description: 更新时间(申请时间)
  11234. type: string
  11235. userid:
  11236. description: 用户id
  11237. type: integer
  11238. userinfotype:
  11239. description: 账户类型 1-个人 2-企业
  11240. type: integer
  11241. type: object
  11242. models.QhjMgrBrokerApply:
  11243. properties:
  11244. applicantid:
  11245. description: 申请人
  11246. type: integer
  11247. applysrc:
  11248. description: 申请来源 - 1:管理端 2:终端
  11249. type: integer
  11250. applystatus:
  11251. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  11252. type: integer
  11253. applytime:
  11254. description: 申请时间
  11255. type: string
  11256. auditorid:
  11257. description: 审核人
  11258. type: integer
  11259. auditremark:
  11260. description: 审核备注
  11261. type: string
  11262. auditsrc:
  11263. description: 审核来源 - 1:管理端 2:终端
  11264. type: integer
  11265. audittime:
  11266. description: 审核时间
  11267. type: string
  11268. audittradedate:
  11269. description: 审核交易日(yyyyMMdd)
  11270. type: string
  11271. brokerapplyid:
  11272. description: 申请ID(SEQ_BROKERAPPLY)
  11273. type: integer
  11274. cardbackphotourl:
  11275. description: 证件背面图片地址
  11276. type: string
  11277. cardfrontphotourl:
  11278. description: 证件正面图片地址
  11279. type: string
  11280. cardnum:
  11281. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  11282. type: string
  11283. customername:
  11284. description: 姓名
  11285. type: string
  11286. filterstatus:
  11287. description: 筛选条件
  11288. type: string
  11289. logincode:
  11290. description: 登录代码
  11291. type: string
  11292. mobile:
  11293. description: 手机号码
  11294. type: string
  11295. parentuserid:
  11296. description: 所属机构id
  11297. type: integer
  11298. parentusername:
  11299. description: 所属机构名称
  11300. type: string
  11301. refereeuserid:
  11302. description: 推荐人id(经纪人)
  11303. type: integer
  11304. refernum:
  11305. description: 推荐码
  11306. type: string
  11307. remark:
  11308. description: 备注
  11309. type: string
  11310. subarealevelpath:
  11311. description: 层级路径
  11312. type: string
  11313. tradedate:
  11314. description: 交易日(yyyyMMdd)
  11315. type: string
  11316. userid:
  11317. description: 申请人用户ID
  11318. type: integer
  11319. userinfotype:
  11320. description: 用户类型 1-个人 2-企业
  11321. type: integer
  11322. username:
  11323. description: 用户名称
  11324. type: string
  11325. type: object
  11326. models.QhjMgrBrokerRewardReport:
  11327. properties:
  11328. createtime:
  11329. description: 创建时间(注册时间)
  11330. type: string
  11331. cycletime:
  11332. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  11333. type: string
  11334. cycletype:
  11335. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  11336. type: integer
  11337. directtotalnum:
  11338. description: 直推总人数【期末】
  11339. type: integer
  11340. indirecttotalnum:
  11341. description: 间推总人数【期末】
  11342. type: integer
  11343. mobile:
  11344. description: 电话号码
  11345. type: string
  11346. refereeuserid:
  11347. description: 推荐人id(经纪人id)
  11348. type: integer
  11349. refereeusername:
  11350. description: 推荐人名称(经纪人) 上级经纪人名称
  11351. type: string
  11352. refernum:
  11353. description: 推荐码
  11354. type: string
  11355. subarealevelpath:
  11356. description: 用户层级路径
  11357. type: string
  11358. todayrewardamount:
  11359. description: 奖励总金额【汇总】
  11360. type: number
  11361. updatetime:
  11362. description: 更新时间
  11363. type: string
  11364. userid:
  11365. description: 经纪人用户ID
  11366. type: integer
  11367. userinfotype:
  11368. description: 用户类型 1-个人 2-企业
  11369. type: integer
  11370. username:
  11371. description: 用户名称
  11372. type: string
  11373. type: object
  11374. models.QhjMgrContract:
  11375. properties:
  11376. contractconfirmtime:
  11377. description: 合同确认时间(时间)
  11378. type: string
  11379. currisklevel:
  11380. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  11381. type: integer
  11382. decimalplace:
  11383. description: 商品报价小数位
  11384. type: integer
  11385. enumdicname:
  11386. description: 单位名称
  11387. type: string
  11388. goodscode:
  11389. description: 商品代码
  11390. type: string
  11391. goodsid:
  11392. description: 商品ID [5:融资单]
  11393. type: integer
  11394. goodsname:
  11395. description: 商品名称
  11396. type: string
  11397. goodunitid:
  11398. description: 商品单位id
  11399. type: integer
  11400. initmargin:
  11401. description: 初始保证金(首付款)
  11402. type: number
  11403. lenderamount:
  11404. description: 贷款金额(总额|订单总额)
  11405. type: number
  11406. logincode:
  11407. description: 账号(登录代码)
  11408. type: string
  11409. marginratio:
  11410. description: 保证金比率(首付比例)
  11411. type: number
  11412. mobile:
  11413. description: 电话号码(用户资料里的电话)
  11414. type: string
  11415. payamount:
  11416. description: 已付(已付货款)
  11417. type: number
  11418. reckonrecovermargin:
  11419. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  11420. type: number
  11421. recoveredmargin:
  11422. description: 已追缴保证金
  11423. type: number
  11424. remainamount:
  11425. description: 合同剩余金额(融资额)
  11426. type: number
  11427. scfcontractid:
  11428. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  11429. type: string
  11430. scfcontractstatus:
  11431. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交
  11432. type: integer
  11433. scfcontracttype:
  11434. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  11435. type: integer
  11436. totalinterest:
  11437. description: 已计总利息(利息)
  11438. type: number
  11439. tradedate:
  11440. description: 交易日
  11441. type: string
  11442. tradeprice:
  11443. description: 成交价格(成本价格)
  11444. type: number
  11445. userid:
  11446. description: 用户ID
  11447. type: integer
  11448. userinfotype:
  11449. description: 用户类型 1-个人 2-企业
  11450. type: integer
  11451. username:
  11452. description: 用户名称
  11453. type: string
  11454. wrqty:
  11455. description: 仓单数量(数量)
  11456. type: number
  11457. type: object
  11458. models.QhjMgrCustomer:
  11459. properties:
  11460. address:
  11461. description: 通讯地址
  11462. type: string
  11463. attachment1:
  11464. description: 附件1
  11465. type: string
  11466. audittime:
  11467. description: 审核时间
  11468. type: string
  11469. birthday:
  11470. description: 生日
  11471. type: string
  11472. brokerid:
  11473. description: 所属客户经理id
  11474. type: integer
  11475. brokername:
  11476. description: 所属客户经理名称
  11477. type: string
  11478. cardbackphotourl:
  11479. description: 证件反面图片地址
  11480. type: string
  11481. cardfrontphotourl:
  11482. description: 证件正面图片地址
  11483. type: string
  11484. cardnum:
  11485. description: 证件号码
  11486. type: string
  11487. cardtype:
  11488. description: 证件类型
  11489. type: integer
  11490. cardtypename:
  11491. description: 证件类型名称
  11492. type: string
  11493. cityid:
  11494. description: 市
  11495. type: integer
  11496. cityname:
  11497. description: 城市名称
  11498. type: string
  11499. contactname:
  11500. description: 联系人
  11501. type: string
  11502. countryid:
  11503. description: 国家
  11504. type: integer
  11505. countryname:
  11506. description: 国家名称
  11507. type: string
  11508. createtime:
  11509. description: 创建时间
  11510. type: string
  11511. customername:
  11512. description: 客户名称
  11513. type: string
  11514. districtid:
  11515. description: 区域
  11516. type: integer
  11517. districtname:
  11518. description: 地区名称
  11519. type: string
  11520. email:
  11521. description: 邮件
  11522. type: string
  11523. legalpersonname:
  11524. description: 法人姓名(企业)
  11525. type: string
  11526. logincode:
  11527. description: 登录账号(代码)
  11528. type: string
  11529. memberuserid:
  11530. description: 所属机构ID(所属会员)
  11531. type: integer
  11532. memberusername:
  11533. description: 所属会员名称
  11534. type: string
  11535. mobile:
  11536. description: 手机号码
  11537. type: string
  11538. modifytime:
  11539. description: 修改时间
  11540. type: string
  11541. nickname:
  11542. description: 昵称
  11543. type: string
  11544. parentuserid:
  11545. description: 上级机构(所属机构)
  11546. type: integer
  11547. parentusername:
  11548. description: 所属机构名称
  11549. type: string
  11550. provinceid:
  11551. description: 省
  11552. type: integer
  11553. provincename:
  11554. description: 省名称
  11555. type: string
  11556. proxystatementurl:
  11557. description: 授权委托书
  11558. type: string
  11559. querytype:
  11560. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  11561. type: integer
  11562. remark:
  11563. description: 备注
  11564. type: string
  11565. sex:
  11566. description: 性别 0-女 1-男
  11567. type: integer
  11568. status:
  11569. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  11570. type: integer
  11571. statusdesc:
  11572. description: 账户状态中文描述
  11573. type: string
  11574. taxpayernum:
  11575. description: 纳税人识别号
  11576. type: string
  11577. telphone:
  11578. description: 联系电话
  11579. type: string
  11580. userid:
  11581. description: 用户ID
  11582. type: integer
  11583. userinfotype:
  11584. description: 客户类型 1-个人 2-企业
  11585. type: integer
  11586. username:
  11587. description: 用户名称
  11588. type: string
  11589. type: object
  11590. models.QhjMgrPickGoods:
  11591. properties:
  11592. enumdicname:
  11593. description: 单位名称(提货商品)
  11594. type: string
  11595. goodsid:
  11596. description: 商品id
  11597. type: integer
  11598. imageaddress:
  11599. description: 图片
  11600. type: string
  11601. modifierid:
  11602. description: 修改人
  11603. type: integer
  11604. modifiername:
  11605. description: 修改人名称
  11606. type: string
  11607. modifysrc:
  11608. description: 修改来源 - 1:管理端 2:终端
  11609. type: integer
  11610. pickupgoodsagreeunit:
  11611. description: 合约乘数
  11612. type: number
  11613. pickupgoodsdesc:
  11614. description: 描述
  11615. type: string
  11616. pickupgoodsid:
  11617. description: 提货商品ID
  11618. type: string
  11619. pickupgoodsname:
  11620. description: 提货商品名称
  11621. type: string
  11622. pickupgoodsstatus:
  11623. description: 状态 - 1:正常 2:停用 3:注销
  11624. type: integer
  11625. pickupgoodsunitid:
  11626. description: 单位ID
  11627. type: integer
  11628. pickupratio:
  11629. description: 提货系数
  11630. type: number
  11631. preparedays:
  11632. description: 备货期(天)
  11633. type: integer
  11634. remark:
  11635. description: 备注
  11636. type: string
  11637. updatetime:
  11638. description: 更新时间
  11639. type: string
  11640. type: object
  11641. models.QhjMgrPositionRsp:
  11642. properties:
  11643. accountid:
  11644. description: 账号Id
  11645. type: integer
  11646. accountname:
  11647. description: 用户名称
  11648. type: string
  11649. agreeunit:
  11650. description: 合约乘数
  11651. type: number
  11652. averageprice:
  11653. description: 均价
  11654. type: number
  11655. avialqty:
  11656. description: 可用数量
  11657. type: number
  11658. decimalplace:
  11659. description: 报价小数位
  11660. type: integer
  11661. enumdicname:
  11662. description: 单位名称(商品)
  11663. type: string
  11664. frozenqty:
  11665. description: 冻结数量
  11666. type: number
  11667. goodscode:
  11668. description: 商品代码(内部)
  11669. type: string
  11670. goodsid:
  11671. description: 商品Id
  11672. type: integer
  11673. goodsname:
  11674. description: 商品名称
  11675. type: string
  11676. goodunitid:
  11677. description: 报价单位ID
  11678. type: integer
  11679. holderamount:
  11680. description: 金额
  11681. type: number
  11682. holderqty:
  11683. description: 持有数量
  11684. type: number
  11685. holdertype:
  11686. description: 持仓类别 - 1:单边持仓 2:双边持仓
  11687. type: integer
  11688. logincode:
  11689. description: 登录代码(账户)
  11690. type: string
  11691. marketid:
  11692. description: 市场id
  11693. type: integer
  11694. qtydecimalplace:
  11695. description: 成交量小数位
  11696. type: integer
  11697. trademode:
  11698. description: 交易模式
  11699. type: integer
  11700. userid:
  11701. description: 用户id
  11702. type: integer
  11703. userinfotype:
  11704. description: 账户类型 1-个人 2-企业
  11705. type: integer
  11706. type: object
  11707. models.QhjMgrSubArea:
  11708. properties:
  11709. accountname:
  11710. description: 账户名称(机构名称)
  11711. type: string
  11712. memberuserid:
  11713. description: 所属会员ID
  11714. type: integer
  11715. parenttopuser:
  11716. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  11717. type: string
  11718. parentuserid:
  11719. description: 所属机构ID
  11720. type: integer
  11721. rootuserid:
  11722. description: 根用户ID
  11723. type: string
  11724. subaccountlevel:
  11725. description: 子账户层数
  11726. type: integer
  11727. subarealevelpath:
  11728. description: 子机构层级路径(逗号分隔,首尾加逗号)
  11729. type: string
  11730. userid:
  11731. description: 用户ID
  11732. type: integer
  11733. usertype:
  11734. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11735. type: integer
  11736. type: object
  11737. models.QhjMgrTradeDetailRsp:
  11738. properties:
  11739. accountid:
  11740. description: 资金账号
  11741. type: integer
  11742. accountname:
  11743. description: 用户名称
  11744. type: string
  11745. agreeunit:
  11746. description: 合约乘数
  11747. type: number
  11748. buyorsell:
  11749. description: 成交类型(方向) 0:买 1:卖
  11750. type: integer
  11751. decimalplace:
  11752. description: 报价小数位
  11753. type: integer
  11754. enumdicname:
  11755. description: 单位名称(商品)
  11756. type: string
  11757. goodscode:
  11758. description: 商品代码(内部)
  11759. type: string
  11760. goodsid:
  11761. description: 商品id
  11762. type: integer
  11763. goodsname:
  11764. description: 商品名称
  11765. type: string
  11766. goodunitid:
  11767. description: 报价单位ID
  11768. type: integer
  11769. logincode:
  11770. description: 登录代码(账户)
  11771. type: string
  11772. marketid:
  11773. description: 市场id
  11774. type: integer
  11775. orderid:
  11776. description: 关联委托单号
  11777. type: string
  11778. qtydecimalplace:
  11779. description: 成交量小数位
  11780. type: integer
  11781. tradeamount:
  11782. description: 金额
  11783. type: number
  11784. tradedate:
  11785. description: 交易日
  11786. type: string
  11787. tradeid:
  11788. description: 成交单号
  11789. type: string
  11790. trademode:
  11791. description: 交易模式
  11792. type: integer
  11793. tradeprice:
  11794. description: 价格
  11795. type: number
  11796. tradeqty:
  11797. description: 数量
  11798. type: number
  11799. tradetime:
  11800. description: 成交时间
  11801. type: string
  11802. userid:
  11803. description: 用户id
  11804. type: integer
  11805. userinfotype:
  11806. description: 账户类型 1-个人 2-企业
  11807. type: integer
  11808. type: object
  11809. models.QhjMgrTradeOrderDetailRsp:
  11810. properties:
  11811. accountid:
  11812. description: 资金账号
  11813. type: integer
  11814. accountname:
  11815. description: 用户名称
  11816. type: string
  11817. agreeunit:
  11818. description: 合约乘数
  11819. type: number
  11820. amount:
  11821. description: 金额
  11822. type: number
  11823. decimalplace:
  11824. description: 报价小数位
  11825. type: integer
  11826. enumdicname:
  11827. description: 单位名称(商品)
  11828. type: string
  11829. goodscode:
  11830. description: 商品代码(内部)
  11831. type: string
  11832. goodsid:
  11833. description: 商品id
  11834. type: integer
  11835. goodsname:
  11836. description: 商品名称
  11837. type: string
  11838. goodunitid:
  11839. description: 报价单位ID
  11840. type: integer
  11841. logincode:
  11842. description: 登录代码(账户)
  11843. type: string
  11844. marketid:
  11845. description: 市场id
  11846. type: integer
  11847. orderid:
  11848. description: 关联委托单号
  11849. type: string
  11850. orderprice:
  11851. description: 价格
  11852. type: number
  11853. orderqty:
  11854. description: 数量
  11855. type: number
  11856. orderstatus:
  11857. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  11858. type: integer
  11859. ordertime:
  11860. description: 委托时间
  11861. type: string
  11862. qtydecimalplace:
  11863. description: 成交量小数位
  11864. type: integer
  11865. tradedate:
  11866. description: 交易日
  11867. type: string
  11868. trademode:
  11869. description: 交易模式
  11870. type: integer
  11871. userid:
  11872. description: 用户id
  11873. type: integer
  11874. userinfotype:
  11875. description: 账户类型 1-个人 2-企业
  11876. type: integer
  11877. type: object
  11878. models.QhjMgrTradePayOrder:
  11879. properties:
  11880. accountname:
  11881. description: 用户名称
  11882. type: string
  11883. advanceratio:
  11884. description: 首付比率
  11885. type: number
  11886. agreeunit:
  11887. description: 合约乘数
  11888. type: number
  11889. buyaccountid:
  11890. description: 买方账号ID[报价币种]
  11891. type: integer
  11892. buyorderid:
  11893. description: 买方委托单号(关联单号)
  11894. type: string
  11895. createtime:
  11896. description: 创建时间
  11897. type: string
  11898. decimalplace:
  11899. description: 报价小数位
  11900. type: integer
  11901. enumdicname:
  11902. description: 单位名称(商品)
  11903. type: string
  11904. goodscode:
  11905. description: 商品代码(内部)
  11906. type: string
  11907. goodsid:
  11908. description: 商品ID
  11909. type: integer
  11910. goodsname:
  11911. description: 商品名称
  11912. type: string
  11913. goodunitid:
  11914. description: 报价单位ID
  11915. type: integer
  11916. logincode:
  11917. description: 登录代码(账户)
  11918. type: string
  11919. marketid:
  11920. description: 市场id
  11921. type: integer
  11922. offamount:
  11923. description: 优惠金额
  11924. type: number
  11925. operatetype:
  11926. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11927. type: integer
  11928. payamount:
  11929. description: 支付金额(金额)
  11930. type: number
  11931. payflag:
  11932. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11933. type: integer
  11934. paylimitedtime:
  11935. description: 支付期限
  11936. type: string
  11937. paytime:
  11938. description: 付款时间
  11939. type: string
  11940. qtydecimalplace:
  11941. description: 成交量小数位
  11942. type: integer
  11943. sellaccountid:
  11944. description: 卖方账号ID[报价币种]
  11945. type: integer
  11946. sellorderid:
  11947. description: 卖方委托单号
  11948. type: string
  11949. tradeamount:
  11950. description: 成交金额(优惠后金额)
  11951. type: number
  11952. tradecharge:
  11953. description: 成交手续费(买方)
  11954. type: number
  11955. tradedate:
  11956. description: 交易日(yyyyMMdd)
  11957. type: string
  11958. tradeid:
  11959. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11960. type: string
  11961. trademode:
  11962. description: 交易模式
  11963. type: integer
  11964. tradeprice:
  11965. description: 成交价格(价格)
  11966. type: number
  11967. tradeqty:
  11968. description: 成交数量(数量)
  11969. type: number
  11970. tradetime:
  11971. description: 成交时间
  11972. type: string
  11973. userid:
  11974. description: 用户id
  11975. type: integer
  11976. userinfotype:
  11977. description: 账户类型 1-个人 2-企业
  11978. type: integer
  11979. type: object
  11980. models.QhjMyTeamEx:
  11981. properties:
  11982. accountname:
  11983. description: 用户名称
  11984. type: string
  11985. accountstatus:
  11986. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  11987. type: integer
  11988. createtime:
  11989. description: 创建时间
  11990. type: string
  11991. mobile:
  11992. description: 手机号码
  11993. type: string
  11994. refereeuserid:
  11995. description: 推荐人id
  11996. type: integer
  11997. refernum:
  11998. description: 推荐码
  11999. type: string
  12000. subList:
  12001. items:
  12002. $ref: '#/definitions/models.QhjMyTeamEx'
  12003. type: array
  12004. userid:
  12005. description: 用户id
  12006. type: integer
  12007. userinfotype:
  12008. description: 用户类型 1-个人 2-企业
  12009. type: integer
  12010. type: object
  12011. models.QhjNodeAgreementConfig:
  12012. properties:
  12013. agreementcontent:
  12014. description: 协议内容
  12015. type: string
  12016. agreementid:
  12017. description: 协议ID
  12018. type: integer
  12019. agreementname:
  12020. description: 协议名称
  12021. type: string
  12022. agreementno:
  12023. description: 协议编号
  12024. type: string
  12025. agreementtype:
  12026. description: 协议类型 - 1:注册 2:登录 3:交易
  12027. type: integer
  12028. agreementversion:
  12029. description: 协议版本号
  12030. type: integer
  12031. configid:
  12032. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12033. type: integer
  12034. createtime:
  12035. description: 创建时间
  12036. type: string
  12037. goodsid:
  12038. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12039. type: integer
  12040. nodetype:
  12041. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12042. type: integer
  12043. type: object
  12044. models.QhjParentAreaList:
  12045. properties:
  12046. accountname:
  12047. description: 账户名称(机构名称)
  12048. type: string
  12049. userid:
  12050. description: 用户ID
  12051. type: integer
  12052. usertype:
  12053. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  12054. type: integer
  12055. type: object
  12056. models.QhjPayOrder:
  12057. properties:
  12058. advanceratio:
  12059. description: 首付比率
  12060. type: number
  12061. buyaccountid:
  12062. description: 买方账号ID[报价币种]
  12063. type: integer
  12064. buyorderid:
  12065. description: 买方委托单号
  12066. type: string
  12067. createtime:
  12068. description: 创建时间
  12069. type: string
  12070. decimalplace:
  12071. description: 商品报价小数位
  12072. type: integer
  12073. enumdicname:
  12074. description: 单位名称
  12075. type: string
  12076. goodscode:
  12077. description: 商品代码
  12078. type: string
  12079. goodsid:
  12080. description: 商品ID
  12081. type: integer
  12082. goodsname:
  12083. description: 商品名称
  12084. type: string
  12085. goodunitid:
  12086. description: 商品单位id
  12087. type: integer
  12088. marketid:
  12089. description: 市场ID
  12090. type: integer
  12091. offamount:
  12092. description: 优惠金额
  12093. type: number
  12094. operatetype:
  12095. description: 买委托操作类型 - 1:正常下单 16:融资买入
  12096. type: integer
  12097. payamount:
  12098. description: 支付金额
  12099. type: number
  12100. payflag:
  12101. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  12102. type: integer
  12103. paylimitedtime:
  12104. description: 支付期限
  12105. type: string
  12106. paytime:
  12107. description: 付款时间
  12108. type: string
  12109. qtydecimalplace:
  12110. description: 成交量小数位
  12111. type: integer
  12112. sellaccountid:
  12113. description: 卖方账号ID[报价币种]
  12114. type: integer
  12115. sellorderid:
  12116. description: 卖方委托单号
  12117. type: string
  12118. tradeamount:
  12119. description: 成交金额(优惠后金额)
  12120. type: number
  12121. tradecharge:
  12122. description: 成交手续费(买方)
  12123. type: number
  12124. tradedate:
  12125. description: 交易日(yyyyMMdd)
  12126. type: string
  12127. tradeid:
  12128. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12129. type: string
  12130. tradeprice:
  12131. description: 成交价格
  12132. type: number
  12133. tradeqty:
  12134. description: 成交数量
  12135. type: number
  12136. type: object
  12137. models.QhjPickArea:
  12138. properties:
  12139. address:
  12140. description: 详细地址
  12141. type: string
  12142. cityid:
  12143. description: 市
  12144. type: integer
  12145. cityname:
  12146. description: 城市名称
  12147. type: string
  12148. countryid:
  12149. description: 国家
  12150. type: integer
  12151. countryname:
  12152. description: 国家名称
  12153. type: string
  12154. districtid:
  12155. description: 地区
  12156. type: integer
  12157. districtname:
  12158. description: 地区名称
  12159. type: string
  12160. fromuserid:
  12161. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  12162. type: integer
  12163. fromusername:
  12164. description: 所属机构名称
  12165. type: string
  12166. provinceid:
  12167. description: 省
  12168. type: integer
  12169. provincename:
  12170. description: 省名称
  12171. type: string
  12172. suborgtype:
  12173. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  12174. type: integer
  12175. userid:
  12176. description: 机构用户ID 其他做市关系,都设置为 1
  12177. type: integer
  12178. username:
  12179. description: 机构用户名称(门店门称)
  12180. type: string
  12181. type: object
  12182. models.QhjPickGoods:
  12183. properties:
  12184. enumdicname:
  12185. description: 单位名称(提货商品)
  12186. type: string
  12187. goodsid:
  12188. description: 商品id
  12189. type: integer
  12190. imageaddress:
  12191. description: 图片
  12192. type: string
  12193. modifierid:
  12194. description: 修改人
  12195. type: integer
  12196. modifiername:
  12197. description: 修改人名称
  12198. type: string
  12199. modifysrc:
  12200. description: 修改来源 - 1:管理端 2:终端
  12201. type: integer
  12202. pickupgoodsagreeunit:
  12203. description: 合约乘数
  12204. type: number
  12205. pickupgoodsdesc:
  12206. description: 描述
  12207. type: string
  12208. pickupgoodsid:
  12209. description: 提货商品ID
  12210. type: string
  12211. pickupgoodsname:
  12212. description: 提货商品名称
  12213. type: string
  12214. pickupgoodsstatus:
  12215. description: 状态 - 1:正常 2:停用 3:注销
  12216. type: integer
  12217. pickupgoodsunitid:
  12218. description: 单位ID
  12219. type: integer
  12220. pickupratio:
  12221. description: 提货系数
  12222. type: number
  12223. preparedays:
  12224. description: 备货期(天)
  12225. type: integer
  12226. remark:
  12227. description: 备注
  12228. type: string
  12229. updatetime:
  12230. description: 更新时间
  12231. type: string
  12232. type: object
  12233. models.QhjRSTriggerLog:
  12234. properties:
  12235. accountid:
  12236. description: 用户资金账户
  12237. type: integer
  12238. accountname:
  12239. description: 账号名称(ACCOUNTID对应的名称)
  12240. type: string
  12241. currencyid:
  12242. description: 币种id
  12243. type: integer
  12244. currencyname:
  12245. description: 币种名称
  12246. type: string
  12247. decimalplace:
  12248. description: 商品报价小数位
  12249. type: integer
  12250. enumdicname:
  12251. description: 单位名称
  12252. type: string
  12253. goodscode:
  12254. description: 定投商品代码
  12255. type: string
  12256. goodsid:
  12257. description: 定投商品ID
  12258. type: integer
  12259. goodsname:
  12260. description: 定投商品名称
  12261. type: string
  12262. goodunitid:
  12263. description: 定投商品单位id
  12264. type: integer
  12265. logid:
  12266. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  12267. type: string
  12268. logincode:
  12269. description: 账号(登录代码)
  12270. type: string
  12271. qtydecimalplace:
  12272. description: 成交量小数位
  12273. type: integer
  12274. regularlycycle:
  12275. description: 定投频率 - 1:每周 2:每月
  12276. type: integer
  12277. regularlycyclevalue:
  12278. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  12279. type: string
  12280. regularlymode:
  12281. description: 定投方式 - 1:按数量 2:按金额
  12282. type: integer
  12283. regularlymodevalue:
  12284. description: 定投方式值 - 数量或金额
  12285. type: number
  12286. regularlystrategyid:
  12287. description: 定投策略ID
  12288. type: integer
  12289. retcode:
  12290. description: 错误码
  12291. type: string
  12292. tradeid:
  12293. description: 成交单ID
  12294. type: string
  12295. triggeramount:
  12296. description: 触发金额
  12297. type: number
  12298. triggerqty:
  12299. description: 触发数量
  12300. type: number
  12301. triggerstatus:
  12302. description: 触发状态 - 1:成功 2:失败
  12303. type: integer
  12304. triggertime:
  12305. description: 触发时间
  12306. type: string
  12307. triggertradedate:
  12308. description: 触发交易日
  12309. type: string
  12310. userid:
  12311. description: 所属用户ID
  12312. type: integer
  12313. userinfotype:
  12314. description: 用户类型 1-个人 2-企业
  12315. type: integer
  12316. username:
  12317. description: 用户名称(userid对应的名称)
  12318. type: string
  12319. type: object
  12320. models.QhjRStrategy:
  12321. properties:
  12322. accountid:
  12323. description: 用户资金账户
  12324. type: integer
  12325. accountname:
  12326. description: 账号名称(ACCOUNTID对应的名称)
  12327. type: string
  12328. currencyid:
  12329. description: 币种id
  12330. type: integer
  12331. currencyname:
  12332. description: 币种名称
  12333. type: string
  12334. decimalplace:
  12335. description: 商品报价小数位
  12336. type: integer
  12337. enumdicname:
  12338. description: 单位名称
  12339. type: string
  12340. goodscode:
  12341. description: 定投商品代码
  12342. type: string
  12343. goodsid:
  12344. description: 定投商品ID
  12345. type: integer
  12346. goodsname:
  12347. description: 定投商品名称
  12348. type: string
  12349. goodunitid:
  12350. description: 定投商品单位id
  12351. type: integer
  12352. lasteffecttradedate:
  12353. description: 最新生效交易日
  12354. type: string
  12355. laststoptradedate:
  12356. description: 最新暂停交易日
  12357. type: string
  12358. lasttriggertradedate:
  12359. description: 最新触发交易日
  12360. type: string
  12361. logincode:
  12362. description: 账号(登录代码)
  12363. type: string
  12364. nexttriggeramount:
  12365. description: 下次触发金额
  12366. type: number
  12367. nexttriggerdate:
  12368. description: 下次触发日期
  12369. type: string
  12370. nexttriggerqty:
  12371. description: 下次触发数量 [按小数位放大值]
  12372. type: number
  12373. qtydecimalplace:
  12374. description: 成交量小数位
  12375. type: integer
  12376. regularlycycle:
  12377. description: 定投频率 - 1:每周 2:每月
  12378. type: integer
  12379. regularlycyclevalue:
  12380. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  12381. type: string
  12382. regularlymode:
  12383. description: 定投方式 - 1:按数量 2:按金额
  12384. type: integer
  12385. regularlymodevalue:
  12386. description: 定投方式值 - 数量或金额
  12387. type: number
  12388. regularlystrategyid:
  12389. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  12390. type: integer
  12391. regularlystrategystatus:
  12392. description: 策略状态 - 1:正常 2:暂停 3:终止
  12393. type: integer
  12394. remark:
  12395. description: 备注
  12396. type: string
  12397. triggersuccesstimes:
  12398. description: 累计定投成功次数
  12399. type: string
  12400. triggertotalamount:
  12401. description: 累计定投金额(成功)
  12402. type: number
  12403. triggertotalqty:
  12404. description: 累计定投数量(成功) [按小数位放大值]
  12405. type: number
  12406. triggertotaltimes:
  12407. description: 累计定投总次数
  12408. type: string
  12409. updatesrc:
  12410. description: 更新来源 - 1:管理端 2:终端
  12411. type: integer
  12412. updatetime:
  12413. description: 更新时间
  12414. type: string
  12415. updatorid:
  12416. description: 更新人
  12417. type: string
  12418. userid:
  12419. description: 所属用户ID
  12420. type: integer
  12421. userinfotype:
  12422. description: 用户类型 1-个人 2-企业
  12423. type: integer
  12424. username:
  12425. description: 用户名称(userid对应的名称)
  12426. type: string
  12427. type: object
  12428. models.QhjReckonPriceLog:
  12429. properties:
  12430. decimalplace:
  12431. description: 商品报价小数位
  12432. type: integer
  12433. goodscode:
  12434. description: 商品代码
  12435. type: string
  12436. goodsid:
  12437. description: 商品ID
  12438. type: integer
  12439. goodsname:
  12440. description: 商品名称
  12441. type: string
  12442. lastreckonprice:
  12443. description: 上日结算价
  12444. type: number
  12445. nextdnlimitprice:
  12446. description: 下个交易日跌停价
  12447. type: number
  12448. nexttrade:
  12449. description: 下个交易日
  12450. type: string
  12451. nextuplimitprice:
  12452. description: 下个交易日涨停价
  12453. type: number
  12454. reckonprice:
  12455. description: 今日结算价(定投价)
  12456. type: number
  12457. reckontime:
  12458. description: 结算时间
  12459. type: string
  12460. totalholderqty:
  12461. description: 总持仓数
  12462. type: integer
  12463. totalstock:
  12464. description: 总库存
  12465. type: integer
  12466. tradedate:
  12467. description: 交易日
  12468. type: string
  12469. updowncount:
  12470. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  12471. type: integer
  12472. updownflag:
  12473. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  12474. type: integer
  12475. updownrate:
  12476. description: 今日涨跌幅
  12477. type: number
  12478. updownrate_2d:
  12479. description: 连续两日涨跌幅
  12480. type: number
  12481. updownrate_3d:
  12482. description: 连续三日涨跌幅
  12483. type: number
  12484. type: object
  12485. models.QhjScoreLog:
  12486. properties:
  12487. accountid:
  12488. description: 账户ID
  12489. type: integer
  12490. createtime:
  12491. description: 创建时间(时间)
  12492. type: string
  12493. goodsid:
  12494. description: 商品ID
  12495. type: integer
  12496. hasuploaded:
  12497. description: 是否已同步(千海金) 0:未同步 1;已同步
  12498. type: integer
  12499. logid:
  12500. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12501. type: string
  12502. marketid:
  12503. description: 市场ID
  12504. type: integer
  12505. relatedamount:
  12506. description: 关联金额
  12507. type: number
  12508. relatedorderid:
  12509. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  12510. type: string
  12511. scoreconfigvalue1:
  12512. description: 积分配置1
  12513. type: integer
  12514. scoreconfigvalue2:
  12515. description: 积分配置1
  12516. type: integer
  12517. scoretype:
  12518. description: 积分类型 - 1:提货积分
  12519. type: integer
  12520. scorevalue:
  12521. description: 积分
  12522. type: number
  12523. tradedate:
  12524. description: 交易日(yyyyMMdd)
  12525. type: string
  12526. uploadedtime:
  12527. description: 同步时间
  12528. type: string
  12529. userid:
  12530. description: 用户ID
  12531. type: integer
  12532. type: object
  12533. models.QhjSiteColumnDetail:
  12534. properties:
  12535. author:
  12536. description: 作者
  12537. type: string
  12538. brief:
  12539. description: 简介
  12540. type: string
  12541. columnid:
  12542. description: 所属栏目
  12543. type: integer
  12544. context:
  12545. description: 内容
  12546. type: string
  12547. coverimage:
  12548. description: 封面图片
  12549. type: string
  12550. creaedate:
  12551. description: 创建时间
  12552. type: string
  12553. creatorid:
  12554. description: 创建人
  12555. type: integer
  12556. hits:
  12557. description: 点击数
  12558. type: integer
  12559. id:
  12560. description: ID(SEQ_SITE_COLUMNDETAIL)
  12561. type: integer
  12562. isshow:
  12563. description: 是否展示 - 0:不展示 1:展示
  12564. type: integer
  12565. istop:
  12566. description: 是否置顶 - 0:不置 1:置顶
  12567. type: integer
  12568. modifierid:
  12569. description: 操作人
  12570. type: integer
  12571. publishdate:
  12572. description: 发布日期
  12573. type: string
  12574. status:
  12575. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  12576. type: integer
  12577. title:
  12578. description: 标题
  12579. type: string
  12580. updatedate:
  12581. description: 修改时间
  12582. type: string
  12583. userid:
  12584. description: 用户ID(默认为0, 核心为为机构用户ID)
  12585. type: integer
  12586. username:
  12587. description: 用户名称
  12588. type: string
  12589. type: object
  12590. models.QhjTeamOrder:
  12591. properties:
  12592. accountid:
  12593. description: 账户ID[报价币种]
  12594. type: integer
  12595. accountname:
  12596. description: 账户名称
  12597. type: string
  12598. agreeunit:
  12599. description: 合约乘数
  12600. type: number
  12601. buyorsell:
  12602. description: 方向 - 0:买 1:卖
  12603. type: integer
  12604. decimalplace:
  12605. description: 报价小数位
  12606. type: integer
  12607. enumdicname:
  12608. description: 单位名称
  12609. type: string
  12610. goodscode:
  12611. description: 商品代码(内部)
  12612. type: string
  12613. goodsid:
  12614. description: 商品ID
  12615. type: integer
  12616. goodsname:
  12617. description: 商品名称
  12618. type: string
  12619. goodunitid:
  12620. description: 报价单位ID
  12621. type: integer
  12622. marketid:
  12623. description: 市场ID
  12624. type: integer
  12625. marketname:
  12626. description: 市场名称
  12627. type: string
  12628. qtydecimalplace:
  12629. description: 成交量小数位
  12630. type: integer
  12631. refereeuserid:
  12632. description: 推荐人ID
  12633. type: integer
  12634. tradeamount:
  12635. description: 成交金额[账户币种,用于所有权]
  12636. type: number
  12637. tradedate:
  12638. description: 交易日(yyyyMMdd)
  12639. type: string
  12640. trademode:
  12641. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  12642. type: integer
  12643. tradeprice:
  12644. description: 成交价格
  12645. type: number
  12646. tradeqty:
  12647. description: 成交数量
  12648. type: number
  12649. tradetime:
  12650. description: 成交时间
  12651. type: string
  12652. userid:
  12653. description: 用户ID
  12654. type: integer
  12655. type: object
  12656. models.QhjTradeGoodsPickup:
  12657. properties:
  12658. accountid:
  12659. description: 账户ID
  12660. type: integer
  12661. address:
  12662. description: 提货人详细地址
  12663. type: string
  12664. amount:
  12665. description: 提货金额
  12666. type: number
  12667. artradedate:
  12668. description: 自动收货交易日(yyyyMMdd)
  12669. type: string
  12670. auditer:
  12671. description: 审核人
  12672. type: integer
  12673. auditsrc:
  12674. description: 更新来源 - 1:管理端 2:终端
  12675. type: integer
  12676. audittime:
  12677. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  12678. type: string
  12679. audittradedate:
  12680. description: 审核交易日(yyyyMMdd)
  12681. type: string
  12682. cardnum:
  12683. description: 提货人证件号码
  12684. type: string
  12685. cardtypeid:
  12686. description: 提货人证件类型
  12687. type: integer
  12688. checkremark:
  12689. description: 审核备注
  12690. type: string
  12691. cityid:
  12692. description: 市
  12693. type: integer
  12694. cityname:
  12695. description: 城市名称
  12696. type: string
  12697. confirmtime:
  12698. description: 取货时间 或 收货时间
  12699. type: string
  12700. countryid:
  12701. description: 国家
  12702. type: integer
  12703. countryname:
  12704. description: 国家名称
  12705. type: string
  12706. decimalplace:
  12707. description: 商品报价小数位
  12708. type: integer
  12709. districtid:
  12710. description: 地区
  12711. type: integer
  12712. districtname:
  12713. description: 地区名称
  12714. type: string
  12715. enumdicname:
  12716. description: 单位名称(提货商品)
  12717. type: string
  12718. expresscompany:
  12719. description: 物流公司
  12720. type: string
  12721. expressnum:
  12722. description: 物流单号
  12723. type: string
  12724. goodsagreeunit:
  12725. description: 交易商品乘数
  12726. type: number
  12727. goodscode:
  12728. description: 商品代码
  12729. type: string
  12730. goodsid:
  12731. description: 商品ID
  12732. type: integer
  12733. goodsname:
  12734. description: 商品名称
  12735. type: string
  12736. goodsqty:
  12737. description: 交易商品手数(69模式按成交量小数位放大取整)
  12738. type: number
  12739. handlestatus:
  12740. description: 处理状态
  12741. type: integer
  12742. logincode:
  12743. description: 账号(登录代码, 有可能为空)
  12744. type: string
  12745. marketid:
  12746. description: 市场ID
  12747. type: integer
  12748. phonenum:
  12749. description: 提货人联系方式
  12750. type: string
  12751. pickupgoodsagreeunit:
  12752. description: 提货商品合约乘数
  12753. type: number
  12754. pickupgoodsid:
  12755. description: 提货商品ID
  12756. type: string
  12757. pickupgoodsname:
  12758. description: 提货商品名称
  12759. type: string
  12760. pickupgoodsqty:
  12761. description: 提货商品手数(数量)
  12762. type: number
  12763. pickupgoodsunitid:
  12764. description: 单位ID(提货商品)
  12765. type: integer
  12766. pickupratio:
  12767. description: 提货系数
  12768. type: number
  12769. preparedays:
  12770. description: 备货期(天)-提货单明细表
  12771. type: integer
  12772. provinceid:
  12773. description: 省
  12774. type: integer
  12775. provincename:
  12776. description: 省名称
  12777. type: string
  12778. qty:
  12779. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  12780. type: number
  12781. qtydecimalplace:
  12782. description: 商品数量小数位
  12783. type: integer
  12784. recivername:
  12785. description: 提货人姓名
  12786. type: string
  12787. reqtime:
  12788. description: 提货申请时间
  12789. type: string
  12790. storeuserid:
  12791. description: 门店用户ID (千海金)
  12792. type: integer
  12793. storeusername:
  12794. description: 门店用户名称
  12795. type: string
  12796. takemode:
  12797. description: 提货方式 - 2:自提 3:配送(邮寄)
  12798. type: integer
  12799. takeorderid:
  12800. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  12801. type: string
  12802. takeorderstatus:
  12803. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销
  12804. type: integer
  12805. takeremark:
  12806. description: 提货备注
  12807. type: string
  12808. tradedate:
  12809. description: 交易日(yyyyMMdd)
  12810. type: string
  12811. updatetime:
  12812. description: 更新时间
  12813. type: string
  12814. userid:
  12815. description: 用户ID
  12816. type: integer
  12817. userinfotype:
  12818. description: 客户类型 1-个人 2-企业
  12819. type: integer
  12820. username:
  12821. description: 用户名称
  12822. type: string
  12823. type: object
  12824. models.QhjUserNodeCfgAndStatus:
  12825. properties:
  12826. agreementcontent:
  12827. description: 协议内容
  12828. type: string
  12829. agreementid:
  12830. description: 协议ID
  12831. type: integer
  12832. agreementname:
  12833. description: 协议名称
  12834. type: string
  12835. agreementno:
  12836. description: 协议编号
  12837. type: string
  12838. agreementtype:
  12839. description: 协议类型 - 1:注册 2:登录 3:交易
  12840. type: integer
  12841. agreementversion:
  12842. description: 协议版本号
  12843. type: integer
  12844. configid:
  12845. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12846. type: integer
  12847. createtime:
  12848. description: 创建时间
  12849. type: string
  12850. goodsid:
  12851. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12852. type: integer
  12853. nodetype:
  12854. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12855. type: integer
  12856. signtimestamp:
  12857. description: 签约状态时间戳(最近一次)
  12858. type: string
  12859. tradedate:
  12860. description: 签约交易日(yyyyMMdd)
  12861. type: string
  12862. userid:
  12863. description: 客户ID
  12864. type: integer
  12865. type: object
  12866. models.Qhjgoodsex:
  12867. properties:
  12868. canfinance:
  12869. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  12870. type: integer
  12871. canregularlybuy:
  12872. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  12873. type: integer
  12874. defaulttradeuserid:
  12875. description: 默认交易用户ID
  12876. type: integer
  12877. deliverygoodsid:
  12878. description: 现货品种ID
  12879. type: integer
  12880. goodsid:
  12881. description: 商品ID(自增ID SEQ_GOODS)
  12882. type: integer
  12883. minamount:
  12884. description: 最小购买金额
  12885. type: number
  12886. regularlybuyminamount:
  12887. description: 定投最小金额
  12888. type: number
  12889. regularlybuyminqty:
  12890. description: 定投最小数量
  12891. type: number
  12892. spotgoodsbrandid:
  12893. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  12894. type: integer
  12895. visibilityforenterprise:
  12896. description: 企业客户是否可见 - 0:不可见 1:可见
  12897. type: integer
  12898. visibilityforpersonal:
  12899. description: 个人客户是否可见 - 0:不可见 1:可见
  12900. type: integer
  12901. wrstandardid:
  12902. description: 现货商品ID
  12903. type: integer
  12904. type: object
  12905. models.QueryErrorInfosRsp:
  12906. properties:
  12907. description:
  12908. description: 异常描述
  12909. type: string
  12910. errorcode:
  12911. description: 异常代码
  12912. type: string
  12913. errorid:
  12914. description: 异常ID
  12915. type: integer
  12916. modulecode:
  12917. description: 所属模块
  12918. type: string
  12919. operatecode:
  12920. description: 所属操作
  12921. type: string
  12922. rownumber:
  12923. description: 行号
  12924. type: string
  12925. required:
  12926. - errorid
  12927. type: object
  12928. models.QueryHedgeOrderDetailRsp:
  12929. properties:
  12930. accountid:
  12931. description: 账户ID
  12932. type: integer
  12933. buyorsell:
  12934. description: 买卖 - 0:买 1:卖
  12935. type: integer
  12936. cancellogincode:
  12937. description: 撤单人
  12938. type: string
  12939. channelbuildtype:
  12940. description: 开平标志 - 0:无 1:建仓 2:平仓
  12941. type: integer
  12942. channelinnerorderstatus:
  12943. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交
  12944. type: integer
  12945. channeloperatetype:
  12946. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  12947. type: integer
  12948. closetype:
  12949. description: 平仓方式 - 0:无 1:平今 2:平昨
  12950. type: integer
  12951. curexchangerate:
  12952. description: 当前汇率
  12953. type: number
  12954. exchangefullname:
  12955. description: 外部交易所全称
  12956. type: string
  12957. goodscode:
  12958. description: 商品代码(内部)
  12959. type: string
  12960. goodsid:
  12961. description: 商品ID
  12962. type: integer
  12963. goodsname:
  12964. description: 商品名称
  12965. type: string
  12966. marketid:
  12967. description: 市场ID
  12968. type: integer
  12969. openfreezemargin:
  12970. description: 冻结保证金(冻结交易金额)
  12971. type: number
  12972. orderid:
  12973. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12974. type: string
  12975. orderlogincode:
  12976. description: 委托人
  12977. type: string
  12978. orderprice:
  12979. description: 委托价格(账户)
  12980. type: number
  12981. orderqty:
  12982. description: 委托数量
  12983. type: integer
  12984. ordertime:
  12985. description: 委托时间
  12986. type: string
  12987. pricemode:
  12988. description: '取价方式 - 1:市价 2: 限价'
  12989. type: integer
  12990. tradedate:
  12991. description: 交易日(yyyyMMdd)
  12992. type: string
  12993. tradeqty:
  12994. description: 成交数量
  12995. type: integer
  12996. type: object
  12997. models.QueryHedgeTradeDetailRsp:
  12998. properties:
  12999. accountid:
  13000. description: 账号ID
  13001. type: integer
  13002. buyorsell:
  13003. description: 方向 - 0:买 1:卖
  13004. type: integer
  13005. channelbuildtype:
  13006. description: 委托单据类型 0:无 1:建仓 2:平仓
  13007. type: integer
  13008. closecharge:
  13009. description: 平仓手续费(账户)
  13010. type: number
  13011. closecharge2:
  13012. description: 平仓手续费(商品)
  13013. type: number
  13014. closepl:
  13015. description: 平仓盈亏(账户)
  13016. type: number
  13017. closepl2:
  13018. description: 平仓盈亏(商品)
  13019. type: number
  13020. closepl3:
  13021. description: 平仓盈亏(账户)(逐笔)
  13022. type: number
  13023. closepl4:
  13024. description: 平仓盈亏(商品)(逐笔)
  13025. type: number
  13026. closetype:
  13027. description: 平仓方式 - 0:无 1:平今 2:平昨
  13028. type: integer
  13029. curexchangerate:
  13030. description: 当前汇率
  13031. type: number
  13032. exchangefullname:
  13033. description: 外部交易所全称
  13034. type: string
  13035. goodscode:
  13036. description: 商品代码(内部)
  13037. type: string
  13038. goodsid:
  13039. description: 商品ID
  13040. type: integer
  13041. goodsname:
  13042. description: 商品名称
  13043. type: string
  13044. marketid:
  13045. description: 市场ID
  13046. type: integer
  13047. opencharge:
  13048. description: 建仓手续费(账户)
  13049. type: number
  13050. opencharge2:
  13051. description: 建仓手续费(商品)
  13052. type: number
  13053. orderid:
  13054. description: 委托单号
  13055. type: string
  13056. orderlogincode:
  13057. description: 委托人
  13058. type: string
  13059. tradeamount:
  13060. description: 成交金额(账户)
  13061. type: number
  13062. tradedate:
  13063. description: 交易日(yyyyMMdd)
  13064. type: string
  13065. tradeid:
  13066. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13067. type: string
  13068. tradeprice:
  13069. description: 成交价格
  13070. type: number
  13071. tradeqty:
  13072. description: 成交数量
  13073. type: integer
  13074. tradetime:
  13075. description: 成交时间
  13076. type: string
  13077. tradetype:
  13078. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  13079. type: integer
  13080. type: object
  13081. models.QuotePrimaryMenu:
  13082. properties:
  13083. Index:
  13084. description: 序号
  13085. type: integer
  13086. Key:
  13087. description: 键名
  13088. type: string
  13089. Name:
  13090. description: 菜单名称
  13091. type: string
  13092. SubMenus:
  13093. description: 子菜单
  13094. items:
  13095. $ref: '#/definitions/models.QuoteSecondaryMenu'
  13096. type: array
  13097. SubTitleType:
  13098. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  13099. type: integer
  13100. TradeModes:
  13101. description: 包含市场交易类型
  13102. type: string
  13103. type: object
  13104. models.QuoteSecondaryMenu:
  13105. properties:
  13106. ExExchangeCode:
  13107. description: 外部交易所代码
  13108. type: string
  13109. ExExchangeID:
  13110. description: 外部交易所ID
  13111. type: integer
  13112. GoodsGroupIDs:
  13113. description: 商品组ID列表
  13114. items:
  13115. type: integer
  13116. type: array
  13117. Index:
  13118. description: 序号
  13119. type: integer
  13120. MarketID:
  13121. description: 市场ID
  13122. type: integer
  13123. MenuTitle:
  13124. description: 菜单标题(市场名称或外部交易所名称)
  13125. type: string
  13126. TradeMode:
  13127. description: 交易模式
  13128. type: integer
  13129. type: object
  13130. models.RoleMenu:
  13131. properties:
  13132. hasright:
  13133. description: 是否有权限 0-没有权限 1-有权限
  13134. type: integer
  13135. iconame:
  13136. description: 菜单图标
  13137. type: string
  13138. menutype:
  13139. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  13140. type: integer
  13141. parentcode:
  13142. description: 上级资源代码
  13143. type: string
  13144. remark:
  13145. description: 菜单备注
  13146. type: string
  13147. resourcecode:
  13148. description: 菜单代码
  13149. type: string
  13150. resourcelevel:
  13151. description: 级别
  13152. type: integer
  13153. resourcename:
  13154. description: 菜单名称
  13155. type: string
  13156. roleid:
  13157. description: 角色id
  13158. type: integer
  13159. sort:
  13160. description: 排序
  13161. type: integer
  13162. subMenu:
  13163. description: 子级菜单(结构同上层一样, swag解析不出来)
  13164. items:
  13165. $ref: '#/definitions/models.RoleMenu'
  13166. type: array
  13167. url:
  13168. description: URL
  13169. type: string
  13170. userid:
  13171. description: 用户id
  13172. type: integer
  13173. type: object
  13174. models.SearchGoods:
  13175. properties:
  13176. goodscode:
  13177. description: 商品代码(内部)
  13178. type: string
  13179. goodsid:
  13180. description: 商品ID(自增ID SEQ_GOODS)
  13181. type: integer
  13182. goodsname:
  13183. description: 商品名称
  13184. type: string
  13185. marketid:
  13186. description: 所属市场ID
  13187. type: integer
  13188. marketname:
  13189. description: 市场名称
  13190. type: string
  13191. trademode:
  13192. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  13193. type: integer
  13194. required:
  13195. - goodscode
  13196. - goodsid
  13197. - goodsname
  13198. - marketid
  13199. - trademode
  13200. type: object
  13201. models.Systemparam:
  13202. properties:
  13203. loginid:
  13204. description: 更新用户账号,登录账号
  13205. type: string
  13206. modifyflag:
  13207. description: 修改标志0 不允许修改 1 允许修改
  13208. type: integer
  13209. paramcode:
  13210. description: 参数代码
  13211. type: string
  13212. paramname:
  13213. description: 参数名
  13214. type: string
  13215. paramtype:
  13216. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  13217. type: integer
  13218. paramvalue:
  13219. description: 参数值
  13220. type: string
  13221. paramvalue2:
  13222. description: 参数值(CLOB)
  13223. type: string
  13224. regexpress:
  13225. description: 正则表达式
  13226. type: string
  13227. remark:
  13228. description: 备注
  13229. type: string
  13230. serverip:
  13231. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  13232. type: string
  13233. showflag:
  13234. description: 是否显示0 不显示 1 显示
  13235. type: integer
  13236. updatetime:
  13237. description: 更新时间
  13238. type: string
  13239. userid:
  13240. description: 更新用户ID
  13241. type: integer
  13242. required:
  13243. - paramcode
  13244. type: object
  13245. models.Szdz3convertconfig:
  13246. properties:
  13247. canin:
  13248. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  13249. type: integer
  13250. canout:
  13251. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  13252. type: integer
  13253. converttype:
  13254. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)
  13255. type: integer
  13256. createtime:
  13257. description: 创建时间
  13258. type: string
  13259. creatorid:
  13260. description: 创建人
  13261. type: integer
  13262. daymaxvalue:
  13263. description: 当日最大转入限制
  13264. type: number
  13265. freezedays:
  13266. description: 冻结天数 [5:花生米转交易]
  13267. type: integer
  13268. innergoodsid:
  13269. description: 内部商品ID[交易]
  13270. type: integer
  13271. inratio:
  13272. description: 目标值
  13273. type: integer
  13274. modifierid:
  13275. description: 修改人
  13276. type: integer
  13277. modifytime:
  13278. description: 修改时间
  13279. type: string
  13280. outergoodscode:
  13281. description: 外部商品代码[JD\PD]
  13282. type: string
  13283. outratio:
  13284. description: 源值
  13285. type: integer
  13286. pddecimalplace:
  13287. description: PD小数位
  13288. type: integer
  13289. timemaxvalue:
  13290. description: 单次最大转入限制
  13291. type: number
  13292. timeminvalue:
  13293. description: 单次最小转入限制
  13294. type: number
  13295. required:
  13296. - converttype
  13297. - innergoodsid
  13298. - outergoodscode
  13299. type: object
  13300. models.Szdz3searchwhitelist:
  13301. properties:
  13302. createtime:
  13303. description: 创建时间
  13304. type: string
  13305. creatorid:
  13306. description: 创建人
  13307. type: integer
  13308. modifierid:
  13309. description: 修改人
  13310. type: integer
  13311. modifytime:
  13312. description: 修改时间
  13313. type: string
  13314. userid:
  13315. description: 用户ID
  13316. type: integer
  13317. required:
  13318. - userid
  13319. type: object
  13320. models.TBGoods:
  13321. properties:
  13322. agreeunit:
  13323. description: 合约乘数
  13324. type: number
  13325. enumdicname:
  13326. description: 单位名称
  13327. type: string
  13328. goodscode:
  13329. description: 商品代码(内部)
  13330. type: string
  13331. goodsid:
  13332. description: 商品ID(自增ID SEQ_GOODS)
  13333. type: integer
  13334. goodsname:
  13335. description: 商品名称
  13336. type: string
  13337. type: object
  13338. models.TBGoodsGroup:
  13339. properties:
  13340. GDLST:
  13341. description: 商品列表
  13342. items:
  13343. $ref: '#/definitions/models.TBGoods'
  13344. type: array
  13345. convertratio:
  13346. description: 折算系数
  13347. type: number
  13348. enumdicname:
  13349. description: 单位名称
  13350. type: string
  13351. exexchangecode:
  13352. description: 交易所代码
  13353. type: string
  13354. exexchangename:
  13355. description: 交易所名称
  13356. type: string
  13357. goodsgroupid:
  13358. description: 商品组ID(自增ID)
  13359. type: integer
  13360. goodsgroupname:
  13361. description: 商品组名称
  13362. type: string
  13363. goodunitid:
  13364. description: 报价单位ID
  13365. type: integer
  13366. type: object
  13367. models.TBMiddleGoods:
  13368. properties:
  13369. GPLST:
  13370. description: 期货品种列表
  13371. items:
  13372. $ref: '#/definitions/models.TBGoodsGroup'
  13373. type: array
  13374. WDLST:
  13375. description: 商品信息列表(现货品类)
  13376. items:
  13377. $ref: '#/definitions/models.TBWrstandard'
  13378. type: array
  13379. areauserid:
  13380. description: 机构用户ID
  13381. type: integer
  13382. enumdicname:
  13383. description: 单位名称
  13384. type: string
  13385. goodsunitid:
  13386. description: 套保品种单位id
  13387. type: integer
  13388. middlegoodscode:
  13389. description: 套保品种代码
  13390. type: string
  13391. middlegoodsid:
  13392. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  13393. type: integer
  13394. middlegoodsname:
  13395. description: 套保品种名称
  13396. type: string
  13397. needarbitrageratio:
  13398. description: 套利比率
  13399. type: number
  13400. needhedgeratio:
  13401. description: 套保比率
  13402. type: number
  13403. type: object
  13404. models.TBWrstandard:
  13405. properties:
  13406. convertratio:
  13407. description: 折算系数
  13408. type: number
  13409. deliverygoodsname:
  13410. description: 品种名称
  13411. type: string
  13412. enumdicname:
  13413. description: 单位名称
  13414. type: string
  13415. vatrate:
  13416. description: 增值税率
  13417. type: number
  13418. wrstandardcode:
  13419. description: 现货商品代码
  13420. type: string
  13421. wrstandardid:
  13422. description: 现货商品ID(SEQ_WRSTANDARD)
  13423. type: integer
  13424. wrstandardname:
  13425. description: 现货商品名称
  13426. type: string
  13427. type: object
  13428. models.Taaccount:
  13429. properties:
  13430. accountflag:
  13431. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  13432. type: integer
  13433. accountid:
  13434. description: 资金账户ID
  13435. type: integer
  13436. accountname:
  13437. description: 账户名称
  13438. type: string
  13439. balance:
  13440. description: 期初余额
  13441. type: number
  13442. capitalbalance:
  13443. description: 本金余额[外部子账户实际出入金余额]
  13444. type: number
  13445. changeflag:
  13446. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  13447. type: integer
  13448. changetime:
  13449. description: 账户状态变更时间
  13450. type: string
  13451. closepl:
  13452. description: 今日平仓盈亏
  13453. type: number
  13454. creditdecrease:
  13455. description: 今日授信减少
  13456. type: number
  13457. creditincrease:
  13458. description: 今日授信增加
  13459. type: number
  13460. curamount:
  13461. description: 总市值(从持仓中统计)
  13462. type: number
  13463. currencyid:
  13464. description: 货币ID
  13465. type: integer
  13466. currentbalance:
  13467. description: 期末余额
  13468. type: number
  13469. freezecharge:
  13470. description: 手续费冻结
  13471. type: number
  13472. freezemargin:
  13473. description: 冻结保证金
  13474. type: number
  13475. fromaccountid:
  13476. description: 所属上级账户
  13477. type: integer
  13478. inamount:
  13479. description: 今日入金金额(包括三方入金)
  13480. type: number
  13481. ismain:
  13482. description: 是否母账号 0:不是母账户 1:是母账户
  13483. type: integer
  13484. ismarketaccount:
  13485. description: 是否机构接单账号 0:不是 1:是
  13486. type: integer
  13487. isreckonaccount:
  13488. description: 是否机构分润账号 0:不是 1:是
  13489. type: integer
  13490. mortgagecredit:
  13491. description: 授信金额
  13492. type: number
  13493. orifreezecharge:
  13494. description: 期初手续费冻结
  13495. type: number
  13496. orifreezemargin:
  13497. description: 期初冻结保证金
  13498. type: number
  13499. orimortgagecredit:
  13500. description: 期初授信金额
  13501. type: number
  13502. oriothercredit:
  13503. description: 期初其它授信金额
  13504. type: number
  13505. oriotherfreezemargin:
  13506. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  13507. type: number
  13508. orioutamountfreeze:
  13509. description: 期初出金冻结
  13510. type: number
  13511. oriusedmargin:
  13512. description: 期初占用保证金
  13513. type: number
  13514. othercredit:
  13515. description: 其它授信金额
  13516. type: number
  13517. othercreditdecrease:
  13518. description: 今日其它授信减少
  13519. type: number
  13520. othercreditincrease:
  13521. description: 今日其它授信增加
  13522. type: number
  13523. otherfreezemargin:
  13524. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  13525. type: number
  13526. otherincome:
  13527. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  13528. type: number
  13529. otherpay:
  13530. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  13531. type: number
  13532. outamount:
  13533. description: 今日出金金额(包括三方出金)
  13534. type: number
  13535. outamountfreeze:
  13536. description: 出金冻结
  13537. type: number
  13538. outthreshold:
  13539. description: 出金阈值
  13540. type: number
  13541. parentaccountid:
  13542. description: 所属根账号
  13543. type: integer
  13544. paycharge:
  13545. description: 今日手续费支出
  13546. type: number
  13547. relatedaccountstatus:
  13548. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  13549. type: integer
  13550. relateduserid:
  13551. description: 关联用户
  13552. type: integer
  13553. remainamount:
  13554. description: 融资额(从融资合同中统计)
  13555. type: number
  13556. serivcegroup:
  13557. description: 服务分组
  13558. type: integer
  13559. signstatus:
  13560. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  13561. type: integer
  13562. sublevelpath:
  13563. description: 账号层级路径(逗号分隔,首尾加逗号)
  13564. type: string
  13565. taaccounttype:
  13566. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  13567. type: integer
  13568. thirdinamount:
  13569. description: 今日三方入金
  13570. type: number
  13571. thirdoutamount:
  13572. description: 今日三方出金
  13573. type: number
  13574. tradestatus:
  13575. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  13576. type: integer
  13577. tradestatuschangetime:
  13578. description: 激活时间
  13579. type: string
  13580. transferamount:
  13581. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  13582. type: number
  13583. usedmargin:
  13584. description: 占用保证金
  13585. type: number
  13586. userid:
  13587. description: 用户ID
  13588. type: integer
  13589. required:
  13590. - accountid
  13591. - userid
  13592. type: object
  13593. models.Tablecolumnconfig:
  13594. properties:
  13595. aligntype:
  13596. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  13597. type: integer
  13598. autoid:
  13599. description: AutoID
  13600. type: integer
  13601. columnfield:
  13602. description: 列字段
  13603. type: string
  13604. columntitle:
  13605. description: 列Title
  13606. type: string
  13607. columnwidth:
  13608. description: 列宽
  13609. type: string
  13610. formatterstring:
  13611. description: 格式化字符
  13612. type: string
  13613. formattertype:
  13614. description: 格式化类型
  13615. type: string
  13616. groupname:
  13617. description: 表头分组名称
  13618. type: string
  13619. isshow:
  13620. description: 是否显示 - 0:不显示 1:显示
  13621. type: integer
  13622. needsummary:
  13623. description: 是否需要汇总 - 0:不需要 1:需要
  13624. type: integer
  13625. orderindex:
  13626. description: 顺序
  13627. type: integer
  13628. remark:
  13629. description: 备注
  13630. type: string
  13631. summarytype:
  13632. description: 汇总类型 - 1:加总 2:最后一个
  13633. type: integer
  13634. tablekey:
  13635. description: 列表Key
  13636. type: string
  13637. required:
  13638. - autoid
  13639. type: object
  13640. models.TjmdMarketSection:
  13641. properties:
  13642. marketsectionid:
  13643. description: 市场版块ID(SEQ_MARKETSECTION)
  13644. type: integer
  13645. marketsectionname:
  13646. description: 市场版块名称
  13647. type: string
  13648. mlist:
  13649. description: 市场列表(板块下面有多少个市场)
  13650. items:
  13651. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  13652. type: array
  13653. orderindex:
  13654. description: 排序
  13655. type: integer
  13656. remark:
  13657. description: 备注
  13658. type: string
  13659. type: object
  13660. models.TjmdMarketSectionConfig:
  13661. properties:
  13662. auctionwrtype:
  13663. description: 仓单类型(现货交易) 1:无仓单 2:有仓单 3;有无仓单均可
  13664. type: integer
  13665. listingmode:
  13666. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  13667. type: integer
  13668. marketid:
  13669. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  13670. type: integer
  13671. marketname:
  13672. description: 市场名称
  13673. type: string
  13674. marketsectionid:
  13675. description: 市场版块ID(SEQ_MARKETSECTION)
  13676. type: integer
  13677. markettype:
  13678. description: 市场类型 1:非交易服务 2:交易服务
  13679. type: integer
  13680. nowrquotaflag:
  13681. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  13682. type: integer
  13683. orderindex:
  13684. description: 排序
  13685. type: integer
  13686. type: object
  13687. models.TjmdQuoteGoods:
  13688. properties:
  13689. buyqty:
  13690. description: 买量(暂不做, 无值, 保留字段)
  13691. type: number
  13692. goodscode:
  13693. description: 合约代码
  13694. type: string
  13695. goodsgroupid:
  13696. description: 商品组ID(自增ID)
  13697. type: integer
  13698. goodsgroupname:
  13699. description: 商品组名称
  13700. type: string
  13701. goodsid:
  13702. description: 合约id
  13703. type: integer
  13704. goodsname:
  13705. description: 合约名称
  13706. type: string
  13707. refgoodscode:
  13708. description: 标的合约代码
  13709. type: string
  13710. refgoodsid:
  13711. description: 标的合约id
  13712. type: integer
  13713. refgoodsname:
  13714. description: 标的合约名称
  13715. type: string
  13716. sellqty:
  13717. description: 卖量(暂不做, 无值, 保留字段)
  13718. type: number
  13719. type: object
  13720. models.TjmdTodayAccountMargin:
  13721. properties:
  13722. accountid:
  13723. description: 账号ID
  13724. type: integer
  13725. goodsid:
  13726. description: 商品ID
  13727. type: integer
  13728. infoc:
  13729. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  13730. description: 配置参数
  13731. marketid:
  13732. description: 市场ID
  13733. type: integer
  13734. type: object
  13735. models.TjmdTradeOrderDetail:
  13736. properties:
  13737. buyorsell:
  13738. description: 买卖方向 0-买 1-卖
  13739. type: integer
  13740. goodsid:
  13741. description: 商品id
  13742. type: integer
  13743. marketmaxsub:
  13744. description: 市价最大偏移范围 [浮动价 - 点差]
  13745. type: number
  13746. orderid:
  13747. description: 委托单号
  13748. type: string
  13749. orderprice:
  13750. description: 委托价格
  13751. type: number
  13752. orderqty:
  13753. description: 委托数量
  13754. type: integer
  13755. pricemode:
  13756. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  13757. type: integer
  13758. userid:
  13759. description: 用户id
  13760. type: integer
  13761. username:
  13762. description: 用户名称(已脱敏)
  13763. type: string
  13764. type: object
  13765. models.TjmdTransferApply:
  13766. properties:
  13767. applyid:
  13768. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  13769. type: integer
  13770. applystatus:
  13771. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  13772. type: integer
  13773. applytime:
  13774. description: 申请时间(时间)
  13775. type: string
  13776. auditremark:
  13777. description: 审核备注(拒绝原因?)
  13778. type: string
  13779. begindate:
  13780. description: 开始交易日(yyyymmdd)
  13781. type: string
  13782. buyorsell:
  13783. description: 买卖 - 0:买 1:卖
  13784. type: integer
  13785. enddate:
  13786. description: 结束交易日(yyyymmdd)
  13787. type: string
  13788. goodscode:
  13789. description: 商品代码
  13790. type: string
  13791. goodsid:
  13792. description: 商品ID
  13793. type: integer
  13794. goodsname:
  13795. description: 商品名称
  13796. type: string
  13797. marketid:
  13798. description: 市场ID
  13799. type: integer
  13800. qty:
  13801. description: 转让数量(数量)
  13802. type: number
  13803. tradeid:
  13804. description: 成交单号(关联持仓)
  13805. type: string
  13806. transferamount:
  13807. description: 转让总金额(金额)
  13808. type: number
  13809. transferprice:
  13810. description: 转让价格(协议价格)
  13811. type: number
  13812. type: object
  13813. models.TradeHolderDetail:
  13814. properties:
  13815. accountid:
  13816. description: 账号ID
  13817. type: integer
  13818. agreeunit:
  13819. description: 合约乘数
  13820. type: number
  13821. buyorsell:
  13822. description: 方向 - 0:买 1:卖
  13823. type: integer
  13824. currencyid:
  13825. description: 商品币种id
  13826. type: integer
  13827. currencyname:
  13828. description: 币种名称
  13829. type: string
  13830. decimalplace:
  13831. description: 商品价格小数位
  13832. type: integer
  13833. enumdicname:
  13834. description: 商品单位名称
  13835. type: string
  13836. expirecycle:
  13837. description: 行权周期(天) - 1:滚动行权时填写
  13838. type: integer
  13839. expiredate:
  13840. description: 行权日(yyyyMMdd) - 到期日
  13841. type: string
  13842. expiretype:
  13843. description: 行权日类型 - 1:滚动行权 2:固定日行权
  13844. type: integer
  13845. freezeqty:
  13846. description: 冻结数量
  13847. type: number
  13848. goodscode:
  13849. description: 商品代码
  13850. type: string
  13851. goodsid:
  13852. description: 商品ID
  13853. type: integer
  13854. goodsname:
  13855. description: 商品名称
  13856. type: string
  13857. goodunitid:
  13858. description: 商品单位id
  13859. type: integer
  13860. holderamount:
  13861. description: 持仓金额
  13862. type: number
  13863. holdercredit:
  13864. description: 持仓授信金额
  13865. type: number
  13866. holderdays:
  13867. description: 剩余冻结天数
  13868. type: integer
  13869. holderprice:
  13870. description: 持仓价格
  13871. type: number
  13872. holderqty:
  13873. description: 持仓数量
  13874. type: number
  13875. isconfirmexercise:
  13876. description: 是否确认行权- 0:否 1:是
  13877. type: integer
  13878. ispreexercise:
  13879. description: 是否预申报- 0:否 1:是 2:不可行权
  13880. type: integer
  13881. marketid:
  13882. description: 市场id
  13883. type: integer
  13884. marketname:
  13885. description: 市场名称
  13886. type: string
  13887. openprice:
  13888. description: 建仓价格
  13889. type: number
  13890. openqty:
  13891. description: 建仓数量
  13892. type: number
  13893. optiontype:
  13894. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  13895. type: integer
  13896. preexerciseprice:
  13897. description: 预申报价格
  13898. type: number
  13899. premium:
  13900. description: 权利金
  13901. type: number
  13902. qtydecimalplace:
  13903. description: 商品成交量小数位
  13904. type: integer
  13905. refgoodscode:
  13906. description: 标的合约代码
  13907. type: string
  13908. refgoodsid:
  13909. description: 标的合约id
  13910. type: integer
  13911. releaseamount:
  13912. description: 释放持仓金额
  13913. type: number
  13914. releaseholdercredit:
  13915. description: 释放持仓授信金额
  13916. type: number
  13917. taname:
  13918. description: 资金账号名称
  13919. type: string
  13920. tradeamount:
  13921. description: 成交金额
  13922. type: number
  13923. tradedate:
  13924. description: 交易日(yyyyMMdd)
  13925. type: string
  13926. tradeid:
  13927. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13928. type: string
  13929. trademode:
  13930. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期
  13931. type: integer
  13932. tradeproperty:
  13933. description: 交易属性
  13934. type: integer
  13935. tradetime:
  13936. description: 交易时间
  13937. type: string
  13938. userid:
  13939. description: 用户id
  13940. type: integer
  13941. username:
  13942. description: 用户名称
  13943. type: string
  13944. type: object
  13945. models.UserCollectConfig:
  13946. properties:
  13947. accountstatus:
  13948. description: 账户状态 - 1:正常 2:停用 3:注销
  13949. type: integer
  13950. collectaccountname:
  13951. description: 收款人账户名称
  13952. type: string
  13953. collectaccountno:
  13954. description: 收款人账户
  13955. type: string
  13956. collectbankname:
  13957. description: 收款人开户行
  13958. type: string
  13959. collectbranchbankname:
  13960. description: 收款人开户支行
  13961. type: string
  13962. collectconfigid:
  13963. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  13964. type: string
  13965. remark:
  13966. description: 备注
  13967. type: string
  13968. userid:
  13969. description: 收款人用户ID
  13970. type: integer
  13971. type: object
  13972. models.UserReceiveInfo:
  13973. properties:
  13974. address:
  13975. description: 提货人详细地址
  13976. type: string
  13977. autoid:
  13978. description: AutoID
  13979. type: integer
  13980. cardnum:
  13981. description: 证件号码(加密存储)
  13982. type: string
  13983. cardtypeid:
  13984. description: 证件类型
  13985. type: integer
  13986. cityid:
  13987. description: 市
  13988. type: integer
  13989. cityname:
  13990. description: 城市名称
  13991. type: string
  13992. countryid:
  13993. description: 国家
  13994. type: integer
  13995. countryname:
  13996. description: 国家名称
  13997. type: string
  13998. districtid:
  13999. description: 地区
  14000. type: integer
  14001. districtname:
  14002. description: 地区名称
  14003. type: string
  14004. hasencrypt:
  14005. description: 数据是否已加密 - 0:未加密 1:已加密
  14006. type: integer
  14007. isdefault:
  14008. description: 是否默认地址 - 0:否 1:是
  14009. type: integer
  14010. phonenum:
  14011. description: 提货人联系方式(加密存储)
  14012. type: string
  14013. provinceid:
  14014. description: 省
  14015. type: integer
  14016. provincename:
  14017. description: 省名称
  14018. type: string
  14019. receivername:
  14020. description: 提货人姓名
  14021. type: string
  14022. takeremark:
  14023. description: 提货备注
  14024. type: string
  14025. userid:
  14026. description: 用户ID
  14027. type: integer
  14028. type: object
  14029. models.Useraccount:
  14030. properties:
  14031. accountname:
  14032. description: 账户名称(机构名称)
  14033. type: string
  14034. accountstatus:
  14035. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  14036. type: integer
  14037. applysrc:
  14038. description: 申请来源 - 1:管理端 2:终端
  14039. type: integer
  14040. auditremark:
  14041. description: 审核备注
  14042. type: string
  14043. auditsrc:
  14044. description: 审核来源 - 1:管理端 2:终端
  14045. type: integer
  14046. audittime:
  14047. description: 审核时间
  14048. type: string
  14049. audituserid:
  14050. description: 审核人
  14051. type: integer
  14052. broker:
  14053. description: 所属经纪人ID
  14054. type: integer
  14055. canceltime:
  14056. description: 销户时间
  14057. type: string
  14058. canceluserid:
  14059. description: 销户人
  14060. type: integer
  14061. canrecommend:
  14062. description: 是否可推荐 - 0:不可 1;可
  14063. type: integer
  14064. createtime:
  14065. description: 创建时间
  14066. type: string
  14067. creatorid:
  14068. description: 创建人
  14069. type: integer
  14070. hasauth:
  14071. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  14072. type: integer
  14073. isanonymous:
  14074. description: 是否匿名下单 - 0:否 1:是
  14075. type: integer
  14076. maxinvestornum:
  14077. description: 最大用户数(经纪会员下投资者个数)
  14078. type: integer
  14079. memberuserid:
  14080. description: 所属会员ID
  14081. type: integer
  14082. modifierid:
  14083. description: 修改人
  14084. type: integer
  14085. modifyremark:
  14086. description: 变更备注
  14087. type: string
  14088. modifystatus:
  14089. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  14090. type: integer
  14091. modifytime:
  14092. description: 修改时间
  14093. type: string
  14094. parenttopuser:
  14095. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  14096. type: string
  14097. parentuserid:
  14098. description: 所属机构ID
  14099. type: integer
  14100. reckonaccountid:
  14101. description: 默认结算资金账号ID(机构分润使用) 作废
  14102. type: integer
  14103. refercount:
  14104. description: 推荐总人数
  14105. type: integer
  14106. refereeuserid:
  14107. description: 推荐人ID
  14108. type: integer
  14109. refernum:
  14110. description: 推荐码
  14111. type: string
  14112. rootuserid:
  14113. description: 根用户ID
  14114. type: integer
  14115. subaccountlevel:
  14116. description: 子账户层数
  14117. type: integer
  14118. subarealevelpath:
  14119. description: 子机构层级路径(逗号分隔,首尾加逗号)
  14120. type: string
  14121. userid:
  14122. description: 用户ID
  14123. type: integer
  14124. usertype:
  14125. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  14126. type: integer
  14127. required:
  14128. - userid
  14129. type: object
  14130. models.Userfavoritegoods:
  14131. properties:
  14132. goodsid:
  14133. description: 商品ID
  14134. type: integer
  14135. required:
  14136. - goodsid
  14137. type: object
  14138. models.Userinfo:
  14139. properties:
  14140. address:
  14141. description: 地址
  14142. type: string
  14143. attachment1:
  14144. description: 附件1
  14145. type: string
  14146. attachment2:
  14147. description: 附件2
  14148. type: string
  14149. bankaccount:
  14150. description: 银行帐号 (加密存储)
  14151. type: string
  14152. bankaccountname:
  14153. description: 收款人名称
  14154. type: string
  14155. bankcardfrontphotourl:
  14156. description: 银行卡正面照地址
  14157. type: string
  14158. bankid:
  14159. description: 银行编码
  14160. type: string
  14161. bankname:
  14162. description: 银行名称
  14163. type: string
  14164. biznature:
  14165. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  14166. type: integer
  14167. bizscope:
  14168. description: 企业经营范围(企业)
  14169. type: string
  14170. cardbackphotourl:
  14171. description: 证件背面图片地址
  14172. type: string
  14173. cardfrontphotourl:
  14174. description: 证件正面图片地址
  14175. type: string
  14176. cardnum:
  14177. description: 证件号码(加密存储)
  14178. type: string
  14179. cardtypeid:
  14180. description: 证件类型ID
  14181. type: integer
  14182. cityid:
  14183. description: 市
  14184. type: integer
  14185. company:
  14186. description: 公司(个人)
  14187. type: string
  14188. contactname:
  14189. description: 联系人
  14190. type: string
  14191. countryid:
  14192. description: 国家
  14193. type: integer
  14194. createtime:
  14195. description: 创建时间
  14196. type: string
  14197. creatorid:
  14198. description: 创建人
  14199. type: integer
  14200. customername:
  14201. description: 客户名称(企业名称)
  14202. type: string
  14203. districtid:
  14204. description: 地区
  14205. type: integer
  14206. email:
  14207. description: 邮件(加密存储)
  14208. type: string
  14209. fax:
  14210. description: 传真(加密存储)
  14211. type: string
  14212. halfbodyphotourl:
  14213. description: 半身照地址
  14214. type: string
  14215. hasencrypt:
  14216. description: 数据是否已加密 - 0:未加密 1:已加密
  14217. type: integer
  14218. headurl:
  14219. description: 头像地址
  14220. type: string
  14221. legalcardbackphotourl:
  14222. description: 法人身份证背面照地址
  14223. type: string
  14224. legalcardfrontphotourl:
  14225. description: 法人身份证正面照地址
  14226. type: string
  14227. legalpersonname:
  14228. description: 法人姓名(企业)
  14229. type: string
  14230. mobile:
  14231. description: 手机号码(加密存储)
  14232. type: string
  14233. mobile2:
  14234. description: 手机号码[明文-尚志]
  14235. type: string
  14236. modifierid:
  14237. description: 修改人
  14238. type: integer
  14239. modifiertime:
  14240. description: 修改时间
  14241. type: string
  14242. needinvoice:
  14243. description: 是否需要发票 - 0:不需要 1:需要
  14244. type: integer
  14245. nickname:
  14246. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  14247. type: string
  14248. openmode:
  14249. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  14250. type: integer
  14251. otherurl:
  14252. description: 其它图片地址[使用分号分隔]
  14253. type: string
  14254. postalcode:
  14255. description: 邮政编码
  14256. type: string
  14257. provinceid:
  14258. description: 省
  14259. type: integer
  14260. qq:
  14261. description: QQ(加密存储
  14262. type: string
  14263. remark:
  14264. description: 备注
  14265. type: string
  14266. sex:
  14267. description: '用户性别 0: 女 1: 男'
  14268. type: integer
  14269. signpdfurl:
  14270. description: 签约pdf文件
  14271. type: string
  14272. telphone:
  14273. description: 联系电话(加密存储)
  14274. type: string
  14275. userid:
  14276. description: 用户ID
  14277. type: integer
  14278. userinfotype:
  14279. description: 用户信息类型 - 1:个人 2:企业
  14280. type: integer
  14281. userstatus:
  14282. description: 用户状态 - 1:正常 2:注销
  14283. type: integer
  14284. usertype:
  14285. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  14286. type: integer
  14287. wechat:
  14288. description: 微信(加密存储)
  14289. type: string
  14290. wskhinfo:
  14291. description: 开户申请信息(JSON)
  14292. type: string
  14293. required:
  14294. - userid
  14295. type: object
  14296. models.WRSConverTDetail:
  14297. properties:
  14298. convertratio:
  14299. description: 套保系数
  14300. type: number
  14301. deliverygoodscode:
  14302. description: 现货商品代码
  14303. type: string
  14304. deliverygoodsid:
  14305. description: 现货品种ID
  14306. type: integer
  14307. deliverygoodsname:
  14308. description: 现货商品名称
  14309. type: string
  14310. enumdicname:
  14311. description: 单位名称
  14312. type: string
  14313. goodsunitid:
  14314. description: 套保品种单位id
  14315. type: integer
  14316. middlegoodscode:
  14317. description: 套保品种代码
  14318. type: string
  14319. middlegoodsid:
  14320. description: 套保品种ID
  14321. type: integer
  14322. middlegoodsname:
  14323. description: 套保品种名称
  14324. type: string
  14325. modifytime:
  14326. description: 修改时间
  14327. type: string
  14328. wrstandardid:
  14329. description: 品类ID
  14330. type: integer
  14331. type: object
  14332. models.WRStandardInfo:
  14333. properties:
  14334. areauserid:
  14335. description: 所属机构
  14336. type: integer
  14337. convertfactor:
  14338. description: 标仓系数
  14339. type: number
  14340. createtime:
  14341. description: 创建时间
  14342. type: string
  14343. creatorid:
  14344. description: 创建人
  14345. type: integer
  14346. deliverygoodsid:
  14347. description: 品种ID
  14348. type: integer
  14349. deliverygoodsname:
  14350. description: 交割商品名称
  14351. type: string
  14352. factoryitemjson:
  14353. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID, 逗号分隔'
  14354. type: string
  14355. isvalid:
  14356. description: 是否有效 - 0:无效 1:有效
  14357. type: integer
  14358. minivalue:
  14359. description: 最小变动值
  14360. type: integer
  14361. minivaluedp:
  14362. description: 最小变动值小数位
  14363. type: integer
  14364. realminivalue:
  14365. description: 实际最小变动值
  14366. type: integer
  14367. realminivaluedp:
  14368. description: 实际最小变动值小数位
  14369. type: integer
  14370. remark:
  14371. description: 备注
  14372. type: string
  14373. unitid:
  14374. description: 单位ID
  14375. type: integer
  14376. unitname:
  14377. description: 单位
  14378. type: string
  14379. updatetime:
  14380. description: 更新时间
  14381. type: string
  14382. updatorid:
  14383. description: 更新人
  14384. type: integer
  14385. wrsstatus:
  14386. description: 状态 - 作废 - 0:未激活 1:正常
  14387. type: integer
  14388. wrstandardcode:
  14389. description: 现货品类代码
  14390. type: string
  14391. wrstandardid:
  14392. description: 现货品类ID(SEQ_WRSTANDARD)
  14393. type: integer
  14394. wrstandardname:
  14395. description: 现货品类名称
  14396. type: string
  14397. required:
  14398. - wrstandardid
  14399. type: object
  14400. models.WRTradeBargainApply:
  14401. properties:
  14402. accountid:
  14403. description: 摘牌资金账号
  14404. type: integer
  14405. applyprice:
  14406. description: 申请价格(议价价格)
  14407. type: string
  14408. applyqty:
  14409. description: 摘牌数量(议价数量)
  14410. type: number
  14411. applyremark:
  14412. description: 申请备注
  14413. type: string
  14414. applystatus:
  14415. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  14416. type: integer
  14417. applytime:
  14418. description: 申请时间(议价时间)
  14419. type: string
  14420. begindate:
  14421. description: 开始交易日(yyyymmdd)
  14422. type: string
  14423. buyorsell:
  14424. description: 买卖(挂牌类型) - 0:买 1:卖
  14425. type: integer
  14426. confirmremark:
  14427. description: 确认备注
  14428. type: string
  14429. confirmtime:
  14430. description: 确认时间
  14431. type: string
  14432. confirmuserid:
  14433. description: 确认人
  14434. type: integer
  14435. deliverygoodscode:
  14436. description: 品种代码
  14437. type: string
  14438. deliverygoodsid:
  14439. description: 品种ID
  14440. type: integer
  14441. deliverygoodsname:
  14442. description: 品种名称
  14443. type: string
  14444. deliverymonth:
  14445. description: 交收月
  14446. type: string
  14447. enddate:
  14448. description: 结束交易日(yyyymmdd)
  14449. type: string
  14450. enumdicname:
  14451. description: 单位名称
  14452. type: string
  14453. fixedprice:
  14454. description: 挂牌价格
  14455. type: number
  14456. handlestatus:
  14457. description: 处理状态
  14458. type: integer
  14459. marginvalue:
  14460. description: 履约保证金比例
  14461. type: number
  14462. marketid:
  14463. description: 市场ID
  14464. type: integer
  14465. matchaccountid:
  14466. description: 挂牌方资金账号
  14467. type: integer
  14468. matchuserid:
  14469. description: 挂牌方用户id
  14470. type: integer
  14471. matchusername:
  14472. description: 挂牌方用户名称(已脱敏)
  14473. type: string
  14474. minivalue:
  14475. description: 现货商品最小变动值
  14476. type: integer
  14477. optioncompare:
  14478. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14479. type: string
  14480. orderqty:
  14481. description: 挂牌数量
  14482. type: integer
  14483. refprice:
  14484. description: 参考价格
  14485. type: string
  14486. retcode:
  14487. description: 委托返回代码
  14488. type: integer
  14489. templatename:
  14490. description: 履约方式(履约模板名称)
  14491. type: string
  14492. tradedate:
  14493. description: 交易日(yyyyMMdd)
  14494. type: string
  14495. userid:
  14496. description: 摘牌人用户ID(议价人ID)
  14497. type: integer
  14498. username:
  14499. description: 议价人名字(已脱敏)
  14500. type: string
  14501. validtime:
  14502. description: 有效期限
  14503. type: string
  14504. warehouseid:
  14505. description: 仓库ID
  14506. type: integer
  14507. warehousename:
  14508. description: 仓库名称
  14509. type: string
  14510. wrbargainid:
  14511. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  14512. type: string
  14513. wrfactortypeid:
  14514. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14515. type: string
  14516. wrfactortypename:
  14517. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14518. type: string
  14519. wrstandardcode:
  14520. description: 现货商品代码
  14521. type: string
  14522. wrstandardid:
  14523. description: 现货商品ID
  14524. type: integer
  14525. wrstandardname:
  14526. description: 商品名称
  14527. type: string
  14528. wrtradeorderid:
  14529. description: 关联委托单ID
  14530. type: string
  14531. wrtypename:
  14532. description: 商品
  14533. type: string
  14534. type: object
  14535. models.Warehouseinfo:
  14536. properties:
  14537. address:
  14538. description: 详细地址
  14539. type: string
  14540. areauserid:
  14541. description: 所属机构
  14542. type: integer
  14543. autoid:
  14544. description: 自增ID
  14545. type: integer
  14546. cityid:
  14547. description: 市
  14548. type: integer
  14549. contactname:
  14550. description: 联系人
  14551. type: string
  14552. contactnum:
  14553. description: 联系电话
  14554. type: string
  14555. countryid:
  14556. description: 国家
  14557. type: integer
  14558. createtime:
  14559. description: 创建时间
  14560. type: string
  14561. districtid:
  14562. description: 区
  14563. type: integer
  14564. hasvideo:
  14565. description: 是否有视频 - 0:无 1:有
  14566. type: integer
  14567. provinceid:
  14568. description: 省
  14569. type: integer
  14570. remark:
  14571. description: 审核备注
  14572. type: string
  14573. videourl:
  14574. description: 视频地址
  14575. type: string
  14576. warehousecode:
  14577. description: 仓库代码
  14578. type: string
  14579. warehousename:
  14580. description: 仓库名称
  14581. type: string
  14582. warehousestatus:
  14583. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  14584. type: integer
  14585. warehousetype:
  14586. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  14587. type: integer
  14588. required:
  14589. - autoid
  14590. - warehousecode
  14591. type: object
  14592. models.WrAverageTradePrice:
  14593. properties:
  14594. averageprice:
  14595. description: 成交均价
  14596. type: number
  14597. tradedate:
  14598. description: 交易日yyyymm
  14599. type: string
  14600. type: object
  14601. models.WrBsGoodsInfo:
  14602. properties:
  14603. buyorsell:
  14604. description: 买卖方向 0-买 1-卖
  14605. type: integer
  14606. goodsid:
  14607. description: 交易合约ID
  14608. type: integer
  14609. lstitem:
  14610. description: 商品信息项
  14611. items:
  14612. $ref: '#/definitions/models.WrTypeItem'
  14613. type: array
  14614. lststep:
  14615. description: 履约规则
  14616. items:
  14617. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  14618. type: array
  14619. type: object
  14620. models.WrBuybackDetail:
  14621. properties:
  14622. buybackamount:
  14623. description: 回购金额
  14624. type: number
  14625. buybackqty:
  14626. description: 回购数量
  14627. type: number
  14628. buybackreleasemargin:
  14629. description: 回购释放保证金
  14630. type: number
  14631. buybacktime:
  14632. description: 回购时间
  14633. type: string
  14634. errordesc:
  14635. description: 错误描述
  14636. type: string
  14637. handlestatus:
  14638. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  14639. type: integer
  14640. relatedwrid:
  14641. description: 关联仓单ID
  14642. type: integer
  14643. scfcontractid:
  14644. description: SCF合同ID
  14645. type: string
  14646. scfwrbuybackid:
  14647. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  14648. type: integer
  14649. tradedate:
  14650. description: 交易日(yyyyMMdd)
  14651. type: string
  14652. type: object
  14653. models.WrDeliveryAvalidHoldLB:
  14654. properties:
  14655. accountid:
  14656. description: 资金账号
  14657. type: integer
  14658. avalidqty:
  14659. description: 数量(可点选数量)
  14660. type: number
  14661. deliverygoodsid:
  14662. description: 品种id
  14663. type: integer
  14664. enumdicname:
  14665. description: 单位名称
  14666. type: string
  14667. goodsid:
  14668. description: x合约商品id
  14669. type: integer
  14670. ladingbillid:
  14671. description: 提单id
  14672. type: string
  14673. pgoodscode:
  14674. description: p商品代码(点价合约)
  14675. type: string
  14676. pgoodsid:
  14677. description: p商品id(点价合约)
  14678. type: integer
  14679. pgoodsname:
  14680. description: p商品名称(点价合约)
  14681. type: string
  14682. pricemove:
  14683. description: 升贴水
  14684. type: number
  14685. subnum:
  14686. description: 提单子id
  14687. type: integer
  14688. userid:
  14689. description: 用户id
  14690. type: integer
  14691. username:
  14692. description: 仓单持有人
  14693. type: string
  14694. warehousecode:
  14695. description: 仓库代码
  14696. type: string
  14697. warehouseid:
  14698. description: 仓库id
  14699. type: integer
  14700. warehousename:
  14701. description: 仓库名称
  14702. type: string
  14703. wrfactortypeid:
  14704. description: 仓单要素id
  14705. type: string
  14706. wrstandardcode:
  14707. description: 品代码
  14708. type: string
  14709. wrstandardid:
  14710. description: 品类d
  14711. type: integer
  14712. wrstandardname:
  14713. description: 品类名称
  14714. type: string
  14715. wrtypename:
  14716. description: 商品
  14717. type: string
  14718. xgoodscode:
  14719. description: x合约代码
  14720. type: string
  14721. xgoodsname:
  14722. description: x合约名称
  14723. type: string
  14724. type: object
  14725. models.WrDeliveryDetail:
  14726. properties:
  14727. accountid:
  14728. description: 账号ID
  14729. type: integer
  14730. averageprice:
  14731. description: 交割均价 = 交割金额 / 交割数量
  14732. type: number
  14733. begindate:
  14734. description: 开始交易日(yyyymmdd)
  14735. type: string
  14736. buyorsell:
  14737. description: 方向 - 0:买 1:卖
  14738. type: integer
  14739. deliveryamount:
  14740. description: 货款金额(X总货款+P总货款)
  14741. type: number
  14742. deliveryid:
  14743. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  14744. type: string
  14745. deliveryorderid:
  14746. description: 申报单号
  14747. type: string
  14748. deliverypricemove:
  14749. description: 升贴水(升贴水总额)
  14750. type: number
  14751. deliveryqty:
  14752. description: 交收数量(点选数量)
  14753. type: number
  14754. deliverystatus:
  14755. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  14756. type: integer
  14757. deliverytime:
  14758. description: 交割时间
  14759. type: string
  14760. deliverytotalamount:
  14761. description: 交收金额
  14762. type: number
  14763. enddate:
  14764. description: 结束交易日(yyyymmdd)
  14765. type: string
  14766. enumdicname:
  14767. description: 单位名称
  14768. type: string
  14769. matchaccountid:
  14770. description: 对手账号ID
  14771. type: integer
  14772. matchusername:
  14773. description: 对手方名称(仓单持有人)
  14774. type: string
  14775. p1goodsremainamount:
  14776. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  14777. type: number
  14778. pdeliverycloseqty:
  14779. description: p合约平仓数量
  14780. type: number
  14781. pdeliveryprice:
  14782. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  14783. type: number
  14784. pgoodscode:
  14785. description: 商品代码
  14786. type: string
  14787. pgoodsid:
  14788. description: p点选合约id
  14789. type: integer
  14790. pgoodsname:
  14791. description: 商品名称
  14792. type: string
  14793. ppricemode:
  14794. description: 点价价格方式 - 1:商品价 2:固定值
  14795. type: integer
  14796. tradedate:
  14797. description: 交易日(yyyymmdd)
  14798. type: string
  14799. userid:
  14800. description: 用户id
  14801. type: integer
  14802. username:
  14803. description: 用户名称
  14804. type: string
  14805. warehousename:
  14806. description: 仓库名称
  14807. type: string
  14808. wrfactortypeid:
  14809. description: 仓单要素类型ID
  14810. type: string
  14811. wrtypename:
  14812. description: 商品
  14813. type: string
  14814. xdeliverycloseqty:
  14815. description: 合约数量
  14816. type: number
  14817. xgoodsamount:
  14818. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  14819. type: number
  14820. xgoodscode:
  14821. description: 商品代码
  14822. type: string
  14823. xgoodsid:
  14824. description: x交易合约ID
  14825. type: integer
  14826. xgoodsname:
  14827. description: 商品名称
  14828. type: string
  14829. type: object
  14830. models.WrDeliveryGoodsSection:
  14831. properties:
  14832. dglst:
  14833. description: 板块商品列表
  14834. items:
  14835. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  14836. type: array
  14837. imagepath:
  14838. description: 图片地址
  14839. type: string
  14840. orderindex:
  14841. description: 排序
  14842. type: integer
  14843. sectionid:
  14844. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType = 1的版块1 - 云融指数
  14845. type: integer
  14846. sectionname:
  14847. description: 版块名称
  14848. type: string
  14849. sectiontype:
  14850. description: 版块类型 - 1:指数版块 2:普通版块
  14851. type: integer
  14852. type: object
  14853. models.WrDeliveryGoodsSectionConfig:
  14854. properties:
  14855. deliverygoodscode:
  14856. description: 现货商品代码
  14857. type: string
  14858. deliverygoodsid:
  14859. description: 现货品种ID(SEQ_DELIVERYGOODS)
  14860. type: integer
  14861. deliverygoodsname:
  14862. description: 现货商品名称
  14863. type: string
  14864. orderindex:
  14865. description: 排序
  14866. type: integer
  14867. type: object
  14868. models.WrFAProductDetail:
  14869. properties:
  14870. accountid:
  14871. description: 资金账号
  14872. type: integer
  14873. areauserid:
  14874. description: 金融机构ID
  14875. type: integer
  14876. financingdays:
  14877. description: 天数(天)
  14878. type: integer
  14879. interestminlen:
  14880. description: 最小起息天数
  14881. type: integer
  14882. interestrate:
  14883. description: 利率
  14884. type: number
  14885. interestratemode:
  14886. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  14887. type: integer
  14888. interestsettlemode:
  14889. description: 结息方式 - 1:按日结息 3:按月结息
  14890. type: integer
  14891. interestsettlevalue:
  14892. description: 结息方式值
  14893. type: integer
  14894. isautoloan:
  14895. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  14896. type: integer
  14897. loantag:
  14898. description: '放款标识: "放款快" 或者为空'
  14899. type: string
  14900. marginratio:
  14901. description: 保证金比率质押率 - [仓单质押]
  14902. type: number
  14903. productdetailid:
  14904. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  14905. type: integer
  14906. productid:
  14907. description: 金融产品ID
  14908. type: integer
  14909. productname:
  14910. description: 产品名称
  14911. type: string
  14912. updatetime:
  14913. description: 更新时间
  14914. type: string
  14915. username:
  14916. description: 融出方
  14917. type: string
  14918. type: object
  14919. models.WrFactorTypeInfo:
  14920. properties:
  14921. deliverygoodscode:
  14922. description: 品种代码
  14923. type: string
  14924. deliverygoodsname:
  14925. description: 品种名称
  14926. type: string
  14927. dgfactoryitemid:
  14928. description: 选择项id
  14929. type: integer
  14930. dgfactoryitemtypeid:
  14931. description: 要素选择项ID (1-仓库 2-品牌)
  14932. type: integer
  14933. dgfactoryitemvalue:
  14934. description: 要素项值
  14935. type: string
  14936. itemtypename:
  14937. description: 要素项名称
  14938. type: string
  14939. optioncompare:
  14940. description: 选择比较串
  14941. type: string
  14942. warehouseid:
  14943. description: 仓库id
  14944. type: integer
  14945. wrfactortypeid:
  14946. description: 仓单要素ID
  14947. type: string
  14948. wrfactortypename:
  14949. description: 要素名称
  14950. type: string
  14951. wrfactortypename2:
  14952. description: 要素名称(不含仓库)
  14953. type: string
  14954. wrstandardcode:
  14955. description: 品类代码
  14956. type: string
  14957. wrstandardid:
  14958. description: 品类id
  14959. type: integer
  14960. wrstandardname:
  14961. description: 品类名称
  14962. type: string
  14963. type: object
  14964. models.WrFilterItem:
  14965. properties:
  14966. itemcode:
  14967. description: 代码
  14968. type: string
  14969. itemid:
  14970. description: 项id
  14971. type: integer
  14972. itemname:
  14973. description: 名称
  14974. type: string
  14975. itemtype:
  14976. description: 类型 1-品种 2-品类(商品) 3-仓库
  14977. type: integer
  14978. type: object
  14979. models.WrFinanceBuyApply:
  14980. properties:
  14981. applydate:
  14982. description: 申请时间
  14983. type: string
  14984. applystatus:
  14985. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  14986. type: integer
  14987. applyuserid:
  14988. description: 申请人
  14989. type: integer
  14990. auditdate:
  14991. description: 审核时间
  14992. type: string
  14993. auditremark:
  14994. description: 审核备注
  14995. type: string
  14996. audituserid:
  14997. description: 审核人
  14998. type: integer
  14999. buyaccountid:
  15000. description: 买方资金账号
  15001. type: integer
  15002. buyorsell:
  15003. description: 买卖 - 0:买 1:卖
  15004. type: integer
  15005. buyuserid:
  15006. description: 买方用户ID
  15007. type: integer
  15008. buyusername:
  15009. description: 买方名称
  15010. type: string
  15011. buywrtradeorderid:
  15012. description: 融资方买委托单ID
  15013. type: string
  15014. deliverygoodscode:
  15015. description: 品种代码
  15016. type: string
  15017. deliverygoodsid:
  15018. description: 品种ID
  15019. type: integer
  15020. deliverygoodsname:
  15021. description: 品种名称
  15022. type: string
  15023. deliverymonth:
  15024. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  15025. type: string
  15026. enumdicname:
  15027. description: 单位名称
  15028. type: string
  15029. financeaccountid:
  15030. description: 融资方资金帐户ID
  15031. type: integer
  15032. financeapplyid:
  15033. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15034. type: string
  15035. financeareauserid:
  15036. description: 融资方用户ID
  15037. type: string
  15038. financename:
  15039. description: 融出方名称
  15040. type: string
  15041. financetype:
  15042. description: 融资类型 1-融资回购
  15043. type: integer
  15044. financingdays:
  15045. description: 天数(天)
  15046. type: integer
  15047. freezebuymargin:
  15048. description: 冻结融资保证金(买方)
  15049. type: number
  15050. handleremark:
  15051. description: 处理备注
  15052. type: string
  15053. handlestatus:
  15054. description: 处理状态
  15055. type: integer
  15056. interestminlen:
  15057. description: 最小起息天数
  15058. type: integer
  15059. interestrate:
  15060. description: 利率
  15061. type: number
  15062. interestratemode:
  15063. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  15064. type: integer
  15065. interestsettlemode:
  15066. description: 结息方式 - 1:按日结息 3:按月结息
  15067. type: integer
  15068. interestsettlevalue:
  15069. description: 结息方式值
  15070. type: integer
  15071. isautoloan:
  15072. description: 是否自动放款 - 0:手动 1:自动
  15073. type: integer
  15074. marginratio:
  15075. description: 保证金比率质押率 - [仓单质押]
  15076. type: number
  15077. marketid:
  15078. description: 市场ID
  15079. type: integer
  15080. minivalue:
  15081. description: 现货商品最小变动值
  15082. type: integer
  15083. optioncompare:
  15084. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15085. type: string
  15086. orderqty:
  15087. description: 委托数量(商品数量)
  15088. type: number
  15089. productdetailid:
  15090. description: 产品组合ID
  15091. type: integer
  15092. productid:
  15093. description: 金融产品ID
  15094. type: integer
  15095. productname:
  15096. description: 产品名称
  15097. type: string
  15098. remark:
  15099. description: 备注
  15100. type: string
  15101. scfcontractid:
  15102. description: 仓单回购合同ID
  15103. type: string
  15104. sellaccountid:
  15105. description: 卖方资金账号
  15106. type: integer
  15107. selluserid:
  15108. description: 卖方用户ID
  15109. type: integer
  15110. sellwrtradeorderid:
  15111. description: 卖方委托单ID
  15112. type: string
  15113. tradeamount:
  15114. description: 成交金额(借款金额)
  15115. type: number
  15116. tradedate:
  15117. description: 交易日(yyyyMMdd)
  15118. type: string
  15119. tradeprice:
  15120. description: 成交价格
  15121. type: number
  15122. warehouseid:
  15123. description: 仓库ID
  15124. type: integer
  15125. warehousename:
  15126. description: 仓库名称
  15127. type: string
  15128. wrfactortypeid:
  15129. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15130. type: string
  15131. wrfactortypename:
  15132. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15133. type: string
  15134. wrpricetype:
  15135. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  15136. type: integer
  15137. wrstandardcode:
  15138. description: 现货商品代码
  15139. type: string
  15140. wrstandardid:
  15141. description: 现货商品ID
  15142. type: integer
  15143. wrstandardname:
  15144. description: 商品名称
  15145. type: string
  15146. wrtypename:
  15147. description: 商品
  15148. type: string
  15149. type: object
  15150. models.WrFriendApply:
  15151. properties:
  15152. applicantid:
  15153. description: 申请人
  15154. type: integer
  15155. applyname:
  15156. description: 申请人名称
  15157. type: string
  15158. applysrc:
  15159. description: 申请来源 - 1:管理端 2:终端
  15160. type: integer
  15161. applystatus:
  15162. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15163. type: integer
  15164. applytime:
  15165. description: 申请时间
  15166. type: string
  15167. auditname:
  15168. description: 审核人名称
  15169. type: string
  15170. auditorid:
  15171. description: 审核人
  15172. type: integer
  15173. auditremark:
  15174. description: 审核备注
  15175. type: string
  15176. auditsrc:
  15177. description: 审核来源 - 1:管理端 2:终端
  15178. type: integer
  15179. audittime:
  15180. description: 审核时间
  15181. type: string
  15182. friendapplyid:
  15183. description: 申请ID(SEQ_FRIENDAPPLY)
  15184. type: string
  15185. friendname:
  15186. description: 好友名字(已脱敏)
  15187. type: string
  15188. frienduserid:
  15189. description: 好友用户ID
  15190. type: string
  15191. remark:
  15192. description: 备注
  15193. type: string
  15194. userid:
  15195. description: 申请人用户ID
  15196. type: integer
  15197. type: object
  15198. models.WrFtDeliveryGoods:
  15199. properties:
  15200. deliverygoodscode:
  15201. description: 品种代码
  15202. type: string
  15203. deliverygoodsid:
  15204. description: 品种ID
  15205. type: integer
  15206. deliverygoodsname:
  15207. description: 品种名称
  15208. type: string
  15209. wdlst:
  15210. description: 商品列表
  15211. items:
  15212. $ref: '#/definitions/models.WrFtWrstandard'
  15213. type: array
  15214. type: object
  15215. models.WrFtWrstandard:
  15216. properties:
  15217. enumdicname:
  15218. description: 单位名称
  15219. type: string
  15220. minivalue:
  15221. description: 最小变动值
  15222. type: integer
  15223. wrstandardcode:
  15224. description: 现货商品代码
  15225. type: string
  15226. wrstandardid:
  15227. description: 现货商品ID
  15228. type: integer
  15229. wrstandardname:
  15230. description: 商品名称
  15231. type: string
  15232. type: object
  15233. models.WrGoodsInfo:
  15234. properties:
  15235. haswr:
  15236. description: 0:仓单预售 1:仓单贸易
  15237. type: integer
  15238. lstitem:
  15239. description: 商品信息项
  15240. items:
  15241. $ref: '#/definitions/models.WrTypeItem'
  15242. type: array
  15243. lststep:
  15244. description: 履约规则
  15245. items:
  15246. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  15247. type: array
  15248. marketid:
  15249. description: 市场id
  15250. type: integer
  15251. type: object
  15252. models.WrGoodsPerformanceStep:
  15253. properties:
  15254. autoid:
  15255. description: AutoID
  15256. type: integer
  15257. isauto:
  15258. description: 是否自动 - 0:不自动 1:自动
  15259. type: integer
  15260. remark:
  15261. description: 备注
  15262. type: string
  15263. stepdate:
  15264. description: 天数信息(T+N)
  15265. type: string
  15266. stepdays:
  15267. description: 距离上一步天数
  15268. type: integer
  15269. stepindex:
  15270. description: 步骤序号
  15271. type: integer
  15272. stepinfo:
  15273. description: 步骤信息(步骤名称+步骤值)
  15274. type: string
  15275. steptypeid:
  15276. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15277. type: integer
  15278. steptypename:
  15279. description: 步骤名称
  15280. type: string
  15281. stepvalue:
  15282. description: 步骤值
  15283. type: number
  15284. templateid:
  15285. description: 履约计划模板ID
  15286. type: integer
  15287. type: object
  15288. models.WrHoldLB:
  15289. properties:
  15290. accountid:
  15291. description: 持有人帐户ID
  15292. type: integer
  15293. createtime:
  15294. description: 创建时间(过户时间)
  15295. type: string
  15296. deliverygoodscode:
  15297. description: 品种代码
  15298. type: string
  15299. deliverygoodsid:
  15300. description: 品种ID
  15301. type: integer
  15302. deliverygoodsname:
  15303. description: 品种名称
  15304. type: string
  15305. enableqty:
  15306. description: 可用数量
  15307. type: number
  15308. enumdicname:
  15309. description: 单位名称
  15310. type: string
  15311. freezerqty:
  15312. description: 冻结数量
  15313. type: number
  15314. ladingbillid:
  15315. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15316. type: string
  15317. minivalue:
  15318. description: 现货商品最小变动值
  15319. type: integer
  15320. optioncompare:
  15321. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15322. type: string
  15323. parentsubnum:
  15324. description: 拆分父子单号
  15325. type: integer
  15326. pledgeqty:
  15327. description: 质押数量
  15328. type: number
  15329. qty:
  15330. description: 数量
  15331. type: number
  15332. subnum:
  15333. description: 提单子单号
  15334. type: integer
  15335. tradedate:
  15336. description: 交易日(yyyyMMdd)
  15337. type: string
  15338. userid:
  15339. description: 持有人ID
  15340. type: integer
  15341. warehouseid:
  15342. description: 仓库ID
  15343. type: integer
  15344. warehousename:
  15345. description: 仓库名称
  15346. type: string
  15347. wrfactortypeid:
  15348. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15349. type: string
  15350. wrfactortypename:
  15351. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15352. type: string
  15353. wrholdeno:
  15354. description: 仓单编号
  15355. type: string
  15356. wrid:
  15357. description: 仓单变更ID
  15358. type: string
  15359. wrstandardcode:
  15360. description: 现货商品代码
  15361. type: string
  15362. wrstandardid:
  15363. description: 现货商品ID
  15364. type: integer
  15365. wrstandardname:
  15366. description: 商品名称
  15367. type: string
  15368. wrtypename:
  15369. description: 商品
  15370. type: string
  15371. type: object
  15372. models.WrMarketTradeConfig:
  15373. properties:
  15374. basisdownratio:
  15375. description: 浮动价基差下限比例(仓单贸易)
  15376. type: number
  15377. basisupratio:
  15378. description: 浮动价基差上限比例(仓单贸易)
  15379. type: number
  15380. buychargealgorithm:
  15381. description: 买方手续费收取方式 1:比率 2:固定
  15382. type: integer
  15383. buychargealgorithm2:
  15384. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  15385. type: integer
  15386. buychargealgorithmvalue:
  15387. description: 买方手续费设置值(交易所部分)
  15388. type: number
  15389. buychargealgorithmvalue2:
  15390. description: 买方手续费设置值(会员部分)
  15391. type: number
  15392. buychargealgorithmvalue3:
  15393. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  15394. type: number
  15395. buychargealgorithmvalue4:
  15396. description: 回购买方手续费设置值(会员部分) --77:现货商城
  15397. type: number
  15398. buyfirstmarginalgorithm:
  15399. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  15400. type: integer
  15401. buyfirstmarginvalue:
  15402. description: 买方出价保证金设置值 - [竞拍]
  15403. type: number
  15404. buymarginalgorithm:
  15405. description: 买方保证金方式 - 1:比率 2:固定
  15406. type: integer
  15407. buymarginvalue:
  15408. description: 买方保证金设置值
  15409. type: number
  15410. buyreleaseratio:
  15411. description: 买方释放比率[2:分步履约]
  15412. type: number
  15413. executemode:
  15414. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  15415. type: integer
  15416. executeside:
  15417. description: 执行方[2:分步履约] - 1:买方 2:卖方
  15418. type: integer
  15419. failedchargealgorithm:
  15420. description: 流拍手续费收取方式 1:比率 2:固定
  15421. type: integer
  15422. failedchargevalue:
  15423. description: 流拍手续费设置值
  15424. type: number
  15425. failedchargevalue2:
  15426. description: 流拍卖方手续费设置值
  15427. type: number
  15428. holddays:
  15429. description: 合同期限[2:分步履约]
  15430. type: integer
  15431. marketid:
  15432. description: 市场ID-仓单贸易、竞拍、预售
  15433. type: integer
  15434. minqty:
  15435. description: 最小执行量[2:分步履约]
  15436. type: number
  15437. modifierid:
  15438. description: 修改人
  15439. type: integer
  15440. performancetempid:
  15441. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)
  15442. type: integer
  15443. performancetempid2:
  15444. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行
  15445. type: integer
  15446. performanceway:
  15447. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  15448. type: integer
  15449. sellchargealgorithm:
  15450. description: 卖方手续费收取方式 1:比率 2:固定
  15451. type: integer
  15452. sellchargealgorithm2:
  15453. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  15454. type: integer
  15455. sellchargealgorithmvalue:
  15456. description: 卖方手续费设置值(交易所部分)
  15457. type: number
  15458. sellchargealgorithmvalue2:
  15459. description: 卖方手续费设置值(会员部分)
  15460. type: number
  15461. sellchargealgorithmvalue3:
  15462. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  15463. type: number
  15464. sellchargealgorithmvalue4:
  15465. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  15466. type: number
  15467. sellmarginalgorithm:
  15468. description: 卖方保证金方式 - 1:比率 2:固定
  15469. type: integer
  15470. sellmarginvalue:
  15471. description: 卖方保证金设置值
  15472. type: number
  15473. sellmarginvalue2:
  15474. description: 卖方保证金设置值(无仓单)
  15475. type: number
  15476. sellreleaseratio:
  15477. description: 卖方释放比率[2:分步履约]
  15478. type: number
  15479. updatetime:
  15480. description: 更新时间
  15481. type: string
  15482. type: object
  15483. models.WrOrderDetail:
  15484. properties:
  15485. accountid:
  15486. description: 交易账号(资金账号)
  15487. type: integer
  15488. allfriendsflag:
  15489. description: 是否全好友可见 - 0:否 1:是
  15490. type: integer
  15491. amount:
  15492. description: 挂牌金额 = 委托数量 * 固定价或升贴水
  15493. type: number
  15494. begindate:
  15495. description: 开始交易日(yyyymmdd)
  15496. type: string
  15497. buyorsell:
  15498. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  15499. type: integer
  15500. canbargain:
  15501. description: 是否可议价 - 0:不可 1:可
  15502. type: integer
  15503. cancelqty:
  15504. description: 撤销数量
  15505. type: number
  15506. canpart:
  15507. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  15508. type: integer
  15509. delistminqty:
  15510. description: 起摘数量
  15511. type: integer
  15512. deliverygoodscode:
  15513. description: 品种代码
  15514. type: string
  15515. deliverygoodsid:
  15516. description: 品种ID
  15517. type: integer
  15518. deliverygoodsname:
  15519. description: 品种名称
  15520. type: string
  15521. deliverymonth:
  15522. description: 交收月
  15523. type: string
  15524. enddate:
  15525. description: 结束交易日(yyyymmdd)
  15526. type: string
  15527. enumdicname:
  15528. description: 单位名称
  15529. type: string
  15530. fixedprice:
  15531. description: 固定价格 - [挂牌]
  15532. type: number
  15533. freezemargin:
  15534. description: 冻结保证金(保证金)
  15535. type: number
  15536. futupricemove:
  15537. description: 期货升贴水
  15538. type: number
  15539. futushow:
  15540. description: 期货合约/升贴水
  15541. type: string
  15542. goodscode:
  15543. description: 期货合约
  15544. type: string
  15545. goodsid:
  15546. description: 期货商品id
  15547. type: integer
  15548. goodsname:
  15549. description: 商品名称
  15550. type: string
  15551. haswr:
  15552. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15553. type: integer
  15554. isspecified:
  15555. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  15556. type: integer
  15557. ladingbillid:
  15558. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15559. type: string
  15560. marginvalue:
  15561. description: 保证金设置值(履约保证金)
  15562. type: number
  15563. marketid:
  15564. description: 市场ID
  15565. type: integer
  15566. matchusername:
  15567. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  15568. type: string
  15569. minivalue:
  15570. description: 现货商品最小变动值
  15571. type: integer
  15572. optioncompare:
  15573. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15574. type: string
  15575. orderqty:
  15576. description: 委托数量
  15577. type: number
  15578. ordertime:
  15579. description: 委托时间(挂牌时间)
  15580. type: string
  15581. performancetemplateid:
  15582. description: 履约模板id
  15583. type: integer
  15584. pricemove:
  15585. description: 升贴水(浮动价时填写) - [挂牌]
  15586. type: number
  15587. taname:
  15588. description: 交易用户名称(资金账号名称)
  15589. type: string
  15590. tradedate:
  15591. description: 交易日(yyyyMMdd)
  15592. type: string
  15593. tradeprice:
  15594. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  15595. type: number
  15596. tradeqty:
  15597. description: 成交数量
  15598. type: number
  15599. userid:
  15600. description: 用户ID
  15601. type: integer
  15602. validtime:
  15603. description: 挂牌有效期
  15604. type: string
  15605. warehouseid:
  15606. description: 仓库ID
  15607. type: integer
  15608. warehousename:
  15609. description: 仓库名称
  15610. type: string
  15611. wrfactortypeid:
  15612. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15613. type: string
  15614. wrfactortypename:
  15615. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15616. type: string
  15617. wrpricetype:
  15618. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  15619. type: integer
  15620. wrstandardcode:
  15621. description: 现货商品代码
  15622. type: string
  15623. wrstandardid:
  15624. description: 现货商品ID
  15625. type: integer
  15626. wrstandardname:
  15627. description: 商品名称
  15628. type: string
  15629. wrtradeorderid:
  15630. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15631. type: string
  15632. wrtradeorderstatus:
  15633. 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:撤单解冻贷款失败
  15634. type: integer
  15635. wrtradetype:
  15636. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15637. type: integer
  15638. wrtypename:
  15639. description: 商品
  15640. type: string
  15641. type: object
  15642. models.WrOrderQuote:
  15643. properties:
  15644. buyprice:
  15645. description: 买价
  15646. type: number
  15647. buypricemove:
  15648. description: 买升贴水(基差)
  15649. type: number
  15650. buyqty:
  15651. description: 买量
  15652. type: number
  15653. deliverygoodscode:
  15654. description: 品种代码
  15655. type: string
  15656. deliverygoodsid:
  15657. description: 品种id
  15658. type: integer
  15659. deliverygoodsname:
  15660. description: 品种名称
  15661. type: string
  15662. deliverymonth:
  15663. description: 交收月
  15664. type: string
  15665. enumdicname:
  15666. description: 单位名称
  15667. type: string
  15668. goodscode:
  15669. description: 商品合约(浮动价列表才有)
  15670. type: string
  15671. goodsid:
  15672. description: 商品id(浮动价列表才有)
  15673. type: integer
  15674. minivalue:
  15675. description: 现货商品最小变动值
  15676. type: integer
  15677. sellprice:
  15678. description: 卖价
  15679. type: number
  15680. sellpricemove:
  15681. description: 卖升贴水(基差)
  15682. type: number
  15683. sellqty:
  15684. description: 卖量
  15685. type: number
  15686. warehousecode:
  15687. description: 仓库代码
  15688. type: string
  15689. warehouseid:
  15690. description: 仓库id
  15691. type: integer
  15692. warehousename:
  15693. description: 仓库名称
  15694. type: string
  15695. wrfactortypeid:
  15696. description: 仓单要素id
  15697. type: string
  15698. wrfactortypename:
  15699. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15700. type: string
  15701. wrgoodsname:
  15702. description: 商品(商品名称+仓库要素名称 拼接)
  15703. type: string
  15704. wrstandardcode:
  15705. description: 商品代码
  15706. type: string
  15707. wrstandardid:
  15708. description: 商品id
  15709. type: integer
  15710. wrstandardname:
  15711. description: 商品名称
  15712. type: string
  15713. type: object
  15714. models.WrOrderQuoteDetail:
  15715. properties:
  15716. buyorsell:
  15717. description: 买卖 - 0:买 1:卖
  15718. type: integer
  15719. delistminqty:
  15720. description: 起摘数量
  15721. type: number
  15722. deliverymonth:
  15723. description: 交收月
  15724. type: string
  15725. enumdicname:
  15726. description: 单位名称
  15727. type: string
  15728. fixedprice:
  15729. description: 买(卖)价
  15730. type: number
  15731. minivalue:
  15732. description: 现货商品最小变动值
  15733. type: integer
  15734. orderqty:
  15735. description: 买(卖)量(=委托量-成交量)
  15736. type: number
  15737. ordertime:
  15738. description: 委托时间
  15739. type: string
  15740. pricemove:
  15741. description: 买(卖)升贴水- 基差
  15742. type: number
  15743. userid:
  15744. description: 购买方(销售方)用户ID
  15745. type: integer
  15746. username:
  15747. description: 购买方(销售方)
  15748. type: string
  15749. wrtradeorderid:
  15750. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15751. type: string
  15752. type: object
  15753. models.WrOutInApply:
  15754. properties:
  15755. applyid:
  15756. description: 申请单id
  15757. type: string
  15758. applystatus:
  15759. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  15760. type: integer
  15761. applytime:
  15762. description: 申请时间
  15763. type: string
  15764. applytype:
  15765. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  15766. type: integer
  15767. begindate:
  15768. description: 开始交易日(yyyymmdd)
  15769. type: string
  15770. deliverygoodscode:
  15771. description: 品种代码
  15772. type: string
  15773. deliverygoodsid:
  15774. description: 品种ID
  15775. type: integer
  15776. deliverygoodsname:
  15777. description: 品种名称
  15778. type: string
  15779. enddate:
  15780. description: 结束交易日(yyyymmdd)
  15781. type: string
  15782. enumdicname:
  15783. description: 单位名称
  15784. type: string
  15785. expresscompany:
  15786. description: 物流公司
  15787. type: string
  15788. expressnum:
  15789. description: 物流单号
  15790. type: string
  15791. minivalue:
  15792. description: 现货商品最小变动值
  15793. type: integer
  15794. optioncompare:
  15795. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15796. type: string
  15797. qty:
  15798. description: 数量
  15799. type: integer
  15800. userid:
  15801. description: 用户id
  15802. type: integer
  15803. warehouseid:
  15804. description: 仓库ID
  15805. type: integer
  15806. warehousename:
  15807. description: 仓库名称
  15808. type: string
  15809. wrfactortypeid:
  15810. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15811. type: string
  15812. wrfactortypename:
  15813. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15814. type: string
  15815. wrstandardcode:
  15816. description: 现货商品代码
  15817. type: string
  15818. wrstandardid:
  15819. description: 现货商品ID
  15820. type: integer
  15821. wrstandardname:
  15822. description: 商品名称
  15823. type: string
  15824. wrtypename:
  15825. description: 商品
  15826. type: string
  15827. type: object
  15828. models.WrPerformancePlan:
  15829. properties:
  15830. activatemonth:
  15831. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  15832. type: string
  15833. amount:
  15834. description: 履约金额(总金额)
  15835. type: number
  15836. buyaccountid:
  15837. description: 买方账号
  15838. type: integer
  15839. buyerfreezeamount:
  15840. description: 履约冻结(买履约)
  15841. type: number
  15842. buyerfreezeamountremain:
  15843. description: 履约冻结剩余(买履约)
  15844. type: number
  15845. buyorsell:
  15846. description: 买卖方向 0-买 1-卖
  15847. type: integer
  15848. buypaidamount:
  15849. description: 买方已冻/已扣金额 (已付金额)
  15850. type: number
  15851. buyusername:
  15852. description: 买方名字
  15853. type: string
  15854. contractid:
  15855. description: 合同ID
  15856. type: integer
  15857. createtime:
  15858. description: 创建时间
  15859. type: string
  15860. creatorid:
  15861. description: 创建人
  15862. type: integer
  15863. curstepdeadline:
  15864. description: 当前步骤到期时间
  15865. type: string
  15866. curstepid:
  15867. description: 当前步骤ID
  15868. type: string
  15869. curstepname:
  15870. description: 当前步骤名称
  15871. type: string
  15872. deliverygoodscode:
  15873. description: 品种代码
  15874. type: string
  15875. deliverygoodsid:
  15876. description: 品种ID
  15877. type: integer
  15878. deliverygoodsname:
  15879. description: 品种名称
  15880. type: string
  15881. enumdicname:
  15882. description: 单位名称
  15883. type: string
  15884. expressfee:
  15885. description: 运费
  15886. type: number
  15887. expressfeeconfirmed:
  15888. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  15889. type: integer
  15890. hasovershort:
  15891. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  15892. type: integer
  15893. haswr:
  15894. description: 类型 0-仓单预售 1-仓单贸易
  15895. type: integer
  15896. marketid:
  15897. description: 市场ID
  15898. type: integer
  15899. middleaccountid:
  15900. description: 中间商资金账号ID
  15901. type: integer
  15902. middleuserid:
  15903. description: 中间商用户ID
  15904. type: integer
  15905. minivalue:
  15906. description: 现货商品最小变动值
  15907. type: integer
  15908. optioncompare:
  15909. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15910. type: string
  15911. overshortamount:
  15912. description: 溢短金额
  15913. type: number
  15914. overshortqty:
  15915. description: 溢短数量
  15916. type: number
  15917. paymenttype:
  15918. description: 付款方式 - 1:冻结 2:扣款
  15919. type: integer
  15920. performanceplanid:
  15921. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  15922. type: string
  15923. performancestatus:
  15924. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭
  15925. type: integer
  15926. performancetype:
  15927. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  15928. type: integer
  15929. qty:
  15930. description: 履约数量
  15931. type: number
  15932. relatedorderid:
  15933. description: 关联单号(履约类型的关联单号)
  15934. type: string
  15935. remark:
  15936. description: 备注
  15937. type: string
  15938. sellaccountid:
  15939. description: 卖方账号
  15940. type: integer
  15941. sellerfreezeamount:
  15942. description: 履约冻结(卖履约)
  15943. type: number
  15944. sellerfreezeamountremain:
  15945. description: 履约冻结剩余(卖履约)
  15946. type: number
  15947. sellreceivedamount:
  15948. description: 卖方已收金额
  15949. type: number
  15950. sellusername:
  15951. description: 卖方名字
  15952. type: string
  15953. shipremark:
  15954. description: 发货备注[物流单号]
  15955. type: string
  15956. starttime:
  15957. description: 开始时间
  15958. type: string
  15959. steptypeid:
  15960. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15961. type: integer
  15962. typename:
  15963. description: 履约类型 名称
  15964. type: string
  15965. unpaidamount:
  15966. description: 剩余款(待支付金额)
  15967. type: number
  15968. userid:
  15969. description: 用户id
  15970. type: integer
  15971. warehouseid:
  15972. description: 仓库ID
  15973. type: integer
  15974. warehousename:
  15975. description: 仓库名称
  15976. type: string
  15977. wrfactortypeid:
  15978. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15979. type: string
  15980. wrfactortypename:
  15981. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15982. type: string
  15983. wrstandardcode:
  15984. description: 现货商品代码
  15985. type: string
  15986. wrstandardid:
  15987. description: 现货商品ID
  15988. type: integer
  15989. wrstandardname:
  15990. description: 商品名称
  15991. type: string
  15992. wrtransferuserid:
  15993. description: 仓单受让用户
  15994. type: integer
  15995. wrtypename:
  15996. description: 商品
  15997. type: string
  15998. required:
  15999. - userid
  16000. type: object
  16001. models.WrPerformancePlanStep:
  16002. properties:
  16003. delaydays:
  16004. description: 延期申请天数
  16005. type: integer
  16006. deliverygoodscode:
  16007. description: 品种代码
  16008. type: string
  16009. deliverygoodsid:
  16010. description: 品种ID
  16011. type: integer
  16012. deliverygoodsname:
  16013. description: 品种名称
  16014. type: string
  16015. endtime:
  16016. description: 结束日期
  16017. type: string
  16018. enumdicname:
  16019. description: 单位名称
  16020. type: string
  16021. executeside:
  16022. description: 步骤执行方 - 1:买方 2:卖方
  16023. type: integer
  16024. handlestatus:
  16025. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  16026. type: integer
  16027. isauto:
  16028. description: 是否自动 - 0:不自动 1:自动
  16029. type: integer
  16030. islastreceivestep:
  16031. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  16032. type: integer
  16033. minivalue:
  16034. description: 现货商品最小变动值
  16035. type: integer
  16036. optioncompare:
  16037. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16038. type: string
  16039. overdays:
  16040. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  16041. type: integer
  16042. performancestepid:
  16043. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  16044. type: string
  16045. planid:
  16046. description: 所属履约计划ID
  16047. type: string
  16048. realamount:
  16049. description: 实际完成金额
  16050. type: number
  16051. relatedorderid:
  16052. description: 关联单号
  16053. type: string
  16054. remaindays:
  16055. description: 剩余天数
  16056. type: integer
  16057. remark:
  16058. description: 错误备注
  16059. type: string
  16060. starttime:
  16061. description: 开始日期
  16062. type: string
  16063. stepamount:
  16064. description: 步骤金额
  16065. type: number
  16066. stepdays:
  16067. description: 距离上一步天数(分钟)
  16068. type: integer
  16069. stepindex:
  16070. description: 步骤序号
  16071. type: integer
  16072. steplanchtype:
  16073. description: 步骤启动类型 - 1:系统自动 2:手动
  16074. type: integer
  16075. stepremark:
  16076. description: 步骤备注
  16077. type: string
  16078. stepstatus:
  16079. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  16080. type: integer
  16081. steptypeid:
  16082. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  16083. type: integer
  16084. steptypename:
  16085. description: 步骤名称
  16086. type: string
  16087. stepvalue:
  16088. description: 步骤值
  16089. type: number
  16090. warehouseid:
  16091. description: 仓库ID
  16092. type: integer
  16093. warehousename:
  16094. description: 仓库名称
  16095. type: string
  16096. wrfactortypeid:
  16097. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16098. type: string
  16099. wrfactortypename:
  16100. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16101. type: string
  16102. wrstandardcode:
  16103. description: 现货商品代码
  16104. type: string
  16105. wrstandardid:
  16106. description: 现货商品ID
  16107. type: integer
  16108. wrstandardname:
  16109. description: 商品名称
  16110. type: string
  16111. wrtypename:
  16112. description: 商品
  16113. type: string
  16114. type: object
  16115. models.WrPerformanceStepType:
  16116. properties:
  16117. canauto:
  16118. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  16119. type: integer
  16120. steptypeid:
  16121. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  16122. type: integer
  16123. steptypename:
  16124. description: 步骤类型名称
  16125. type: string
  16126. type: object
  16127. models.WrPerformanceTemplateEx:
  16128. properties:
  16129. autoid:
  16130. description: AutoID 模板id
  16131. type: integer
  16132. createtime:
  16133. description: 创建时间
  16134. type: string
  16135. creatorid:
  16136. description: 创建人
  16137. type: integer
  16138. lstStep:
  16139. description: 步骤信息列表
  16140. items:
  16141. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  16142. type: array
  16143. paymenttype:
  16144. description: 支付方式 - 1:冻结 2:扣款
  16145. type: integer
  16146. takemode:
  16147. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  16148. type: integer
  16149. templatename:
  16150. description: 模板名称
  16151. type: string
  16152. templatetype:
  16153. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  16154. type: integer
  16155. userid:
  16156. description: 所属用户
  16157. type: integer
  16158. type: object
  16159. models.WrPosition:
  16160. properties:
  16161. accountid:
  16162. description: 帐户ID
  16163. type: integer
  16164. buyexcuteqty:
  16165. description: 采购履约中数量
  16166. type: number
  16167. creditcurqty:
  16168. description: 授信当前数量(预售仓单:预售当前量)
  16169. type: number
  16170. creditenableqty:
  16171. description: '授信可用数量(预售仓单: 可用数量)'
  16172. type: number
  16173. creditfreezeqty:
  16174. description: '授信冻结数量(预售仓单: 当前数量)'
  16175. type: number
  16176. credittotalqty:
  16177. description: 授信总数量(预售仓单:预售总量)
  16178. type: number
  16179. credittradeqty:
  16180. description: 授信成交数量(预售仓单:成交总量)
  16181. type: number
  16182. deliverygoodscode:
  16183. description: 品种代码
  16184. type: string
  16185. deliverygoodsid:
  16186. description: 品种ID
  16187. type: integer
  16188. deliverygoodsname:
  16189. description: 品种名称
  16190. type: string
  16191. enalbeqty:
  16192. description: 可用数量
  16193. type: number
  16194. enumdicname:
  16195. description: 单位名称
  16196. type: string
  16197. freezeqty:
  16198. description: 总冻结数量
  16199. type: number
  16200. haswr:
  16201. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16202. type: integer
  16203. minivalue:
  16204. description: 现货商品最小变动值
  16205. type: integer
  16206. modifytime:
  16207. description: 修改时间(过户时间)
  16208. type: string
  16209. optioncompare:
  16210. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16211. type: string
  16212. pledgeqty:
  16213. description: 质押数量
  16214. type: number
  16215. querytype:
  16216. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  16217. type: integer
  16218. sellexcuteqty:
  16219. description: 销售履约中数量
  16220. type: number
  16221. totalqty:
  16222. description: 总数量(库存数量)
  16223. type: number
  16224. warehouseid:
  16225. description: 仓库ID
  16226. type: integer
  16227. warehousename:
  16228. description: 仓库名称
  16229. type: string
  16230. wrfactortypeid:
  16231. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16232. type: string
  16233. wrfactortypename:
  16234. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16235. type: string
  16236. wrpositionid:
  16237. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  16238. type: string
  16239. wrpositionno:
  16240. description: 仓单编号
  16241. type: string
  16242. wrstandardcode:
  16243. description: 现货商品代码
  16244. type: string
  16245. wrstandardid:
  16246. description: 现货商品ID
  16247. type: integer
  16248. wrstandardname:
  16249. description: 商品名称
  16250. type: string
  16251. wrtypename:
  16252. description: 商品
  16253. type: string
  16254. wruserid:
  16255. description: 持有人ID
  16256. type: integer
  16257. type: object
  16258. models.WrQuoteOrderMyq:
  16259. properties:
  16260. buyorsell:
  16261. description: 买卖 - 0:买 1:卖
  16262. type: integer
  16263. canbargain:
  16264. description: 是否可议价 - 0:不可 1:可
  16265. type: integer
  16266. canpart:
  16267. description: 是否允许部份摘牌 - 0:不允许 1:允许
  16268. type: integer
  16269. delistminqty:
  16270. description: 起摘数量
  16271. type: number
  16272. deliverygoodscode:
  16273. description: 品种代码
  16274. type: string
  16275. deliverygoodsid:
  16276. description: 品种ID
  16277. type: integer
  16278. deliverygoodsname:
  16279. description: 品种名称
  16280. type: string
  16281. deliverymonth:
  16282. description: 交收月
  16283. type: string
  16284. enumdicname:
  16285. description: 单位名称
  16286. type: string
  16287. fixedprice:
  16288. description: 买(卖)价
  16289. type: number
  16290. goodscode:
  16291. description: 商品合约代码
  16292. type: string
  16293. marginflag:
  16294. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  16295. type: integer
  16296. marginvalue:
  16297. description: 保证金设置值
  16298. type: number
  16299. minivalue:
  16300. description: 现货商品最小变动值
  16301. type: integer
  16302. orderqty:
  16303. description: 买(卖)量(=委托量-成交量)
  16304. type: number
  16305. ordertime:
  16306. description: 委托时间
  16307. type: string
  16308. performancetemplateid:
  16309. description: 履约模板id
  16310. type: integer
  16311. pricemove:
  16312. description: 买(卖)升贴水- 基差
  16313. type: number
  16314. templatename:
  16315. description: 履约模板名称
  16316. type: string
  16317. userid:
  16318. description: 购买方(销售方)用户ID
  16319. type: integer
  16320. username:
  16321. description: 购买方(销售方)
  16322. type: string
  16323. validtime:
  16324. description: 有效期限
  16325. type: string
  16326. validtype:
  16327. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  16328. type: integer
  16329. warehousename:
  16330. description: 仓库名称
  16331. type: string
  16332. wrfactortypeid:
  16333. description: 仓单要素id
  16334. type: string
  16335. wrstandardcode:
  16336. description: 现货商品代码
  16337. type: string
  16338. wrstandardid:
  16339. description: 现货商品ID
  16340. type: integer
  16341. wrstandardname:
  16342. description: 商品名称
  16343. type: string
  16344. wrtradeorderid:
  16345. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16346. type: string
  16347. wrtypename:
  16348. description: 商品
  16349. type: string
  16350. type: object
  16351. models.WrScfContract:
  16352. properties:
  16353. borroweruserid:
  16354. description: 借款用户ID
  16355. type: integer
  16356. buybackwrpositionqty:
  16357. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  16358. type: number
  16359. closeinterest:
  16360. description: 已结利息 -> 已结费用
  16361. type: number
  16362. currisklevel:
  16363. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  16364. type: integer
  16365. deadline:
  16366. description: 截止日期(yyyyMMdd) -> 借款到期时间
  16367. type: string
  16368. deliverygoodscode:
  16369. description: 品种代码
  16370. type: string
  16371. deliverygoodsid:
  16372. description: 品种ID
  16373. type: integer
  16374. deliverygoodsname:
  16375. description: 品种名称
  16376. type: string
  16377. enumdicname:
  16378. description: 单位名称
  16379. type: string
  16380. financingdays:
  16381. description: 天数(天)
  16382. type: integer
  16383. initmargin:
  16384. description: 保证金 - [仓单回购]
  16385. type: number
  16386. interestamount:
  16387. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  16388. type: number
  16389. interestdebt:
  16390. description: 利息欠款(记录负数) -> 费用欠款
  16391. type: number
  16392. interestminlen:
  16393. description: 最小起息天数
  16394. type: integer
  16395. interestrate:
  16396. description: 利率
  16397. type: number
  16398. interestratemode:
  16399. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  16400. type: integer
  16401. interestsettlemode:
  16402. description: 结息方式 - 1:按日结息 3:按月结息
  16403. type: integer
  16404. interestsettlevalue:
  16405. description: 结息方式值
  16406. type: integer
  16407. isautoloan:
  16408. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  16409. type: integer
  16410. lastcloseinterestday:
  16411. description: 最近结息日(yyyyMMdd)
  16412. type: string
  16413. lenderamount:
  16414. description: 贷款金额 -> 借款金额
  16415. type: number
  16416. lenderuserid:
  16417. description: 贷款方用户ID -> 融出方用户ID
  16418. type: integer
  16419. lenderusername:
  16420. description: 融出方
  16421. type: string
  16422. marginratio:
  16423. description: 保证金比率质押率 - [仓单质押]
  16424. type: number
  16425. marketid:
  16426. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  16427. type: integer
  16428. minivalue:
  16429. description: 现货商品最小变动值
  16430. type: integer
  16431. optioncompare:
  16432. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16433. type: string
  16434. pricemove:
  16435. description: 估值升贴水值
  16436. type: number
  16437. productdetailid:
  16438. description: 产品组合ID
  16439. type: integer
  16440. productid:
  16441. description: 金融产品ID
  16442. type: integer
  16443. productname:
  16444. description: 产品名称
  16445. type: string
  16446. remainamount:
  16447. description: 合同剩余金额 -> 剩余金额
  16448. type: number
  16449. remainwrpositionqty:
  16450. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  16451. type: number
  16452. remark:
  16453. description: 备注
  16454. type: string
  16455. scfcontractid:
  16456. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  16457. type: string
  16458. scfcontractstatus:
  16459. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交
  16460. type: integer
  16461. scfcontracttype:
  16462. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  16463. type: integer
  16464. startinterestday:
  16465. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  16466. type: string
  16467. totalinterest:
  16468. description: 已计利息 -> 已计费用
  16469. type: number
  16470. unpaidinterest:
  16471. description: 未结费用
  16472. type: number
  16473. updatetime:
  16474. description: 更新时间
  16475. type: string
  16476. warehouseid:
  16477. description: 仓库ID
  16478. type: integer
  16479. warehousename:
  16480. description: 仓库名称
  16481. type: string
  16482. wrfactortypeid:
  16483. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16484. type: string
  16485. wrfactortypename:
  16486. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16487. type: string
  16488. wrqty:
  16489. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  16490. type: number
  16491. wrstandardcode:
  16492. description: 现货商品代码
  16493. type: string
  16494. wrstandardid:
  16495. description: 现货商品ID
  16496. type: integer
  16497. wrstandardname:
  16498. description: 商品名称
  16499. type: string
  16500. wrtypename:
  16501. description: 商品
  16502. type: string
  16503. type: object
  16504. models.WrScfContractInterest:
  16505. properties:
  16506. closeinterest:
  16507. description: 已结利息
  16508. type: number
  16509. closeintereststatus:
  16510. description: 结息状态 - 1:未结 2:已结
  16511. type: integer
  16512. closetime:
  16513. description: 结息时间
  16514. type: string
  16515. closetradedate:
  16516. description: 结息交易日
  16517. type: string
  16518. creatorid:
  16519. description: 操作人ID
  16520. type: integer
  16521. dayrate:
  16522. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  16523. type: number
  16524. interest:
  16525. description: 利息
  16526. type: number
  16527. interestamount:
  16528. description: 计息金额
  16529. type: number
  16530. interestday:
  16531. description: 计息日(yyyyMMdd)
  16532. type: string
  16533. scfcontractid:
  16534. description: SCF合同ID
  16535. type: string
  16536. scfcontractinterestid:
  16537. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  16538. type: integer
  16539. updatetime:
  16540. description: 更新时间
  16541. type: string
  16542. type: object
  16543. models.WrSiteColumnDetail:
  16544. properties:
  16545. brief:
  16546. description: 简介
  16547. type: string
  16548. context:
  16549. description: 内容
  16550. type: string
  16551. coverimage:
  16552. description: 封面图片
  16553. type: string
  16554. creaedate:
  16555. description: 创建时间
  16556. type: string
  16557. id:
  16558. description: ID(SEQ_SITE_COLUMNDETAIL)
  16559. type: integer
  16560. istop:
  16561. description: 是否置顶 - 0:不置 1:置顶
  16562. type: integer
  16563. publishdate:
  16564. description: 发布日期
  16565. type: string
  16566. title:
  16567. description: 标题
  16568. type: string
  16569. updatedate:
  16570. description: 修改时间
  16571. type: string
  16572. type: object
  16573. models.WrSpecialMatchOrder:
  16574. properties:
  16575. amount:
  16576. description: 金额 = 数量 * 价格
  16577. type: number
  16578. buyorsell:
  16579. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16580. type: integer
  16581. cancelqty:
  16582. description: 撤销数量
  16583. type: number
  16584. deliverygoodscode:
  16585. description: 品种代码
  16586. type: string
  16587. deliverygoodsid:
  16588. description: 品种ID
  16589. type: integer
  16590. deliverygoodsname:
  16591. description: 品种名称
  16592. type: string
  16593. enumdicname:
  16594. description: 单位名称
  16595. type: string
  16596. fixedprice:
  16597. description: 固定价格(价格)
  16598. type: number
  16599. haswr:
  16600. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16601. type: integer
  16602. isspecified:
  16603. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  16604. type: integer
  16605. marketid:
  16606. description: 市场ID
  16607. type: integer
  16608. matchuserid:
  16609. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  16610. type: integer
  16611. matchusername:
  16612. description: 指定方
  16613. type: string
  16614. minivalue:
  16615. description: 现货商品最小变动值
  16616. type: integer
  16617. optioncompare:
  16618. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16619. type: string
  16620. orderqty:
  16621. description: 委托数量
  16622. type: number
  16623. ordertime:
  16624. description: 委托时间
  16625. type: string
  16626. pricemove:
  16627. description: 升贴水(浮动价时填写) - [挂牌]
  16628. type: number
  16629. tradedate:
  16630. description: 交易日(yyyyMMdd)
  16631. type: string
  16632. tradeprice:
  16633. description: 成交价格
  16634. type: number
  16635. tradeqty:
  16636. description: 成交数量
  16637. type: number
  16638. userid:
  16639. description: 用户ID
  16640. type: integer
  16641. username:
  16642. description: 发起方
  16643. type: string
  16644. warehouseid:
  16645. description: 仓库ID
  16646. type: integer
  16647. warehousename:
  16648. description: 仓库名称
  16649. type: string
  16650. wrfactortypeid:
  16651. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16652. type: string
  16653. wrfactortypename:
  16654. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16655. type: string
  16656. wrpricetype:
  16657. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  16658. type: integer
  16659. wrstandardcode:
  16660. description: 现货商品代码
  16661. type: string
  16662. wrstandardid:
  16663. description: 现货商品ID
  16664. type: integer
  16665. wrstandardname:
  16666. description: 商品名称
  16667. type: string
  16668. wrtradeorderid:
  16669. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16670. type: string
  16671. wrtradeorderstatus:
  16672. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  16673. type: integer
  16674. wrtradetype:
  16675. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16676. type: integer
  16677. wrtypename:
  16678. description: 商品
  16679. type: string
  16680. type: object
  16681. models.WrSpotGroupTradeSum:
  16682. properties:
  16683. deliverygoodscode:
  16684. description: 现货品种代码
  16685. type: string
  16686. deliverygoodsid:
  16687. description: 现货品种ID(SEQ_DELIVERYGOODS)
  16688. type: integer
  16689. deliverygoodsname:
  16690. description: 现货品种名称
  16691. type: string
  16692. lastavgprice:
  16693. description: 上上个交易日价格(前2天价格)
  16694. type: string
  16695. lastreckondate:
  16696. description: 上上个交易日(前2天交易日)
  16697. type: string
  16698. reckondate:
  16699. description: 上个交易日(前1天交易日)
  16700. type: string
  16701. todayavgprice:
  16702. description: 上个交易日价格(前1天价格)
  16703. type: string
  16704. updown:
  16705. description: 涨跌
  16706. type: string
  16707. updownratio:
  16708. description: 涨幅(已格式化, 直接显示即可)
  16709. type: string
  16710. type: object
  16711. models.WrSpotGroupTradeSumDetail:
  16712. properties:
  16713. deliverygoodsid:
  16714. description: 现货商品id
  16715. type: integer
  16716. price:
  16717. description: 价格
  16718. type: number
  16719. reckondate:
  16720. description: 日期(yyymmdd, 如:20211031)
  16721. type: string
  16722. type: object
  16723. models.WrSpotGroupTradeSumEx:
  16724. properties:
  16725. lst:
  16726. description: 指数列表
  16727. items:
  16728. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  16729. type: array
  16730. prereckondate:
  16731. description: 上上个交易日(yyymmdd)
  16732. type: string
  16733. reckondate:
  16734. description: 上个交易日(yyyymmdd)
  16735. type: string
  16736. type: object
  16737. models.WrStandardFactoryItem:
  16738. properties:
  16739. dgfactoryitemid:
  16740. description: 选择项id
  16741. type: integer
  16742. dgfactoryitemvalue:
  16743. description: 要素项值
  16744. type: string
  16745. warehouseid:
  16746. description: 仓库id
  16747. type: integer
  16748. type: object
  16749. models.WrStandardFactoryItemEx:
  16750. properties:
  16751. dgfactoryitemtypeid:
  16752. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  16753. type: integer
  16754. itemlst:
  16755. description: 要素项列表
  16756. items:
  16757. $ref: '#/definitions/models.WrStandardFactoryItem'
  16758. type: array
  16759. itemtypename:
  16760. description: 要素项类型名称
  16761. type: string
  16762. wrstandardid:
  16763. description: 品类
  16764. type: integer
  16765. type: object
  16766. models.WrTradeDetail:
  16767. properties:
  16768. accountid:
  16769. description: 资金账号
  16770. type: integer
  16771. begindate:
  16772. description: 开始交易日(yyyymmdd)
  16773. type: string
  16774. buyorsell:
  16775. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16776. type: integer
  16777. chargevalue:
  16778. description: 手续费
  16779. type: number
  16780. deliverygoodscode:
  16781. description: 品种代码
  16782. type: string
  16783. deliverygoodsid:
  16784. description: 品种ID
  16785. type: integer
  16786. deliverygoodsname:
  16787. description: 品种名称
  16788. type: string
  16789. deliverymonth:
  16790. description: 交收月
  16791. type: string
  16792. enddate:
  16793. description: 结束交易日(yyyymmdd)
  16794. type: string
  16795. enumdicname:
  16796. description: 单位名称
  16797. type: string
  16798. haswr:
  16799. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16800. type: integer
  16801. marketid:
  16802. description: 市场ID
  16803. type: integer
  16804. matchaccountid:
  16805. description: 对手账号
  16806. type: integer
  16807. matchusername:
  16808. description: 对手方
  16809. type: string
  16810. minivalue:
  16811. description: 现货商品最小变动值
  16812. type: integer
  16813. optioncompare:
  16814. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16815. type: string
  16816. tradedate:
  16817. description: 交易日(yyyyMMdd)
  16818. type: string
  16819. tradeprice:
  16820. description: 成交价格
  16821. type: number
  16822. tradeqty:
  16823. description: 成交数量
  16824. type: number
  16825. tradetime:
  16826. description: 成交时间
  16827. type: string
  16828. userid:
  16829. description: 用户ID
  16830. type: integer
  16831. warehouseid:
  16832. description: 仓库ID
  16833. type: integer
  16834. warehousename:
  16835. description: 仓库名称
  16836. type: string
  16837. wrfactortypeid:
  16838. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16839. type: string
  16840. wrfactortypename:
  16841. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16842. type: string
  16843. wrstandardcode:
  16844. description: 现货商品代码
  16845. type: string
  16846. wrstandardid:
  16847. description: 现货商品ID
  16848. type: integer
  16849. wrstandardname:
  16850. description: 商品名称
  16851. type: string
  16852. wrtradedetailid:
  16853. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  16854. type: string
  16855. wrtradetype:
  16856. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16857. type: integer
  16858. wrtypename:
  16859. description: 商品
  16860. type: string
  16861. type: object
  16862. models.WrTradeOrderDetail:
  16863. properties:
  16864. buyorsell:
  16865. description: 买卖方向 0-买 1-卖
  16866. type: integer
  16867. goodsid:
  16868. description: 商品id
  16869. type: integer
  16870. orderid:
  16871. description: 委托单号
  16872. type: string
  16873. orderprice:
  16874. description: 委托价格
  16875. type: number
  16876. orderqty:
  16877. description: 委托数量
  16878. type: integer
  16879. userid:
  16880. description: 用户id
  16881. type: integer
  16882. username:
  16883. description: 用户名称(已脱敏)
  16884. type: string
  16885. type: object
  16886. models.WrTypeItem:
  16887. properties:
  16888. name:
  16889. description: 名称
  16890. type: string
  16891. value:
  16892. description: 值
  16893. type: string
  16894. type: object
  16895. models.WrUserFriend:
  16896. properties:
  16897. friendname:
  16898. description: 朋友名称(已脱敏)
  16899. type: string
  16900. frienduserid:
  16901. description: 朋友id
  16902. type: integer
  16903. isfriend:
  16904. description: 是否好友 0-不是 1-是
  16905. type: integer
  16906. userid:
  16907. description: 用户id
  16908. type: integer
  16909. type: object
  16910. models.WrUserReceiptInfo:
  16911. properties:
  16912. address:
  16913. description: 地址[发票类型:企业]
  16914. type: string
  16915. autoid:
  16916. description: AutoID
  16917. type: integer
  16918. contactinfo:
  16919. description: 联系方式
  16920. type: string
  16921. idnum:
  16922. description: 身份证号码[发票类型:个人]
  16923. type: string
  16924. isdefault:
  16925. description: 是否默认地址 - 0:否 1:是
  16926. type: integer
  16927. receiptaccount:
  16928. description: 发票帐号[发票类型:企业]
  16929. type: string
  16930. receiptbank:
  16931. description: 发票开户行[发票类型:企业]
  16932. type: string
  16933. receipttype:
  16934. description: 发票类型 - 1:个人 2:企业
  16935. type: integer
  16936. taxpayerid:
  16937. description: 纳税人识别号
  16938. type: string
  16939. userid:
  16940. description: 用户ID
  16941. type: integer
  16942. username:
  16943. description: 户名(个人姓名或企业名称)
  16944. type: string
  16945. type: object
  16946. models.XHBRAND:
  16947. properties:
  16948. brandid:
  16949. description: 品牌id
  16950. type: integer
  16951. brandname:
  16952. description: 品牌名称
  16953. type: string
  16954. isvalid:
  16955. description: 是否有效 0-无效 1-有效
  16956. type: integer
  16957. type: object
  16958. models.XHDeliveryGoods:
  16959. properties:
  16960. areauserid:
  16961. description: 所属机构
  16962. type: integer
  16963. bdlst:
  16964. description: 品牌列表
  16965. items:
  16966. $ref: '#/definitions/models.XHBRAND'
  16967. type: array
  16968. deliverygoodscode:
  16969. description: 现货品种代码
  16970. type: string
  16971. deliverygoodsid:
  16972. description: 现货品种ID(SEQ_DELIVERYGOODS)
  16973. type: integer
  16974. deliverygoodsname:
  16975. description: 现货品种名称
  16976. type: string
  16977. dgstatus:
  16978. description: 品种状态 - 作废 - 0:未激活 1:正常
  16979. type: integer
  16980. isvalid:
  16981. description: 是否有效 - 0:无效 1:有效
  16982. type: integer
  16983. remark:
  16984. description: 备注
  16985. type: string
  16986. unitid:
  16987. description: 单位id(目前看,数据库中是空值)
  16988. type: integer
  16989. wdlst:
  16990. description: 品类(现货商品)列表
  16991. items:
  16992. $ref: '#/definitions/models.XHWrstandard'
  16993. type: array
  16994. type: object
  16995. models.XHMiddleGoods:
  16996. properties:
  16997. GPLST:
  16998. description: 期货品种列表
  16999. items:
  17000. $ref: '#/definitions/models.TBGoodsGroup'
  17001. type: array
  17002. convertratio:
  17003. description: 拆算系数
  17004. type: number
  17005. costratio:
  17006. description: 成本权重
  17007. type: number
  17008. deliverygoodsid:
  17009. description: 现货商品id
  17010. type: integer
  17011. enumdicname:
  17012. description: 单位名称
  17013. type: string
  17014. middlegoodscode:
  17015. description: 套保品种代码
  17016. type: string
  17017. middlegoodsid:
  17018. description: 套保品种id
  17019. type: integer
  17020. middlegoodsname:
  17021. description: 套保品种名称
  17022. type: string
  17023. unitid:
  17024. description: 单位id
  17025. type: integer
  17026. type: object
  17027. models.XHWrstandard:
  17028. properties:
  17029. deliverygoodsid:
  17030. description: 品种ID
  17031. type: integer
  17032. enumdicname:
  17033. description: 单位名称
  17034. type: string
  17035. mglst:
  17036. description: 套保品列表
  17037. items:
  17038. $ref: '#/definitions/models.XHMiddleGoods'
  17039. type: array
  17040. unitid:
  17041. description: 单位id
  17042. type: integer
  17043. vatrate:
  17044. description: 增值税率
  17045. type: number
  17046. wrstandardcode:
  17047. description: 现货商品代码
  17048. type: string
  17049. wrstandardid:
  17050. description: 现货商品ID(SEQ_WRSTANDARD)
  17051. type: integer
  17052. wrstandardname:
  17053. description: 现货商品名称
  17054. type: string
  17055. type: object
  17056. order.QueryHisTradeDetailRsp:
  17057. properties:
  17058. accountid:
  17059. description: 账户ID[报价币种]
  17060. type: integer
  17061. advanceratio:
  17062. description: 首付比率
  17063. type: number
  17064. buildtype:
  17065. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  17066. type: integer
  17067. buyorsell:
  17068. description: 方向 - 0:买 1:卖
  17069. type: integer
  17070. charge:
  17071. description: 手续费
  17072. type: number
  17073. closecharge:
  17074. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17075. type: number
  17076. closeexchagechargevalue:
  17077. description: 平仓交易所手续费设置值
  17078. type: number
  17079. closefeealgorithm:
  17080. description: 平仓手续费收取方式 1:比率 2:固定
  17081. type: integer
  17082. closememberchargevalue:
  17083. description: 平仓会员手续费设置值
  17084. type: number
  17085. closepl:
  17086. description: 平仓盈亏
  17087. type: number
  17088. closepl2:
  17089. description: 平仓盈亏[逐笔]
  17090. type: number
  17091. closeqty:
  17092. description: 平仓数量(先建后平操作 需要记录)
  17093. type: number
  17094. creditamount:
  17095. description: 授信金额
  17096. type: number
  17097. decimalplace:
  17098. description: 商品报价小数位
  17099. type: integer
  17100. enumdicname:
  17101. description: 单位名称
  17102. type: string
  17103. gcaccountid:
  17104. description: 账户ID[合约币种]
  17105. type: integer
  17106. goodscode:
  17107. description: 商品代码
  17108. type: string
  17109. goodsid:
  17110. description: 商品ID
  17111. type: integer
  17112. goodsname:
  17113. description: 商品名称
  17114. type: string
  17115. goodunitid:
  17116. description: 商品单位id
  17117. type: integer
  17118. histradedate:
  17119. description: 历史交易日
  17120. type: string
  17121. intclosepl:
  17122. description: 整型盈亏(用于交易结算试算平衡-收益权)
  17123. type: integer
  17124. isconfirmexercise:
  17125. description: 是否确认行权- 0:否 1:是
  17126. type: integer
  17127. ismain:
  17128. description: 是否主单 - 0:不是 1:是
  17129. type: integer
  17130. ispreexercise:
  17131. description: 是否预申报- 0:否 1:是
  17132. type: integer
  17133. isreckoned:
  17134. description: 是否结算 - 0:未结算 1:已结算
  17135. type: integer
  17136. isvaliddata:
  17137. description: 是否有效 - 0:无效 1:有效
  17138. type: integer
  17139. listingselecttype:
  17140. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17141. type: integer
  17142. marketid:
  17143. description: 市场ID
  17144. type: integer
  17145. marketname:
  17146. description: 市场名称
  17147. type: string
  17148. matchaccountid:
  17149. description: 对手账号id
  17150. type: integer
  17151. memberuserid:
  17152. description: 会员id 个人投资者 需要填写
  17153. type: integer
  17154. opencharge:
  17155. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17156. type: number
  17157. openexchagechargevalue:
  17158. description: 建仓交易所手续费设置值
  17159. type: number
  17160. openfeealgorithm:
  17161. description: 建仓手续费收取方式 1:比率 2:固定
  17162. type: integer
  17163. openmemberchargevalue:
  17164. description: 建仓会员手续费设置值
  17165. type: number
  17166. openqty:
  17167. description: 开仓数量(先建后平操作 需要记录)
  17168. type: number
  17169. optiontype:
  17170. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17171. type: integer
  17172. orderid:
  17173. description: 委托单号
  17174. type: string
  17175. payamount:
  17176. description: 支付金额(付款金额)
  17177. type: number
  17178. performanceplanid:
  17179. description: 履约计划ID[期权]
  17180. type: integer
  17181. performancestatus:
  17182. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  17183. type: integer
  17184. preexerciseprice:
  17185. description: 预申报价格
  17186. type: number
  17187. premium:
  17188. description: 权利金 - [持仓单的权利金]
  17189. type: number
  17190. qtydecimalplace:
  17191. description: 商品报价小数位
  17192. type: integer
  17193. recvamount:
  17194. description: 到账金额 = 成交金额 - 手续费
  17195. type: number
  17196. relatedouttradeid:
  17197. description: 关联外部成交单ID
  17198. type: integer
  17199. status:
  17200. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  17201. type: integer
  17202. totalamount:
  17203. description: 订单总额 = 成交金额 + 手续费
  17204. type: number
  17205. tradeamount:
  17206. description: 成交金额[账户币种,用于所有权]
  17207. type: number
  17208. tradedate:
  17209. description: 交易日(yyyyMMdd)
  17210. type: string
  17211. tradeid:
  17212. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17213. type: string
  17214. trademode:
  17215. description: 交易模式
  17216. type: integer
  17217. tradeprice:
  17218. description: 成交价格
  17219. type: number
  17220. tradeproperty:
  17221. description: 交易属性
  17222. type: integer
  17223. tradeqty:
  17224. description: 成交数量
  17225. type: number
  17226. tradetime:
  17227. description: 成交时间
  17228. type: string
  17229. tradetype:
  17230. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  17231. type: integer
  17232. required:
  17233. - accountid
  17234. - buyorsell
  17235. - goodsid
  17236. - histradedate
  17237. - marketid
  17238. - memberuserid
  17239. - orderid
  17240. - tradeamount
  17241. - tradedate
  17242. - tradeid
  17243. - tradeprice
  17244. - tradeqty
  17245. - tradetime
  17246. type: object
  17247. order.QueryHisTradeOrderDetailRsp:
  17248. properties:
  17249. accountid:
  17250. description: 账户ID[报价币种]
  17251. type: integer
  17252. buildtype:
  17253. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  17254. type: integer
  17255. buyorsell:
  17256. description: 买卖 - 0:买 1:卖
  17257. type: integer
  17258. cancelorderid:
  17259. description: 撤单单号(撤单时填写)
  17260. type: string
  17261. cancelqty:
  17262. description: 撤单数量
  17263. type: number
  17264. clientordertime:
  17265. description: 客户端委托时间
  17266. type: string
  17267. clientticket:
  17268. description: 客户端流水号
  17269. type: string
  17270. clienttype:
  17271. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  17272. type: integer
  17273. closeexchagechargevalue:
  17274. description: 平仓交易所手续费设置值
  17275. type: number
  17276. closefeealgorithm:
  17277. description: 平仓手续费收取方式 1:比率 2:固定
  17278. type: integer
  17279. closefreezecharge:
  17280. description: 平仓冻结手续费(先建后平操作,需要记录)
  17281. type: number
  17282. closememberchargevalue:
  17283. description: 平仓会员手续费设置值
  17284. type: number
  17285. closeqty:
  17286. description: 平仓数量(先建后平操作 需要记录)
  17287. type: number
  17288. closetradeqty:
  17289. description: 平仓成交数量(先建后平操作,需要记录)
  17290. type: number
  17291. closeunfreezecharge:
  17292. description: 平仓解冻手续费(先建后平操作,需要记录)
  17293. type: number
  17294. decimalplace:
  17295. description: 商品报价小数位
  17296. type: integer
  17297. delistingtype:
  17298. description: 摘牌类型 - 1:价格最优 2:点选成交
  17299. type: integer
  17300. enumdicname:
  17301. description: 单位名称
  17302. type: string
  17303. freezecharge:
  17304. description: 冻结手续费
  17305. type: number
  17306. freezemargin:
  17307. description: 冻结保证金(冻结交易金额)
  17308. type: number
  17309. gcaccountid:
  17310. description: 账户ID[合约币种]
  17311. type: integer
  17312. goodscode:
  17313. description: 商品代码
  17314. type: string
  17315. goodsid:
  17316. description: 商品ID
  17317. type: integer
  17318. goodsname:
  17319. description: 商品名称
  17320. type: string
  17321. goodunitid:
  17322. description: 商品单位id
  17323. type: integer
  17324. histradedate:
  17325. description: 历史交易日
  17326. type: string
  17327. isconfirmexercise:
  17328. description: 是否确认行权- 0:否 1:是
  17329. type: integer
  17330. ispreexercise:
  17331. description: 是否预申报- 0:否 1:是
  17332. type: integer
  17333. isvaliddata:
  17334. description: 是否有效 - 0:无效 1:有效
  17335. type: integer
  17336. listingselecttype:
  17337. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17338. type: integer
  17339. marginalgorithm:
  17340. description: 保证金收取方式 1:比率 2:固定
  17341. type: integer
  17342. marginvalue:
  17343. description: 即市保证金设置值
  17344. type: number
  17345. marketid:
  17346. description: 市场ID
  17347. type: integer
  17348. marketmaxsub:
  17349. description: 市价最大偏移范围
  17350. type: number
  17351. marketname:
  17352. description: 市场名称
  17353. type: string
  17354. memberuserid:
  17355. description: 所属会员UserID
  17356. type: integer
  17357. openexchagechargevalue:
  17358. description: 建仓交易所手续费设置值
  17359. type: number
  17360. openfeealgorithm:
  17361. description: 建仓手续费收取方式 1:比率 2:固定
  17362. type: integer
  17363. openfreezecharge:
  17364. description: 开仓冻结手续费(先建后平操作,需要记录)
  17365. type: number
  17366. openmemberchargevalue:
  17367. description: 建仓会员手续费设置值
  17368. type: number
  17369. openqty:
  17370. description: 开仓数量(先建后平操作,需要记录)
  17371. type: number
  17372. opentradeqty:
  17373. description: 开仓成交数量(先建后平操作,需要记录)
  17374. type: number
  17375. openunfreezecharge:
  17376. description: 开仓解冻手续费(先建后平操作,需要记录)
  17377. type: number
  17378. operatetype:
  17379. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让
  17380. type: integer
  17381. operatorid:
  17382. description: 登录账号(LoginID)
  17383. type: integer
  17384. optiontype:
  17385. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17386. type: integer
  17387. orderid:
  17388. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17389. type: string
  17390. orderprice:
  17391. description: 委托价格
  17392. type: number
  17393. orderqty:
  17394. description: 委托数量
  17395. type: number
  17396. ordersrc:
  17397. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  17398. type: integer
  17399. orderstatus:
  17400. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  17401. type: integer
  17402. ordertime:
  17403. description: 委托时间
  17404. type: string
  17405. preexerciseprice:
  17406. description: 预申报价格
  17407. type: number
  17408. premium:
  17409. description: 权利金
  17410. type: number
  17411. preorderid:
  17412. description: 关联预埋单号(止盈止损单时填写)
  17413. type: string
  17414. pricemode:
  17415. description: '取价方式 - 1:市价 2: 限价'
  17416. type: integer
  17417. qtydecimalplace:
  17418. description: 成交量小数位
  17419. type: integer
  17420. quoteid:
  17421. description: 报价单ID
  17422. type: integer
  17423. relatedid:
  17424. description: 关联单号(交割单)
  17425. type: string
  17426. retcode:
  17427. description: 错误代码
  17428. type: integer
  17429. sessionid:
  17430. description: 会话ID
  17431. type: integer
  17432. tradedate:
  17433. description: 交易日(yyyyMMdd)
  17434. type: string
  17435. trademode:
  17436. description: 交易模式
  17437. type: integer
  17438. tradeproperty:
  17439. description: 交易属性
  17440. type: integer
  17441. tradeqty:
  17442. description: 成交数量
  17443. type: number
  17444. unfreezecharge:
  17445. description: 解冻手续费
  17446. type: number
  17447. unfreezemargin:
  17448. description: 解冻保证金
  17449. type: number
  17450. updatetime:
  17451. description: 更新时间
  17452. type: string
  17453. uuid:
  17454. description: 发起端唯一id
  17455. type: string
  17456. validtime:
  17457. description: 有效期限
  17458. type: string
  17459. validtype:
  17460. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  17461. type: integer
  17462. volumetype:
  17463. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  17464. type: integer
  17465. required:
  17466. - accountid
  17467. - buildtype
  17468. - buyorsell
  17469. - goodsid
  17470. - histradedate
  17471. - marketid
  17472. - memberuserid
  17473. - operatetype
  17474. - orderid
  17475. - orderqty
  17476. - ordertime
  17477. - pricemode
  17478. - tradedate
  17479. - validtype
  17480. type: object
  17481. order.QueryTradeDetailRsp:
  17482. properties:
  17483. accountid:
  17484. description: 账户ID[报价币种]
  17485. type: integer
  17486. advanceratio:
  17487. description: 首付比率
  17488. type: number
  17489. buildtype:
  17490. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  17491. type: integer
  17492. buyorsell:
  17493. description: 方向 - 0:买 1:卖
  17494. type: integer
  17495. charge:
  17496. description: 手续费
  17497. type: number
  17498. closecharge:
  17499. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17500. type: number
  17501. closeexchagechargevalue:
  17502. description: 平仓交易所手续费设置值
  17503. type: number
  17504. closefeealgorithm:
  17505. description: 平仓手续费收取方式 1:比率 2:固定
  17506. type: integer
  17507. closememberchargevalue:
  17508. description: 平仓会员手续费设置值
  17509. type: number
  17510. closepl:
  17511. description: 平仓盈亏
  17512. type: number
  17513. closepl2:
  17514. description: 平仓盈亏[逐笔]
  17515. type: number
  17516. closeqty:
  17517. description: 平仓数量(先建后平操作 需要记录)
  17518. type: number
  17519. creditamount:
  17520. description: 授信金额
  17521. type: number
  17522. decimalplace:
  17523. description: 商品报价小数位
  17524. type: integer
  17525. enumdicname:
  17526. description: 单位名称
  17527. type: string
  17528. gcaccountid:
  17529. description: 账户ID[合约币种]
  17530. type: integer
  17531. goodscode:
  17532. description: 商品代码
  17533. type: string
  17534. goodsid:
  17535. description: 商品ID
  17536. type: integer
  17537. goodsname:
  17538. description: 商品名称
  17539. type: string
  17540. goodunitid:
  17541. description: 商品单位id
  17542. type: integer
  17543. intclosepl:
  17544. description: 整型盈亏(用于交易结算试算平衡-收益权)
  17545. type: integer
  17546. isconfirmexercise:
  17547. description: 是否确认行权- 0:否 1:是
  17548. type: integer
  17549. ismain:
  17550. description: 是否主单 - 0:不是 1:是
  17551. type: integer
  17552. ispreexercise:
  17553. description: 是否预申报- 0:否 1:是
  17554. type: integer
  17555. isreckoned:
  17556. description: 是否结算 - 0:未结算 1:已结算
  17557. type: integer
  17558. listingselecttype:
  17559. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17560. type: integer
  17561. marketid:
  17562. description: 市场ID
  17563. type: integer
  17564. marketname:
  17565. description: 市场名称
  17566. type: string
  17567. matchaccountid:
  17568. description: 对手账号id
  17569. type: integer
  17570. memberuserid:
  17571. description: 会员id 个人投资者 需要填写
  17572. type: integer
  17573. opencharge:
  17574. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17575. type: number
  17576. openexchagechargevalue:
  17577. description: 建仓交易所手续费设置值
  17578. type: number
  17579. openfeealgorithm:
  17580. description: 建仓手续费收取方式 1:比率 2:固定
  17581. type: integer
  17582. openmemberchargevalue:
  17583. description: 建仓会员手续费设置值
  17584. type: number
  17585. openqty:
  17586. description: 开仓数量(先建后平操作 需要记录)
  17587. type: number
  17588. optiontype:
  17589. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17590. type: integer
  17591. orderid:
  17592. description: 委托单号
  17593. type: string
  17594. payamount:
  17595. description: 支付金额(付款金额)
  17596. type: number
  17597. performanceplanid:
  17598. description: 履约计划ID[期权]
  17599. type: integer
  17600. performancestatus:
  17601. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  17602. type: integer
  17603. preexerciseprice:
  17604. description: 预申报价格
  17605. type: number
  17606. premium:
  17607. description: 权利金 - [持仓单的权利金]
  17608. type: number
  17609. qtydecimalplace:
  17610. description: 商品报价小数位
  17611. type: integer
  17612. recvamount:
  17613. description: 到账金额 = 成交金额 - 手续费
  17614. type: number
  17615. relatedouttradeid:
  17616. description: 关联外部成交单ID
  17617. type: integer
  17618. status:
  17619. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  17620. type: integer
  17621. totalamount:
  17622. description: 订单总额 = 成交金额 + 手续费
  17623. type: number
  17624. tradeamount:
  17625. description: 成交金额[账户币种,用于所有权]
  17626. type: number
  17627. tradedate:
  17628. description: 交易日(yyyyMMdd)
  17629. type: string
  17630. tradeid:
  17631. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17632. type: string
  17633. trademode:
  17634. description: 交易模式
  17635. type: integer
  17636. tradeprice:
  17637. description: 成交价格
  17638. type: number
  17639. tradeproperty:
  17640. description: 交易属性
  17641. type: integer
  17642. tradeqty:
  17643. description: 成交数量
  17644. type: number
  17645. tradetime:
  17646. description: 成交时间
  17647. type: string
  17648. tradetype:
  17649. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  17650. type: integer
  17651. required:
  17652. - accountid
  17653. - buyorsell
  17654. - goodsid
  17655. - marketid
  17656. - memberuserid
  17657. - orderid
  17658. - tradeamount
  17659. - tradedate
  17660. - tradeid
  17661. - tradeprice
  17662. - tradeqty
  17663. - tradetime
  17664. type: object
  17665. order.QueryTradeOrderDetailRsp:
  17666. properties:
  17667. accountid:
  17668. description: 账户ID[报价币种]
  17669. type: integer
  17670. buildtype:
  17671. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  17672. type: integer
  17673. buyorsell:
  17674. description: 买卖 - 0:买 1:卖
  17675. type: integer
  17676. cancelorderid:
  17677. description: 撤单单号(撤单时填写)
  17678. type: string
  17679. cancelqty:
  17680. description: 撤单数量
  17681. type: number
  17682. clienttype:
  17683. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  17684. type: integer
  17685. closefreezecharge:
  17686. description: 平仓冻结手续费(先建后平操作,需要记录)
  17687. type: number
  17688. closeqty:
  17689. description: 平仓数量(先建后平操作 需要记录)
  17690. type: number
  17691. closetradeqty:
  17692. description: 平仓成交数量(先建后平操作,需要记录)
  17693. type: number
  17694. closeunfreezecharge:
  17695. description: 平仓解冻手续费(先建后平操作,需要记录)
  17696. type: number
  17697. decimalplace:
  17698. description: 商品报价小数位
  17699. type: integer
  17700. delistingtype:
  17701. description: 摘牌类型 - 1:价格最优 2:点选成交
  17702. type: integer
  17703. enableqty:
  17704. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  17705. type: number
  17706. enumdicname:
  17707. description: 单位名称
  17708. type: string
  17709. freezecharge:
  17710. description: 冻结手续费
  17711. type: number
  17712. freezemargin:
  17713. description: 冻结保证金(冻结交易金额)
  17714. type: number
  17715. goodscode:
  17716. description: 商品代码
  17717. type: string
  17718. goodsid:
  17719. description: 商品ID
  17720. type: integer
  17721. goodsname:
  17722. description: 商品名称
  17723. type: string
  17724. goodunitid:
  17725. description: 商品单位id
  17726. type: integer
  17727. listingselecttype:
  17728. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17729. type: integer
  17730. marketid:
  17731. description: 市场ID
  17732. type: integer
  17733. marketname:
  17734. description: 市场名称
  17735. type: string
  17736. openfreezecharge:
  17737. description: 开仓冻结手续费(先建后平操作,需要记录)
  17738. type: number
  17739. openqty:
  17740. description: 开仓数量(先建后平操作,需要记录)
  17741. type: number
  17742. opentradeqty:
  17743. description: 开仓成交数量(先建后平操作,需要记录)
  17744. type: number
  17745. openunfreezecharge:
  17746. description: 开仓解冻手续费(先建后平操作,需要记录)
  17747. type: number
  17748. operatetype:
  17749. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让
  17750. type: integer
  17751. operatorid:
  17752. description: 登录账号(LoginID)
  17753. type: integer
  17754. orderid:
  17755. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17756. type: string
  17757. orderprice:
  17758. description: 委托价格
  17759. type: number
  17760. orderqty:
  17761. description: 委托数量
  17762. type: number
  17763. ordersrc:
  17764. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  17765. type: integer
  17766. orderstatus:
  17767. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  17768. type: integer
  17769. ordertime:
  17770. description: 委托时间
  17771. type: string
  17772. preorderid:
  17773. description: 关联预埋单号(止盈止损单时填写)
  17774. type: string
  17775. pricemode:
  17776. description: '取价方式 - 1:市价 2: 限价'
  17777. type: integer
  17778. qtydecimalplace:
  17779. description: 商品报价小数位
  17780. type: integer
  17781. relatedid:
  17782. description: 关联单号(交割单)
  17783. type: string
  17784. tradedate:
  17785. description: 交易日(yyyyMMdd)
  17786. type: string
  17787. trademode:
  17788. description: 交易模式
  17789. type: integer
  17790. tradeqty:
  17791. description: 成交数量
  17792. type: number
  17793. unfreezecharge:
  17794. description: 解冻手续费
  17795. type: number
  17796. unfreezemargin:
  17797. description: 解冻保证金
  17798. type: number
  17799. validtime:
  17800. description: 有效期限
  17801. type: string
  17802. validtype:
  17803. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  17804. type: integer
  17805. volumetype:
  17806. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  17807. type: integer
  17808. required:
  17809. - accountid
  17810. - buildtype
  17811. - buyorsell
  17812. - goodsid
  17813. - marketid
  17814. - operatetype
  17815. - orderqty
  17816. - ordertime
  17817. - pricemode
  17818. - tradedate
  17819. - validtype
  17820. type: object
  17821. order.QueryTradePositionRsp:
  17822. properties:
  17823. accountid:
  17824. description: 资金账户
  17825. type: integer
  17826. agreeunit:
  17827. description: 合约单位
  17828. type: number
  17829. averageprice:
  17830. description: 持仓均价
  17831. type: number
  17832. buyorsell:
  17833. description: 方向 - 0:买 1:卖
  17834. type: integer
  17835. closetotalqty:
  17836. description: 平仓总数量
  17837. type: number
  17838. curholderamount:
  17839. description: 当前持仓总金额[商品币种]
  17840. type: number
  17841. curpositionqty:
  17842. description: 当前持仓总数量
  17843. type: number
  17844. currencyid:
  17845. description: 报价货币ID
  17846. type: integer
  17847. curtdposition:
  17848. description: 期末今日头寸
  17849. type: number
  17850. decimalplace:
  17851. description: 报价小数位
  17852. type: integer
  17853. enableqty:
  17854. description: 可用量
  17855. type: number
  17856. fretdposition:
  17857. description: 冻结今日头寸
  17858. type: number
  17859. frozenqty:
  17860. description: 持仓冻结数量
  17861. type: number
  17862. goodscode:
  17863. description: 商品代码
  17864. type: string
  17865. goodsid:
  17866. description: 商品Id
  17867. type: integer
  17868. goodsname:
  17869. description: 商品名称
  17870. type: string
  17871. goodunit:
  17872. description: 报价单位
  17873. type: string
  17874. goodunitid:
  17875. description: 报价单位ID
  17876. type: integer
  17877. holderamount:
  17878. description: 期初持仓总金额[商品币种]
  17879. type: number
  17880. lastprice:
  17881. description: 最新价
  17882. type: number
  17883. marketamount:
  17884. description: 市值
  17885. type: number
  17886. marketid:
  17887. description: 所属市场ID
  17888. type: integer
  17889. openreqqty:
  17890. description: 开仓申请数量(用于比较最大持仓数量)
  17891. type: number
  17892. opentotalqty:
  17893. description: 开仓总数量
  17894. type: number
  17895. otherfrozenqty:
  17896. description: 持仓其他冻结数量(交割冻结)
  17897. type: number
  17898. positionpl:
  17899. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  17900. type: number
  17901. positionplrate:
  17902. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  17903. type: number
  17904. positionqty:
  17905. description: 期初持仓数量
  17906. type: number
  17907. qtydecimalplace:
  17908. description: 成交量小数位
  17909. type: integer
  17910. refgoodscode:
  17911. description: 参考商品代码
  17912. type: string
  17913. refgoodsid:
  17914. description: 参考商品ID
  17915. type: integer
  17916. tnqty:
  17917. description: T+N冻结总量
  17918. type: number
  17919. tnusedqty:
  17920. description: T+N使用量(可以使用T+N的冻结数量)
  17921. type: number
  17922. trademode:
  17923. description: 交易模式
  17924. type: integer
  17925. tradeproperty:
  17926. description: 交易属性
  17927. type: integer
  17928. usedmargin:
  17929. description: 占用保证金[商品币种]
  17930. type: number
  17931. required:
  17932. - goodsid
  17933. type: object
  17934. pb.GoodsMarginCfgStruct:
  17935. properties:
  17936. CustomerTypeID:
  17937. description: 投资者客户类型
  17938. type: integer
  17939. GoodsID:
  17940. description: 商品ID
  17941. type: integer
  17942. IsDefault:
  17943. description: 是否默认标志位
  17944. type: integer
  17945. LockMarginValue:
  17946. description: 锁仓保证金
  17947. type: number
  17948. MarginAlgorithm:
  17949. description: 保证金计算方式
  17950. type: integer
  17951. MarketMarginValue:
  17952. description: 即市保证金值
  17953. type: number
  17954. RealMarginAlgorithm:
  17955. description: 实付保证金计算方式
  17956. type: integer
  17957. RealMarginValue:
  17958. description: 实付比例
  17959. type: number
  17960. ReckonMarginValue:
  17961. description: 结算保证金值
  17962. type: number
  17963. type: object
  17964. quote.HistoryData:
  17965. properties:
  17966. c:
  17967. description: 收盘价
  17968. type: number
  17969. f:
  17970. description: 是否补充数据
  17971. type: boolean
  17972. h:
  17973. description: 最高价
  17974. type: number
  17975. hv:
  17976. description: 持仓量
  17977. type: integer
  17978. l:
  17979. description: 最低价
  17980. type: number
  17981. o:
  17982. description: 开盘价
  17983. type: number
  17984. s:
  17985. description: 结算价,日线周期(包括)以上才有
  17986. type: number
  17987. ts:
  17988. description: 时间
  17989. type: string
  17990. tt:
  17991. description: 总金额
  17992. type: number
  17993. tv:
  17994. description: 总量(成交量)
  17995. type: integer
  17996. type: object
  17997. quote.HistoryTikData:
  17998. properties:
  17999. AV:
  18000. description: 卖量
  18001. type: integer
  18002. Ask:
  18003. description: 卖价
  18004. type: number
  18005. BV:
  18006. description: 买量
  18007. type: integer
  18008. Bid:
  18009. description: 买价
  18010. type: number
  18011. HI:
  18012. description: 单笔持仓
  18013. type: integer
  18014. HV:
  18015. description: 持仓量
  18016. type: integer
  18017. PE:
  18018. description: 现价
  18019. type: number
  18020. TDR:
  18021. description: 交易方向,0:买 1:卖
  18022. type: integer
  18023. TK:
  18024. description: 交易类型
  18025. type: integer
  18026. TS:
  18027. description: 行情时间文本
  18028. type: string
  18029. TT:
  18030. description: 现金额
  18031. type: number
  18032. Vol:
  18033. description: 现量
  18034. type: integer
  18035. type: object
  18036. quote.QueryQuoteDayRsp:
  18037. properties:
  18038. ask:
  18039. description: 卖1
  18040. type: number
  18041. ask2:
  18042. description: 卖2
  18043. type: number
  18044. ask3:
  18045. description: 卖3
  18046. type: number
  18047. ask4:
  18048. description: 卖4
  18049. type: number
  18050. ask5:
  18051. description: 卖5
  18052. type: number
  18053. ask6:
  18054. description: 卖6
  18055. type: number
  18056. ask7:
  18057. description: 卖7
  18058. type: number
  18059. ask8:
  18060. description: 卖8
  18061. type: number
  18062. ask9:
  18063. description: 卖9
  18064. type: number
  18065. ask10:
  18066. description: 卖10
  18067. type: number
  18068. askorderid:
  18069. description: 卖单号1
  18070. type: integer
  18071. askorderid2:
  18072. description: 卖单号2
  18073. type: integer
  18074. askorderid3:
  18075. description: 卖单号3
  18076. type: integer
  18077. askorderid4:
  18078. description: 卖单号4
  18079. type: integer
  18080. askorderid5:
  18081. description: 卖单号5
  18082. type: integer
  18083. askordervolume:
  18084. description: 卖单量1
  18085. type: integer
  18086. askordervolume2:
  18087. description: 卖单量2
  18088. type: integer
  18089. askordervolume3:
  18090. description: 卖单量3
  18091. type: integer
  18092. askordervolume4:
  18093. description: 卖单量4
  18094. type: integer
  18095. askordervolume5:
  18096. description: 卖单量5
  18097. type: integer
  18098. askordervolume6:
  18099. description: 卖单量6
  18100. type: integer
  18101. askordervolume7:
  18102. description: 卖单量7
  18103. type: integer
  18104. askordervolume8:
  18105. description: 卖单量8
  18106. type: integer
  18107. askordervolume9:
  18108. description: 卖单量9
  18109. type: integer
  18110. askordervolume10:
  18111. description: 卖单量10
  18112. type: integer
  18113. askqueueinfo:
  18114. description: 大利市卖港股用
  18115. type: string
  18116. askvolume:
  18117. description: 卖量1
  18118. type: integer
  18119. askvolume2:
  18120. description: 卖量2
  18121. type: integer
  18122. askvolume3:
  18123. description: 卖量3
  18124. type: integer
  18125. askvolume4:
  18126. description: 卖量4
  18127. type: integer
  18128. askvolume5:
  18129. description: 卖量5
  18130. type: integer
  18131. askvolume6:
  18132. description: 卖量6
  18133. type: integer
  18134. askvolume7:
  18135. description: 卖量7
  18136. type: integer
  18137. askvolume8:
  18138. description: 卖量8
  18139. type: integer
  18140. askvolume9:
  18141. description: 卖量9
  18142. type: integer
  18143. askvolume10:
  18144. description: 卖量10
  18145. type: integer
  18146. averageprice:
  18147. description: 均价
  18148. type: number
  18149. bid:
  18150. description: 买1
  18151. type: number
  18152. bid2:
  18153. description: 买2
  18154. type: number
  18155. bid3:
  18156. description: 买3
  18157. type: number
  18158. bid4:
  18159. description: 买4
  18160. type: number
  18161. bid5:
  18162. description: 买5
  18163. type: number
  18164. bid6:
  18165. description: 买6
  18166. type: number
  18167. bid7:
  18168. description: 买7
  18169. type: number
  18170. bid8:
  18171. description: 买8
  18172. type: number
  18173. bid9:
  18174. description: 买9
  18175. type: number
  18176. bid10:
  18177. description: 买10
  18178. type: number
  18179. bidorderid:
  18180. description: 买单号1
  18181. type: integer
  18182. bidorderid2:
  18183. description: 买单号2
  18184. type: integer
  18185. bidorderid3:
  18186. description: 买单号3
  18187. type: integer
  18188. bidorderid4:
  18189. description: 买单号4
  18190. type: integer
  18191. bidorderid5:
  18192. description: 买单号5
  18193. type: integer
  18194. bidordervolume:
  18195. description: 买单量1
  18196. type: integer
  18197. bidordervolume2:
  18198. description: 买单量2
  18199. type: integer
  18200. bidordervolume3:
  18201. description: 买单量3
  18202. type: integer
  18203. bidordervolume4:
  18204. description: 买单量4
  18205. type: integer
  18206. bidordervolume5:
  18207. description: 买单量5
  18208. type: integer
  18209. bidordervolume6:
  18210. description: 买单量6
  18211. type: integer
  18212. bidordervolume7:
  18213. description: 买单量7
  18214. type: integer
  18215. bidordervolume8:
  18216. description: 买单量8
  18217. type: integer
  18218. bidordervolume9:
  18219. description: 买单量9
  18220. type: integer
  18221. bidordervolume10:
  18222. description: 买单量10
  18223. type: integer
  18224. bidqueueinfo:
  18225. description: 大利市买港股用
  18226. type: string
  18227. bidvolume:
  18228. description: 买量1
  18229. type: integer
  18230. bidvolume2:
  18231. description: 买量2
  18232. type: integer
  18233. bidvolume3:
  18234. description: 买量3
  18235. type: integer
  18236. bidvolume4:
  18237. description: 买量4
  18238. type: integer
  18239. bidvolume5:
  18240. description: 买量5
  18241. type: integer
  18242. bidvolume6:
  18243. description: 买量6
  18244. type: integer
  18245. bidvolume7:
  18246. description: 买量7
  18247. type: integer
  18248. bidvolume8:
  18249. description: 买量8
  18250. type: integer
  18251. bidvolume9:
  18252. description: 买量9
  18253. type: integer
  18254. bidvolume10:
  18255. description: 买量10
  18256. type: integer
  18257. calloptionpremiums:
  18258. description: 认购期权1
  18259. type: integer
  18260. calloptionpremiums2:
  18261. description: 认购期权2
  18262. type: integer
  18263. calloptionpremiums3:
  18264. description: 认购期权3
  18265. type: integer
  18266. calloptionpremiums4:
  18267. description: 认购期权4
  18268. type: integer
  18269. calloptionpremiums5:
  18270. description: 认购期权5
  18271. type: integer
  18272. cleartime:
  18273. description: 清盘时间
  18274. type: integer
  18275. exchangecode:
  18276. description: 交易所代码
  18277. type: integer
  18278. exchangedate:
  18279. description: 交易日
  18280. type: integer
  18281. goodscode:
  18282. description: 商品代码
  18283. type: string
  18284. grepmarketprice:
  18285. description: 暗盘价 港股专用
  18286. type: number
  18287. highest:
  18288. description: 最高价
  18289. type: number
  18290. holdincrement:
  18291. description: 单笔持仓
  18292. type: integer
  18293. holdvolume:
  18294. description: 持仓
  18295. type: integer
  18296. iep:
  18297. description: 平衡价 港股专用
  18298. type: number
  18299. iev:
  18300. description: 平衡量 港股专用
  18301. type: number
  18302. inventory:
  18303. description: 库存
  18304. type: integer
  18305. iscleared:
  18306. description: 是否清盘标志
  18307. type: integer
  18308. issettled:
  18309. description: 是否结算标志
  18310. type: integer
  18311. last:
  18312. description: 最新价
  18313. type: number
  18314. lastlot:
  18315. description: 最新成交手数
  18316. type: integer
  18317. lasttime:
  18318. description: 行情时间(只有现价变化行情时间才变化)
  18319. type: string
  18320. lastturnover:
  18321. description: 最新成交金额
  18322. type: number
  18323. lastvolume:
  18324. description: 最新成交量
  18325. type: integer
  18326. limitdown:
  18327. description: 跌停价
  18328. type: number
  18329. limitup:
  18330. description: 涨停价
  18331. type: number
  18332. lowest:
  18333. description: 最低价
  18334. type: number
  18335. nontotalholdervolume:
  18336. description: 非交易持仓量
  18337. type: integer
  18338. nontotallot:
  18339. description: 非交易总手数
  18340. type: integer
  18341. nontotalturnover:
  18342. description: 非交易总金额
  18343. type: integer
  18344. nontotalvolume:
  18345. description: 非交易总量
  18346. type: integer
  18347. opened:
  18348. description: 开盘价
  18349. type: number
  18350. opentime:
  18351. description: 开盘时间
  18352. type: string
  18353. orderid:
  18354. description: 序号
  18355. type: integer
  18356. preclose:
  18357. description: 昨收
  18358. type: number
  18359. preholdvolume:
  18360. description: 昨持仓
  18361. type: integer
  18362. presettle:
  18363. description: 昨结价
  18364. type: number
  18365. publictradetype:
  18366. description: 公共交易标志类型 港股专用
  18367. type: string
  18368. putoptionpremiums:
  18369. description: 认沽期权1
  18370. type: integer
  18371. putoptionpremiums2:
  18372. description: 认沽期权2
  18373. type: integer
  18374. putoptionpremiums3:
  18375. description: 认沽期权3
  18376. type: integer
  18377. putoptionpremiums4:
  18378. description: 认沽期权4
  18379. type: integer
  18380. putoptionpremiums5:
  18381. description: 认沽期权5
  18382. type: integer
  18383. settle:
  18384. description: 结算价
  18385. type: number
  18386. strikeprice:
  18387. description: 发行价
  18388. type: number
  18389. totalaskvolume:
  18390. description: 内盘
  18391. type: integer
  18392. totalbidvolume:
  18393. description: 外盘
  18394. type: integer
  18395. totallot:
  18396. description: 总手数
  18397. type: integer
  18398. totalturnover:
  18399. description: 总金额
  18400. type: number
  18401. totalvolume:
  18402. description: 总量
  18403. type: integer
  18404. utclasttime:
  18405. description: utc的行情时间
  18406. type: string
  18407. type: object
  18408. quote.QueryTSDataRsp:
  18409. properties:
  18410. Count:
  18411. description: 交易日应有数据个数
  18412. type: integer
  18413. decimalPlace:
  18414. description: 小数位
  18415. type: integer
  18416. endTime:
  18417. description: 结束时间
  18418. type: string
  18419. goodsCode:
  18420. description: 商品代码
  18421. type: string
  18422. historyDatas:
  18423. description: 历史数据
  18424. items:
  18425. $ref: '#/definitions/quote.HistoryData'
  18426. type: array
  18427. outGoodsCode:
  18428. description: 外部商品代码
  18429. type: string
  18430. preSettle:
  18431. description: 昨结价
  18432. type: number
  18433. runSteps:
  18434. description: 交易日开休市计划
  18435. items:
  18436. $ref: '#/definitions/quote.TSDataRunStep'
  18437. type: array
  18438. startTime:
  18439. description: 开始时间
  18440. type: string
  18441. tradeDate:
  18442. description: 交易日
  18443. type: string
  18444. type: object
  18445. quote.TSDataRunStep:
  18446. properties:
  18447. end:
  18448. description: 真实结束时间
  18449. type: string
  18450. endflag:
  18451. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  18452. type: integer
  18453. endtime:
  18454. description: 结束时间(HH:mm)
  18455. type: string
  18456. endweekday:
  18457. description: 结束周几
  18458. type: integer
  18459. groupid:
  18460. description: 分组ID
  18461. type: integer
  18462. runstep:
  18463. description: 运行阶段 - 2:连续交易
  18464. type: integer
  18465. sectionid:
  18466. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几
  18467. type: integer
  18468. start:
  18469. description: 真实开始时间
  18470. type: string
  18471. startflag:
  18472. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  18473. type: integer
  18474. starttime:
  18475. description: 起始时间(HH:mm)
  18476. type: string
  18477. startweekday:
  18478. description: 起始周几
  18479. type: integer
  18480. tradeweekday:
  18481. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  18482. type: integer
  18483. type: object
  18484. szdz.QueryConvertLogRsp:
  18485. properties:
  18486. accountid:
  18487. description: 资金账户ID
  18488. type: integer
  18489. clientticket:
  18490. description: 客户端流水号
  18491. type: string
  18492. converttype:
  18493. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  18494. type: integer
  18495. createtime:
  18496. description: 记账时间
  18497. type: string
  18498. daymaxvalue:
  18499. description: 配置当日最大转入限制
  18500. type: number
  18501. daymaxvalue2:
  18502. description: 配置当日最大转入限制(转入)
  18503. type: number
  18504. goodscode:
  18505. description: 商品代码
  18506. type: string
  18507. goodsname:
  18508. description: 商品名称
  18509. type: string
  18510. handlestatus:
  18511. description: 处理状态
  18512. type: integer
  18513. innergoodsid:
  18514. description: 内部商品ID
  18515. type: integer
  18516. inratio:
  18517. description: 配置转入比值
  18518. type: integer
  18519. invalue:
  18520. description: 目标值
  18521. type: number
  18522. logid:
  18523. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18524. type: integer
  18525. mobile:
  18526. description: 手机号码(加密存储)
  18527. type: string
  18528. outergoodscode:
  18529. description: 外部商品代码[JD\PD]
  18530. type: string
  18531. outratio:
  18532. description: 配置转出比值
  18533. type: integer
  18534. outvalue:
  18535. description: 源值
  18536. type: number
  18537. pddecimalplace:
  18538. description: PD小数位
  18539. type: integer
  18540. qty:
  18541. description: 数量
  18542. type: string
  18543. remark:
  18544. description: 备注
  18545. type: string
  18546. sessionid:
  18547. description: 会话ID
  18548. type: integer
  18549. timemaxvalue:
  18550. description: 配置单次最大转入限制
  18551. type: number
  18552. timemaxvalue2:
  18553. description: 配置单次最大转入限制(转入)
  18554. type: number
  18555. timeminvalue:
  18556. description: 配置单次最小数量限制
  18557. type: number
  18558. timeminvalue2:
  18559. description: 配置单次最小数量限制(转入)
  18560. type: number
  18561. tradedate:
  18562. description: 交易日(yyyyMMdd)
  18563. type: string
  18564. userid:
  18565. description: 用户ID
  18566. type: integer
  18567. required:
  18568. - logid
  18569. type: object
  18570. szdz.QueryGoodsPickupRsp:
  18571. properties:
  18572. accountid:
  18573. description: 账户ID
  18574. type: integer
  18575. address:
  18576. description: 提货人详细地址
  18577. type: string
  18578. auditer:
  18579. description: 审核人
  18580. type: integer
  18581. audittime:
  18582. description: 审核时间
  18583. type: string
  18584. cardnum:
  18585. description: 提货人证件号码
  18586. type: string
  18587. cardtypeid:
  18588. description: 提货人证件类型
  18589. type: integer
  18590. checkremark:
  18591. description: 审核备注
  18592. type: string
  18593. goodscode:
  18594. description: 商品代码
  18595. type: string
  18596. goodsid:
  18597. description: 商品ID
  18598. type: integer
  18599. goodsname:
  18600. description: 商品名称
  18601. type: string
  18602. handlestatus:
  18603. description: 处理状态
  18604. type: integer
  18605. marketid:
  18606. description: 市场ID
  18607. type: integer
  18608. phonenum:
  18609. description: 提货人联系方式
  18610. type: string
  18611. qty:
  18612. description: 提货数量
  18613. type: number
  18614. recivername:
  18615. description: 提货人姓名
  18616. type: string
  18617. reqtime:
  18618. description: 更新时间
  18619. type: string
  18620. takemode:
  18621. description: 提货方式 - 2:自提 3:配送
  18622. type: integer
  18623. takeorderid:
  18624. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  18625. type: string
  18626. takeorderstatus:
  18627. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  18628. type: integer
  18629. takeremark:
  18630. description: 提货备注
  18631. type: string
  18632. tradedate:
  18633. description: 交易日(yyyyMMdd)
  18634. type: string
  18635. userid:
  18636. description: 用户ID
  18637. type: integer
  18638. required:
  18639. - takeorderid
  18640. type: object
  18641. szdz.QueryRecieptOrderRsp:
  18642. properties:
  18643. accountName:
  18644. description: 所属账号名称(已脱敏)
  18645. type: string
  18646. accountid:
  18647. description: 资金账号
  18648. type: integer
  18649. buyorsell:
  18650. description: 方向 - 0:买 1:卖
  18651. type: integer
  18652. enableqty:
  18653. description: 可摘数量
  18654. type: integer
  18655. goodscode:
  18656. description: 商品代码
  18657. type: string
  18658. goodsid:
  18659. description: 商品ID
  18660. type: integer
  18661. goodsname:
  18662. description: 商品名称
  18663. type: string
  18664. orderid:
  18665. description: 委托单号
  18666. type: string
  18667. orderprice:
  18668. description: 委托价格
  18669. type: number
  18670. ordertime:
  18671. description: 委托时间
  18672. type: string
  18673. tradedate:
  18674. description: 交易日(yyyyMMdd)
  18675. type: string
  18676. required:
  18677. - ordertime
  18678. type: object
  18679. szdz.QuerySZDZTradePositionRsp:
  18680. properties:
  18681. accountid:
  18682. description: 账号Id
  18683. type: integer
  18684. agreeunit:
  18685. description: 合约单位
  18686. type: number
  18687. averageprice:
  18688. description: 持仓均价
  18689. type: number
  18690. buyorsell:
  18691. description: 方向 - 0:买 1:卖
  18692. type: integer
  18693. closetotalqty:
  18694. description: 平仓总数量
  18695. type: integer
  18696. curholderamount:
  18697. description: 当前持仓总金额
  18698. type: number
  18699. curpositionqty:
  18700. description: 当前持仓总数量
  18701. type: integer
  18702. currencyid:
  18703. description: 报价货币ID
  18704. type: integer
  18705. curtdposition:
  18706. description: 期末今日头寸
  18707. type: integer
  18708. decimalplace:
  18709. description: 报价小数位
  18710. type: integer
  18711. enableqty:
  18712. description: 可用量
  18713. type: integer
  18714. fretdposition:
  18715. description: 冻结今日头寸
  18716. type: integer
  18717. frozenqty:
  18718. description: 持仓冻结数量
  18719. type: integer
  18720. goodscode:
  18721. description: 商品代码(内部)
  18722. type: string
  18723. goodsid:
  18724. description: 商品Id
  18725. type: integer
  18726. goodsname:
  18727. description: 商品名称
  18728. type: string
  18729. goodunit:
  18730. description: 报价单位
  18731. type: string
  18732. goodunitid:
  18733. description: 报价单位ID
  18734. type: integer
  18735. holderamount:
  18736. description: 期初持仓总金额
  18737. type: number
  18738. marketid:
  18739. description: 市场ID
  18740. type: integer
  18741. openreqqty:
  18742. description: 开仓申请数量
  18743. type: integer
  18744. opentotalqty:
  18745. description: 开仓总数量
  18746. type: integer
  18747. otherfrozenqty:
  18748. description: 持仓其他冻结数量(交割冻结)
  18749. type: integer
  18750. positionqty:
  18751. description: 期初持仓数量
  18752. type: integer
  18753. szdz3freezqty:
  18754. description: 尚志大宗转换冻结总数量
  18755. type: integer
  18756. tnqty:
  18757. description: T+N冻结总量
  18758. type: integer
  18759. tnusedqty:
  18760. description: T+N使用量
  18761. type: integer
  18762. trademode:
  18763. description: 交易模式
  18764. type: integer
  18765. usedmargin:
  18766. description: 占用保证金
  18767. type: number
  18768. type: object
  18769. taaccount.QueryAmountLogRsp:
  18770. properties:
  18771. OPERATETYPENAME:
  18772. description: 资金操作类型名称
  18773. type: string
  18774. accountid:
  18775. description: 资金账户ID
  18776. type: integer
  18777. agoodscode:
  18778. description: 竞拍商品代码
  18779. type: string
  18780. agoodsname:
  18781. description: 竞拍商品名称
  18782. type: string
  18783. amount:
  18784. description: 资金金额
  18785. type: number
  18786. amountadjusttype:
  18787. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  18788. type: integer
  18789. autoid:
  18790. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  18791. type: integer
  18792. balance:
  18793. description: 期初余额
  18794. type: number
  18795. businesscode:
  18796. description: 业务编号
  18797. type: integer
  18798. createtime:
  18799. description: 发生时间
  18800. type: string
  18801. currencyid:
  18802. description: 币种ID
  18803. type: integer
  18804. currentbalance:
  18805. description: 期末余额(变动后金额)
  18806. type: number
  18807. dgoodscode:
  18808. description: 交割商品代码
  18809. type: string
  18810. dgoodsname:
  18811. description: 交割商品名称
  18812. type: string
  18813. goodscode:
  18814. description: 商品代码
  18815. type: string
  18816. goodsid:
  18817. description: 商品ID
  18818. type: integer
  18819. goodsname:
  18820. description: 商品名称
  18821. type: string
  18822. marketid:
  18823. description: 市场ID
  18824. type: integer
  18825. marketname:
  18826. description: 市场名称
  18827. type: string
  18828. moneyticket:
  18829. description: 资金流水号:银行端流水号
  18830. type: integer
  18831. operatetype:
  18832. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费 1007:期权盈亏 1101:营销扣款 1102:营销收款
  18833. type: integer
  18834. relationorderid:
  18835. description: 关联单号
  18836. type: string
  18837. remark:
  18838. description: 备注
  18839. type: string
  18840. trademode:
  18841. description: 交易模式
  18842. type: integer
  18843. required:
  18844. - accountid
  18845. - amount
  18846. - amountadjusttype
  18847. - autoid
  18848. - balance
  18849. - createtime
  18850. - currentbalance
  18851. - operatetype
  18852. type: object
  18853. taaccount.QueryHisAmountLogRsp:
  18854. properties:
  18855. OPERATETYPENAME:
  18856. description: 资金操作类型名称
  18857. type: string
  18858. accountid:
  18859. description: 资金账户ID
  18860. type: integer
  18861. agoodscode:
  18862. description: 竞拍商品代码
  18863. type: string
  18864. agoodsname:
  18865. description: 竞拍商品名称
  18866. type: string
  18867. amount:
  18868. description: 资金金额
  18869. type: number
  18870. amountadjusttype:
  18871. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  18872. type: integer
  18873. autoid:
  18874. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  18875. type: integer
  18876. balance:
  18877. description: 期初余额
  18878. type: number
  18879. businesscode:
  18880. description: 业务编号
  18881. type: integer
  18882. createtime:
  18883. description: 发生时间
  18884. type: string
  18885. currencyid:
  18886. description: 币种ID
  18887. type: integer
  18888. currentbalance:
  18889. description: 期末余额(变动后金额)
  18890. type: number
  18891. dgoodscode:
  18892. description: 交割商品代码
  18893. type: string
  18894. dgoodsname:
  18895. description: 交割商品名称
  18896. type: string
  18897. goodscode:
  18898. description: 商品代码
  18899. type: string
  18900. goodsid:
  18901. description: 商品ID
  18902. type: integer
  18903. goodsname:
  18904. description: 商品名称
  18905. type: string
  18906. histradedate:
  18907. description: 历史交易日
  18908. type: string
  18909. isvaliddata:
  18910. description: 是否有效 - 0:无效 1:有效
  18911. type: integer
  18912. marketid:
  18913. description: 市场ID
  18914. type: integer
  18915. marketname:
  18916. description: 市场名称
  18917. type: string
  18918. moneyticket:
  18919. description: 资金流水号:银行端流水号
  18920. type: integer
  18921. operatetype:
  18922. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费 1007:期权盈亏 1101:营销扣款 1102:营销收款
  18923. type: integer
  18924. relationorderid:
  18925. description: 关联单号
  18926. type: string
  18927. remark:
  18928. description: 备注
  18929. type: string
  18930. trademode:
  18931. description: 交易模式
  18932. type: integer
  18933. required:
  18934. - accountid
  18935. - amount
  18936. - amountadjusttype
  18937. - autoid
  18938. - balance
  18939. - createtime
  18940. - currentbalance
  18941. - histradedate
  18942. - operatetype
  18943. type: object
  18944. trade.QueryRecieptOrderRsp:
  18945. properties:
  18946. accountName:
  18947. description: 所属账号名称(已脱敏)
  18948. type: string
  18949. accountid:
  18950. description: 资金账号
  18951. type: integer
  18952. buyorsell:
  18953. description: 方向 - 0:买 1:卖
  18954. type: integer
  18955. enableqty:
  18956. description: 可摘数量
  18957. type: integer
  18958. goodscode:
  18959. description: 商品代码
  18960. type: string
  18961. goodsid:
  18962. description: 商品ID
  18963. type: integer
  18964. goodsname:
  18965. description: 商品名称
  18966. type: string
  18967. orderid:
  18968. description: 委托单号
  18969. type: string
  18970. orderprice:
  18971. description: 委托价格
  18972. type: number
  18973. ordertime:
  18974. description: 委托时间
  18975. type: string
  18976. tradedate:
  18977. description: 交易日(yyyyMMdd)
  18978. type: string
  18979. required:
  18980. - ordertime
  18981. type: object
  18982. user.LoginQueryRsp:
  18983. properties:
  18984. areaRoles:
  18985. description: 所属角色信息
  18986. items:
  18987. $ref: '#/definitions/models.Arearole'
  18988. type: array
  18989. externalExchanges:
  18990. description: 外部交易所
  18991. items:
  18992. $ref: '#/definitions/models.Externalexchange'
  18993. type: array
  18994. goodsgroups:
  18995. description: 商品组
  18996. items:
  18997. $ref: '#/definitions/models.Goodsgroup'
  18998. type: array
  18999. loginAccount:
  19000. $ref: '#/definitions/models.Loginaccount'
  19001. description: 登录账号
  19002. markets:
  19003. description: 市场
  19004. items:
  19005. $ref: '#/definitions/models.Market'
  19006. type: array
  19007. systemParams:
  19008. description: 系统参数
  19009. items:
  19010. $ref: '#/definitions/models.Systemparam'
  19011. type: array
  19012. userAccount:
  19013. $ref: '#/definitions/models.Useraccount'
  19014. description: 用户账号
  19015. userInfo:
  19016. $ref: '#/definitions/models.Userinfo'
  19017. description: 用户信息
  19018. username:
  19019. description: 用户姓名
  19020. type: string
  19021. type: object
  19022. info:
  19023. contact: {}
  19024. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  19025. termsOfService: http://www.muchinfo.cn
  19026. title: MTP2.0 查询服务 API
  19027. version: "1.0"
  19028. paths:
  19029. /CPTrade/QueryCPTradeMyBidInfos:
  19030. get:
  19031. parameters:
  19032. - description: 资金账户
  19033. in: query
  19034. name: accountid
  19035. required: true
  19036. type: integer
  19037. - description: 预售市场ID
  19038. in: query
  19039. name: marketid
  19040. type: integer
  19041. - description: 预售商品ID
  19042. in: query
  19043. name: goodsid
  19044. type: integer
  19045. produces:
  19046. - application/json
  19047. responses:
  19048. "200":
  19049. description: OK
  19050. schema:
  19051. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  19052. "500":
  19053. description: Internal Server Error
  19054. schema:
  19055. $ref: '#/definitions/app.Response'
  19056. security:
  19057. - ApiKeyAuth: []
  19058. summary: 查询产能预售我的出价信息
  19059. tags:
  19060. - 产能预售
  19061. /CPTrade/QueryCPTradeOrderDetail:
  19062. get:
  19063. parameters:
  19064. - description: 预售商品ID
  19065. in: query
  19066. name: goodsid
  19067. type: integer
  19068. - description: 预售市场ID
  19069. in: query
  19070. name: marketid
  19071. type: integer
  19072. - description: 预售商品ID列表 - 格式:1,2,3
  19073. in: query
  19074. name: goodsids
  19075. type: string
  19076. produces:
  19077. - application/json
  19078. responses:
  19079. "200":
  19080. description: OK
  19081. schema:
  19082. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  19083. "500":
  19084. description: Internal Server Error
  19085. schema:
  19086. $ref: '#/definitions/app.Response'
  19087. security:
  19088. - ApiKeyAuth: []
  19089. summary: 查询产能预售委托单信息
  19090. tags:
  19091. - 产能预售
  19092. /CPTrade/QueryMyCPTradeGoods:
  19093. get:
  19094. parameters:
  19095. - description: 资金账户
  19096. in: query
  19097. name: accountid
  19098. required: true
  19099. type: integer
  19100. produces:
  19101. - application/json
  19102. responses:
  19103. "200":
  19104. description: OK
  19105. schema:
  19106. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  19107. "500":
  19108. description: Internal Server Error
  19109. schema:
  19110. $ref: '#/definitions/app.Response'
  19111. security:
  19112. - ApiKeyAuth: []
  19113. summary: 查询我的预售信息
  19114. tags:
  19115. - 产能预售
  19116. /CPTrade/QueryPositionCancel:
  19117. get:
  19118. parameters:
  19119. - description: 账户ID
  19120. in: query
  19121. name: userid
  19122. required: true
  19123. type: integer
  19124. - description: 注销ID
  19125. in: query
  19126. name: cancelid
  19127. type: integer
  19128. - description: 资金账户ID
  19129. in: query
  19130. name: accountid
  19131. type: integer
  19132. produces:
  19133. - application/json
  19134. responses:
  19135. "200":
  19136. description: OK
  19137. schema:
  19138. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  19139. "500":
  19140. description: Internal Server Error
  19141. schema:
  19142. $ref: '#/definitions/app.Response'
  19143. security:
  19144. - ApiKeyAuth: []
  19145. summary: 查询远期订单注销申请信息
  19146. tags:
  19147. - 产能预售
  19148. /CPTrade/QueryPreasleApply:
  19149. get:
  19150. parameters:
  19151. - description: 账户ID
  19152. in: query
  19153. name: userid
  19154. required: true
  19155. type: integer
  19156. - description: 申请ID
  19157. in: query
  19158. name: applyid
  19159. type: integer
  19160. - description: 资金账户ID
  19161. in: query
  19162. name: accountid
  19163. type: integer
  19164. produces:
  19165. - application/json
  19166. responses:
  19167. "200":
  19168. description: OK
  19169. schema:
  19170. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  19171. "500":
  19172. description: Internal Server Error
  19173. schema:
  19174. $ref: '#/definitions/app.Response'
  19175. security:
  19176. - ApiKeyAuth: []
  19177. summary: 查询产能预售申请信息
  19178. tags:
  19179. - 产能预售
  19180. /CPTrade/QueryPresaleGoodsEx:
  19181. get:
  19182. parameters:
  19183. - description: 预售商品ID
  19184. in: query
  19185. name: goodsid
  19186. type: integer
  19187. - description: 预售市场ID
  19188. in: query
  19189. name: marketid
  19190. type: integer
  19191. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  19192. in: query
  19193. name: presalemode
  19194. type: integer
  19195. - description: 预售商品ID列表 - 格式:1,2,3
  19196. in: query
  19197. name: goodsids
  19198. type: string
  19199. - description: 预售商品代码
  19200. in: query
  19201. name: goodscode
  19202. type: string
  19203. produces:
  19204. - application/json
  19205. responses:
  19206. "200":
  19207. description: OK
  19208. schema:
  19209. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  19210. "500":
  19211. description: Internal Server Error
  19212. schema:
  19213. $ref: '#/definitions/app.Response'
  19214. security:
  19215. - ApiKeyAuth: []
  19216. summary: 查询产能预售商品扩展信息
  19217. tags:
  19218. - 产能预售
  19219. /CPTrade/QueryUserGoodsData:
  19220. get:
  19221. parameters:
  19222. - description: 资金账户ID
  19223. in: query
  19224. name: accountid
  19225. required: true
  19226. type: integer
  19227. produces:
  19228. - application/json
  19229. responses:
  19230. "200":
  19231. description: OK
  19232. schema:
  19233. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  19234. "500":
  19235. description: Internal Server Error
  19236. schema:
  19237. $ref: '#/definitions/app.Response'
  19238. security:
  19239. - ApiKeyAuth: []
  19240. summary: 查询远期订单信息
  19241. tags:
  19242. - 产能预售
  19243. /Common/GetAllEnums:
  19244. get:
  19245. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  19246. parameters:
  19247. - description: 起始自增ID
  19248. in: query
  19249. name: autoid
  19250. type: integer
  19251. produces:
  19252. - application/json
  19253. responses:
  19254. "200":
  19255. description: OK
  19256. schema:
  19257. $ref: '#/definitions/models.Enumdicitem'
  19258. "500":
  19259. description: Internal Server Error
  19260. schema:
  19261. $ref: '#/definitions/app.Response'
  19262. summary: 获取所有枚举信息
  19263. tags:
  19264. - 通用服务
  19265. /Common/GetClientMenus:
  19266. get:
  19267. parameters:
  19268. - description: 登录账号
  19269. in: query
  19270. name: loginID
  19271. required: true
  19272. type: integer
  19273. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  19274. in: query
  19275. name: clientType
  19276. type: integer
  19277. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  19278. in: query
  19279. name: name
  19280. type: string
  19281. produces:
  19282. - application/json
  19283. responses:
  19284. "200":
  19285. description: OK
  19286. schema:
  19287. items:
  19288. $ref: '#/definitions/common.ClientMenu'
  19289. type: array
  19290. "500":
  19291. description: Internal Server Error
  19292. schema:
  19293. $ref: '#/definitions/app.Response'
  19294. security:
  19295. - ApiKeyAuth: []
  19296. summary: 获取交易端菜单
  19297. tags:
  19298. - 通用服务
  19299. /Common/GetDivisions:
  19300. get:
  19301. produces:
  19302. - application/json
  19303. responses:
  19304. "200":
  19305. description: OK
  19306. schema:
  19307. $ref: '#/definitions/models.Division'
  19308. "500":
  19309. description: Internal Server Error
  19310. schema:
  19311. $ref: '#/definitions/app.Response'
  19312. summary: 查询区域信息
  19313. tags:
  19314. - 通用服务
  19315. /Common/GetPCWebMenus:
  19316. get:
  19317. parameters:
  19318. - description: 登录账号
  19319. in: query
  19320. name: loginID
  19321. required: true
  19322. type: integer
  19323. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  19324. in: query
  19325. name: name
  19326. type: string
  19327. produces:
  19328. - application/json
  19329. responses:
  19330. "200":
  19331. description: OK
  19332. schema:
  19333. items:
  19334. $ref: '#/definitions/common.PCWebMenu'
  19335. type: array
  19336. "500":
  19337. description: Internal Server Error
  19338. schema:
  19339. $ref: '#/definitions/app.Response'
  19340. security:
  19341. - ApiKeyAuth: []
  19342. summary: 获取PCWeb交易端菜单
  19343. tags:
  19344. - 通用服务
  19345. /Common/GetServerTime:
  19346. get:
  19347. produces:
  19348. - application/json
  19349. responses:
  19350. "200":
  19351. description: OK
  19352. schema:
  19353. $ref: '#/definitions/app.Response'
  19354. "500":
  19355. description: Internal Server Error
  19356. schema:
  19357. $ref: '#/definitions/app.Response'
  19358. summary: 获取服务器时间
  19359. tags:
  19360. - 通用服务
  19361. /Common/NoticeReaded:
  19362. post:
  19363. parameters:
  19364. - description: 登录账号
  19365. in: query
  19366. name: loginID
  19367. required: true
  19368. type: integer
  19369. - description: 通知公告ID
  19370. in: query
  19371. name: noticeID
  19372. required: true
  19373. type: integer
  19374. produces:
  19375. - application/json
  19376. responses:
  19377. "200":
  19378. description: OK
  19379. schema:
  19380. $ref: '#/definitions/app.Response'
  19381. "500":
  19382. description: Internal Server Error
  19383. schema:
  19384. $ref: '#/definitions/app.Response'
  19385. security:
  19386. - ApiKeyAuth: []
  19387. summary: 通知公告设置已读请求
  19388. tags:
  19389. - 通用服务
  19390. /Common/QueryErrorInfos:
  19391. get:
  19392. description: 如果传入rowNumber,则返回此rowNumber后的数据
  19393. parameters:
  19394. - description: 起始行号前索引
  19395. in: query
  19396. name: rowNumber
  19397. type: string
  19398. produces:
  19399. - application/json
  19400. responses:
  19401. "200":
  19402. description: OK
  19403. schema:
  19404. $ref: '#/definitions/models.QueryErrorInfosRsp'
  19405. "500":
  19406. description: Internal Server Error
  19407. schema:
  19408. $ref: '#/definitions/app.Response'
  19409. summary: 获取数据库错误信息
  19410. tags:
  19411. - 通用服务
  19412. /Common/QueryImageConfigs:
  19413. get:
  19414. parameters:
  19415. - description: 用户id
  19416. in: query
  19417. name: userId
  19418. type: integer
  19419. - description: 类型 - 1:App首页轮播 2:我的
  19420. in: query
  19421. name: imageType
  19422. type: integer
  19423. produces:
  19424. - application/json
  19425. responses:
  19426. "200":
  19427. description: OK
  19428. schema:
  19429. $ref: '#/definitions/common.QueryImageConfigsRsp'
  19430. "500":
  19431. description: Internal Server Error
  19432. schema:
  19433. $ref: '#/definitions/app.Response'
  19434. summary: 查询轮播图配置信息
  19435. tags:
  19436. - 通用服务
  19437. /Common/QueryNotice:
  19438. get:
  19439. parameters:
  19440. - description: 页码
  19441. in: query
  19442. name: page
  19443. type: integer
  19444. - description: 每页条数
  19445. in: query
  19446. name: pagesize
  19447. type: integer
  19448. - description: 登录账号
  19449. in: query
  19450. name: loginID
  19451. required: true
  19452. type: integer
  19453. - description: 消息类型 - 1:公告通知 2:系统消息
  19454. in: query
  19455. name: msgType
  19456. type: integer
  19457. - description: 是否只获取未读信息
  19458. in: query
  19459. name: onlyUnRead
  19460. type: boolean
  19461. - description: 自增ID,传入后会返回这个ID后面的记录
  19462. in: query
  19463. name: lastID
  19464. type: integer
  19465. produces:
  19466. - application/json
  19467. responses:
  19468. "200":
  19469. description: OK
  19470. schema:
  19471. $ref: '#/definitions/common.QueryNoticeRsp'
  19472. "500":
  19473. description: Internal Server Error
  19474. schema:
  19475. $ref: '#/definitions/app.Response'
  19476. security:
  19477. - ApiKeyAuth: []
  19478. summary: 通知公告系统消息查询
  19479. tags:
  19480. - 通用服务
  19481. /Common/QueryProvincesAndCities:
  19482. get:
  19483. parameters:
  19484. - description: 省ID
  19485. in: query
  19486. name: provinceID
  19487. type: integer
  19488. produces:
  19489. - application/json
  19490. responses:
  19491. "200":
  19492. description: OK
  19493. schema:
  19494. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  19495. "500":
  19496. description: Internal Server Error
  19497. schema:
  19498. $ref: '#/definitions/app.Response'
  19499. summary: 查询省市信息(不包括区)
  19500. tags:
  19501. - 通用服务
  19502. /Common/QueryTableDefine:
  19503. get:
  19504. parameters:
  19505. - description: 表key
  19506. in: query
  19507. name: tableKey
  19508. type: string
  19509. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  19510. in: query
  19511. name: tableType
  19512. type: integer
  19513. produces:
  19514. - application/json
  19515. responses:
  19516. "200":
  19517. description: OK
  19518. schema:
  19519. $ref: '#/definitions/common.QueryTableDefineRsp'
  19520. "500":
  19521. description: Internal Server Error
  19522. schema:
  19523. $ref: '#/definitions/app.Response'
  19524. summary: 查询交易端列表头信息
  19525. tags:
  19526. - 通用服务
  19527. /Common/QueryTraderMenu:
  19528. get:
  19529. parameters:
  19530. - description: 登录账号
  19531. in: query
  19532. name: loginid
  19533. required: true
  19534. type: integer
  19535. produces:
  19536. - application/json
  19537. responses:
  19538. "200":
  19539. description: OK
  19540. schema:
  19541. $ref: '#/definitions/common.QueryTraderMenuRsp'
  19542. "500":
  19543. description: Internal Server Error
  19544. schema:
  19545. $ref: '#/definitions/app.Response'
  19546. summary: 查询交易端菜单
  19547. tags:
  19548. - 通用服务
  19549. /Delivery/QueryDeliveryRelation:
  19550. get:
  19551. parameters:
  19552. - description: 商品ID
  19553. in: query
  19554. name: goodsid
  19555. type: integer
  19556. - description: 品种ID
  19557. in: query
  19558. name: deliverygoodsid
  19559. type: integer
  19560. - description: 市场ID
  19561. in: query
  19562. name: marketid
  19563. type: integer
  19564. produces:
  19565. - application/json
  19566. responses:
  19567. "200":
  19568. description: OK
  19569. schema:
  19570. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  19571. "500":
  19572. description: Internal Server Error
  19573. schema:
  19574. $ref: '#/definitions/app.Response'
  19575. security:
  19576. - ApiKeyAuth: []
  19577. summary: 查询商品交割关系表
  19578. tags:
  19579. - 交割服务
  19580. /Ermcp/GetErmcpGoods:
  19581. get:
  19582. parameters:
  19583. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  19584. in: query
  19585. name: lastUpdateTime
  19586. type: string
  19587. produces:
  19588. - application/json
  19589. responses:
  19590. "200":
  19591. description: OK
  19592. schema:
  19593. $ref: '#/definitions/models.ErmcpGoods'
  19594. "500":
  19595. description: Internal Server Error
  19596. schema:
  19597. $ref: '#/definitions/app.Response'
  19598. security:
  19599. - ApiKeyAuth: []
  19600. summary: 查询企业风管期货商品信息
  19601. tags:
  19602. - 企业风险管理(app)
  19603. /Ermcp/GetErmcpGoodsSortByPosition:
  19604. get:
  19605. parameters:
  19606. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  19607. in: query
  19608. name: sortIndex
  19609. type: string
  19610. produces:
  19611. - application/json
  19612. responses:
  19613. "200":
  19614. description: OK
  19615. schema:
  19616. $ref: '#/definitions/models.Goodssortbypreposition'
  19617. "500":
  19618. description: Internal Server Error
  19619. schema:
  19620. $ref: '#/definitions/app.Response'
  19621. security:
  19622. - ApiKeyAuth: []
  19623. summary: 查询企业风管期货主力、次主力商品信息
  19624. tags:
  19625. - 企业风险管理(app)
  19626. /Ermcp/GetErmcpOutAccountStatus:
  19627. get:
  19628. parameters:
  19629. - description: 登录账号
  19630. in: query
  19631. name: loginID
  19632. required: true
  19633. type: integer
  19634. produces:
  19635. - application/json
  19636. responses:
  19637. "200":
  19638. description: OK
  19639. schema:
  19640. $ref: '#/definitions/models.Hedgemarketopenlog'
  19641. "500":
  19642. description: Internal Server Error
  19643. schema:
  19644. $ref: '#/definitions/app.Response'
  19645. security:
  19646. - ApiKeyAuth: []
  19647. summary: 获取目标登录账号当前对冲账号在线状态
  19648. tags:
  19649. - 企业风险管理(app)
  19650. /Ermcp/GetErmcpRoleFuncMenuLists:
  19651. get:
  19652. parameters:
  19653. - description: 登录账号
  19654. in: query
  19655. name: loginID
  19656. required: true
  19657. type: integer
  19658. produces:
  19659. - application/json
  19660. responses:
  19661. "200":
  19662. description: OK
  19663. schema:
  19664. $ref: '#/definitions/models.Funcmenulist'
  19665. "500":
  19666. description: Internal Server Error
  19667. schema:
  19668. $ref: '#/definitions/app.Response'
  19669. security:
  19670. - ApiKeyAuth: []
  19671. summary: 获取企业风管终端权限
  19672. tags:
  19673. - 企业风险管理(app)
  19674. /Ermcp/QueryAccMgrBizGroupSet:
  19675. get:
  19676. parameters:
  19677. - description: 用户ID
  19678. in: query
  19679. name: userid
  19680. required: true
  19681. type: integer
  19682. - description: 现货商品id
  19683. in: query
  19684. name: deliverygoodsid
  19685. type: integer
  19686. produces:
  19687. - application/json
  19688. responses:
  19689. "200":
  19690. description: OK
  19691. schema:
  19692. items:
  19693. $ref: '#/definitions/models.ErmcpBizGroupEx'
  19694. type: array
  19695. "500":
  19696. description: Internal Server Error
  19697. schema:
  19698. $ref: '#/definitions/app.Response'
  19699. security:
  19700. - ApiKeyAuth: []
  19701. summary: 查询业务类型分组(账户管理/账户设置)
  19702. tags:
  19703. - 企业风险管理(app)
  19704. /Ermcp/QueryAccMgrLoginUser:
  19705. get:
  19706. parameters:
  19707. - description: 用户ID
  19708. in: query
  19709. name: userid
  19710. required: true
  19711. type: integer
  19712. - description: 用户类型 2-机构 7-企业成员
  19713. in: query
  19714. name: usertype
  19715. type: integer
  19716. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  19717. in: query
  19718. name: querytype
  19719. required: true
  19720. type: integer
  19721. produces:
  19722. - application/json
  19723. responses:
  19724. "200":
  19725. description: OK
  19726. schema:
  19727. items:
  19728. $ref: '#/definitions/models.ErmcpLoginUserEx'
  19729. type: array
  19730. "500":
  19731. description: Internal Server Error
  19732. schema:
  19733. $ref: '#/definitions/app.Response'
  19734. security:
  19735. - ApiKeyAuth: []
  19736. summary: 查询账户管理登录账号(账户管理/登录账号)
  19737. tags:
  19738. - 企业风险管理(app)
  19739. /Ermcp/QueryAccMgrMainAccountInfo:
  19740. get:
  19741. parameters:
  19742. - description: 用户ID
  19743. in: query
  19744. name: userid
  19745. type: integer
  19746. - description: 主账号id
  19747. in: query
  19748. name: accountid
  19749. type: integer
  19750. produces:
  19751. - application/json
  19752. responses:
  19753. "200":
  19754. description: OK
  19755. schema:
  19756. items:
  19757. $ref: '#/definitions/models.MainAccountInfo'
  19758. type: array
  19759. "500":
  19760. description: Internal Server Error
  19761. schema:
  19762. $ref: '#/definitions/app.Response'
  19763. security:
  19764. - ApiKeyAuth: []
  19765. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  19766. tags:
  19767. - 企业风险管理(app)
  19768. /Ermcp/QueryAccMgrRole:
  19769. get:
  19770. parameters:
  19771. - description: 用户ID
  19772. in: query
  19773. name: userid
  19774. required: true
  19775. type: integer
  19776. produces:
  19777. - application/json
  19778. responses:
  19779. "200":
  19780. description: OK
  19781. schema:
  19782. items:
  19783. $ref: '#/definitions/models.ErmcpRole'
  19784. type: array
  19785. "500":
  19786. description: Internal Server Error
  19787. schema:
  19788. $ref: '#/definitions/app.Response'
  19789. security:
  19790. - ApiKeyAuth: []
  19791. summary: 查询账户管理角色设置(账户管理/角色设置)
  19792. tags:
  19793. - 企业风险管理(app)
  19794. /Ermcp/QueryAccMgrRoleMenu:
  19795. get:
  19796. parameters:
  19797. - description: 用户ID
  19798. in: query
  19799. name: userid
  19800. required: true
  19801. type: integer
  19802. - description: 角色id(可多个,逗号隔开)
  19803. in: query
  19804. name: roleid
  19805. type: string
  19806. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  19807. in: query
  19808. name: menutype
  19809. type: integer
  19810. produces:
  19811. - application/json
  19812. responses:
  19813. "200":
  19814. description: OK
  19815. schema:
  19816. items:
  19817. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  19818. type: array
  19819. "500":
  19820. description: Internal Server Error
  19821. schema:
  19822. $ref: '#/definitions/app.Response'
  19823. security:
  19824. - ApiKeyAuth: []
  19825. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  19826. tags:
  19827. - 企业风险管理(app)
  19828. /Ermcp/QueryAccMgrTaAccountInfo:
  19829. get:
  19830. parameters:
  19831. - description: 用户ID
  19832. in: query
  19833. name: userid
  19834. required: true
  19835. type: integer
  19836. - description: 账号id
  19837. in: query
  19838. name: accountid
  19839. type: integer
  19840. produces:
  19841. - application/json
  19842. responses:
  19843. "200":
  19844. description: OK
  19845. schema:
  19846. items:
  19847. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  19848. type: array
  19849. "500":
  19850. description: Internal Server Error
  19851. schema:
  19852. $ref: '#/definitions/app.Response'
  19853. security:
  19854. - ApiKeyAuth: []
  19855. summary: 查询账户管理授信(账户管理/账户设置/授信)
  19856. tags:
  19857. - 企业风险管理(app)
  19858. /Ermcp/QueryAccMgrTaaccount:
  19859. get:
  19860. parameters:
  19861. - description: 用户ID
  19862. in: query
  19863. name: userid
  19864. required: true
  19865. type: integer
  19866. produces:
  19867. - application/json
  19868. responses:
  19869. "200":
  19870. description: OK
  19871. schema:
  19872. items:
  19873. $ref: '#/definitions/models.ErmcpTaAccountEx'
  19874. type: array
  19875. "500":
  19876. description: Internal Server Error
  19877. schema:
  19878. $ref: '#/definitions/app.Response'
  19879. security:
  19880. - ApiKeyAuth: []
  19881. summary: 查询账户管理期货账号(账户管理/期货账号)
  19882. tags:
  19883. - 企业风险管理(app)
  19884. /Ermcp/QueryAvaildGoodsGroup:
  19885. get:
  19886. parameters:
  19887. - description: 所属机构ID
  19888. in: query
  19889. name: userid
  19890. required: true
  19891. type: integer
  19892. produces:
  19893. - application/json
  19894. responses:
  19895. "200":
  19896. description: OK
  19897. schema:
  19898. items:
  19899. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  19900. type: array
  19901. "500":
  19902. description: Internal Server Error
  19903. schema:
  19904. $ref: '#/definitions/app.Response'
  19905. security:
  19906. - ApiKeyAuth: []
  19907. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  19908. tags:
  19909. - 企业风险管理(app)
  19910. /Ermcp/QueryBusinessDj:
  19911. get:
  19912. parameters:
  19913. - description: 用户ID
  19914. in: query
  19915. name: UserId
  19916. required: true
  19917. type: integer
  19918. - description: 用户类型 2-机构 7-企业成员
  19919. in: query
  19920. name: usertype
  19921. type: integer
  19922. - description: 现货合同ID, 不填则查所有
  19923. in: query
  19924. name: relatedid
  19925. type: string
  19926. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19927. in: query
  19928. name: applystatus
  19929. type: string
  19930. produces:
  19931. - application/json
  19932. responses:
  19933. "200":
  19934. description: OK
  19935. schema:
  19936. items:
  19937. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  19938. type: array
  19939. "500":
  19940. description: Internal Server Error
  19941. schema:
  19942. $ref: '#/definitions/app.Response'
  19943. security:
  19944. - ApiKeyAuth: []
  19945. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  19946. tags:
  19947. - 企业风险管理(app)
  19948. /Ermcp/QueryBusinessFp:
  19949. get:
  19950. parameters:
  19951. - description: 用户ID
  19952. in: query
  19953. name: UserId
  19954. required: true
  19955. type: integer
  19956. - description: 用户类型 2-机构 7-企业成员
  19957. in: query
  19958. name: usertype
  19959. type: integer
  19960. - description: 现货合同ID, 不填则查所有
  19961. in: query
  19962. name: relatedid
  19963. type: string
  19964. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19965. in: query
  19966. name: applystatus
  19967. type: string
  19968. produces:
  19969. - application/json
  19970. responses:
  19971. "200":
  19972. description: OK
  19973. schema:
  19974. items:
  19975. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  19976. type: array
  19977. "500":
  19978. description: Internal Server Error
  19979. schema:
  19980. $ref: '#/definitions/app.Response'
  19981. security:
  19982. - ApiKeyAuth: []
  19983. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  19984. tags:
  19985. - 企业风险管理(app)
  19986. /Ermcp/QueryBusinessJs:
  19987. get:
  19988. parameters:
  19989. - description: 用户ID
  19990. in: query
  19991. name: UserId
  19992. required: true
  19993. type: integer
  19994. - description: 用户类型 2-机构 7-企业成员
  19995. in: query
  19996. name: usertype
  19997. type: integer
  19998. - description: 现货合同ID, 不填则查所有
  19999. in: query
  20000. name: relatedid
  20001. type: string
  20002. - description: 操作申请id
  20003. in: query
  20004. name: operateapplyid
  20005. type: string
  20006. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20007. in: query
  20008. name: applystatus
  20009. type: string
  20010. produces:
  20011. - application/json
  20012. responses:
  20013. "200":
  20014. description: OK
  20015. schema:
  20016. items:
  20017. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  20018. type: array
  20019. "500":
  20020. description: Internal Server Error
  20021. schema:
  20022. $ref: '#/definitions/app.Response'
  20023. security:
  20024. - ApiKeyAuth: []
  20025. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  20026. tags:
  20027. - 企业风险管理(app)
  20028. /Ermcp/QueryBusinessJsEx:
  20029. get:
  20030. parameters:
  20031. - description: 用户ID
  20032. in: query
  20033. name: UserId
  20034. required: true
  20035. type: integer
  20036. - description: 用户类型 2-机构 7-企业成员
  20037. in: query
  20038. name: usertype
  20039. type: integer
  20040. - description: 现货合同ID, 不填则查所有
  20041. in: query
  20042. name: relatedid
  20043. type: string
  20044. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20045. in: query
  20046. name: applystatus
  20047. type: string
  20048. produces:
  20049. - application/json
  20050. responses:
  20051. "200":
  20052. description: OK
  20053. schema:
  20054. items:
  20055. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  20056. type: array
  20057. "500":
  20058. description: Internal Server Error
  20059. schema:
  20060. $ref: '#/definitions/app.Response'
  20061. security:
  20062. - ApiKeyAuth: []
  20063. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  20064. tags:
  20065. - 企业风险管理(app)
  20066. /Ermcp/QueryBusinessKx:
  20067. get:
  20068. parameters:
  20069. - description: 用户ID
  20070. in: query
  20071. name: UserId
  20072. required: true
  20073. type: integer
  20074. - description: 用户类型 2-机构 7-企业成员
  20075. in: query
  20076. name: usertype
  20077. type: integer
  20078. - description: 现货合同ID, 不填则查所有
  20079. in: query
  20080. name: relatedid
  20081. type: string
  20082. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20083. in: query
  20084. name: applystatus
  20085. type: string
  20086. produces:
  20087. - application/json
  20088. responses:
  20089. "200":
  20090. description: OK
  20091. schema:
  20092. items:
  20093. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  20094. type: array
  20095. "500":
  20096. description: Internal Server Error
  20097. schema:
  20098. $ref: '#/definitions/app.Response'
  20099. security:
  20100. - ApiKeyAuth: []
  20101. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  20102. tags:
  20103. - 企业风险管理(app)
  20104. /Ermcp/QueryChangeLog:
  20105. get:
  20106. parameters:
  20107. - description: 合同ID
  20108. in: query
  20109. name: RelatedId
  20110. required: true
  20111. type: string
  20112. produces:
  20113. - application/json
  20114. responses:
  20115. "200":
  20116. description: OK
  20117. schema:
  20118. items:
  20119. $ref: '#/definitions/ermcp.QryOPLogRsp'
  20120. type: array
  20121. "500":
  20122. description: Internal Server Error
  20123. schema:
  20124. $ref: '#/definitions/app.Response'
  20125. security:
  20126. - ApiKeyAuth: []
  20127. summary: 查询变更记录
  20128. tags:
  20129. - 企业风险管理(app)
  20130. /Ermcp/QueryErmcpHisOrderDetails:
  20131. get:
  20132. parameters:
  20133. - description: 资金账户ID
  20134. in: query
  20135. name: accountID
  20136. required: true
  20137. type: integer
  20138. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20139. in: query
  20140. name: startDate
  20141. type: string
  20142. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20143. in: query
  20144. name: endDate
  20145. type: string
  20146. produces:
  20147. - application/json
  20148. responses:
  20149. "200":
  20150. description: OK
  20151. schema:
  20152. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  20153. "500":
  20154. description: Internal Server Error
  20155. schema:
  20156. $ref: '#/definitions/app.Response'
  20157. security:
  20158. - ApiKeyAuth: []
  20159. summary: 获取企业风管期货历史委托单信息
  20160. tags:
  20161. - 企业风险管理(app)
  20162. /Ermcp/QueryErmcpHisTradeDetails:
  20163. get:
  20164. parameters:
  20165. - description: 资金账户ID
  20166. in: query
  20167. name: accountID
  20168. required: true
  20169. type: integer
  20170. - description: 商品ID
  20171. in: query
  20172. name: goodsID
  20173. type: integer
  20174. - description: 买卖方向,0:买 1:卖
  20175. in: query
  20176. name: buyOrSell
  20177. type: integer
  20178. - description: 关联委托单号
  20179. in: query
  20180. name: orderID
  20181. type: integer
  20182. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20183. in: query
  20184. name: startDate
  20185. type: string
  20186. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20187. in: query
  20188. name: endDate
  20189. type: string
  20190. produces:
  20191. - application/json
  20192. responses:
  20193. "200":
  20194. description: OK
  20195. schema:
  20196. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  20197. "500":
  20198. description: Internal Server Error
  20199. schema:
  20200. $ref: '#/definitions/app.Response'
  20201. security:
  20202. - ApiKeyAuth: []
  20203. summary: 获取企业风管期货历史成交单信息
  20204. tags:
  20205. - 企业风险管理(app)
  20206. /Ermcp/QueryErmcpInnerHolderDetails:
  20207. get:
  20208. parameters:
  20209. - description: 资金账户ID
  20210. in: query
  20211. name: accountID
  20212. required: true
  20213. type: integer
  20214. - description: 商品ID
  20215. in: query
  20216. name: goodsID
  20217. type: integer
  20218. - description: 买卖方向,0:买 1:卖
  20219. in: query
  20220. name: buyOrSell
  20221. type: integer
  20222. produces:
  20223. - application/json
  20224. responses:
  20225. "200":
  20226. description: OK
  20227. schema:
  20228. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  20229. "500":
  20230. description: Internal Server Error
  20231. schema:
  20232. $ref: '#/definitions/app.Response'
  20233. security:
  20234. - ApiKeyAuth: []
  20235. summary: 获取企业风管期货内部持仓单信息
  20236. tags:
  20237. - 企业风险管理(app)
  20238. /Ermcp/QueryErmcpOrderDetails:
  20239. get:
  20240. parameters:
  20241. - description: 资金账户ID
  20242. in: query
  20243. name: accountID
  20244. required: true
  20245. type: integer
  20246. produces:
  20247. - application/json
  20248. responses:
  20249. "200":
  20250. description: OK
  20251. schema:
  20252. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  20253. "500":
  20254. description: Internal Server Error
  20255. schema:
  20256. $ref: '#/definitions/app.Response'
  20257. security:
  20258. - ApiKeyAuth: []
  20259. summary: 获取企业风管期货委托单信息
  20260. tags:
  20261. - 企业风险管理(app)
  20262. /Ermcp/QueryErmcpTradeDetails:
  20263. get:
  20264. parameters:
  20265. - description: 资金账户ID
  20266. in: query
  20267. name: accountID
  20268. required: true
  20269. type: integer
  20270. - description: 商品ID
  20271. in: query
  20272. name: goodsID
  20273. type: integer
  20274. - description: 买卖方向,0:买 1:卖
  20275. in: query
  20276. name: buyOrSell
  20277. type: integer
  20278. - description: 关联委托单号
  20279. in: query
  20280. name: orderID
  20281. type: integer
  20282. produces:
  20283. - application/json
  20284. responses:
  20285. "200":
  20286. description: OK
  20287. schema:
  20288. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  20289. "500":
  20290. description: Internal Server Error
  20291. schema:
  20292. $ref: '#/definitions/app.Response'
  20293. security:
  20294. - ApiKeyAuth: []
  20295. summary: 获取企业风管期货成交单信息
  20296. tags:
  20297. - 企业风险管理(app)
  20298. /Ermcp/QueryErmcpTradePosition:
  20299. get:
  20300. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  20301. parameters:
  20302. - description: 资金账户ID
  20303. in: query
  20304. name: accountID
  20305. required: true
  20306. type: integer
  20307. - description: 所属市场ID
  20308. in: query
  20309. name: marketID
  20310. type: integer
  20311. produces:
  20312. - application/json
  20313. responses:
  20314. "200":
  20315. description: OK
  20316. schema:
  20317. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  20318. "500":
  20319. description: Internal Server Error
  20320. schema:
  20321. $ref: '#/definitions/app.Response'
  20322. security:
  20323. - ApiKeyAuth: []
  20324. summary: 获取企业风管期货持仓头寸信息
  20325. tags:
  20326. - 企业风险管理(app)
  20327. /Ermcp/QueryExposureDetail:
  20328. get:
  20329. parameters:
  20330. - description: 所属机构ID
  20331. in: query
  20332. name: areaUserId
  20333. required: true
  20334. type: integer
  20335. - description: 套保商品
  20336. in: query
  20337. name: middleGoodsId
  20338. required: true
  20339. type: integer
  20340. produces:
  20341. - application/json
  20342. responses:
  20343. "200":
  20344. description: OK
  20345. schema:
  20346. items:
  20347. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  20348. type: array
  20349. "500":
  20350. description: Internal Server Error
  20351. schema:
  20352. $ref: '#/definitions/app.Response'
  20353. security:
  20354. - ApiKeyAuth: []
  20355. summary: 查询敞口现货明细
  20356. tags:
  20357. - 企业风险管理(app)
  20358. /Ermcp/QueryExposureGoods:
  20359. get:
  20360. parameters:
  20361. - description: 套保商品id
  20362. in: query
  20363. name: middlegoodsid
  20364. required: true
  20365. type: integer
  20366. produces:
  20367. - application/json
  20368. responses:
  20369. "200":
  20370. description: OK
  20371. schema:
  20372. items:
  20373. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  20374. type: array
  20375. "500":
  20376. description: Internal Server Error
  20377. schema:
  20378. $ref: '#/definitions/app.Response'
  20379. security:
  20380. - ApiKeyAuth: []
  20381. summary: 查询敞口主力合约
  20382. tags:
  20383. - 企业风险管理(app)
  20384. /Ermcp/QueryExposureHedgePosition:
  20385. get:
  20386. parameters:
  20387. - description: 用户id
  20388. in: query
  20389. name: userid
  20390. required: true
  20391. type: integer
  20392. produces:
  20393. - application/json
  20394. responses:
  20395. "200":
  20396. description: OK
  20397. schema:
  20398. items:
  20399. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  20400. type: array
  20401. "500":
  20402. description: Internal Server Error
  20403. schema:
  20404. $ref: '#/definitions/app.Response'
  20405. security:
  20406. - ApiKeyAuth: []
  20407. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  20408. tags:
  20409. - 企业风险管理(app)
  20410. /Ermcp/QueryExposureHedgePositionDetail:
  20411. get:
  20412. parameters:
  20413. - description: 所属机构ID
  20414. in: query
  20415. name: userid
  20416. required: true
  20417. type: integer
  20418. - description: 商品id
  20419. in: query
  20420. name: goodsId
  20421. required: true
  20422. type: integer
  20423. produces:
  20424. - application/json
  20425. responses:
  20426. "200":
  20427. description: OK
  20428. schema:
  20429. items:
  20430. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  20431. type: array
  20432. "500":
  20433. description: Internal Server Error
  20434. schema:
  20435. $ref: '#/definitions/app.Response'
  20436. security:
  20437. - ApiKeyAuth: []
  20438. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  20439. tags:
  20440. - 企业风险管理(app)
  20441. /Ermcp/QueryExposureSpot:
  20442. get:
  20443. parameters:
  20444. - description: 所属机构ID
  20445. in: query
  20446. name: areaUserId
  20447. required: true
  20448. type: integer
  20449. produces:
  20450. - application/json
  20451. responses:
  20452. "200":
  20453. description: OK
  20454. schema:
  20455. items:
  20456. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  20457. type: array
  20458. "500":
  20459. description: Internal Server Error
  20460. schema:
  20461. $ref: '#/definitions/app.Response'
  20462. security:
  20463. - ApiKeyAuth: []
  20464. summary: 查询敞口现货头寸(敞口/现货头寸)
  20465. tags:
  20466. - 企业风险管理(app)
  20467. /Ermcp/QueryExposureSpotDetail:
  20468. get:
  20469. parameters:
  20470. - description: 所属机构ID
  20471. in: query
  20472. name: areaUserId
  20473. required: true
  20474. type: integer
  20475. - description: 现货品种ID
  20476. in: query
  20477. name: wrstandardId
  20478. required: true
  20479. type: integer
  20480. produces:
  20481. - application/json
  20482. responses:
  20483. "200":
  20484. description: OK
  20485. schema:
  20486. items:
  20487. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  20488. type: array
  20489. "500":
  20490. description: Internal Server Error
  20491. schema:
  20492. $ref: '#/definitions/app.Response'
  20493. security:
  20494. - ApiKeyAuth: []
  20495. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  20496. tags:
  20497. - 企业风险管理(app)
  20498. /Ermcp/QueryFuturesCompany:
  20499. get:
  20500. produces:
  20501. - application/json
  20502. responses:
  20503. "200":
  20504. description: OK
  20505. schema:
  20506. items:
  20507. $ref: '#/definitions/models.ErmcpFuturesCompany'
  20508. type: array
  20509. "500":
  20510. description: Internal Server Error
  20511. schema:
  20512. $ref: '#/definitions/app.Response'
  20513. security:
  20514. - ApiKeyAuth: []
  20515. summary: 查询期货公司
  20516. tags:
  20517. - 企业风险管理(app)
  20518. /Ermcp/QueryGGConvertConfig:
  20519. get:
  20520. parameters:
  20521. - description: 品种id(不填则查所有)
  20522. in: query
  20523. name: goodsgroupid
  20524. type: integer
  20525. produces:
  20526. - application/json
  20527. responses:
  20528. "200":
  20529. description: OK
  20530. schema:
  20531. items:
  20532. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  20533. type: array
  20534. "500":
  20535. description: Internal Server Error
  20536. schema:
  20537. $ref: '#/definitions/app.Response'
  20538. security:
  20539. - ApiKeyAuth: []
  20540. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  20541. tags:
  20542. - 企业风险管理(app)
  20543. /Ermcp/QueryGoodsBrand:
  20544. get:
  20545. parameters:
  20546. - description: 用户ID
  20547. in: query
  20548. name: userid
  20549. required: true
  20550. type: integer
  20551. - description: 现货商品ID
  20552. in: query
  20553. name: wrstandardid
  20554. type: integer
  20555. produces:
  20556. - application/json
  20557. responses:
  20558. "200":
  20559. description: OK
  20560. schema:
  20561. items:
  20562. $ref: '#/definitions/models.ErmcpGoodsBrand'
  20563. type: array
  20564. "500":
  20565. description: Internal Server Error
  20566. schema:
  20567. $ref: '#/definitions/app.Response'
  20568. security:
  20569. - ApiKeyAuth: []
  20570. summary: 查询商品品牌
  20571. tags:
  20572. - 企业风险管理(app)
  20573. /Ermcp/QueryGoodsModel:
  20574. get:
  20575. parameters:
  20576. - description: 用户ID
  20577. in: query
  20578. name: userid
  20579. required: true
  20580. type: integer
  20581. produces:
  20582. - application/json
  20583. responses:
  20584. "200":
  20585. description: OK
  20586. schema:
  20587. items:
  20588. $ref: '#/definitions/models.ErmcpGoodsModel'
  20589. type: array
  20590. "500":
  20591. description: Internal Server Error
  20592. schema:
  20593. $ref: '#/definitions/app.Response'
  20594. security:
  20595. - ApiKeyAuth: []
  20596. summary: 查询商品型号
  20597. tags:
  20598. - 企业风险管理(app)
  20599. /Ermcp/QueryHisExposure:
  20600. get:
  20601. parameters:
  20602. - description: 用户id
  20603. in: query
  20604. name: userid
  20605. required: true
  20606. type: integer
  20607. - description: 每个品种记录数
  20608. in: query
  20609. name: lastNum
  20610. required: true
  20611. type: integer
  20612. produces:
  20613. - application/json
  20614. responses:
  20615. "200":
  20616. description: OK
  20617. schema:
  20618. items:
  20619. $ref: '#/definitions/ermcp.HisExposureRsp'
  20620. type: array
  20621. "500":
  20622. description: Internal Server Error
  20623. schema:
  20624. $ref: '#/definitions/app.Response'
  20625. security:
  20626. - ApiKeyAuth: []
  20627. summary: 查询历史敞口(菜单:敞口/历史敞口)
  20628. tags:
  20629. - 企业风险管理(app)
  20630. /Ermcp/QueryMiddleGoods:
  20631. get:
  20632. parameters:
  20633. - description: 所属机构ID
  20634. in: query
  20635. name: userid
  20636. required: true
  20637. type: integer
  20638. - description: 状态 0-停用 1-正常
  20639. in: query
  20640. name: status
  20641. required: true
  20642. type: integer
  20643. produces:
  20644. - application/json
  20645. responses:
  20646. "200":
  20647. description: OK
  20648. schema:
  20649. items:
  20650. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  20651. type: array
  20652. "500":
  20653. description: Internal Server Error
  20654. schema:
  20655. $ref: '#/definitions/app.Response'
  20656. security:
  20657. - ApiKeyAuth: []
  20658. summary: 查询套保品种(菜单:套保品种)
  20659. tags:
  20660. - 企业风险管理(app)
  20661. /Ermcp/QueryMiddleGoodsChangeLog:
  20662. get:
  20663. parameters:
  20664. - description: 所属机构ID
  20665. in: query
  20666. name: userid
  20667. required: true
  20668. type: integer
  20669. - description: 套保品种id
  20670. in: query
  20671. name: middlegoodsid
  20672. required: true
  20673. type: integer
  20674. produces:
  20675. - application/json
  20676. responses:
  20677. "200":
  20678. description: OK
  20679. schema:
  20680. items:
  20681. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  20682. type: array
  20683. "500":
  20684. description: Internal Server Error
  20685. schema:
  20686. $ref: '#/definitions/app.Response'
  20687. security:
  20688. - ApiKeyAuth: []
  20689. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  20690. tags:
  20691. - 企业风险管理(app)
  20692. /Ermcp/QueryMiddleGoodsDetail:
  20693. get:
  20694. parameters:
  20695. - description: 所属机构ID
  20696. in: query
  20697. name: userid
  20698. required: true
  20699. type: integer
  20700. - description: 套保品种id
  20701. in: query
  20702. name: middlegoodsid
  20703. type: integer
  20704. produces:
  20705. - application/json
  20706. responses:
  20707. "200":
  20708. description: OK
  20709. schema:
  20710. items:
  20711. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  20712. type: array
  20713. "500":
  20714. description: Internal Server Error
  20715. schema:
  20716. $ref: '#/definitions/app.Response'
  20717. security:
  20718. - ApiKeyAuth: []
  20719. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  20720. tags:
  20721. - 企业风险管理(app)
  20722. /Ermcp/QueryPendingAuditInfo:
  20723. get:
  20724. parameters:
  20725. - description: 用户ID
  20726. in: query
  20727. name: UserId
  20728. required: true
  20729. type: integer
  20730. produces:
  20731. - application/json
  20732. responses:
  20733. "200":
  20734. description: OK
  20735. schema:
  20736. items:
  20737. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  20738. type: array
  20739. "500":
  20740. description: Internal Server Error
  20741. schema:
  20742. $ref: '#/definitions/app.Response'
  20743. security:
  20744. - ApiKeyAuth: []
  20745. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  20746. tags:
  20747. - 企业风险管理(app)
  20748. /Ermcp/QueryRealtimeExposure:
  20749. get:
  20750. parameters:
  20751. - description: 所属机构ID
  20752. in: query
  20753. name: userid
  20754. required: true
  20755. type: integer
  20756. produces:
  20757. - application/json
  20758. responses:
  20759. "200":
  20760. description: OK
  20761. schema:
  20762. items:
  20763. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  20764. type: array
  20765. "500":
  20766. description: Internal Server Error
  20767. schema:
  20768. $ref: '#/definitions/app.Response'
  20769. security:
  20770. - ApiKeyAuth: []
  20771. summary: 查询实时敞口
  20772. tags:
  20773. - 企业风险管理(app)
  20774. /Ermcp/QueryRealtimeExposurePosition:
  20775. get:
  20776. parameters:
  20777. - description: 用户id
  20778. in: query
  20779. name: userid
  20780. required: true
  20781. type: integer
  20782. - description: 套保商品ID
  20783. in: query
  20784. name: middleGoodsId
  20785. required: true
  20786. type: integer
  20787. produces:
  20788. - application/json
  20789. responses:
  20790. "200":
  20791. description: OK
  20792. schema:
  20793. items:
  20794. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  20795. type: array
  20796. "500":
  20797. description: Internal Server Error
  20798. schema:
  20799. $ref: '#/definitions/app.Response'
  20800. security:
  20801. - ApiKeyAuth: []
  20802. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  20803. tags:
  20804. - 企业风险管理(app)
  20805. /Ermcp/QueryRoleMenu:
  20806. get:
  20807. parameters:
  20808. - description: 登录ID
  20809. in: query
  20810. name: loginid
  20811. required: true
  20812. type: integer
  20813. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  20814. in: query
  20815. name: menutype
  20816. type: integer
  20817. produces:
  20818. - application/json
  20819. responses:
  20820. "200":
  20821. description: OK
  20822. schema:
  20823. items:
  20824. $ref: '#/definitions/models.RoleMenu'
  20825. type: array
  20826. "500":
  20827. description: Internal Server Error
  20828. schema:
  20829. $ref: '#/definitions/app.Response'
  20830. security:
  20831. - ApiKeyAuth: []
  20832. summary: 查询角色菜单和权限
  20833. tags:
  20834. - 企业风险管理(app)
  20835. /Ermcp/QueryTradeConfigTMP:
  20836. get:
  20837. parameters:
  20838. - description: 所属机构id
  20839. in: query
  20840. name: areauserid
  20841. type: integer
  20842. produces:
  20843. - application/json
  20844. responses:
  20845. "200":
  20846. description: OK
  20847. schema:
  20848. items:
  20849. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  20850. type: array
  20851. "500":
  20852. description: Internal Server Error
  20853. schema:
  20854. $ref: '#/definitions/app.Response'
  20855. security:
  20856. - ApiKeyAuth: []
  20857. summary: 查询交易模板配置
  20858. tags:
  20859. - 企业风险管理(app)
  20860. /Ermcp/QueryUserInfo:
  20861. get:
  20862. parameters:
  20863. - description: 所属机构用户ID
  20864. in: query
  20865. name: MemberUserID
  20866. required: true
  20867. type: integer
  20868. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  20869. in: query
  20870. name: queryType
  20871. required: true
  20872. type: integer
  20873. produces:
  20874. - application/json
  20875. responses:
  20876. "200":
  20877. description: OK
  20878. schema:
  20879. items:
  20880. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  20881. type: array
  20882. "500":
  20883. description: Internal Server Error
  20884. schema:
  20885. $ref: '#/definitions/app.Response'
  20886. security:
  20887. - ApiKeyAuth: []
  20888. summary: 查询客户资料
  20889. tags:
  20890. - 企业风险管理(app)
  20891. /Ermcp/QueryWarehouseInfo:
  20892. get:
  20893. parameters:
  20894. - description: 用户ID
  20895. in: query
  20896. name: userid
  20897. required: true
  20898. type: integer
  20899. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  20900. in: query
  20901. name: status
  20902. type: string
  20903. produces:
  20904. - application/json
  20905. responses:
  20906. "200":
  20907. description: OK
  20908. schema:
  20909. items:
  20910. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  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. /Ermcp3/QryAreaExpourseContractDetail:
  20922. get:
  20923. parameters:
  20924. - description: 用户ID
  20925. in: query
  20926. name: userid
  20927. required: true
  20928. type: integer
  20929. - description: 套保商品id
  20930. in: query
  20931. name: middlegoodsid
  20932. required: true
  20933. type: integer
  20934. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20935. in: query
  20936. name: cycletype
  20937. required: true
  20938. type: integer
  20939. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20940. in: query
  20941. name: cycletime
  20942. required: true
  20943. type: string
  20944. produces:
  20945. - application/json
  20946. responses:
  20947. "200":
  20948. description: OK
  20949. schema:
  20950. items:
  20951. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  20952. type: array
  20953. "500":
  20954. description: Internal Server Error
  20955. schema:
  20956. $ref: '#/definitions/app.Response'
  20957. security:
  20958. - ApiKeyAuth: []
  20959. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  20960. tags:
  20961. - 企业风险管理v3(app)
  20962. /Ermcp3/QryAreaExpourseFutuDetail:
  20963. get:
  20964. parameters:
  20965. - description: 用户ID
  20966. in: query
  20967. name: userid
  20968. required: true
  20969. type: integer
  20970. - description: 套保商品id
  20971. in: query
  20972. name: middlegoodsid
  20973. required: true
  20974. type: integer
  20975. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20976. in: query
  20977. name: cycletype
  20978. required: true
  20979. type: integer
  20980. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20981. in: query
  20982. name: cycletime
  20983. required: true
  20984. type: string
  20985. produces:
  20986. - application/json
  20987. responses:
  20988. "200":
  20989. description: OK
  20990. schema:
  20991. items:
  20992. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  20993. type: array
  20994. "500":
  20995. description: Internal Server Error
  20996. schema:
  20997. $ref: '#/definitions/app.Response'
  20998. security:
  20999. - ApiKeyAuth: []
  21000. summary: 查询敞口期货明细(敞口报表/期货明细)
  21001. tags:
  21002. - 企业风险管理v3(app)
  21003. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  21004. get:
  21005. parameters:
  21006. - description: 用户ID
  21007. in: query
  21008. name: userid
  21009. required: true
  21010. type: integer
  21011. - description: 套保商品id
  21012. in: query
  21013. name: middlegoodsid
  21014. required: true
  21015. type: integer
  21016. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21017. in: query
  21018. name: cycletype
  21019. required: true
  21020. type: integer
  21021. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21022. in: query
  21023. name: cycletime
  21024. required: true
  21025. type: string
  21026. produces:
  21027. - application/json
  21028. responses:
  21029. "200":
  21030. description: OK
  21031. schema:
  21032. items:
  21033. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  21034. type: array
  21035. "500":
  21036. description: Internal Server Error
  21037. schema:
  21038. $ref: '#/definitions/app.Response'
  21039. security:
  21040. - ApiKeyAuth: []
  21041. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  21042. tags:
  21043. - 企业风险管理v3(app)
  21044. /Ermcp3/QryAreaExpourseParamChLogDetail:
  21045. get:
  21046. parameters:
  21047. - description: 用户ID
  21048. in: query
  21049. name: userid
  21050. required: true
  21051. type: integer
  21052. - description: 套保商品id
  21053. in: query
  21054. name: middlegoodsid
  21055. required: true
  21056. type: integer
  21057. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21058. in: query
  21059. name: cycletype
  21060. required: true
  21061. type: integer
  21062. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21063. in: query
  21064. name: cycletime
  21065. required: true
  21066. type: string
  21067. produces:
  21068. - application/json
  21069. responses:
  21070. "200":
  21071. description: OK
  21072. schema:
  21073. items:
  21074. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  21075. type: array
  21076. "500":
  21077. description: Internal Server Error
  21078. schema:
  21079. $ref: '#/definitions/app.Response'
  21080. security:
  21081. - ApiKeyAuth: []
  21082. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  21083. tags:
  21084. - 企业风险管理v3(app)
  21085. /Ermcp3/QryAreaExpourseReport:
  21086. get:
  21087. parameters:
  21088. - description: 用户ID
  21089. in: query
  21090. name: userid
  21091. required: true
  21092. type: integer
  21093. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  21094. in: query
  21095. name: querytype
  21096. required: true
  21097. type: integer
  21098. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21099. in: query
  21100. name: cycletype
  21101. required: true
  21102. type: integer
  21103. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21104. in: query
  21105. name: cycletime
  21106. required: true
  21107. type: string
  21108. produces:
  21109. - application/json
  21110. responses:
  21111. "200":
  21112. description: OK
  21113. schema:
  21114. items:
  21115. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  21116. type: array
  21117. "500":
  21118. description: Internal Server Error
  21119. schema:
  21120. $ref: '#/definitions/app.Response'
  21121. security:
  21122. - ApiKeyAuth: []
  21123. summary: 查询敞口报表
  21124. tags:
  21125. - 企业风险管理v3(app)
  21126. /Ermcp3/QryAreaSpotplReport:
  21127. get:
  21128. parameters:
  21129. - description: 用户ID
  21130. in: query
  21131. name: userid
  21132. required: true
  21133. type: integer
  21134. - description: 查询类型 1-报表 2-报表明细
  21135. in: query
  21136. name: querytype
  21137. required: true
  21138. type: integer
  21139. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21140. in: query
  21141. name: cycletype
  21142. required: true
  21143. type: integer
  21144. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21145. in: query
  21146. name: cycletime
  21147. required: true
  21148. type: string
  21149. - description: 现货品种id(明细必填)
  21150. in: query
  21151. name: deliverygoodsid
  21152. type: integer
  21153. - description: 币种id(明细必填)
  21154. in: query
  21155. name: currencyid
  21156. type: integer
  21157. produces:
  21158. - application/json
  21159. responses:
  21160. "200":
  21161. description: OK
  21162. schema:
  21163. items:
  21164. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  21165. type: array
  21166. "500":
  21167. description: Internal Server Error
  21168. schema:
  21169. $ref: '#/definitions/app.Response'
  21170. security:
  21171. - ApiKeyAuth: []
  21172. summary: 查询现货报表
  21173. tags:
  21174. - 企业风险管理v3(app)
  21175. /Ermcp3/QryAreaStockReport:
  21176. get:
  21177. parameters:
  21178. - description: 用户ID
  21179. in: query
  21180. name: userid
  21181. required: true
  21182. type: integer
  21183. - description: 查询类型 1-报表 2-报表明细
  21184. in: query
  21185. name: querytype
  21186. required: true
  21187. type: integer
  21188. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21189. in: query
  21190. name: cycletype
  21191. required: true
  21192. type: integer
  21193. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21194. in: query
  21195. name: cycletime
  21196. required: true
  21197. type: string
  21198. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  21199. in: query
  21200. name: sumfields
  21201. type: string
  21202. - description: 品种ID
  21203. in: query
  21204. name: deliverygoodsid
  21205. type: integer
  21206. - description: 品类ID
  21207. in: query
  21208. name: wrstandardid
  21209. type: integer
  21210. - description: 品牌ID
  21211. in: query
  21212. name: spotgoodsbrandid
  21213. type: integer
  21214. - description: 仓库ID
  21215. in: query
  21216. name: warehouseinfoid
  21217. type: integer
  21218. produces:
  21219. - application/json
  21220. responses:
  21221. "200":
  21222. description: OK
  21223. schema:
  21224. items:
  21225. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  21226. type: array
  21227. "500":
  21228. description: Internal Server Error
  21229. schema:
  21230. $ref: '#/definitions/app.Response'
  21231. security:
  21232. - ApiKeyAuth: []
  21233. summary: 查询库存报表
  21234. tags:
  21235. - 企业风险管理v3(app)
  21236. /Ermcp3/QryAreaSumPL:
  21237. get:
  21238. parameters:
  21239. - description: 用户ID
  21240. in: query
  21241. name: userid
  21242. required: true
  21243. type: integer
  21244. - description: 查询类型 1-报表 2-报表明细
  21245. in: query
  21246. name: querytype
  21247. required: true
  21248. type: integer
  21249. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21250. in: query
  21251. name: cycletype
  21252. required: true
  21253. type: integer
  21254. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21255. in: query
  21256. name: cycletime
  21257. required: true
  21258. type: string
  21259. - description: 币种id(明细必填)
  21260. in: query
  21261. name: currencyid
  21262. type: integer
  21263. produces:
  21264. - application/json
  21265. responses:
  21266. "200":
  21267. description: OK
  21268. schema:
  21269. items:
  21270. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  21271. type: array
  21272. "500":
  21273. description: Internal Server Error
  21274. schema:
  21275. $ref: '#/definitions/app.Response'
  21276. security:
  21277. - ApiKeyAuth: []
  21278. summary: 查询汇总损益表
  21279. tags:
  21280. - 企业风险管理v3(app)
  21281. /Ermcp3/QryFinanceReport:
  21282. get:
  21283. parameters:
  21284. - description: 用户ID
  21285. in: query
  21286. name: userid
  21287. required: true
  21288. type: integer
  21289. - description: 查询类型 1-报表 2-报表明细
  21290. in: query
  21291. name: querytype
  21292. required: true
  21293. type: integer
  21294. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21295. in: query
  21296. name: cycletype
  21297. required: true
  21298. type: integer
  21299. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21300. in: query
  21301. name: cycletime
  21302. required: true
  21303. type: string
  21304. - description: 币种id(报表明细必填)
  21305. in: query
  21306. name: currencyid
  21307. type: integer
  21308. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  21309. in: query
  21310. name: sumfields
  21311. type: string
  21312. produces:
  21313. - application/json
  21314. responses:
  21315. "200":
  21316. description: OK
  21317. schema:
  21318. items:
  21319. $ref: '#/definitions/models.Ermcp3FinanceReport'
  21320. type: array
  21321. "500":
  21322. description: Internal Server Error
  21323. schema:
  21324. $ref: '#/definitions/app.Response'
  21325. security:
  21326. - ApiKeyAuth: []
  21327. summary: 查询财务报表
  21328. tags:
  21329. - 企业风险管理v3(app)
  21330. /Ermcp3/QrySCMiddleGoodsReport:
  21331. get:
  21332. parameters:
  21333. - description: 用户ID
  21334. in: query
  21335. name: userid
  21336. required: true
  21337. type: integer
  21338. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21339. in: query
  21340. name: cycletype
  21341. required: true
  21342. type: integer
  21343. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21344. in: query
  21345. name: cycletime
  21346. required: true
  21347. type: string
  21348. - description: 合同id
  21349. in: query
  21350. name: spotcontractid
  21351. type: integer
  21352. - description: 套保品种id
  21353. in: query
  21354. name: middlegoodsid
  21355. type: integer
  21356. - description: 现货品种id
  21357. in: query
  21358. name: deliverygoodsid
  21359. type: integer
  21360. - description: 现货商品id
  21361. in: query
  21362. name: wrstandardid
  21363. type: integer
  21364. - description: 合同编号(模糊匹配)
  21365. in: query
  21366. name: contractno
  21367. type: string
  21368. produces:
  21369. - application/json
  21370. responses:
  21371. "200":
  21372. description: OK
  21373. schema:
  21374. items:
  21375. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  21376. type: array
  21377. "500":
  21378. description: Internal Server Error
  21379. schema:
  21380. $ref: '#/definitions/app.Response'
  21381. security:
  21382. - ApiKeyAuth: []
  21383. summary: 查询定价报表
  21384. tags:
  21385. - 企业风险管理v3(app)
  21386. /Ermcp3/QryTaFutureDataReport:
  21387. get:
  21388. parameters:
  21389. - description: 用户ID
  21390. in: query
  21391. name: userid
  21392. required: true
  21393. type: integer
  21394. - description: 查询类型 1-报表 2-报表明细
  21395. in: query
  21396. name: querytype
  21397. required: true
  21398. type: integer
  21399. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21400. in: query
  21401. name: cycletype
  21402. required: true
  21403. type: integer
  21404. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21405. in: query
  21406. name: cycletime
  21407. required: true
  21408. type: string
  21409. - description: 币种id(查明细必填)
  21410. in: query
  21411. name: currencyid
  21412. type: integer
  21413. - description: 品种id(查明细必填)
  21414. in: query
  21415. name: goodsgroupid
  21416. type: integer
  21417. - description: 商品id(查明细必填)
  21418. in: query
  21419. name: goodsid
  21420. type: integer
  21421. - description: 买卖方向(查明细必填)
  21422. in: query
  21423. name: buyorsell
  21424. type: integer
  21425. produces:
  21426. - application/json
  21427. responses:
  21428. "200":
  21429. description: OK
  21430. schema:
  21431. items:
  21432. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  21433. type: array
  21434. "500":
  21435. description: Internal Server Error
  21436. schema:
  21437. $ref: '#/definitions/app.Response'
  21438. security:
  21439. - ApiKeyAuth: []
  21440. summary: 查询期货报表
  21441. tags:
  21442. - 企业风险管理v3(app)
  21443. /Ermcp3/QueryAreaStock:
  21444. get:
  21445. parameters:
  21446. - description: 用户ID
  21447. in: query
  21448. name: userid
  21449. required: true
  21450. type: integer
  21451. produces:
  21452. - application/json
  21453. responses:
  21454. "200":
  21455. description: OK
  21456. schema:
  21457. items:
  21458. $ref: '#/definitions/models.Ermcp3AreaStock'
  21459. type: array
  21460. "500":
  21461. description: Internal Server Error
  21462. schema:
  21463. $ref: '#/definitions/app.Response'
  21464. security:
  21465. - ApiKeyAuth: []
  21466. summary: 查询机构库存(库存管理/当前库存)
  21467. tags:
  21468. - 企业风险管理v3(app)
  21469. /Ermcp3/QueryAreaStockApply:
  21470. get:
  21471. parameters:
  21472. - description: 用户ID
  21473. in: query
  21474. name: userid
  21475. required: true
  21476. type: integer
  21477. - description: 用户类型 2-机构 7-企业成员
  21478. in: query
  21479. name: usertype
  21480. type: integer
  21481. - description: 现货商品ID
  21482. in: query
  21483. name: deliverygoodsid
  21484. type: integer
  21485. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  21486. in: query
  21487. name: inouttype
  21488. type: string
  21489. - description: 合同ID
  21490. in: query
  21491. name: spotcontractid
  21492. type: integer
  21493. - description: 品类ID
  21494. in: query
  21495. name: wrstandardid
  21496. type: integer
  21497. - description: 品牌ID
  21498. in: query
  21499. name: spotgoodsbrandid
  21500. type: integer
  21501. - description: 仓库ID
  21502. in: query
  21503. name: warehouseinfoid
  21504. type: integer
  21505. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21506. in: query
  21507. name: applystatus
  21508. type: string
  21509. produces:
  21510. - application/json
  21511. responses:
  21512. "200":
  21513. description: OK
  21514. schema:
  21515. items:
  21516. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  21517. type: array
  21518. "500":
  21519. description: Internal Server Error
  21520. schema:
  21521. $ref: '#/definitions/app.Response'
  21522. security:
  21523. - ApiKeyAuth: []
  21524. summary: 查询库存申请(出入库记录|库存审核)
  21525. tags:
  21526. - 企业风险管理v3(app)
  21527. /Ermcp3/QueryAreaStockApplySum:
  21528. get:
  21529. parameters:
  21530. - description: 合同ID
  21531. in: query
  21532. name: spotcontractid
  21533. required: true
  21534. type: integer
  21535. produces:
  21536. - application/json
  21537. responses:
  21538. "200":
  21539. description: OK
  21540. schema:
  21541. items:
  21542. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  21543. type: array
  21544. "500":
  21545. description: Internal Server Error
  21546. schema:
  21547. $ref: '#/definitions/app.Response'
  21548. security:
  21549. - ApiKeyAuth: []
  21550. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  21551. tags:
  21552. - 企业风险管理v3(app)
  21553. /Ermcp3/QueryDGFactoryItem:
  21554. get:
  21555. parameters:
  21556. - description: 用户id
  21557. in: query
  21558. name: userid
  21559. type: integer
  21560. - description: 用户类型 2-机构 7-企业成员
  21561. in: query
  21562. name: usertype
  21563. type: integer
  21564. - description: 选择项ID(SEQ_DGFACTORYITEM)
  21565. in: query
  21566. name: dgfactoryitemid
  21567. type: integer
  21568. - description: 现货品种ID
  21569. in: query
  21570. name: deliverygoodsid
  21571. type: integer
  21572. - description: 要素项类型
  21573. in: query
  21574. name: dgfactoryitemtypeid
  21575. type: integer
  21576. - description: 顺序
  21577. in: query
  21578. name: orderindex
  21579. type: integer
  21580. produces:
  21581. - application/json
  21582. responses:
  21583. "200":
  21584. description: OK
  21585. schema:
  21586. items:
  21587. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  21588. type: array
  21589. "500":
  21590. description: Internal Server Error
  21591. schema:
  21592. $ref: '#/definitions/app.Response'
  21593. security:
  21594. - ApiKeyAuth: []
  21595. summary: 查询品种要素定义项
  21596. tags:
  21597. - 企业风险管理v3(app)
  21598. /Ermcp3/QueryDeliveryGoods:
  21599. get:
  21600. parameters:
  21601. - description: 用户id
  21602. in: query
  21603. name: userid
  21604. required: true
  21605. type: integer
  21606. - description: 用户类型 2-机构 7-企业成员
  21607. in: query
  21608. name: usertype
  21609. type: integer
  21610. - description: 排除已配置的业务类型商品 1-套保 2-套利
  21611. in: query
  21612. name: excludecfg
  21613. type: integer
  21614. produces:
  21615. - application/json
  21616. responses:
  21617. "200":
  21618. description: OK
  21619. schema:
  21620. items:
  21621. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  21622. type: array
  21623. "500":
  21624. description: Internal Server Error
  21625. schema:
  21626. $ref: '#/definitions/app.Response'
  21627. security:
  21628. - ApiKeyAuth: []
  21629. summary: 查询现货商品
  21630. tags:
  21631. - 企业风险管理v3(app)
  21632. /Ermcp3/QueryDeliveryGoodsDetail:
  21633. get:
  21634. parameters:
  21635. - description: 用户id
  21636. in: query
  21637. name: userid
  21638. required: true
  21639. type: integer
  21640. - description: 用户类型 2-机构 7-企业成员
  21641. in: query
  21642. name: usertype
  21643. type: integer
  21644. - description: 现货商品id
  21645. in: query
  21646. name: deliverygoodsid
  21647. type: integer
  21648. produces:
  21649. - application/json
  21650. responses:
  21651. "200":
  21652. description: OK
  21653. schema:
  21654. items:
  21655. $ref: '#/definitions/models.XHDeliveryGoods'
  21656. type: array
  21657. "500":
  21658. description: Internal Server Error
  21659. schema:
  21660. $ref: '#/definitions/app.Response'
  21661. security:
  21662. - ApiKeyAuth: []
  21663. summary: 查询现货商品详情
  21664. tags:
  21665. - 企业风险管理v3(app)
  21666. /Ermcp3/QueryExposureDetail:
  21667. get:
  21668. parameters:
  21669. - description: 用户id
  21670. in: query
  21671. name: userid
  21672. required: true
  21673. type: integer
  21674. - description: 用户类型 2-机构 7-企业成员
  21675. in: query
  21676. name: usertype
  21677. type: integer
  21678. - description: 套保商品
  21679. in: query
  21680. name: middlegoodsid
  21681. required: true
  21682. type: integer
  21683. produces:
  21684. - application/json
  21685. responses:
  21686. "200":
  21687. description: OK
  21688. schema:
  21689. items:
  21690. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  21691. type: array
  21692. "500":
  21693. description: Internal Server Error
  21694. schema:
  21695. $ref: '#/definitions/app.Response'
  21696. security:
  21697. - ApiKeyAuth: []
  21698. summary: 查询敞口现货明细
  21699. tags:
  21700. - 企业风险管理v3(app)
  21701. /Ermcp3/QueryExposureSpot:
  21702. get:
  21703. parameters:
  21704. - description: 用户id
  21705. in: query
  21706. name: userid
  21707. required: true
  21708. type: integer
  21709. - description: 用户类型 2-机构 7-企业成员
  21710. in: query
  21711. name: usertype
  21712. type: integer
  21713. produces:
  21714. - application/json
  21715. responses:
  21716. "200":
  21717. description: OK
  21718. schema:
  21719. items:
  21720. $ref: '#/definitions/models.Ermcp3AreaSpot'
  21721. type: array
  21722. "500":
  21723. description: Internal Server Error
  21724. schema:
  21725. $ref: '#/definitions/app.Response'
  21726. security:
  21727. - ApiKeyAuth: []
  21728. summary: 查询敞口现货头寸(敞口/现货头寸)
  21729. tags:
  21730. - 企业风险管理v3(app)
  21731. /Ermcp3/QueryExposureSpotDetail:
  21732. get:
  21733. parameters:
  21734. - description: 用户id
  21735. in: query
  21736. name: userid
  21737. required: true
  21738. type: integer
  21739. - description: 用户类型 2-机构 7-企业成员
  21740. in: query
  21741. name: usertype
  21742. type: integer
  21743. - description: 现货商品ID
  21744. in: query
  21745. name: wrstandardid
  21746. required: true
  21747. type: integer
  21748. produces:
  21749. - application/json
  21750. responses:
  21751. "200":
  21752. description: OK
  21753. schema:
  21754. items:
  21755. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  21756. type: array
  21757. "500":
  21758. description: Internal Server Error
  21759. schema:
  21760. $ref: '#/definitions/app.Response'
  21761. security:
  21762. - ApiKeyAuth: []
  21763. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  21764. tags:
  21765. - 企业风险管理v3(app)
  21766. /Ermcp3/QueryGoodsGroup:
  21767. get:
  21768. parameters:
  21769. - description: 用户id
  21770. in: query
  21771. name: userid
  21772. required: true
  21773. type: integer
  21774. - description: 用户类型 2-机构 7-企业成员
  21775. in: query
  21776. name: usertype
  21777. type: integer
  21778. - description: 排除套保品中已关联的商品组 1-排除
  21779. in: query
  21780. name: excludecfg
  21781. type: integer
  21782. produces:
  21783. - application/json
  21784. responses:
  21785. "200":
  21786. description: OK
  21787. schema:
  21788. items:
  21789. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  21790. type: array
  21791. "500":
  21792. description: Internal Server Error
  21793. schema:
  21794. $ref: '#/definitions/app.Response'
  21795. security:
  21796. - ApiKeyAuth: []
  21797. summary: 查询期货商品组
  21798. tags:
  21799. - 企业风险管理v3(app)
  21800. /Ermcp3/QueryGoodsWrstandard:
  21801. get:
  21802. parameters:
  21803. - description: 用户id
  21804. in: query
  21805. name: userid
  21806. required: true
  21807. type: integer
  21808. - description: 用户类型 2-机构 7-企业成员
  21809. in: query
  21810. name: usertype
  21811. type: integer
  21812. - description: 现货商品id
  21813. in: query
  21814. name: deliverygoodsid
  21815. type: integer
  21816. produces:
  21817. - application/json
  21818. responses:
  21819. "200":
  21820. description: OK
  21821. schema:
  21822. items:
  21823. $ref: '#/definitions/models.Ermcp3Wrstandard'
  21824. type: array
  21825. "500":
  21826. description: Internal Server Error
  21827. schema:
  21828. $ref: '#/definitions/app.Response'
  21829. security:
  21830. - ApiKeyAuth: []
  21831. summary: 查询商品品类
  21832. tags:
  21833. - 企业风险管理v3(app)
  21834. /Ermcp3/QueryGoodsbrand:
  21835. get:
  21836. parameters:
  21837. - description: 用户id
  21838. in: query
  21839. name: userid
  21840. required: true
  21841. type: integer
  21842. - description: 用户类型 2-机构 7-企业成员
  21843. in: query
  21844. name: usertype
  21845. type: integer
  21846. produces:
  21847. - application/json
  21848. responses:
  21849. "200":
  21850. description: OK
  21851. schema:
  21852. items:
  21853. $ref: '#/definitions/models.Ermcp3Brand'
  21854. type: array
  21855. "500":
  21856. description: Internal Server Error
  21857. schema:
  21858. $ref: '#/definitions/app.Response'
  21859. security:
  21860. - ApiKeyAuth: []
  21861. summary: 查询商品品牌
  21862. tags:
  21863. - 企业风险管理v3(app)
  21864. /Ermcp3/QueryHedgePlan:
  21865. get:
  21866. parameters:
  21867. - description: 用户ID
  21868. in: query
  21869. name: userid
  21870. required: true
  21871. type: integer
  21872. - description: 用户类型 2-机构 7-企业成员
  21873. in: query
  21874. name: usertype
  21875. type: integer
  21876. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  21877. in: query
  21878. name: hedgeplanstatus
  21879. required: true
  21880. type: string
  21881. produces:
  21882. - application/json
  21883. responses:
  21884. "200":
  21885. description: OK
  21886. schema:
  21887. items:
  21888. $ref: '#/definitions/models.Ermcp3HedgePlan'
  21889. type: array
  21890. "500":
  21891. description: Internal Server Error
  21892. schema:
  21893. $ref: '#/definitions/app.Response'
  21894. security:
  21895. - ApiKeyAuth: []
  21896. summary: 查询套保计划
  21897. tags:
  21898. - 企业风险管理v3(app)
  21899. /Ermcp3/QueryInnerTradeLink:
  21900. get:
  21901. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  21902. parameters:
  21903. - description: 外部成交单号
  21904. in: query
  21905. name: outtradeid
  21906. required: true
  21907. type: integer
  21908. produces:
  21909. - application/json
  21910. responses:
  21911. "200":
  21912. description: OK
  21913. schema:
  21914. items:
  21915. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  21916. type: array
  21917. "500":
  21918. description: Internal Server Error
  21919. schema:
  21920. $ref: '#/definitions/app.Response'
  21921. security:
  21922. - ApiKeyAuth: []
  21923. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  21924. tags:
  21925. - 企业风险管理v3(app)
  21926. /Ermcp3/QueryMiddleGoodsDetail:
  21927. get:
  21928. parameters:
  21929. - description: 用户id
  21930. in: query
  21931. name: userid
  21932. required: true
  21933. type: integer
  21934. - description: 用户类型 2-机构 7-企业成员
  21935. in: query
  21936. name: usertype
  21937. type: integer
  21938. - description: 套保品种id
  21939. in: query
  21940. name: middlegoodsid
  21941. type: integer
  21942. produces:
  21943. - application/json
  21944. responses:
  21945. "200":
  21946. description: OK
  21947. schema:
  21948. items:
  21949. $ref: '#/definitions/models.TBMiddleGoods'
  21950. type: array
  21951. "500":
  21952. description: Internal Server Error
  21953. schema:
  21954. $ref: '#/definitions/app.Response'
  21955. security:
  21956. - ApiKeyAuth: []
  21957. summary: 查询套保品种详情(套保品种/商品详情)
  21958. tags:
  21959. - 企业风险管理v3(app)
  21960. /Ermcp3/QueryOutTradeLink:
  21961. get:
  21962. description: 页面 app 现货->期现关联->外部成交单关联
  21963. parameters:
  21964. - description: 用户ID(填登录用户的userid)
  21965. in: query
  21966. name: userid
  21967. required: true
  21968. type: integer
  21969. - description: 外部订单号(模糊匹配)
  21970. in: query
  21971. name: outtradeid
  21972. type: string
  21973. - description: 合约名称/代码(模糊匹配)
  21974. in: query
  21975. name: goodsname
  21976. type: string
  21977. - description: 关联状态 0-未关联 1-已关联
  21978. in: query
  21979. name: hasinnerorder
  21980. type: integer
  21981. produces:
  21982. - application/json
  21983. responses:
  21984. "200":
  21985. description: OK
  21986. schema:
  21987. items:
  21988. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  21989. type: array
  21990. "500":
  21991. description: Internal Server Error
  21992. schema:
  21993. $ref: '#/definitions/app.Response'
  21994. security:
  21995. - ApiKeyAuth: []
  21996. summary: 查询外部成交单关联
  21997. tags:
  21998. - 企业风险管理v3(app)
  21999. /Ermcp3/QueryPaAreaAuditCfg:
  22000. get:
  22001. parameters:
  22002. - description: 用户id
  22003. in: query
  22004. name: userid
  22005. required: true
  22006. type: integer
  22007. produces:
  22008. - application/json
  22009. responses:
  22010. "200":
  22011. description: OK
  22012. schema:
  22013. items:
  22014. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  22015. type: array
  22016. "500":
  22017. description: Internal Server Error
  22018. schema:
  22019. $ref: '#/definitions/app.Response'
  22020. security:
  22021. - ApiKeyAuth: []
  22022. summary: 查询审核设置
  22023. tags:
  22024. - 企业风险管理v3(app)
  22025. /Ermcp3/QueryPaAreaSubject:
  22026. get:
  22027. parameters:
  22028. - description: 用户id
  22029. in: query
  22030. name: userid
  22031. required: true
  22032. type: integer
  22033. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  22034. in: query
  22035. name: subjectid
  22036. type: integer
  22037. - description: 主体类型 - 1:交易主体 2:业务部门
  22038. in: query
  22039. name: subjecttype
  22040. type: integer
  22041. - description: '主体状态 - 1:正常 2: 停用'
  22042. in: query
  22043. name: subjectstatus
  22044. type: integer
  22045. produces:
  22046. - application/json
  22047. responses:
  22048. "200":
  22049. description: OK
  22050. schema:
  22051. items:
  22052. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  22053. type: array
  22054. "500":
  22055. description: Internal Server Error
  22056. schema:
  22057. $ref: '#/definitions/app.Response'
  22058. security:
  22059. - ApiKeyAuth: []
  22060. summary: 查询交易主体
  22061. tags:
  22062. - 企业风险管理v3(app)
  22063. /Ermcp3/QueryPaTradeLink:
  22064. get:
  22065. description: 页面 app 现货->期现关联->期现单据关联
  22066. parameters:
  22067. - description: 用户ID
  22068. in: query
  22069. name: userid
  22070. required: true
  22071. type: integer
  22072. produces:
  22073. - application/json
  22074. responses:
  22075. "200":
  22076. description: OK
  22077. schema:
  22078. items:
  22079. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  22080. type: array
  22081. "500":
  22082. description: Internal Server Error
  22083. schema:
  22084. $ref: '#/definitions/app.Response'
  22085. security:
  22086. - ApiKeyAuth: []
  22087. summary: 查询期现单据关联
  22088. tags:
  22089. - 企业风险管理v3(app)
  22090. /Ermcp3/QueryPaTradeLinkDetail:
  22091. get:
  22092. description: 页面 app 现货->期现关联->关联记录
  22093. parameters:
  22094. - description: 用户ID(填登录用户的userid)
  22095. in: query
  22096. name: userid
  22097. required: true
  22098. type: integer
  22099. - description: 关联状态 1:成功 2:失败 3:解绑
  22100. in: query
  22101. name: linkstatus
  22102. type: integer
  22103. - description: 期货订单号(模糊匹配)
  22104. in: query
  22105. name: tradeid
  22106. type: string
  22107. - description: 现货编号(模糊匹配)
  22108. in: query
  22109. name: contractno
  22110. type: string
  22111. - description: 期货账户(模糊匹配)
  22112. in: query
  22113. name: taname
  22114. type: string
  22115. produces:
  22116. - application/json
  22117. responses:
  22118. "200":
  22119. description: OK
  22120. schema:
  22121. items:
  22122. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  22123. type: array
  22124. "500":
  22125. description: Internal Server Error
  22126. schema:
  22127. $ref: '#/definitions/app.Response'
  22128. security:
  22129. - ApiKeyAuth: []
  22130. summary: 查询期现关联记录
  22131. tags:
  22132. - 企业风险管理v3(app)
  22133. /Ermcp3/QueryParamChangeApp:
  22134. get:
  22135. description: |-
  22136. 原型页面:
  22137. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  22138. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  22139. parameters:
  22140. - description: 用户ID
  22141. in: query
  22142. name: userid
  22143. required: true
  22144. type: integer
  22145. - description: 现货品种id
  22146. in: query
  22147. name: deliverygoodsid
  22148. type: integer
  22149. - description: 现货商品id
  22150. in: query
  22151. name: wrstandardid
  22152. type: integer
  22153. - description: 套保商品id
  22154. in: query
  22155. name: middlegoodsid
  22156. type: integer
  22157. - description: 操作类型 1:新增 2:修改
  22158. in: query
  22159. name: operatetype
  22160. type: integer
  22161. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  22162. in: query
  22163. name: paramchangetype
  22164. type: integer
  22165. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22166. in: query
  22167. name: ftstatus
  22168. type: string
  22169. produces:
  22170. - application/json
  22171. responses:
  22172. "200":
  22173. description: OK
  22174. schema:
  22175. items:
  22176. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  22177. type: array
  22178. "500":
  22179. description: Internal Server Error
  22180. schema:
  22181. $ref: '#/definitions/app.Response'
  22182. security:
  22183. - ApiKeyAuth: []
  22184. summary: 查询现货商品参数变更申请(流水)
  22185. tags:
  22186. - 企业风险管理v3(app)
  22187. /Ermcp3/QueryRootUserAccount:
  22188. get:
  22189. parameters:
  22190. - description: 用户ID
  22191. in: query
  22192. name: userid
  22193. required: true
  22194. type: integer
  22195. produces:
  22196. - application/json
  22197. responses:
  22198. "200":
  22199. description: OK
  22200. schema:
  22201. items:
  22202. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  22203. type: array
  22204. "500":
  22205. description: Internal Server Error
  22206. schema:
  22207. $ref: '#/definitions/app.Response'
  22208. security:
  22209. - ApiKeyAuth: []
  22210. summary: 查询顶级用户信息
  22211. tags:
  22212. - 企业风险管理v3(app)
  22213. /Ermcp3/QuerySCMiddleGoods:
  22214. get:
  22215. description: |-
  22216. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  22217. 现货编号 即 合同编号
  22218. parameters:
  22219. - description: 用户ID(填登录用户的userid)
  22220. in: query
  22221. name: userid
  22222. required: true
  22223. type: integer
  22224. - description: 买卖方向 0-买 1-卖
  22225. in: query
  22226. name: buyorsell
  22227. required: true
  22228. type: integer
  22229. - description: 商品组id
  22230. in: query
  22231. name: goodsgroupid
  22232. required: true
  22233. type: integer
  22234. - description: 业务类型 1:套保 2:套利
  22235. in: query
  22236. name: biztype
  22237. type: integer
  22238. - description: 现货编号(模糊匹配)
  22239. in: query
  22240. name: contractno
  22241. type: string
  22242. - description: 对手方(模糊匹配)
  22243. in: query
  22244. name: customername
  22245. type: string
  22246. - description: 现货商品名称(模糊匹配)
  22247. in: query
  22248. name: wrstandardname
  22249. type: string
  22250. produces:
  22251. - application/json
  22252. responses:
  22253. "200":
  22254. description: OK
  22255. schema:
  22256. items:
  22257. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  22258. type: array
  22259. "500":
  22260. description: Internal Server Error
  22261. schema:
  22262. $ref: '#/definitions/app.Response'
  22263. security:
  22264. - ApiKeyAuth: []
  22265. summary: 查询现货订单
  22266. tags:
  22267. - 企业风险管理v3(app)
  22268. /Ermcp3/QuerySpotContract:
  22269. get:
  22270. parameters:
  22271. - description: 用户id(当指定contractid, userid可不填)
  22272. in: query
  22273. name: userid
  22274. required: true
  22275. type: integer
  22276. - description: 用户类型 2-机构 7-企业成员
  22277. in: query
  22278. name: usertype
  22279. type: integer
  22280. - description: 合同类型 1-采购, -1-销售
  22281. in: query
  22282. name: contracttype
  22283. type: integer
  22284. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  22285. in: query
  22286. name: querytype
  22287. type: string
  22288. - description: 合同ID(SpotContractId)
  22289. in: query
  22290. name: contractid
  22291. type: string
  22292. - description: 合同编号(模糊匹配)
  22293. in: query
  22294. name: contractno
  22295. type: string
  22296. - description: 商品名称(模糊匹配)
  22297. in: query
  22298. name: wrstandardname
  22299. type: string
  22300. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22301. in: query
  22302. name: status
  22303. type: string
  22304. - description: 是否只查今日的合同 1-查今日合同
  22305. in: query
  22306. name: istoday
  22307. type: integer
  22308. produces:
  22309. - application/json
  22310. responses:
  22311. "200":
  22312. description: OK
  22313. schema:
  22314. items:
  22315. $ref: '#/definitions/models.Ermcp3Contract'
  22316. type: array
  22317. "500":
  22318. description: Internal Server Error
  22319. schema:
  22320. $ref: '#/definitions/app.Response'
  22321. security:
  22322. - ApiKeyAuth: []
  22323. summary: 查询现货合同
  22324. tags:
  22325. - 企业风险管理v3(app)
  22326. /Ermcp3/QuerySpotContractBS:
  22327. get:
  22328. parameters:
  22329. - description: 用户id
  22330. in: query
  22331. name: userid
  22332. required: true
  22333. type: integer
  22334. - description: 用户类型 2-机构 7-企业成员
  22335. in: query
  22336. name: usertype
  22337. type: integer
  22338. - description: 合同类型 1-采购, -1-销售
  22339. in: query
  22340. name: contracttype
  22341. required: true
  22342. type: integer
  22343. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  22344. in: query
  22345. name: querytype
  22346. required: true
  22347. type: integer
  22348. - description: 合同ID(SpotContractId)
  22349. in: query
  22350. name: contractid
  22351. type: string
  22352. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22353. in: query
  22354. name: status
  22355. type: string
  22356. - description: 是否只查今日的合同 1-查今日合同
  22357. in: query
  22358. name: istoday
  22359. type: integer
  22360. produces:
  22361. - application/json
  22362. responses:
  22363. "200":
  22364. description: OK
  22365. schema:
  22366. items:
  22367. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  22368. type: array
  22369. "500":
  22370. description: Internal Server Error
  22371. schema:
  22372. $ref: '#/definitions/app.Response'
  22373. security:
  22374. - ApiKeyAuth: []
  22375. summary: 查询合同(采购/销售)
  22376. tags:
  22377. - 企业风险管理v3(app)
  22378. /Ermcp3/QuerySpotGoodsPrice:
  22379. get:
  22380. parameters:
  22381. - description: 用户ID
  22382. in: query
  22383. name: userid
  22384. required: true
  22385. type: integer
  22386. produces:
  22387. - application/json
  22388. responses:
  22389. "200":
  22390. description: OK
  22391. schema:
  22392. items:
  22393. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  22394. type: array
  22395. "500":
  22396. description: Internal Server Error
  22397. schema:
  22398. $ref: '#/definitions/app.Response'
  22399. security:
  22400. - ApiKeyAuth: []
  22401. summary: 查询现货市价(现货市价)
  22402. tags:
  22403. - 企业风险管理v3(app)
  22404. /Ermcp3/QuerySpotGoodsPriceLog:
  22405. get:
  22406. parameters:
  22407. - description: 用户ID
  22408. in: query
  22409. name: userid
  22410. required: true
  22411. type: integer
  22412. - description: 现货商品ID
  22413. in: query
  22414. name: deliverygoodsid
  22415. required: true
  22416. type: integer
  22417. - description: 品牌ID
  22418. in: query
  22419. name: brandid
  22420. type: integer
  22421. - description: 品类ID
  22422. in: query
  22423. name: wrstandardid
  22424. type: integer
  22425. produces:
  22426. - application/json
  22427. responses:
  22428. "200":
  22429. description: OK
  22430. schema:
  22431. items:
  22432. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  22433. type: array
  22434. "500":
  22435. description: Internal Server Error
  22436. schema:
  22437. $ref: '#/definitions/app.Response'
  22438. security:
  22439. - ApiKeyAuth: []
  22440. summary: 查询现货市价详情(现货市价/详情)
  22441. tags:
  22442. - 企业风险管理v3(app)
  22443. /Ermcp3/QuerySubTaaccount:
  22444. get:
  22445. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  22446. parameters:
  22447. - description: 母账号id
  22448. in: query
  22449. name: parentaccountid
  22450. type: integer
  22451. - description: 母账号代码
  22452. in: query
  22453. name: parentaccountcode
  22454. type: string
  22455. produces:
  22456. - application/json
  22457. responses:
  22458. "200":
  22459. description: OK
  22460. schema:
  22461. items:
  22462. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  22463. type: array
  22464. "500":
  22465. description: Internal Server Error
  22466. schema:
  22467. $ref: '#/definitions/app.Response'
  22468. security:
  22469. - ApiKeyAuth: []
  22470. summary: 查询期货子账户
  22471. tags:
  22472. - 企业风险管理v3(app)
  22473. /Erms2/QueryArbitrageStrategy:
  22474. get:
  22475. parameters:
  22476. - description: 账户ID
  22477. in: query
  22478. name: userid
  22479. required: true
  22480. type: integer
  22481. - description: 商品组ID(品种ID)
  22482. in: query
  22483. name: goodsgroupid
  22484. type: string
  22485. produces:
  22486. - application/json
  22487. responses:
  22488. "200":
  22489. description: OK
  22490. schema:
  22491. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  22492. "500":
  22493. description: Internal Server Error
  22494. schema:
  22495. $ref: '#/definitions/app.Response'
  22496. security:
  22497. - ApiKeyAuth: []
  22498. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  22499. tags:
  22500. - 风险管理
  22501. /Erms2/QueryInnerTradeDetail:
  22502. get:
  22503. parameters:
  22504. - description: 资金账户
  22505. in: query
  22506. name: accountid
  22507. required: true
  22508. type: integer
  22509. produces:
  22510. - application/json
  22511. responses:
  22512. "200":
  22513. description: OK
  22514. schema:
  22515. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  22516. "500":
  22517. description: Internal Server Error
  22518. schema:
  22519. $ref: '#/definitions/app.Response'
  22520. security:
  22521. - ApiKeyAuth: []
  22522. summary: 查询内部成交单信息
  22523. tags:
  22524. - 风险管理
  22525. /Erms2/QuerySpotContract:
  22526. get:
  22527. parameters:
  22528. - description: 策略申请ID
  22529. in: query
  22530. name: asapplyid
  22531. required: true
  22532. type: integer
  22533. - description: 现货合同ID
  22534. in: query
  22535. name: spotcontractid
  22536. type: integer
  22537. produces:
  22538. - application/json
  22539. responses:
  22540. "200":
  22541. description: OK
  22542. schema:
  22543. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  22544. "500":
  22545. description: Internal Server Error
  22546. schema:
  22547. $ref: '#/definitions/app.Response'
  22548. security:
  22549. - ApiKeyAuth: []
  22550. summary: 查询现货合同表信息(指定策略ID、未结束的)
  22551. tags:
  22552. - 风险管理
  22553. /Erms3/AddErms2ASApply:
  22554. post:
  22555. parameters:
  22556. - description: 申请参数
  22557. in: body
  22558. name: jsonBody
  22559. required: true
  22560. schema:
  22561. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  22562. produces:
  22563. - application/json
  22564. responses:
  22565. "200":
  22566. description: OK
  22567. schema:
  22568. $ref: '#/definitions/app.Response'
  22569. "500":
  22570. description: Internal Server Error
  22571. schema:
  22572. $ref: '#/definitions/app.Response'
  22573. security:
  22574. - ApiKeyAuth: []
  22575. summary: 新增期现套利业务申请
  22576. tags:
  22577. - 风险管理v3
  22578. /Erms3/AddErms2SpotTradeApply:
  22579. post:
  22580. parameters:
  22581. - description: 申请参数
  22582. in: body
  22583. name: jsonBody
  22584. required: true
  22585. schema:
  22586. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  22587. produces:
  22588. - application/json
  22589. responses:
  22590. "200":
  22591. description: OK
  22592. schema:
  22593. $ref: '#/definitions/app.Response'
  22594. "500":
  22595. description: Internal Server Error
  22596. schema:
  22597. $ref: '#/definitions/app.Response'
  22598. security:
  22599. - ApiKeyAuth: []
  22600. summary: 新增现货贸易业务申请
  22601. tags:
  22602. - 风险管理v3
  22603. /Erms3/AddSpotContractApply:
  22604. post:
  22605. parameters:
  22606. - description: 申请参数
  22607. in: body
  22608. name: jsonBody
  22609. required: true
  22610. schema:
  22611. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  22612. produces:
  22613. - application/json
  22614. responses:
  22615. "200":
  22616. description: OK
  22617. schema:
  22618. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  22619. "500":
  22620. description: Internal Server Error
  22621. schema:
  22622. $ref: '#/definitions/app.Response'
  22623. security:
  22624. - ApiKeyAuth: []
  22625. summary: 新增现货合同申请
  22626. tags:
  22627. - 风险管理v3
  22628. /Erms3/AddUserInfoApply:
  22629. post:
  22630. parameters:
  22631. - description: 用户信息
  22632. in: body
  22633. name: jsonBody
  22634. required: true
  22635. schema:
  22636. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  22637. produces:
  22638. - application/json
  22639. responses:
  22640. "200":
  22641. description: OK
  22642. schema:
  22643. $ref: '#/definitions/app.Response'
  22644. "500":
  22645. description: Internal Server Error
  22646. schema:
  22647. $ref: '#/definitions/app.Response'
  22648. security:
  22649. - ApiKeyAuth: []
  22650. summary: 新增客户申请
  22651. tags:
  22652. - 风险管理v3
  22653. /Erms3/DeleteUserInfoApply:
  22654. get:
  22655. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  22656. parameters:
  22657. - description: 用户ID
  22658. in: query
  22659. name: userID
  22660. required: true
  22661. type: integer
  22662. produces:
  22663. - application/json
  22664. responses:
  22665. "200":
  22666. description: OK
  22667. schema:
  22668. $ref: '#/definitions/app.Response'
  22669. "500":
  22670. description: Internal Server Error
  22671. schema:
  22672. $ref: '#/definitions/app.Response'
  22673. security:
  22674. - ApiKeyAuth: []
  22675. summary: 删除客户申请
  22676. tags:
  22677. - 风险管理v3
  22678. /Erms3/ModifyUserInfoApply:
  22679. post:
  22680. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid": int, "userstate": 2 }'
  22681. parameters:
  22682. - description: 用户信息
  22683. in: body
  22684. name: jsonBody
  22685. required: true
  22686. schema:
  22687. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  22688. produces:
  22689. - application/json
  22690. responses:
  22691. "200":
  22692. description: OK
  22693. schema:
  22694. $ref: '#/definitions/app.Response'
  22695. "500":
  22696. description: Internal Server Error
  22697. schema:
  22698. $ref: '#/definitions/app.Response'
  22699. security:
  22700. - ApiKeyAuth: []
  22701. summary: 修改客户申请
  22702. tags:
  22703. - 风险管理v3
  22704. /Erms3/QueryBusinessInfo:
  22705. get:
  22706. parameters:
  22707. - description: 资金账号ID列表,用逗号分隔
  22708. in: query
  22709. name: accountids
  22710. required: true
  22711. type: string
  22712. - description: 状态,0为未结束 1为已结束
  22713. in: query
  22714. name: status
  22715. required: true
  22716. type: integer
  22717. produces:
  22718. - application/json
  22719. responses:
  22720. "200":
  22721. description: OK
  22722. schema:
  22723. items:
  22724. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  22725. type: array
  22726. "500":
  22727. description: Internal Server Error
  22728. schema:
  22729. $ref: '#/definitions/app.Response'
  22730. security:
  22731. - ApiKeyAuth: []
  22732. summary: 查询业务表单数据
  22733. tags:
  22734. - 风险管理v3
  22735. /Erms3/QueryPendingAuditContract:
  22736. get:
  22737. parameters:
  22738. - description: 资金账号ID列表,逗号隔开
  22739. in: query
  22740. name: accountids
  22741. required: true
  22742. type: string
  22743. - description: 合同类型 1-采购 -1-销售
  22744. in: query
  22745. name: contracttype
  22746. required: true
  22747. type: integer
  22748. - description: 合同模式 1-普通 2-回购
  22749. in: query
  22750. name: contractmode
  22751. required: true
  22752. type: integer
  22753. produces:
  22754. - application/json
  22755. responses:
  22756. "200":
  22757. description: OK
  22758. schema:
  22759. items:
  22760. $ref: '#/definitions/erms3.QryAuditContractRsp'
  22761. type: array
  22762. "500":
  22763. description: Internal Server Error
  22764. schema:
  22765. $ref: '#/definitions/app.Response'
  22766. security:
  22767. - ApiKeyAuth: []
  22768. summary: 查询待审核合同
  22769. tags:
  22770. - 风险管理v3
  22771. /Erms3/QueryPendingBusiness:
  22772. get:
  22773. parameters:
  22774. - description: 资金账号ID列表,逗号隔开
  22775. in: query
  22776. name: accountids
  22777. required: true
  22778. type: string
  22779. produces:
  22780. - application/json
  22781. responses:
  22782. "200":
  22783. description: OK
  22784. schema:
  22785. items:
  22786. $ref: '#/definitions/erms3.QryPendingBizRsp'
  22787. type: array
  22788. "500":
  22789. description: Internal Server Error
  22790. schema:
  22791. $ref: '#/definitions/app.Response'
  22792. security:
  22793. - ApiKeyAuth: []
  22794. summary: 查询待审核基差贸易业务
  22795. tags:
  22796. - 风险管理v3
  22797. /Erms3/QuerySpotContractAppleForm:
  22798. get:
  22799. parameters:
  22800. - description: 登录账号
  22801. in: query
  22802. name: loginID
  22803. required: true
  22804. type: integer
  22805. produces:
  22806. - application/json
  22807. responses:
  22808. "200":
  22809. description: OK
  22810. schema:
  22811. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  22812. "500":
  22813. description: Internal Server Error
  22814. schema:
  22815. $ref: '#/definitions/app.Response'
  22816. security:
  22817. - ApiKeyAuth: []
  22818. summary: 查询合同申请表单数据
  22819. tags:
  22820. - 风险管理v3
  22821. /Erms3/QuerySpotContractDetail:
  22822. get:
  22823. parameters:
  22824. - description: 资金账号ID列表,用逗号分隔
  22825. in: query
  22826. name: accountids
  22827. required: true
  22828. type: string
  22829. - description: 合同类型,1为采购合同 -1为销售合同
  22830. in: query
  22831. name: contracttype
  22832. required: true
  22833. type: integer
  22834. - description: 合同模式,1为普通合同 2为回购销售合同
  22835. in: query
  22836. name: contractmode
  22837. required: true
  22838. type: integer
  22839. - description: 状态,0为履约中 1为已完成
  22840. in: query
  22841. name: status
  22842. required: true
  22843. type: integer
  22844. produces:
  22845. - application/json
  22846. responses:
  22847. "200":
  22848. description: OK
  22849. schema:
  22850. items:
  22851. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  22852. type: array
  22853. "500":
  22854. description: Internal Server Error
  22855. schema:
  22856. $ref: '#/definitions/app.Response'
  22857. security:
  22858. - ApiKeyAuth: []
  22859. summary: 查询合同详细信息
  22860. tags:
  22861. - 风险管理v3
  22862. /Erms3/QueryUserInfoApplies:
  22863. get:
  22864. parameters:
  22865. - description: 页码
  22866. in: query
  22867. name: page
  22868. type: integer
  22869. - description: 每页条数
  22870. in: query
  22871. name: pagesize
  22872. type: integer
  22873. - description: 客户名称,支持模糊查询
  22874. in: query
  22875. name: userName
  22876. type: string
  22877. produces:
  22878. - application/json
  22879. responses:
  22880. "200":
  22881. description: OK
  22882. schema:
  22883. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  22884. "500":
  22885. description: Internal Server Error
  22886. schema:
  22887. $ref: '#/definitions/app.Response'
  22888. security:
  22889. - ApiKeyAuth: []
  22890. summary: 客户申请信息查询
  22891. tags:
  22892. - 风险管理v3
  22893. /Erms3/QueryUserInfos:
  22894. get:
  22895. parameters:
  22896. - description: 页码
  22897. in: query
  22898. name: page
  22899. type: integer
  22900. - description: 每页条数
  22901. in: query
  22902. name: pagesize
  22903. type: integer
  22904. - description: 客户名称,支持模糊查询
  22905. in: query
  22906. name: userName
  22907. type: string
  22908. produces:
  22909. - application/json
  22910. responses:
  22911. "200":
  22912. description: OK
  22913. schema:
  22914. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  22915. "500":
  22916. description: Internal Server Error
  22917. schema:
  22918. $ref: '#/definitions/app.Response'
  22919. security:
  22920. - ApiKeyAuth: []
  22921. summary: 客户信息查询
  22922. tags:
  22923. - 风险管理v3
  22924. /HSBY/GetHsbyMyCount:
  22925. get:
  22926. description: 说明: 不包括已完成的数量。
  22927. parameters:
  22928. - description: 资金账户列表,格式:1,2,3
  22929. in: query
  22930. name: accountIDs
  22931. required: true
  22932. type: string
  22933. produces:
  22934. - application/json
  22935. responses:
  22936. "200":
  22937. description: OK
  22938. schema:
  22939. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  22940. "500":
  22941. description: Internal Server Error
  22942. schema:
  22943. $ref: '#/definitions/app.Response'
  22944. security:
  22945. - ApiKeyAuth: []
  22946. summary: 获取我的订单与包裹数量
  22947. tags:
  22948. - 定制【海商报业】
  22949. /HSBY/QueryClientFixedADConfigs:
  22950. get:
  22951. produces:
  22952. - application/json
  22953. responses:
  22954. "200":
  22955. description: OK
  22956. schema:
  22957. $ref: '#/definitions/models.Clientfixedadconfig'
  22958. "500":
  22959. description: Internal Server Error
  22960. schema:
  22961. $ref: '#/definitions/app.Response'
  22962. security:
  22963. - ApiKeyAuth: []
  22964. summary: 获取终端固定广告配置
  22965. tags:
  22966. - 定制【海商报业】
  22967. /HSBY/QueryHsbyBuyMyTradeDetail:
  22968. get:
  22969. parameters:
  22970. - description: 页码
  22971. in: query
  22972. name: page
  22973. type: integer
  22974. - description: 每页条数
  22975. in: query
  22976. name: pagesize
  22977. type: integer
  22978. - description: 资金账户列表,格式:1,2,3
  22979. in: query
  22980. name: accountIDs
  22981. required: true
  22982. type: string
  22983. produces:
  22984. - application/json
  22985. responses:
  22986. "200":
  22987. description: OK
  22988. schema:
  22989. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  22990. "500":
  22991. description: Internal Server Error
  22992. schema:
  22993. $ref: '#/definitions/app.Response'
  22994. security:
  22995. - ApiKeyAuth: []
  22996. summary: 查询"我的订单 - 已完成"单据信息
  22997. tags:
  22998. - 定制【海商报业】
  22999. /HSBY/QueryHsbyGoodsOrderDetails:
  23000. get:
  23001. description: 说明:查询结果已按委托价格和委托时间排序
  23002. parameters:
  23003. - description: 商品ID
  23004. in: query
  23005. name: goodsID
  23006. required: true
  23007. type: integer
  23008. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  23009. in: query
  23010. name: accountIDs
  23011. type: string
  23012. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  23013. in: query
  23014. name: buyOrSell
  23015. type: integer
  23016. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  23017. in: query
  23018. name: price
  23019. type: number
  23020. - description: 档位,不传则默认为3档
  23021. in: query
  23022. name: speed
  23023. type: integer
  23024. produces:
  23025. - application/json
  23026. responses:
  23027. "200":
  23028. description: OK
  23029. schema:
  23030. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  23031. "500":
  23032. description: Internal Server Error
  23033. schema:
  23034. $ref: '#/definitions/app.Response'
  23035. security:
  23036. - ApiKeyAuth: []
  23037. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  23038. tags:
  23039. - 定制【海商报业】
  23040. /HSBY/QueryHsbyListingGoodsDetail:
  23041. get:
  23042. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  23043. parameters:
  23044. - description: 商品ID
  23045. in: query
  23046. name: goodsID
  23047. required: true
  23048. type: integer
  23049. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  23050. in: query
  23051. name: accountID
  23052. type: integer
  23053. produces:
  23054. - application/json
  23055. responses:
  23056. "200":
  23057. description: OK
  23058. schema:
  23059. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  23060. "500":
  23061. description: Internal Server Error
  23062. schema:
  23063. $ref: '#/definitions/app.Response'
  23064. security:
  23065. - ApiKeyAuth: []
  23066. summary: 查询二级市场(挂牌点选)商品信息详情
  23067. tags:
  23068. - 定制【海商报业】
  23069. /HSBY/QueryHsbyMarketGoodsDetail:
  23070. get:
  23071. parameters:
  23072. - description: 委托单号
  23073. in: query
  23074. name: orderID
  23075. required: true
  23076. type: integer
  23077. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  23078. in: query
  23079. name: accountID
  23080. type: integer
  23081. produces:
  23082. - application/json
  23083. responses:
  23084. "200":
  23085. description: OK
  23086. schema:
  23087. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  23088. "500":
  23089. description: Internal Server Error
  23090. schema:
  23091. $ref: '#/definitions/app.Response'
  23092. security:
  23093. - ApiKeyAuth: []
  23094. summary: 查询三级市场(商城)商品信息详情
  23095. tags:
  23096. - 定制【海商报业】
  23097. /HSBY/QueryHsbyMarketGoodses:
  23098. get:
  23099. parameters:
  23100. - description: 页码
  23101. in: query
  23102. name: page
  23103. type: integer
  23104. - description: 每页条数
  23105. in: query
  23106. name: pagesize
  23107. type: integer
  23108. - description: 市场ID列表,格式:1,2,3
  23109. in: query
  23110. name: marketIDs
  23111. required: true
  23112. type: string
  23113. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  23114. in: query
  23115. name: accountID
  23116. required: true
  23117. type: integer
  23118. - description: 类别ID
  23119. in: query
  23120. name: categoryID
  23121. type: integer
  23122. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  23123. in: query
  23124. name: goodsIDs
  23125. type: string
  23126. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  23127. in: query
  23128. name: couponTypeID
  23129. type: integer
  23130. produces:
  23131. - application/json
  23132. responses:
  23133. "200":
  23134. description: OK
  23135. schema:
  23136. $ref: '#/definitions/models.HsbyMarketGoods'
  23137. "500":
  23138. description: Internal Server Error
  23139. schema:
  23140. $ref: '#/definitions/app.Response'
  23141. security:
  23142. - ApiKeyAuth: []
  23143. summary: 查询特卖商品列表(三级商城)
  23144. tags:
  23145. - 定制【海商报业】
  23146. /HSBY/QueryHsbyMarkets:
  23147. get:
  23148. produces:
  23149. - application/json
  23150. responses:
  23151. "200":
  23152. description: OK
  23153. schema:
  23154. $ref: '#/definitions/models.HsbyMarketInfo'
  23155. "500":
  23156. description: Internal Server Error
  23157. schema:
  23158. $ref: '#/definitions/app.Response'
  23159. security:
  23160. - ApiKeyAuth: []
  23161. summary: 查询海商报业相关市场信息
  23162. tags:
  23163. - 定制【海商报业】
  23164. /HSBY/QueryHsbyMyBuyOrderDetails:
  23165. get:
  23166. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  23167. parameters:
  23168. - description: 资金账户列表,格式:1,2,3
  23169. in: query
  23170. name: accountIDs
  23171. required: true
  23172. type: string
  23173. produces:
  23174. - application/json
  23175. responses:
  23176. "200":
  23177. description: OK
  23178. schema:
  23179. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  23180. "500":
  23181. description: Internal Server Error
  23182. schema:
  23183. $ref: '#/definitions/app.Response'
  23184. security:
  23185. - ApiKeyAuth: []
  23186. summary: 查询“我的订单”信息
  23187. tags:
  23188. - 定制【海商报业】
  23189. /HSBY/QueryHsbyMyGoods:
  23190. get:
  23191. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  23192. parameters:
  23193. - description: 资金账户列表,格式:1,2,3
  23194. in: query
  23195. name: accountIDs
  23196. required: true
  23197. type: string
  23198. produces:
  23199. - application/json
  23200. responses:
  23201. "200":
  23202. description: OK
  23203. schema:
  23204. $ref: '#/definitions/models.HsbyMyGoods'
  23205. "500":
  23206. description: Internal Server Error
  23207. schema:
  23208. $ref: '#/definitions/app.Response'
  23209. security:
  23210. - ApiKeyAuth: []
  23211. summary: 查询“我的商品”信息
  23212. tags:
  23213. - 定制【海商报业】
  23214. /HSBY/QueryHsbyMyPackages:
  23215. get:
  23216. parameters:
  23217. - description: 资金账户列表,格式:1,2,3
  23218. in: query
  23219. name: accountIDs
  23220. required: true
  23221. type: string
  23222. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  23223. in: query
  23224. name: takeOrderStatus
  23225. type: integer
  23226. produces:
  23227. - application/json
  23228. responses:
  23229. "200":
  23230. description: OK
  23231. schema:
  23232. $ref: '#/definitions/models.HsbyMyPackage'
  23233. "500":
  23234. description: Internal Server Error
  23235. schema:
  23236. $ref: '#/definitions/app.Response'
  23237. security:
  23238. - ApiKeyAuth: []
  23239. summary: 查询我的包裹信息
  23240. tags:
  23241. - 定制【海商报业】
  23242. /HSBY/QueryHsbyPreGoodsDetail:
  23243. get:
  23244. parameters:
  23245. - description: 商品ID
  23246. in: query
  23247. name: goodsID
  23248. required: true
  23249. type: integer
  23250. - description: 资金账户,主要用于获取预售商品购买上限
  23251. in: query
  23252. name: accountID
  23253. type: integer
  23254. produces:
  23255. - application/json
  23256. responses:
  23257. "200":
  23258. description: OK
  23259. schema:
  23260. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  23261. "500":
  23262. description: Internal Server Error
  23263. schema:
  23264. $ref: '#/definitions/app.Response'
  23265. security:
  23266. - ApiKeyAuth: []
  23267. summary: 查询一级市场(预售)商品信息详情
  23268. tags:
  23269. - 定制【海商报业】
  23270. /HSBY/QueryHsbyPreGoodses:
  23271. get:
  23272. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  23273. parameters:
  23274. - description: 页码
  23275. in: query
  23276. name: page
  23277. type: integer
  23278. - description: 每页条数
  23279. in: query
  23280. name: pagesize
  23281. type: integer
  23282. - description: 市场ID列表,格式:1,2,3
  23283. in: query
  23284. name: marketIDs
  23285. required: true
  23286. type: string
  23287. - description: 目的地(省)ID
  23288. in: query
  23289. name: descProvinceID
  23290. type: integer
  23291. - description: 目的地(市)ID
  23292. in: query
  23293. name: descCityID
  23294. type: integer
  23295. produces:
  23296. - application/json
  23297. responses:
  23298. "200":
  23299. description: OK
  23300. schema:
  23301. $ref: '#/definitions/models.HsbyPreGoods'
  23302. "500":
  23303. description: Internal Server Error
  23304. schema:
  23305. $ref: '#/definitions/app.Response'
  23306. security:
  23307. - ApiKeyAuth: []
  23308. summary: 查询新品上市商品列表(一级市场预售)
  23309. tags:
  23310. - 定制【海商报业】
  23311. /HSBY/QueryHsbySellMyDetails:
  23312. get:
  23313. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  23314. parameters:
  23315. - description: 页码
  23316. in: query
  23317. name: page
  23318. type: integer
  23319. - description: 每页条数
  23320. in: query
  23321. name: pagesize
  23322. type: integer
  23323. - description: 资金账户列表,格式:1,2,3
  23324. in: query
  23325. name: accountIDs
  23326. required: true
  23327. type: string
  23328. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  23329. in: query
  23330. name: orderType
  23331. type: integer
  23332. produces:
  23333. - application/json
  23334. responses:
  23335. "200":
  23336. description: OK
  23337. schema:
  23338. $ref: '#/definitions/models.HsbySellMyDetail'
  23339. "500":
  23340. description: Internal Server Error
  23341. schema:
  23342. $ref: '#/definitions/app.Response'
  23343. security:
  23344. - ApiKeyAuth: []
  23345. summary: 查询"我的闲置"单据信息
  23346. tags:
  23347. - 定制【海商报业】
  23348. /HSBY/QueryHsbyTopGoodses:
  23349. get:
  23350. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  23351. parameters:
  23352. - description: 页码
  23353. in: query
  23354. name: page
  23355. type: integer
  23356. - description: 每页条数
  23357. in: query
  23358. name: pagesize
  23359. type: integer
  23360. - description: 市场ID列表,格式:1,2,3
  23361. in: query
  23362. name: marketIDs
  23363. required: true
  23364. type: string
  23365. - description: 目的地(省)ID
  23366. in: query
  23367. name: descProvinceID
  23368. type: integer
  23369. - description: 目的地(市)ID
  23370. in: query
  23371. name: descCityID
  23372. type: integer
  23373. produces:
  23374. - application/json
  23375. responses:
  23376. "200":
  23377. description: OK
  23378. schema:
  23379. $ref: '#/definitions/models.HsbyTopGoods'
  23380. "500":
  23381. description: Internal Server Error
  23382. schema:
  23383. $ref: '#/definitions/app.Response'
  23384. security:
  23385. - ApiKeyAuth: []
  23386. summary: 查询热卖商品列表(二级市场挂牌点选)
  23387. tags:
  23388. - 定制【海商报业】
  23389. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  23390. get:
  23391. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  23392. parameters:
  23393. - description: 商品ID
  23394. in: query
  23395. name: goodsID
  23396. required: true
  23397. type: integer
  23398. produces:
  23399. - application/json
  23400. responses:
  23401. "200":
  23402. description: OK
  23403. schema:
  23404. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  23405. "500":
  23406. description: Internal Server Error
  23407. schema:
  23408. $ref: '#/definitions/app.Response'
  23409. security:
  23410. - ApiKeyAuth: []
  23411. summary: 查询游客三级市场(商城)商品信息详情
  23412. tags:
  23413. - 定制【海商报业】
  23414. /HSBY/QueryHsbyVisitorMarketGoodses:
  23415. get:
  23416. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  23417. parameters:
  23418. - description: 页码
  23419. in: query
  23420. name: page
  23421. type: integer
  23422. - description: 每页条数
  23423. in: query
  23424. name: pagesize
  23425. type: integer
  23426. - description: 市场ID列表,格式:1,2,3
  23427. in: query
  23428. name: marketIDs
  23429. required: true
  23430. type: string
  23431. - description: 类别ID
  23432. in: query
  23433. name: categoryID
  23434. type: integer
  23435. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  23436. in: query
  23437. name: goodsIDs
  23438. type: string
  23439. produces:
  23440. - application/json
  23441. responses:
  23442. "200":
  23443. description: OK
  23444. schema:
  23445. $ref: '#/definitions/models.HsbyMarketGoods'
  23446. "500":
  23447. description: Internal Server Error
  23448. schema:
  23449. $ref: '#/definitions/app.Response'
  23450. security:
  23451. - ApiKeyAuth: []
  23452. summary: 查询游客特卖商品列表(三级商城)
  23453. tags:
  23454. - 定制【海商报业】
  23455. /HSBY/QueryMyCollectionOrders:
  23456. get:
  23457. parameters:
  23458. - description: 页码
  23459. in: query
  23460. name: page
  23461. type: integer
  23462. - description: 每页条数
  23463. in: query
  23464. name: pagesize
  23465. type: integer
  23466. - description: 资金账户,格式:1,2,3
  23467. in: query
  23468. name: accountIDs
  23469. required: true
  23470. type: string
  23471. produces:
  23472. - application/json
  23473. responses:
  23474. "200":
  23475. description: OK
  23476. schema:
  23477. $ref: '#/definitions/models.HsbySellCollectionOrder'
  23478. "500":
  23479. description: Internal Server Error
  23480. schema:
  23481. $ref: '#/definitions/app.Response'
  23482. security:
  23483. - ApiKeyAuth: []
  23484. summary: 我的闲置中收款信息查询
  23485. tags:
  23486. - 定制【海商报业】
  23487. /HSBY/QueryMyCouponHolds:
  23488. get:
  23489. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  23490. parameters:
  23491. - description: 资金账户列表,格式:1,2,3
  23492. in: query
  23493. name: accountIDs
  23494. required: true
  23495. type: string
  23496. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  23497. in: query
  23498. name: holdStatus
  23499. type: string
  23500. produces:
  23501. - application/json
  23502. responses:
  23503. "200":
  23504. description: OK
  23505. schema:
  23506. $ref: '#/definitions/models.MyCouponHold'
  23507. "500":
  23508. description: Internal Server Error
  23509. schema:
  23510. $ref: '#/definitions/app.Response'
  23511. security:
  23512. - ApiKeyAuth: []
  23513. summary: 我的优惠卷持仓查询
  23514. tags:
  23515. - 定制【海商报业】
  23516. /HSBY/QueryMyCoupons:
  23517. get:
  23518. parameters:
  23519. - description: 资金账户列表,格式:1,2,3
  23520. in: query
  23521. name: accountIDs
  23522. required: true
  23523. type: string
  23524. - description: 商品ID, 一般与sellUserID配套传入
  23525. in: query
  23526. name: goodsID
  23527. type: integer
  23528. - description: 卖方UserID
  23529. in: query
  23530. name: sellUserID
  23531. type: integer
  23532. produces:
  23533. - application/json
  23534. responses:
  23535. "200":
  23536. description: OK
  23537. schema:
  23538. $ref: '#/definitions/models.MyCoupon'
  23539. "500":
  23540. description: Internal Server Error
  23541. schema:
  23542. $ref: '#/definitions/app.Response'
  23543. security:
  23544. - ApiKeyAuth: []
  23545. summary: 我的优惠卷查询
  23546. tags:
  23547. - 定制【海商报业】
  23548. /HSBY/QueryMyPayOrders:
  23549. get:
  23550. parameters:
  23551. - description: 页码
  23552. in: query
  23553. name: page
  23554. type: integer
  23555. - description: 每页条数
  23556. in: query
  23557. name: pagesize
  23558. type: integer
  23559. - description: 资金账户列表,格式:1,2,3
  23560. in: query
  23561. name: accountIDs
  23562. required: true
  23563. type: string
  23564. - description: 买方委托单号
  23565. in: query
  23566. name: buyOrderID
  23567. type: integer
  23568. - description: 卖方委托单号
  23569. in: query
  23570. name: sellOrderID
  23571. type: integer
  23572. produces:
  23573. - application/json
  23574. responses:
  23575. "200":
  23576. description: OK
  23577. schema:
  23578. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  23579. "500":
  23580. description: Internal Server Error
  23581. schema:
  23582. $ref: '#/definitions/app.Response'
  23583. security:
  23584. - ApiKeyAuth: []
  23585. summary: 获取我的订单中待付款信息
  23586. tags:
  23587. - 定制【海商报业】
  23588. /HSBY/QueryMyUsedCoupon:
  23589. get:
  23590. parameters:
  23591. - description: 资金账户列表,格式:1,2,3
  23592. in: query
  23593. name: accountIDs
  23594. required: true
  23595. type: string
  23596. produces:
  23597. - application/json
  23598. responses:
  23599. "200":
  23600. description: OK
  23601. schema:
  23602. $ref: '#/definitions/models.MyUsedCoupon'
  23603. "500":
  23604. description: Internal Server Error
  23605. schema:
  23606. $ref: '#/definitions/app.Response'
  23607. security:
  23608. - ApiKeyAuth: []
  23609. summary: 已使用优惠卷查询
  23610. tags:
  23611. - 定制【海商报业】
  23612. /HSBY/QueryProvincesAndCities:
  23613. get:
  23614. description: 查询结果只包括二级市场商品已关连的省市信息。
  23615. parameters:
  23616. - description: 省ID
  23617. in: query
  23618. name: provinceID
  23619. type: integer
  23620. produces:
  23621. - application/json
  23622. responses:
  23623. "200":
  23624. description: OK
  23625. schema:
  23626. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  23627. "500":
  23628. description: Internal Server Error
  23629. schema:
  23630. $ref: '#/definitions/app.Response'
  23631. security:
  23632. - ApiKeyAuth: []
  23633. summary: 查询省市信息(不包括区)
  23634. tags:
  23635. - 定制【海商报业】
  23636. /HSBY/SetHsbyMyPackagesStatus:
  23637. post:
  23638. parameters:
  23639. - description: 提货单号
  23640. in: query
  23641. name: takeOrderID
  23642. required: true
  23643. type: string
  23644. - description: 资金账号
  23645. in: query
  23646. name: accountID
  23647. required: true
  23648. type: integer
  23649. produces:
  23650. - application/json
  23651. responses:
  23652. "200":
  23653. description: OK
  23654. schema:
  23655. $ref: '#/definitions/app.Response'
  23656. "500":
  23657. description: Internal Server Error
  23658. schema:
  23659. $ref: '#/definitions/app.Response'
  23660. security:
  23661. - ApiKeyAuth: []
  23662. summary: 设置我的包裹已收货状态
  23663. tags:
  23664. - 定制【海商报业】
  23665. /Market/GetAllExExchanges:
  23666. get:
  23667. produces:
  23668. - application/json
  23669. responses:
  23670. "200":
  23671. description: OK
  23672. schema:
  23673. $ref: '#/definitions/models.Goods'
  23674. "500":
  23675. description: Internal Server Error
  23676. schema:
  23677. $ref: '#/definitions/app.Response'
  23678. security:
  23679. - ApiKeyAuth: []
  23680. summary: 获取所有外部交易所信息
  23681. tags:
  23682. - 通用市场
  23683. /Market/QueryGoodsesByLoginID:
  23684. get:
  23685. parameters:
  23686. - description: 登录账号
  23687. in: query
  23688. name: loginID
  23689. required: true
  23690. type: integer
  23691. - description: 市场ID列表,格式:1,2,3
  23692. in: query
  23693. name: marketIDs
  23694. type: string
  23695. produces:
  23696. - application/json
  23697. responses:
  23698. "200":
  23699. description: OK
  23700. schema:
  23701. $ref: '#/definitions/models.Goods'
  23702. "500":
  23703. description: Internal Server Error
  23704. schema:
  23705. $ref: '#/definitions/app.Response'
  23706. security:
  23707. - ApiKeyAuth: []
  23708. summary: 获取登录账号有权限的商品信息
  23709. tags:
  23710. - 通用市场
  23711. /Market/QueryMarketRun:
  23712. get:
  23713. parameters:
  23714. - description: 市场ID,不传返回所有
  23715. in: query
  23716. name: marketID
  23717. type: integer
  23718. produces:
  23719. - application/json
  23720. responses:
  23721. "200":
  23722. description: OK
  23723. schema:
  23724. $ref: '#/definitions/models.Marketrun'
  23725. "500":
  23726. description: Internal Server Error
  23727. schema:
  23728. $ref: '#/definitions/app.Response'
  23729. security:
  23730. - ApiKeyAuth: []
  23731. summary: 查询市场运行信息
  23732. tags:
  23733. - 通用市场
  23734. /Market/QueryMarketsByLoginID:
  23735. get:
  23736. parameters:
  23737. - description: 登录账号
  23738. in: query
  23739. name: loginID
  23740. required: true
  23741. type: integer
  23742. produces:
  23743. - application/json
  23744. responses:
  23745. "200":
  23746. description: OK
  23747. schema:
  23748. $ref: '#/definitions/models.Market'
  23749. "500":
  23750. description: Internal Server Error
  23751. schema:
  23752. $ref: '#/definitions/app.Response'
  23753. security:
  23754. - ApiKeyAuth: []
  23755. summary: 获取登录账号有权限的市场信息
  23756. tags:
  23757. - 通用市场
  23758. /Order/QueryHisTradeDetail:
  23759. get:
  23760. parameters:
  23761. - description: 资金账户 - 格式:1,2,3
  23762. in: query
  23763. name: accountID
  23764. required: true
  23765. type: string
  23766. - description: 成交单号
  23767. in: query
  23768. name: tradeID
  23769. type: integer
  23770. - description: 委托单号
  23771. in: query
  23772. name: orderID
  23773. type: integer
  23774. - description: 商品ID
  23775. in: query
  23776. name: goodsID
  23777. type: integer
  23778. - description: 交易模式 - 格式:1,2,3
  23779. in: query
  23780. name: tradeMode
  23781. type: string
  23782. - description: 委托单据类型
  23783. in: query
  23784. name: buildType
  23785. type: integer
  23786. - description: 成交类别 - 格式:1,2,3
  23787. in: query
  23788. name: tradeType
  23789. type: string
  23790. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  23791. in: query
  23792. name: startDate
  23793. type: string
  23794. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  23795. in: query
  23796. name: endDate
  23797. type: string
  23798. produces:
  23799. - application/json
  23800. responses:
  23801. "200":
  23802. description: OK
  23803. schema:
  23804. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  23805. "500":
  23806. description: Internal Server Error
  23807. schema:
  23808. $ref: '#/definitions/app.Response'
  23809. security:
  23810. - ApiKeyAuth: []
  23811. summary: 历史成交单查询(合约市场)
  23812. tags:
  23813. - 通用单据
  23814. /Order/QueryHisTradeOrderDetail:
  23815. get:
  23816. parameters:
  23817. - description: 资金账户 - 格式:1,2,3
  23818. in: query
  23819. name: accountID
  23820. required: true
  23821. type: string
  23822. - description: 交易模式 - 格式:1,2,3
  23823. in: query
  23824. name: tradeMode
  23825. type: string
  23826. - description: 委托状态 - 格式:1,2,3
  23827. in: query
  23828. name: orderStatus
  23829. type: string
  23830. - description: 委托单号
  23831. in: query
  23832. name: orderID
  23833. type: integer
  23834. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  23835. in: query
  23836. name: startDate
  23837. type: string
  23838. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  23839. in: query
  23840. name: endDate
  23841. type: string
  23842. produces:
  23843. - application/json
  23844. responses:
  23845. "200":
  23846. description: OK
  23847. schema:
  23848. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  23849. "500":
  23850. description: Internal Server Error
  23851. schema:
  23852. $ref: '#/definitions/app.Response'
  23853. security:
  23854. - ApiKeyAuth: []
  23855. summary: 历史委托单查询请求(合约市场)
  23856. tags:
  23857. - 通用单据
  23858. /Order/QueryTradeDetail:
  23859. get:
  23860. parameters:
  23861. - description: 资金账户 - 格式:1,2,3
  23862. in: query
  23863. name: accountID
  23864. required: true
  23865. type: string
  23866. - description: 成交单号
  23867. in: query
  23868. name: tradeID
  23869. type: integer
  23870. - description: 委托单号
  23871. in: query
  23872. name: orderID
  23873. type: integer
  23874. - description: 交易模式 - 格式:1,2,3
  23875. in: query
  23876. name: tradeMode
  23877. type: string
  23878. - description: 委托单据类型
  23879. in: query
  23880. name: buildType
  23881. type: integer
  23882. - description: 成交类别 - 格式:1,2,3
  23883. in: query
  23884. name: tradeType
  23885. type: string
  23886. - description: 商品ID
  23887. in: query
  23888. name: goodsID
  23889. type: integer
  23890. produces:
  23891. - application/json
  23892. responses:
  23893. "200":
  23894. description: OK
  23895. schema:
  23896. $ref: '#/definitions/order.QueryTradeDetailRsp'
  23897. "500":
  23898. description: Internal Server Error
  23899. schema:
  23900. $ref: '#/definitions/app.Response'
  23901. security:
  23902. - ApiKeyAuth: []
  23903. summary: 成交单查询(合约市场)
  23904. tags:
  23905. - 通用单据
  23906. /Order/QueryTradeHolderDetail:
  23907. get:
  23908. parameters:
  23909. - description: 用户id
  23910. in: query
  23911. name: userid
  23912. type: integer
  23913. - description: 资金账号, 格式 1,2,3
  23914. in: query
  23915. name: accids
  23916. type: string
  23917. - description: 交易模式, 格式 1,2,3
  23918. in: query
  23919. name: trademodes
  23920. type: string
  23921. - description: 市场id, 格式 1,2,3
  23922. in: query
  23923. name: marketids
  23924. type: string
  23925. - description: 商品id
  23926. in: query
  23927. name: goodsid
  23928. type: integer
  23929. - description: 买卖方向 0-买 1-卖
  23930. in: query
  23931. name: buyorsell
  23932. type: integer
  23933. produces:
  23934. - application/json
  23935. responses:
  23936. "200":
  23937. description: OK
  23938. schema:
  23939. items:
  23940. $ref: '#/definitions/models.TradeHolderDetail'
  23941. type: array
  23942. "500":
  23943. description: Internal Server Error
  23944. schema:
  23945. $ref: '#/definitions/app.Response'
  23946. security:
  23947. - ApiKeyAuth: []
  23948. summary: 查询持仓明细
  23949. tags:
  23950. - 通用单据
  23951. /Order/QueryTradeOrderDetail:
  23952. get:
  23953. parameters:
  23954. - description: 资金账户 - 格式:1,2,3
  23955. in: query
  23956. name: accountID
  23957. required: true
  23958. type: string
  23959. - description: 交易模式 - 格式:1,2,3
  23960. in: query
  23961. name: tradeMode
  23962. type: string
  23963. - description: 委托状态 - 格式:1,2,3
  23964. in: query
  23965. name: orderStatus
  23966. type: string
  23967. - description: 委托单号
  23968. in: query
  23969. name: orderID
  23970. type: integer
  23971. produces:
  23972. - application/json
  23973. responses:
  23974. "200":
  23975. description: OK
  23976. schema:
  23977. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  23978. "500":
  23979. description: Internal Server Error
  23980. schema:
  23981. $ref: '#/definitions/app.Response'
  23982. security:
  23983. - ApiKeyAuth: []
  23984. summary: 委托单查询请求(合约市场)
  23985. tags:
  23986. - 通用单据
  23987. /Order/QueryTradePosition:
  23988. get:
  23989. parameters:
  23990. - description: 资金账户 - 格式:1,2,3
  23991. in: query
  23992. name: accountID
  23993. required: true
  23994. type: string
  23995. - description: 交易模式 - 格式:1,2,3
  23996. in: query
  23997. name: tradeMode
  23998. type: string
  23999. produces:
  24000. - application/json
  24001. responses:
  24002. "200":
  24003. description: OK
  24004. schema:
  24005. $ref: '#/definitions/order.QueryTradePositionRsp'
  24006. "500":
  24007. description: Internal Server Error
  24008. schema:
  24009. $ref: '#/definitions/app.Response'
  24010. security:
  24011. - ApiKeyAuth: []
  24012. summary: 持仓汇总查询(合约市场)
  24013. tags:
  24014. - 通用单据
  24015. /Qhj/QueryAccountInOutApply:
  24016. get:
  24017. parameters:
  24018. - description: 用户ID
  24019. in: query
  24020. name: userid
  24021. required: true
  24022. type: integer
  24023. - description: 申请起始日期(格式yyyymmdd)
  24024. in: query
  24025. name: begindate
  24026. type: string
  24027. - description: 申请截止日期(格式yyyymmdd)
  24028. in: query
  24029. name: enddate
  24030. type: string
  24031. - description: 模糊搜索名称
  24032. in: query
  24033. name: likename
  24034. type: string
  24035. produces:
  24036. - application/json
  24037. responses:
  24038. "200":
  24039. description: OK
  24040. schema:
  24041. items:
  24042. $ref: '#/definitions/models.QhjAccountOutInApply'
  24043. type: array
  24044. "500":
  24045. description: Internal Server Error
  24046. schema:
  24047. $ref: '#/definitions/app.Response'
  24048. security:
  24049. - ApiKeyAuth: []
  24050. summary: 查询充值提现
  24051. tags:
  24052. - 大连千海金
  24053. /Qhj/QueryAreaFinanceConfig:
  24054. get:
  24055. parameters:
  24056. - description: 机构用户ID 其他做市关系,都设置为 1
  24057. in: query
  24058. name: userid
  24059. type: integer
  24060. produces:
  24061. - application/json
  24062. responses:
  24063. "200":
  24064. description: OK
  24065. schema:
  24066. items:
  24067. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  24068. type: array
  24069. "500":
  24070. description: Internal Server Error
  24071. schema:
  24072. $ref: '#/definitions/app.Response'
  24073. security:
  24074. - ApiKeyAuth: []
  24075. summary: 查询企业配置表
  24076. tags:
  24077. - 大连千海金
  24078. /Qhj/QueryBankAccountSign:
  24079. get:
  24080. parameters:
  24081. - description: 用户ID
  24082. in: query
  24083. name: userid
  24084. required: true
  24085. type: integer
  24086. produces:
  24087. - application/json
  24088. responses:
  24089. "200":
  24090. description: OK
  24091. schema:
  24092. items:
  24093. $ref: '#/definitions/models.QhjBankAccountSign'
  24094. type: array
  24095. "500":
  24096. description: Internal Server Error
  24097. schema:
  24098. $ref: '#/definitions/app.Response'
  24099. security:
  24100. - ApiKeyAuth: []
  24101. summary: 查询签约银行信息(提现账户管理)
  24102. tags:
  24103. - 大连千海金
  24104. /Qhj/QueryBankInfo:
  24105. get:
  24106. produces:
  24107. - application/json
  24108. responses:
  24109. "200":
  24110. description: OK
  24111. schema:
  24112. items:
  24113. $ref: '#/definitions/models.QhjBankInfo'
  24114. type: array
  24115. "500":
  24116. description: Internal Server Error
  24117. schema:
  24118. $ref: '#/definitions/app.Response'
  24119. security:
  24120. - ApiKeyAuth: []
  24121. summary: 查询开户行
  24122. tags:
  24123. - 大连千海金
  24124. /Qhj/QueryBrokerApply:
  24125. get:
  24126. parameters:
  24127. - description: 所属机构ID
  24128. in: query
  24129. name: userid
  24130. type: integer
  24131. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24132. in: query
  24133. name: filterstatus
  24134. type: string
  24135. produces:
  24136. - application/json
  24137. responses:
  24138. "200":
  24139. description: OK
  24140. schema:
  24141. items:
  24142. $ref: '#/definitions/models.QhjBrokerApply'
  24143. type: array
  24144. "500":
  24145. description: Internal Server Error
  24146. schema:
  24147. $ref: '#/definitions/app.Response'
  24148. security:
  24149. - ApiKeyAuth: []
  24150. summary: 查询经纪人申请
  24151. tags:
  24152. - 大连千海金
  24153. /Qhj/QueryBrokerApplyEx:
  24154. get:
  24155. parameters:
  24156. - description: 所属机构ID
  24157. in: query
  24158. name: userid
  24159. type: integer
  24160. produces:
  24161. - application/json
  24162. responses:
  24163. "200":
  24164. description: OK
  24165. schema:
  24166. items:
  24167. $ref: '#/definitions/models.QhjBrokerApplyEx'
  24168. type: array
  24169. "500":
  24170. description: Internal Server Error
  24171. schema:
  24172. $ref: '#/definitions/app.Response'
  24173. security:
  24174. - ApiKeyAuth: []
  24175. summary: 查询经纪人信息和申请记录
  24176. tags:
  24177. - 大连千海金
  24178. /Qhj/QueryBrokerRewardLog:
  24179. get:
  24180. parameters:
  24181. - description: 用户ID
  24182. in: query
  24183. name: userid
  24184. required: true
  24185. type: integer
  24186. - description: 开始交易日(yyyymmdd)
  24187. in: query
  24188. name: begindate
  24189. type: string
  24190. - description: 结束交易日(yyyymmdd)
  24191. in: query
  24192. name: enddate
  24193. type: string
  24194. produces:
  24195. - application/json
  24196. responses:
  24197. "200":
  24198. description: OK
  24199. schema:
  24200. items:
  24201. $ref: '#/definitions/models.QhjBrokerRewardLog'
  24202. type: array
  24203. "500":
  24204. description: Internal Server Error
  24205. schema:
  24206. $ref: '#/definitions/app.Response'
  24207. security:
  24208. - ApiKeyAuth: []
  24209. summary: 查询奖励流水(我的奖励)
  24210. tags:
  24211. - 大连千海金
  24212. /Qhj/QueryContract:
  24213. get:
  24214. parameters:
  24215. - description: 用户ID
  24216. in: query
  24217. name: userid
  24218. type: integer
  24219. - description: scf合同id
  24220. in: query
  24221. name: scfcontractid
  24222. type: integer
  24223. produces:
  24224. - application/json
  24225. responses:
  24226. "200":
  24227. description: OK
  24228. schema:
  24229. items:
  24230. $ref: '#/definitions/models.QhjContract'
  24231. type: array
  24232. "500":
  24233. description: Internal Server Error
  24234. schema:
  24235. $ref: '#/definitions/app.Response'
  24236. security:
  24237. - ApiKeyAuth: []
  24238. summary: 查询融资明细(合同)
  24239. tags:
  24240. - 大连千海金
  24241. /Qhj/QueryContractLog:
  24242. get:
  24243. parameters:
  24244. - description: scf合同id
  24245. in: query
  24246. name: scfcontractid
  24247. required: true
  24248. type: integer
  24249. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  24250. in: query
  24251. name: amounttype
  24252. type: string
  24253. produces:
  24254. - application/json
  24255. responses:
  24256. "200":
  24257. description: OK
  24258. schema:
  24259. items:
  24260. $ref: '#/definitions/models.QhjContractLog'
  24261. type: array
  24262. "500":
  24263. description: Internal Server Error
  24264. schema:
  24265. $ref: '#/definitions/app.Response'
  24266. security:
  24267. - ApiKeyAuth: []
  24268. summary: 查询融资明细流水(融资明细详情页中的流水)
  24269. tags:
  24270. - 大连千海金
  24271. /Qhj/QueryCusBankSignBank:
  24272. get:
  24273. produces:
  24274. - application/json
  24275. responses:
  24276. "200":
  24277. description: OK
  24278. schema:
  24279. items:
  24280. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  24281. type: array
  24282. "500":
  24283. description: Internal Server Error
  24284. schema:
  24285. $ref: '#/definitions/app.Response'
  24286. security:
  24287. - ApiKeyAuth: []
  24288. summary: 查询托管银行
  24289. tags:
  24290. - 大连千海金
  24291. /Qhj/QueryCustomerInfo:
  24292. get:
  24293. parameters:
  24294. - description: 用户ID
  24295. in: query
  24296. name: userid
  24297. required: true
  24298. type: integer
  24299. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  24300. in: query
  24301. name: querytype
  24302. required: true
  24303. type: integer
  24304. - description: 客户类型 1-个人 2-企业
  24305. in: query
  24306. name: userinfotype
  24307. type: integer
  24308. - description: 客户名称(模糊匹配)
  24309. in: query
  24310. name: customername
  24311. type: string
  24312. - description: 昵称(模糊匹配)
  24313. in: query
  24314. name: nickname
  24315. type: string
  24316. - description: 是否包含子级 1-包含
  24317. in: query
  24318. name: includesub
  24319. type: integer
  24320. produces:
  24321. - application/json
  24322. responses:
  24323. "200":
  24324. description: OK
  24325. schema:
  24326. items:
  24327. $ref: '#/definitions/models.QhjCustomer'
  24328. type: array
  24329. "500":
  24330. description: Internal Server Error
  24331. schema:
  24332. $ref: '#/definitions/app.Response'
  24333. security:
  24334. - ApiKeyAuth: []
  24335. summary: 查询客户资料
  24336. tags:
  24337. - 大连千海金
  24338. /Qhj/QueryGoodsEx:
  24339. get:
  24340. parameters:
  24341. - description: 商品id
  24342. in: query
  24343. name: goodsid
  24344. type: integer
  24345. produces:
  24346. - application/json
  24347. responses:
  24348. "200":
  24349. description: OK
  24350. schema:
  24351. items:
  24352. $ref: '#/definitions/models.Qhjgoodsex'
  24353. type: array
  24354. "500":
  24355. description: Internal Server Error
  24356. schema:
  24357. $ref: '#/definitions/app.Response'
  24358. security:
  24359. - ApiKeyAuth: []
  24360. summary: 交易商品扩展表
  24361. tags:
  24362. - 大连千海金
  24363. /Qhj/QueryMyTeam:
  24364. get:
  24365. parameters:
  24366. - description: 用户ID
  24367. in: query
  24368. name: userid
  24369. required: true
  24370. type: integer
  24371. produces:
  24372. - application/json
  24373. responses:
  24374. "200":
  24375. description: OK
  24376. schema:
  24377. items:
  24378. $ref: '#/definitions/models.QhjMyTeamEx'
  24379. type: array
  24380. "500":
  24381. description: Internal Server Error
  24382. schema:
  24383. $ref: '#/definitions/app.Response'
  24384. security:
  24385. - ApiKeyAuth: []
  24386. summary: 查询我的团队
  24387. tags:
  24388. - 大连千海金
  24389. /Qhj/QueryMyTeamOrder:
  24390. get:
  24391. parameters:
  24392. - description: 页码
  24393. in: query
  24394. name: page
  24395. type: integer
  24396. - description: 每页条数
  24397. in: query
  24398. name: pagesize
  24399. type: integer
  24400. - description: 用户ID
  24401. in: query
  24402. name: userid
  24403. required: true
  24404. type: integer
  24405. - description: 交易模式
  24406. in: query
  24407. name: trademode
  24408. type: integer
  24409. - description: 名称(模糊搜索账户)
  24410. in: query
  24411. name: filtername
  24412. type: string
  24413. produces:
  24414. - application/json
  24415. responses:
  24416. "200":
  24417. description: OK
  24418. schema:
  24419. items:
  24420. $ref: '#/definitions/models.QhjTeamOrder'
  24421. type: array
  24422. "500":
  24423. description: Internal Server Error
  24424. schema:
  24425. $ref: '#/definitions/app.Response'
  24426. security:
  24427. - ApiKeyAuth: []
  24428. summary: 查询团队订单(我的团队/团队订单)
  24429. tags:
  24430. - 大连千海金
  24431. /Qhj/QueryParentAreaList:
  24432. get:
  24433. parameters:
  24434. - description: 用户ID
  24435. in: query
  24436. name: userid
  24437. required: true
  24438. type: integer
  24439. produces:
  24440. - application/json
  24441. responses:
  24442. "200":
  24443. description: OK
  24444. schema:
  24445. items:
  24446. $ref: '#/definitions/models.QhjParentAreaList'
  24447. type: array
  24448. "500":
  24449. description: Internal Server Error
  24450. schema:
  24451. $ref: '#/definitions/app.Response'
  24452. security:
  24453. - ApiKeyAuth: []
  24454. summary: 查询所属机构列表
  24455. tags:
  24456. - 大连千海金
  24457. /Qhj/QueryPayOrder:
  24458. get:
  24459. parameters:
  24460. - description: 资金账号id
  24461. in: query
  24462. name: accountid
  24463. required: true
  24464. type: integer
  24465. - description: 成交单号
  24466. in: query
  24467. name: tradeid
  24468. type: integer
  24469. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  24470. in: query
  24471. name: payflag
  24472. type: string
  24473. produces:
  24474. - application/json
  24475. responses:
  24476. "200":
  24477. description: OK
  24478. schema:
  24479. items:
  24480. $ref: '#/definitions/models.QhjPayOrder'
  24481. type: array
  24482. "500":
  24483. description: Internal Server Error
  24484. schema:
  24485. $ref: '#/definitions/app.Response'
  24486. security:
  24487. - ApiKeyAuth: []
  24488. summary: 查询待付款单据
  24489. tags:
  24490. - 大连千海金
  24491. /Qhj/QueryPickArea:
  24492. get:
  24493. parameters:
  24494. - description: 用户ID
  24495. in: query
  24496. name: userid
  24497. type: integer
  24498. produces:
  24499. - application/json
  24500. responses:
  24501. "200":
  24502. description: OK
  24503. schema:
  24504. items:
  24505. $ref: '#/definitions/models.QhjPickArea'
  24506. type: array
  24507. "500":
  24508. description: Internal Server Error
  24509. schema:
  24510. $ref: '#/definitions/app.Response'
  24511. security:
  24512. - ApiKeyAuth: []
  24513. summary: 查询提货门店
  24514. tags:
  24515. - 大连千海金
  24516. /Qhj/QueryPickGoods:
  24517. get:
  24518. parameters:
  24519. - description: 交易商品id
  24520. in: query
  24521. name: goodsid
  24522. required: true
  24523. type: integer
  24524. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  24525. in: query
  24526. name: status
  24527. type: string
  24528. produces:
  24529. - application/json
  24530. responses:
  24531. "200":
  24532. description: OK
  24533. schema:
  24534. items:
  24535. $ref: '#/definitions/models.QhjPickGoods'
  24536. type: array
  24537. "500":
  24538. description: Internal Server Error
  24539. schema:
  24540. $ref: '#/definitions/app.Response'
  24541. security:
  24542. - ApiKeyAuth: []
  24543. summary: 查询提货商品
  24544. tags:
  24545. - 大连千海金
  24546. /Qhj/QueryRSTriggerLog:
  24547. get:
  24548. parameters:
  24549. - description: 用户ID
  24550. in: query
  24551. name: userid
  24552. type: integer
  24553. - description: 定投策略id
  24554. in: query
  24555. name: regularlystrategyid
  24556. type: integer
  24557. - description: 商品id
  24558. in: query
  24559. name: goodsid
  24560. type: integer
  24561. - description: 开始交易日(yyyymmdd)
  24562. in: query
  24563. name: begindate
  24564. type: string
  24565. - description: 结束交易日(yyyymmdd)
  24566. in: query
  24567. name: enddate
  24568. type: string
  24569. - description: 名称(模糊搜索账户)
  24570. in: query
  24571. name: filtername
  24572. type: string
  24573. produces:
  24574. - application/json
  24575. responses:
  24576. "200":
  24577. description: OK
  24578. schema:
  24579. items:
  24580. $ref: '#/definitions/models.QhjRSTriggerLog'
  24581. type: array
  24582. "500":
  24583. description: Internal Server Error
  24584. schema:
  24585. $ref: '#/definitions/app.Response'
  24586. security:
  24587. - ApiKeyAuth: []
  24588. summary: 查询定投记录(定投管理/详情/定投记录)
  24589. tags:
  24590. - 大连千海金
  24591. /Qhj/QueryRStrategy:
  24592. get:
  24593. parameters:
  24594. - description: 用户ID
  24595. in: query
  24596. name: userid
  24597. type: integer
  24598. - description: 商品id
  24599. in: query
  24600. name: goodsid
  24601. type: integer
  24602. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  24603. in: query
  24604. name: status
  24605. type: string
  24606. - description: 名称(模糊搜索账户)
  24607. in: query
  24608. name: filtername
  24609. type: string
  24610. produces:
  24611. - application/json
  24612. responses:
  24613. "200":
  24614. description: OK
  24615. schema:
  24616. items:
  24617. $ref: '#/definitions/models.QhjRStrategy'
  24618. type: array
  24619. "500":
  24620. description: Internal Server Error
  24621. schema:
  24622. $ref: '#/definitions/app.Response'
  24623. security:
  24624. - ApiKeyAuth: []
  24625. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  24626. tags:
  24627. - 大连千海金
  24628. /Qhj/QueryReckonPriceLog:
  24629. get:
  24630. parameters:
  24631. - description: 商品ID
  24632. in: query
  24633. name: goodsid
  24634. type: integer
  24635. - description: 交易日 格式(yyyymmdd)
  24636. in: query
  24637. name: tradedate
  24638. type: string
  24639. produces:
  24640. - application/json
  24641. responses:
  24642. "200":
  24643. description: OK
  24644. schema:
  24645. items:
  24646. $ref: '#/definitions/models.QhjReckonPriceLog'
  24647. type: array
  24648. "500":
  24649. description: Internal Server Error
  24650. schema:
  24651. $ref: '#/definitions/app.Response'
  24652. security:
  24653. - ApiKeyAuth: []
  24654. summary: 查询定投价(结算价)
  24655. tags:
  24656. - 大连千海金
  24657. /Qhj/QueryScoreLog:
  24658. get:
  24659. parameters:
  24660. - description: 用户ID
  24661. in: query
  24662. name: userid
  24663. required: true
  24664. type: integer
  24665. - description: 开始交易日(yyyymmdd)
  24666. in: query
  24667. name: begindate
  24668. type: string
  24669. - description: 结束交易日(yyyymmdd)
  24670. in: query
  24671. name: enddate
  24672. type: string
  24673. - description: 最近多少条
  24674. in: query
  24675. name: lastnum
  24676. type: integer
  24677. produces:
  24678. - application/json
  24679. responses:
  24680. "200":
  24681. description: OK
  24682. schema:
  24683. items:
  24684. $ref: '#/definitions/models.QhjScoreLog'
  24685. type: array
  24686. "500":
  24687. description: Internal Server Error
  24688. schema:
  24689. $ref: '#/definitions/app.Response'
  24690. security:
  24691. - ApiKeyAuth: []
  24692. summary: 查询积分流水(我的积分)
  24693. tags:
  24694. - 大连千海金
  24695. /Qhj/QuerySiteColumnDetail:
  24696. get:
  24697. parameters:
  24698. - description: 用户ID
  24699. in: query
  24700. name: userid
  24701. required: true
  24702. type: integer
  24703. produces:
  24704. - application/json
  24705. responses:
  24706. "200":
  24707. description: OK
  24708. schema:
  24709. items:
  24710. $ref: '#/definitions/models.QhjSiteColumnDetail'
  24711. type: array
  24712. "500":
  24713. description: Internal Server Error
  24714. schema:
  24715. $ref: '#/definitions/app.Response'
  24716. security:
  24717. - ApiKeyAuth: []
  24718. summary: 查询资讯
  24719. tags:
  24720. - 大连千海金
  24721. /Qhj/QueryTradeGoodsPickup:
  24722. get:
  24723. parameters:
  24724. - description: 用户ID
  24725. in: query
  24726. name: userid
  24727. required: true
  24728. type: integer
  24729. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销
  24730. in: query
  24731. name: takeorderstatus
  24732. type: integer
  24733. produces:
  24734. - application/json
  24735. responses:
  24736. "200":
  24737. description: OK
  24738. schema:
  24739. items:
  24740. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  24741. type: array
  24742. "500":
  24743. description: Internal Server Error
  24744. schema:
  24745. $ref: '#/definitions/app.Response'
  24746. security:
  24747. - ApiKeyAuth: []
  24748. summary: 查询提货
  24749. tags:
  24750. - 大连千海金
  24751. /Qhj/QueryUserCollectConfig:
  24752. get:
  24753. parameters:
  24754. - description: 用户ID
  24755. in: query
  24756. name: userid
  24757. required: true
  24758. type: integer
  24759. produces:
  24760. - application/json
  24761. responses:
  24762. "200":
  24763. description: OK
  24764. schema:
  24765. items:
  24766. $ref: '#/definitions/models.UserCollectConfig'
  24767. type: array
  24768. "500":
  24769. description: Internal Server Error
  24770. schema:
  24771. $ref: '#/definitions/app.Response'
  24772. security:
  24773. - ApiKeyAuth: []
  24774. summary: 查询提现账户设置
  24775. tags:
  24776. - 大连千海金
  24777. /Qhj/QueryUserReceiveInfo:
  24778. get:
  24779. parameters:
  24780. - description: 用户ID
  24781. in: query
  24782. name: userid
  24783. required: true
  24784. type: integer
  24785. produces:
  24786. - application/json
  24787. responses:
  24788. "200":
  24789. description: OK
  24790. schema:
  24791. items:
  24792. $ref: '#/definitions/models.UserReceiveInfo'
  24793. type: array
  24794. "500":
  24795. description: Internal Server Error
  24796. schema:
  24797. $ref: '#/definitions/app.Response'
  24798. security:
  24799. - ApiKeyAuth: []
  24800. summary: 查询收货地址信息
  24801. tags:
  24802. - 大连千海金
  24803. /QhjMgr/QueryAccountInOutApply:
  24804. get:
  24805. parameters:
  24806. - description: 查询类型 1-提现(出金) 2-充值(出金)
  24807. in: query
  24808. name: querytype
  24809. required: true
  24810. type: integer
  24811. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  24812. in: query
  24813. name: applystatus
  24814. type: integer
  24815. - description: 申请起始日期(格式yyyymmdd)
  24816. in: query
  24817. name: begindate
  24818. type: string
  24819. - description: 申请截止日期(格式yyyymmdd)
  24820. in: query
  24821. name: enddate
  24822. type: string
  24823. - description: 模糊搜索名称
  24824. in: query
  24825. name: likename
  24826. type: string
  24827. produces:
  24828. - application/json
  24829. responses:
  24830. "200":
  24831. description: OK
  24832. schema:
  24833. items:
  24834. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  24835. type: array
  24836. "500":
  24837. description: Internal Server Error
  24838. schema:
  24839. $ref: '#/definitions/app.Response'
  24840. security:
  24841. - ApiKeyAuth: []
  24842. summary: 查询充值提现
  24843. tags:
  24844. - 大连千海金(PCWeb)
  24845. /QhjMgr/QueryBrokerApply:
  24846. get:
  24847. parameters:
  24848. - description: 所属机构ID
  24849. in: query
  24850. name: userid
  24851. type: integer
  24852. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24853. in: query
  24854. name: filterstatus
  24855. type: string
  24856. - description: 名称(模糊匹配)
  24857. in: query
  24858. name: filtername
  24859. type: string
  24860. - description: 是否包含子级 1-包含
  24861. in: query
  24862. name: includesub
  24863. type: integer
  24864. produces:
  24865. - application/json
  24866. responses:
  24867. "200":
  24868. description: OK
  24869. schema:
  24870. items:
  24871. $ref: '#/definitions/models.QhjMgrBrokerApply'
  24872. type: array
  24873. "500":
  24874. description: Internal Server Error
  24875. schema:
  24876. $ref: '#/definitions/app.Response'
  24877. security:
  24878. - ApiKeyAuth: []
  24879. summary: 查询经纪人申请
  24880. tags:
  24881. - 大连千海金(PCWeb)
  24882. /QhjMgr/QueryBrokerRewardReport:
  24883. get:
  24884. parameters:
  24885. - description: 所属机构ID
  24886. in: query
  24887. name: userid
  24888. required: true
  24889. type: integer
  24890. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24891. in: query
  24892. name: cycletype
  24893. required: true
  24894. type: integer
  24895. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  24896. in: query
  24897. name: cycletime
  24898. required: true
  24899. type: string
  24900. - description: 名称(模糊匹配)
  24901. in: query
  24902. name: filtername
  24903. type: string
  24904. - description: 是否包含子级 1-包含
  24905. in: query
  24906. name: includesub
  24907. type: integer
  24908. produces:
  24909. - application/json
  24910. responses:
  24911. "200":
  24912. description: OK
  24913. schema:
  24914. items:
  24915. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  24916. type: array
  24917. "500":
  24918. description: Internal Server Error
  24919. schema:
  24920. $ref: '#/definitions/app.Response'
  24921. security:
  24922. - ApiKeyAuth: []
  24923. summary: 查询经纪人奖励报表(废弃)
  24924. tags:
  24925. - 大连千海金(PCWeb)
  24926. /QhjMgr/QueryContract:
  24927. get:
  24928. parameters:
  24929. - description: 用户ID
  24930. in: query
  24931. name: userid
  24932. type: integer
  24933. - description: 商品id
  24934. in: query
  24935. name: goodsid
  24936. type: integer
  24937. - description: 名称(模糊搜索账户)
  24938. in: query
  24939. name: filtername
  24940. type: string
  24941. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  24942. in: query
  24943. name: risklevel
  24944. type: string
  24945. - description: 开始交易日(yyyymmdd)
  24946. in: query
  24947. name: begindate
  24948. type: string
  24949. - description: 结束交易日(yyyymmdd)
  24950. in: query
  24951. name: enddate
  24952. type: string
  24953. produces:
  24954. - application/json
  24955. responses:
  24956. "200":
  24957. description: OK
  24958. schema:
  24959. items:
  24960. $ref: '#/definitions/models.QhjMgrContract'
  24961. type: array
  24962. "500":
  24963. description: Internal Server Error
  24964. schema:
  24965. $ref: '#/definitions/app.Response'
  24966. security:
  24967. - ApiKeyAuth: []
  24968. summary: 查询融资信息(合同)
  24969. tags:
  24970. - 大连千海金(PCWeb)
  24971. /QhjMgr/QueryCustomerInfo:
  24972. get:
  24973. parameters:
  24974. - description: 用户ID
  24975. in: query
  24976. name: userid
  24977. required: true
  24978. type: integer
  24979. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  24980. in: query
  24981. name: querytype
  24982. required: true
  24983. type: integer
  24984. - description: 客户类型 1-个人 2-企业
  24985. in: query
  24986. name: userinfotype
  24987. type: integer
  24988. - description: 客户名称(模糊匹配)
  24989. in: query
  24990. name: customername
  24991. type: string
  24992. - description: 昵称(模糊匹配)
  24993. in: query
  24994. name: nickname
  24995. type: string
  24996. - description: 所属客户经理(模糊匹配)
  24997. in: query
  24998. name: brokername
  24999. type: string
  25000. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)
  25001. in: query
  25002. name: birthday
  25003. type: string
  25004. - description: 是否包含子级 1-包含
  25005. in: query
  25006. name: includesub
  25007. type: integer
  25008. produces:
  25009. - application/json
  25010. responses:
  25011. "200":
  25012. description: OK
  25013. schema:
  25014. items:
  25015. $ref: '#/definitions/models.QhjMgrCustomer'
  25016. type: array
  25017. "500":
  25018. description: Internal Server Error
  25019. schema:
  25020. $ref: '#/definitions/app.Response'
  25021. security:
  25022. - ApiKeyAuth: []
  25023. summary: 查询客户资料
  25024. tags:
  25025. - 大连千海金(PCWeb)
  25026. /QhjMgr/QueryPickGoods:
  25027. get:
  25028. parameters:
  25029. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  25030. in: query
  25031. name: status
  25032. type: string
  25033. produces:
  25034. - application/json
  25035. responses:
  25036. "200":
  25037. description: OK
  25038. schema:
  25039. items:
  25040. $ref: '#/definitions/models.QhjMgrPickGoods'
  25041. type: array
  25042. "500":
  25043. description: Internal Server Error
  25044. schema:
  25045. $ref: '#/definitions/app.Response'
  25046. security:
  25047. - ApiKeyAuth: []
  25048. summary: 查询提货商品
  25049. tags:
  25050. - 大连千海金(PCWeb)
  25051. /QhjMgr/QuerySubArea:
  25052. get:
  25053. parameters:
  25054. - description: 用户ID
  25055. in: query
  25056. name: userid
  25057. required: true
  25058. type: integer
  25059. produces:
  25060. - application/json
  25061. responses:
  25062. "200":
  25063. description: OK
  25064. schema:
  25065. items:
  25066. $ref: '#/definitions/models.QhjMgrSubArea'
  25067. type: array
  25068. "500":
  25069. description: Internal Server Error
  25070. schema:
  25071. $ref: '#/definitions/app.Response'
  25072. security:
  25073. - ApiKeyAuth: []
  25074. summary: 查询子机构列表
  25075. tags:
  25076. - 大连千海金(PCWeb)
  25077. /QhjMgr/QueryTradeDetail:
  25078. get:
  25079. parameters:
  25080. - description: 用户ID
  25081. in: query
  25082. name: userid
  25083. required: true
  25084. type: integer
  25085. - description: 用户类型 1-个人 2-企业
  25086. in: query
  25087. name: userinfotype
  25088. type: integer
  25089. - description: 交易模式
  25090. in: query
  25091. name: trademode
  25092. type: integer
  25093. - description: 商品id
  25094. in: query
  25095. name: goodsid
  25096. type: integer
  25097. - description: 名称(模糊搜索账户)
  25098. in: query
  25099. name: filtername
  25100. type: string
  25101. - description: 开始交易日(yyyymmdd)
  25102. in: query
  25103. name: begindate
  25104. type: string
  25105. - description: 结束交易日(yyyymmdd)
  25106. in: query
  25107. name: enddate
  25108. type: string
  25109. - description: 是否包含子级 1-包含
  25110. in: query
  25111. name: includesub
  25112. type: integer
  25113. produces:
  25114. - application/json
  25115. responses:
  25116. "200":
  25117. description: OK
  25118. schema:
  25119. items:
  25120. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  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. - 大连千海金(PCWeb)
  25131. /QhjMgr/QueryTradeOrderDetail:
  25132. get:
  25133. parameters:
  25134. - description: 用户ID
  25135. in: query
  25136. name: userid
  25137. required: true
  25138. type: integer
  25139. - description: 用户类型 1-个人 2-企业
  25140. in: query
  25141. name: userinfotype
  25142. type: integer
  25143. - description: 交易模式
  25144. in: query
  25145. name: trademode
  25146. type: integer
  25147. - description: 商品id
  25148. in: query
  25149. name: goodsid
  25150. type: integer
  25151. - description: 名称(模糊搜索账户)
  25152. in: query
  25153. name: filtername
  25154. type: string
  25155. - description: 开始交易日(yyyymmdd)
  25156. in: query
  25157. name: begindate
  25158. type: string
  25159. - description: 结束交易日(yyyymmdd)
  25160. in: query
  25161. name: enddate
  25162. type: string
  25163. - description: 是否包含子级 1-包含
  25164. in: query
  25165. name: includesub
  25166. type: integer
  25167. produces:
  25168. - application/json
  25169. responses:
  25170. "200":
  25171. description: OK
  25172. schema:
  25173. items:
  25174. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  25175. type: array
  25176. "500":
  25177. description: Internal Server Error
  25178. schema:
  25179. $ref: '#/definitions/app.Response'
  25180. security:
  25181. - ApiKeyAuth: []
  25182. summary: 查询委托明细
  25183. tags:
  25184. - 大连千海金(PCWeb)
  25185. /QhjMgr/QueryTradePayOrder:
  25186. get:
  25187. parameters:
  25188. - description: 用户ID
  25189. in: query
  25190. name: userid
  25191. required: true
  25192. type: integer
  25193. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  25194. in: query
  25195. name: payflag
  25196. type: string
  25197. - description: 用户类型 1-个人 2-企业
  25198. in: query
  25199. name: userinfotype
  25200. type: integer
  25201. - description: 交易模式
  25202. in: query
  25203. name: trademode
  25204. type: integer
  25205. - description: 商品id
  25206. in: query
  25207. name: goodsid
  25208. type: integer
  25209. - description: 名称(模糊搜索账户)
  25210. in: query
  25211. name: filtername
  25212. type: string
  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. - description: 是否包含子级 1-包含
  25222. in: query
  25223. name: includesub
  25224. type: integer
  25225. produces:
  25226. - application/json
  25227. responses:
  25228. "200":
  25229. description: OK
  25230. schema:
  25231. items:
  25232. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  25233. type: array
  25234. "500":
  25235. description: Internal Server Error
  25236. schema:
  25237. $ref: '#/definitions/app.Response'
  25238. security:
  25239. - ApiKeyAuth: []
  25240. summary: 查询待付款单
  25241. tags:
  25242. - 大连千海金(PCWeb)
  25243. /QhjMgr/QueryTradePosition:
  25244. get:
  25245. parameters:
  25246. - description: 用户ID
  25247. in: query
  25248. name: userid
  25249. required: true
  25250. type: integer
  25251. - description: 用户类型 1-个人 2-企业
  25252. in: query
  25253. name: userinfotype
  25254. type: integer
  25255. - description: 交易模式
  25256. in: query
  25257. name: trademode
  25258. type: integer
  25259. - description: 商品id
  25260. in: query
  25261. name: goodsid
  25262. type: integer
  25263. - description: 名称(模糊搜索账户)
  25264. in: query
  25265. name: filtername
  25266. type: string
  25267. - description: 是否包含子级 1-包含
  25268. in: query
  25269. name: includesub
  25270. type: integer
  25271. produces:
  25272. - application/json
  25273. responses:
  25274. "200":
  25275. description: OK
  25276. schema:
  25277. items:
  25278. $ref: '#/definitions/models.QhjMgrPositionRsp'
  25279. type: array
  25280. "500":
  25281. description: Internal Server Error
  25282. schema:
  25283. $ref: '#/definitions/app.Response'
  25284. security:
  25285. - ApiKeyAuth: []
  25286. summary: 查询持仓汇总
  25287. tags:
  25288. - 大连千海金(PCWeb)
  25289. /QhjSys/QueryAgreementChangeLog:
  25290. get:
  25291. parameters:
  25292. - description: 协议ID
  25293. in: query
  25294. name: agreementid
  25295. type: integer
  25296. - description: 协议版本号
  25297. in: query
  25298. name: agreementversion
  25299. type: integer
  25300. - description: 协议类型 - 1:注册 2:登录 3:交易
  25301. in: query
  25302. name: agreementtype
  25303. type: integer
  25304. - description: 协议编号(模糊匹配)
  25305. in: query
  25306. name: agreementno
  25307. type: string
  25308. - description: 协议名称(模糊匹配)
  25309. in: query
  25310. name: agreementname
  25311. type: string
  25312. produces:
  25313. - application/json
  25314. responses:
  25315. "200":
  25316. description: OK
  25317. schema:
  25318. items:
  25319. $ref: '#/definitions/models.QhjAgreementChangeLog'
  25320. type: array
  25321. "500":
  25322. description: Internal Server Error
  25323. schema:
  25324. $ref: '#/definitions/app.Response'
  25325. security:
  25326. - ApiKeyAuth: []
  25327. summary: 查询协议配置变更流水
  25328. tags:
  25329. - 大连千海金(协议和签约信息)
  25330. /QhjSys/QueryAgreementConfig:
  25331. get:
  25332. parameters:
  25333. - description: 协议ID
  25334. in: query
  25335. name: agreementid
  25336. type: integer
  25337. - description: 协议版本号
  25338. in: query
  25339. name: agreementversion
  25340. type: integer
  25341. - description: 协议类型 - 1:注册 2:登录 3:交易
  25342. in: query
  25343. name: agreementtype
  25344. type: integer
  25345. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  25346. in: query
  25347. name: isvalid
  25348. type: integer
  25349. - description: 协议编号(模糊匹配)
  25350. in: query
  25351. name: agreementno
  25352. type: string
  25353. - description: 协议名称(模糊匹配)
  25354. in: query
  25355. name: agreementname
  25356. type: string
  25357. produces:
  25358. - application/json
  25359. responses:
  25360. "200":
  25361. description: OK
  25362. schema:
  25363. items:
  25364. $ref: '#/definitions/models.QhjAgreementConfig'
  25365. type: array
  25366. "500":
  25367. description: Internal Server Error
  25368. schema:
  25369. $ref: '#/definitions/app.Response'
  25370. security:
  25371. - ApiKeyAuth: []
  25372. summary: 查询协议配置
  25373. tags:
  25374. - 大连千海金(协议和签约信息)
  25375. /QhjSys/QueryCustomerSignStatus:
  25376. get:
  25377. parameters:
  25378. - description: 客户ID
  25379. in: query
  25380. name: userid
  25381. type: integer
  25382. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  25383. in: query
  25384. name: nodetype
  25385. type: integer
  25386. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25387. in: query
  25388. name: goodsid
  25389. type: integer
  25390. - description: 创建交易日(yyyyMMdd)
  25391. in: query
  25392. name: tradedate
  25393. type: string
  25394. - description: 用户名称(模糊匹配)
  25395. in: query
  25396. name: username
  25397. type: string
  25398. produces:
  25399. - application/json
  25400. responses:
  25401. "200":
  25402. description: OK
  25403. schema:
  25404. items:
  25405. $ref: '#/definitions/models.QhjCustomerSignStatus'
  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. /QhjSys/QueryNodeAgreementConfig:
  25417. get:
  25418. parameters:
  25419. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  25420. in: query
  25421. name: configid
  25422. type: integer
  25423. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25424. in: query
  25425. name: nodetype
  25426. type: integer
  25427. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25428. in: query
  25429. name: goodsid
  25430. type: integer
  25431. - description: 协议ID
  25432. in: query
  25433. name: agreementid
  25434. type: integer
  25435. - description: 协议类型 - 1:注册 2:登录 3:交易
  25436. in: query
  25437. name: agreementtype
  25438. type: integer
  25439. - description: 协议版本号
  25440. in: query
  25441. name: agreementversion
  25442. type: integer
  25443. - description: 协议编号(模糊匹配)
  25444. in: query
  25445. name: agreementno
  25446. type: string
  25447. - description: 协议名称(模糊匹配)
  25448. in: query
  25449. name: agreementname
  25450. type: string
  25451. produces:
  25452. - application/json
  25453. responses:
  25454. "200":
  25455. description: OK
  25456. schema:
  25457. items:
  25458. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  25459. type: array
  25460. "500":
  25461. description: Internal Server Error
  25462. schema:
  25463. $ref: '#/definitions/app.Response'
  25464. security:
  25465. - ApiKeyAuth: []
  25466. summary: 查询协议节点配置
  25467. tags:
  25468. - 大连千海金(协议和签约信息)
  25469. /QhjSys/QueryQhjCustomerSignLog:
  25470. get:
  25471. parameters:
  25472. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  25473. in: query
  25474. name: logid
  25475. type: integer
  25476. - description: 客户ID
  25477. in: query
  25478. name: userid
  25479. type: integer
  25480. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25481. in: query
  25482. name: nodetype
  25483. type: integer
  25484. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25485. in: query
  25486. name: goodsid
  25487. type: integer
  25488. - description: 协议ID
  25489. in: query
  25490. name: agreementid
  25491. type: integer
  25492. - description: 用户名称(模糊匹配)
  25493. in: query
  25494. name: username
  25495. type: string
  25496. - description: 协议编号(模糊匹配)
  25497. in: query
  25498. name: agreementno
  25499. type: string
  25500. - description: 协议名称(模糊匹配)
  25501. in: query
  25502. name: agreementname
  25503. type: string
  25504. produces:
  25505. - application/json
  25506. responses:
  25507. "200":
  25508. description: OK
  25509. schema:
  25510. items:
  25511. $ref: '#/definitions/models.QhjCustomerSignLog'
  25512. type: array
  25513. "500":
  25514. description: Internal Server Error
  25515. schema:
  25516. $ref: '#/definitions/app.Response'
  25517. security:
  25518. - ApiKeyAuth: []
  25519. summary: 查询客户协议签约流水
  25520. tags:
  25521. - 大连千海金(协议和签约信息)
  25522. /QhjSys/QueryUserNodeCfgAndStatus:
  25523. get:
  25524. parameters:
  25525. - description: 客户ID
  25526. in: query
  25527. name: userid
  25528. type: integer
  25529. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  25530. in: query
  25531. name: configid
  25532. type: integer
  25533. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25534. in: query
  25535. name: nodetype
  25536. type: string
  25537. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25538. in: query
  25539. name: goodsid
  25540. type: integer
  25541. - description: 协议ID
  25542. in: query
  25543. name: agreementid
  25544. type: integer
  25545. - description: 协议类型 - 1:注册 2:登录 3:交易
  25546. in: query
  25547. name: agreementtype
  25548. type: integer
  25549. - description: 协议版本号
  25550. in: query
  25551. name: agreementversion
  25552. type: integer
  25553. - description: 协议编号(模糊匹配)
  25554. in: query
  25555. name: agreementno
  25556. type: string
  25557. - description: 协议名称(模糊匹配)
  25558. in: query
  25559. name: agreementname
  25560. type: string
  25561. produces:
  25562. - application/json
  25563. responses:
  25564. "200":
  25565. description: OK
  25566. schema:
  25567. items:
  25568. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  25569. type: array
  25570. "500":
  25571. description: Internal Server Error
  25572. schema:
  25573. $ref: '#/definitions/app.Response'
  25574. security:
  25575. - ApiKeyAuth: []
  25576. summary: 查询用户协议节点配置和状态
  25577. tags:
  25578. - 大连千海金(协议和签约信息)
  25579. /Quote/QueryHistoryDatas:
  25580. get:
  25581. parameters:
  25582. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线'
  25583. in: query
  25584. name: cycleType
  25585. required: true
  25586. type: integer
  25587. - description: 商品代码
  25588. in: query
  25589. name: goodsCode
  25590. required: true
  25591. type: string
  25592. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  25593. in: query
  25594. name: startTime
  25595. type: string
  25596. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  25597. in: query
  25598. name: endTime
  25599. type: string
  25600. - description: 条数
  25601. in: query
  25602. name: count
  25603. type: integer
  25604. - description: 是否按时间顺序排序(默认为时间倒序排序)
  25605. in: query
  25606. name: isAsc
  25607. type: boolean
  25608. produces:
  25609. - application/json
  25610. responses:
  25611. "200":
  25612. description: OK
  25613. schema:
  25614. $ref: '#/definitions/quote.HistoryData'
  25615. "500":
  25616. description: Internal Server Error
  25617. schema:
  25618. $ref: '#/definitions/app.Response'
  25619. security:
  25620. - ApiKeyAuth: []
  25621. summary: 查询行情历史数据
  25622. tags:
  25623. - 行情服务
  25624. /Quote/QueryHistoryTikDatas:
  25625. get:
  25626. parameters:
  25627. - description: 商品代码
  25628. in: query
  25629. name: goodsCode
  25630. required: true
  25631. type: string
  25632. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  25633. in: query
  25634. name: startTime
  25635. type: string
  25636. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  25637. in: query
  25638. name: endTime
  25639. type: string
  25640. - description: 条数
  25641. in: query
  25642. name: count
  25643. type: integer
  25644. - description: 是否按时间顺序排序(默认为时间倒序排序)
  25645. in: query
  25646. name: isAsc
  25647. type: boolean
  25648. produces:
  25649. - application/json
  25650. responses:
  25651. "200":
  25652. description: OK
  25653. schema:
  25654. $ref: '#/definitions/quote.HistoryTikData'
  25655. "500":
  25656. description: Internal Server Error
  25657. schema:
  25658. $ref: '#/definitions/app.Response'
  25659. security:
  25660. - ApiKeyAuth: []
  25661. summary: 查询行情Tik数据
  25662. tags:
  25663. - 行情服务
  25664. /Quote/QueryQuoteDay:
  25665. get:
  25666. parameters:
  25667. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  25668. in: query
  25669. name: goodsCodes
  25670. required: true
  25671. type: string
  25672. produces:
  25673. - application/json
  25674. responses:
  25675. "200":
  25676. description: OK
  25677. schema:
  25678. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  25679. "500":
  25680. description: Internal Server Error
  25681. schema:
  25682. $ref: '#/definitions/app.Response'
  25683. security:
  25684. - ApiKeyAuth: []
  25685. summary: 获取商品盘面信息
  25686. tags:
  25687. - 行情服务
  25688. /Quote/QueryTSData:
  25689. get:
  25690. parameters:
  25691. - description: 商品代码
  25692. in: query
  25693. name: goodsCode
  25694. required: true
  25695. type: string
  25696. produces:
  25697. - application/json
  25698. responses:
  25699. "200":
  25700. description: OK
  25701. schema:
  25702. $ref: '#/definitions/quote.QueryTSDataRsp'
  25703. "500":
  25704. description: Internal Server Error
  25705. schema:
  25706. $ref: '#/definitions/app.Response'
  25707. security:
  25708. - ApiKeyAuth: []
  25709. summary: 分时图数据查询
  25710. tags:
  25711. - 行情服务
  25712. /SZDZ/QueryConvertConfig:
  25713. get:
  25714. parameters:
  25715. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)
  25716. in: query
  25717. name: convertType
  25718. type: integer
  25719. - description: 外部商品代码[JD\PD]
  25720. in: query
  25721. name: outerGoodsCode
  25722. type: string
  25723. - description: 内部商品ID列表[交易],格式:1,2,3
  25724. in: query
  25725. name: innerGoodsIDs
  25726. type: string
  25727. produces:
  25728. - application/json
  25729. responses:
  25730. "200":
  25731. description: OK
  25732. schema:
  25733. $ref: '#/definitions/models.Szdz3convertconfig'
  25734. "500":
  25735. description: Internal Server Error
  25736. schema:
  25737. $ref: '#/definitions/app.Response'
  25738. security:
  25739. - ApiKeyAuth: []
  25740. summary: 查询交易系统转换设置
  25741. tags:
  25742. - 定制【尚志大宗】
  25743. /SZDZ/QueryConvertLog:
  25744. get:
  25745. parameters:
  25746. - description: 资金账户 - 格式:1,2,3
  25747. in: query
  25748. name: accountID
  25749. required: true
  25750. type: string
  25751. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  25752. in: query
  25753. name: startDate
  25754. type: string
  25755. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  25756. in: query
  25757. name: endDate
  25758. type: string
  25759. produces:
  25760. - application/json
  25761. responses:
  25762. "200":
  25763. description: OK
  25764. schema:
  25765. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  25766. "500":
  25767. description: Internal Server Error
  25768. schema:
  25769. $ref: '#/definitions/app.Response'
  25770. security:
  25771. - ApiKeyAuth: []
  25772. summary: 交易系统转换流水查询
  25773. tags:
  25774. - 定制【尚志大宗】
  25775. /SZDZ/QueryGoodsPickup:
  25776. get:
  25777. parameters:
  25778. - description: 资金账户 - 格式:1,2,3
  25779. in: query
  25780. name: accountID
  25781. required: true
  25782. type: string
  25783. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  25784. in: query
  25785. name: takeOrderStatus
  25786. type: integer
  25787. produces:
  25788. - application/json
  25789. responses:
  25790. "200":
  25791. description: OK
  25792. schema:
  25793. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  25794. "500":
  25795. description: Internal Server Error
  25796. schema:
  25797. $ref: '#/definitions/app.Response'
  25798. security:
  25799. - ApiKeyAuth: []
  25800. summary: 商品提货单查询
  25801. tags:
  25802. - 定制【尚志大宗】
  25803. /SZDZ/QueryRecieptOrder:
  25804. get:
  25805. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  25806. parameters:
  25807. - description: 页码
  25808. in: query
  25809. name: page
  25810. type: integer
  25811. - description: 每页条数
  25812. in: query
  25813. name: pagesize
  25814. type: integer
  25815. - description: 商品ID
  25816. in: query
  25817. name: goodsID
  25818. required: true
  25819. type: integer
  25820. - description: 所属账户名称
  25821. in: query
  25822. name: accountName
  25823. type: string
  25824. - description: 市场ID
  25825. in: query
  25826. name: marketID
  25827. type: integer
  25828. - description: 方向 - 0:买 1:卖
  25829. in: query
  25830. name: buyorsell
  25831. required: true
  25832. type: integer
  25833. produces:
  25834. - application/json
  25835. responses:
  25836. "200":
  25837. description: OK
  25838. schema:
  25839. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  25840. "500":
  25841. description: Internal Server Error
  25842. schema:
  25843. $ref: '#/definitions/app.Response'
  25844. security:
  25845. - ApiKeyAuth: []
  25846. summary: 点选挂牌委托单据查询(摘牌大厅)
  25847. tags:
  25848. - 定制【尚志大宗】
  25849. /SZDZ/QuerySZDZTradePosition:
  25850. get:
  25851. parameters:
  25852. - description: 资金账户
  25853. in: query
  25854. name: accountID
  25855. required: true
  25856. type: integer
  25857. produces:
  25858. - application/json
  25859. responses:
  25860. "200":
  25861. description: OK
  25862. schema:
  25863. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  25864. "500":
  25865. description: Internal Server Error
  25866. schema:
  25867. $ref: '#/definitions/app.Response'
  25868. security:
  25869. - ApiKeyAuth: []
  25870. summary: 持仓汇总查询(尚志大宗)
  25871. tags:
  25872. - 定制【尚志大宗】
  25873. /SZDZ/SearchWhite:
  25874. get:
  25875. parameters:
  25876. - description: 用户ID
  25877. in: query
  25878. name: userID
  25879. required: true
  25880. type: integer
  25881. produces:
  25882. - application/json
  25883. responses:
  25884. "200":
  25885. description: OK
  25886. schema:
  25887. $ref: '#/definitions/models.Szdz3searchwhitelist'
  25888. "500":
  25889. description: Internal Server Error
  25890. schema:
  25891. $ref: '#/definitions/app.Response'
  25892. security:
  25893. - ApiKeyAuth: []
  25894. summary: 搜索白名单
  25895. tags:
  25896. - 定制【尚志大宗】
  25897. /Search/SearchGoodses:
  25898. get:
  25899. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  25900. parameters:
  25901. - description: 检索内容
  25902. in: query
  25903. name: content
  25904. required: true
  25905. type: string
  25906. - description: 交易模式,格式:1,2,3
  25907. in: query
  25908. name: tradeModes
  25909. type: string
  25910. produces:
  25911. - application/json
  25912. responses:
  25913. "200":
  25914. description: OK
  25915. schema:
  25916. $ref: '#/definitions/models.SearchGoods'
  25917. "500":
  25918. description: Internal Server Error
  25919. schema:
  25920. $ref: '#/definitions/app.Response'
  25921. summary: 检索商品信息
  25922. tags:
  25923. - 检索服务
  25924. /TaAccount/GetTaAccounts:
  25925. get:
  25926. parameters:
  25927. - description: 登录账户
  25928. in: query
  25929. name: loginID
  25930. required: true
  25931. type: integer
  25932. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  25933. in: query
  25934. name: taAccountType
  25935. type: integer
  25936. produces:
  25937. - application/json
  25938. responses:
  25939. "200":
  25940. description: OK
  25941. schema:
  25942. $ref: '#/definitions/models.Taaccount'
  25943. "500":
  25944. description: Internal Server Error
  25945. schema:
  25946. $ref: '#/definitions/app.Response'
  25947. security:
  25948. - ApiKeyAuth: []
  25949. summary: 获取资金账户信息
  25950. tags:
  25951. - 资金账户
  25952. /TaAccount/QueryAmountLog:
  25953. get:
  25954. parameters:
  25955. - description: 页码
  25956. in: query
  25957. name: page
  25958. type: integer
  25959. - description: 每页条数
  25960. in: query
  25961. name: pagesize
  25962. type: integer
  25963. - description: 资金账户 - 格式:1,2,3
  25964. in: query
  25965. name: accountID
  25966. required: true
  25967. type: string
  25968. - description: 资金操作类型 - 格式:1,2,3
  25969. in: query
  25970. name: OperateType
  25971. type: string
  25972. produces:
  25973. - application/json
  25974. responses:
  25975. "200":
  25976. description: OK
  25977. schema:
  25978. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  25979. "500":
  25980. description: Internal Server Error
  25981. schema:
  25982. $ref: '#/definitions/app.Response'
  25983. security:
  25984. - ApiKeyAuth: []
  25985. summary: 资金流水查询(当前)
  25986. tags:
  25987. - 资金账户
  25988. /TaAccount/QueryHisAmountLog:
  25989. get:
  25990. parameters:
  25991. - description: 页码
  25992. in: query
  25993. name: page
  25994. type: integer
  25995. - description: 每页条数
  25996. in: query
  25997. name: pagesize
  25998. type: integer
  25999. - description: 资金账户 - 格式:1,2,3
  26000. in: query
  26001. name: accountID
  26002. required: true
  26003. type: string
  26004. - description: 资金操作类型 - 格式:1,2,3
  26005. in: query
  26006. name: OperateType
  26007. type: string
  26008. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  26009. in: query
  26010. name: startDate
  26011. type: string
  26012. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  26013. in: query
  26014. name: endDate
  26015. type: string
  26016. produces:
  26017. - application/json
  26018. responses:
  26019. "200":
  26020. description: OK
  26021. schema:
  26022. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  26023. "500":
  26024. description: Internal Server Error
  26025. schema:
  26026. $ref: '#/definitions/app.Response'
  26027. security:
  26028. - ApiKeyAuth: []
  26029. summary: 资金流水查询(历史)
  26030. tags:
  26031. - 资金账户
  26032. /Tjmd/QueryQuoteGoodsList:
  26033. get:
  26034. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  26035. parameters:
  26036. - description: 用户类型
  26037. in: query
  26038. name: usertype
  26039. required: true
  26040. type: integer
  26041. - description: 市场id, 格式 1,2,3
  26042. in: query
  26043. name: marketids
  26044. type: string
  26045. - description: 商品组id
  26046. in: query
  26047. name: goodsgroupid
  26048. type: integer
  26049. - description: 商品id
  26050. in: query
  26051. name: goodsid
  26052. type: integer
  26053. produces:
  26054. - application/json
  26055. responses:
  26056. "200":
  26057. description: OK
  26058. schema:
  26059. items:
  26060. $ref: '#/definitions/models.TjmdQuoteGoods'
  26061. type: array
  26062. "500":
  26063. description: Internal Server Error
  26064. schema:
  26065. $ref: '#/definitions/app.Response'
  26066. security:
  26067. - ApiKeyAuth: []
  26068. summary: 查询掉期报价列表
  26069. tags:
  26070. - 天津麦顿
  26071. /Tjmd/QueryTjmdMarketSection:
  26072. get:
  26073. produces:
  26074. - application/json
  26075. responses:
  26076. "200":
  26077. description: OK
  26078. schema:
  26079. items:
  26080. $ref: '#/definitions/models.TjmdMarketSection'
  26081. type: array
  26082. "500":
  26083. description: Internal Server Error
  26084. schema:
  26085. $ref: '#/definitions/app.Response'
  26086. security:
  26087. - ApiKeyAuth: []
  26088. summary: 查询市场板块
  26089. tags:
  26090. - 天津麦顿
  26091. /Tjmd/QueryTjmdTodayAccountMargin:
  26092. get:
  26093. parameters:
  26094. - description: 市场id
  26095. in: query
  26096. name: marketid
  26097. type: string
  26098. - description: 商品id
  26099. in: query
  26100. name: goodsid
  26101. type: string
  26102. - description: 资金账号
  26103. in: query
  26104. name: accountid
  26105. type: string
  26106. produces:
  26107. - application/json
  26108. responses:
  26109. "200":
  26110. description: OK
  26111. schema:
  26112. items:
  26113. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  26114. type: array
  26115. "500":
  26116. description: Internal Server Error
  26117. schema:
  26118. $ref: '#/definitions/app.Response'
  26119. security:
  26120. - ApiKeyAuth: []
  26121. summary: 查询今日账户保证金配置
  26122. tags:
  26123. - 天津麦顿
  26124. /Tjmd/QueryTjmdTradeOrderDetail:
  26125. get:
  26126. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  26127. parameters:
  26128. - description: 页码
  26129. in: query
  26130. name: page
  26131. type: integer
  26132. - description: 每页条数
  26133. in: query
  26134. name: pagesize
  26135. type: integer
  26136. - description: 用户id
  26137. in: query
  26138. name: userid
  26139. required: true
  26140. type: integer
  26141. - description: 用户类型
  26142. in: query
  26143. name: usertype
  26144. required: true
  26145. type: integer
  26146. - description: 市场id, 格式 1,2,3
  26147. in: query
  26148. name: marketids
  26149. type: string
  26150. - description: 商品id
  26151. in: query
  26152. name: goodsid
  26153. required: true
  26154. type: integer
  26155. - description: 买卖方向 0-买 1-卖
  26156. in: query
  26157. name: buyorsell
  26158. required: true
  26159. type: integer
  26160. produces:
  26161. - application/json
  26162. responses:
  26163. "200":
  26164. description: OK
  26165. schema:
  26166. items:
  26167. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  26168. type: array
  26169. "500":
  26170. description: Internal Server Error
  26171. schema:
  26172. $ref: '#/definitions/app.Response'
  26173. security:
  26174. - ApiKeyAuth: []
  26175. summary: 查询掉期买卖大厅
  26176. tags:
  26177. - 天津麦顿
  26178. /Tjmd/QueryTjmdTransferApply:
  26179. get:
  26180. parameters:
  26181. - description: 类型 1-我的申请 2-对方申请
  26182. in: query
  26183. name: applytype
  26184. required: true
  26185. type: integer
  26186. - description: 市场id, 格式 1,2,3
  26187. in: query
  26188. name: marketids
  26189. type: string
  26190. - description: 资金账号, 格式 25000000001,25000000003
  26191. in: query
  26192. name: accountids
  26193. type: string
  26194. - description: 开始交易日(yyyymmdd)
  26195. in: query
  26196. name: begindate
  26197. type: string
  26198. - description: 结束交易日(yyyymmdd)
  26199. in: query
  26200. name: enddate
  26201. type: string
  26202. produces:
  26203. - application/json
  26204. responses:
  26205. "200":
  26206. description: OK
  26207. schema:
  26208. items:
  26209. $ref: '#/definitions/models.TjmdTransferApply'
  26210. type: array
  26211. "500":
  26212. description: Internal Server Error
  26213. schema:
  26214. $ref: '#/definitions/app.Response'
  26215. security:
  26216. - ApiKeyAuth: []
  26217. summary: 查询掉期协议单
  26218. tags:
  26219. - 天津麦顿
  26220. /Trade/QueryRecieptOrder:
  26221. get:
  26222. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  26223. parameters:
  26224. - description: 页码
  26225. in: query
  26226. name: page
  26227. type: integer
  26228. - description: 每页条数
  26229. in: query
  26230. name: pagesize
  26231. type: integer
  26232. - description: 商品ID
  26233. in: query
  26234. name: goodsID
  26235. required: true
  26236. type: integer
  26237. - description: 所属账户名称
  26238. in: query
  26239. name: accountName
  26240. type: string
  26241. - description: 市场ID
  26242. in: query
  26243. name: marketID
  26244. type: integer
  26245. - description: 方向 - 0:买 1:卖
  26246. in: query
  26247. name: buyorsell
  26248. required: true
  26249. type: integer
  26250. produces:
  26251. - application/json
  26252. responses:
  26253. "200":
  26254. description: OK
  26255. schema:
  26256. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  26257. "500":
  26258. description: Internal Server Error
  26259. schema:
  26260. $ref: '#/definitions/app.Response'
  26261. security:
  26262. - ApiKeyAuth: []
  26263. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  26264. tags:
  26265. - 通用交易
  26266. /User/AddMessageBoard:
  26267. post:
  26268. parameters:
  26269. - description: 用户ID
  26270. in: query
  26271. name: userID
  26272. required: true
  26273. type: integer
  26274. - description: 留言信息
  26275. in: query
  26276. name: message
  26277. required: true
  26278. type: string
  26279. - description: 联系电话
  26280. in: query
  26281. name: contactNum
  26282. required: true
  26283. type: string
  26284. produces:
  26285. - application/json
  26286. responses:
  26287. "200":
  26288. description: OK
  26289. schema:
  26290. $ref: '#/definitions/app.Response'
  26291. "500":
  26292. description: Internal Server Error
  26293. schema:
  26294. $ref: '#/definitions/app.Response'
  26295. security:
  26296. - ApiKeyAuth: []
  26297. summary: 添加用户留言板信息
  26298. tags:
  26299. - 用户信息
  26300. /User/AddUserFavoriteGoods:
  26301. post:
  26302. parameters:
  26303. - description: 用户ID
  26304. in: query
  26305. name: userID
  26306. required: true
  26307. type: integer
  26308. - description: 商品ID
  26309. in: query
  26310. name: goodsID
  26311. required: true
  26312. type: integer
  26313. produces:
  26314. - application/json
  26315. responses:
  26316. "200":
  26317. description: OK
  26318. schema:
  26319. $ref: '#/definitions/app.Response'
  26320. "500":
  26321. description: Internal Server Error
  26322. schema:
  26323. $ref: '#/definitions/app.Response'
  26324. security:
  26325. - ApiKeyAuth: []
  26326. summary: 添加用户商品收藏信息
  26327. tags:
  26328. - 用户信息
  26329. /User/GetLoginID:
  26330. get:
  26331. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  26332. parameters:
  26333. - description: 登录代码
  26334. in: query
  26335. name: username
  26336. required: true
  26337. type: string
  26338. produces:
  26339. - application/json
  26340. responses:
  26341. "200":
  26342. description: OK
  26343. schema:
  26344. $ref: '#/definitions/app.Response'
  26345. "500":
  26346. description: Internal Server Error
  26347. schema:
  26348. $ref: '#/definitions/app.Response'
  26349. summary: 获取登录ID
  26350. tags:
  26351. - 用户信息
  26352. /User/GetUserAccount:
  26353. get:
  26354. parameters:
  26355. - description: 用户ID
  26356. in: query
  26357. name: userID
  26358. required: true
  26359. type: integer
  26360. produces:
  26361. - application/json
  26362. responses:
  26363. "200":
  26364. description: OK
  26365. schema:
  26366. $ref: '#/definitions/models.Useraccount'
  26367. "500":
  26368. description: Internal Server Error
  26369. schema:
  26370. $ref: '#/definitions/app.Response'
  26371. security:
  26372. - ApiKeyAuth: []
  26373. summary: 获取用户账号信息
  26374. tags:
  26375. - 用户信息
  26376. /User/GetUserAuthStatus:
  26377. get:
  26378. parameters:
  26379. - description: 用户ID
  26380. in: query
  26381. name: userID
  26382. required: true
  26383. type: integer
  26384. produces:
  26385. - application/json
  26386. responses:
  26387. "200":
  26388. description: OK
  26389. schema:
  26390. $ref: '#/definitions/app.Response'
  26391. "500":
  26392. description: Internal Server Error
  26393. schema:
  26394. $ref: '#/definitions/app.Response'
  26395. security:
  26396. - ApiKeyAuth: []
  26397. summary: 获取用户实名认证状态
  26398. tags:
  26399. - 用户信息
  26400. /User/LoginQuery:
  26401. get:
  26402. parameters:
  26403. - description: 登录账号
  26404. in: query
  26405. name: loginID
  26406. required: true
  26407. type: integer
  26408. produces:
  26409. - application/json
  26410. responses:
  26411. "200":
  26412. description: OK
  26413. schema:
  26414. $ref: '#/definitions/user.LoginQueryRsp'
  26415. "500":
  26416. description: Internal Server Error
  26417. schema:
  26418. $ref: '#/definitions/app.Response'
  26419. security:
  26420. - ApiKeyAuth: []
  26421. summary: 账户登录后信息查询
  26422. tags:
  26423. - 用户信息
  26424. /User/QueryMessageBoard:
  26425. get:
  26426. parameters:
  26427. - description: 用户ID
  26428. in: query
  26429. name: userID
  26430. required: true
  26431. type: integer
  26432. produces:
  26433. - application/json
  26434. responses:
  26435. "200":
  26436. description: OK
  26437. schema:
  26438. $ref: '#/definitions/models.Messageboard'
  26439. "500":
  26440. description: Internal Server Error
  26441. schema:
  26442. $ref: '#/definitions/app.Response'
  26443. security:
  26444. - ApiKeyAuth: []
  26445. summary: 获取用户留言板信息
  26446. tags:
  26447. - 用户信息
  26448. /User/QueryUserFavoriteGoodses:
  26449. get:
  26450. parameters:
  26451. - description: 用户ID
  26452. in: query
  26453. name: userID
  26454. required: true
  26455. type: integer
  26456. produces:
  26457. - application/json
  26458. responses:
  26459. "200":
  26460. description: OK
  26461. schema:
  26462. $ref: '#/definitions/models.Userfavoritegoods'
  26463. "500":
  26464. description: Internal Server Error
  26465. schema:
  26466. $ref: '#/definitions/app.Response'
  26467. security:
  26468. - ApiKeyAuth: []
  26469. summary: 获取用户商品收藏信息
  26470. tags:
  26471. - 用户信息
  26472. /User/QueryUserInfo:
  26473. get:
  26474. parameters:
  26475. - description: 用户ID
  26476. in: query
  26477. name: userID
  26478. required: true
  26479. type: integer
  26480. - description: 是否解密
  26481. in: query
  26482. name: isDecrypt
  26483. type: boolean
  26484. produces:
  26485. - application/json
  26486. responses:
  26487. "200":
  26488. description: OK
  26489. schema:
  26490. $ref: '#/definitions/models.Userinfo'
  26491. "500":
  26492. description: Internal Server Error
  26493. schema:
  26494. $ref: '#/definitions/app.Response'
  26495. security:
  26496. - ApiKeyAuth: []
  26497. summary: 获取用户信息
  26498. tags:
  26499. - 用户信息
  26500. /User/QueryUserReferNum:
  26501. get:
  26502. parameters:
  26503. - description: 用户ID
  26504. in: query
  26505. name: userID
  26506. required: true
  26507. type: integer
  26508. produces:
  26509. - application/json
  26510. responses:
  26511. "200":
  26512. description: OK
  26513. schema:
  26514. $ref: '#/definitions/app.Response'
  26515. "500":
  26516. description: Internal Server Error
  26517. schema:
  26518. $ref: '#/definitions/app.Response'
  26519. summary: 获取用户邀请码
  26520. tags:
  26521. - 用户信息
  26522. /User/RemoveUserFavoriteGoods:
  26523. post:
  26524. parameters:
  26525. - description: 用户ID
  26526. in: query
  26527. name: userID
  26528. required: true
  26529. type: integer
  26530. - description: 商品ID
  26531. in: query
  26532. name: goodsID
  26533. required: true
  26534. type: integer
  26535. produces:
  26536. - application/json
  26537. responses:
  26538. "200":
  26539. description: OK
  26540. schema:
  26541. $ref: '#/definitions/app.Response'
  26542. "500":
  26543. description: Internal Server Error
  26544. schema:
  26545. $ref: '#/definitions/app.Response'
  26546. security:
  26547. - ApiKeyAuth: []
  26548. summary: 移除用户商品收藏信息
  26549. tags:
  26550. - 用户信息
  26551. /User/UpdateUserAccountStatus:
  26552. post:
  26553. parameters:
  26554. - description: 用户ID
  26555. in: query
  26556. name: userID
  26557. required: true
  26558. type: integer
  26559. - description: 账户状态 - 4:正常 6:注销(停用)
  26560. in: query
  26561. name: accountStatus
  26562. required: true
  26563. type: integer
  26564. produces:
  26565. - application/json
  26566. responses:
  26567. "200":
  26568. description: OK
  26569. schema:
  26570. $ref: '#/definitions/app.Response'
  26571. "500":
  26572. description: Internal Server Error
  26573. schema:
  26574. $ref: '#/definitions/app.Response'
  26575. security:
  26576. - ApiKeyAuth: []
  26577. summary: 更新用户状态
  26578. tags:
  26579. - 用户信息
  26580. /WRTrade/GetAllDeliveryGoods:
  26581. get:
  26582. produces:
  26583. - application/json
  26584. - application/json
  26585. responses:
  26586. "200":
  26587. description: OK
  26588. schema:
  26589. $ref: '#/definitions/app.Response'
  26590. "500":
  26591. description: Internal Server Error
  26592. schema:
  26593. $ref: '#/definitions/app.Response'
  26594. security:
  26595. - ApiKeyAuth: []
  26596. - ApiKeyAuth: []
  26597. summary: 获取带仓单分类的种类信息
  26598. tags:
  26599. - 仓单贸易
  26600. - 仓单贸易
  26601. /WrTrade2/QueryDeliveryGoodsSection:
  26602. get:
  26603. produces:
  26604. - application/json
  26605. responses:
  26606. "200":
  26607. description: OK
  26608. schema:
  26609. items:
  26610. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  26611. type: array
  26612. "500":
  26613. description: Internal Server Error
  26614. schema:
  26615. $ref: '#/definitions/app.Response'
  26616. security:
  26617. - ApiKeyAuth: []
  26618. summary: 查询板块(分类)
  26619. tags:
  26620. - 仓单贸易v2
  26621. /WrTrade2/QueryFaProductDetail:
  26622. get:
  26623. description: 页面 买卖大厅 -> 选择融资方案
  26624. parameters:
  26625. - description: 仓单要素id
  26626. in: query
  26627. name: wrfactortypeid
  26628. required: true
  26629. type: integer
  26630. produces:
  26631. - application/json
  26632. responses:
  26633. "200":
  26634. description: OK
  26635. schema:
  26636. items:
  26637. $ref: '#/definitions/models.WrFAProductDetail'
  26638. type: array
  26639. "500":
  26640. description: Internal Server Error
  26641. schema:
  26642. $ref: '#/definitions/app.Response'
  26643. security:
  26644. - ApiKeyAuth: []
  26645. summary: 查询融资产品列表
  26646. tags:
  26647. - 仓单贸易v2
  26648. /WrTrade2/QueryFilterItem:
  26649. get:
  26650. parameters:
  26651. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  26652. in: query
  26653. name: itype
  26654. required: true
  26655. type: string
  26656. produces:
  26657. - application/json
  26658. responses:
  26659. "200":
  26660. description: OK
  26661. schema:
  26662. items:
  26663. $ref: '#/definitions/models.WrFilterItem'
  26664. type: array
  26665. "500":
  26666. description: Internal Server Error
  26667. schema:
  26668. $ref: '#/definitions/app.Response'
  26669. security:
  26670. - ApiKeyAuth: []
  26671. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  26672. tags:
  26673. - 仓单贸易v2
  26674. /WrTrade2/QueryFtDeliveryGoods:
  26675. get:
  26676. produces:
  26677. - application/json
  26678. responses:
  26679. "200":
  26680. description: OK
  26681. schema:
  26682. items:
  26683. $ref: '#/definitions/models.WrFtDeliveryGoods'
  26684. type: array
  26685. "500":
  26686. description: Internal Server Error
  26687. schema:
  26688. $ref: '#/definitions/app.Response'
  26689. security:
  26690. - ApiKeyAuth: []
  26691. summary: 查询品种品类筛选框列表
  26692. tags:
  26693. - 仓单贸易v2
  26694. /WrTrade2/QueryHoldLB:
  26695. get:
  26696. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  26697. parameters:
  26698. - description: 资金账号
  26699. in: query
  26700. name: accountid
  26701. required: true
  26702. type: integer
  26703. - description: 仓库id
  26704. in: query
  26705. name: warehouseid
  26706. type: integer
  26707. - description: 品种id
  26708. in: query
  26709. name: deliverygoodsid
  26710. type: integer
  26711. - description: 品类id
  26712. in: query
  26713. name: wrstandardid
  26714. type: integer
  26715. - description: 仓单要素id
  26716. in: query
  26717. name: wrfactortypeid
  26718. type: integer
  26719. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26720. in: query
  26721. name: dgitemname
  26722. type: string
  26723. produces:
  26724. - application/json
  26725. responses:
  26726. "200":
  26727. description: OK
  26728. schema:
  26729. items:
  26730. $ref: '#/definitions/models.WrHoldLB'
  26731. type: array
  26732. "500":
  26733. description: Internal Server Error
  26734. schema:
  26735. $ref: '#/definitions/app.Response'
  26736. security:
  26737. - ApiKeyAuth: []
  26738. summary: 查询仓单持有记录
  26739. tags:
  26740. - 仓单贸易v2
  26741. /WrTrade2/QueryOrderQuote:
  26742. get:
  26743. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录
  26744. parameters:
  26745. - description: 页码
  26746. in: query
  26747. name: page
  26748. type: integer
  26749. - description: 每页条数
  26750. in: query
  26751. name: pagesize
  26752. type: integer
  26753. - description: 仓单贸易市场id
  26754. in: query
  26755. name: marketid
  26756. type: integer
  26757. - description: 价格方式 - 1:固定价 2-浮动价
  26758. in: query
  26759. name: wrpricetype
  26760. required: true
  26761. type: integer
  26762. - description: 0:仓单预售 1:仓单贸易
  26763. in: query
  26764. name: haswr
  26765. type: integer
  26766. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26767. in: query
  26768. name: dgitemname
  26769. type: string
  26770. - description: 仓库id(筛选条件)
  26771. in: query
  26772. name: warehouseid
  26773. type: integer
  26774. - description: 品种id
  26775. in: query
  26776. name: deliverygoodsid
  26777. type: integer
  26778. - description: 品类id
  26779. in: query
  26780. name: wrstandardid
  26781. type: integer
  26782. - description: 仓单要素id
  26783. in: query
  26784. name: wrfactortypeid
  26785. type: integer
  26786. - description: 交收月(yyyy-mm) 仓单预售填写
  26787. in: query
  26788. name: deliverymonth
  26789. type: string
  26790. produces:
  26791. - application/json
  26792. responses:
  26793. "200":
  26794. description: OK
  26795. schema:
  26796. items:
  26797. $ref: '#/definitions/models.WrOrderQuote'
  26798. type: array
  26799. "500":
  26800. description: Internal Server Error
  26801. schema:
  26802. $ref: '#/definitions/app.Response'
  26803. security:
  26804. - ApiKeyAuth: []
  26805. summary: 查询大厅行情列表
  26806. tags:
  26807. - 仓单贸易v2
  26808. /WrTrade2/QueryOrderQuoteDetail:
  26809. get:
  26810. parameters:
  26811. - description: 页码
  26812. in: query
  26813. name: page
  26814. type: integer
  26815. - description: 每页条数
  26816. in: query
  26817. name: pagesize
  26818. type: integer
  26819. - description: 仓单贸易市场id
  26820. in: query
  26821. name: marketid
  26822. type: integer
  26823. - description: 价格方式 - 1:固定价 2-浮动价
  26824. in: query
  26825. name: wrpricetype
  26826. required: true
  26827. type: integer
  26828. - description: 0:仓单预售 1:仓单贸易
  26829. in: query
  26830. name: haswr
  26831. type: integer
  26832. - description: 仓单要素id
  26833. in: query
  26834. name: wrfactortypeid
  26835. required: true
  26836. type: integer
  26837. - description: 期货商品id(浮动价方式时填)
  26838. in: query
  26839. name: goodsid
  26840. type: integer
  26841. - description: 买卖方向 0-买 1-卖
  26842. in: query
  26843. name: buyorsell
  26844. required: true
  26845. type: integer
  26846. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  26847. in: query
  26848. name: deliverymonth
  26849. type: string
  26850. produces:
  26851. - application/json
  26852. responses:
  26853. "200":
  26854. description: OK
  26855. schema:
  26856. items:
  26857. $ref: '#/definitions/models.WrOrderQuoteDetail'
  26858. type: array
  26859. "500":
  26860. description: Internal Server Error
  26861. schema:
  26862. $ref: '#/definitions/app.Response'
  26863. security:
  26864. - ApiKeyAuth: []
  26865. summary: 查询买卖大厅
  26866. tags:
  26867. - 仓单贸易v2
  26868. /WrTrade2/QueryOrderQuoteMyq:
  26869. get:
  26870. parameters:
  26871. - description: 页码
  26872. in: query
  26873. name: page
  26874. type: integer
  26875. - description: 每页条数
  26876. in: query
  26877. name: pagesize
  26878. type: integer
  26879. - description: 用户id
  26880. in: query
  26881. name: userid
  26882. required: true
  26883. type: integer
  26884. - description: 仓单贸易市场id
  26885. in: query
  26886. name: marketid
  26887. type: integer
  26888. - description: 0:仓单预售 1:仓单贸易
  26889. in: query
  26890. name: haswr
  26891. type: integer
  26892. - description: 买卖方向 0-买 1-卖
  26893. in: query
  26894. name: buyorsell
  26895. required: true
  26896. type: integer
  26897. - description: 品种id
  26898. in: query
  26899. name: deliverygoodsid
  26900. type: integer
  26901. - description: 品类id
  26902. in: query
  26903. name: wrstandardid
  26904. type: integer
  26905. - description: 交收月(yyyy-mm) 仓单预售填写
  26906. in: query
  26907. name: deliverymonth
  26908. type: string
  26909. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26910. in: query
  26911. name: dgitemname
  26912. type: string
  26913. produces:
  26914. - application/json
  26915. responses:
  26916. "200":
  26917. description: OK
  26918. schema:
  26919. items:
  26920. $ref: '#/definitions/models.WrQuoteOrderMyq'
  26921. type: array
  26922. "500":
  26923. description: Internal Server Error
  26924. schema:
  26925. $ref: '#/definitions/app.Response'
  26926. security:
  26927. - ApiKeyAuth: []
  26928. summary: 查询贸易圈挂牌大厅
  26929. tags:
  26930. - 仓单贸易v2
  26931. /WrTrade2/QueryPerformancePlan:
  26932. get:
  26933. parameters:
  26934. - description: 用户id
  26935. in: query
  26936. name: userid
  26937. required: true
  26938. type: integer
  26939. - description: 买卖方向 0-买 1-卖
  26940. in: query
  26941. name: buyorsell
  26942. required: true
  26943. type: integer
  26944. produces:
  26945. - application/json
  26946. responses:
  26947. "200":
  26948. description: OK
  26949. schema:
  26950. items:
  26951. $ref: '#/definitions/models.WrPerformancePlan'
  26952. type: array
  26953. "500":
  26954. description: Internal Server Error
  26955. schema:
  26956. $ref: '#/definitions/app.Response'
  26957. security:
  26958. - ApiKeyAuth: []
  26959. summary: 查询履约信息
  26960. tags:
  26961. - 仓单贸易v2
  26962. /WrTrade2/QueryPermancePlanTmp:
  26963. get:
  26964. description: 返回指定用户的模板和公共模板(用户id为空)
  26965. parameters:
  26966. - description: 用户id
  26967. in: query
  26968. name: userid
  26969. type: integer
  26970. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  26971. in: query
  26972. name: tmptype
  26973. type: string
  26974. - description: 是否包含公共模板(用户id为空的) 1-包含
  26975. in: query
  26976. name: includepub
  26977. type: integer
  26978. produces:
  26979. - application/json
  26980. responses:
  26981. "200":
  26982. description: OK
  26983. schema:
  26984. items:
  26985. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  26986. type: array
  26987. "500":
  26988. description: Internal Server Error
  26989. schema:
  26990. $ref: '#/definitions/app.Response'
  26991. security:
  26992. - ApiKeyAuth: []
  26993. summary: 查询履约模板
  26994. tags:
  26995. - 仓单贸易v2
  26996. /WrTrade2/QuerySiteColumnDetail:
  26997. get:
  26998. parameters:
  26999. - description: 页码
  27000. in: query
  27001. name: page
  27002. type: integer
  27003. - description: 每页条数
  27004. in: query
  27005. name: pagesize
  27006. type: integer
  27007. produces:
  27008. - application/json
  27009. responses:
  27010. "200":
  27011. description: OK
  27012. schema:
  27013. items:
  27014. $ref: '#/definitions/models.WrSiteColumnDetail'
  27015. type: array
  27016. "500":
  27017. description: Internal Server Error
  27018. schema:
  27019. $ref: '#/definitions/app.Response'
  27020. security:
  27021. - ApiKeyAuth: []
  27022. summary: 查询资讯
  27023. tags:
  27024. - 仓单贸易v2
  27025. /WrTrade2/QuerySpotGroupTradeSum:
  27026. get:
  27027. produces:
  27028. - application/json
  27029. responses:
  27030. "200":
  27031. description: OK
  27032. schema:
  27033. items:
  27034. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  27035. type: array
  27036. "500":
  27037. description: Internal Server Error
  27038. schema:
  27039. $ref: '#/definitions/app.Response'
  27040. security:
  27041. - ApiKeyAuth: []
  27042. summary: 查询指数
  27043. tags:
  27044. - 仓单贸易v2
  27045. /WrTrade2/QuerySpotGroupTradeSumDetail:
  27046. get:
  27047. description: 查询的结果将会按日期 从小到大 排序
  27048. parameters:
  27049. - description: 现货商品id
  27050. in: query
  27051. name: deliverygoodsid
  27052. required: true
  27053. type: integer
  27054. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  27055. in: query
  27056. name: lastnum
  27057. type: integer
  27058. produces:
  27059. - application/json
  27060. responses:
  27061. "200":
  27062. description: OK
  27063. schema:
  27064. items:
  27065. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  27066. type: array
  27067. "500":
  27068. description: Internal Server Error
  27069. schema:
  27070. $ref: '#/definitions/app.Response'
  27071. security:
  27072. - ApiKeyAuth: []
  27073. summary: 查询指数详细(价格走势图)
  27074. tags:
  27075. - 仓单贸易v2
  27076. /WrTrade2/QueryWrAverageTradePrice:
  27077. get:
  27078. parameters:
  27079. - description: 页码
  27080. in: query
  27081. name: page
  27082. type: integer
  27083. - description: 每页条数
  27084. in: query
  27085. name: pagesize
  27086. type: integer
  27087. - description: 0:仓单预售 1:仓单贸易
  27088. in: query
  27089. name: haswr
  27090. required: true
  27091. type: integer
  27092. - description: 仓单要素id
  27093. in: query
  27094. name: wrfactortypeid
  27095. required: true
  27096. type: integer
  27097. produces:
  27098. - application/json
  27099. responses:
  27100. "200":
  27101. description: OK
  27102. schema:
  27103. items:
  27104. $ref: '#/definitions/models.WrAverageTradePrice'
  27105. type: array
  27106. "500":
  27107. description: Internal Server Error
  27108. schema:
  27109. $ref: '#/definitions/app.Response'
  27110. security:
  27111. - ApiKeyAuth: []
  27112. summary: 查询成交价(历史走势)
  27113. tags:
  27114. - 仓单贸易v2
  27115. /WrTrade2/QueryWrBsGoodsInfo:
  27116. get:
  27117. description: 合约交易/买卖大厅/详情
  27118. parameters:
  27119. - description: 商品id
  27120. in: query
  27121. name: goodsid
  27122. required: true
  27123. type: integer
  27124. produces:
  27125. - application/json
  27126. responses:
  27127. "200":
  27128. description: OK
  27129. schema:
  27130. items:
  27131. $ref: '#/definitions/models.WrBsGoodsInfo'
  27132. type: array
  27133. "500":
  27134. description: Internal Server Error
  27135. schema:
  27136. $ref: '#/definitions/app.Response'
  27137. security:
  27138. - ApiKeyAuth: []
  27139. summary: 查询合约交易买卖大厅详情
  27140. tags:
  27141. - 仓单贸易v2
  27142. /WrTrade2/QueryWrBuybackDetail:
  27143. get:
  27144. parameters:
  27145. - description: 融资合同id
  27146. in: query
  27147. name: scfcontractid
  27148. type: integer
  27149. produces:
  27150. - application/json
  27151. responses:
  27152. "200":
  27153. description: OK
  27154. schema:
  27155. items:
  27156. $ref: '#/definitions/models.WrBuybackDetail'
  27157. type: array
  27158. "500":
  27159. description: Internal Server Error
  27160. schema:
  27161. $ref: '#/definitions/app.Response'
  27162. security:
  27163. - ApiKeyAuth: []
  27164. summary: 查询仓单回购明细
  27165. tags:
  27166. - 仓单贸易v2
  27167. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  27168. get:
  27169. parameters:
  27170. - description: 资金账号
  27171. in: query
  27172. name: accountid
  27173. required: true
  27174. type: integer
  27175. - description: 商品id
  27176. in: query
  27177. name: goodsid
  27178. required: true
  27179. type: integer
  27180. produces:
  27181. - application/json
  27182. responses:
  27183. "200":
  27184. description: OK
  27185. schema:
  27186. items:
  27187. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  27188. type: array
  27189. "500":
  27190. description: Internal Server Error
  27191. schema:
  27192. $ref: '#/definitions/app.Response'
  27193. security:
  27194. - ApiKeyAuth: []
  27195. summary: 查询合约交收可点选仓单
  27196. tags:
  27197. - 仓单贸易v2
  27198. /WrTrade2/QueryWrDeliveryDetail:
  27199. get:
  27200. parameters:
  27201. - description: 用户id
  27202. in: query
  27203. name: userid
  27204. required: true
  27205. type: integer
  27206. - description: 资金账号id
  27207. in: query
  27208. name: accountid
  27209. type: integer
  27210. - description: 开始交易日(yyyymmdd)
  27211. in: query
  27212. name: begindate
  27213. type: string
  27214. - description: 结束交易日(yyyymmdd)
  27215. in: query
  27216. name: enddate
  27217. type: string
  27218. produces:
  27219. - application/json
  27220. responses:
  27221. "200":
  27222. description: OK
  27223. schema:
  27224. items:
  27225. $ref: '#/definitions/models.WrDeliveryDetail'
  27226. type: array
  27227. "500":
  27228. description: Internal Server Error
  27229. schema:
  27230. $ref: '#/definitions/app.Response'
  27231. security:
  27232. - ApiKeyAuth: []
  27233. summary: 查询交收
  27234. tags:
  27235. - 仓单贸易v2
  27236. /WrTrade2/QueryWrFactorTypeInfo:
  27237. get:
  27238. parameters:
  27239. - description: 仓单要素id
  27240. in: query
  27241. name: wrfactortypeid
  27242. required: true
  27243. type: integer
  27244. produces:
  27245. - application/json
  27246. responses:
  27247. "200":
  27248. description: OK
  27249. schema:
  27250. items:
  27251. $ref: '#/definitions/models.WrFactorTypeInfo'
  27252. type: array
  27253. "500":
  27254. description: Internal Server Error
  27255. schema:
  27256. $ref: '#/definitions/app.Response'
  27257. security:
  27258. - ApiKeyAuth: []
  27259. summary: 查询仓单要素详细信息
  27260. tags:
  27261. - 仓单贸易v2
  27262. /WrTrade2/QueryWrFactorTypeInfoEx:
  27263. get:
  27264. parameters:
  27265. - description: 仓单要素id
  27266. in: query
  27267. name: wrfactortypeid
  27268. required: true
  27269. type: integer
  27270. produces:
  27271. - application/json
  27272. responses:
  27273. "200":
  27274. description: OK
  27275. schema:
  27276. items:
  27277. $ref: '#/definitions/models.WrTypeItem'
  27278. type: array
  27279. "500":
  27280. description: Internal Server Error
  27281. schema:
  27282. $ref: '#/definitions/app.Response'
  27283. security:
  27284. - ApiKeyAuth: []
  27285. summary: 查询仓单要素详细信息列表项
  27286. tags:
  27287. - 仓单贸易v2
  27288. /WrTrade2/QueryWrFinanceBuyApply:
  27289. get:
  27290. description: 页面 融资信息+ / 申请单
  27291. parameters:
  27292. - description: 用户id
  27293. in: query
  27294. name: userid
  27295. required: true
  27296. type: integer
  27297. produces:
  27298. - application/json
  27299. responses:
  27300. "200":
  27301. description: OK
  27302. schema:
  27303. items:
  27304. $ref: '#/definitions/models.WrFinanceBuyApply'
  27305. type: array
  27306. "500":
  27307. description: Internal Server Error
  27308. schema:
  27309. $ref: '#/definitions/app.Response'
  27310. security:
  27311. - ApiKeyAuth: []
  27312. summary: 查询融资购买申请
  27313. tags:
  27314. - 仓单贸易v2
  27315. /WrTrade2/QueryWrFriendApply:
  27316. get:
  27317. parameters:
  27318. - description: 用户id
  27319. in: query
  27320. name: userid
  27321. required: true
  27322. type: integer
  27323. produces:
  27324. - application/json
  27325. responses:
  27326. "200":
  27327. description: OK
  27328. schema:
  27329. items:
  27330. $ref: '#/definitions/models.WrFriendApply'
  27331. type: array
  27332. "500":
  27333. description: Internal Server Error
  27334. schema:
  27335. $ref: '#/definitions/app.Response'
  27336. security:
  27337. - ApiKeyAuth: []
  27338. summary: 查询好友申请记录
  27339. tags:
  27340. - 仓单贸易v2
  27341. /WrTrade2/QueryWrGoodsInfo:
  27342. get:
  27343. parameters:
  27344. - description: 仓单贸易市场id
  27345. in: query
  27346. name: marketid
  27347. type: integer
  27348. - description: 0:仓单预售 1:仓单贸易
  27349. in: query
  27350. name: haswr
  27351. required: true
  27352. type: integer
  27353. - description: 仓单要素id
  27354. in: query
  27355. name: wrfactortypeid
  27356. required: true
  27357. type: integer
  27358. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  27359. in: query
  27360. name: tmplateid
  27361. type: integer
  27362. produces:
  27363. - application/json
  27364. responses:
  27365. "200":
  27366. description: OK
  27367. schema:
  27368. items:
  27369. $ref: '#/definitions/models.WrGoodsInfo'
  27370. type: array
  27371. "500":
  27372. description: Internal Server Error
  27373. schema:
  27374. $ref: '#/definitions/app.Response'
  27375. security:
  27376. - ApiKeyAuth: []
  27377. summary: 查询仓单商品信息
  27378. tags:
  27379. - 仓单贸易v2
  27380. /WrTrade2/QueryWrMarketTradeConfig:
  27381. get:
  27382. parameters:
  27383. - description: 市场id
  27384. in: query
  27385. name: marketid
  27386. type: integer
  27387. produces:
  27388. - application/json
  27389. responses:
  27390. "200":
  27391. description: OK
  27392. schema:
  27393. items:
  27394. $ref: '#/definitions/models.WrMarketTradeConfig'
  27395. type: array
  27396. "500":
  27397. description: Internal Server Error
  27398. schema:
  27399. $ref: '#/definitions/app.Response'
  27400. security:
  27401. - ApiKeyAuth: []
  27402. summary: 查询市场交易参数配置
  27403. tags:
  27404. - 仓单贸易v2
  27405. /WrTrade2/QueryWrOrderDetail:
  27406. get:
  27407. description: 页面 现货仓单 | 预售仓单 -> 挂单
  27408. parameters:
  27409. - description: 页码
  27410. in: query
  27411. name: page
  27412. type: integer
  27413. - description: 每页条数
  27414. in: query
  27415. name: pagesize
  27416. type: integer
  27417. - description: 用户id
  27418. in: query
  27419. name: userid
  27420. required: true
  27421. type: integer
  27422. - description: 仓单贸易市场id
  27423. in: query
  27424. name: marketid
  27425. type: integer
  27426. - description: 0:仓单预售 1:仓单贸易
  27427. in: query
  27428. name: haswr
  27429. required: true
  27430. type: integer
  27431. - description: 开始交易日(yyyymmdd)
  27432. in: query
  27433. name: begindate
  27434. type: string
  27435. - description: 结束交易日(yyyymmdd)
  27436. in: query
  27437. name: enddate
  27438. type: string
  27439. produces:
  27440. - application/json
  27441. responses:
  27442. "200":
  27443. description: OK
  27444. schema:
  27445. items:
  27446. $ref: '#/definitions/models.WrOrderDetail'
  27447. type: array
  27448. "500":
  27449. description: Internal Server Error
  27450. schema:
  27451. $ref: '#/definitions/app.Response'
  27452. security:
  27453. - ApiKeyAuth: []
  27454. summary: 查询仓单委托单(挂单)
  27455. tags:
  27456. - 仓单贸易v2
  27457. /WrTrade2/QueryWrOutInApply:
  27458. get:
  27459. parameters:
  27460. - description: 用户id
  27461. in: query
  27462. name: userid
  27463. required: true
  27464. type: integer
  27465. - description: 开始交易日(yyyymmdd)
  27466. in: query
  27467. name: begindate
  27468. type: string
  27469. - description: 结束交易日(yyyymmdd)
  27470. in: query
  27471. name: enddate
  27472. type: string
  27473. produces:
  27474. - application/json
  27475. responses:
  27476. "200":
  27477. description: OK
  27478. schema:
  27479. items:
  27480. $ref: '#/definitions/models.WrOutInApply'
  27481. type: array
  27482. "500":
  27483. description: Internal Server Error
  27484. schema:
  27485. $ref: '#/definitions/app.Response'
  27486. security:
  27487. - ApiKeyAuth: []
  27488. summary: 查询提货申请
  27489. tags:
  27490. - 仓单贸易v2
  27491. /WrTrade2/QueryWrPerformancePlanStep:
  27492. get:
  27493. parameters:
  27494. - description: 履约计划id(performanceplanid)
  27495. in: query
  27496. name: planid
  27497. required: true
  27498. type: integer
  27499. - description: 当前步骤id
  27500. in: query
  27501. name: curstepid
  27502. type: integer
  27503. produces:
  27504. - application/json
  27505. responses:
  27506. "200":
  27507. description: OK
  27508. schema:
  27509. items:
  27510. $ref: '#/definitions/models.WrPerformancePlanStep'
  27511. type: array
  27512. "500":
  27513. description: Internal Server Error
  27514. schema:
  27515. $ref: '#/definitions/app.Response'
  27516. security:
  27517. - ApiKeyAuth: []
  27518. summary: 查询履约信息详情
  27519. tags:
  27520. - 仓单贸易v2
  27521. /WrTrade2/QueryWrPerformanceStepType:
  27522. get:
  27523. produces:
  27524. - application/json
  27525. responses:
  27526. "200":
  27527. description: OK
  27528. schema:
  27529. items:
  27530. $ref: '#/definitions/models.WrPerformanceStepType'
  27531. type: array
  27532. "500":
  27533. description: Internal Server Error
  27534. schema:
  27535. $ref: '#/definitions/app.Response'
  27536. security:
  27537. - ApiKeyAuth: []
  27538. summary: 查询履约步骤枚举
  27539. tags:
  27540. - 仓单贸易v2
  27541. /WrTrade2/QueryWrPosition:
  27542. get:
  27543. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  27544. parameters:
  27545. - description: 用户id
  27546. in: query
  27547. name: userid
  27548. required: true
  27549. type: integer
  27550. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  27551. in: query
  27552. name: querytype
  27553. required: true
  27554. type: integer
  27555. - description: 0:仓单预售 1:仓单贸易
  27556. in: query
  27557. name: haswr
  27558. required: true
  27559. type: integer
  27560. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27561. in: query
  27562. name: dgitemname
  27563. type: string
  27564. - description: 仓库id(筛选条件)
  27565. in: query
  27566. name: warehouseid
  27567. type: integer
  27568. - description: 品种id
  27569. in: query
  27570. name: deliverygoodsid
  27571. type: integer
  27572. - description: 品类id
  27573. in: query
  27574. name: wrstandardid
  27575. type: integer
  27576. produces:
  27577. - application/json
  27578. responses:
  27579. "200":
  27580. description: OK
  27581. schema:
  27582. items:
  27583. $ref: '#/definitions/models.WrPosition'
  27584. type: array
  27585. "500":
  27586. description: Internal Server Error
  27587. schema:
  27588. $ref: '#/definitions/app.Response'
  27589. security:
  27590. - ApiKeyAuth: []
  27591. summary: 查询现货(预售)仓单持仓
  27592. tags:
  27593. - 仓单贸易v2
  27594. /WrTrade2/QueryWrScfContract:
  27595. get:
  27596. parameters:
  27597. - description: 用户id
  27598. in: query
  27599. name: userid
  27600. required: true
  27601. type: integer
  27602. - description: 融资合同id
  27603. in: query
  27604. name: scfcontractid
  27605. type: integer
  27606. produces:
  27607. - application/json
  27608. responses:
  27609. "200":
  27610. description: OK
  27611. schema:
  27612. items:
  27613. $ref: '#/definitions/models.WrScfContract'
  27614. type: array
  27615. "500":
  27616. description: Internal Server Error
  27617. schema:
  27618. $ref: '#/definitions/app.Response'
  27619. security:
  27620. - ApiKeyAuth: []
  27621. summary: 查询仓单贸易融资合同
  27622. tags:
  27623. - 仓单贸易v2
  27624. /WrTrade2/QueryWrScfContractInterest:
  27625. get:
  27626. parameters:
  27627. - description: 融资合同id
  27628. in: query
  27629. name: scfcontractid
  27630. type: integer
  27631. produces:
  27632. - application/json
  27633. responses:
  27634. "200":
  27635. description: OK
  27636. schema:
  27637. items:
  27638. $ref: '#/definitions/models.WrScfContractInterest'
  27639. type: array
  27640. "500":
  27641. description: Internal Server Error
  27642. schema:
  27643. $ref: '#/definitions/app.Response'
  27644. security:
  27645. - ApiKeyAuth: []
  27646. summary: 查询融资合同费用明细
  27647. tags:
  27648. - 仓单贸易v2
  27649. /WrTrade2/QueryWrSpecialMatchOrder:
  27650. get:
  27651. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  27652. parameters:
  27653. - description: 页码
  27654. in: query
  27655. name: page
  27656. type: integer
  27657. - description: 每页条数
  27658. in: query
  27659. name: pagesize
  27660. type: integer
  27661. - description: 用户id
  27662. in: query
  27663. name: userid
  27664. required: true
  27665. type: integer
  27666. - description: 仓单贸易市场id
  27667. in: query
  27668. name: marketid
  27669. type: integer
  27670. - description: 0:仓单预售 1:仓单贸易
  27671. in: query
  27672. name: haswr
  27673. required: true
  27674. type: integer
  27675. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  27676. in: query
  27677. name: isspecified
  27678. type: integer
  27679. produces:
  27680. - application/json
  27681. responses:
  27682. "200":
  27683. description: OK
  27684. schema:
  27685. items:
  27686. $ref: '#/definitions/models.WrSpecialMatchOrder'
  27687. type: array
  27688. "500":
  27689. description: Internal Server Error
  27690. schema:
  27691. $ref: '#/definitions/app.Response'
  27692. security:
  27693. - ApiKeyAuth: []
  27694. summary: 查询指定成交
  27695. tags:
  27696. - 仓单贸易v2
  27697. /WrTrade2/QueryWrStandardFactoryItem:
  27698. get:
  27699. parameters:
  27700. - description: 品类id
  27701. in: query
  27702. name: wrstandardid
  27703. required: true
  27704. type: integer
  27705. produces:
  27706. - application/json
  27707. responses:
  27708. "200":
  27709. description: OK
  27710. schema:
  27711. items:
  27712. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  27713. type: array
  27714. "500":
  27715. description: Internal Server Error
  27716. schema:
  27717. $ref: '#/definitions/app.Response'
  27718. security:
  27719. - ApiKeyAuth: []
  27720. summary: 查询品类要素定义项
  27721. tags:
  27722. - 仓单贸易v2
  27723. /WrTrade2/QueryWrTradeBargainApply:
  27724. get:
  27725. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面 议价->对方议价 填写matchuserid=登录用户id
  27726. parameters:
  27727. - description: 议价人id(摘牌方)
  27728. in: query
  27729. name: userid
  27730. type: integer
  27731. - description: 挂牌方id(查对方议价时,填写此项)
  27732. in: query
  27733. name: matchuserid
  27734. type: integer
  27735. - description: 关联委托单id
  27736. in: query
  27737. name: wrtradeorderid
  27738. type: integer
  27739. - description: 0:仓单预售 1:仓单贸易
  27740. in: query
  27741. name: haswr
  27742. required: true
  27743. type: integer
  27744. - description: 开始交易日(yyyymmdd)
  27745. in: query
  27746. name: begindate
  27747. type: string
  27748. - description: 结束交易日(yyyymmdd)
  27749. in: query
  27750. name: enddate
  27751. type: string
  27752. produces:
  27753. - application/json
  27754. responses:
  27755. "200":
  27756. description: OK
  27757. schema:
  27758. items:
  27759. $ref: '#/definitions/models.WRTradeBargainApply'
  27760. type: array
  27761. "500":
  27762. description: Internal Server Error
  27763. schema:
  27764. $ref: '#/definitions/app.Response'
  27765. security:
  27766. - ApiKeyAuth: []
  27767. summary: 查询议价单
  27768. tags:
  27769. - 仓单贸易v2
  27770. /WrTrade2/QueryWrTradeDetail:
  27771. get:
  27772. parameters:
  27773. - description: 页码
  27774. in: query
  27775. name: page
  27776. type: integer
  27777. - description: 每页条数
  27778. in: query
  27779. name: pagesize
  27780. type: integer
  27781. - description: 用户id
  27782. in: query
  27783. name: userid
  27784. required: true
  27785. type: integer
  27786. - description: 仓单贸易市场id
  27787. in: query
  27788. name: marketid
  27789. type: integer
  27790. - description: 0:仓单预售 1:仓单贸易
  27791. in: query
  27792. name: haswr
  27793. required: true
  27794. type: integer
  27795. - description: 开始交易日(yyyymmdd)
  27796. in: query
  27797. name: begindate
  27798. type: string
  27799. - description: 结束交易日(yyyymmdd)
  27800. in: query
  27801. name: enddate
  27802. type: string
  27803. produces:
  27804. - application/json
  27805. responses:
  27806. "200":
  27807. description: OK
  27808. schema:
  27809. items:
  27810. $ref: '#/definitions/models.WrTradeDetail'
  27811. type: array
  27812. "500":
  27813. description: Internal Server Error
  27814. schema:
  27815. $ref: '#/definitions/app.Response'
  27816. security:
  27817. - ApiKeyAuth: []
  27818. summary: 查询仓单成交明细
  27819. tags:
  27820. - 仓单贸易v2
  27821. /WrTrade2/QueryWrTradeOrderDetail:
  27822. get:
  27823. parameters:
  27824. - description: 页码
  27825. in: query
  27826. name: page
  27827. type: integer
  27828. - description: 每页条数
  27829. in: query
  27830. name: pagesize
  27831. type: integer
  27832. - description: 商品id
  27833. in: query
  27834. name: goodsid
  27835. required: true
  27836. type: integer
  27837. - description: 买卖方向 0-买 1-卖
  27838. in: query
  27839. name: buyorsell
  27840. required: true
  27841. type: integer
  27842. produces:
  27843. - application/json
  27844. responses:
  27845. "200":
  27846. description: OK
  27847. schema:
  27848. items:
  27849. $ref: '#/definitions/models.WrTradeOrderDetail'
  27850. type: array
  27851. "500":
  27852. description: Internal Server Error
  27853. schema:
  27854. $ref: '#/definitions/app.Response'
  27855. security:
  27856. - ApiKeyAuth: []
  27857. summary: 查询合约交易买卖大厅
  27858. tags:
  27859. - 仓单贸易v2
  27860. /WrTrade2/QueryWrUserFriend:
  27861. get:
  27862. parameters:
  27863. - description: 用户id
  27864. in: query
  27865. name: userid
  27866. required: true
  27867. type: integer
  27868. - description: 新朋友userid, 如果填写了此项则查找新朋友
  27869. in: query
  27870. name: newuserid
  27871. type: integer
  27872. produces:
  27873. - application/json
  27874. responses:
  27875. "200":
  27876. description: OK
  27877. schema:
  27878. items:
  27879. $ref: '#/definitions/models.WrUserFriend'
  27880. type: array
  27881. "500":
  27882. description: Internal Server Error
  27883. schema:
  27884. $ref: '#/definitions/app.Response'
  27885. security:
  27886. - ApiKeyAuth: []
  27887. summary: 查询我的朋友
  27888. tags:
  27889. - 仓单贸易v2
  27890. /WrTrade2/QueryWrUserReceiptInfo:
  27891. get:
  27892. parameters:
  27893. - description: 用户id
  27894. in: query
  27895. name: userid
  27896. type: integer
  27897. - description: 发票类型 - 1:个人 2:企业
  27898. in: query
  27899. name: receipttype
  27900. type: integer
  27901. produces:
  27902. - application/json
  27903. responses:
  27904. "200":
  27905. description: OK
  27906. schema:
  27907. items:
  27908. $ref: '#/definitions/models.WrUserReceiptInfo'
  27909. type: array
  27910. "500":
  27911. description: Internal Server Error
  27912. schema:
  27913. $ref: '#/definitions/app.Response'
  27914. security:
  27915. - ApiKeyAuth: []
  27916. summary: 查询发票信息
  27917. tags:
  27918. - 仓单贸易v2
  27919. /ZJ/GetBankTip:
  27920. get:
  27921. produces:
  27922. - application/json
  27923. responses:
  27924. "200":
  27925. description: OK
  27926. schema:
  27927. type: string
  27928. "500":
  27929. description: Internal Server Error
  27930. schema:
  27931. $ref: '#/definitions/app.Response'
  27932. summary: 获取中江网银端出入金提示信息
  27933. tags:
  27934. - 中江
  27935. /ZJ/GetCusBankChannels:
  27936. get:
  27937. produces:
  27938. - application/json
  27939. responses:
  27940. "200":
  27941. description: OK
  27942. schema:
  27943. items:
  27944. type: string
  27945. type: array
  27946. "500":
  27947. description: Internal Server Error
  27948. schema:
  27949. $ref: '#/definitions/app.Response'
  27950. summary: 获取中江出入金渠道显示列表
  27951. tags:
  27952. - 中江
  27953. securityDefinitions:
  27954. ApiKeyAuth:
  27955. in: header
  27956. name: Authorization
  27957. type: apiKey
  27958. swagger: "2.0"