swagger.yaml 771 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794
  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:终端(企业云平台)
  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. convertratio:
  13341. description: 折算系数
  13342. type: number
  13343. enumdicname:
  13344. description: 单位名称
  13345. type: string
  13346. exexchangecode:
  13347. description: 交易所代码
  13348. type: string
  13349. exexchangename:
  13350. description: 交易所名称
  13351. type: string
  13352. gdlst:
  13353. description: 商品列表
  13354. items:
  13355. $ref: '#/definitions/models.TBGoods'
  13356. type: array
  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. areauserid:
  13370. description: 机构用户ID
  13371. type: integer
  13372. enumdicname:
  13373. description: 单位名称
  13374. type: string
  13375. goodsunitid:
  13376. description: 套保品种单位id
  13377. type: integer
  13378. gplst:
  13379. description: 期货品种列表
  13380. items:
  13381. $ref: '#/definitions/models.TBGoodsGroup'
  13382. type: array
  13383. middlegoodscode:
  13384. description: 套保品种代码
  13385. type: string
  13386. middlegoodsid:
  13387. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  13388. type: integer
  13389. middlegoodsname:
  13390. description: 套保品种名称
  13391. type: string
  13392. needarbitrageratio:
  13393. description: 套利比率
  13394. type: number
  13395. needhedgeratio:
  13396. description: 套保比率
  13397. type: number
  13398. wdlst:
  13399. description: 商品信息列表(现货品类)
  13400. items:
  13401. $ref: '#/definitions/models.TBWrstandard'
  13402. type: array
  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.TjmdQuoteGoods:
  13641. properties:
  13642. buyqty:
  13643. description: 买量(暂不做, 无值, 保留字段)
  13644. type: number
  13645. goodscode:
  13646. description: 合约代码
  13647. type: string
  13648. goodsgroupid:
  13649. description: 商品组ID(自增ID)
  13650. type: integer
  13651. goodsgroupname:
  13652. description: 商品组名称
  13653. type: string
  13654. goodsid:
  13655. description: 合约id
  13656. type: integer
  13657. goodsname:
  13658. description: 合约名称
  13659. type: string
  13660. refgoodscode:
  13661. description: 标的合约代码
  13662. type: string
  13663. refgoodsid:
  13664. description: 标的合约id
  13665. type: integer
  13666. refgoodsname:
  13667. description: 标的合约名称
  13668. type: string
  13669. sellqty:
  13670. description: 卖量(暂不做, 无值, 保留字段)
  13671. type: number
  13672. type: object
  13673. models.TjmdTodayAccountMargin:
  13674. properties:
  13675. accountid:
  13676. description: 账号ID
  13677. type: integer
  13678. goodsid:
  13679. description: 商品ID
  13680. type: integer
  13681. infoc:
  13682. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  13683. description: 配置参数
  13684. marketid:
  13685. description: 市场ID
  13686. type: integer
  13687. type: object
  13688. models.TjmdTradeOrderDetail:
  13689. properties:
  13690. buyorsell:
  13691. description: 买卖方向 0-买 1-卖
  13692. type: integer
  13693. goodsid:
  13694. description: 商品id
  13695. type: integer
  13696. marketmaxsub:
  13697. description: 市价最大偏移范围 [浮动价 - 点差]
  13698. type: number
  13699. orderid:
  13700. description: 委托单号
  13701. type: string
  13702. orderprice:
  13703. description: 委托价格
  13704. type: number
  13705. orderqty:
  13706. description: 委托数量
  13707. type: integer
  13708. pricemode:
  13709. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  13710. type: integer
  13711. userid:
  13712. description: 用户id
  13713. type: integer
  13714. username:
  13715. description: 用户名称(已脱敏)
  13716. type: string
  13717. type: object
  13718. models.TjmdTransferApply:
  13719. properties:
  13720. applyid:
  13721. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  13722. type: integer
  13723. applystatus:
  13724. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  13725. type: integer
  13726. applytime:
  13727. description: 申请时间(时间)
  13728. type: string
  13729. auditremark:
  13730. description: 审核备注(拒绝原因?)
  13731. type: string
  13732. buyorsell:
  13733. description: 买卖 - 0:买 1:卖
  13734. type: integer
  13735. goodscode:
  13736. description: 商品代码
  13737. type: string
  13738. goodsid:
  13739. description: 商品ID
  13740. type: integer
  13741. goodsname:
  13742. description: 商品名称
  13743. type: string
  13744. marketid:
  13745. description: 市场ID
  13746. type: integer
  13747. qty:
  13748. description: 转让数量(数量)
  13749. type: number
  13750. tradeid:
  13751. description: 成交单号(关联持仓)
  13752. type: string
  13753. transferamount:
  13754. description: 转让总金额(金额)
  13755. type: number
  13756. transferprice:
  13757. description: 转让价格(协议价格)
  13758. type: number
  13759. type: object
  13760. models.TradeHolderDetail:
  13761. properties:
  13762. accountid:
  13763. description: 账号ID
  13764. type: integer
  13765. agreeunit:
  13766. description: 合约乘数
  13767. type: number
  13768. buyorsell:
  13769. description: 方向 - 0:买 1:卖
  13770. type: integer
  13771. currencyid:
  13772. description: 商品币种id
  13773. type: integer
  13774. currencyname:
  13775. description: 币种名称
  13776. type: string
  13777. decimalplace:
  13778. description: 商品价格小数位
  13779. type: integer
  13780. enumdicname:
  13781. description: 商品单位名称
  13782. type: string
  13783. expirecycle:
  13784. description: 行权周期(天) - 1:滚动行权时填写
  13785. type: integer
  13786. expiredate:
  13787. description: 行权日(yyyyMMdd) - 到期日
  13788. type: string
  13789. expiretype:
  13790. description: 行权日类型 - 1:滚动行权 2:固定日行权
  13791. type: integer
  13792. freezeqty:
  13793. description: 冻结数量
  13794. type: number
  13795. goodscode:
  13796. description: 商品代码
  13797. type: string
  13798. goodsid:
  13799. description: 商品ID
  13800. type: integer
  13801. goodsname:
  13802. description: 商品名称
  13803. type: string
  13804. goodunitid:
  13805. description: 商品单位id
  13806. type: integer
  13807. holderamount:
  13808. description: 持仓金额
  13809. type: number
  13810. holdercredit:
  13811. description: 持仓授信金额
  13812. type: number
  13813. holderdays:
  13814. description: 剩余冻结天数
  13815. type: integer
  13816. holderprice:
  13817. description: 持仓价格
  13818. type: number
  13819. holderqty:
  13820. description: 持仓数量
  13821. type: number
  13822. isconfirmexercise:
  13823. description: 是否确认行权- 0:否 1:是
  13824. type: integer
  13825. ispreexercise:
  13826. description: 是否预申报- 0:否 1:是 2:不可行权
  13827. type: integer
  13828. marketid:
  13829. description: 市场id
  13830. type: integer
  13831. marketname:
  13832. description: 市场名称
  13833. type: string
  13834. openprice:
  13835. description: 建仓价格
  13836. type: number
  13837. openqty:
  13838. description: 建仓数量
  13839. type: number
  13840. optiontype:
  13841. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  13842. type: integer
  13843. preexerciseprice:
  13844. description: 预申报价格
  13845. type: number
  13846. premium:
  13847. description: 权利金
  13848. type: number
  13849. qtydecimalplace:
  13850. description: 商品成交量小数位
  13851. type: integer
  13852. refgoodscode:
  13853. description: 标的合约代码
  13854. type: string
  13855. refgoodsid:
  13856. description: 标的合约id
  13857. type: integer
  13858. releaseamount:
  13859. description: 释放持仓金额
  13860. type: number
  13861. releaseholdercredit:
  13862. description: 释放持仓授信金额
  13863. type: number
  13864. taname:
  13865. description: 资金账号名称
  13866. type: string
  13867. tradeamount:
  13868. description: 成交金额
  13869. type: number
  13870. tradedate:
  13871. description: 交易日(yyyyMMdd)
  13872. type: string
  13873. tradeid:
  13874. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13875. type: string
  13876. trademode:
  13877. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期
  13878. type: integer
  13879. tradeproperty:
  13880. description: 交易属性
  13881. type: integer
  13882. tradetime:
  13883. description: 交易时间
  13884. type: string
  13885. userid:
  13886. description: 用户id
  13887. type: integer
  13888. username:
  13889. description: 用户名称
  13890. type: string
  13891. type: object
  13892. models.UserCollectConfig:
  13893. properties:
  13894. accountstatus:
  13895. description: 账户状态 - 1:正常 2:停用 3:注销
  13896. type: integer
  13897. collectaccountname:
  13898. description: 收款人账户名称
  13899. type: string
  13900. collectaccountno:
  13901. description: 收款人账户
  13902. type: string
  13903. collectbankname:
  13904. description: 收款人开户行
  13905. type: string
  13906. collectbranchbankname:
  13907. description: 收款人开户支行
  13908. type: string
  13909. collectconfigid:
  13910. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  13911. type: string
  13912. remark:
  13913. description: 备注
  13914. type: string
  13915. userid:
  13916. description: 收款人用户ID
  13917. type: integer
  13918. type: object
  13919. models.UserReceiveInfo:
  13920. properties:
  13921. address:
  13922. description: 提货人详细地址
  13923. type: string
  13924. autoid:
  13925. description: AutoID
  13926. type: integer
  13927. cardnum:
  13928. description: 证件号码(加密存储)
  13929. type: string
  13930. cardtypeid:
  13931. description: 证件类型
  13932. type: integer
  13933. cityid:
  13934. description: 市
  13935. type: integer
  13936. cityname:
  13937. description: 城市名称
  13938. type: string
  13939. countryid:
  13940. description: 国家
  13941. type: integer
  13942. countryname:
  13943. description: 国家名称
  13944. type: string
  13945. districtid:
  13946. description: 地区
  13947. type: integer
  13948. districtname:
  13949. description: 地区名称
  13950. type: string
  13951. hasencrypt:
  13952. description: 数据是否已加密 - 0:未加密 1:已加密
  13953. type: integer
  13954. isdefault:
  13955. description: 是否默认地址 - 0:否 1:是
  13956. type: integer
  13957. phonenum:
  13958. description: 提货人联系方式(加密存储)
  13959. type: string
  13960. provinceid:
  13961. description: 省
  13962. type: integer
  13963. provincename:
  13964. description: 省名称
  13965. type: string
  13966. receivername:
  13967. description: 提货人姓名
  13968. type: string
  13969. takeremark:
  13970. description: 提货备注
  13971. type: string
  13972. userid:
  13973. description: 用户ID
  13974. type: integer
  13975. type: object
  13976. models.Useraccount:
  13977. properties:
  13978. accountname:
  13979. description: 账户名称(机构名称)
  13980. type: string
  13981. accountstatus:
  13982. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  13983. type: integer
  13984. applysrc:
  13985. description: 申请来源 - 1:管理端 2:终端
  13986. type: integer
  13987. auditremark:
  13988. description: 审核备注
  13989. type: string
  13990. auditsrc:
  13991. description: 审核来源 - 1:管理端 2:终端
  13992. type: integer
  13993. audittime:
  13994. description: 审核时间
  13995. type: string
  13996. audituserid:
  13997. description: 审核人
  13998. type: integer
  13999. broker:
  14000. description: 所属经纪人ID
  14001. type: integer
  14002. canceltime:
  14003. description: 销户时间
  14004. type: string
  14005. canceluserid:
  14006. description: 销户人
  14007. type: integer
  14008. canrecommend:
  14009. description: 是否可推荐 - 0:不可 1;可
  14010. type: integer
  14011. createtime:
  14012. description: 创建时间
  14013. type: string
  14014. creatorid:
  14015. description: 创建人
  14016. type: integer
  14017. hasauth:
  14018. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  14019. type: integer
  14020. isanonymous:
  14021. description: 是否匿名下单 - 0:否 1:是
  14022. type: integer
  14023. maxinvestornum:
  14024. description: 最大用户数(经纪会员下投资者个数)
  14025. type: integer
  14026. memberuserid:
  14027. description: 所属会员ID
  14028. type: integer
  14029. modifierid:
  14030. description: 修改人
  14031. type: integer
  14032. modifyremark:
  14033. description: 变更备注
  14034. type: string
  14035. modifystatus:
  14036. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  14037. type: integer
  14038. modifytime:
  14039. description: 修改时间
  14040. type: string
  14041. parenttopuser:
  14042. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  14043. type: string
  14044. parentuserid:
  14045. description: 所属机构ID
  14046. type: integer
  14047. reckonaccountid:
  14048. description: 默认结算资金账号ID(机构分润使用) 作废
  14049. type: integer
  14050. refercount:
  14051. description: 推荐总人数
  14052. type: integer
  14053. refereeuserid:
  14054. description: 推荐人ID
  14055. type: integer
  14056. refernum:
  14057. description: 推荐码
  14058. type: string
  14059. rootuserid:
  14060. description: 根用户ID
  14061. type: integer
  14062. subaccountlevel:
  14063. description: 子账户层数
  14064. type: integer
  14065. subarealevelpath:
  14066. description: 子机构层级路径(逗号分隔,首尾加逗号)
  14067. type: string
  14068. userid:
  14069. description: 用户ID
  14070. type: integer
  14071. usertype:
  14072. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  14073. type: integer
  14074. required:
  14075. - userid
  14076. type: object
  14077. models.Userfavoritegoods:
  14078. properties:
  14079. goodsid:
  14080. description: 商品ID
  14081. type: integer
  14082. required:
  14083. - goodsid
  14084. type: object
  14085. models.Userinfo:
  14086. properties:
  14087. address:
  14088. description: 地址
  14089. type: string
  14090. attachment1:
  14091. description: 附件1
  14092. type: string
  14093. attachment2:
  14094. description: 附件2
  14095. type: string
  14096. bankaccount:
  14097. description: 银行帐号 (加密存储)
  14098. type: string
  14099. bankaccountname:
  14100. description: 收款人名称
  14101. type: string
  14102. bankcardfrontphotourl:
  14103. description: 银行卡正面照地址
  14104. type: string
  14105. bankid:
  14106. description: 银行编码
  14107. type: string
  14108. bankname:
  14109. description: 银行名称
  14110. type: string
  14111. biznature:
  14112. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  14113. type: integer
  14114. bizscope:
  14115. description: 企业经营范围(企业)
  14116. type: string
  14117. cardbackphotourl:
  14118. description: 证件背面图片地址
  14119. type: string
  14120. cardfrontphotourl:
  14121. description: 证件正面图片地址
  14122. type: string
  14123. cardnum:
  14124. description: 证件号码(加密存储)
  14125. type: string
  14126. cardtypeid:
  14127. description: 证件类型ID
  14128. type: integer
  14129. cityid:
  14130. description: 市
  14131. type: integer
  14132. company:
  14133. description: 公司(个人)
  14134. type: string
  14135. contactname:
  14136. description: 联系人
  14137. type: string
  14138. countryid:
  14139. description: 国家
  14140. type: integer
  14141. createtime:
  14142. description: 创建时间
  14143. type: string
  14144. creatorid:
  14145. description: 创建人
  14146. type: integer
  14147. customername:
  14148. description: 客户名称(企业名称)
  14149. type: string
  14150. districtid:
  14151. description: 地区
  14152. type: integer
  14153. email:
  14154. description: 邮件(加密存储)
  14155. type: string
  14156. fax:
  14157. description: 传真(加密存储)
  14158. type: string
  14159. halfbodyphotourl:
  14160. description: 半身照地址
  14161. type: string
  14162. hasencrypt:
  14163. description: 数据是否已加密 - 0:未加密 1:已加密
  14164. type: integer
  14165. headurl:
  14166. description: 头像地址
  14167. type: string
  14168. legalcardbackphotourl:
  14169. description: 法人身份证背面照地址
  14170. type: string
  14171. legalcardfrontphotourl:
  14172. description: 法人身份证正面照地址
  14173. type: string
  14174. legalpersonname:
  14175. description: 法人姓名(企业)
  14176. type: string
  14177. mobile:
  14178. description: 手机号码(加密存储)
  14179. type: string
  14180. mobile2:
  14181. description: 手机号码[明文-尚志]
  14182. type: string
  14183. modifierid:
  14184. description: 修改人
  14185. type: integer
  14186. modifiertime:
  14187. description: 修改时间
  14188. type: string
  14189. needinvoice:
  14190. description: 是否需要发票 - 0:不需要 1:需要
  14191. type: integer
  14192. nickname:
  14193. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  14194. type: string
  14195. openmode:
  14196. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  14197. type: integer
  14198. otherurl:
  14199. description: 其它图片地址[使用分号分隔]
  14200. type: string
  14201. postalcode:
  14202. description: 邮政编码
  14203. type: string
  14204. provinceid:
  14205. description: 省
  14206. type: integer
  14207. qq:
  14208. description: QQ(加密存储
  14209. type: string
  14210. remark:
  14211. description: 备注
  14212. type: string
  14213. sex:
  14214. description: '用户性别 0: 女 1: 男'
  14215. type: integer
  14216. signpdfurl:
  14217. description: 签约pdf文件
  14218. type: string
  14219. telphone:
  14220. description: 联系电话(加密存储)
  14221. type: string
  14222. userid:
  14223. description: 用户ID
  14224. type: integer
  14225. userinfotype:
  14226. description: 用户信息类型 - 1:个人 2:企业
  14227. type: integer
  14228. userstatus:
  14229. description: 用户状态 - 1:正常 2:注销
  14230. type: integer
  14231. usertype:
  14232. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  14233. type: integer
  14234. wechat:
  14235. description: 微信(加密存储)
  14236. type: string
  14237. wskhinfo:
  14238. description: 开户申请信息(JSON)
  14239. type: string
  14240. required:
  14241. - userid
  14242. type: object
  14243. models.WRSConverTDetail:
  14244. properties:
  14245. convertratio:
  14246. description: 套保系数
  14247. type: number
  14248. deliverygoodscode:
  14249. description: 现货商品代码
  14250. type: string
  14251. deliverygoodsid:
  14252. description: 现货品种ID
  14253. type: integer
  14254. deliverygoodsname:
  14255. description: 现货商品名称
  14256. type: string
  14257. enumdicname:
  14258. description: 单位名称
  14259. type: string
  14260. goodsunitid:
  14261. description: 套保品种单位id
  14262. type: integer
  14263. middlegoodscode:
  14264. description: 套保品种代码
  14265. type: string
  14266. middlegoodsid:
  14267. description: 套保品种ID
  14268. type: integer
  14269. middlegoodsname:
  14270. description: 套保品种名称
  14271. type: string
  14272. modifytime:
  14273. description: 修改时间
  14274. type: string
  14275. wrstandardid:
  14276. description: 品类ID
  14277. type: integer
  14278. type: object
  14279. models.WRStandardInfo:
  14280. properties:
  14281. areauserid:
  14282. description: 所属机构
  14283. type: integer
  14284. convertfactor:
  14285. description: 标仓系数
  14286. type: number
  14287. createtime:
  14288. description: 创建时间
  14289. type: string
  14290. creatorid:
  14291. description: 创建人
  14292. type: integer
  14293. deliverygoodsid:
  14294. description: 品种ID
  14295. type: integer
  14296. deliverygoodsname:
  14297. description: 交割商品名称
  14298. type: string
  14299. factoryitemjson:
  14300. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID, 逗号分隔'
  14301. type: string
  14302. isvalid:
  14303. description: 是否有效 - 0:无效 1:有效
  14304. type: integer
  14305. minivalue:
  14306. description: 最小变动值
  14307. type: integer
  14308. minivaluedp:
  14309. description: 最小变动值小数位
  14310. type: integer
  14311. realminivalue:
  14312. description: 实际最小变动值
  14313. type: integer
  14314. realminivaluedp:
  14315. description: 实际最小变动值小数位
  14316. type: integer
  14317. remark:
  14318. description: 备注
  14319. type: string
  14320. unitid:
  14321. description: 单位ID
  14322. type: integer
  14323. unitname:
  14324. description: 单位
  14325. type: string
  14326. updatetime:
  14327. description: 更新时间
  14328. type: string
  14329. updatorid:
  14330. description: 更新人
  14331. type: integer
  14332. wrsstatus:
  14333. description: 状态 - 作废 - 0:未激活 1:正常
  14334. type: integer
  14335. wrstandardcode:
  14336. description: 现货品类代码
  14337. type: string
  14338. wrstandardid:
  14339. description: 现货品类ID(SEQ_WRSTANDARD)
  14340. type: integer
  14341. wrstandardname:
  14342. description: 现货品类名称
  14343. type: string
  14344. required:
  14345. - wrstandardid
  14346. type: object
  14347. models.WRTradeBargainApply:
  14348. properties:
  14349. accountid:
  14350. description: 摘牌资金账号
  14351. type: integer
  14352. applyprice:
  14353. description: 申请价格(议价价格)
  14354. type: string
  14355. applyqty:
  14356. description: 摘牌数量(议价数量)
  14357. type: number
  14358. applyremark:
  14359. description: 申请备注
  14360. type: string
  14361. applystatus:
  14362. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  14363. type: integer
  14364. applytime:
  14365. description: 申请时间(议价时间)
  14366. type: string
  14367. buyorsell:
  14368. description: 买卖(挂牌类型) - 0:买 1:卖
  14369. type: integer
  14370. confirmremark:
  14371. description: 确认备注
  14372. type: string
  14373. confirmtime:
  14374. description: 确认时间
  14375. type: string
  14376. confirmuserid:
  14377. description: 确认人
  14378. type: integer
  14379. deliverygoodscode:
  14380. description: 品种代码
  14381. type: string
  14382. deliverygoodsid:
  14383. description: 品种ID
  14384. type: integer
  14385. deliverygoodsname:
  14386. description: 品种名称
  14387. type: string
  14388. deliverymonth:
  14389. description: 交收月
  14390. type: string
  14391. enumdicname:
  14392. description: 单位名称
  14393. type: string
  14394. fixedprice:
  14395. description: 挂牌价格
  14396. type: number
  14397. handlestatus:
  14398. description: 处理状态
  14399. type: integer
  14400. marginvalue:
  14401. description: 履约保证金比例
  14402. type: number
  14403. marketid:
  14404. description: 市场ID
  14405. type: integer
  14406. matchaccountid:
  14407. description: 挂牌方资金账号
  14408. type: integer
  14409. matchuserid:
  14410. description: 挂牌方用户id
  14411. type: integer
  14412. matchusername:
  14413. description: 挂牌方用户名称(已脱敏)
  14414. type: string
  14415. minivalue:
  14416. description: 现货商品最小变动值
  14417. type: integer
  14418. optioncompare:
  14419. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14420. type: string
  14421. orderqty:
  14422. description: 挂牌数量
  14423. type: integer
  14424. refprice:
  14425. description: 参考价格
  14426. type: string
  14427. retcode:
  14428. description: 委托返回代码
  14429. type: integer
  14430. templatename:
  14431. description: 履约方式(履约模板名称)
  14432. type: string
  14433. tradedate:
  14434. description: 交易日(yyyyMMdd)
  14435. type: string
  14436. userid:
  14437. description: 摘牌人用户ID(议价人ID)
  14438. type: integer
  14439. username:
  14440. description: 议价人名字(已脱敏)
  14441. type: string
  14442. validtime:
  14443. description: 有效期限
  14444. type: string
  14445. warehouseid:
  14446. description: 仓库ID
  14447. type: integer
  14448. warehousename:
  14449. description: 仓库名称
  14450. type: string
  14451. wrbargainid:
  14452. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  14453. type: string
  14454. wrfactortypeid:
  14455. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14456. type: string
  14457. wrfactortypename:
  14458. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14459. type: string
  14460. wrstandardcode:
  14461. description: 现货商品代码
  14462. type: string
  14463. wrstandardid:
  14464. description: 现货商品ID
  14465. type: integer
  14466. wrstandardname:
  14467. description: 商品名称
  14468. type: string
  14469. wrtradeorderid:
  14470. description: 关联委托单ID
  14471. type: string
  14472. wrtypename:
  14473. description: 商品
  14474. type: string
  14475. type: object
  14476. models.Warehouseinfo:
  14477. properties:
  14478. address:
  14479. description: 详细地址
  14480. type: string
  14481. areauserid:
  14482. description: 所属机构
  14483. type: integer
  14484. autoid:
  14485. description: 自增ID
  14486. type: integer
  14487. cityid:
  14488. description: 市
  14489. type: integer
  14490. contactname:
  14491. description: 联系人
  14492. type: string
  14493. contactnum:
  14494. description: 联系电话
  14495. type: string
  14496. countryid:
  14497. description: 国家
  14498. type: integer
  14499. createtime:
  14500. description: 创建时间
  14501. type: string
  14502. districtid:
  14503. description: 区
  14504. type: integer
  14505. hasvideo:
  14506. description: 是否有视频 - 0:无 1:有
  14507. type: integer
  14508. provinceid:
  14509. description: 省
  14510. type: integer
  14511. remark:
  14512. description: 审核备注
  14513. type: string
  14514. videourl:
  14515. description: 视频地址
  14516. type: string
  14517. warehousecode:
  14518. description: 仓库代码
  14519. type: string
  14520. warehousename:
  14521. description: 仓库名称
  14522. type: string
  14523. warehousestatus:
  14524. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  14525. type: integer
  14526. warehousetype:
  14527. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  14528. type: integer
  14529. required:
  14530. - autoid
  14531. - warehousecode
  14532. type: object
  14533. models.WrAverageTradePrice:
  14534. properties:
  14535. averageprice:
  14536. description: 成交均价
  14537. type: number
  14538. tradedate:
  14539. description: 交易日yyyymm
  14540. type: string
  14541. type: object
  14542. models.WrBsGoodsInfo:
  14543. properties:
  14544. buyorsell:
  14545. description: 买卖方向 0-买 1-卖
  14546. type: integer
  14547. goodsid:
  14548. description: 交易合约ID
  14549. type: integer
  14550. lstitem:
  14551. description: 商品信息项
  14552. items:
  14553. $ref: '#/definitions/models.WrTypeItem'
  14554. type: array
  14555. lststep:
  14556. description: 履约规则
  14557. items:
  14558. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  14559. type: array
  14560. type: object
  14561. models.WrBuybackDetail:
  14562. properties:
  14563. buybackamount:
  14564. description: 回购金额
  14565. type: number
  14566. buybackqty:
  14567. description: 回购数量
  14568. type: number
  14569. buybackreleasemargin:
  14570. description: 回购释放保证金
  14571. type: number
  14572. buybacktime:
  14573. description: 回购时间
  14574. type: string
  14575. errordesc:
  14576. description: 错误描述
  14577. type: string
  14578. handlestatus:
  14579. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  14580. type: integer
  14581. relatedwrid:
  14582. description: 关联仓单ID
  14583. type: integer
  14584. scfcontractid:
  14585. description: SCF合同ID
  14586. type: string
  14587. scfwrbuybackid:
  14588. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  14589. type: integer
  14590. tradedate:
  14591. description: 交易日(yyyyMMdd)
  14592. type: string
  14593. type: object
  14594. models.WrDeliveryAvalidHoldLB:
  14595. properties:
  14596. accountid:
  14597. description: 资金账号
  14598. type: integer
  14599. avalidqty:
  14600. description: 数量(可点选数量)
  14601. type: number
  14602. deliverygoodsid:
  14603. description: 品种id
  14604. type: integer
  14605. enumdicname:
  14606. description: 单位名称
  14607. type: string
  14608. goodsid:
  14609. description: x合约商品id
  14610. type: integer
  14611. ladingbillid:
  14612. description: 提单id
  14613. type: string
  14614. pgoodscode:
  14615. description: p商品代码(点价合约)
  14616. type: string
  14617. pgoodsid:
  14618. description: p商品id(点价合约)
  14619. type: integer
  14620. pgoodsname:
  14621. description: p商品名称(点价合约)
  14622. type: string
  14623. pricemove:
  14624. description: 升贴水
  14625. type: number
  14626. subnum:
  14627. description: 提单子id
  14628. type: integer
  14629. userid:
  14630. description: 用户id
  14631. type: integer
  14632. username:
  14633. description: 仓单持有人
  14634. type: string
  14635. warehousecode:
  14636. description: 仓库代码
  14637. type: string
  14638. warehouseid:
  14639. description: 仓库id
  14640. type: integer
  14641. warehousename:
  14642. description: 仓库名称
  14643. type: string
  14644. wrfactortypeid:
  14645. description: 仓单要素id
  14646. type: string
  14647. wrstandardcode:
  14648. description: 品代码
  14649. type: string
  14650. wrstandardid:
  14651. description: 品类d
  14652. type: integer
  14653. wrstandardname:
  14654. description: 品类名称
  14655. type: string
  14656. wrtypename:
  14657. description: 商品
  14658. type: string
  14659. xgoodscode:
  14660. description: x合约代码
  14661. type: string
  14662. xgoodsname:
  14663. description: x合约名称
  14664. type: string
  14665. type: object
  14666. models.WrDeliveryDetail:
  14667. properties:
  14668. accountid:
  14669. description: 账号ID
  14670. type: integer
  14671. averageprice:
  14672. description: 交割均价 = 交割金额 / 交割数量
  14673. type: number
  14674. buyorsell:
  14675. description: 方向 - 0:买 1:卖
  14676. type: integer
  14677. deliveryamount:
  14678. description: 货款金额(X总货款+P总货款)
  14679. type: number
  14680. deliveryid:
  14681. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  14682. type: string
  14683. deliveryorderid:
  14684. description: 申报单号
  14685. type: string
  14686. deliverypricemove:
  14687. description: 升贴水(升贴水总额)
  14688. type: number
  14689. deliveryqty:
  14690. description: 交收数量(点选数量)
  14691. type: number
  14692. deliverystatus:
  14693. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  14694. type: integer
  14695. deliverytime:
  14696. description: 交割时间
  14697. type: string
  14698. deliverytotalamount:
  14699. description: 交收金额
  14700. type: number
  14701. enumdicname:
  14702. description: 单位名称
  14703. type: string
  14704. matchaccountid:
  14705. description: 对手账号ID
  14706. type: integer
  14707. matchusername:
  14708. description: 对手方名称(仓单持有人)
  14709. type: string
  14710. p1goodsremainamount:
  14711. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  14712. type: number
  14713. pdeliverycloseqty:
  14714. description: p合约平仓数量
  14715. type: number
  14716. pdeliveryprice:
  14717. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  14718. type: number
  14719. pgoodscode:
  14720. description: 商品代码
  14721. type: string
  14722. pgoodsid:
  14723. description: p点选合约id
  14724. type: integer
  14725. pgoodsname:
  14726. description: 商品名称
  14727. type: string
  14728. ppricemode:
  14729. description: 点价价格方式 - 1:商品价 2:固定值
  14730. type: integer
  14731. tradedate:
  14732. description: 交易日(yyyymmdd)
  14733. type: string
  14734. userid:
  14735. description: 用户id
  14736. type: integer
  14737. username:
  14738. description: 用户名称
  14739. type: string
  14740. warehousename:
  14741. description: 仓库名称
  14742. type: string
  14743. wrfactortypeid:
  14744. description: 仓单要素类型ID
  14745. type: string
  14746. wrtypename:
  14747. description: 商品
  14748. type: string
  14749. xdeliverycloseqty:
  14750. description: 合约数量
  14751. type: number
  14752. xgoodsamount:
  14753. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  14754. type: number
  14755. xgoodscode:
  14756. description: 商品代码
  14757. type: string
  14758. xgoodsid:
  14759. description: x交易合约ID
  14760. type: integer
  14761. xgoodsname:
  14762. description: 商品名称
  14763. type: string
  14764. type: object
  14765. models.WrDeliveryGoodsSection:
  14766. properties:
  14767. dglst:
  14768. description: 板块商品列表
  14769. items:
  14770. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  14771. type: array
  14772. imagepath:
  14773. description: 图片地址
  14774. type: string
  14775. orderindex:
  14776. description: 排序
  14777. type: integer
  14778. sectionid:
  14779. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType = 1的版块1 - 云融指数
  14780. type: integer
  14781. sectionname:
  14782. description: 版块名称
  14783. type: string
  14784. sectiontype:
  14785. description: 版块类型 - 1:指数版块 2:普通版块
  14786. type: integer
  14787. type: object
  14788. models.WrDeliveryGoodsSectionConfig:
  14789. properties:
  14790. deliverygoodscode:
  14791. description: 现货商品代码
  14792. type: string
  14793. deliverygoodsid:
  14794. description: 现货品种ID(SEQ_DELIVERYGOODS)
  14795. type: integer
  14796. deliverygoodsname:
  14797. description: 现货商品名称
  14798. type: string
  14799. orderindex:
  14800. description: 排序
  14801. type: integer
  14802. type: object
  14803. models.WrFAProductDetail:
  14804. properties:
  14805. accountid:
  14806. description: 资金账号
  14807. type: integer
  14808. areauserid:
  14809. description: 金融机构ID
  14810. type: integer
  14811. financingdays:
  14812. description: 天数(天)
  14813. type: integer
  14814. interestminlen:
  14815. description: 最小起息天数
  14816. type: integer
  14817. interestrate:
  14818. description: 利率
  14819. type: number
  14820. interestratemode:
  14821. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  14822. type: integer
  14823. interestsettlemode:
  14824. description: 结息方式 - 1:按日结息 3:按月结息
  14825. type: integer
  14826. interestsettlevalue:
  14827. description: 结息方式值
  14828. type: integer
  14829. isautoloan:
  14830. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  14831. type: integer
  14832. loantag:
  14833. description: '放款标识: "放款快" 或者为空'
  14834. type: string
  14835. marginratio:
  14836. description: 保证金比率质押率 - [仓单质押]
  14837. type: number
  14838. productdetailid:
  14839. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  14840. type: integer
  14841. productid:
  14842. description: 金融产品ID
  14843. type: integer
  14844. productname:
  14845. description: 产品名称
  14846. type: string
  14847. updatetime:
  14848. description: 更新时间
  14849. type: string
  14850. username:
  14851. description: 融出方
  14852. type: string
  14853. type: object
  14854. models.WrFactorTypeInfo:
  14855. properties:
  14856. deliverygoodscode:
  14857. description: 品种代码
  14858. type: string
  14859. deliverygoodsname:
  14860. description: 品种名称
  14861. type: string
  14862. dgfactoryitemid:
  14863. description: 选择项id
  14864. type: integer
  14865. dgfactoryitemtypeid:
  14866. description: 要素选择项ID (1-仓库 2-品牌)
  14867. type: integer
  14868. dgfactoryitemvalue:
  14869. description: 要素项值
  14870. type: string
  14871. itemtypename:
  14872. description: 要素项名称
  14873. type: string
  14874. optioncompare:
  14875. description: 选择比较串
  14876. type: string
  14877. warehouseid:
  14878. description: 仓库id
  14879. type: integer
  14880. wrfactortypeid:
  14881. description: 仓单要素ID
  14882. type: string
  14883. wrfactortypename:
  14884. description: 要素名称
  14885. type: string
  14886. wrfactortypename2:
  14887. description: 要素名称(不含仓库)
  14888. type: string
  14889. wrstandardcode:
  14890. description: 品类代码
  14891. type: string
  14892. wrstandardid:
  14893. description: 品类id
  14894. type: integer
  14895. wrstandardname:
  14896. description: 品类名称
  14897. type: string
  14898. type: object
  14899. models.WrFilterItem:
  14900. properties:
  14901. itemcode:
  14902. description: 代码
  14903. type: string
  14904. itemid:
  14905. description: 项id
  14906. type: integer
  14907. itemname:
  14908. description: 名称
  14909. type: string
  14910. itemtype:
  14911. description: 类型 1-品种 2-品类(商品) 3-仓库
  14912. type: integer
  14913. type: object
  14914. models.WrFinanceBuyApply:
  14915. properties:
  14916. applydate:
  14917. description: 申请时间
  14918. type: string
  14919. applystatus:
  14920. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  14921. type: integer
  14922. applyuserid:
  14923. description: 申请人
  14924. type: integer
  14925. auditdate:
  14926. description: 审核时间
  14927. type: string
  14928. auditremark:
  14929. description: 审核备注
  14930. type: string
  14931. audituserid:
  14932. description: 审核人
  14933. type: integer
  14934. buyaccountid:
  14935. description: 买方资金账号
  14936. type: integer
  14937. buyorsell:
  14938. description: 买卖 - 0:买 1:卖
  14939. type: integer
  14940. buyuserid:
  14941. description: 买方用户ID
  14942. type: integer
  14943. buyusername:
  14944. description: 买方名称
  14945. type: string
  14946. buywrtradeorderid:
  14947. description: 融资方买委托单ID
  14948. type: string
  14949. deliverygoodscode:
  14950. description: 品种代码
  14951. type: string
  14952. deliverygoodsid:
  14953. description: 品种ID
  14954. type: integer
  14955. deliverygoodsname:
  14956. description: 品种名称
  14957. type: string
  14958. deliverymonth:
  14959. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  14960. type: string
  14961. enumdicname:
  14962. description: 单位名称
  14963. type: string
  14964. financeaccountid:
  14965. description: 融资方资金帐户ID
  14966. type: integer
  14967. financeapplyid:
  14968. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14969. type: string
  14970. financeareauserid:
  14971. description: 融资方用户ID
  14972. type: string
  14973. financename:
  14974. description: 融出方名称
  14975. type: string
  14976. financetype:
  14977. description: 融资类型 1-融资回购
  14978. type: integer
  14979. financingdays:
  14980. description: 天数(天)
  14981. type: integer
  14982. freezebuymargin:
  14983. description: 冻结融资保证金(买方)
  14984. type: number
  14985. handleremark:
  14986. description: 处理备注
  14987. type: string
  14988. handlestatus:
  14989. description: 处理状态
  14990. type: integer
  14991. interestminlen:
  14992. description: 最小起息天数
  14993. type: integer
  14994. interestrate:
  14995. description: 利率
  14996. type: number
  14997. interestratemode:
  14998. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  14999. type: integer
  15000. interestsettlemode:
  15001. description: 结息方式 - 1:按日结息 3:按月结息
  15002. type: integer
  15003. interestsettlevalue:
  15004. description: 结息方式值
  15005. type: integer
  15006. isautoloan:
  15007. description: 是否自动放款 - 0:手动 1:自动
  15008. type: integer
  15009. marginratio:
  15010. description: 保证金比率质押率 - [仓单质押]
  15011. type: number
  15012. marketid:
  15013. description: 市场ID
  15014. type: integer
  15015. minivalue:
  15016. description: 现货商品最小变动值
  15017. type: integer
  15018. optioncompare:
  15019. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15020. type: string
  15021. orderqty:
  15022. description: 委托数量(商品数量)
  15023. type: number
  15024. productdetailid:
  15025. description: 产品组合ID
  15026. type: integer
  15027. productid:
  15028. description: 金融产品ID
  15029. type: integer
  15030. productname:
  15031. description: 产品名称
  15032. type: string
  15033. remark:
  15034. description: 备注
  15035. type: string
  15036. scfcontractid:
  15037. description: 仓单回购合同ID
  15038. type: string
  15039. sellaccountid:
  15040. description: 卖方资金账号
  15041. type: integer
  15042. selluserid:
  15043. description: 卖方用户ID
  15044. type: integer
  15045. sellwrtradeorderid:
  15046. description: 卖方委托单ID
  15047. type: string
  15048. tradeamount:
  15049. description: 成交金额(借款金额)
  15050. type: number
  15051. tradedate:
  15052. description: 交易日(yyyyMMdd)
  15053. type: string
  15054. tradeprice:
  15055. description: 成交价格
  15056. type: number
  15057. warehouseid:
  15058. description: 仓库ID
  15059. type: integer
  15060. warehousename:
  15061. description: 仓库名称
  15062. type: string
  15063. wrfactortypeid:
  15064. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15065. type: string
  15066. wrfactortypename:
  15067. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15068. type: string
  15069. wrpricetype:
  15070. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  15071. type: integer
  15072. wrstandardcode:
  15073. description: 现货商品代码
  15074. type: string
  15075. wrstandardid:
  15076. description: 现货商品ID
  15077. type: integer
  15078. wrstandardname:
  15079. description: 商品名称
  15080. type: string
  15081. wrtypename:
  15082. description: 商品
  15083. type: string
  15084. type: object
  15085. models.WrFriendApply:
  15086. properties:
  15087. applicantid:
  15088. description: 申请人
  15089. type: integer
  15090. applyname:
  15091. description: 申请人名称
  15092. type: string
  15093. applysrc:
  15094. description: 申请来源 - 1:管理端 2:终端
  15095. type: integer
  15096. applystatus:
  15097. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15098. type: integer
  15099. applytime:
  15100. description: 申请时间
  15101. type: string
  15102. auditname:
  15103. description: 审核人名称
  15104. type: string
  15105. auditorid:
  15106. description: 审核人
  15107. type: integer
  15108. auditremark:
  15109. description: 审核备注
  15110. type: string
  15111. auditsrc:
  15112. description: 审核来源 - 1:管理端 2:终端
  15113. type: integer
  15114. audittime:
  15115. description: 审核时间
  15116. type: string
  15117. friendapplyid:
  15118. description: 申请ID(SEQ_FRIENDAPPLY)
  15119. type: string
  15120. friendname:
  15121. description: 好友名字(已脱敏)
  15122. type: string
  15123. frienduserid:
  15124. description: 好友用户ID
  15125. type: string
  15126. remark:
  15127. description: 备注
  15128. type: string
  15129. userid:
  15130. description: 申请人用户ID
  15131. type: integer
  15132. type: object
  15133. models.WrFtDeliveryGoods:
  15134. properties:
  15135. deliverygoodscode:
  15136. description: 品种代码
  15137. type: string
  15138. deliverygoodsid:
  15139. description: 品种ID
  15140. type: integer
  15141. deliverygoodsname:
  15142. description: 品种名称
  15143. type: string
  15144. wdlst:
  15145. description: 商品列表
  15146. items:
  15147. $ref: '#/definitions/models.WrFtWrstandard'
  15148. type: array
  15149. type: object
  15150. models.WrFtWrstandard:
  15151. properties:
  15152. enumdicname:
  15153. description: 单位名称
  15154. type: string
  15155. minivalue:
  15156. description: 最小变动值
  15157. type: integer
  15158. wrstandardcode:
  15159. description: 现货商品代码
  15160. type: string
  15161. wrstandardid:
  15162. description: 现货商品ID
  15163. type: integer
  15164. wrstandardname:
  15165. description: 商品名称
  15166. type: string
  15167. type: object
  15168. models.WrGoodsInfo:
  15169. properties:
  15170. haswr:
  15171. description: 0:仓单预售 1:仓单贸易
  15172. type: integer
  15173. lstitem:
  15174. description: 商品信息项
  15175. items:
  15176. $ref: '#/definitions/models.WrTypeItem'
  15177. type: array
  15178. lststep:
  15179. description: 履约规则
  15180. items:
  15181. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  15182. type: array
  15183. marketid:
  15184. description: 市场id
  15185. type: integer
  15186. type: object
  15187. models.WrGoodsPerformanceStep:
  15188. properties:
  15189. autoid:
  15190. description: AutoID
  15191. type: integer
  15192. isauto:
  15193. description: 是否自动 - 0:不自动 1:自动
  15194. type: integer
  15195. remark:
  15196. description: 备注
  15197. type: string
  15198. stepdate:
  15199. description: 天数信息(T+N)
  15200. type: string
  15201. stepdays:
  15202. description: 距离上一步天数
  15203. type: integer
  15204. stepindex:
  15205. description: 步骤序号
  15206. type: integer
  15207. stepinfo:
  15208. description: 步骤信息(步骤名称+步骤值)
  15209. type: string
  15210. steptypeid:
  15211. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15212. type: integer
  15213. steptypename:
  15214. description: 步骤名称
  15215. type: string
  15216. stepvalue:
  15217. description: 步骤值
  15218. type: number
  15219. templateid:
  15220. description: 履约计划模板ID
  15221. type: integer
  15222. type: object
  15223. models.WrHoldLB:
  15224. properties:
  15225. accountid:
  15226. description: 持有人帐户ID
  15227. type: integer
  15228. createtime:
  15229. description: 创建时间(过户时间)
  15230. type: string
  15231. deliverygoodscode:
  15232. description: 品种代码
  15233. type: string
  15234. deliverygoodsid:
  15235. description: 品种ID
  15236. type: integer
  15237. deliverygoodsname:
  15238. description: 品种名称
  15239. type: string
  15240. enableqty:
  15241. description: 可用数量
  15242. type: number
  15243. enumdicname:
  15244. description: 单位名称
  15245. type: string
  15246. freezerqty:
  15247. description: 冻结数量
  15248. type: number
  15249. ladingbillid:
  15250. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15251. type: string
  15252. minivalue:
  15253. description: 现货商品最小变动值
  15254. type: integer
  15255. optioncompare:
  15256. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15257. type: string
  15258. parentsubnum:
  15259. description: 拆分父子单号
  15260. type: integer
  15261. pledgeqty:
  15262. description: 质押数量
  15263. type: number
  15264. qty:
  15265. description: 数量
  15266. type: number
  15267. subnum:
  15268. description: 提单子单号
  15269. type: integer
  15270. tradedate:
  15271. description: 交易日(yyyyMMdd)
  15272. type: string
  15273. userid:
  15274. description: 持有人ID
  15275. type: integer
  15276. warehouseid:
  15277. description: 仓库ID
  15278. type: integer
  15279. warehousename:
  15280. description: 仓库名称
  15281. type: string
  15282. wrfactortypeid:
  15283. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15284. type: string
  15285. wrfactortypename:
  15286. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15287. type: string
  15288. wrholdeno:
  15289. description: 仓单编号
  15290. type: string
  15291. wrid:
  15292. description: 仓单变更ID
  15293. type: string
  15294. wrstandardcode:
  15295. description: 现货商品代码
  15296. type: string
  15297. wrstandardid:
  15298. description: 现货商品ID
  15299. type: integer
  15300. wrstandardname:
  15301. description: 商品名称
  15302. type: string
  15303. wrtypename:
  15304. description: 商品
  15305. type: string
  15306. type: object
  15307. models.WrMarketTradeConfig:
  15308. properties:
  15309. basisdownratio:
  15310. description: 浮动价基差下限比例(仓单贸易)
  15311. type: number
  15312. basisupratio:
  15313. description: 浮动价基差上限比例(仓单贸易)
  15314. type: number
  15315. buychargealgorithm:
  15316. description: 买方手续费收取方式 1:比率 2:固定
  15317. type: integer
  15318. buychargealgorithm2:
  15319. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  15320. type: integer
  15321. buychargealgorithmvalue:
  15322. description: 买方手续费设置值(交易所部分)
  15323. type: number
  15324. buychargealgorithmvalue2:
  15325. description: 买方手续费设置值(会员部分)
  15326. type: number
  15327. buychargealgorithmvalue3:
  15328. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  15329. type: number
  15330. buychargealgorithmvalue4:
  15331. description: 回购买方手续费设置值(会员部分) --77:现货商城
  15332. type: number
  15333. buyfirstmarginalgorithm:
  15334. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  15335. type: integer
  15336. buyfirstmarginvalue:
  15337. description: 买方出价保证金设置值 - [竞拍]
  15338. type: number
  15339. buymarginalgorithm:
  15340. description: 买方保证金方式 - 1:比率 2:固定
  15341. type: integer
  15342. buymarginvalue:
  15343. description: 买方保证金设置值
  15344. type: number
  15345. buyreleaseratio:
  15346. description: 买方释放比率[2:分步履约]
  15347. type: number
  15348. executemode:
  15349. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  15350. type: integer
  15351. executeside:
  15352. description: 执行方[2:分步履约] - 1:买方 2:卖方
  15353. type: integer
  15354. failedchargealgorithm:
  15355. description: 流拍手续费收取方式 1:比率 2:固定
  15356. type: integer
  15357. failedchargevalue:
  15358. description: 流拍手续费设置值
  15359. type: number
  15360. failedchargevalue2:
  15361. description: 流拍卖方手续费设置值
  15362. type: number
  15363. holddays:
  15364. description: 合同期限[2:分步履约]
  15365. type: integer
  15366. marketid:
  15367. description: 市场ID-仓单贸易、竞拍、预售
  15368. type: integer
  15369. minqty:
  15370. description: 最小执行量[2:分步履约]
  15371. type: number
  15372. modifierid:
  15373. description: 修改人
  15374. type: integer
  15375. performancetempid:
  15376. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)
  15377. type: integer
  15378. performancetempid2:
  15379. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行
  15380. type: integer
  15381. performanceway:
  15382. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  15383. type: integer
  15384. sellchargealgorithm:
  15385. description: 卖方手续费收取方式 1:比率 2:固定
  15386. type: integer
  15387. sellchargealgorithm2:
  15388. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  15389. type: integer
  15390. sellchargealgorithmvalue:
  15391. description: 卖方手续费设置值(交易所部分)
  15392. type: number
  15393. sellchargealgorithmvalue2:
  15394. description: 卖方手续费设置值(会员部分)
  15395. type: number
  15396. sellchargealgorithmvalue3:
  15397. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  15398. type: number
  15399. sellchargealgorithmvalue4:
  15400. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  15401. type: number
  15402. sellmarginalgorithm:
  15403. description: 卖方保证金方式 - 1:比率 2:固定
  15404. type: integer
  15405. sellmarginvalue:
  15406. description: 卖方保证金设置值
  15407. type: number
  15408. sellmarginvalue2:
  15409. description: 卖方保证金设置值(无仓单)
  15410. type: number
  15411. sellreleaseratio:
  15412. description: 卖方释放比率[2:分步履约]
  15413. type: number
  15414. updatetime:
  15415. description: 更新时间
  15416. type: string
  15417. type: object
  15418. models.WrOrderDetail:
  15419. properties:
  15420. accountid:
  15421. description: 交易账号(资金账号)
  15422. type: integer
  15423. allfriendsflag:
  15424. description: 是否全好友可见 - 0:否 1:是
  15425. type: integer
  15426. amount:
  15427. description: 挂牌金额 = 委托数量 * 固定价或升贴水
  15428. type: number
  15429. buyorsell:
  15430. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  15431. type: integer
  15432. canbargain:
  15433. description: 是否可议价 - 0:不可 1:可
  15434. type: integer
  15435. cancelqty:
  15436. description: 撤销数量
  15437. type: number
  15438. canpart:
  15439. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  15440. type: integer
  15441. delistminqty:
  15442. description: 起摘数量
  15443. type: integer
  15444. deliverygoodscode:
  15445. description: 品种代码
  15446. type: string
  15447. deliverygoodsid:
  15448. description: 品种ID
  15449. type: integer
  15450. deliverygoodsname:
  15451. description: 品种名称
  15452. type: string
  15453. deliverymonth:
  15454. description: 交收月
  15455. type: string
  15456. enumdicname:
  15457. description: 单位名称
  15458. type: string
  15459. fixedprice:
  15460. description: 固定价格 - [挂牌]
  15461. type: number
  15462. freezemargin:
  15463. description: 冻结保证金(保证金)
  15464. type: number
  15465. futupricemove:
  15466. description: 期货升贴水
  15467. type: number
  15468. futushow:
  15469. description: 期货合约/升贴水
  15470. type: string
  15471. goodscode:
  15472. description: 期货合约
  15473. type: string
  15474. goodsid:
  15475. description: 期货商品id
  15476. type: integer
  15477. goodsname:
  15478. description: 商品名称
  15479. type: string
  15480. haswr:
  15481. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15482. type: integer
  15483. isspecified:
  15484. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  15485. type: integer
  15486. ladingbillid:
  15487. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15488. type: string
  15489. marginvalue:
  15490. description: 保证金设置值(履约保证金)
  15491. type: number
  15492. marketid:
  15493. description: 市场ID
  15494. type: integer
  15495. matchusername:
  15496. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  15497. type: string
  15498. minivalue:
  15499. description: 现货商品最小变动值
  15500. type: integer
  15501. optioncompare:
  15502. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15503. type: string
  15504. orderqty:
  15505. description: 委托数量
  15506. type: number
  15507. ordertime:
  15508. description: 委托时间(挂牌时间)
  15509. type: string
  15510. performancetemplateid:
  15511. description: 履约模板id
  15512. type: integer
  15513. pricemove:
  15514. description: 升贴水(浮动价时填写) - [挂牌]
  15515. type: number
  15516. taname:
  15517. description: 交易用户名称(资金账号名称)
  15518. type: string
  15519. tradedate:
  15520. description: 交易日(yyyyMMdd)
  15521. type: string
  15522. tradeprice:
  15523. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  15524. type: number
  15525. tradeqty:
  15526. description: 成交数量
  15527. type: number
  15528. userid:
  15529. description: 用户ID
  15530. type: integer
  15531. validtime:
  15532. description: 挂牌有效期
  15533. type: string
  15534. warehouseid:
  15535. description: 仓库ID
  15536. type: integer
  15537. warehousename:
  15538. description: 仓库名称
  15539. type: string
  15540. wrfactortypeid:
  15541. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15542. type: string
  15543. wrfactortypename:
  15544. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15545. type: string
  15546. wrpricetype:
  15547. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  15548. type: integer
  15549. wrstandardcode:
  15550. description: 现货商品代码
  15551. type: string
  15552. wrstandardid:
  15553. description: 现货商品ID
  15554. type: integer
  15555. wrstandardname:
  15556. description: 商品名称
  15557. type: string
  15558. wrtradeorderid:
  15559. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15560. type: string
  15561. wrtradeorderstatus:
  15562. 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:撤单解冻贷款失败
  15563. type: integer
  15564. wrtradetype:
  15565. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15566. type: integer
  15567. wrtypename:
  15568. description: 商品
  15569. type: string
  15570. type: object
  15571. models.WrOrderQuote:
  15572. properties:
  15573. buyprice:
  15574. description: 买价
  15575. type: number
  15576. buypricemove:
  15577. description: 买升贴水(基差)
  15578. type: number
  15579. buyqty:
  15580. description: 买量
  15581. type: number
  15582. deliverygoodscode:
  15583. description: 品种代码
  15584. type: string
  15585. deliverygoodsid:
  15586. description: 品种id
  15587. type: integer
  15588. deliverygoodsname:
  15589. description: 品种名称
  15590. type: string
  15591. deliverymonth:
  15592. description: 交收月
  15593. type: string
  15594. enumdicname:
  15595. description: 单位名称
  15596. type: string
  15597. goodscode:
  15598. description: 商品合约(浮动价列表才有)
  15599. type: string
  15600. goodsid:
  15601. description: 商品id(浮动价列表才有)
  15602. type: integer
  15603. minivalue:
  15604. description: 现货商品最小变动值
  15605. type: integer
  15606. sellprice:
  15607. description: 卖价
  15608. type: number
  15609. sellpricemove:
  15610. description: 卖升贴水(基差)
  15611. type: number
  15612. sellqty:
  15613. description: 卖量
  15614. type: number
  15615. warehousecode:
  15616. description: 仓库代码
  15617. type: string
  15618. warehouseid:
  15619. description: 仓库id
  15620. type: integer
  15621. warehousename:
  15622. description: 仓库名称
  15623. type: string
  15624. wrfactortypeid:
  15625. description: 仓单要素id
  15626. type: string
  15627. wrfactortypename:
  15628. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15629. type: string
  15630. wrgoodsname:
  15631. description: 商品(商品名称+仓库要素名称 拼接)
  15632. type: string
  15633. wrstandardcode:
  15634. description: 商品代码
  15635. type: string
  15636. wrstandardid:
  15637. description: 商品id
  15638. type: integer
  15639. wrstandardname:
  15640. description: 商品名称
  15641. type: string
  15642. type: object
  15643. models.WrOrderQuoteDetail:
  15644. properties:
  15645. buyorsell:
  15646. description: 买卖 - 0:买 1:卖
  15647. type: integer
  15648. delistminqty:
  15649. description: 起摘数量
  15650. type: number
  15651. deliverymonth:
  15652. description: 交收月
  15653. type: string
  15654. enumdicname:
  15655. description: 单位名称
  15656. type: string
  15657. fixedprice:
  15658. description: 买(卖)价
  15659. type: number
  15660. minivalue:
  15661. description: 现货商品最小变动值
  15662. type: integer
  15663. orderqty:
  15664. description: 买(卖)量(=委托量-成交量)
  15665. type: number
  15666. ordertime:
  15667. description: 委托时间
  15668. type: string
  15669. pricemove:
  15670. description: 买(卖)升贴水- 基差
  15671. type: number
  15672. userid:
  15673. description: 购买方(销售方)用户ID
  15674. type: integer
  15675. username:
  15676. description: 购买方(销售方)
  15677. type: string
  15678. wrtradeorderid:
  15679. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15680. type: string
  15681. type: object
  15682. models.WrOutInApply:
  15683. properties:
  15684. applyid:
  15685. description: 申请单id
  15686. type: string
  15687. applystatus:
  15688. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  15689. type: integer
  15690. applytime:
  15691. description: 申请时间
  15692. type: string
  15693. applytype:
  15694. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  15695. type: integer
  15696. deliverygoodscode:
  15697. description: 品种代码
  15698. type: string
  15699. deliverygoodsid:
  15700. description: 品种ID
  15701. type: integer
  15702. deliverygoodsname:
  15703. description: 品种名称
  15704. type: string
  15705. enumdicname:
  15706. description: 单位名称
  15707. type: string
  15708. expresscompany:
  15709. description: 物流公司
  15710. type: string
  15711. expressnum:
  15712. description: 物流单号
  15713. type: string
  15714. minivalue:
  15715. description: 现货商品最小变动值
  15716. type: integer
  15717. optioncompare:
  15718. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15719. type: string
  15720. qty:
  15721. description: 数量
  15722. type: integer
  15723. userid:
  15724. description: 用户id
  15725. type: integer
  15726. warehouseid:
  15727. description: 仓库ID
  15728. type: integer
  15729. warehousename:
  15730. description: 仓库名称
  15731. type: string
  15732. wrfactortypeid:
  15733. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15734. type: string
  15735. wrfactortypename:
  15736. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15737. type: string
  15738. wrstandardcode:
  15739. description: 现货商品代码
  15740. type: string
  15741. wrstandardid:
  15742. description: 现货商品ID
  15743. type: integer
  15744. wrstandardname:
  15745. description: 商品名称
  15746. type: string
  15747. wrtypename:
  15748. description: 商品
  15749. type: string
  15750. type: object
  15751. models.WrPerformancePlan:
  15752. properties:
  15753. activatemonth:
  15754. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  15755. type: string
  15756. amount:
  15757. description: 履约金额(总金额)
  15758. type: number
  15759. buyaccountid:
  15760. description: 买方账号
  15761. type: integer
  15762. buyerfreezeamount:
  15763. description: 履约冻结(买履约)
  15764. type: number
  15765. buyerfreezeamountremain:
  15766. description: 履约冻结剩余(买履约)
  15767. type: number
  15768. buyorsell:
  15769. description: 买卖方向 0-买 1-卖
  15770. type: integer
  15771. buypaidamount:
  15772. description: 买方已冻/已扣金额 (已付金额)
  15773. type: number
  15774. buyusername:
  15775. description: 买方名字
  15776. type: string
  15777. contractid:
  15778. description: 合同ID
  15779. type: integer
  15780. createtime:
  15781. description: 创建时间
  15782. type: string
  15783. creatorid:
  15784. description: 创建人
  15785. type: integer
  15786. curstepdeadline:
  15787. description: 当前步骤到期时间
  15788. type: string
  15789. curstepid:
  15790. description: 当前步骤ID
  15791. type: string
  15792. curstepname:
  15793. description: 当前步骤名称
  15794. type: string
  15795. deliverygoodscode:
  15796. description: 品种代码
  15797. type: string
  15798. deliverygoodsid:
  15799. description: 品种ID
  15800. type: integer
  15801. deliverygoodsname:
  15802. description: 品种名称
  15803. type: string
  15804. enumdicname:
  15805. description: 单位名称
  15806. type: string
  15807. expressfee:
  15808. description: 运费
  15809. type: number
  15810. expressfeeconfirmed:
  15811. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  15812. type: integer
  15813. hasovershort:
  15814. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  15815. type: integer
  15816. haswr:
  15817. description: 类型 0-仓单预售 1-仓单贸易
  15818. type: integer
  15819. marketid:
  15820. description: 市场ID
  15821. type: integer
  15822. middleaccountid:
  15823. description: 中间商资金账号ID
  15824. type: integer
  15825. middleuserid:
  15826. description: 中间商用户ID
  15827. type: integer
  15828. minivalue:
  15829. description: 现货商品最小变动值
  15830. type: integer
  15831. optioncompare:
  15832. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15833. type: string
  15834. overshortamount:
  15835. description: 溢短金额
  15836. type: number
  15837. overshortqty:
  15838. description: 溢短数量
  15839. type: number
  15840. paymenttype:
  15841. description: 付款方式 - 1:冻结 2:扣款
  15842. type: integer
  15843. performanceplanid:
  15844. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  15845. type: string
  15846. performancestatus:
  15847. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭
  15848. type: integer
  15849. performancetype:
  15850. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  15851. type: integer
  15852. qty:
  15853. description: 履约数量
  15854. type: number
  15855. relatedorderid:
  15856. description: 关联单号(履约类型的关联单号)
  15857. type: string
  15858. remark:
  15859. description: 备注
  15860. type: string
  15861. sellaccountid:
  15862. description: 卖方账号
  15863. type: integer
  15864. sellerfreezeamount:
  15865. description: 履约冻结(卖履约)
  15866. type: number
  15867. sellerfreezeamountremain:
  15868. description: 履约冻结剩余(卖履约)
  15869. type: number
  15870. sellreceivedamount:
  15871. description: 卖方已收金额
  15872. type: number
  15873. sellusername:
  15874. description: 卖方名字
  15875. type: string
  15876. shipremark:
  15877. description: 发货备注[物流单号]
  15878. type: string
  15879. starttime:
  15880. description: 开始时间
  15881. type: string
  15882. steptypeid:
  15883. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15884. type: integer
  15885. typename:
  15886. description: 履约类型 名称
  15887. type: string
  15888. unpaidamount:
  15889. description: 剩余款(待支付金额)
  15890. type: number
  15891. userid:
  15892. description: 用户id
  15893. type: integer
  15894. warehouseid:
  15895. description: 仓库ID
  15896. type: integer
  15897. warehousename:
  15898. description: 仓库名称
  15899. type: string
  15900. wrfactortypeid:
  15901. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15902. type: string
  15903. wrfactortypename:
  15904. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15905. type: string
  15906. wrstandardcode:
  15907. description: 现货商品代码
  15908. type: string
  15909. wrstandardid:
  15910. description: 现货商品ID
  15911. type: integer
  15912. wrstandardname:
  15913. description: 商品名称
  15914. type: string
  15915. wrtransferuserid:
  15916. description: 仓单受让用户
  15917. type: integer
  15918. wrtypename:
  15919. description: 商品
  15920. type: string
  15921. required:
  15922. - userid
  15923. type: object
  15924. models.WrPerformancePlanStep:
  15925. properties:
  15926. delaydays:
  15927. description: 延期申请天数
  15928. type: integer
  15929. deliverygoodscode:
  15930. description: 品种代码
  15931. type: string
  15932. deliverygoodsid:
  15933. description: 品种ID
  15934. type: integer
  15935. deliverygoodsname:
  15936. description: 品种名称
  15937. type: string
  15938. endtime:
  15939. description: 结束日期
  15940. type: string
  15941. enumdicname:
  15942. description: 单位名称
  15943. type: string
  15944. executeside:
  15945. description: 步骤执行方 - 1:买方 2:卖方
  15946. type: integer
  15947. handlestatus:
  15948. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  15949. type: integer
  15950. isauto:
  15951. description: 是否自动 - 0:不自动 1:自动
  15952. type: integer
  15953. islastreceivestep:
  15954. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  15955. type: integer
  15956. minivalue:
  15957. description: 现货商品最小变动值
  15958. type: integer
  15959. optioncompare:
  15960. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15961. type: string
  15962. overdays:
  15963. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  15964. type: integer
  15965. performancestepid:
  15966. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  15967. type: string
  15968. planid:
  15969. description: 所属履约计划ID
  15970. type: string
  15971. realamount:
  15972. description: 实际完成金额
  15973. type: number
  15974. relatedorderid:
  15975. description: 关联单号
  15976. type: string
  15977. remaindays:
  15978. description: 剩余天数
  15979. type: integer
  15980. remark:
  15981. description: 错误备注
  15982. type: string
  15983. starttime:
  15984. description: 开始日期
  15985. type: string
  15986. stepamount:
  15987. description: 步骤金额
  15988. type: number
  15989. stepdays:
  15990. description: 距离上一步天数(分钟)
  15991. type: integer
  15992. stepindex:
  15993. description: 步骤序号
  15994. type: integer
  15995. steplanchtype:
  15996. description: 步骤启动类型 - 1:系统自动 2:手动
  15997. type: integer
  15998. stepremark:
  15999. description: 步骤备注
  16000. type: string
  16001. stepstatus:
  16002. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  16003. type: integer
  16004. steptypeid:
  16005. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  16006. type: integer
  16007. steptypename:
  16008. description: 步骤名称
  16009. type: string
  16010. stepvalue:
  16011. description: 步骤值
  16012. type: number
  16013. warehouseid:
  16014. description: 仓库ID
  16015. type: integer
  16016. warehousename:
  16017. description: 仓库名称
  16018. type: string
  16019. wrfactortypeid:
  16020. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16021. type: string
  16022. wrfactortypename:
  16023. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16024. type: string
  16025. wrstandardcode:
  16026. description: 现货商品代码
  16027. type: string
  16028. wrstandardid:
  16029. description: 现货商品ID
  16030. type: integer
  16031. wrstandardname:
  16032. description: 商品名称
  16033. type: string
  16034. wrtypename:
  16035. description: 商品
  16036. type: string
  16037. type: object
  16038. models.WrPerformanceStepType:
  16039. properties:
  16040. canauto:
  16041. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  16042. type: integer
  16043. steptypeid:
  16044. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  16045. type: integer
  16046. steptypename:
  16047. description: 步骤类型名称
  16048. type: string
  16049. type: object
  16050. models.WrPerformanceTemplateEx:
  16051. properties:
  16052. autoid:
  16053. description: AutoID 模板id
  16054. type: integer
  16055. createtime:
  16056. description: 创建时间
  16057. type: string
  16058. creatorid:
  16059. description: 创建人
  16060. type: integer
  16061. lstStep:
  16062. description: 步骤信息列表
  16063. items:
  16064. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  16065. type: array
  16066. paymenttype:
  16067. description: 支付方式 - 1:冻结 2:扣款
  16068. type: integer
  16069. takemode:
  16070. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  16071. type: integer
  16072. templatename:
  16073. description: 模板名称
  16074. type: string
  16075. templatetype:
  16076. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  16077. type: integer
  16078. userid:
  16079. description: 所属用户
  16080. type: integer
  16081. type: object
  16082. models.WrPosition:
  16083. properties:
  16084. accountid:
  16085. description: 帐户ID
  16086. type: integer
  16087. buyexcuteqty:
  16088. description: 采购履约中数量
  16089. type: number
  16090. creditcurqty:
  16091. description: 授信当前数量(预售仓单:预售当前量)
  16092. type: number
  16093. creditenableqty:
  16094. description: '授信可用数量(预售仓单: 可用数量)'
  16095. type: number
  16096. creditfreezeqty:
  16097. description: '授信冻结数量(预售仓单: 当前数量)'
  16098. type: number
  16099. credittotalqty:
  16100. description: 授信总数量(预售仓单:预售总量)
  16101. type: number
  16102. credittradeqty:
  16103. description: 授信成交数量(预售仓单:成交总量)
  16104. type: number
  16105. deliverygoodscode:
  16106. description: 品种代码
  16107. type: string
  16108. deliverygoodsid:
  16109. description: 品种ID
  16110. type: integer
  16111. deliverygoodsname:
  16112. description: 品种名称
  16113. type: string
  16114. enalbeqty:
  16115. description: 可用数量
  16116. type: number
  16117. enumdicname:
  16118. description: 单位名称
  16119. type: string
  16120. freezeqty:
  16121. description: 总冻结数量
  16122. type: number
  16123. haswr:
  16124. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16125. type: integer
  16126. minivalue:
  16127. description: 现货商品最小变动值
  16128. type: integer
  16129. modifytime:
  16130. description: 修改时间(过户时间)
  16131. type: string
  16132. optioncompare:
  16133. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16134. type: string
  16135. pledgeqty:
  16136. description: 质押数量
  16137. type: number
  16138. querytype:
  16139. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  16140. type: integer
  16141. sellexcuteqty:
  16142. description: 销售履约中数量
  16143. type: number
  16144. totalqty:
  16145. description: 总数量(库存数量)
  16146. type: number
  16147. warehouseid:
  16148. description: 仓库ID
  16149. type: integer
  16150. warehousename:
  16151. description: 仓库名称
  16152. type: string
  16153. wrfactortypeid:
  16154. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16155. type: string
  16156. wrfactortypename:
  16157. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16158. type: string
  16159. wrpositionid:
  16160. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  16161. type: string
  16162. wrpositionno:
  16163. description: 仓单编号
  16164. type: string
  16165. wrstandardcode:
  16166. description: 现货商品代码
  16167. type: string
  16168. wrstandardid:
  16169. description: 现货商品ID
  16170. type: integer
  16171. wrstandardname:
  16172. description: 商品名称
  16173. type: string
  16174. wrtypename:
  16175. description: 商品
  16176. type: string
  16177. wruserid:
  16178. description: 持有人ID
  16179. type: integer
  16180. type: object
  16181. models.WrQuoteOrderMyq:
  16182. properties:
  16183. buyorsell:
  16184. description: 买卖 - 0:买 1:卖
  16185. type: integer
  16186. canbargain:
  16187. description: 是否可议价 - 0:不可 1:可
  16188. type: integer
  16189. canpart:
  16190. description: 是否允许部份摘牌 - 0:不允许 1:允许
  16191. type: integer
  16192. delistminqty:
  16193. description: 起摘数量
  16194. type: number
  16195. deliverygoodscode:
  16196. description: 品种代码
  16197. type: string
  16198. deliverygoodsid:
  16199. description: 品种ID
  16200. type: integer
  16201. deliverygoodsname:
  16202. description: 品种名称
  16203. type: string
  16204. deliverymonth:
  16205. description: 交收月
  16206. type: string
  16207. enumdicname:
  16208. description: 单位名称
  16209. type: string
  16210. fixedprice:
  16211. description: 买(卖)价
  16212. type: number
  16213. goodscode:
  16214. description: 商品合约代码
  16215. type: string
  16216. marginflag:
  16217. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  16218. type: integer
  16219. marginvalue:
  16220. description: 保证金设置值
  16221. type: number
  16222. minivalue:
  16223. description: 现货商品最小变动值
  16224. type: integer
  16225. orderqty:
  16226. description: 买(卖)量(=委托量-成交量)
  16227. type: number
  16228. ordertime:
  16229. description: 委托时间
  16230. type: string
  16231. performancetemplateid:
  16232. description: 履约模板id
  16233. type: integer
  16234. pricemove:
  16235. description: 买(卖)升贴水- 基差
  16236. type: number
  16237. templatename:
  16238. description: 履约模板名称
  16239. type: string
  16240. userid:
  16241. description: 购买方(销售方)用户ID
  16242. type: integer
  16243. username:
  16244. description: 购买方(销售方)
  16245. type: string
  16246. validtime:
  16247. description: 有效期限
  16248. type: string
  16249. validtype:
  16250. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  16251. type: integer
  16252. warehousename:
  16253. description: 仓库名称
  16254. type: string
  16255. wrfactortypeid:
  16256. description: 仓单要素id
  16257. type: string
  16258. wrstandardcode:
  16259. description: 现货商品代码
  16260. type: string
  16261. wrstandardid:
  16262. description: 现货商品ID
  16263. type: integer
  16264. wrstandardname:
  16265. description: 商品名称
  16266. type: string
  16267. wrtradeorderid:
  16268. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16269. type: string
  16270. wrtypename:
  16271. description: 商品
  16272. type: string
  16273. type: object
  16274. models.WrScfContract:
  16275. properties:
  16276. borroweruserid:
  16277. description: 借款用户ID
  16278. type: integer
  16279. buybackwrpositionqty:
  16280. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  16281. type: number
  16282. closeinterest:
  16283. description: 已结利息 -> 已结费用
  16284. type: number
  16285. currisklevel:
  16286. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  16287. type: integer
  16288. deadline:
  16289. description: 截止日期(yyyyMMdd) -> 借款到期时间
  16290. type: string
  16291. deliverygoodscode:
  16292. description: 品种代码
  16293. type: string
  16294. deliverygoodsid:
  16295. description: 品种ID
  16296. type: integer
  16297. deliverygoodsname:
  16298. description: 品种名称
  16299. type: string
  16300. enumdicname:
  16301. description: 单位名称
  16302. type: string
  16303. financingdays:
  16304. description: 天数(天)
  16305. type: integer
  16306. initmargin:
  16307. description: 保证金 - [仓单回购]
  16308. type: number
  16309. interestamount:
  16310. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  16311. type: number
  16312. interestdebt:
  16313. description: 利息欠款(记录负数) -> 费用欠款
  16314. type: number
  16315. interestminlen:
  16316. description: 最小起息天数
  16317. type: integer
  16318. interestrate:
  16319. description: 利率
  16320. type: number
  16321. interestratemode:
  16322. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  16323. type: integer
  16324. interestsettlemode:
  16325. description: 结息方式 - 1:按日结息 3:按月结息
  16326. type: integer
  16327. interestsettlevalue:
  16328. description: 结息方式值
  16329. type: integer
  16330. isautoloan:
  16331. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  16332. type: integer
  16333. lastcloseinterestday:
  16334. description: 最近结息日(yyyyMMdd)
  16335. type: string
  16336. lenderamount:
  16337. description: 贷款金额 -> 借款金额
  16338. type: number
  16339. lenderuserid:
  16340. description: 贷款方用户ID -> 融出方用户ID
  16341. type: integer
  16342. lenderusername:
  16343. description: 融出方
  16344. type: string
  16345. marginratio:
  16346. description: 保证金比率质押率 - [仓单质押]
  16347. type: number
  16348. marketid:
  16349. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  16350. type: integer
  16351. minivalue:
  16352. description: 现货商品最小变动值
  16353. type: integer
  16354. optioncompare:
  16355. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16356. type: string
  16357. pricemove:
  16358. description: 估值升贴水值
  16359. type: number
  16360. productdetailid:
  16361. description: 产品组合ID
  16362. type: integer
  16363. productid:
  16364. description: 金融产品ID
  16365. type: integer
  16366. productname:
  16367. description: 产品名称
  16368. type: string
  16369. remainamount:
  16370. description: 合同剩余金额 -> 剩余金额
  16371. type: number
  16372. remainwrpositionqty:
  16373. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  16374. type: number
  16375. remark:
  16376. description: 备注
  16377. type: string
  16378. scfcontractid:
  16379. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  16380. type: string
  16381. scfcontractstatus:
  16382. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交
  16383. type: integer
  16384. scfcontracttype:
  16385. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  16386. type: integer
  16387. startinterestday:
  16388. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  16389. type: string
  16390. totalinterest:
  16391. description: 已计利息 -> 已计费用
  16392. type: number
  16393. unpaidinterest:
  16394. description: 未结费用
  16395. type: number
  16396. updatetime:
  16397. description: 更新时间
  16398. type: string
  16399. warehouseid:
  16400. description: 仓库ID
  16401. type: integer
  16402. warehousename:
  16403. description: 仓库名称
  16404. type: string
  16405. wrfactortypeid:
  16406. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16407. type: string
  16408. wrfactortypename:
  16409. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16410. type: string
  16411. wrqty:
  16412. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  16413. type: number
  16414. wrstandardcode:
  16415. description: 现货商品代码
  16416. type: string
  16417. wrstandardid:
  16418. description: 现货商品ID
  16419. type: integer
  16420. wrstandardname:
  16421. description: 商品名称
  16422. type: string
  16423. wrtypename:
  16424. description: 商品
  16425. type: string
  16426. type: object
  16427. models.WrScfContractInterest:
  16428. properties:
  16429. closeinterest:
  16430. description: 已结利息
  16431. type: number
  16432. closeintereststatus:
  16433. description: 结息状态 - 1:未结 2:已结
  16434. type: integer
  16435. closetime:
  16436. description: 结息时间
  16437. type: string
  16438. closetradedate:
  16439. description: 结息交易日
  16440. type: string
  16441. creatorid:
  16442. description: 操作人ID
  16443. type: integer
  16444. dayrate:
  16445. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  16446. type: number
  16447. interest:
  16448. description: 利息
  16449. type: number
  16450. interestamount:
  16451. description: 计息金额
  16452. type: number
  16453. interestday:
  16454. description: 计息日(yyyyMMdd)
  16455. type: string
  16456. scfcontractid:
  16457. description: SCF合同ID
  16458. type: string
  16459. scfcontractinterestid:
  16460. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  16461. type: integer
  16462. updatetime:
  16463. description: 更新时间
  16464. type: string
  16465. type: object
  16466. models.WrSiteColumnDetail:
  16467. properties:
  16468. brief:
  16469. description: 简介
  16470. type: string
  16471. context:
  16472. description: 内容
  16473. type: string
  16474. coverimage:
  16475. description: 封面图片
  16476. type: string
  16477. creaedate:
  16478. description: 创建时间
  16479. type: string
  16480. id:
  16481. description: ID(SEQ_SITE_COLUMNDETAIL)
  16482. type: integer
  16483. istop:
  16484. description: 是否置顶 - 0:不置 1:置顶
  16485. type: integer
  16486. publishdate:
  16487. description: 发布日期
  16488. type: string
  16489. title:
  16490. description: 标题
  16491. type: string
  16492. updatedate:
  16493. description: 修改时间
  16494. type: string
  16495. type: object
  16496. models.WrSpecialMatchOrder:
  16497. properties:
  16498. amount:
  16499. description: 金额 = 数量 * 价格
  16500. type: number
  16501. buyorsell:
  16502. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16503. type: integer
  16504. cancelqty:
  16505. description: 撤销数量
  16506. type: number
  16507. deliverygoodscode:
  16508. description: 品种代码
  16509. type: string
  16510. deliverygoodsid:
  16511. description: 品种ID
  16512. type: integer
  16513. deliverygoodsname:
  16514. description: 品种名称
  16515. type: string
  16516. enumdicname:
  16517. description: 单位名称
  16518. type: string
  16519. fixedprice:
  16520. description: 固定价格(价格)
  16521. type: number
  16522. haswr:
  16523. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16524. type: integer
  16525. isspecified:
  16526. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  16527. type: integer
  16528. marketid:
  16529. description: 市场ID
  16530. type: integer
  16531. matchuserid:
  16532. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  16533. type: integer
  16534. matchusername:
  16535. description: 指定方
  16536. type: string
  16537. minivalue:
  16538. description: 现货商品最小变动值
  16539. type: integer
  16540. optioncompare:
  16541. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16542. type: string
  16543. orderqty:
  16544. description: 委托数量
  16545. type: number
  16546. ordertime:
  16547. description: 委托时间
  16548. type: string
  16549. pricemove:
  16550. description: 升贴水(浮动价时填写) - [挂牌]
  16551. type: number
  16552. tradedate:
  16553. description: 交易日(yyyyMMdd)
  16554. type: string
  16555. tradeprice:
  16556. description: 成交价格
  16557. type: number
  16558. tradeqty:
  16559. description: 成交数量
  16560. type: number
  16561. userid:
  16562. description: 用户ID
  16563. type: integer
  16564. username:
  16565. description: 发起方
  16566. type: string
  16567. warehouseid:
  16568. description: 仓库ID
  16569. type: integer
  16570. warehousename:
  16571. description: 仓库名称
  16572. type: string
  16573. wrfactortypeid:
  16574. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16575. type: string
  16576. wrfactortypename:
  16577. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16578. type: string
  16579. wrpricetype:
  16580. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  16581. type: integer
  16582. wrstandardcode:
  16583. description: 现货商品代码
  16584. type: string
  16585. wrstandardid:
  16586. description: 现货商品ID
  16587. type: integer
  16588. wrstandardname:
  16589. description: 商品名称
  16590. type: string
  16591. wrtradeorderid:
  16592. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16593. type: string
  16594. wrtradeorderstatus:
  16595. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  16596. type: integer
  16597. wrtradetype:
  16598. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16599. type: integer
  16600. wrtypename:
  16601. description: 商品
  16602. type: string
  16603. type: object
  16604. models.WrSpotGroupTradeSum:
  16605. properties:
  16606. deliverygoodscode:
  16607. description: 现货品种代码
  16608. type: string
  16609. deliverygoodsid:
  16610. description: 现货品种ID(SEQ_DELIVERYGOODS)
  16611. type: integer
  16612. deliverygoodsname:
  16613. description: 现货品种名称
  16614. type: string
  16615. lastavgprice:
  16616. description: 上上个交易日价格(前2天价格)
  16617. type: string
  16618. lastreckondate:
  16619. description: 上上个交易日(前2天交易日)
  16620. type: string
  16621. reckondate:
  16622. description: 上个交易日(前1天交易日)
  16623. type: string
  16624. todayavgprice:
  16625. description: 上个交易日价格(前1天价格)
  16626. type: string
  16627. updown:
  16628. description: 涨跌
  16629. type: string
  16630. updownratio:
  16631. description: 涨幅(已格式化, 直接显示即可)
  16632. type: string
  16633. type: object
  16634. models.WrSpotGroupTradeSumDetail:
  16635. properties:
  16636. deliverygoodsid:
  16637. description: 现货商品id
  16638. type: integer
  16639. price:
  16640. description: 价格
  16641. type: number
  16642. reckondate:
  16643. description: 日期(yyymmdd, 如:20211031)
  16644. type: string
  16645. type: object
  16646. models.WrSpotGroupTradeSumEx:
  16647. properties:
  16648. lst:
  16649. description: 指数列表
  16650. items:
  16651. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  16652. type: array
  16653. prereckondate:
  16654. description: 上上个交易日(yyymmdd)
  16655. type: string
  16656. reckondate:
  16657. description: 上个交易日(yyyymmdd)
  16658. type: string
  16659. type: object
  16660. models.WrStandardFactoryItem:
  16661. properties:
  16662. dgfactoryitemid:
  16663. description: 选择项id
  16664. type: integer
  16665. dgfactoryitemvalue:
  16666. description: 要素项值
  16667. type: string
  16668. warehouseid:
  16669. description: 仓库id
  16670. type: integer
  16671. type: object
  16672. models.WrStandardFactoryItemEx:
  16673. properties:
  16674. dgfactoryitemtypeid:
  16675. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  16676. type: integer
  16677. itemlst:
  16678. description: 要素项列表
  16679. items:
  16680. $ref: '#/definitions/models.WrStandardFactoryItem'
  16681. type: array
  16682. itemtypename:
  16683. description: 要素项类型名称
  16684. type: string
  16685. wrstandardid:
  16686. description: 品类
  16687. type: integer
  16688. type: object
  16689. models.WrTradeDetail:
  16690. properties:
  16691. accountid:
  16692. description: 资金账号
  16693. type: integer
  16694. buyorsell:
  16695. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16696. type: integer
  16697. chargevalue:
  16698. description: 手续费
  16699. type: number
  16700. deliverygoodscode:
  16701. description: 品种代码
  16702. type: string
  16703. deliverygoodsid:
  16704. description: 品种ID
  16705. type: integer
  16706. deliverygoodsname:
  16707. description: 品种名称
  16708. type: string
  16709. deliverymonth:
  16710. description: 交收月
  16711. type: string
  16712. enumdicname:
  16713. description: 单位名称
  16714. type: string
  16715. haswr:
  16716. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16717. type: integer
  16718. marketid:
  16719. description: 市场ID
  16720. type: integer
  16721. matchaccountid:
  16722. description: 对手账号
  16723. type: integer
  16724. matchusername:
  16725. description: 对手方
  16726. type: string
  16727. minivalue:
  16728. description: 现货商品最小变动值
  16729. type: integer
  16730. optioncompare:
  16731. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16732. type: string
  16733. tradedate:
  16734. description: 交易日(yyyyMMdd)
  16735. type: string
  16736. tradeprice:
  16737. description: 成交价格
  16738. type: number
  16739. tradeqty:
  16740. description: 成交数量
  16741. type: number
  16742. tradetime:
  16743. description: 成交时间
  16744. type: string
  16745. userid:
  16746. description: 用户ID
  16747. type: integer
  16748. warehouseid:
  16749. description: 仓库ID
  16750. type: integer
  16751. warehousename:
  16752. description: 仓库名称
  16753. type: string
  16754. wrfactortypeid:
  16755. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16756. type: string
  16757. wrfactortypename:
  16758. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16759. type: string
  16760. wrstandardcode:
  16761. description: 现货商品代码
  16762. type: string
  16763. wrstandardid:
  16764. description: 现货商品ID
  16765. type: integer
  16766. wrstandardname:
  16767. description: 商品名称
  16768. type: string
  16769. wrtradedetailid:
  16770. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  16771. type: string
  16772. wrtradetype:
  16773. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16774. type: integer
  16775. wrtypename:
  16776. description: 商品
  16777. type: string
  16778. type: object
  16779. models.WrTradeOrderDetail:
  16780. properties:
  16781. buyorsell:
  16782. description: 买卖方向 0-买 1-卖
  16783. type: integer
  16784. goodsid:
  16785. description: 商品id
  16786. type: integer
  16787. orderid:
  16788. description: 委托单号
  16789. type: string
  16790. orderprice:
  16791. description: 委托价格
  16792. type: number
  16793. orderqty:
  16794. description: 委托数量
  16795. type: integer
  16796. userid:
  16797. description: 用户id
  16798. type: integer
  16799. username:
  16800. description: 用户名称(已脱敏)
  16801. type: string
  16802. type: object
  16803. models.WrTypeItem:
  16804. properties:
  16805. name:
  16806. description: 名称
  16807. type: string
  16808. value:
  16809. description: 值
  16810. type: string
  16811. type: object
  16812. models.WrUserFriend:
  16813. properties:
  16814. friendname:
  16815. description: 朋友名称(已脱敏)
  16816. type: string
  16817. frienduserid:
  16818. description: 朋友id
  16819. type: integer
  16820. isfriend:
  16821. description: 是否好友 0-不是 1-是
  16822. type: integer
  16823. userid:
  16824. description: 用户id
  16825. type: integer
  16826. type: object
  16827. models.WrUserReceiptInfo:
  16828. properties:
  16829. address:
  16830. description: 地址[发票类型:企业]
  16831. type: string
  16832. autoid:
  16833. description: AutoID
  16834. type: integer
  16835. contactinfo:
  16836. description: 联系方式
  16837. type: string
  16838. idnum:
  16839. description: 身份证号码[发票类型:个人]
  16840. type: string
  16841. isdefault:
  16842. description: 是否默认地址 - 0:否 1:是
  16843. type: integer
  16844. receiptaccount:
  16845. description: 发票帐号[发票类型:企业]
  16846. type: string
  16847. receiptbank:
  16848. description: 发票开户行[发票类型:企业]
  16849. type: string
  16850. receipttype:
  16851. description: 发票类型 - 1:个人 2:企业
  16852. type: integer
  16853. taxpayerid:
  16854. description: 纳税人识别号
  16855. type: string
  16856. userid:
  16857. description: 用户ID
  16858. type: integer
  16859. username:
  16860. description: 户名(个人姓名或企业名称)
  16861. type: string
  16862. type: object
  16863. models.XHBRAND:
  16864. properties:
  16865. brandid:
  16866. description: 品牌id
  16867. type: integer
  16868. brandname:
  16869. description: 品牌名称
  16870. type: string
  16871. isvalid:
  16872. description: 是否有效 0-无效 1-有效
  16873. type: integer
  16874. type: object
  16875. models.XHDeliveryGoods:
  16876. properties:
  16877. areauserid:
  16878. description: 所属机构
  16879. type: integer
  16880. bdlst:
  16881. description: 品牌列表
  16882. items:
  16883. $ref: '#/definitions/models.XHBRAND'
  16884. type: array
  16885. deliverygoodscode:
  16886. description: 现货品种代码
  16887. type: string
  16888. deliverygoodsid:
  16889. description: 现货品种ID(SEQ_DELIVERYGOODS)
  16890. type: integer
  16891. deliverygoodsname:
  16892. description: 现货品种名称
  16893. type: string
  16894. dgstatus:
  16895. description: 品种状态 - 作废 - 0:未激活 1:正常
  16896. type: integer
  16897. isvalid:
  16898. description: 是否有效 - 0:无效 1:有效
  16899. type: integer
  16900. remark:
  16901. description: 备注
  16902. type: string
  16903. unitid:
  16904. description: 单位id(目前看,数据库中是空值)
  16905. type: integer
  16906. wdlst:
  16907. description: 品类(现货商品)列表
  16908. items:
  16909. $ref: '#/definitions/models.XHWrstandard'
  16910. type: array
  16911. type: object
  16912. models.XHMiddleGoods:
  16913. properties:
  16914. convertratio:
  16915. description: 拆算系数
  16916. type: number
  16917. costratio:
  16918. description: 成本权重
  16919. type: number
  16920. deliverygoodsid:
  16921. description: 现货商品id
  16922. type: integer
  16923. enumdicname:
  16924. description: 单位名称
  16925. type: string
  16926. gplst:
  16927. description: 期货品种列表
  16928. items:
  16929. $ref: '#/definitions/models.TBGoodsGroup'
  16930. type: array
  16931. middlegoodscode:
  16932. description: 套保品种代码
  16933. type: string
  16934. middlegoodsid:
  16935. description: 套保品种id
  16936. type: integer
  16937. middlegoodsname:
  16938. description: 套保品种名称
  16939. type: string
  16940. unitid:
  16941. description: 单位id
  16942. type: integer
  16943. type: object
  16944. models.XHWrstandard:
  16945. properties:
  16946. deliverygoodsid:
  16947. description: 品种ID
  16948. type: integer
  16949. enumdicname:
  16950. description: 单位名称
  16951. type: string
  16952. mglst:
  16953. description: 套保品列表
  16954. items:
  16955. $ref: '#/definitions/models.XHMiddleGoods'
  16956. type: array
  16957. unitid:
  16958. description: 单位id
  16959. type: integer
  16960. vatrate:
  16961. description: 增值税率
  16962. type: number
  16963. wrstandardcode:
  16964. description: 现货商品代码
  16965. type: string
  16966. wrstandardid:
  16967. description: 现货商品ID(SEQ_WRSTANDARD)
  16968. type: integer
  16969. wrstandardname:
  16970. description: 现货商品名称
  16971. type: string
  16972. type: object
  16973. order.QueryHisTradeDetailRsp:
  16974. properties:
  16975. accountid:
  16976. description: 账户ID[报价币种]
  16977. type: integer
  16978. advanceratio:
  16979. description: 首付比率
  16980. type: number
  16981. buildtype:
  16982. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  16983. type: integer
  16984. buyorsell:
  16985. description: 方向 - 0:买 1:卖
  16986. type: integer
  16987. charge:
  16988. description: 手续费
  16989. type: number
  16990. closecharge:
  16991. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  16992. type: number
  16993. closeexchagechargevalue:
  16994. description: 平仓交易所手续费设置值
  16995. type: number
  16996. closefeealgorithm:
  16997. description: 平仓手续费收取方式 1:比率 2:固定
  16998. type: integer
  16999. closememberchargevalue:
  17000. description: 平仓会员手续费设置值
  17001. type: number
  17002. closepl:
  17003. description: 平仓盈亏
  17004. type: number
  17005. closepl2:
  17006. description: 平仓盈亏[逐笔]
  17007. type: number
  17008. closeqty:
  17009. description: 平仓数量(先建后平操作 需要记录)
  17010. type: number
  17011. creditamount:
  17012. description: 授信金额
  17013. type: number
  17014. decimalplace:
  17015. description: 商品报价小数位
  17016. type: integer
  17017. enumdicname:
  17018. description: 单位名称
  17019. type: string
  17020. gcaccountid:
  17021. description: 账户ID[合约币种]
  17022. type: integer
  17023. goodscode:
  17024. description: 商品代码
  17025. type: string
  17026. goodsid:
  17027. description: 商品ID
  17028. type: integer
  17029. goodsname:
  17030. description: 商品名称
  17031. type: string
  17032. goodunitid:
  17033. description: 商品单位id
  17034. type: integer
  17035. histradedate:
  17036. description: 历史交易日
  17037. type: string
  17038. intclosepl:
  17039. description: 整型盈亏(用于交易结算试算平衡-收益权)
  17040. type: integer
  17041. isconfirmexercise:
  17042. description: 是否确认行权- 0:否 1:是
  17043. type: integer
  17044. ismain:
  17045. description: 是否主单 - 0:不是 1:是
  17046. type: integer
  17047. ispreexercise:
  17048. description: 是否预申报- 0:否 1:是
  17049. type: integer
  17050. isreckoned:
  17051. description: 是否结算 - 0:未结算 1:已结算
  17052. type: integer
  17053. isvaliddata:
  17054. description: 是否有效 - 0:无效 1:有效
  17055. type: integer
  17056. listingselecttype:
  17057. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17058. type: integer
  17059. marketid:
  17060. description: 市场ID
  17061. type: integer
  17062. marketname:
  17063. description: 市场名称
  17064. type: string
  17065. matchaccountid:
  17066. description: 对手账号id
  17067. type: integer
  17068. memberuserid:
  17069. description: 会员id 个人投资者 需要填写
  17070. type: integer
  17071. opencharge:
  17072. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17073. type: number
  17074. openexchagechargevalue:
  17075. description: 建仓交易所手续费设置值
  17076. type: number
  17077. openfeealgorithm:
  17078. description: 建仓手续费收取方式 1:比率 2:固定
  17079. type: integer
  17080. openmemberchargevalue:
  17081. description: 建仓会员手续费设置值
  17082. type: number
  17083. openqty:
  17084. description: 开仓数量(先建后平操作 需要记录)
  17085. type: number
  17086. optiontype:
  17087. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17088. type: integer
  17089. orderid:
  17090. description: 委托单号
  17091. type: string
  17092. payamount:
  17093. description: 支付金额(付款金额)
  17094. type: number
  17095. performanceplanid:
  17096. description: 履约计划ID[期权]
  17097. type: integer
  17098. performancestatus:
  17099. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  17100. type: integer
  17101. preexerciseprice:
  17102. description: 预申报价格
  17103. type: number
  17104. premium:
  17105. description: 权利金 - [持仓单的权利金]
  17106. type: number
  17107. qtydecimalplace:
  17108. description: 商品报价小数位
  17109. type: integer
  17110. recvamount:
  17111. description: 到账金额 = 成交金额 - 手续费
  17112. type: number
  17113. relatedouttradeid:
  17114. description: 关联外部成交单ID
  17115. type: integer
  17116. status:
  17117. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  17118. type: integer
  17119. totalamount:
  17120. description: 订单总额 = 成交金额 + 手续费
  17121. type: number
  17122. tradeamount:
  17123. description: 成交金额[账户币种,用于所有权]
  17124. type: number
  17125. tradedate:
  17126. description: 交易日(yyyyMMdd)
  17127. type: string
  17128. tradeid:
  17129. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17130. type: string
  17131. trademode:
  17132. description: 交易模式
  17133. type: integer
  17134. tradeprice:
  17135. description: 成交价格
  17136. type: number
  17137. tradeproperty:
  17138. description: 交易属性
  17139. type: integer
  17140. tradeqty:
  17141. description: 成交数量
  17142. type: number
  17143. tradetime:
  17144. description: 成交时间
  17145. type: string
  17146. tradetype:
  17147. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  17148. type: integer
  17149. required:
  17150. - accountid
  17151. - buyorsell
  17152. - goodsid
  17153. - histradedate
  17154. - marketid
  17155. - memberuserid
  17156. - orderid
  17157. - tradeamount
  17158. - tradedate
  17159. - tradeid
  17160. - tradeprice
  17161. - tradeqty
  17162. - tradetime
  17163. type: object
  17164. order.QueryHisTradeOrderDetailRsp:
  17165. properties:
  17166. accountid:
  17167. description: 账户ID[报价币种]
  17168. type: integer
  17169. buildtype:
  17170. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  17171. type: integer
  17172. buyorsell:
  17173. description: 买卖 - 0:买 1:卖
  17174. type: integer
  17175. cancelorderid:
  17176. description: 撤单单号(撤单时填写)
  17177. type: string
  17178. cancelqty:
  17179. description: 撤单数量
  17180. type: number
  17181. clientordertime:
  17182. description: 客户端委托时间
  17183. type: string
  17184. clientticket:
  17185. description: 客户端流水号
  17186. type: string
  17187. clienttype:
  17188. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  17189. type: integer
  17190. closeexchagechargevalue:
  17191. description: 平仓交易所手续费设置值
  17192. type: number
  17193. closefeealgorithm:
  17194. description: 平仓手续费收取方式 1:比率 2:固定
  17195. type: integer
  17196. closefreezecharge:
  17197. description: 平仓冻结手续费(先建后平操作,需要记录)
  17198. type: number
  17199. closememberchargevalue:
  17200. description: 平仓会员手续费设置值
  17201. type: number
  17202. closeqty:
  17203. description: 平仓数量(先建后平操作 需要记录)
  17204. type: number
  17205. closetradeqty:
  17206. description: 平仓成交数量(先建后平操作,需要记录)
  17207. type: number
  17208. closeunfreezecharge:
  17209. description: 平仓解冻手续费(先建后平操作,需要记录)
  17210. type: number
  17211. decimalplace:
  17212. description: 商品报价小数位
  17213. type: integer
  17214. delistingtype:
  17215. description: 摘牌类型 - 1:价格最优 2:点选成交
  17216. type: integer
  17217. enumdicname:
  17218. description: 单位名称
  17219. type: string
  17220. freezecharge:
  17221. description: 冻结手续费
  17222. type: number
  17223. freezemargin:
  17224. description: 冻结保证金(冻结交易金额)
  17225. type: number
  17226. gcaccountid:
  17227. description: 账户ID[合约币种]
  17228. type: integer
  17229. goodscode:
  17230. description: 商品代码
  17231. type: string
  17232. goodsid:
  17233. description: 商品ID
  17234. type: integer
  17235. goodsname:
  17236. description: 商品名称
  17237. type: string
  17238. goodunitid:
  17239. description: 商品单位id
  17240. type: integer
  17241. histradedate:
  17242. description: 历史交易日
  17243. type: string
  17244. isconfirmexercise:
  17245. description: 是否确认行权- 0:否 1:是
  17246. type: integer
  17247. ispreexercise:
  17248. description: 是否预申报- 0:否 1:是
  17249. type: integer
  17250. isvaliddata:
  17251. description: 是否有效 - 0:无效 1:有效
  17252. type: integer
  17253. listingselecttype:
  17254. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17255. type: integer
  17256. marginalgorithm:
  17257. description: 保证金收取方式 1:比率 2:固定
  17258. type: integer
  17259. marginvalue:
  17260. description: 即市保证金设置值
  17261. type: number
  17262. marketid:
  17263. description: 市场ID
  17264. type: integer
  17265. marketmaxsub:
  17266. description: 市价最大偏移范围
  17267. type: number
  17268. marketname:
  17269. description: 市场名称
  17270. type: string
  17271. memberuserid:
  17272. description: 所属会员UserID
  17273. type: integer
  17274. openexchagechargevalue:
  17275. description: 建仓交易所手续费设置值
  17276. type: number
  17277. openfeealgorithm:
  17278. description: 建仓手续费收取方式 1:比率 2:固定
  17279. type: integer
  17280. openfreezecharge:
  17281. description: 开仓冻结手续费(先建后平操作,需要记录)
  17282. type: number
  17283. openmemberchargevalue:
  17284. description: 建仓会员手续费设置值
  17285. type: number
  17286. openqty:
  17287. description: 开仓数量(先建后平操作,需要记录)
  17288. type: number
  17289. opentradeqty:
  17290. description: 开仓成交数量(先建后平操作,需要记录)
  17291. type: number
  17292. openunfreezecharge:
  17293. description: 开仓解冻手续费(先建后平操作,需要记录)
  17294. type: number
  17295. operatetype:
  17296. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让
  17297. type: integer
  17298. operatorid:
  17299. description: 登录账号(LoginID)
  17300. type: integer
  17301. optiontype:
  17302. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17303. type: integer
  17304. orderid:
  17305. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17306. type: string
  17307. orderprice:
  17308. description: 委托价格
  17309. type: number
  17310. orderqty:
  17311. description: 委托数量
  17312. type: number
  17313. ordersrc:
  17314. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  17315. type: integer
  17316. orderstatus:
  17317. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  17318. type: integer
  17319. ordertime:
  17320. description: 委托时间
  17321. type: string
  17322. preexerciseprice:
  17323. description: 预申报价格
  17324. type: number
  17325. premium:
  17326. description: 权利金
  17327. type: number
  17328. preorderid:
  17329. description: 关联预埋单号(止盈止损单时填写)
  17330. type: string
  17331. pricemode:
  17332. description: '取价方式 - 1:市价 2: 限价'
  17333. type: integer
  17334. qtydecimalplace:
  17335. description: 成交量小数位
  17336. type: integer
  17337. quoteid:
  17338. description: 报价单ID
  17339. type: integer
  17340. relatedid:
  17341. description: 关联单号(交割单)
  17342. type: string
  17343. retcode:
  17344. description: 错误代码
  17345. type: integer
  17346. sessionid:
  17347. description: 会话ID
  17348. type: integer
  17349. tradedate:
  17350. description: 交易日(yyyyMMdd)
  17351. type: string
  17352. trademode:
  17353. description: 交易模式
  17354. type: integer
  17355. tradeproperty:
  17356. description: 交易属性
  17357. type: integer
  17358. tradeqty:
  17359. description: 成交数量
  17360. type: number
  17361. unfreezecharge:
  17362. description: 解冻手续费
  17363. type: number
  17364. unfreezemargin:
  17365. description: 解冻保证金
  17366. type: number
  17367. updatetime:
  17368. description: 更新时间
  17369. type: string
  17370. uuid:
  17371. description: 发起端唯一id
  17372. type: string
  17373. validtime:
  17374. description: 有效期限
  17375. type: string
  17376. validtype:
  17377. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  17378. type: integer
  17379. volumetype:
  17380. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  17381. type: integer
  17382. required:
  17383. - accountid
  17384. - buildtype
  17385. - buyorsell
  17386. - goodsid
  17387. - histradedate
  17388. - marketid
  17389. - memberuserid
  17390. - operatetype
  17391. - orderid
  17392. - orderqty
  17393. - ordertime
  17394. - pricemode
  17395. - tradedate
  17396. - validtype
  17397. type: object
  17398. order.QueryTradeDetailRsp:
  17399. properties:
  17400. accountid:
  17401. description: 账户ID[报价币种]
  17402. type: integer
  17403. advanceratio:
  17404. description: 首付比率
  17405. type: number
  17406. buildtype:
  17407. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  17408. type: integer
  17409. buyorsell:
  17410. description: 方向 - 0:买 1:卖
  17411. type: integer
  17412. charge:
  17413. description: 手续费
  17414. type: number
  17415. closecharge:
  17416. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17417. type: number
  17418. closeexchagechargevalue:
  17419. description: 平仓交易所手续费设置值
  17420. type: number
  17421. closefeealgorithm:
  17422. description: 平仓手续费收取方式 1:比率 2:固定
  17423. type: integer
  17424. closememberchargevalue:
  17425. description: 平仓会员手续费设置值
  17426. type: number
  17427. closepl:
  17428. description: 平仓盈亏
  17429. type: number
  17430. closepl2:
  17431. description: 平仓盈亏[逐笔]
  17432. type: number
  17433. closeqty:
  17434. description: 平仓数量(先建后平操作 需要记录)
  17435. type: number
  17436. creditamount:
  17437. description: 授信金额
  17438. type: number
  17439. decimalplace:
  17440. description: 商品报价小数位
  17441. type: integer
  17442. enumdicname:
  17443. description: 单位名称
  17444. type: string
  17445. gcaccountid:
  17446. description: 账户ID[合约币种]
  17447. type: integer
  17448. goodscode:
  17449. description: 商品代码
  17450. type: string
  17451. goodsid:
  17452. description: 商品ID
  17453. type: integer
  17454. goodsname:
  17455. description: 商品名称
  17456. type: string
  17457. goodunitid:
  17458. description: 商品单位id
  17459. type: integer
  17460. intclosepl:
  17461. description: 整型盈亏(用于交易结算试算平衡-收益权)
  17462. type: integer
  17463. isconfirmexercise:
  17464. description: 是否确认行权- 0:否 1:是
  17465. type: integer
  17466. ismain:
  17467. description: 是否主单 - 0:不是 1:是
  17468. type: integer
  17469. ispreexercise:
  17470. description: 是否预申报- 0:否 1:是
  17471. type: integer
  17472. isreckoned:
  17473. description: 是否结算 - 0:未结算 1:已结算
  17474. type: integer
  17475. listingselecttype:
  17476. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17477. type: integer
  17478. marketid:
  17479. description: 市场ID
  17480. type: integer
  17481. marketname:
  17482. description: 市场名称
  17483. type: string
  17484. matchaccountid:
  17485. description: 对手账号id
  17486. type: integer
  17487. memberuserid:
  17488. description: 会员id 个人投资者 需要填写
  17489. type: integer
  17490. opencharge:
  17491. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17492. type: number
  17493. openexchagechargevalue:
  17494. description: 建仓交易所手续费设置值
  17495. type: number
  17496. openfeealgorithm:
  17497. description: 建仓手续费收取方式 1:比率 2:固定
  17498. type: integer
  17499. openmemberchargevalue:
  17500. description: 建仓会员手续费设置值
  17501. type: number
  17502. openqty:
  17503. description: 开仓数量(先建后平操作 需要记录)
  17504. type: number
  17505. optiontype:
  17506. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17507. type: integer
  17508. orderid:
  17509. description: 委托单号
  17510. type: string
  17511. payamount:
  17512. description: 支付金额(付款金额)
  17513. type: number
  17514. performanceplanid:
  17515. description: 履约计划ID[期权]
  17516. type: integer
  17517. performancestatus:
  17518. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  17519. type: integer
  17520. preexerciseprice:
  17521. description: 预申报价格
  17522. type: number
  17523. premium:
  17524. description: 权利金 - [持仓单的权利金]
  17525. type: number
  17526. qtydecimalplace:
  17527. description: 商品报价小数位
  17528. type: integer
  17529. recvamount:
  17530. description: 到账金额 = 成交金额 - 手续费
  17531. type: number
  17532. relatedouttradeid:
  17533. description: 关联外部成交单ID
  17534. type: integer
  17535. status:
  17536. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  17537. type: integer
  17538. totalamount:
  17539. description: 订单总额 = 成交金额 + 手续费
  17540. type: number
  17541. tradeamount:
  17542. description: 成交金额[账户币种,用于所有权]
  17543. type: number
  17544. tradedate:
  17545. description: 交易日(yyyyMMdd)
  17546. type: string
  17547. tradeid:
  17548. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17549. type: string
  17550. trademode:
  17551. description: 交易模式
  17552. type: integer
  17553. tradeprice:
  17554. description: 成交价格
  17555. type: number
  17556. tradeproperty:
  17557. description: 交易属性
  17558. type: integer
  17559. tradeqty:
  17560. description: 成交数量
  17561. type: number
  17562. tradetime:
  17563. description: 成交时间
  17564. type: string
  17565. tradetype:
  17566. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  17567. type: integer
  17568. required:
  17569. - accountid
  17570. - buyorsell
  17571. - goodsid
  17572. - marketid
  17573. - memberuserid
  17574. - orderid
  17575. - tradeamount
  17576. - tradedate
  17577. - tradeid
  17578. - tradeprice
  17579. - tradeqty
  17580. - tradetime
  17581. type: object
  17582. order.QueryTradeOrderDetailRsp:
  17583. properties:
  17584. accountid:
  17585. description: 账户ID[报价币种]
  17586. type: integer
  17587. buildtype:
  17588. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  17589. type: integer
  17590. buyorsell:
  17591. description: 买卖 - 0:买 1:卖
  17592. type: integer
  17593. cancelorderid:
  17594. description: 撤单单号(撤单时填写)
  17595. type: string
  17596. cancelqty:
  17597. description: 撤单数量
  17598. type: number
  17599. clienttype:
  17600. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  17601. type: integer
  17602. closefreezecharge:
  17603. description: 平仓冻结手续费(先建后平操作,需要记录)
  17604. type: number
  17605. closeqty:
  17606. description: 平仓数量(先建后平操作 需要记录)
  17607. type: number
  17608. closetradeqty:
  17609. description: 平仓成交数量(先建后平操作,需要记录)
  17610. type: number
  17611. closeunfreezecharge:
  17612. description: 平仓解冻手续费(先建后平操作,需要记录)
  17613. type: number
  17614. decimalplace:
  17615. description: 商品报价小数位
  17616. type: integer
  17617. delistingtype:
  17618. description: 摘牌类型 - 1:价格最优 2:点选成交
  17619. type: integer
  17620. enableqty:
  17621. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  17622. type: number
  17623. enumdicname:
  17624. description: 单位名称
  17625. type: string
  17626. freezecharge:
  17627. description: 冻结手续费
  17628. type: number
  17629. freezemargin:
  17630. description: 冻结保证金(冻结交易金额)
  17631. type: number
  17632. goodscode:
  17633. description: 商品代码
  17634. type: string
  17635. goodsid:
  17636. description: 商品ID
  17637. type: integer
  17638. goodsname:
  17639. description: 商品名称
  17640. type: string
  17641. goodunitid:
  17642. description: 商品单位id
  17643. type: integer
  17644. listingselecttype:
  17645. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17646. type: integer
  17647. marketid:
  17648. description: 市场ID
  17649. type: integer
  17650. marketname:
  17651. description: 市场名称
  17652. type: string
  17653. openfreezecharge:
  17654. description: 开仓冻结手续费(先建后平操作,需要记录)
  17655. type: number
  17656. openqty:
  17657. description: 开仓数量(先建后平操作,需要记录)
  17658. type: number
  17659. opentradeqty:
  17660. description: 开仓成交数量(先建后平操作,需要记录)
  17661. type: number
  17662. openunfreezecharge:
  17663. description: 开仓解冻手续费(先建后平操作,需要记录)
  17664. type: number
  17665. operatetype:
  17666. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让
  17667. type: integer
  17668. operatorid:
  17669. description: 登录账号(LoginID)
  17670. type: integer
  17671. orderid:
  17672. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17673. type: string
  17674. orderprice:
  17675. description: 委托价格
  17676. type: number
  17677. orderqty:
  17678. description: 委托数量
  17679. type: number
  17680. ordersrc:
  17681. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  17682. type: integer
  17683. orderstatus:
  17684. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  17685. type: integer
  17686. ordertime:
  17687. description: 委托时间
  17688. type: string
  17689. preorderid:
  17690. description: 关联预埋单号(止盈止损单时填写)
  17691. type: string
  17692. pricemode:
  17693. description: '取价方式 - 1:市价 2: 限价'
  17694. type: integer
  17695. qtydecimalplace:
  17696. description: 商品报价小数位
  17697. type: integer
  17698. relatedid:
  17699. description: 关联单号(交割单)
  17700. type: string
  17701. tradedate:
  17702. description: 交易日(yyyyMMdd)
  17703. type: string
  17704. trademode:
  17705. description: 交易模式
  17706. type: integer
  17707. tradeqty:
  17708. description: 成交数量
  17709. type: number
  17710. unfreezecharge:
  17711. description: 解冻手续费
  17712. type: number
  17713. unfreezemargin:
  17714. description: 解冻保证金
  17715. type: number
  17716. validtime:
  17717. description: 有效期限
  17718. type: string
  17719. validtype:
  17720. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  17721. type: integer
  17722. volumetype:
  17723. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  17724. type: integer
  17725. required:
  17726. - accountid
  17727. - buildtype
  17728. - buyorsell
  17729. - goodsid
  17730. - marketid
  17731. - operatetype
  17732. - orderqty
  17733. - ordertime
  17734. - pricemode
  17735. - tradedate
  17736. - validtype
  17737. type: object
  17738. order.QueryTradePositionRsp:
  17739. properties:
  17740. accountid:
  17741. description: 资金账户
  17742. type: integer
  17743. agreeunit:
  17744. description: 合约单位
  17745. type: number
  17746. averageprice:
  17747. description: 持仓均价
  17748. type: number
  17749. buyorsell:
  17750. description: 方向 - 0:买 1:卖
  17751. type: integer
  17752. closetotalqty:
  17753. description: 平仓总数量
  17754. type: number
  17755. curholderamount:
  17756. description: 当前持仓总金额[商品币种]
  17757. type: number
  17758. curpositionqty:
  17759. description: 当前持仓总数量
  17760. type: number
  17761. currencyid:
  17762. description: 报价货币ID
  17763. type: integer
  17764. curtdposition:
  17765. description: 期末今日头寸
  17766. type: number
  17767. decimalplace:
  17768. description: 报价小数位
  17769. type: integer
  17770. enableqty:
  17771. description: 可用量
  17772. type: number
  17773. fretdposition:
  17774. description: 冻结今日头寸
  17775. type: number
  17776. frozenqty:
  17777. description: 持仓冻结数量
  17778. type: number
  17779. goodscode:
  17780. description: 商品代码
  17781. type: string
  17782. goodsid:
  17783. description: 商品Id
  17784. type: integer
  17785. goodsname:
  17786. description: 商品名称
  17787. type: string
  17788. goodunit:
  17789. description: 报价单位
  17790. type: string
  17791. goodunitid:
  17792. description: 报价单位ID
  17793. type: integer
  17794. holderamount:
  17795. description: 期初持仓总金额[商品币种]
  17796. type: number
  17797. lastprice:
  17798. description: 最新价
  17799. type: number
  17800. marketamount:
  17801. description: 市值
  17802. type: number
  17803. marketid:
  17804. description: 所属市场ID
  17805. type: integer
  17806. openreqqty:
  17807. description: 开仓申请数量(用于比较最大持仓数量)
  17808. type: number
  17809. opentotalqty:
  17810. description: 开仓总数量
  17811. type: number
  17812. otherfrozenqty:
  17813. description: 持仓其他冻结数量(交割冻结)
  17814. type: number
  17815. positionpl:
  17816. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  17817. type: number
  17818. positionplrate:
  17819. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  17820. type: number
  17821. positionqty:
  17822. description: 期初持仓数量
  17823. type: number
  17824. qtydecimalplace:
  17825. description: 成交量小数位
  17826. type: integer
  17827. refgoodscode:
  17828. description: 参考商品代码
  17829. type: string
  17830. refgoodsid:
  17831. description: 参考商品ID
  17832. type: integer
  17833. tnqty:
  17834. description: T+N冻结总量
  17835. type: number
  17836. tnusedqty:
  17837. description: T+N使用量(可以使用T+N的冻结数量)
  17838. type: number
  17839. trademode:
  17840. description: 交易模式
  17841. type: integer
  17842. tradeproperty:
  17843. description: 交易属性
  17844. type: integer
  17845. usedmargin:
  17846. description: 占用保证金[商品币种]
  17847. type: number
  17848. required:
  17849. - goodsid
  17850. type: object
  17851. pb.GoodsMarginCfgStruct:
  17852. properties:
  17853. CustomerTypeID:
  17854. description: 投资者客户类型
  17855. type: integer
  17856. GoodsID:
  17857. description: 商品ID
  17858. type: integer
  17859. IsDefault:
  17860. description: 是否默认标志位
  17861. type: integer
  17862. LockMarginValue:
  17863. description: 锁仓保证金
  17864. type: number
  17865. MarginAlgorithm:
  17866. description: 保证金计算方式
  17867. type: integer
  17868. MarketMarginValue:
  17869. description: 即市保证金值
  17870. type: number
  17871. RealMarginAlgorithm:
  17872. description: 实付保证金计算方式
  17873. type: integer
  17874. RealMarginValue:
  17875. description: 实付比例
  17876. type: number
  17877. ReckonMarginValue:
  17878. description: 结算保证金值
  17879. type: number
  17880. type: object
  17881. quote.HistoryData:
  17882. properties:
  17883. c:
  17884. description: 收盘价
  17885. type: number
  17886. f:
  17887. description: 是否补充数据
  17888. type: boolean
  17889. h:
  17890. description: 最高价
  17891. type: number
  17892. hv:
  17893. description: 持仓量
  17894. type: integer
  17895. l:
  17896. description: 最低价
  17897. type: number
  17898. o:
  17899. description: 开盘价
  17900. type: number
  17901. s:
  17902. description: 结算价,日线周期(包括)以上才有
  17903. type: number
  17904. ts:
  17905. description: 时间
  17906. type: string
  17907. tt:
  17908. description: 总金额
  17909. type: number
  17910. tv:
  17911. description: 总量(成交量)
  17912. type: integer
  17913. type: object
  17914. quote.HistoryTikData:
  17915. properties:
  17916. AV:
  17917. description: 卖量
  17918. type: integer
  17919. Ask:
  17920. description: 卖价
  17921. type: number
  17922. BV:
  17923. description: 买量
  17924. type: integer
  17925. Bid:
  17926. description: 买价
  17927. type: number
  17928. HI:
  17929. description: 单笔持仓
  17930. type: integer
  17931. HV:
  17932. description: 持仓量
  17933. type: integer
  17934. PE:
  17935. description: 现价
  17936. type: number
  17937. TDR:
  17938. description: 交易方向,0:买 1:卖
  17939. type: integer
  17940. TK:
  17941. description: 交易类型
  17942. type: integer
  17943. TS:
  17944. description: 行情时间文本
  17945. type: string
  17946. TT:
  17947. description: 现金额
  17948. type: number
  17949. Vol:
  17950. description: 现量
  17951. type: integer
  17952. type: object
  17953. quote.QueryQuoteDayRsp:
  17954. properties:
  17955. ask:
  17956. description: 卖1
  17957. type: number
  17958. ask2:
  17959. description: 卖2
  17960. type: number
  17961. ask3:
  17962. description: 卖3
  17963. type: number
  17964. ask4:
  17965. description: 卖4
  17966. type: number
  17967. ask5:
  17968. description: 卖5
  17969. type: number
  17970. ask6:
  17971. description: 卖6
  17972. type: number
  17973. ask7:
  17974. description: 卖7
  17975. type: number
  17976. ask8:
  17977. description: 卖8
  17978. type: number
  17979. ask9:
  17980. description: 卖9
  17981. type: number
  17982. ask10:
  17983. description: 卖10
  17984. type: number
  17985. askorderid:
  17986. description: 卖单号1
  17987. type: integer
  17988. askorderid2:
  17989. description: 卖单号2
  17990. type: integer
  17991. askorderid3:
  17992. description: 卖单号3
  17993. type: integer
  17994. askorderid4:
  17995. description: 卖单号4
  17996. type: integer
  17997. askorderid5:
  17998. description: 卖单号5
  17999. type: integer
  18000. askordervolume:
  18001. description: 卖单量1
  18002. type: integer
  18003. askordervolume2:
  18004. description: 卖单量2
  18005. type: integer
  18006. askordervolume3:
  18007. description: 卖单量3
  18008. type: integer
  18009. askordervolume4:
  18010. description: 卖单量4
  18011. type: integer
  18012. askordervolume5:
  18013. description: 卖单量5
  18014. type: integer
  18015. askordervolume6:
  18016. description: 卖单量6
  18017. type: integer
  18018. askordervolume7:
  18019. description: 卖单量7
  18020. type: integer
  18021. askordervolume8:
  18022. description: 卖单量8
  18023. type: integer
  18024. askordervolume9:
  18025. description: 卖单量9
  18026. type: integer
  18027. askordervolume10:
  18028. description: 卖单量10
  18029. type: integer
  18030. askqueueinfo:
  18031. description: 大利市卖港股用
  18032. type: string
  18033. askvolume:
  18034. description: 卖量1
  18035. type: integer
  18036. askvolume2:
  18037. description: 卖量2
  18038. type: integer
  18039. askvolume3:
  18040. description: 卖量3
  18041. type: integer
  18042. askvolume4:
  18043. description: 卖量4
  18044. type: integer
  18045. askvolume5:
  18046. description: 卖量5
  18047. type: integer
  18048. askvolume6:
  18049. description: 卖量6
  18050. type: integer
  18051. askvolume7:
  18052. description: 卖量7
  18053. type: integer
  18054. askvolume8:
  18055. description: 卖量8
  18056. type: integer
  18057. askvolume9:
  18058. description: 卖量9
  18059. type: integer
  18060. askvolume10:
  18061. description: 卖量10
  18062. type: integer
  18063. averageprice:
  18064. description: 均价
  18065. type: number
  18066. bid:
  18067. description: 买1
  18068. type: number
  18069. bid2:
  18070. description: 买2
  18071. type: number
  18072. bid3:
  18073. description: 买3
  18074. type: number
  18075. bid4:
  18076. description: 买4
  18077. type: number
  18078. bid5:
  18079. description: 买5
  18080. type: number
  18081. bid6:
  18082. description: 买6
  18083. type: number
  18084. bid7:
  18085. description: 买7
  18086. type: number
  18087. bid8:
  18088. description: 买8
  18089. type: number
  18090. bid9:
  18091. description: 买9
  18092. type: number
  18093. bid10:
  18094. description: 买10
  18095. type: number
  18096. bidorderid:
  18097. description: 买单号1
  18098. type: integer
  18099. bidorderid2:
  18100. description: 买单号2
  18101. type: integer
  18102. bidorderid3:
  18103. description: 买单号3
  18104. type: integer
  18105. bidorderid4:
  18106. description: 买单号4
  18107. type: integer
  18108. bidorderid5:
  18109. description: 买单号5
  18110. type: integer
  18111. bidordervolume:
  18112. description: 买单量1
  18113. type: integer
  18114. bidordervolume2:
  18115. description: 买单量2
  18116. type: integer
  18117. bidordervolume3:
  18118. description: 买单量3
  18119. type: integer
  18120. bidordervolume4:
  18121. description: 买单量4
  18122. type: integer
  18123. bidordervolume5:
  18124. description: 买单量5
  18125. type: integer
  18126. bidordervolume6:
  18127. description: 买单量6
  18128. type: integer
  18129. bidordervolume7:
  18130. description: 买单量7
  18131. type: integer
  18132. bidordervolume8:
  18133. description: 买单量8
  18134. type: integer
  18135. bidordervolume9:
  18136. description: 买单量9
  18137. type: integer
  18138. bidordervolume10:
  18139. description: 买单量10
  18140. type: integer
  18141. bidqueueinfo:
  18142. description: 大利市买港股用
  18143. type: string
  18144. bidvolume:
  18145. description: 买量1
  18146. type: integer
  18147. bidvolume2:
  18148. description: 买量2
  18149. type: integer
  18150. bidvolume3:
  18151. description: 买量3
  18152. type: integer
  18153. bidvolume4:
  18154. description: 买量4
  18155. type: integer
  18156. bidvolume5:
  18157. description: 买量5
  18158. type: integer
  18159. bidvolume6:
  18160. description: 买量6
  18161. type: integer
  18162. bidvolume7:
  18163. description: 买量7
  18164. type: integer
  18165. bidvolume8:
  18166. description: 买量8
  18167. type: integer
  18168. bidvolume9:
  18169. description: 买量9
  18170. type: integer
  18171. bidvolume10:
  18172. description: 买量10
  18173. type: integer
  18174. calloptionpremiums:
  18175. description: 认购期权1
  18176. type: integer
  18177. calloptionpremiums2:
  18178. description: 认购期权2
  18179. type: integer
  18180. calloptionpremiums3:
  18181. description: 认购期权3
  18182. type: integer
  18183. calloptionpremiums4:
  18184. description: 认购期权4
  18185. type: integer
  18186. calloptionpremiums5:
  18187. description: 认购期权5
  18188. type: integer
  18189. cleartime:
  18190. description: 清盘时间
  18191. type: integer
  18192. exchangecode:
  18193. description: 交易所代码
  18194. type: integer
  18195. exchangedate:
  18196. description: 交易日
  18197. type: integer
  18198. goodscode:
  18199. description: 商品代码
  18200. type: string
  18201. grepmarketprice:
  18202. description: 暗盘价 港股专用
  18203. type: number
  18204. highest:
  18205. description: 最高价
  18206. type: number
  18207. holdincrement:
  18208. description: 单笔持仓
  18209. type: integer
  18210. holdvolume:
  18211. description: 持仓
  18212. type: integer
  18213. iep:
  18214. description: 平衡价 港股专用
  18215. type: number
  18216. iev:
  18217. description: 平衡量 港股专用
  18218. type: number
  18219. inventory:
  18220. description: 库存
  18221. type: integer
  18222. iscleared:
  18223. description: 是否清盘标志
  18224. type: integer
  18225. issettled:
  18226. description: 是否结算标志
  18227. type: integer
  18228. last:
  18229. description: 最新价
  18230. type: number
  18231. lastlot:
  18232. description: 最新成交手数
  18233. type: integer
  18234. lasttime:
  18235. description: 行情时间(只有现价变化行情时间才变化)
  18236. type: string
  18237. lastturnover:
  18238. description: 最新成交金额
  18239. type: number
  18240. lastvolume:
  18241. description: 最新成交量
  18242. type: integer
  18243. limitdown:
  18244. description: 跌停价
  18245. type: number
  18246. limitup:
  18247. description: 涨停价
  18248. type: number
  18249. lowest:
  18250. description: 最低价
  18251. type: number
  18252. nontotalholdervolume:
  18253. description: 非交易持仓量
  18254. type: integer
  18255. nontotallot:
  18256. description: 非交易总手数
  18257. type: integer
  18258. nontotalturnover:
  18259. description: 非交易总金额
  18260. type: integer
  18261. nontotalvolume:
  18262. description: 非交易总量
  18263. type: integer
  18264. opened:
  18265. description: 开盘价
  18266. type: number
  18267. opentime:
  18268. description: 开盘时间
  18269. type: string
  18270. orderid:
  18271. description: 序号
  18272. type: integer
  18273. preclose:
  18274. description: 昨收
  18275. type: number
  18276. preholdvolume:
  18277. description: 昨持仓
  18278. type: integer
  18279. presettle:
  18280. description: 昨结价
  18281. type: number
  18282. publictradetype:
  18283. description: 公共交易标志类型 港股专用
  18284. type: string
  18285. putoptionpremiums:
  18286. description: 认沽期权1
  18287. type: integer
  18288. putoptionpremiums2:
  18289. description: 认沽期权2
  18290. type: integer
  18291. putoptionpremiums3:
  18292. description: 认沽期权3
  18293. type: integer
  18294. putoptionpremiums4:
  18295. description: 认沽期权4
  18296. type: integer
  18297. putoptionpremiums5:
  18298. description: 认沽期权5
  18299. type: integer
  18300. settle:
  18301. description: 结算价
  18302. type: number
  18303. strikeprice:
  18304. description: 发行价
  18305. type: number
  18306. totalaskvolume:
  18307. description: 内盘
  18308. type: integer
  18309. totalbidvolume:
  18310. description: 外盘
  18311. type: integer
  18312. totallot:
  18313. description: 总手数
  18314. type: integer
  18315. totalturnover:
  18316. description: 总金额
  18317. type: number
  18318. totalvolume:
  18319. description: 总量
  18320. type: integer
  18321. utclasttime:
  18322. description: utc的行情时间
  18323. type: string
  18324. type: object
  18325. quote.QueryTSDataRsp:
  18326. properties:
  18327. Count:
  18328. description: 交易日应有数据个数
  18329. type: integer
  18330. decimalPlace:
  18331. description: 小数位
  18332. type: integer
  18333. endTime:
  18334. description: 结束时间
  18335. type: string
  18336. goodsCode:
  18337. description: 商品代码
  18338. type: string
  18339. historyDatas:
  18340. description: 历史数据
  18341. items:
  18342. $ref: '#/definitions/quote.HistoryData'
  18343. type: array
  18344. outGoodsCode:
  18345. description: 外部商品代码
  18346. type: string
  18347. preSettle:
  18348. description: 昨结价
  18349. type: number
  18350. runSteps:
  18351. description: 交易日开休市计划
  18352. items:
  18353. $ref: '#/definitions/quote.TSDataRunStep'
  18354. type: array
  18355. startTime:
  18356. description: 开始时间
  18357. type: string
  18358. tradeDate:
  18359. description: 交易日
  18360. type: string
  18361. type: object
  18362. quote.TSDataRunStep:
  18363. properties:
  18364. end:
  18365. description: 真实结束时间
  18366. type: string
  18367. endflag:
  18368. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  18369. type: integer
  18370. endtime:
  18371. description: 结束时间(HH:mm)
  18372. type: string
  18373. endweekday:
  18374. description: 结束周几
  18375. type: integer
  18376. groupid:
  18377. description: 分组ID
  18378. type: integer
  18379. runstep:
  18380. description: 运行阶段 - 2:连续交易
  18381. type: integer
  18382. sectionid:
  18383. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几
  18384. type: integer
  18385. start:
  18386. description: 真实开始时间
  18387. type: string
  18388. startflag:
  18389. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  18390. type: integer
  18391. starttime:
  18392. description: 起始时间(HH:mm)
  18393. type: string
  18394. startweekday:
  18395. description: 起始周几
  18396. type: integer
  18397. tradeweekday:
  18398. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  18399. type: integer
  18400. type: object
  18401. szdz.QueryConvertLogRsp:
  18402. properties:
  18403. accountid:
  18404. description: 资金账户ID
  18405. type: integer
  18406. clientticket:
  18407. description: 客户端流水号
  18408. type: string
  18409. converttype:
  18410. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  18411. type: integer
  18412. createtime:
  18413. description: 记账时间
  18414. type: string
  18415. daymaxvalue:
  18416. description: 配置当日最大转入限制
  18417. type: number
  18418. daymaxvalue2:
  18419. description: 配置当日最大转入限制(转入)
  18420. type: number
  18421. goodscode:
  18422. description: 商品代码
  18423. type: string
  18424. goodsname:
  18425. description: 商品名称
  18426. type: string
  18427. handlestatus:
  18428. description: 处理状态
  18429. type: integer
  18430. innergoodsid:
  18431. description: 内部商品ID
  18432. type: integer
  18433. inratio:
  18434. description: 配置转入比值
  18435. type: integer
  18436. invalue:
  18437. description: 目标值
  18438. type: number
  18439. logid:
  18440. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18441. type: integer
  18442. mobile:
  18443. description: 手机号码(加密存储)
  18444. type: string
  18445. outergoodscode:
  18446. description: 外部商品代码[JD\PD]
  18447. type: string
  18448. outratio:
  18449. description: 配置转出比值
  18450. type: integer
  18451. outvalue:
  18452. description: 源值
  18453. type: number
  18454. pddecimalplace:
  18455. description: PD小数位
  18456. type: integer
  18457. qty:
  18458. description: 数量
  18459. type: string
  18460. remark:
  18461. description: 备注
  18462. type: string
  18463. sessionid:
  18464. description: 会话ID
  18465. type: integer
  18466. timemaxvalue:
  18467. description: 配置单次最大转入限制
  18468. type: number
  18469. timemaxvalue2:
  18470. description: 配置单次最大转入限制(转入)
  18471. type: number
  18472. timeminvalue:
  18473. description: 配置单次最小数量限制
  18474. type: number
  18475. timeminvalue2:
  18476. description: 配置单次最小数量限制(转入)
  18477. type: number
  18478. tradedate:
  18479. description: 交易日(yyyyMMdd)
  18480. type: string
  18481. userid:
  18482. description: 用户ID
  18483. type: integer
  18484. required:
  18485. - logid
  18486. type: object
  18487. szdz.QueryGoodsPickupRsp:
  18488. properties:
  18489. accountid:
  18490. description: 账户ID
  18491. type: integer
  18492. address:
  18493. description: 提货人详细地址
  18494. type: string
  18495. auditer:
  18496. description: 审核人
  18497. type: integer
  18498. audittime:
  18499. description: 审核时间
  18500. type: string
  18501. cardnum:
  18502. description: 提货人证件号码
  18503. type: string
  18504. cardtypeid:
  18505. description: 提货人证件类型
  18506. type: integer
  18507. checkremark:
  18508. description: 审核备注
  18509. type: string
  18510. goodscode:
  18511. description: 商品代码
  18512. type: string
  18513. goodsid:
  18514. description: 商品ID
  18515. type: integer
  18516. goodsname:
  18517. description: 商品名称
  18518. type: string
  18519. handlestatus:
  18520. description: 处理状态
  18521. type: integer
  18522. marketid:
  18523. description: 市场ID
  18524. type: integer
  18525. phonenum:
  18526. description: 提货人联系方式
  18527. type: string
  18528. qty:
  18529. description: 提货数量
  18530. type: number
  18531. recivername:
  18532. description: 提货人姓名
  18533. type: string
  18534. reqtime:
  18535. description: 更新时间
  18536. type: string
  18537. takemode:
  18538. description: 提货方式 - 2:自提 3:配送
  18539. type: integer
  18540. takeorderid:
  18541. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  18542. type: string
  18543. takeorderstatus:
  18544. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  18545. type: integer
  18546. takeremark:
  18547. description: 提货备注
  18548. type: string
  18549. tradedate:
  18550. description: 交易日(yyyyMMdd)
  18551. type: string
  18552. userid:
  18553. description: 用户ID
  18554. type: integer
  18555. required:
  18556. - takeorderid
  18557. type: object
  18558. szdz.QueryRecieptOrderRsp:
  18559. properties:
  18560. accountName:
  18561. description: 所属账号名称(已脱敏)
  18562. type: string
  18563. accountid:
  18564. description: 资金账号
  18565. type: integer
  18566. buyorsell:
  18567. description: 方向 - 0:买 1:卖
  18568. type: integer
  18569. enableqty:
  18570. description: 可摘数量
  18571. type: integer
  18572. goodscode:
  18573. description: 商品代码
  18574. type: string
  18575. goodsid:
  18576. description: 商品ID
  18577. type: integer
  18578. goodsname:
  18579. description: 商品名称
  18580. type: string
  18581. orderid:
  18582. description: 委托单号
  18583. type: string
  18584. orderprice:
  18585. description: 委托价格
  18586. type: number
  18587. ordertime:
  18588. description: 委托时间
  18589. type: string
  18590. tradedate:
  18591. description: 交易日(yyyyMMdd)
  18592. type: string
  18593. required:
  18594. - ordertime
  18595. type: object
  18596. szdz.QuerySZDZTradePositionRsp:
  18597. properties:
  18598. accountid:
  18599. description: 账号Id
  18600. type: integer
  18601. agreeunit:
  18602. description: 合约单位
  18603. type: number
  18604. averageprice:
  18605. description: 持仓均价
  18606. type: number
  18607. buyorsell:
  18608. description: 方向 - 0:买 1:卖
  18609. type: integer
  18610. closetotalqty:
  18611. description: 平仓总数量
  18612. type: integer
  18613. curholderamount:
  18614. description: 当前持仓总金额
  18615. type: number
  18616. curpositionqty:
  18617. description: 当前持仓总数量
  18618. type: integer
  18619. currencyid:
  18620. description: 报价货币ID
  18621. type: integer
  18622. curtdposition:
  18623. description: 期末今日头寸
  18624. type: integer
  18625. decimalplace:
  18626. description: 报价小数位
  18627. type: integer
  18628. enableqty:
  18629. description: 可用量
  18630. type: integer
  18631. fretdposition:
  18632. description: 冻结今日头寸
  18633. type: integer
  18634. frozenqty:
  18635. description: 持仓冻结数量
  18636. type: integer
  18637. goodscode:
  18638. description: 商品代码(内部)
  18639. type: string
  18640. goodsid:
  18641. description: 商品Id
  18642. type: integer
  18643. goodsname:
  18644. description: 商品名称
  18645. type: string
  18646. goodunit:
  18647. description: 报价单位
  18648. type: string
  18649. goodunitid:
  18650. description: 报价单位ID
  18651. type: integer
  18652. holderamount:
  18653. description: 期初持仓总金额
  18654. type: number
  18655. marketid:
  18656. description: 市场ID
  18657. type: integer
  18658. openreqqty:
  18659. description: 开仓申请数量
  18660. type: integer
  18661. opentotalqty:
  18662. description: 开仓总数量
  18663. type: integer
  18664. otherfrozenqty:
  18665. description: 持仓其他冻结数量(交割冻结)
  18666. type: integer
  18667. positionqty:
  18668. description: 期初持仓数量
  18669. type: integer
  18670. szdz3freezqty:
  18671. description: 尚志大宗转换冻结总数量
  18672. type: integer
  18673. tnqty:
  18674. description: T+N冻结总量
  18675. type: integer
  18676. tnusedqty:
  18677. description: T+N使用量
  18678. type: integer
  18679. trademode:
  18680. description: 交易模式
  18681. type: integer
  18682. usedmargin:
  18683. description: 占用保证金
  18684. type: number
  18685. type: object
  18686. taaccount.QueryAmountLogRsp:
  18687. properties:
  18688. OPERATETYPENAME:
  18689. description: 资金操作类型名称
  18690. type: string
  18691. accountid:
  18692. description: 资金账户ID
  18693. type: integer
  18694. agoodscode:
  18695. description: 竞拍商品代码
  18696. type: string
  18697. agoodsname:
  18698. description: 竞拍商品名称
  18699. type: string
  18700. amount:
  18701. description: 资金金额
  18702. type: number
  18703. amountadjusttype:
  18704. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  18705. type: integer
  18706. autoid:
  18707. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  18708. type: integer
  18709. balance:
  18710. description: 期初余额
  18711. type: number
  18712. businesscode:
  18713. description: 业务编号
  18714. type: integer
  18715. createtime:
  18716. description: 发生时间
  18717. type: string
  18718. currencyid:
  18719. description: 币种ID
  18720. type: integer
  18721. currentbalance:
  18722. description: 期末余额(变动后金额)
  18723. type: number
  18724. dgoodscode:
  18725. description: 交割商品代码
  18726. type: string
  18727. dgoodsname:
  18728. description: 交割商品名称
  18729. type: string
  18730. goodscode:
  18731. description: 商品代码
  18732. type: string
  18733. goodsid:
  18734. description: 商品ID
  18735. type: integer
  18736. goodsname:
  18737. description: 商品名称
  18738. type: string
  18739. marketid:
  18740. description: 市场ID
  18741. type: integer
  18742. marketname:
  18743. description: 市场名称
  18744. type: string
  18745. moneyticket:
  18746. description: 资金流水号:银行端流水号
  18747. type: integer
  18748. operatetype:
  18749. 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:营销收款
  18750. type: integer
  18751. relationorderid:
  18752. description: 关联单号
  18753. type: string
  18754. remark:
  18755. description: 备注
  18756. type: string
  18757. trademode:
  18758. description: 交易模式
  18759. type: integer
  18760. required:
  18761. - accountid
  18762. - amount
  18763. - amountadjusttype
  18764. - autoid
  18765. - balance
  18766. - createtime
  18767. - currentbalance
  18768. - operatetype
  18769. type: object
  18770. taaccount.QueryHisAmountLogRsp:
  18771. properties:
  18772. OPERATETYPENAME:
  18773. description: 资金操作类型名称
  18774. type: string
  18775. accountid:
  18776. description: 资金账户ID
  18777. type: integer
  18778. agoodscode:
  18779. description: 竞拍商品代码
  18780. type: string
  18781. agoodsname:
  18782. description: 竞拍商品名称
  18783. type: string
  18784. amount:
  18785. description: 资金金额
  18786. type: number
  18787. amountadjusttype:
  18788. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  18789. type: integer
  18790. autoid:
  18791. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  18792. type: integer
  18793. balance:
  18794. description: 期初余额
  18795. type: number
  18796. businesscode:
  18797. description: 业务编号
  18798. type: integer
  18799. createtime:
  18800. description: 发生时间
  18801. type: string
  18802. currencyid:
  18803. description: 币种ID
  18804. type: integer
  18805. currentbalance:
  18806. description: 期末余额(变动后金额)
  18807. type: number
  18808. dgoodscode:
  18809. description: 交割商品代码
  18810. type: string
  18811. dgoodsname:
  18812. description: 交割商品名称
  18813. type: string
  18814. goodscode:
  18815. description: 商品代码
  18816. type: string
  18817. goodsid:
  18818. description: 商品ID
  18819. type: integer
  18820. goodsname:
  18821. description: 商品名称
  18822. type: string
  18823. histradedate:
  18824. description: 历史交易日
  18825. type: string
  18826. isvaliddata:
  18827. description: 是否有效 - 0:无效 1:有效
  18828. type: integer
  18829. marketid:
  18830. description: 市场ID
  18831. type: integer
  18832. marketname:
  18833. description: 市场名称
  18834. type: string
  18835. moneyticket:
  18836. description: 资金流水号:银行端流水号
  18837. type: integer
  18838. operatetype:
  18839. 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:营销收款
  18840. type: integer
  18841. relationorderid:
  18842. description: 关联单号
  18843. type: string
  18844. remark:
  18845. description: 备注
  18846. type: string
  18847. trademode:
  18848. description: 交易模式
  18849. type: integer
  18850. required:
  18851. - accountid
  18852. - amount
  18853. - amountadjusttype
  18854. - autoid
  18855. - balance
  18856. - createtime
  18857. - currentbalance
  18858. - histradedate
  18859. - operatetype
  18860. type: object
  18861. trade.QueryRecieptOrderRsp:
  18862. properties:
  18863. accountName:
  18864. description: 所属账号名称(已脱敏)
  18865. type: string
  18866. accountid:
  18867. description: 资金账号
  18868. type: integer
  18869. buyorsell:
  18870. description: 方向 - 0:买 1:卖
  18871. type: integer
  18872. enableqty:
  18873. description: 可摘数量
  18874. type: integer
  18875. goodscode:
  18876. description: 商品代码
  18877. type: string
  18878. goodsid:
  18879. description: 商品ID
  18880. type: integer
  18881. goodsname:
  18882. description: 商品名称
  18883. type: string
  18884. orderid:
  18885. description: 委托单号
  18886. type: string
  18887. orderprice:
  18888. description: 委托价格
  18889. type: number
  18890. ordertime:
  18891. description: 委托时间
  18892. type: string
  18893. tradedate:
  18894. description: 交易日(yyyyMMdd)
  18895. type: string
  18896. required:
  18897. - ordertime
  18898. type: object
  18899. user.LoginQueryRsp:
  18900. properties:
  18901. areaRoles:
  18902. description: 所属角色信息
  18903. items:
  18904. $ref: '#/definitions/models.Arearole'
  18905. type: array
  18906. externalExchanges:
  18907. description: 外部交易所
  18908. items:
  18909. $ref: '#/definitions/models.Externalexchange'
  18910. type: array
  18911. goodsgroups:
  18912. description: 商品组
  18913. items:
  18914. $ref: '#/definitions/models.Goodsgroup'
  18915. type: array
  18916. loginAccount:
  18917. $ref: '#/definitions/models.Loginaccount'
  18918. description: 登录账号
  18919. markets:
  18920. description: 市场
  18921. items:
  18922. $ref: '#/definitions/models.Market'
  18923. type: array
  18924. systemParams:
  18925. description: 系统参数
  18926. items:
  18927. $ref: '#/definitions/models.Systemparam'
  18928. type: array
  18929. userAccount:
  18930. $ref: '#/definitions/models.Useraccount'
  18931. description: 用户账号
  18932. userInfo:
  18933. $ref: '#/definitions/models.Userinfo'
  18934. description: 用户信息
  18935. username:
  18936. description: 用户姓名
  18937. type: string
  18938. type: object
  18939. info:
  18940. contact: {}
  18941. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  18942. termsOfService: http://www.muchinfo.cn
  18943. title: MTP2.0 查询服务 API
  18944. version: "1.0"
  18945. paths:
  18946. /CPTrade/QueryCPTradeMyBidInfos:
  18947. get:
  18948. parameters:
  18949. - description: 资金账户
  18950. in: query
  18951. name: accountid
  18952. required: true
  18953. type: integer
  18954. - description: 预售市场ID
  18955. in: query
  18956. name: marketid
  18957. type: integer
  18958. - description: 预售商品ID
  18959. in: query
  18960. name: goodsid
  18961. type: integer
  18962. produces:
  18963. - application/json
  18964. responses:
  18965. "200":
  18966. description: OK
  18967. schema:
  18968. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  18969. "500":
  18970. description: Internal Server Error
  18971. schema:
  18972. $ref: '#/definitions/app.Response'
  18973. security:
  18974. - ApiKeyAuth: []
  18975. summary: 查询产能预售我的出价信息
  18976. tags:
  18977. - 产能预售
  18978. /CPTrade/QueryCPTradeOrderDetail:
  18979. get:
  18980. parameters:
  18981. - description: 预售商品ID
  18982. in: query
  18983. name: goodsid
  18984. type: integer
  18985. - description: 预售市场ID
  18986. in: query
  18987. name: marketid
  18988. type: integer
  18989. - description: 预售商品ID列表 - 格式:1,2,3
  18990. in: query
  18991. name: goodsids
  18992. type: string
  18993. produces:
  18994. - application/json
  18995. responses:
  18996. "200":
  18997. description: OK
  18998. schema:
  18999. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  19000. "500":
  19001. description: Internal Server Error
  19002. schema:
  19003. $ref: '#/definitions/app.Response'
  19004. security:
  19005. - ApiKeyAuth: []
  19006. summary: 查询产能预售委托单信息
  19007. tags:
  19008. - 产能预售
  19009. /CPTrade/QueryMyCPTradeGoods:
  19010. get:
  19011. parameters:
  19012. - description: 资金账户
  19013. in: query
  19014. name: accountid
  19015. required: true
  19016. type: integer
  19017. produces:
  19018. - application/json
  19019. responses:
  19020. "200":
  19021. description: OK
  19022. schema:
  19023. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  19024. "500":
  19025. description: Internal Server Error
  19026. schema:
  19027. $ref: '#/definitions/app.Response'
  19028. security:
  19029. - ApiKeyAuth: []
  19030. summary: 查询我的预售信息
  19031. tags:
  19032. - 产能预售
  19033. /CPTrade/QueryPositionCancel:
  19034. get:
  19035. parameters:
  19036. - description: 账户ID
  19037. in: query
  19038. name: userid
  19039. required: true
  19040. type: integer
  19041. - description: 注销ID
  19042. in: query
  19043. name: cancelid
  19044. type: integer
  19045. - description: 资金账户ID
  19046. in: query
  19047. name: accountid
  19048. type: integer
  19049. produces:
  19050. - application/json
  19051. responses:
  19052. "200":
  19053. description: OK
  19054. schema:
  19055. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  19056. "500":
  19057. description: Internal Server Error
  19058. schema:
  19059. $ref: '#/definitions/app.Response'
  19060. security:
  19061. - ApiKeyAuth: []
  19062. summary: 查询远期订单注销申请信息
  19063. tags:
  19064. - 产能预售
  19065. /CPTrade/QueryPreasleApply:
  19066. get:
  19067. parameters:
  19068. - description: 账户ID
  19069. in: query
  19070. name: userid
  19071. required: true
  19072. type: integer
  19073. - description: 申请ID
  19074. in: query
  19075. name: applyid
  19076. type: integer
  19077. - description: 资金账户ID
  19078. in: query
  19079. name: accountid
  19080. type: integer
  19081. produces:
  19082. - application/json
  19083. responses:
  19084. "200":
  19085. description: OK
  19086. schema:
  19087. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  19088. "500":
  19089. description: Internal Server Error
  19090. schema:
  19091. $ref: '#/definitions/app.Response'
  19092. security:
  19093. - ApiKeyAuth: []
  19094. summary: 查询产能预售申请信息
  19095. tags:
  19096. - 产能预售
  19097. /CPTrade/QueryPresaleGoodsEx:
  19098. get:
  19099. parameters:
  19100. - description: 预售商品ID
  19101. in: query
  19102. name: goodsid
  19103. type: integer
  19104. - description: 预售市场ID
  19105. in: query
  19106. name: marketid
  19107. type: integer
  19108. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  19109. in: query
  19110. name: presalemode
  19111. type: integer
  19112. - description: 预售商品ID列表 - 格式:1,2,3
  19113. in: query
  19114. name: goodsids
  19115. type: string
  19116. - description: 预售商品代码
  19117. in: query
  19118. name: goodscode
  19119. type: string
  19120. produces:
  19121. - application/json
  19122. responses:
  19123. "200":
  19124. description: OK
  19125. schema:
  19126. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  19127. "500":
  19128. description: Internal Server Error
  19129. schema:
  19130. $ref: '#/definitions/app.Response'
  19131. security:
  19132. - ApiKeyAuth: []
  19133. summary: 查询产能预售商品扩展信息
  19134. tags:
  19135. - 产能预售
  19136. /CPTrade/QueryUserGoodsData:
  19137. get:
  19138. parameters:
  19139. - description: 资金账户ID
  19140. in: query
  19141. name: accountid
  19142. required: true
  19143. type: integer
  19144. produces:
  19145. - application/json
  19146. responses:
  19147. "200":
  19148. description: OK
  19149. schema:
  19150. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  19151. "500":
  19152. description: Internal Server Error
  19153. schema:
  19154. $ref: '#/definitions/app.Response'
  19155. security:
  19156. - ApiKeyAuth: []
  19157. summary: 查询远期订单信息
  19158. tags:
  19159. - 产能预售
  19160. /Common/GetAllEnums:
  19161. get:
  19162. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  19163. parameters:
  19164. - description: 起始自增ID
  19165. in: query
  19166. name: autoid
  19167. type: integer
  19168. produces:
  19169. - application/json
  19170. responses:
  19171. "200":
  19172. description: OK
  19173. schema:
  19174. $ref: '#/definitions/models.Enumdicitem'
  19175. "500":
  19176. description: Internal Server Error
  19177. schema:
  19178. $ref: '#/definitions/app.Response'
  19179. summary: 获取所有枚举信息
  19180. tags:
  19181. - 通用服务
  19182. /Common/GetClientMenus:
  19183. get:
  19184. parameters:
  19185. - description: 登录账号
  19186. in: query
  19187. name: loginID
  19188. required: true
  19189. type: integer
  19190. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  19191. in: query
  19192. name: clientType
  19193. type: integer
  19194. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  19195. in: query
  19196. name: name
  19197. type: string
  19198. produces:
  19199. - application/json
  19200. responses:
  19201. "200":
  19202. description: OK
  19203. schema:
  19204. items:
  19205. $ref: '#/definitions/common.ClientMenu'
  19206. type: array
  19207. "500":
  19208. description: Internal Server Error
  19209. schema:
  19210. $ref: '#/definitions/app.Response'
  19211. security:
  19212. - ApiKeyAuth: []
  19213. summary: 获取交易端菜单
  19214. tags:
  19215. - 通用服务
  19216. /Common/GetDivisions:
  19217. get:
  19218. produces:
  19219. - application/json
  19220. responses:
  19221. "200":
  19222. description: OK
  19223. schema:
  19224. $ref: '#/definitions/models.Division'
  19225. "500":
  19226. description: Internal Server Error
  19227. schema:
  19228. $ref: '#/definitions/app.Response'
  19229. summary: 查询区域信息
  19230. tags:
  19231. - 通用服务
  19232. /Common/GetPCWebMenus:
  19233. get:
  19234. parameters:
  19235. - description: 登录账号
  19236. in: query
  19237. name: loginID
  19238. required: true
  19239. type: integer
  19240. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  19241. in: query
  19242. name: name
  19243. type: string
  19244. produces:
  19245. - application/json
  19246. responses:
  19247. "200":
  19248. description: OK
  19249. schema:
  19250. items:
  19251. $ref: '#/definitions/common.PCWebMenu'
  19252. type: array
  19253. "500":
  19254. description: Internal Server Error
  19255. schema:
  19256. $ref: '#/definitions/app.Response'
  19257. security:
  19258. - ApiKeyAuth: []
  19259. summary: 获取PCWeb交易端菜单
  19260. tags:
  19261. - 通用服务
  19262. /Common/GetServerTime:
  19263. get:
  19264. produces:
  19265. - application/json
  19266. responses:
  19267. "200":
  19268. description: OK
  19269. schema:
  19270. $ref: '#/definitions/app.Response'
  19271. "500":
  19272. description: Internal Server Error
  19273. schema:
  19274. $ref: '#/definitions/app.Response'
  19275. summary: 获取服务器时间
  19276. tags:
  19277. - 通用服务
  19278. /Common/NoticeReaded:
  19279. post:
  19280. parameters:
  19281. - description: 登录账号
  19282. in: query
  19283. name: loginID
  19284. required: true
  19285. type: integer
  19286. - description: 通知公告ID
  19287. in: query
  19288. name: noticeID
  19289. required: true
  19290. type: integer
  19291. produces:
  19292. - application/json
  19293. responses:
  19294. "200":
  19295. description: OK
  19296. schema:
  19297. $ref: '#/definitions/app.Response'
  19298. "500":
  19299. description: Internal Server Error
  19300. schema:
  19301. $ref: '#/definitions/app.Response'
  19302. security:
  19303. - ApiKeyAuth: []
  19304. summary: 通知公告设置已读请求
  19305. tags:
  19306. - 通用服务
  19307. /Common/QueryErrorInfos:
  19308. get:
  19309. description: 如果传入rowNumber,则返回此rowNumber后的数据
  19310. parameters:
  19311. - description: 起始行号前索引
  19312. in: query
  19313. name: rowNumber
  19314. type: string
  19315. produces:
  19316. - application/json
  19317. responses:
  19318. "200":
  19319. description: OK
  19320. schema:
  19321. $ref: '#/definitions/models.QueryErrorInfosRsp'
  19322. "500":
  19323. description: Internal Server Error
  19324. schema:
  19325. $ref: '#/definitions/app.Response'
  19326. summary: 获取数据库错误信息
  19327. tags:
  19328. - 通用服务
  19329. /Common/QueryImageConfigs:
  19330. get:
  19331. parameters:
  19332. - description: 用户id
  19333. in: query
  19334. name: userId
  19335. type: integer
  19336. - description: 类型 - 1:App首页轮播 2:我的
  19337. in: query
  19338. name: imageType
  19339. type: integer
  19340. produces:
  19341. - application/json
  19342. responses:
  19343. "200":
  19344. description: OK
  19345. schema:
  19346. $ref: '#/definitions/common.QueryImageConfigsRsp'
  19347. "500":
  19348. description: Internal Server Error
  19349. schema:
  19350. $ref: '#/definitions/app.Response'
  19351. summary: 查询轮播图配置信息
  19352. tags:
  19353. - 通用服务
  19354. /Common/QueryNotice:
  19355. get:
  19356. parameters:
  19357. - description: 页码
  19358. in: query
  19359. name: page
  19360. type: integer
  19361. - description: 每页条数
  19362. in: query
  19363. name: pagesize
  19364. type: integer
  19365. - description: 登录账号
  19366. in: query
  19367. name: loginID
  19368. required: true
  19369. type: integer
  19370. - description: 消息类型 - 1:公告通知 2:系统消息
  19371. in: query
  19372. name: msgType
  19373. type: integer
  19374. - description: 是否只获取未读信息
  19375. in: query
  19376. name: onlyUnRead
  19377. type: boolean
  19378. - description: 自增ID,传入后会返回这个ID后面的记录
  19379. in: query
  19380. name: lastID
  19381. type: integer
  19382. produces:
  19383. - application/json
  19384. responses:
  19385. "200":
  19386. description: OK
  19387. schema:
  19388. $ref: '#/definitions/common.QueryNoticeRsp'
  19389. "500":
  19390. description: Internal Server Error
  19391. schema:
  19392. $ref: '#/definitions/app.Response'
  19393. security:
  19394. - ApiKeyAuth: []
  19395. summary: 通知公告系统消息查询
  19396. tags:
  19397. - 通用服务
  19398. /Common/QueryProvincesAndCities:
  19399. get:
  19400. parameters:
  19401. - description: 省ID
  19402. in: query
  19403. name: provinceID
  19404. type: integer
  19405. produces:
  19406. - application/json
  19407. responses:
  19408. "200":
  19409. description: OK
  19410. schema:
  19411. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  19412. "500":
  19413. description: Internal Server Error
  19414. schema:
  19415. $ref: '#/definitions/app.Response'
  19416. summary: 查询省市信息(不包括区)
  19417. tags:
  19418. - 通用服务
  19419. /Common/QueryTableDefine:
  19420. get:
  19421. parameters:
  19422. - description: 表key
  19423. in: query
  19424. name: tableKey
  19425. type: string
  19426. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  19427. in: query
  19428. name: tableType
  19429. type: integer
  19430. produces:
  19431. - application/json
  19432. responses:
  19433. "200":
  19434. description: OK
  19435. schema:
  19436. $ref: '#/definitions/common.QueryTableDefineRsp'
  19437. "500":
  19438. description: Internal Server Error
  19439. schema:
  19440. $ref: '#/definitions/app.Response'
  19441. summary: 查询交易端列表头信息
  19442. tags:
  19443. - 通用服务
  19444. /Common/QueryTraderMenu:
  19445. get:
  19446. parameters:
  19447. - description: 登录账号
  19448. in: query
  19449. name: loginid
  19450. required: true
  19451. type: integer
  19452. produces:
  19453. - application/json
  19454. responses:
  19455. "200":
  19456. description: OK
  19457. schema:
  19458. $ref: '#/definitions/common.QueryTraderMenuRsp'
  19459. "500":
  19460. description: Internal Server Error
  19461. schema:
  19462. $ref: '#/definitions/app.Response'
  19463. summary: 查询交易端菜单
  19464. tags:
  19465. - 通用服务
  19466. /Delivery/QueryDeliveryRelation:
  19467. get:
  19468. parameters:
  19469. - description: 商品ID
  19470. in: query
  19471. name: goodsid
  19472. type: integer
  19473. - description: 品种ID
  19474. in: query
  19475. name: deliverygoodsid
  19476. type: integer
  19477. - description: 市场ID
  19478. in: query
  19479. name: marketid
  19480. type: integer
  19481. produces:
  19482. - application/json
  19483. responses:
  19484. "200":
  19485. description: OK
  19486. schema:
  19487. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  19488. "500":
  19489. description: Internal Server Error
  19490. schema:
  19491. $ref: '#/definitions/app.Response'
  19492. security:
  19493. - ApiKeyAuth: []
  19494. summary: 查询商品交割关系表
  19495. tags:
  19496. - 交割服务
  19497. /Ermcp/GetErmcpGoods:
  19498. get:
  19499. parameters:
  19500. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  19501. in: query
  19502. name: lastUpdateTime
  19503. type: string
  19504. produces:
  19505. - application/json
  19506. responses:
  19507. "200":
  19508. description: OK
  19509. schema:
  19510. $ref: '#/definitions/models.ErmcpGoods'
  19511. "500":
  19512. description: Internal Server Error
  19513. schema:
  19514. $ref: '#/definitions/app.Response'
  19515. security:
  19516. - ApiKeyAuth: []
  19517. summary: 查询企业风管期货商品信息
  19518. tags:
  19519. - 企业风险管理(app)
  19520. /Ermcp/GetErmcpGoodsSortByPosition:
  19521. get:
  19522. parameters:
  19523. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  19524. in: query
  19525. name: sortIndex
  19526. type: string
  19527. produces:
  19528. - application/json
  19529. responses:
  19530. "200":
  19531. description: OK
  19532. schema:
  19533. $ref: '#/definitions/models.Goodssortbypreposition'
  19534. "500":
  19535. description: Internal Server Error
  19536. schema:
  19537. $ref: '#/definitions/app.Response'
  19538. security:
  19539. - ApiKeyAuth: []
  19540. summary: 查询企业风管期货主力、次主力商品信息
  19541. tags:
  19542. - 企业风险管理(app)
  19543. /Ermcp/GetErmcpOutAccountStatus:
  19544. get:
  19545. parameters:
  19546. - description: 登录账号
  19547. in: query
  19548. name: loginID
  19549. required: true
  19550. type: integer
  19551. produces:
  19552. - application/json
  19553. responses:
  19554. "200":
  19555. description: OK
  19556. schema:
  19557. $ref: '#/definitions/models.Hedgemarketopenlog'
  19558. "500":
  19559. description: Internal Server Error
  19560. schema:
  19561. $ref: '#/definitions/app.Response'
  19562. security:
  19563. - ApiKeyAuth: []
  19564. summary: 获取目标登录账号当前对冲账号在线状态
  19565. tags:
  19566. - 企业风险管理(app)
  19567. /Ermcp/GetErmcpRoleFuncMenuLists:
  19568. get:
  19569. parameters:
  19570. - description: 登录账号
  19571. in: query
  19572. name: loginID
  19573. required: true
  19574. type: integer
  19575. produces:
  19576. - application/json
  19577. responses:
  19578. "200":
  19579. description: OK
  19580. schema:
  19581. $ref: '#/definitions/models.Funcmenulist'
  19582. "500":
  19583. description: Internal Server Error
  19584. schema:
  19585. $ref: '#/definitions/app.Response'
  19586. security:
  19587. - ApiKeyAuth: []
  19588. summary: 获取企业风管终端权限
  19589. tags:
  19590. - 企业风险管理(app)
  19591. /Ermcp/QueryAccMgrBizGroupSet:
  19592. get:
  19593. parameters:
  19594. - description: 用户ID
  19595. in: query
  19596. name: userid
  19597. required: true
  19598. type: integer
  19599. - description: 现货商品id
  19600. in: query
  19601. name: deliverygoodsid
  19602. type: integer
  19603. produces:
  19604. - application/json
  19605. responses:
  19606. "200":
  19607. description: OK
  19608. schema:
  19609. items:
  19610. $ref: '#/definitions/models.ErmcpBizGroupEx'
  19611. type: array
  19612. "500":
  19613. description: Internal Server Error
  19614. schema:
  19615. $ref: '#/definitions/app.Response'
  19616. security:
  19617. - ApiKeyAuth: []
  19618. summary: 查询业务类型分组(账户管理/账户设置)
  19619. tags:
  19620. - 企业风险管理(app)
  19621. /Ermcp/QueryAccMgrLoginUser:
  19622. get:
  19623. parameters:
  19624. - description: 用户ID
  19625. in: query
  19626. name: userid
  19627. required: true
  19628. type: integer
  19629. - description: 用户类型 2-机构 7-企业成员
  19630. in: query
  19631. name: usertype
  19632. type: integer
  19633. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  19634. in: query
  19635. name: querytype
  19636. required: true
  19637. type: integer
  19638. produces:
  19639. - application/json
  19640. responses:
  19641. "200":
  19642. description: OK
  19643. schema:
  19644. items:
  19645. $ref: '#/definitions/models.ErmcpLoginUserEx'
  19646. type: array
  19647. "500":
  19648. description: Internal Server Error
  19649. schema:
  19650. $ref: '#/definitions/app.Response'
  19651. security:
  19652. - ApiKeyAuth: []
  19653. summary: 查询账户管理登录账号(账户管理/登录账号)
  19654. tags:
  19655. - 企业风险管理(app)
  19656. /Ermcp/QueryAccMgrMainAccountInfo:
  19657. get:
  19658. parameters:
  19659. - description: 用户ID
  19660. in: query
  19661. name: userid
  19662. type: integer
  19663. - description: 主账号id
  19664. in: query
  19665. name: accountid
  19666. type: integer
  19667. produces:
  19668. - application/json
  19669. responses:
  19670. "200":
  19671. description: OK
  19672. schema:
  19673. items:
  19674. $ref: '#/definitions/models.MainAccountInfo'
  19675. type: array
  19676. "500":
  19677. description: Internal Server Error
  19678. schema:
  19679. $ref: '#/definitions/app.Response'
  19680. security:
  19681. - ApiKeyAuth: []
  19682. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  19683. tags:
  19684. - 企业风险管理(app)
  19685. /Ermcp/QueryAccMgrRole:
  19686. get:
  19687. parameters:
  19688. - description: 用户ID
  19689. in: query
  19690. name: userid
  19691. required: true
  19692. type: integer
  19693. produces:
  19694. - application/json
  19695. responses:
  19696. "200":
  19697. description: OK
  19698. schema:
  19699. items:
  19700. $ref: '#/definitions/models.ErmcpRole'
  19701. type: array
  19702. "500":
  19703. description: Internal Server Error
  19704. schema:
  19705. $ref: '#/definitions/app.Response'
  19706. security:
  19707. - ApiKeyAuth: []
  19708. summary: 查询账户管理角色设置(账户管理/角色设置)
  19709. tags:
  19710. - 企业风险管理(app)
  19711. /Ermcp/QueryAccMgrRoleMenu:
  19712. get:
  19713. parameters:
  19714. - description: 用户ID
  19715. in: query
  19716. name: userid
  19717. required: true
  19718. type: integer
  19719. - description: 角色id(可多个,逗号隔开)
  19720. in: query
  19721. name: roleid
  19722. type: string
  19723. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  19724. in: query
  19725. name: menutype
  19726. type: integer
  19727. produces:
  19728. - application/json
  19729. responses:
  19730. "200":
  19731. description: OK
  19732. schema:
  19733. items:
  19734. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  19735. type: array
  19736. "500":
  19737. description: Internal Server Error
  19738. schema:
  19739. $ref: '#/definitions/app.Response'
  19740. security:
  19741. - ApiKeyAuth: []
  19742. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  19743. tags:
  19744. - 企业风险管理(app)
  19745. /Ermcp/QueryAccMgrTaAccountInfo:
  19746. get:
  19747. parameters:
  19748. - description: 用户ID
  19749. in: query
  19750. name: userid
  19751. required: true
  19752. type: integer
  19753. - description: 账号id
  19754. in: query
  19755. name: accountid
  19756. type: integer
  19757. produces:
  19758. - application/json
  19759. responses:
  19760. "200":
  19761. description: OK
  19762. schema:
  19763. items:
  19764. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  19765. type: array
  19766. "500":
  19767. description: Internal Server Error
  19768. schema:
  19769. $ref: '#/definitions/app.Response'
  19770. security:
  19771. - ApiKeyAuth: []
  19772. summary: 查询账户管理授信(账户管理/账户设置/授信)
  19773. tags:
  19774. - 企业风险管理(app)
  19775. /Ermcp/QueryAccMgrTaaccount:
  19776. get:
  19777. parameters:
  19778. - description: 用户ID
  19779. in: query
  19780. name: userid
  19781. required: true
  19782. type: integer
  19783. produces:
  19784. - application/json
  19785. responses:
  19786. "200":
  19787. description: OK
  19788. schema:
  19789. items:
  19790. $ref: '#/definitions/models.ErmcpTaAccountEx'
  19791. type: array
  19792. "500":
  19793. description: Internal Server Error
  19794. schema:
  19795. $ref: '#/definitions/app.Response'
  19796. security:
  19797. - ApiKeyAuth: []
  19798. summary: 查询账户管理期货账号(账户管理/期货账号)
  19799. tags:
  19800. - 企业风险管理(app)
  19801. /Ermcp/QueryAvaildGoodsGroup:
  19802. get:
  19803. parameters:
  19804. - description: 所属机构ID
  19805. in: query
  19806. name: userid
  19807. required: true
  19808. type: integer
  19809. produces:
  19810. - application/json
  19811. responses:
  19812. "200":
  19813. description: OK
  19814. schema:
  19815. items:
  19816. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  19817. type: array
  19818. "500":
  19819. description: Internal Server Error
  19820. schema:
  19821. $ref: '#/definitions/app.Response'
  19822. security:
  19823. - ApiKeyAuth: []
  19824. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  19825. tags:
  19826. - 企业风险管理(app)
  19827. /Ermcp/QueryBusinessDj:
  19828. get:
  19829. parameters:
  19830. - description: 用户ID
  19831. in: query
  19832. name: UserId
  19833. required: true
  19834. type: integer
  19835. - description: 用户类型 2-机构 7-企业成员
  19836. in: query
  19837. name: usertype
  19838. type: integer
  19839. - description: 现货合同ID, 不填则查所有
  19840. in: query
  19841. name: relatedid
  19842. type: string
  19843. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19844. in: query
  19845. name: applystatus
  19846. type: string
  19847. produces:
  19848. - application/json
  19849. responses:
  19850. "200":
  19851. description: OK
  19852. schema:
  19853. items:
  19854. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  19855. type: array
  19856. "500":
  19857. description: Internal Server Error
  19858. schema:
  19859. $ref: '#/definitions/app.Response'
  19860. security:
  19861. - ApiKeyAuth: []
  19862. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  19863. tags:
  19864. - 企业风险管理(app)
  19865. /Ermcp/QueryBusinessFp:
  19866. get:
  19867. parameters:
  19868. - description: 用户ID
  19869. in: query
  19870. name: UserId
  19871. required: true
  19872. type: integer
  19873. - description: 用户类型 2-机构 7-企业成员
  19874. in: query
  19875. name: usertype
  19876. type: integer
  19877. - description: 现货合同ID, 不填则查所有
  19878. in: query
  19879. name: relatedid
  19880. type: string
  19881. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19882. in: query
  19883. name: applystatus
  19884. type: string
  19885. produces:
  19886. - application/json
  19887. responses:
  19888. "200":
  19889. description: OK
  19890. schema:
  19891. items:
  19892. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  19893. type: array
  19894. "500":
  19895. description: Internal Server Error
  19896. schema:
  19897. $ref: '#/definitions/app.Response'
  19898. security:
  19899. - ApiKeyAuth: []
  19900. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  19901. tags:
  19902. - 企业风险管理(app)
  19903. /Ermcp/QueryBusinessJs:
  19904. get:
  19905. parameters:
  19906. - description: 用户ID
  19907. in: query
  19908. name: UserId
  19909. required: true
  19910. type: integer
  19911. - description: 用户类型 2-机构 7-企业成员
  19912. in: query
  19913. name: usertype
  19914. type: integer
  19915. - description: 现货合同ID, 不填则查所有
  19916. in: query
  19917. name: relatedid
  19918. type: string
  19919. - description: 操作申请id
  19920. in: query
  19921. name: operateapplyid
  19922. type: string
  19923. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19924. in: query
  19925. name: applystatus
  19926. type: string
  19927. produces:
  19928. - application/json
  19929. responses:
  19930. "200":
  19931. description: OK
  19932. schema:
  19933. items:
  19934. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  19935. type: array
  19936. "500":
  19937. description: Internal Server Error
  19938. schema:
  19939. $ref: '#/definitions/app.Response'
  19940. security:
  19941. - ApiKeyAuth: []
  19942. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  19943. tags:
  19944. - 企业风险管理(app)
  19945. /Ermcp/QueryBusinessJsEx:
  19946. get:
  19947. parameters:
  19948. - description: 用户ID
  19949. in: query
  19950. name: UserId
  19951. required: true
  19952. type: integer
  19953. - description: 用户类型 2-机构 7-企业成员
  19954. in: query
  19955. name: usertype
  19956. type: integer
  19957. - description: 现货合同ID, 不填则查所有
  19958. in: query
  19959. name: relatedid
  19960. type: string
  19961. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19962. in: query
  19963. name: applystatus
  19964. type: string
  19965. produces:
  19966. - application/json
  19967. responses:
  19968. "200":
  19969. description: OK
  19970. schema:
  19971. items:
  19972. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  19973. type: array
  19974. "500":
  19975. description: Internal Server Error
  19976. schema:
  19977. $ref: '#/definitions/app.Response'
  19978. security:
  19979. - ApiKeyAuth: []
  19980. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  19981. tags:
  19982. - 企业风险管理(app)
  19983. /Ermcp/QueryBusinessKx:
  19984. get:
  19985. parameters:
  19986. - description: 用户ID
  19987. in: query
  19988. name: UserId
  19989. required: true
  19990. type: integer
  19991. - description: 用户类型 2-机构 7-企业成员
  19992. in: query
  19993. name: usertype
  19994. type: integer
  19995. - description: 现货合同ID, 不填则查所有
  19996. in: query
  19997. name: relatedid
  19998. type: string
  19999. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20000. in: query
  20001. name: applystatus
  20002. type: string
  20003. produces:
  20004. - application/json
  20005. responses:
  20006. "200":
  20007. description: OK
  20008. schema:
  20009. items:
  20010. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  20011. type: array
  20012. "500":
  20013. description: Internal Server Error
  20014. schema:
  20015. $ref: '#/definitions/app.Response'
  20016. security:
  20017. - ApiKeyAuth: []
  20018. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  20019. tags:
  20020. - 企业风险管理(app)
  20021. /Ermcp/QueryChangeLog:
  20022. get:
  20023. parameters:
  20024. - description: 合同ID
  20025. in: query
  20026. name: RelatedId
  20027. required: true
  20028. type: string
  20029. produces:
  20030. - application/json
  20031. responses:
  20032. "200":
  20033. description: OK
  20034. schema:
  20035. items:
  20036. $ref: '#/definitions/ermcp.QryOPLogRsp'
  20037. type: array
  20038. "500":
  20039. description: Internal Server Error
  20040. schema:
  20041. $ref: '#/definitions/app.Response'
  20042. security:
  20043. - ApiKeyAuth: []
  20044. summary: 查询变更记录
  20045. tags:
  20046. - 企业风险管理(app)
  20047. /Ermcp/QueryErmcpHisOrderDetails:
  20048. get:
  20049. parameters:
  20050. - description: 资金账户ID
  20051. in: query
  20052. name: accountID
  20053. required: true
  20054. type: integer
  20055. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20056. in: query
  20057. name: startDate
  20058. type: string
  20059. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20060. in: query
  20061. name: endDate
  20062. type: string
  20063. produces:
  20064. - application/json
  20065. responses:
  20066. "200":
  20067. description: OK
  20068. schema:
  20069. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  20070. "500":
  20071. description: Internal Server Error
  20072. schema:
  20073. $ref: '#/definitions/app.Response'
  20074. security:
  20075. - ApiKeyAuth: []
  20076. summary: 获取企业风管期货历史委托单信息
  20077. tags:
  20078. - 企业风险管理(app)
  20079. /Ermcp/QueryErmcpHisTradeDetails:
  20080. get:
  20081. parameters:
  20082. - description: 资金账户ID
  20083. in: query
  20084. name: accountID
  20085. required: true
  20086. type: integer
  20087. - description: 商品ID
  20088. in: query
  20089. name: goodsID
  20090. type: integer
  20091. - description: 买卖方向,0:买 1:卖
  20092. in: query
  20093. name: buyOrSell
  20094. type: integer
  20095. - description: 关联委托单号
  20096. in: query
  20097. name: orderID
  20098. type: integer
  20099. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20100. in: query
  20101. name: startDate
  20102. type: string
  20103. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20104. in: query
  20105. name: endDate
  20106. type: string
  20107. produces:
  20108. - application/json
  20109. responses:
  20110. "200":
  20111. description: OK
  20112. schema:
  20113. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  20114. "500":
  20115. description: Internal Server Error
  20116. schema:
  20117. $ref: '#/definitions/app.Response'
  20118. security:
  20119. - ApiKeyAuth: []
  20120. summary: 获取企业风管期货历史成交单信息
  20121. tags:
  20122. - 企业风险管理(app)
  20123. /Ermcp/QueryErmcpInnerHolderDetails:
  20124. get:
  20125. parameters:
  20126. - description: 资金账户ID
  20127. in: query
  20128. name: accountID
  20129. required: true
  20130. type: integer
  20131. - description: 商品ID
  20132. in: query
  20133. name: goodsID
  20134. type: integer
  20135. - description: 买卖方向,0:买 1:卖
  20136. in: query
  20137. name: buyOrSell
  20138. type: integer
  20139. produces:
  20140. - application/json
  20141. responses:
  20142. "200":
  20143. description: OK
  20144. schema:
  20145. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  20146. "500":
  20147. description: Internal Server Error
  20148. schema:
  20149. $ref: '#/definitions/app.Response'
  20150. security:
  20151. - ApiKeyAuth: []
  20152. summary: 获取企业风管期货内部持仓单信息
  20153. tags:
  20154. - 企业风险管理(app)
  20155. /Ermcp/QueryErmcpOrderDetails:
  20156. get:
  20157. parameters:
  20158. - description: 资金账户ID
  20159. in: query
  20160. name: accountID
  20161. required: true
  20162. type: integer
  20163. produces:
  20164. - application/json
  20165. responses:
  20166. "200":
  20167. description: OK
  20168. schema:
  20169. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  20170. "500":
  20171. description: Internal Server Error
  20172. schema:
  20173. $ref: '#/definitions/app.Response'
  20174. security:
  20175. - ApiKeyAuth: []
  20176. summary: 获取企业风管期货委托单信息
  20177. tags:
  20178. - 企业风险管理(app)
  20179. /Ermcp/QueryErmcpTradeDetails:
  20180. get:
  20181. parameters:
  20182. - description: 资金账户ID
  20183. in: query
  20184. name: accountID
  20185. required: true
  20186. type: integer
  20187. - description: 商品ID
  20188. in: query
  20189. name: goodsID
  20190. type: integer
  20191. - description: 买卖方向,0:买 1:卖
  20192. in: query
  20193. name: buyOrSell
  20194. type: integer
  20195. - description: 关联委托单号
  20196. in: query
  20197. name: orderID
  20198. type: integer
  20199. produces:
  20200. - application/json
  20201. responses:
  20202. "200":
  20203. description: OK
  20204. schema:
  20205. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  20206. "500":
  20207. description: Internal Server Error
  20208. schema:
  20209. $ref: '#/definitions/app.Response'
  20210. security:
  20211. - ApiKeyAuth: []
  20212. summary: 获取企业风管期货成交单信息
  20213. tags:
  20214. - 企业风险管理(app)
  20215. /Ermcp/QueryErmcpTradePosition:
  20216. get:
  20217. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  20218. parameters:
  20219. - description: 资金账户ID
  20220. in: query
  20221. name: accountID
  20222. required: true
  20223. type: integer
  20224. - description: 所属市场ID
  20225. in: query
  20226. name: marketID
  20227. type: integer
  20228. produces:
  20229. - application/json
  20230. responses:
  20231. "200":
  20232. description: OK
  20233. schema:
  20234. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  20235. "500":
  20236. description: Internal Server Error
  20237. schema:
  20238. $ref: '#/definitions/app.Response'
  20239. security:
  20240. - ApiKeyAuth: []
  20241. summary: 获取企业风管期货持仓头寸信息
  20242. tags:
  20243. - 企业风险管理(app)
  20244. /Ermcp/QueryExposureDetail:
  20245. get:
  20246. parameters:
  20247. - description: 所属机构ID
  20248. in: query
  20249. name: areaUserId
  20250. required: true
  20251. type: integer
  20252. - description: 套保商品
  20253. in: query
  20254. name: middleGoodsId
  20255. required: true
  20256. type: integer
  20257. produces:
  20258. - application/json
  20259. responses:
  20260. "200":
  20261. description: OK
  20262. schema:
  20263. items:
  20264. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  20265. type: array
  20266. "500":
  20267. description: Internal Server Error
  20268. schema:
  20269. $ref: '#/definitions/app.Response'
  20270. security:
  20271. - ApiKeyAuth: []
  20272. summary: 查询敞口现货明细
  20273. tags:
  20274. - 企业风险管理(app)
  20275. /Ermcp/QueryExposureGoods:
  20276. get:
  20277. parameters:
  20278. - description: 套保商品id
  20279. in: query
  20280. name: middlegoodsid
  20281. required: true
  20282. type: integer
  20283. produces:
  20284. - application/json
  20285. responses:
  20286. "200":
  20287. description: OK
  20288. schema:
  20289. items:
  20290. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  20291. type: array
  20292. "500":
  20293. description: Internal Server Error
  20294. schema:
  20295. $ref: '#/definitions/app.Response'
  20296. security:
  20297. - ApiKeyAuth: []
  20298. summary: 查询敞口主力合约
  20299. tags:
  20300. - 企业风险管理(app)
  20301. /Ermcp/QueryExposureHedgePosition:
  20302. get:
  20303. parameters:
  20304. - description: 用户id
  20305. in: query
  20306. name: userid
  20307. required: true
  20308. type: integer
  20309. produces:
  20310. - application/json
  20311. responses:
  20312. "200":
  20313. description: OK
  20314. schema:
  20315. items:
  20316. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  20317. type: array
  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/QueryExposureHedgePositionDetail:
  20328. get:
  20329. parameters:
  20330. - description: 所属机构ID
  20331. in: query
  20332. name: userid
  20333. required: true
  20334. type: integer
  20335. - description: 商品id
  20336. in: query
  20337. name: goodsId
  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.ExposureHedgePosDetailRsp'
  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/QueryExposureSpot:
  20359. get:
  20360. parameters:
  20361. - description: 所属机构ID
  20362. in: query
  20363. name: areaUserId
  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/ermcp.ExposureSpotRsp'
  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/QueryExposureSpotDetail:
  20385. get:
  20386. parameters:
  20387. - description: 所属机构ID
  20388. in: query
  20389. name: areaUserId
  20390. required: true
  20391. type: integer
  20392. - description: 现货品种ID
  20393. in: query
  20394. name: wrstandardId
  20395. required: true
  20396. type: integer
  20397. produces:
  20398. - application/json
  20399. responses:
  20400. "200":
  20401. description: OK
  20402. schema:
  20403. items:
  20404. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  20405. type: array
  20406. "500":
  20407. description: Internal Server Error
  20408. schema:
  20409. $ref: '#/definitions/app.Response'
  20410. security:
  20411. - ApiKeyAuth: []
  20412. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  20413. tags:
  20414. - 企业风险管理(app)
  20415. /Ermcp/QueryFuturesCompany:
  20416. get:
  20417. produces:
  20418. - application/json
  20419. responses:
  20420. "200":
  20421. description: OK
  20422. schema:
  20423. items:
  20424. $ref: '#/definitions/models.ErmcpFuturesCompany'
  20425. type: array
  20426. "500":
  20427. description: Internal Server Error
  20428. schema:
  20429. $ref: '#/definitions/app.Response'
  20430. security:
  20431. - ApiKeyAuth: []
  20432. summary: 查询期货公司
  20433. tags:
  20434. - 企业风险管理(app)
  20435. /Ermcp/QueryGGConvertConfig:
  20436. get:
  20437. parameters:
  20438. - description: 品种id(不填则查所有)
  20439. in: query
  20440. name: goodsgroupid
  20441. type: integer
  20442. produces:
  20443. - application/json
  20444. responses:
  20445. "200":
  20446. description: OK
  20447. schema:
  20448. items:
  20449. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  20450. type: array
  20451. "500":
  20452. description: Internal Server Error
  20453. schema:
  20454. $ref: '#/definitions/app.Response'
  20455. security:
  20456. - ApiKeyAuth: []
  20457. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  20458. tags:
  20459. - 企业风险管理(app)
  20460. /Ermcp/QueryGoodsBrand:
  20461. get:
  20462. parameters:
  20463. - description: 用户ID
  20464. in: query
  20465. name: userid
  20466. required: true
  20467. type: integer
  20468. - description: 现货商品ID
  20469. in: query
  20470. name: wrstandardid
  20471. type: integer
  20472. produces:
  20473. - application/json
  20474. responses:
  20475. "200":
  20476. description: OK
  20477. schema:
  20478. items:
  20479. $ref: '#/definitions/models.ErmcpGoodsBrand'
  20480. type: array
  20481. "500":
  20482. description: Internal Server Error
  20483. schema:
  20484. $ref: '#/definitions/app.Response'
  20485. security:
  20486. - ApiKeyAuth: []
  20487. summary: 查询商品品牌
  20488. tags:
  20489. - 企业风险管理(app)
  20490. /Ermcp/QueryGoodsModel:
  20491. get:
  20492. parameters:
  20493. - description: 用户ID
  20494. in: query
  20495. name: userid
  20496. required: true
  20497. type: integer
  20498. produces:
  20499. - application/json
  20500. responses:
  20501. "200":
  20502. description: OK
  20503. schema:
  20504. items:
  20505. $ref: '#/definitions/models.ErmcpGoodsModel'
  20506. type: array
  20507. "500":
  20508. description: Internal Server Error
  20509. schema:
  20510. $ref: '#/definitions/app.Response'
  20511. security:
  20512. - ApiKeyAuth: []
  20513. summary: 查询商品型号
  20514. tags:
  20515. - 企业风险管理(app)
  20516. /Ermcp/QueryHisExposure:
  20517. get:
  20518. parameters:
  20519. - description: 用户id
  20520. in: query
  20521. name: userid
  20522. required: true
  20523. type: integer
  20524. - description: 每个品种记录数
  20525. in: query
  20526. name: lastNum
  20527. required: true
  20528. type: integer
  20529. produces:
  20530. - application/json
  20531. responses:
  20532. "200":
  20533. description: OK
  20534. schema:
  20535. items:
  20536. $ref: '#/definitions/ermcp.HisExposureRsp'
  20537. type: array
  20538. "500":
  20539. description: Internal Server Error
  20540. schema:
  20541. $ref: '#/definitions/app.Response'
  20542. security:
  20543. - ApiKeyAuth: []
  20544. summary: 查询历史敞口(菜单:敞口/历史敞口)
  20545. tags:
  20546. - 企业风险管理(app)
  20547. /Ermcp/QueryMiddleGoods:
  20548. get:
  20549. parameters:
  20550. - description: 所属机构ID
  20551. in: query
  20552. name: userid
  20553. required: true
  20554. type: integer
  20555. - description: 状态 0-停用 1-正常
  20556. in: query
  20557. name: status
  20558. required: true
  20559. type: integer
  20560. produces:
  20561. - application/json
  20562. responses:
  20563. "200":
  20564. description: OK
  20565. schema:
  20566. items:
  20567. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  20568. type: array
  20569. "500":
  20570. description: Internal Server Error
  20571. schema:
  20572. $ref: '#/definitions/app.Response'
  20573. security:
  20574. - ApiKeyAuth: []
  20575. summary: 查询套保品种(菜单:套保品种)
  20576. tags:
  20577. - 企业风险管理(app)
  20578. /Ermcp/QueryMiddleGoodsChangeLog:
  20579. get:
  20580. parameters:
  20581. - description: 所属机构ID
  20582. in: query
  20583. name: userid
  20584. required: true
  20585. type: integer
  20586. - description: 套保品种id
  20587. in: query
  20588. name: middlegoodsid
  20589. required: true
  20590. type: integer
  20591. produces:
  20592. - application/json
  20593. responses:
  20594. "200":
  20595. description: OK
  20596. schema:
  20597. items:
  20598. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  20599. type: array
  20600. "500":
  20601. description: Internal Server Error
  20602. schema:
  20603. $ref: '#/definitions/app.Response'
  20604. security:
  20605. - ApiKeyAuth: []
  20606. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  20607. tags:
  20608. - 企业风险管理(app)
  20609. /Ermcp/QueryMiddleGoodsDetail:
  20610. get:
  20611. parameters:
  20612. - description: 所属机构ID
  20613. in: query
  20614. name: userid
  20615. required: true
  20616. type: integer
  20617. - description: 套保品种id
  20618. in: query
  20619. name: middlegoodsid
  20620. type: integer
  20621. produces:
  20622. - application/json
  20623. responses:
  20624. "200":
  20625. description: OK
  20626. schema:
  20627. items:
  20628. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  20629. type: array
  20630. "500":
  20631. description: Internal Server Error
  20632. schema:
  20633. $ref: '#/definitions/app.Response'
  20634. security:
  20635. - ApiKeyAuth: []
  20636. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  20637. tags:
  20638. - 企业风险管理(app)
  20639. /Ermcp/QueryPendingAuditInfo:
  20640. get:
  20641. parameters:
  20642. - description: 用户ID
  20643. in: query
  20644. name: UserId
  20645. required: true
  20646. type: integer
  20647. produces:
  20648. - application/json
  20649. responses:
  20650. "200":
  20651. description: OK
  20652. schema:
  20653. items:
  20654. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  20655. type: array
  20656. "500":
  20657. description: Internal Server Error
  20658. schema:
  20659. $ref: '#/definitions/app.Response'
  20660. security:
  20661. - ApiKeyAuth: []
  20662. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  20663. tags:
  20664. - 企业风险管理(app)
  20665. /Ermcp/QueryRealtimeExposure:
  20666. get:
  20667. parameters:
  20668. - description: 所属机构ID
  20669. in: query
  20670. name: userid
  20671. required: true
  20672. type: integer
  20673. produces:
  20674. - application/json
  20675. responses:
  20676. "200":
  20677. description: OK
  20678. schema:
  20679. items:
  20680. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  20681. type: array
  20682. "500":
  20683. description: Internal Server Error
  20684. schema:
  20685. $ref: '#/definitions/app.Response'
  20686. security:
  20687. - ApiKeyAuth: []
  20688. summary: 查询实时敞口
  20689. tags:
  20690. - 企业风险管理(app)
  20691. /Ermcp/QueryRealtimeExposurePosition:
  20692. get:
  20693. parameters:
  20694. - description: 用户id
  20695. in: query
  20696. name: userid
  20697. required: true
  20698. type: integer
  20699. - description: 套保商品ID
  20700. in: query
  20701. name: middleGoodsId
  20702. required: true
  20703. type: integer
  20704. produces:
  20705. - application/json
  20706. responses:
  20707. "200":
  20708. description: OK
  20709. schema:
  20710. items:
  20711. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  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/QueryRoleMenu:
  20723. get:
  20724. parameters:
  20725. - description: 登录ID
  20726. in: query
  20727. name: loginid
  20728. required: true
  20729. type: integer
  20730. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  20731. in: query
  20732. name: menutype
  20733. type: integer
  20734. produces:
  20735. - application/json
  20736. responses:
  20737. "200":
  20738. description: OK
  20739. schema:
  20740. items:
  20741. $ref: '#/definitions/models.RoleMenu'
  20742. type: array
  20743. "500":
  20744. description: Internal Server Error
  20745. schema:
  20746. $ref: '#/definitions/app.Response'
  20747. security:
  20748. - ApiKeyAuth: []
  20749. summary: 查询角色菜单和权限
  20750. tags:
  20751. - 企业风险管理(app)
  20752. /Ermcp/QueryTradeConfigTMP:
  20753. get:
  20754. parameters:
  20755. - description: 所属机构id
  20756. in: query
  20757. name: areauserid
  20758. type: integer
  20759. produces:
  20760. - application/json
  20761. responses:
  20762. "200":
  20763. description: OK
  20764. schema:
  20765. items:
  20766. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  20767. type: array
  20768. "500":
  20769. description: Internal Server Error
  20770. schema:
  20771. $ref: '#/definitions/app.Response'
  20772. security:
  20773. - ApiKeyAuth: []
  20774. summary: 查询交易模板配置
  20775. tags:
  20776. - 企业风险管理(app)
  20777. /Ermcp/QueryUserInfo:
  20778. get:
  20779. parameters:
  20780. - description: 所属机构用户ID
  20781. in: query
  20782. name: MemberUserID
  20783. required: true
  20784. type: integer
  20785. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  20786. in: query
  20787. name: queryType
  20788. required: true
  20789. type: integer
  20790. produces:
  20791. - application/json
  20792. responses:
  20793. "200":
  20794. description: OK
  20795. schema:
  20796. items:
  20797. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  20798. type: array
  20799. "500":
  20800. description: Internal Server Error
  20801. schema:
  20802. $ref: '#/definitions/app.Response'
  20803. security:
  20804. - ApiKeyAuth: []
  20805. summary: 查询客户资料
  20806. tags:
  20807. - 企业风险管理(app)
  20808. /Ermcp/QueryWarehouseInfo:
  20809. get:
  20810. parameters:
  20811. - description: 用户ID
  20812. in: query
  20813. name: userid
  20814. required: true
  20815. type: integer
  20816. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  20817. in: query
  20818. name: status
  20819. type: string
  20820. produces:
  20821. - application/json
  20822. responses:
  20823. "200":
  20824. description: OK
  20825. schema:
  20826. items:
  20827. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  20828. type: array
  20829. "500":
  20830. description: Internal Server Error
  20831. schema:
  20832. $ref: '#/definitions/app.Response'
  20833. security:
  20834. - ApiKeyAuth: []
  20835. summary: 查询仓库信息
  20836. tags:
  20837. - 企业风险管理(app)
  20838. /Ermcp3/QryAreaExpourseContractDetail:
  20839. get:
  20840. parameters:
  20841. - description: 用户ID
  20842. in: query
  20843. name: userid
  20844. required: true
  20845. type: integer
  20846. - description: 套保商品id
  20847. in: query
  20848. name: middlegoodsid
  20849. required: true
  20850. type: integer
  20851. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20852. in: query
  20853. name: cycletype
  20854. required: true
  20855. type: integer
  20856. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20857. in: query
  20858. name: cycletime
  20859. required: true
  20860. type: string
  20861. produces:
  20862. - application/json
  20863. responses:
  20864. "200":
  20865. description: OK
  20866. schema:
  20867. items:
  20868. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  20869. type: array
  20870. "500":
  20871. description: Internal Server Error
  20872. schema:
  20873. $ref: '#/definitions/app.Response'
  20874. security:
  20875. - ApiKeyAuth: []
  20876. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  20877. tags:
  20878. - 企业风险管理v3(app)
  20879. /Ermcp3/QryAreaExpourseFutuDetail:
  20880. get:
  20881. parameters:
  20882. - description: 用户ID
  20883. in: query
  20884. name: userid
  20885. required: true
  20886. type: integer
  20887. - description: 套保商品id
  20888. in: query
  20889. name: middlegoodsid
  20890. required: true
  20891. type: integer
  20892. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20893. in: query
  20894. name: cycletype
  20895. required: true
  20896. type: integer
  20897. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20898. in: query
  20899. name: cycletime
  20900. required: true
  20901. type: string
  20902. produces:
  20903. - application/json
  20904. responses:
  20905. "200":
  20906. description: OK
  20907. schema:
  20908. items:
  20909. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  20910. type: array
  20911. "500":
  20912. description: Internal Server Error
  20913. schema:
  20914. $ref: '#/definitions/app.Response'
  20915. security:
  20916. - ApiKeyAuth: []
  20917. summary: 查询敞口期货明细(敞口报表/期货明细)
  20918. tags:
  20919. - 企业风险管理v3(app)
  20920. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  20921. get:
  20922. parameters:
  20923. - description: 用户ID
  20924. in: query
  20925. name: userid
  20926. required: true
  20927. type: integer
  20928. - description: 套保商品id
  20929. in: query
  20930. name: middlegoodsid
  20931. required: true
  20932. type: integer
  20933. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20934. in: query
  20935. name: cycletype
  20936. required: true
  20937. type: integer
  20938. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20939. in: query
  20940. name: cycletime
  20941. required: true
  20942. type: string
  20943. produces:
  20944. - application/json
  20945. responses:
  20946. "200":
  20947. description: OK
  20948. schema:
  20949. items:
  20950. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  20951. type: array
  20952. "500":
  20953. description: Internal Server Error
  20954. schema:
  20955. $ref: '#/definitions/app.Response'
  20956. security:
  20957. - ApiKeyAuth: []
  20958. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  20959. tags:
  20960. - 企业风险管理v3(app)
  20961. /Ermcp3/QryAreaExpourseParamChLogDetail:
  20962. get:
  20963. parameters:
  20964. - description: 用户ID
  20965. in: query
  20966. name: userid
  20967. required: true
  20968. type: integer
  20969. - description: 套保商品id
  20970. in: query
  20971. name: middlegoodsid
  20972. required: true
  20973. type: integer
  20974. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20975. in: query
  20976. name: cycletype
  20977. required: true
  20978. type: integer
  20979. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20980. in: query
  20981. name: cycletime
  20982. required: true
  20983. type: string
  20984. produces:
  20985. - application/json
  20986. responses:
  20987. "200":
  20988. description: OK
  20989. schema:
  20990. items:
  20991. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  20992. type: array
  20993. "500":
  20994. description: Internal Server Error
  20995. schema:
  20996. $ref: '#/definitions/app.Response'
  20997. security:
  20998. - ApiKeyAuth: []
  20999. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  21000. tags:
  21001. - 企业风险管理v3(app)
  21002. /Ermcp3/QryAreaExpourseReport:
  21003. get:
  21004. parameters:
  21005. - description: 用户ID
  21006. in: query
  21007. name: userid
  21008. required: true
  21009. type: integer
  21010. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  21011. in: query
  21012. name: querytype
  21013. required: true
  21014. type: integer
  21015. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21016. in: query
  21017. name: cycletype
  21018. required: true
  21019. type: integer
  21020. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21021. in: query
  21022. name: cycletime
  21023. required: true
  21024. type: string
  21025. produces:
  21026. - application/json
  21027. responses:
  21028. "200":
  21029. description: OK
  21030. schema:
  21031. items:
  21032. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  21033. type: array
  21034. "500":
  21035. description: Internal Server Error
  21036. schema:
  21037. $ref: '#/definitions/app.Response'
  21038. security:
  21039. - ApiKeyAuth: []
  21040. summary: 查询敞口报表
  21041. tags:
  21042. - 企业风险管理v3(app)
  21043. /Ermcp3/QryAreaSpotplReport:
  21044. get:
  21045. parameters:
  21046. - description: 用户ID
  21047. in: query
  21048. name: userid
  21049. required: true
  21050. type: integer
  21051. - description: 查询类型 1-报表 2-报表明细
  21052. in: query
  21053. name: querytype
  21054. required: true
  21055. type: integer
  21056. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21057. in: query
  21058. name: cycletype
  21059. required: true
  21060. type: integer
  21061. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21062. in: query
  21063. name: cycletime
  21064. required: true
  21065. type: string
  21066. - description: 现货品种id(明细必填)
  21067. in: query
  21068. name: deliverygoodsid
  21069. type: integer
  21070. - description: 币种id(明细必填)
  21071. in: query
  21072. name: currencyid
  21073. type: integer
  21074. produces:
  21075. - application/json
  21076. responses:
  21077. "200":
  21078. description: OK
  21079. schema:
  21080. items:
  21081. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  21082. type: array
  21083. "500":
  21084. description: Internal Server Error
  21085. schema:
  21086. $ref: '#/definitions/app.Response'
  21087. security:
  21088. - ApiKeyAuth: []
  21089. summary: 查询现货报表
  21090. tags:
  21091. - 企业风险管理v3(app)
  21092. /Ermcp3/QryAreaStockReport:
  21093. get:
  21094. parameters:
  21095. - description: 用户ID
  21096. in: query
  21097. name: userid
  21098. required: true
  21099. type: integer
  21100. - description: 查询类型 1-报表 2-报表明细
  21101. in: query
  21102. name: querytype
  21103. required: true
  21104. type: integer
  21105. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21106. in: query
  21107. name: cycletype
  21108. required: true
  21109. type: integer
  21110. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21111. in: query
  21112. name: cycletime
  21113. required: true
  21114. type: string
  21115. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  21116. in: query
  21117. name: sumfields
  21118. type: string
  21119. - description: 品种ID
  21120. in: query
  21121. name: deliverygoodsid
  21122. type: integer
  21123. - description: 品类ID
  21124. in: query
  21125. name: wrstandardid
  21126. type: integer
  21127. - description: 品牌ID
  21128. in: query
  21129. name: spotgoodsbrandid
  21130. type: integer
  21131. - description: 仓库ID
  21132. in: query
  21133. name: warehouseinfoid
  21134. type: integer
  21135. produces:
  21136. - application/json
  21137. responses:
  21138. "200":
  21139. description: OK
  21140. schema:
  21141. items:
  21142. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  21143. type: array
  21144. "500":
  21145. description: Internal Server Error
  21146. schema:
  21147. $ref: '#/definitions/app.Response'
  21148. security:
  21149. - ApiKeyAuth: []
  21150. summary: 查询库存报表
  21151. tags:
  21152. - 企业风险管理v3(app)
  21153. /Ermcp3/QryAreaSumPL:
  21154. get:
  21155. parameters:
  21156. - description: 用户ID
  21157. in: query
  21158. name: userid
  21159. required: true
  21160. type: integer
  21161. - description: 查询类型 1-报表 2-报表明细
  21162. in: query
  21163. name: querytype
  21164. required: true
  21165. type: integer
  21166. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21167. in: query
  21168. name: cycletype
  21169. required: true
  21170. type: integer
  21171. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21172. in: query
  21173. name: cycletime
  21174. required: true
  21175. type: string
  21176. - description: 币种id(明细必填)
  21177. in: query
  21178. name: currencyid
  21179. type: integer
  21180. produces:
  21181. - application/json
  21182. responses:
  21183. "200":
  21184. description: OK
  21185. schema:
  21186. items:
  21187. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  21188. type: array
  21189. "500":
  21190. description: Internal Server Error
  21191. schema:
  21192. $ref: '#/definitions/app.Response'
  21193. security:
  21194. - ApiKeyAuth: []
  21195. summary: 查询汇总损益表
  21196. tags:
  21197. - 企业风险管理v3(app)
  21198. /Ermcp3/QryFinanceReport:
  21199. get:
  21200. parameters:
  21201. - description: 用户ID
  21202. in: query
  21203. name: userid
  21204. required: true
  21205. type: integer
  21206. - description: 查询类型 1-报表 2-报表明细
  21207. in: query
  21208. name: querytype
  21209. required: true
  21210. type: integer
  21211. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21212. in: query
  21213. name: cycletype
  21214. required: true
  21215. type: integer
  21216. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21217. in: query
  21218. name: cycletime
  21219. required: true
  21220. type: string
  21221. - description: 币种id(报表明细必填)
  21222. in: query
  21223. name: currencyid
  21224. type: integer
  21225. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  21226. in: query
  21227. name: sumfields
  21228. type: string
  21229. produces:
  21230. - application/json
  21231. responses:
  21232. "200":
  21233. description: OK
  21234. schema:
  21235. items:
  21236. $ref: '#/definitions/models.Ermcp3FinanceReport'
  21237. type: array
  21238. "500":
  21239. description: Internal Server Error
  21240. schema:
  21241. $ref: '#/definitions/app.Response'
  21242. security:
  21243. - ApiKeyAuth: []
  21244. summary: 查询财务报表
  21245. tags:
  21246. - 企业风险管理v3(app)
  21247. /Ermcp3/QrySCMiddleGoodsReport:
  21248. get:
  21249. parameters:
  21250. - description: 用户ID
  21251. in: query
  21252. name: userid
  21253. required: true
  21254. type: integer
  21255. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21256. in: query
  21257. name: cycletype
  21258. required: true
  21259. type: integer
  21260. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21261. in: query
  21262. name: cycletime
  21263. required: true
  21264. type: string
  21265. - description: 合同id
  21266. in: query
  21267. name: spotcontractid
  21268. type: integer
  21269. - description: 套保品种id
  21270. in: query
  21271. name: middlegoodsid
  21272. type: integer
  21273. - description: 现货品种id
  21274. in: query
  21275. name: deliverygoodsid
  21276. type: integer
  21277. - description: 现货商品id
  21278. in: query
  21279. name: wrstandardid
  21280. type: integer
  21281. - description: 合同编号(模糊匹配)
  21282. in: query
  21283. name: contractno
  21284. type: string
  21285. produces:
  21286. - application/json
  21287. responses:
  21288. "200":
  21289. description: OK
  21290. schema:
  21291. items:
  21292. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  21293. type: array
  21294. "500":
  21295. description: Internal Server Error
  21296. schema:
  21297. $ref: '#/definitions/app.Response'
  21298. security:
  21299. - ApiKeyAuth: []
  21300. summary: 查询定价报表
  21301. tags:
  21302. - 企业风险管理v3(app)
  21303. /Ermcp3/QryTaFutureDataReport:
  21304. get:
  21305. parameters:
  21306. - description: 用户ID
  21307. in: query
  21308. name: userid
  21309. required: true
  21310. type: integer
  21311. - description: 查询类型 1-报表 2-报表明细
  21312. in: query
  21313. name: querytype
  21314. required: true
  21315. type: integer
  21316. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21317. in: query
  21318. name: cycletype
  21319. required: true
  21320. type: integer
  21321. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  21322. in: query
  21323. name: cycletime
  21324. required: true
  21325. type: string
  21326. - description: 币种id(查明细必填)
  21327. in: query
  21328. name: currencyid
  21329. type: integer
  21330. - description: 品种id(查明细必填)
  21331. in: query
  21332. name: goodsgroupid
  21333. type: integer
  21334. - description: 商品id(查明细必填)
  21335. in: query
  21336. name: goodsid
  21337. type: integer
  21338. - description: 买卖方向(查明细必填)
  21339. in: query
  21340. name: buyorsell
  21341. type: integer
  21342. produces:
  21343. - application/json
  21344. responses:
  21345. "200":
  21346. description: OK
  21347. schema:
  21348. items:
  21349. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  21350. type: array
  21351. "500":
  21352. description: Internal Server Error
  21353. schema:
  21354. $ref: '#/definitions/app.Response'
  21355. security:
  21356. - ApiKeyAuth: []
  21357. summary: 查询期货报表
  21358. tags:
  21359. - 企业风险管理v3(app)
  21360. /Ermcp3/QueryAreaStock:
  21361. get:
  21362. parameters:
  21363. - description: 用户ID
  21364. in: query
  21365. name: userid
  21366. required: true
  21367. type: integer
  21368. produces:
  21369. - application/json
  21370. responses:
  21371. "200":
  21372. description: OK
  21373. schema:
  21374. items:
  21375. $ref: '#/definitions/models.Ermcp3AreaStock'
  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/QueryAreaStockApply:
  21387. get:
  21388. parameters:
  21389. - description: 用户ID
  21390. in: query
  21391. name: userid
  21392. required: true
  21393. type: integer
  21394. - description: 用户类型 2-机构 7-企业成员
  21395. in: query
  21396. name: usertype
  21397. type: integer
  21398. - description: 现货商品ID
  21399. in: query
  21400. name: deliverygoodsid
  21401. type: integer
  21402. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  21403. in: query
  21404. name: inouttype
  21405. type: string
  21406. - description: 合同ID
  21407. in: query
  21408. name: spotcontractid
  21409. type: integer
  21410. - description: 品类ID
  21411. in: query
  21412. name: wrstandardid
  21413. type: integer
  21414. - description: 品牌ID
  21415. in: query
  21416. name: spotgoodsbrandid
  21417. type: integer
  21418. - description: 仓库ID
  21419. in: query
  21420. name: warehouseinfoid
  21421. type: integer
  21422. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21423. in: query
  21424. name: applystatus
  21425. type: string
  21426. produces:
  21427. - application/json
  21428. responses:
  21429. "200":
  21430. description: OK
  21431. schema:
  21432. items:
  21433. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  21434. type: array
  21435. "500":
  21436. description: Internal Server Error
  21437. schema:
  21438. $ref: '#/definitions/app.Response'
  21439. security:
  21440. - ApiKeyAuth: []
  21441. summary: 查询库存申请(出入库记录|库存审核)
  21442. tags:
  21443. - 企业风险管理v3(app)
  21444. /Ermcp3/QueryAreaStockApplySum:
  21445. get:
  21446. parameters:
  21447. - description: 合同ID
  21448. in: query
  21449. name: spotcontractid
  21450. required: true
  21451. type: integer
  21452. produces:
  21453. - application/json
  21454. responses:
  21455. "200":
  21456. description: OK
  21457. schema:
  21458. items:
  21459. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  21460. type: array
  21461. "500":
  21462. description: Internal Server Error
  21463. schema:
  21464. $ref: '#/definitions/app.Response'
  21465. security:
  21466. - ApiKeyAuth: []
  21467. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  21468. tags:
  21469. - 企业风险管理v3(app)
  21470. /Ermcp3/QueryDGFactoryItem:
  21471. get:
  21472. parameters:
  21473. - description: 用户id
  21474. in: query
  21475. name: userid
  21476. type: integer
  21477. - description: 用户类型 2-机构 7-企业成员
  21478. in: query
  21479. name: usertype
  21480. type: integer
  21481. - description: 选择项ID(SEQ_DGFACTORYITEM)
  21482. in: query
  21483. name: dgfactoryitemid
  21484. type: integer
  21485. - description: 现货品种ID
  21486. in: query
  21487. name: deliverygoodsid
  21488. type: integer
  21489. - description: 要素项类型
  21490. in: query
  21491. name: dgfactoryitemtypeid
  21492. type: integer
  21493. - description: 顺序
  21494. in: query
  21495. name: orderindex
  21496. type: integer
  21497. produces:
  21498. - application/json
  21499. responses:
  21500. "200":
  21501. description: OK
  21502. schema:
  21503. items:
  21504. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  21505. type: array
  21506. "500":
  21507. description: Internal Server Error
  21508. schema:
  21509. $ref: '#/definitions/app.Response'
  21510. security:
  21511. - ApiKeyAuth: []
  21512. summary: 查询品种要素定义项
  21513. tags:
  21514. - 企业风险管理v3(app)
  21515. /Ermcp3/QueryDeliveryGoods:
  21516. get:
  21517. parameters:
  21518. - description: 用户id
  21519. in: query
  21520. name: userid
  21521. required: true
  21522. type: integer
  21523. - description: 用户类型 2-机构 7-企业成员
  21524. in: query
  21525. name: usertype
  21526. type: integer
  21527. - description: 排除已配置的业务类型商品 1-套保 2-套利
  21528. in: query
  21529. name: excludecfg
  21530. type: integer
  21531. produces:
  21532. - application/json
  21533. responses:
  21534. "200":
  21535. description: OK
  21536. schema:
  21537. items:
  21538. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  21539. type: array
  21540. "500":
  21541. description: Internal Server Error
  21542. schema:
  21543. $ref: '#/definitions/app.Response'
  21544. security:
  21545. - ApiKeyAuth: []
  21546. summary: 查询现货商品
  21547. tags:
  21548. - 企业风险管理v3(app)
  21549. /Ermcp3/QueryDeliveryGoodsDetail:
  21550. get:
  21551. parameters:
  21552. - description: 用户id
  21553. in: query
  21554. name: userid
  21555. required: true
  21556. type: integer
  21557. - description: 用户类型 2-机构 7-企业成员
  21558. in: query
  21559. name: usertype
  21560. type: integer
  21561. - description: 现货商品id
  21562. in: query
  21563. name: deliverygoodsid
  21564. type: integer
  21565. produces:
  21566. - application/json
  21567. responses:
  21568. "200":
  21569. description: OK
  21570. schema:
  21571. items:
  21572. $ref: '#/definitions/models.XHDeliveryGoods'
  21573. type: array
  21574. "500":
  21575. description: Internal Server Error
  21576. schema:
  21577. $ref: '#/definitions/app.Response'
  21578. security:
  21579. - ApiKeyAuth: []
  21580. summary: 查询现货商品详情
  21581. tags:
  21582. - 企业风险管理v3(app)
  21583. /Ermcp3/QueryExposureDetail:
  21584. get:
  21585. parameters:
  21586. - description: 用户id
  21587. in: query
  21588. name: userid
  21589. required: true
  21590. type: integer
  21591. - description: 用户类型 2-机构 7-企业成员
  21592. in: query
  21593. name: usertype
  21594. type: integer
  21595. - description: 套保商品
  21596. in: query
  21597. name: middlegoodsid
  21598. required: true
  21599. type: integer
  21600. produces:
  21601. - application/json
  21602. responses:
  21603. "200":
  21604. description: OK
  21605. schema:
  21606. items:
  21607. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  21608. type: array
  21609. "500":
  21610. description: Internal Server Error
  21611. schema:
  21612. $ref: '#/definitions/app.Response'
  21613. security:
  21614. - ApiKeyAuth: []
  21615. summary: 查询敞口现货明细
  21616. tags:
  21617. - 企业风险管理v3(app)
  21618. /Ermcp3/QueryExposureSpot:
  21619. get:
  21620. parameters:
  21621. - description: 用户id
  21622. in: query
  21623. name: userid
  21624. required: true
  21625. type: integer
  21626. - description: 用户类型 2-机构 7-企业成员
  21627. in: query
  21628. name: usertype
  21629. type: integer
  21630. produces:
  21631. - application/json
  21632. responses:
  21633. "200":
  21634. description: OK
  21635. schema:
  21636. items:
  21637. $ref: '#/definitions/models.Ermcp3AreaSpot'
  21638. type: array
  21639. "500":
  21640. description: Internal Server Error
  21641. schema:
  21642. $ref: '#/definitions/app.Response'
  21643. security:
  21644. - ApiKeyAuth: []
  21645. summary: 查询敞口现货头寸(敞口/现货头寸)
  21646. tags:
  21647. - 企业风险管理v3(app)
  21648. /Ermcp3/QueryExposureSpotDetail:
  21649. get:
  21650. parameters:
  21651. - description: 用户id
  21652. in: query
  21653. name: userid
  21654. required: true
  21655. type: integer
  21656. - description: 用户类型 2-机构 7-企业成员
  21657. in: query
  21658. name: usertype
  21659. type: integer
  21660. - description: 现货商品ID
  21661. in: query
  21662. name: wrstandardid
  21663. required: true
  21664. type: integer
  21665. produces:
  21666. - application/json
  21667. responses:
  21668. "200":
  21669. description: OK
  21670. schema:
  21671. items:
  21672. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  21673. type: array
  21674. "500":
  21675. description: Internal Server Error
  21676. schema:
  21677. $ref: '#/definitions/app.Response'
  21678. security:
  21679. - ApiKeyAuth: []
  21680. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  21681. tags:
  21682. - 企业风险管理v3(app)
  21683. /Ermcp3/QueryGoodsGroup:
  21684. get:
  21685. parameters:
  21686. - description: 用户id
  21687. in: query
  21688. name: userid
  21689. required: true
  21690. type: integer
  21691. - description: 用户类型 2-机构 7-企业成员
  21692. in: query
  21693. name: usertype
  21694. type: integer
  21695. - description: 排除套保品中已关联的商品组 1-排除
  21696. in: query
  21697. name: excludecfg
  21698. type: integer
  21699. produces:
  21700. - application/json
  21701. responses:
  21702. "200":
  21703. description: OK
  21704. schema:
  21705. items:
  21706. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  21707. type: array
  21708. "500":
  21709. description: Internal Server Error
  21710. schema:
  21711. $ref: '#/definitions/app.Response'
  21712. security:
  21713. - ApiKeyAuth: []
  21714. summary: 查询期货商品组
  21715. tags:
  21716. - 企业风险管理v3(app)
  21717. /Ermcp3/QueryGoodsWrstandard:
  21718. get:
  21719. parameters:
  21720. - description: 用户id
  21721. in: query
  21722. name: userid
  21723. required: true
  21724. type: integer
  21725. - description: 用户类型 2-机构 7-企业成员
  21726. in: query
  21727. name: usertype
  21728. type: integer
  21729. - description: 现货商品id
  21730. in: query
  21731. name: deliverygoodsid
  21732. type: integer
  21733. produces:
  21734. - application/json
  21735. responses:
  21736. "200":
  21737. description: OK
  21738. schema:
  21739. items:
  21740. $ref: '#/definitions/models.Ermcp3Wrstandard'
  21741. type: array
  21742. "500":
  21743. description: Internal Server Error
  21744. schema:
  21745. $ref: '#/definitions/app.Response'
  21746. security:
  21747. - ApiKeyAuth: []
  21748. summary: 查询商品品类
  21749. tags:
  21750. - 企业风险管理v3(app)
  21751. /Ermcp3/QueryGoodsbrand:
  21752. get:
  21753. parameters:
  21754. - description: 用户id
  21755. in: query
  21756. name: userid
  21757. required: true
  21758. type: integer
  21759. - description: 用户类型 2-机构 7-企业成员
  21760. in: query
  21761. name: usertype
  21762. type: integer
  21763. produces:
  21764. - application/json
  21765. responses:
  21766. "200":
  21767. description: OK
  21768. schema:
  21769. items:
  21770. $ref: '#/definitions/models.Ermcp3Brand'
  21771. type: array
  21772. "500":
  21773. description: Internal Server Error
  21774. schema:
  21775. $ref: '#/definitions/app.Response'
  21776. security:
  21777. - ApiKeyAuth: []
  21778. summary: 查询商品品牌
  21779. tags:
  21780. - 企业风险管理v3(app)
  21781. /Ermcp3/QueryHedgePlan:
  21782. get:
  21783. parameters:
  21784. - description: 用户ID
  21785. in: query
  21786. name: userid
  21787. required: true
  21788. type: integer
  21789. - description: 用户类型 2-机构 7-企业成员
  21790. in: query
  21791. name: usertype
  21792. type: integer
  21793. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  21794. in: query
  21795. name: hedgeplanstatus
  21796. required: true
  21797. type: string
  21798. produces:
  21799. - application/json
  21800. responses:
  21801. "200":
  21802. description: OK
  21803. schema:
  21804. items:
  21805. $ref: '#/definitions/models.Ermcp3HedgePlan'
  21806. type: array
  21807. "500":
  21808. description: Internal Server Error
  21809. schema:
  21810. $ref: '#/definitions/app.Response'
  21811. security:
  21812. - ApiKeyAuth: []
  21813. summary: 查询套保计划
  21814. tags:
  21815. - 企业风险管理v3(app)
  21816. /Ermcp3/QueryInnerTradeLink:
  21817. get:
  21818. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  21819. parameters:
  21820. - description: 外部成交单号
  21821. in: query
  21822. name: outtradeid
  21823. required: true
  21824. type: integer
  21825. produces:
  21826. - application/json
  21827. responses:
  21828. "200":
  21829. description: OK
  21830. schema:
  21831. items:
  21832. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  21833. type: array
  21834. "500":
  21835. description: Internal Server Error
  21836. schema:
  21837. $ref: '#/definitions/app.Response'
  21838. security:
  21839. - ApiKeyAuth: []
  21840. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  21841. tags:
  21842. - 企业风险管理v3(app)
  21843. /Ermcp3/QueryMiddleGoodsDetail:
  21844. get:
  21845. parameters:
  21846. - description: 用户id
  21847. in: query
  21848. name: userid
  21849. required: true
  21850. type: integer
  21851. - description: 用户类型 2-机构 7-企业成员
  21852. in: query
  21853. name: usertype
  21854. type: integer
  21855. - description: 套保品种id
  21856. in: query
  21857. name: middlegoodsid
  21858. type: integer
  21859. produces:
  21860. - application/json
  21861. responses:
  21862. "200":
  21863. description: OK
  21864. schema:
  21865. items:
  21866. $ref: '#/definitions/models.TBMiddleGoods'
  21867. type: array
  21868. "500":
  21869. description: Internal Server Error
  21870. schema:
  21871. $ref: '#/definitions/app.Response'
  21872. security:
  21873. - ApiKeyAuth: []
  21874. summary: 查询套保品种详情(套保品种/商品详情)
  21875. tags:
  21876. - 企业风险管理v3(app)
  21877. /Ermcp3/QueryOutTradeLink:
  21878. get:
  21879. description: 页面 app 现货->期现关联->外部成交单关联
  21880. parameters:
  21881. - description: 用户ID(填登录用户的userid)
  21882. in: query
  21883. name: userid
  21884. required: true
  21885. type: integer
  21886. - description: 外部订单号(模糊匹配)
  21887. in: query
  21888. name: outtradeid
  21889. type: string
  21890. - description: 合约名称/代码(模糊匹配)
  21891. in: query
  21892. name: goodsname
  21893. type: string
  21894. - description: 关联状态 0-未关联 1-已关联
  21895. in: query
  21896. name: hasinnerorder
  21897. type: integer
  21898. produces:
  21899. - application/json
  21900. responses:
  21901. "200":
  21902. description: OK
  21903. schema:
  21904. items:
  21905. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  21906. type: array
  21907. "500":
  21908. description: Internal Server Error
  21909. schema:
  21910. $ref: '#/definitions/app.Response'
  21911. security:
  21912. - ApiKeyAuth: []
  21913. summary: 查询外部成交单关联
  21914. tags:
  21915. - 企业风险管理v3(app)
  21916. /Ermcp3/QueryPaAreaAuditCfg:
  21917. get:
  21918. parameters:
  21919. - description: 用户id
  21920. in: query
  21921. name: userid
  21922. required: true
  21923. type: integer
  21924. produces:
  21925. - application/json
  21926. responses:
  21927. "200":
  21928. description: OK
  21929. schema:
  21930. items:
  21931. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  21932. type: array
  21933. "500":
  21934. description: Internal Server Error
  21935. schema:
  21936. $ref: '#/definitions/app.Response'
  21937. security:
  21938. - ApiKeyAuth: []
  21939. summary: 查询审核设置
  21940. tags:
  21941. - 企业风险管理v3(app)
  21942. /Ermcp3/QueryPaAreaSubject:
  21943. get:
  21944. parameters:
  21945. - description: 用户id
  21946. in: query
  21947. name: userid
  21948. required: true
  21949. type: integer
  21950. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  21951. in: query
  21952. name: subjectid
  21953. type: integer
  21954. - description: 主体类型 - 1:交易主体 2:业务部门
  21955. in: query
  21956. name: subjecttype
  21957. type: integer
  21958. - description: '主体状态 - 1:正常 2: 停用'
  21959. in: query
  21960. name: subjectstatus
  21961. type: integer
  21962. produces:
  21963. - application/json
  21964. responses:
  21965. "200":
  21966. description: OK
  21967. schema:
  21968. items:
  21969. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  21970. type: array
  21971. "500":
  21972. description: Internal Server Error
  21973. schema:
  21974. $ref: '#/definitions/app.Response'
  21975. security:
  21976. - ApiKeyAuth: []
  21977. summary: 查询交易主体
  21978. tags:
  21979. - 企业风险管理v3(app)
  21980. /Ermcp3/QueryPaTradeLink:
  21981. get:
  21982. description: 页面 app 现货->期现关联->期现单据关联
  21983. parameters:
  21984. - description: 用户ID
  21985. in: query
  21986. name: userid
  21987. required: true
  21988. type: integer
  21989. produces:
  21990. - application/json
  21991. responses:
  21992. "200":
  21993. description: OK
  21994. schema:
  21995. items:
  21996. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  21997. type: array
  21998. "500":
  21999. description: Internal Server Error
  22000. schema:
  22001. $ref: '#/definitions/app.Response'
  22002. security:
  22003. - ApiKeyAuth: []
  22004. summary: 查询期现单据关联
  22005. tags:
  22006. - 企业风险管理v3(app)
  22007. /Ermcp3/QueryPaTradeLinkDetail:
  22008. get:
  22009. description: 页面 app 现货->期现关联->关联记录
  22010. parameters:
  22011. - description: 用户ID(填登录用户的userid)
  22012. in: query
  22013. name: userid
  22014. required: true
  22015. type: integer
  22016. - description: 关联状态 1:成功 2:失败 3:解绑
  22017. in: query
  22018. name: linkstatus
  22019. type: integer
  22020. - description: 期货订单号(模糊匹配)
  22021. in: query
  22022. name: tradeid
  22023. type: string
  22024. - description: 现货编号(模糊匹配)
  22025. in: query
  22026. name: contractno
  22027. type: string
  22028. - description: 期货账户(模糊匹配)
  22029. in: query
  22030. name: taname
  22031. type: string
  22032. produces:
  22033. - application/json
  22034. responses:
  22035. "200":
  22036. description: OK
  22037. schema:
  22038. items:
  22039. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  22040. type: array
  22041. "500":
  22042. description: Internal Server Error
  22043. schema:
  22044. $ref: '#/definitions/app.Response'
  22045. security:
  22046. - ApiKeyAuth: []
  22047. summary: 查询期现关联记录
  22048. tags:
  22049. - 企业风险管理v3(app)
  22050. /Ermcp3/QueryParamChangeApp:
  22051. get:
  22052. description: |-
  22053. 原型页面:
  22054. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  22055. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  22056. parameters:
  22057. - description: 用户ID
  22058. in: query
  22059. name: userid
  22060. required: true
  22061. type: integer
  22062. - description: 现货品种id
  22063. in: query
  22064. name: deliverygoodsid
  22065. type: integer
  22066. - description: 现货商品id
  22067. in: query
  22068. name: wrstandardid
  22069. type: integer
  22070. - description: 套保商品id
  22071. in: query
  22072. name: middlegoodsid
  22073. type: integer
  22074. - description: 操作类型 1:新增 2:修改
  22075. in: query
  22076. name: operatetype
  22077. type: integer
  22078. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  22079. in: query
  22080. name: paramchangetype
  22081. type: integer
  22082. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22083. in: query
  22084. name: ftstatus
  22085. type: string
  22086. produces:
  22087. - application/json
  22088. responses:
  22089. "200":
  22090. description: OK
  22091. schema:
  22092. items:
  22093. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  22094. type: array
  22095. "500":
  22096. description: Internal Server Error
  22097. schema:
  22098. $ref: '#/definitions/app.Response'
  22099. security:
  22100. - ApiKeyAuth: []
  22101. summary: 查询现货商品参数变更申请(流水)
  22102. tags:
  22103. - 企业风险管理v3(app)
  22104. /Ermcp3/QueryRootUserAccount:
  22105. get:
  22106. parameters:
  22107. - description: 用户ID
  22108. in: query
  22109. name: userid
  22110. required: true
  22111. type: integer
  22112. produces:
  22113. - application/json
  22114. responses:
  22115. "200":
  22116. description: OK
  22117. schema:
  22118. items:
  22119. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  22120. type: array
  22121. "500":
  22122. description: Internal Server Error
  22123. schema:
  22124. $ref: '#/definitions/app.Response'
  22125. security:
  22126. - ApiKeyAuth: []
  22127. summary: 查询顶级用户信息
  22128. tags:
  22129. - 企业风险管理v3(app)
  22130. /Ermcp3/QuerySCMiddleGoods:
  22131. get:
  22132. description: |-
  22133. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  22134. 现货编号 即 合同编号
  22135. parameters:
  22136. - description: 用户ID(填登录用户的userid)
  22137. in: query
  22138. name: userid
  22139. required: true
  22140. type: integer
  22141. - description: 买卖方向 0-买 1-卖
  22142. in: query
  22143. name: buyorsell
  22144. required: true
  22145. type: integer
  22146. - description: 商品组id
  22147. in: query
  22148. name: goodsgroupid
  22149. required: true
  22150. type: integer
  22151. - description: 业务类型 1:套保 2:套利
  22152. in: query
  22153. name: biztype
  22154. type: integer
  22155. - description: 现货编号(模糊匹配)
  22156. in: query
  22157. name: contractno
  22158. type: string
  22159. - description: 对手方(模糊匹配)
  22160. in: query
  22161. name: customername
  22162. type: string
  22163. - description: 现货商品名称(模糊匹配)
  22164. in: query
  22165. name: wrstandardname
  22166. type: string
  22167. produces:
  22168. - application/json
  22169. responses:
  22170. "200":
  22171. description: OK
  22172. schema:
  22173. items:
  22174. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  22175. type: array
  22176. "500":
  22177. description: Internal Server Error
  22178. schema:
  22179. $ref: '#/definitions/app.Response'
  22180. security:
  22181. - ApiKeyAuth: []
  22182. summary: 查询现货订单
  22183. tags:
  22184. - 企业风险管理v3(app)
  22185. /Ermcp3/QuerySpotContract:
  22186. get:
  22187. parameters:
  22188. - description: 用户id(当指定contractid, userid可不填)
  22189. in: query
  22190. name: userid
  22191. required: true
  22192. type: integer
  22193. - description: 用户类型 2-机构 7-企业成员
  22194. in: query
  22195. name: usertype
  22196. type: integer
  22197. - description: 合同类型 1-采购, -1-销售
  22198. in: query
  22199. name: contracttype
  22200. type: integer
  22201. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  22202. in: query
  22203. name: querytype
  22204. type: string
  22205. - description: 合同ID(SpotContractId)
  22206. in: query
  22207. name: contractid
  22208. type: string
  22209. - description: 合同编号(模糊匹配)
  22210. in: query
  22211. name: contractno
  22212. type: string
  22213. - description: 商品名称(模糊匹配)
  22214. in: query
  22215. name: wrstandardname
  22216. type: string
  22217. produces:
  22218. - application/json
  22219. responses:
  22220. "200":
  22221. description: OK
  22222. schema:
  22223. items:
  22224. $ref: '#/definitions/models.Ermcp3Contract'
  22225. type: array
  22226. "500":
  22227. description: Internal Server Error
  22228. schema:
  22229. $ref: '#/definitions/app.Response'
  22230. security:
  22231. - ApiKeyAuth: []
  22232. summary: 查询现货合同
  22233. tags:
  22234. - 企业风险管理v3(app)
  22235. /Ermcp3/QuerySpotContractBS:
  22236. get:
  22237. parameters:
  22238. - description: 用户id
  22239. in: query
  22240. name: userid
  22241. required: true
  22242. type: integer
  22243. - description: 用户类型 2-机构 7-企业成员
  22244. in: query
  22245. name: usertype
  22246. type: integer
  22247. - description: 合同类型 1-采购, -1-销售
  22248. in: query
  22249. name: contracttype
  22250. required: true
  22251. type: integer
  22252. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  22253. in: query
  22254. name: querytype
  22255. required: true
  22256. type: integer
  22257. - description: 合同ID(SpotContractId)
  22258. in: query
  22259. name: contractid
  22260. type: string
  22261. produces:
  22262. - application/json
  22263. responses:
  22264. "200":
  22265. description: OK
  22266. schema:
  22267. items:
  22268. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  22269. type: array
  22270. "500":
  22271. description: Internal Server Error
  22272. schema:
  22273. $ref: '#/definitions/app.Response'
  22274. security:
  22275. - ApiKeyAuth: []
  22276. summary: 查询合同(采购/销售)
  22277. tags:
  22278. - 企业风险管理v3(app)
  22279. /Ermcp3/QuerySpotGoodsPrice:
  22280. get:
  22281. parameters:
  22282. - description: 用户ID
  22283. in: query
  22284. name: userid
  22285. required: true
  22286. type: integer
  22287. produces:
  22288. - application/json
  22289. responses:
  22290. "200":
  22291. description: OK
  22292. schema:
  22293. items:
  22294. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  22295. type: array
  22296. "500":
  22297. description: Internal Server Error
  22298. schema:
  22299. $ref: '#/definitions/app.Response'
  22300. security:
  22301. - ApiKeyAuth: []
  22302. summary: 查询现货市价(现货市价)
  22303. tags:
  22304. - 企业风险管理v3(app)
  22305. /Ermcp3/QuerySpotGoodsPriceLog:
  22306. get:
  22307. parameters:
  22308. - description: 用户ID
  22309. in: query
  22310. name: userid
  22311. required: true
  22312. type: integer
  22313. - description: 现货商品ID
  22314. in: query
  22315. name: deliverygoodsid
  22316. required: true
  22317. type: integer
  22318. - description: 品牌ID
  22319. in: query
  22320. name: brandid
  22321. type: integer
  22322. - description: 品类ID
  22323. in: query
  22324. name: wrstandardid
  22325. type: integer
  22326. produces:
  22327. - application/json
  22328. responses:
  22329. "200":
  22330. description: OK
  22331. schema:
  22332. items:
  22333. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  22334. type: array
  22335. "500":
  22336. description: Internal Server Error
  22337. schema:
  22338. $ref: '#/definitions/app.Response'
  22339. security:
  22340. - ApiKeyAuth: []
  22341. summary: 查询现货市价详情(现货市价/详情)
  22342. tags:
  22343. - 企业风险管理v3(app)
  22344. /Ermcp3/QuerySubTaaccount:
  22345. get:
  22346. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  22347. parameters:
  22348. - description: 母账号id
  22349. in: query
  22350. name: parentaccountid
  22351. type: integer
  22352. - description: 母账号代码
  22353. in: query
  22354. name: parentaccountcode
  22355. type: string
  22356. produces:
  22357. - application/json
  22358. responses:
  22359. "200":
  22360. description: OK
  22361. schema:
  22362. items:
  22363. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  22364. type: array
  22365. "500":
  22366. description: Internal Server Error
  22367. schema:
  22368. $ref: '#/definitions/app.Response'
  22369. security:
  22370. - ApiKeyAuth: []
  22371. summary: 查询期货子账户
  22372. tags:
  22373. - 企业风险管理v3(app)
  22374. /Erms2/QueryArbitrageStrategy:
  22375. get:
  22376. parameters:
  22377. - description: 账户ID
  22378. in: query
  22379. name: userid
  22380. required: true
  22381. type: integer
  22382. - description: 商品组ID(品种ID)
  22383. in: query
  22384. name: goodsgroupid
  22385. type: string
  22386. produces:
  22387. - application/json
  22388. responses:
  22389. "200":
  22390. description: OK
  22391. schema:
  22392. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  22393. "500":
  22394. description: Internal Server Error
  22395. schema:
  22396. $ref: '#/definitions/app.Response'
  22397. security:
  22398. - ApiKeyAuth: []
  22399. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  22400. tags:
  22401. - 风险管理
  22402. /Erms2/QueryInnerTradeDetail:
  22403. get:
  22404. parameters:
  22405. - description: 资金账户
  22406. in: query
  22407. name: accountid
  22408. required: true
  22409. type: integer
  22410. produces:
  22411. - application/json
  22412. responses:
  22413. "200":
  22414. description: OK
  22415. schema:
  22416. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  22417. "500":
  22418. description: Internal Server Error
  22419. schema:
  22420. $ref: '#/definitions/app.Response'
  22421. security:
  22422. - ApiKeyAuth: []
  22423. summary: 查询内部成交单信息
  22424. tags:
  22425. - 风险管理
  22426. /Erms2/QuerySpotContract:
  22427. get:
  22428. parameters:
  22429. - description: 策略申请ID
  22430. in: query
  22431. name: asapplyid
  22432. required: true
  22433. type: integer
  22434. - description: 现货合同ID
  22435. in: query
  22436. name: spotcontractid
  22437. type: integer
  22438. produces:
  22439. - application/json
  22440. responses:
  22441. "200":
  22442. description: OK
  22443. schema:
  22444. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  22445. "500":
  22446. description: Internal Server Error
  22447. schema:
  22448. $ref: '#/definitions/app.Response'
  22449. security:
  22450. - ApiKeyAuth: []
  22451. summary: 查询现货合同表信息(指定策略ID、未结束的)
  22452. tags:
  22453. - 风险管理
  22454. /Erms3/AddErms2ASApply:
  22455. post:
  22456. parameters:
  22457. - description: 申请参数
  22458. in: body
  22459. name: jsonBody
  22460. required: true
  22461. schema:
  22462. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  22463. produces:
  22464. - application/json
  22465. responses:
  22466. "200":
  22467. description: OK
  22468. schema:
  22469. $ref: '#/definitions/app.Response'
  22470. "500":
  22471. description: Internal Server Error
  22472. schema:
  22473. $ref: '#/definitions/app.Response'
  22474. security:
  22475. - ApiKeyAuth: []
  22476. summary: 新增期现套利业务申请
  22477. tags:
  22478. - 风险管理v3
  22479. /Erms3/AddErms2SpotTradeApply:
  22480. post:
  22481. parameters:
  22482. - description: 申请参数
  22483. in: body
  22484. name: jsonBody
  22485. required: true
  22486. schema:
  22487. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  22488. produces:
  22489. - application/json
  22490. responses:
  22491. "200":
  22492. description: OK
  22493. schema:
  22494. $ref: '#/definitions/app.Response'
  22495. "500":
  22496. description: Internal Server Error
  22497. schema:
  22498. $ref: '#/definitions/app.Response'
  22499. security:
  22500. - ApiKeyAuth: []
  22501. summary: 新增现货贸易业务申请
  22502. tags:
  22503. - 风险管理v3
  22504. /Erms3/AddSpotContractApply:
  22505. post:
  22506. parameters:
  22507. - description: 申请参数
  22508. in: body
  22509. name: jsonBody
  22510. required: true
  22511. schema:
  22512. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  22513. produces:
  22514. - application/json
  22515. responses:
  22516. "200":
  22517. description: OK
  22518. schema:
  22519. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  22520. "500":
  22521. description: Internal Server Error
  22522. schema:
  22523. $ref: '#/definitions/app.Response'
  22524. security:
  22525. - ApiKeyAuth: []
  22526. summary: 新增现货合同申请
  22527. tags:
  22528. - 风险管理v3
  22529. /Erms3/AddUserInfoApply:
  22530. post:
  22531. parameters:
  22532. - description: 用户信息
  22533. in: body
  22534. name: jsonBody
  22535. required: true
  22536. schema:
  22537. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  22538. produces:
  22539. - application/json
  22540. responses:
  22541. "200":
  22542. description: OK
  22543. schema:
  22544. $ref: '#/definitions/app.Response'
  22545. "500":
  22546. description: Internal Server Error
  22547. schema:
  22548. $ref: '#/definitions/app.Response'
  22549. security:
  22550. - ApiKeyAuth: []
  22551. summary: 新增客户申请
  22552. tags:
  22553. - 风险管理v3
  22554. /Erms3/DeleteUserInfoApply:
  22555. get:
  22556. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  22557. parameters:
  22558. - description: 用户ID
  22559. in: query
  22560. name: userID
  22561. required: true
  22562. type: integer
  22563. produces:
  22564. - application/json
  22565. responses:
  22566. "200":
  22567. description: OK
  22568. schema:
  22569. $ref: '#/definitions/app.Response'
  22570. "500":
  22571. description: Internal Server Error
  22572. schema:
  22573. $ref: '#/definitions/app.Response'
  22574. security:
  22575. - ApiKeyAuth: []
  22576. summary: 删除客户申请
  22577. tags:
  22578. - 风险管理v3
  22579. /Erms3/ModifyUserInfoApply:
  22580. post:
  22581. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid": int, "userstate": 2 }'
  22582. parameters:
  22583. - description: 用户信息
  22584. in: body
  22585. name: jsonBody
  22586. required: true
  22587. schema:
  22588. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  22589. produces:
  22590. - application/json
  22591. responses:
  22592. "200":
  22593. description: OK
  22594. schema:
  22595. $ref: '#/definitions/app.Response'
  22596. "500":
  22597. description: Internal Server Error
  22598. schema:
  22599. $ref: '#/definitions/app.Response'
  22600. security:
  22601. - ApiKeyAuth: []
  22602. summary: 修改客户申请
  22603. tags:
  22604. - 风险管理v3
  22605. /Erms3/QueryBusinessInfo:
  22606. get:
  22607. parameters:
  22608. - description: 资金账号ID列表,用逗号分隔
  22609. in: query
  22610. name: accountids
  22611. required: true
  22612. type: string
  22613. - description: 状态,0为未结束 1为已结束
  22614. in: query
  22615. name: status
  22616. required: true
  22617. type: integer
  22618. produces:
  22619. - application/json
  22620. responses:
  22621. "200":
  22622. description: OK
  22623. schema:
  22624. items:
  22625. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  22626. type: array
  22627. "500":
  22628. description: Internal Server Error
  22629. schema:
  22630. $ref: '#/definitions/app.Response'
  22631. security:
  22632. - ApiKeyAuth: []
  22633. summary: 查询业务表单数据
  22634. tags:
  22635. - 风险管理v3
  22636. /Erms3/QueryPendingAuditContract:
  22637. get:
  22638. parameters:
  22639. - description: 资金账号ID列表,逗号隔开
  22640. in: query
  22641. name: accountids
  22642. required: true
  22643. type: string
  22644. - description: 合同类型 1-采购 -1-销售
  22645. in: query
  22646. name: contracttype
  22647. required: true
  22648. type: integer
  22649. - description: 合同模式 1-普通 2-回购
  22650. in: query
  22651. name: contractmode
  22652. required: true
  22653. type: integer
  22654. produces:
  22655. - application/json
  22656. responses:
  22657. "200":
  22658. description: OK
  22659. schema:
  22660. items:
  22661. $ref: '#/definitions/erms3.QryAuditContractRsp'
  22662. type: array
  22663. "500":
  22664. description: Internal Server Error
  22665. schema:
  22666. $ref: '#/definitions/app.Response'
  22667. security:
  22668. - ApiKeyAuth: []
  22669. summary: 查询待审核合同
  22670. tags:
  22671. - 风险管理v3
  22672. /Erms3/QueryPendingBusiness:
  22673. get:
  22674. parameters:
  22675. - description: 资金账号ID列表,逗号隔开
  22676. in: query
  22677. name: accountids
  22678. required: true
  22679. type: string
  22680. produces:
  22681. - application/json
  22682. responses:
  22683. "200":
  22684. description: OK
  22685. schema:
  22686. items:
  22687. $ref: '#/definitions/erms3.QryPendingBizRsp'
  22688. type: array
  22689. "500":
  22690. description: Internal Server Error
  22691. schema:
  22692. $ref: '#/definitions/app.Response'
  22693. security:
  22694. - ApiKeyAuth: []
  22695. summary: 查询待审核基差贸易业务
  22696. tags:
  22697. - 风险管理v3
  22698. /Erms3/QuerySpotContractAppleForm:
  22699. get:
  22700. parameters:
  22701. - description: 登录账号
  22702. in: query
  22703. name: loginID
  22704. required: true
  22705. type: integer
  22706. produces:
  22707. - application/json
  22708. responses:
  22709. "200":
  22710. description: OK
  22711. schema:
  22712. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  22713. "500":
  22714. description: Internal Server Error
  22715. schema:
  22716. $ref: '#/definitions/app.Response'
  22717. security:
  22718. - ApiKeyAuth: []
  22719. summary: 查询合同申请表单数据
  22720. tags:
  22721. - 风险管理v3
  22722. /Erms3/QuerySpotContractDetail:
  22723. get:
  22724. parameters:
  22725. - description: 资金账号ID列表,用逗号分隔
  22726. in: query
  22727. name: accountids
  22728. required: true
  22729. type: string
  22730. - description: 合同类型,1为采购合同 -1为销售合同
  22731. in: query
  22732. name: contracttype
  22733. required: true
  22734. type: integer
  22735. - description: 合同模式,1为普通合同 2为回购销售合同
  22736. in: query
  22737. name: contractmode
  22738. required: true
  22739. type: integer
  22740. - description: 状态,0为履约中 1为已完成
  22741. in: query
  22742. name: status
  22743. required: true
  22744. type: integer
  22745. produces:
  22746. - application/json
  22747. responses:
  22748. "200":
  22749. description: OK
  22750. schema:
  22751. items:
  22752. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  22753. type: array
  22754. "500":
  22755. description: Internal Server Error
  22756. schema:
  22757. $ref: '#/definitions/app.Response'
  22758. security:
  22759. - ApiKeyAuth: []
  22760. summary: 查询合同详细信息
  22761. tags:
  22762. - 风险管理v3
  22763. /Erms3/QueryUserInfoApplies:
  22764. get:
  22765. parameters:
  22766. - description: 页码
  22767. in: query
  22768. name: page
  22769. type: integer
  22770. - description: 每页条数
  22771. in: query
  22772. name: pagesize
  22773. type: integer
  22774. - description: 客户名称,支持模糊查询
  22775. in: query
  22776. name: userName
  22777. type: string
  22778. produces:
  22779. - application/json
  22780. responses:
  22781. "200":
  22782. description: OK
  22783. schema:
  22784. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  22785. "500":
  22786. description: Internal Server Error
  22787. schema:
  22788. $ref: '#/definitions/app.Response'
  22789. security:
  22790. - ApiKeyAuth: []
  22791. summary: 客户申请信息查询
  22792. tags:
  22793. - 风险管理v3
  22794. /Erms3/QueryUserInfos:
  22795. get:
  22796. parameters:
  22797. - description: 页码
  22798. in: query
  22799. name: page
  22800. type: integer
  22801. - description: 每页条数
  22802. in: query
  22803. name: pagesize
  22804. type: integer
  22805. - description: 客户名称,支持模糊查询
  22806. in: query
  22807. name: userName
  22808. type: string
  22809. produces:
  22810. - application/json
  22811. responses:
  22812. "200":
  22813. description: OK
  22814. schema:
  22815. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  22816. "500":
  22817. description: Internal Server Error
  22818. schema:
  22819. $ref: '#/definitions/app.Response'
  22820. security:
  22821. - ApiKeyAuth: []
  22822. summary: 客户信息查询
  22823. tags:
  22824. - 风险管理v3
  22825. /HSBY/GetHsbyMyCount:
  22826. get:
  22827. description: 说明: 不包括已完成的数量。
  22828. parameters:
  22829. - description: 资金账户列表,格式:1,2,3
  22830. in: query
  22831. name: accountIDs
  22832. required: true
  22833. type: string
  22834. produces:
  22835. - application/json
  22836. responses:
  22837. "200":
  22838. description: OK
  22839. schema:
  22840. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  22841. "500":
  22842. description: Internal Server Error
  22843. schema:
  22844. $ref: '#/definitions/app.Response'
  22845. security:
  22846. - ApiKeyAuth: []
  22847. summary: 获取我的订单与包裹数量
  22848. tags:
  22849. - 定制【海商报业】
  22850. /HSBY/QueryClientFixedADConfigs:
  22851. get:
  22852. produces:
  22853. - application/json
  22854. responses:
  22855. "200":
  22856. description: OK
  22857. schema:
  22858. $ref: '#/definitions/models.Clientfixedadconfig'
  22859. "500":
  22860. description: Internal Server Error
  22861. schema:
  22862. $ref: '#/definitions/app.Response'
  22863. security:
  22864. - ApiKeyAuth: []
  22865. summary: 获取终端固定广告配置
  22866. tags:
  22867. - 定制【海商报业】
  22868. /HSBY/QueryHsbyBuyMyTradeDetail:
  22869. get:
  22870. parameters:
  22871. - description: 页码
  22872. in: query
  22873. name: page
  22874. type: integer
  22875. - description: 每页条数
  22876. in: query
  22877. name: pagesize
  22878. type: integer
  22879. - description: 资金账户列表,格式:1,2,3
  22880. in: query
  22881. name: accountIDs
  22882. required: true
  22883. type: string
  22884. produces:
  22885. - application/json
  22886. responses:
  22887. "200":
  22888. description: OK
  22889. schema:
  22890. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  22891. "500":
  22892. description: Internal Server Error
  22893. schema:
  22894. $ref: '#/definitions/app.Response'
  22895. security:
  22896. - ApiKeyAuth: []
  22897. summary: 查询"我的订单 - 已完成"单据信息
  22898. tags:
  22899. - 定制【海商报业】
  22900. /HSBY/QueryHsbyGoodsOrderDetails:
  22901. get:
  22902. description: 说明:查询结果已按委托价格和委托时间排序
  22903. parameters:
  22904. - description: 商品ID
  22905. in: query
  22906. name: goodsID
  22907. required: true
  22908. type: integer
  22909. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  22910. in: query
  22911. name: accountIDs
  22912. type: string
  22913. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  22914. in: query
  22915. name: buyOrSell
  22916. type: integer
  22917. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  22918. in: query
  22919. name: price
  22920. type: number
  22921. - description: 档位,不传则默认为3档
  22922. in: query
  22923. name: speed
  22924. type: integer
  22925. produces:
  22926. - application/json
  22927. responses:
  22928. "200":
  22929. description: OK
  22930. schema:
  22931. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  22932. "500":
  22933. description: Internal Server Error
  22934. schema:
  22935. $ref: '#/definitions/app.Response'
  22936. security:
  22937. - ApiKeyAuth: []
  22938. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  22939. tags:
  22940. - 定制【海商报业】
  22941. /HSBY/QueryHsbyListingGoodsDetail:
  22942. get:
  22943. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  22944. parameters:
  22945. - description: 商品ID
  22946. in: query
  22947. name: goodsID
  22948. required: true
  22949. type: integer
  22950. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  22951. in: query
  22952. name: accountID
  22953. type: integer
  22954. produces:
  22955. - application/json
  22956. responses:
  22957. "200":
  22958. description: OK
  22959. schema:
  22960. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  22961. "500":
  22962. description: Internal Server Error
  22963. schema:
  22964. $ref: '#/definitions/app.Response'
  22965. security:
  22966. - ApiKeyAuth: []
  22967. summary: 查询二级市场(挂牌点选)商品信息详情
  22968. tags:
  22969. - 定制【海商报业】
  22970. /HSBY/QueryHsbyMarketGoodsDetail:
  22971. get:
  22972. parameters:
  22973. - description: 委托单号
  22974. in: query
  22975. name: orderID
  22976. required: true
  22977. type: integer
  22978. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  22979. in: query
  22980. name: accountID
  22981. type: integer
  22982. produces:
  22983. - application/json
  22984. responses:
  22985. "200":
  22986. description: OK
  22987. schema:
  22988. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  22989. "500":
  22990. description: Internal Server Error
  22991. schema:
  22992. $ref: '#/definitions/app.Response'
  22993. security:
  22994. - ApiKeyAuth: []
  22995. summary: 查询三级市场(商城)商品信息详情
  22996. tags:
  22997. - 定制【海商报业】
  22998. /HSBY/QueryHsbyMarketGoodses:
  22999. get:
  23000. parameters:
  23001. - description: 页码
  23002. in: query
  23003. name: page
  23004. type: integer
  23005. - description: 每页条数
  23006. in: query
  23007. name: pagesize
  23008. type: integer
  23009. - description: 市场ID列表,格式:1,2,3
  23010. in: query
  23011. name: marketIDs
  23012. required: true
  23013. type: string
  23014. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  23015. in: query
  23016. name: accountID
  23017. required: true
  23018. type: integer
  23019. - description: 类别ID
  23020. in: query
  23021. name: categoryID
  23022. type: integer
  23023. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  23024. in: query
  23025. name: goodsIDs
  23026. type: string
  23027. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  23028. in: query
  23029. name: couponTypeID
  23030. type: integer
  23031. produces:
  23032. - application/json
  23033. responses:
  23034. "200":
  23035. description: OK
  23036. schema:
  23037. $ref: '#/definitions/models.HsbyMarketGoods'
  23038. "500":
  23039. description: Internal Server Error
  23040. schema:
  23041. $ref: '#/definitions/app.Response'
  23042. security:
  23043. - ApiKeyAuth: []
  23044. summary: 查询特卖商品列表(三级商城)
  23045. tags:
  23046. - 定制【海商报业】
  23047. /HSBY/QueryHsbyMarkets:
  23048. get:
  23049. produces:
  23050. - application/json
  23051. responses:
  23052. "200":
  23053. description: OK
  23054. schema:
  23055. $ref: '#/definitions/models.HsbyMarketInfo'
  23056. "500":
  23057. description: Internal Server Error
  23058. schema:
  23059. $ref: '#/definitions/app.Response'
  23060. security:
  23061. - ApiKeyAuth: []
  23062. summary: 查询海商报业相关市场信息
  23063. tags:
  23064. - 定制【海商报业】
  23065. /HSBY/QueryHsbyMyBuyOrderDetails:
  23066. get:
  23067. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  23068. parameters:
  23069. - description: 资金账户列表,格式:1,2,3
  23070. in: query
  23071. name: accountIDs
  23072. required: true
  23073. type: string
  23074. produces:
  23075. - application/json
  23076. responses:
  23077. "200":
  23078. description: OK
  23079. schema:
  23080. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  23081. "500":
  23082. description: Internal Server Error
  23083. schema:
  23084. $ref: '#/definitions/app.Response'
  23085. security:
  23086. - ApiKeyAuth: []
  23087. summary: 查询“我的订单”信息
  23088. tags:
  23089. - 定制【海商报业】
  23090. /HSBY/QueryHsbyMyGoods:
  23091. get:
  23092. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  23093. parameters:
  23094. - description: 资金账户列表,格式:1,2,3
  23095. in: query
  23096. name: accountIDs
  23097. required: true
  23098. type: string
  23099. produces:
  23100. - application/json
  23101. responses:
  23102. "200":
  23103. description: OK
  23104. schema:
  23105. $ref: '#/definitions/models.HsbyMyGoods'
  23106. "500":
  23107. description: Internal Server Error
  23108. schema:
  23109. $ref: '#/definitions/app.Response'
  23110. security:
  23111. - ApiKeyAuth: []
  23112. summary: 查询“我的商品”信息
  23113. tags:
  23114. - 定制【海商报业】
  23115. /HSBY/QueryHsbyMyPackages:
  23116. get:
  23117. parameters:
  23118. - description: 资金账户列表,格式:1,2,3
  23119. in: query
  23120. name: accountIDs
  23121. required: true
  23122. type: string
  23123. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  23124. in: query
  23125. name: takeOrderStatus
  23126. type: integer
  23127. produces:
  23128. - application/json
  23129. responses:
  23130. "200":
  23131. description: OK
  23132. schema:
  23133. $ref: '#/definitions/models.HsbyMyPackage'
  23134. "500":
  23135. description: Internal Server Error
  23136. schema:
  23137. $ref: '#/definitions/app.Response'
  23138. security:
  23139. - ApiKeyAuth: []
  23140. summary: 查询我的包裹信息
  23141. tags:
  23142. - 定制【海商报业】
  23143. /HSBY/QueryHsbyPreGoodsDetail:
  23144. get:
  23145. parameters:
  23146. - description: 商品ID
  23147. in: query
  23148. name: goodsID
  23149. required: true
  23150. type: integer
  23151. - description: 资金账户,主要用于获取预售商品购买上限
  23152. in: query
  23153. name: accountID
  23154. type: integer
  23155. produces:
  23156. - application/json
  23157. responses:
  23158. "200":
  23159. description: OK
  23160. schema:
  23161. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  23162. "500":
  23163. description: Internal Server Error
  23164. schema:
  23165. $ref: '#/definitions/app.Response'
  23166. security:
  23167. - ApiKeyAuth: []
  23168. summary: 查询一级市场(预售)商品信息详情
  23169. tags:
  23170. - 定制【海商报业】
  23171. /HSBY/QueryHsbyPreGoodses:
  23172. get:
  23173. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  23174. parameters:
  23175. - description: 页码
  23176. in: query
  23177. name: page
  23178. type: integer
  23179. - description: 每页条数
  23180. in: query
  23181. name: pagesize
  23182. type: integer
  23183. - description: 市场ID列表,格式:1,2,3
  23184. in: query
  23185. name: marketIDs
  23186. required: true
  23187. type: string
  23188. - description: 目的地(省)ID
  23189. in: query
  23190. name: descProvinceID
  23191. type: integer
  23192. - description: 目的地(市)ID
  23193. in: query
  23194. name: descCityID
  23195. type: integer
  23196. produces:
  23197. - application/json
  23198. responses:
  23199. "200":
  23200. description: OK
  23201. schema:
  23202. $ref: '#/definitions/models.HsbyPreGoods'
  23203. "500":
  23204. description: Internal Server Error
  23205. schema:
  23206. $ref: '#/definitions/app.Response'
  23207. security:
  23208. - ApiKeyAuth: []
  23209. summary: 查询新品上市商品列表(一级市场预售)
  23210. tags:
  23211. - 定制【海商报业】
  23212. /HSBY/QueryHsbySellMyDetails:
  23213. get:
  23214. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  23215. parameters:
  23216. - description: 页码
  23217. in: query
  23218. name: page
  23219. type: integer
  23220. - description: 每页条数
  23221. in: query
  23222. name: pagesize
  23223. type: integer
  23224. - description: 资金账户列表,格式:1,2,3
  23225. in: query
  23226. name: accountIDs
  23227. required: true
  23228. type: string
  23229. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  23230. in: query
  23231. name: orderType
  23232. type: integer
  23233. produces:
  23234. - application/json
  23235. responses:
  23236. "200":
  23237. description: OK
  23238. schema:
  23239. $ref: '#/definitions/models.HsbySellMyDetail'
  23240. "500":
  23241. description: Internal Server Error
  23242. schema:
  23243. $ref: '#/definitions/app.Response'
  23244. security:
  23245. - ApiKeyAuth: []
  23246. summary: 查询"我的闲置"单据信息
  23247. tags:
  23248. - 定制【海商报业】
  23249. /HSBY/QueryHsbyTopGoodses:
  23250. get:
  23251. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  23252. parameters:
  23253. - description: 页码
  23254. in: query
  23255. name: page
  23256. type: integer
  23257. - description: 每页条数
  23258. in: query
  23259. name: pagesize
  23260. type: integer
  23261. - description: 市场ID列表,格式:1,2,3
  23262. in: query
  23263. name: marketIDs
  23264. required: true
  23265. type: string
  23266. - description: 目的地(省)ID
  23267. in: query
  23268. name: descProvinceID
  23269. type: integer
  23270. - description: 目的地(市)ID
  23271. in: query
  23272. name: descCityID
  23273. type: integer
  23274. produces:
  23275. - application/json
  23276. responses:
  23277. "200":
  23278. description: OK
  23279. schema:
  23280. $ref: '#/definitions/models.HsbyTopGoods'
  23281. "500":
  23282. description: Internal Server Error
  23283. schema:
  23284. $ref: '#/definitions/app.Response'
  23285. security:
  23286. - ApiKeyAuth: []
  23287. summary: 查询热卖商品列表(二级市场挂牌点选)
  23288. tags:
  23289. - 定制【海商报业】
  23290. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  23291. get:
  23292. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  23293. parameters:
  23294. - description: 商品ID
  23295. in: query
  23296. name: goodsID
  23297. required: true
  23298. type: integer
  23299. produces:
  23300. - application/json
  23301. responses:
  23302. "200":
  23303. description: OK
  23304. schema:
  23305. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  23306. "500":
  23307. description: Internal Server Error
  23308. schema:
  23309. $ref: '#/definitions/app.Response'
  23310. security:
  23311. - ApiKeyAuth: []
  23312. summary: 查询游客三级市场(商城)商品信息详情
  23313. tags:
  23314. - 定制【海商报业】
  23315. /HSBY/QueryHsbyVisitorMarketGoodses:
  23316. get:
  23317. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  23318. parameters:
  23319. - description: 页码
  23320. in: query
  23321. name: page
  23322. type: integer
  23323. - description: 每页条数
  23324. in: query
  23325. name: pagesize
  23326. type: integer
  23327. - description: 市场ID列表,格式:1,2,3
  23328. in: query
  23329. name: marketIDs
  23330. required: true
  23331. type: string
  23332. - description: 类别ID
  23333. in: query
  23334. name: categoryID
  23335. type: integer
  23336. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  23337. in: query
  23338. name: goodsIDs
  23339. type: string
  23340. produces:
  23341. - application/json
  23342. responses:
  23343. "200":
  23344. description: OK
  23345. schema:
  23346. $ref: '#/definitions/models.HsbyMarketGoods'
  23347. "500":
  23348. description: Internal Server Error
  23349. schema:
  23350. $ref: '#/definitions/app.Response'
  23351. security:
  23352. - ApiKeyAuth: []
  23353. summary: 查询游客特卖商品列表(三级商城)
  23354. tags:
  23355. - 定制【海商报业】
  23356. /HSBY/QueryMyCollectionOrders:
  23357. get:
  23358. parameters:
  23359. - description: 页码
  23360. in: query
  23361. name: page
  23362. type: integer
  23363. - description: 每页条数
  23364. in: query
  23365. name: pagesize
  23366. type: integer
  23367. - description: 资金账户,格式:1,2,3
  23368. in: query
  23369. name: accountIDs
  23370. required: true
  23371. type: string
  23372. produces:
  23373. - application/json
  23374. responses:
  23375. "200":
  23376. description: OK
  23377. schema:
  23378. $ref: '#/definitions/models.HsbySellCollectionOrder'
  23379. "500":
  23380. description: Internal Server Error
  23381. schema:
  23382. $ref: '#/definitions/app.Response'
  23383. security:
  23384. - ApiKeyAuth: []
  23385. summary: 我的闲置中收款信息查询
  23386. tags:
  23387. - 定制【海商报业】
  23388. /HSBY/QueryMyCouponHolds:
  23389. get:
  23390. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  23391. parameters:
  23392. - description: 资金账户列表,格式:1,2,3
  23393. in: query
  23394. name: accountIDs
  23395. required: true
  23396. type: string
  23397. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  23398. in: query
  23399. name: holdStatus
  23400. type: string
  23401. produces:
  23402. - application/json
  23403. responses:
  23404. "200":
  23405. description: OK
  23406. schema:
  23407. $ref: '#/definitions/models.MyCouponHold'
  23408. "500":
  23409. description: Internal Server Error
  23410. schema:
  23411. $ref: '#/definitions/app.Response'
  23412. security:
  23413. - ApiKeyAuth: []
  23414. summary: 我的优惠卷持仓查询
  23415. tags:
  23416. - 定制【海商报业】
  23417. /HSBY/QueryMyCoupons:
  23418. get:
  23419. parameters:
  23420. - description: 资金账户列表,格式:1,2,3
  23421. in: query
  23422. name: accountIDs
  23423. required: true
  23424. type: string
  23425. - description: 商品ID, 一般与sellUserID配套传入
  23426. in: query
  23427. name: goodsID
  23428. type: integer
  23429. - description: 卖方UserID
  23430. in: query
  23431. name: sellUserID
  23432. type: integer
  23433. produces:
  23434. - application/json
  23435. responses:
  23436. "200":
  23437. description: OK
  23438. schema:
  23439. $ref: '#/definitions/models.MyCoupon'
  23440. "500":
  23441. description: Internal Server Error
  23442. schema:
  23443. $ref: '#/definitions/app.Response'
  23444. security:
  23445. - ApiKeyAuth: []
  23446. summary: 我的优惠卷查询
  23447. tags:
  23448. - 定制【海商报业】
  23449. /HSBY/QueryMyPayOrders:
  23450. get:
  23451. parameters:
  23452. - description: 页码
  23453. in: query
  23454. name: page
  23455. type: integer
  23456. - description: 每页条数
  23457. in: query
  23458. name: pagesize
  23459. type: integer
  23460. - description: 资金账户列表,格式:1,2,3
  23461. in: query
  23462. name: accountIDs
  23463. required: true
  23464. type: string
  23465. - description: 买方委托单号
  23466. in: query
  23467. name: buyOrderID
  23468. type: integer
  23469. - description: 卖方委托单号
  23470. in: query
  23471. name: sellOrderID
  23472. type: integer
  23473. produces:
  23474. - application/json
  23475. responses:
  23476. "200":
  23477. description: OK
  23478. schema:
  23479. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  23480. "500":
  23481. description: Internal Server Error
  23482. schema:
  23483. $ref: '#/definitions/app.Response'
  23484. security:
  23485. - ApiKeyAuth: []
  23486. summary: 获取我的订单中待付款信息
  23487. tags:
  23488. - 定制【海商报业】
  23489. /HSBY/QueryMyUsedCoupon:
  23490. get:
  23491. parameters:
  23492. - description: 资金账户列表,格式:1,2,3
  23493. in: query
  23494. name: accountIDs
  23495. required: true
  23496. type: string
  23497. produces:
  23498. - application/json
  23499. responses:
  23500. "200":
  23501. description: OK
  23502. schema:
  23503. $ref: '#/definitions/models.MyUsedCoupon'
  23504. "500":
  23505. description: Internal Server Error
  23506. schema:
  23507. $ref: '#/definitions/app.Response'
  23508. security:
  23509. - ApiKeyAuth: []
  23510. summary: 已使用优惠卷查询
  23511. tags:
  23512. - 定制【海商报业】
  23513. /HSBY/QueryProvincesAndCities:
  23514. get:
  23515. description: 查询结果只包括二级市场商品已关连的省市信息。
  23516. parameters:
  23517. - description: 省ID
  23518. in: query
  23519. name: provinceID
  23520. type: integer
  23521. produces:
  23522. - application/json
  23523. responses:
  23524. "200":
  23525. description: OK
  23526. schema:
  23527. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  23528. "500":
  23529. description: Internal Server Error
  23530. schema:
  23531. $ref: '#/definitions/app.Response'
  23532. security:
  23533. - ApiKeyAuth: []
  23534. summary: 查询省市信息(不包括区)
  23535. tags:
  23536. - 定制【海商报业】
  23537. /HSBY/SetHsbyMyPackagesStatus:
  23538. post:
  23539. parameters:
  23540. - description: 提货单号
  23541. in: query
  23542. name: takeOrderID
  23543. required: true
  23544. type: string
  23545. - description: 资金账号
  23546. in: query
  23547. name: accountID
  23548. required: true
  23549. type: integer
  23550. produces:
  23551. - application/json
  23552. responses:
  23553. "200":
  23554. description: OK
  23555. schema:
  23556. $ref: '#/definitions/app.Response'
  23557. "500":
  23558. description: Internal Server Error
  23559. schema:
  23560. $ref: '#/definitions/app.Response'
  23561. security:
  23562. - ApiKeyAuth: []
  23563. summary: 设置我的包裹已收货状态
  23564. tags:
  23565. - 定制【海商报业】
  23566. /Market/GetAllExExchanges:
  23567. get:
  23568. produces:
  23569. - application/json
  23570. responses:
  23571. "200":
  23572. description: OK
  23573. schema:
  23574. $ref: '#/definitions/models.Goods'
  23575. "500":
  23576. description: Internal Server Error
  23577. schema:
  23578. $ref: '#/definitions/app.Response'
  23579. security:
  23580. - ApiKeyAuth: []
  23581. summary: 获取所有外部交易所信息
  23582. tags:
  23583. - 通用市场
  23584. /Market/QueryGoodsesByLoginID:
  23585. get:
  23586. parameters:
  23587. - description: 登录账号
  23588. in: query
  23589. name: loginID
  23590. required: true
  23591. type: integer
  23592. - description: 市场ID列表,格式:1,2,3
  23593. in: query
  23594. name: marketIDs
  23595. type: string
  23596. produces:
  23597. - application/json
  23598. responses:
  23599. "200":
  23600. description: OK
  23601. schema:
  23602. $ref: '#/definitions/models.Goods'
  23603. "500":
  23604. description: Internal Server Error
  23605. schema:
  23606. $ref: '#/definitions/app.Response'
  23607. security:
  23608. - ApiKeyAuth: []
  23609. summary: 获取登录账号有权限的商品信息
  23610. tags:
  23611. - 通用市场
  23612. /Market/QueryMarketRun:
  23613. get:
  23614. parameters:
  23615. - description: 市场ID,不传返回所有
  23616. in: query
  23617. name: marketID
  23618. type: integer
  23619. produces:
  23620. - application/json
  23621. responses:
  23622. "200":
  23623. description: OK
  23624. schema:
  23625. $ref: '#/definitions/models.Marketrun'
  23626. "500":
  23627. description: Internal Server Error
  23628. schema:
  23629. $ref: '#/definitions/app.Response'
  23630. security:
  23631. - ApiKeyAuth: []
  23632. summary: 查询市场运行信息
  23633. tags:
  23634. - 通用市场
  23635. /Market/QueryMarketsByLoginID:
  23636. get:
  23637. parameters:
  23638. - description: 登录账号
  23639. in: query
  23640. name: loginID
  23641. required: true
  23642. type: integer
  23643. produces:
  23644. - application/json
  23645. responses:
  23646. "200":
  23647. description: OK
  23648. schema:
  23649. $ref: '#/definitions/models.Market'
  23650. "500":
  23651. description: Internal Server Error
  23652. schema:
  23653. $ref: '#/definitions/app.Response'
  23654. security:
  23655. - ApiKeyAuth: []
  23656. summary: 获取登录账号有权限的市场信息
  23657. tags:
  23658. - 通用市场
  23659. /Order/QueryHisTradeDetail:
  23660. get:
  23661. parameters:
  23662. - description: 资金账户 - 格式:1,2,3
  23663. in: query
  23664. name: accountID
  23665. required: true
  23666. type: string
  23667. - description: 成交单号
  23668. in: query
  23669. name: tradeID
  23670. type: integer
  23671. - description: 委托单号
  23672. in: query
  23673. name: orderID
  23674. type: integer
  23675. - description: 商品ID
  23676. in: query
  23677. name: goodsID
  23678. type: integer
  23679. - description: 交易模式 - 格式:1,2,3
  23680. in: query
  23681. name: tradeMode
  23682. type: string
  23683. - description: 委托单据类型
  23684. in: query
  23685. name: buildType
  23686. type: integer
  23687. - description: 成交类别 - 格式:1,2,3
  23688. in: query
  23689. name: tradeType
  23690. type: string
  23691. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  23692. in: query
  23693. name: startDate
  23694. type: string
  23695. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  23696. in: query
  23697. name: endDate
  23698. type: string
  23699. produces:
  23700. - application/json
  23701. responses:
  23702. "200":
  23703. description: OK
  23704. schema:
  23705. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  23706. "500":
  23707. description: Internal Server Error
  23708. schema:
  23709. $ref: '#/definitions/app.Response'
  23710. security:
  23711. - ApiKeyAuth: []
  23712. summary: 历史成交单查询(合约市场)
  23713. tags:
  23714. - 通用单据
  23715. /Order/QueryHisTradeOrderDetail:
  23716. get:
  23717. parameters:
  23718. - description: 资金账户 - 格式:1,2,3
  23719. in: query
  23720. name: accountID
  23721. required: true
  23722. type: string
  23723. - description: 交易模式 - 格式:1,2,3
  23724. in: query
  23725. name: tradeMode
  23726. type: string
  23727. - description: 委托状态 - 格式:1,2,3
  23728. in: query
  23729. name: orderStatus
  23730. type: string
  23731. - description: 委托单号
  23732. in: query
  23733. name: orderID
  23734. type: integer
  23735. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  23736. in: query
  23737. name: startDate
  23738. type: string
  23739. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  23740. in: query
  23741. name: endDate
  23742. type: string
  23743. produces:
  23744. - application/json
  23745. responses:
  23746. "200":
  23747. description: OK
  23748. schema:
  23749. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  23750. "500":
  23751. description: Internal Server Error
  23752. schema:
  23753. $ref: '#/definitions/app.Response'
  23754. security:
  23755. - ApiKeyAuth: []
  23756. summary: 历史委托单查询请求(合约市场)
  23757. tags:
  23758. - 通用单据
  23759. /Order/QueryTradeDetail:
  23760. get:
  23761. parameters:
  23762. - description: 资金账户 - 格式:1,2,3
  23763. in: query
  23764. name: accountID
  23765. required: true
  23766. type: string
  23767. - description: 成交单号
  23768. in: query
  23769. name: tradeID
  23770. type: integer
  23771. - description: 委托单号
  23772. in: query
  23773. name: orderID
  23774. type: integer
  23775. - description: 交易模式 - 格式:1,2,3
  23776. in: query
  23777. name: tradeMode
  23778. type: string
  23779. - description: 委托单据类型
  23780. in: query
  23781. name: buildType
  23782. type: integer
  23783. - description: 成交类别 - 格式:1,2,3
  23784. in: query
  23785. name: tradeType
  23786. type: string
  23787. - description: 商品ID
  23788. in: query
  23789. name: goodsID
  23790. type: integer
  23791. produces:
  23792. - application/json
  23793. responses:
  23794. "200":
  23795. description: OK
  23796. schema:
  23797. $ref: '#/definitions/order.QueryTradeDetailRsp'
  23798. "500":
  23799. description: Internal Server Error
  23800. schema:
  23801. $ref: '#/definitions/app.Response'
  23802. security:
  23803. - ApiKeyAuth: []
  23804. summary: 成交单查询(合约市场)
  23805. tags:
  23806. - 通用单据
  23807. /Order/QueryTradeHolderDetail:
  23808. get:
  23809. parameters:
  23810. - description: 用户id
  23811. in: query
  23812. name: userid
  23813. type: integer
  23814. - description: 资金账号, 格式 1,2,3
  23815. in: query
  23816. name: accids
  23817. type: string
  23818. - description: 交易模式, 格式 1,2,3
  23819. in: query
  23820. name: trademodes
  23821. type: string
  23822. - description: 市场id, 格式 1,2,3
  23823. in: query
  23824. name: marketids
  23825. type: string
  23826. - description: 商品id
  23827. in: query
  23828. name: goodsid
  23829. type: integer
  23830. - description: 买卖方向 0-买 1-卖
  23831. in: query
  23832. name: buyorsell
  23833. type: integer
  23834. produces:
  23835. - application/json
  23836. responses:
  23837. "200":
  23838. description: OK
  23839. schema:
  23840. items:
  23841. $ref: '#/definitions/models.TradeHolderDetail'
  23842. type: array
  23843. "500":
  23844. description: Internal Server Error
  23845. schema:
  23846. $ref: '#/definitions/app.Response'
  23847. security:
  23848. - ApiKeyAuth: []
  23849. summary: 查询持仓明细
  23850. tags:
  23851. - 通用单据
  23852. /Order/QueryTradeOrderDetail:
  23853. get:
  23854. parameters:
  23855. - description: 资金账户 - 格式:1,2,3
  23856. in: query
  23857. name: accountID
  23858. required: true
  23859. type: string
  23860. - description: 交易模式 - 格式:1,2,3
  23861. in: query
  23862. name: tradeMode
  23863. type: string
  23864. - description: 委托状态 - 格式:1,2,3
  23865. in: query
  23866. name: orderStatus
  23867. type: string
  23868. - description: 委托单号
  23869. in: query
  23870. name: orderID
  23871. type: integer
  23872. produces:
  23873. - application/json
  23874. responses:
  23875. "200":
  23876. description: OK
  23877. schema:
  23878. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  23879. "500":
  23880. description: Internal Server Error
  23881. schema:
  23882. $ref: '#/definitions/app.Response'
  23883. security:
  23884. - ApiKeyAuth: []
  23885. summary: 委托单查询请求(合约市场)
  23886. tags:
  23887. - 通用单据
  23888. /Order/QueryTradePosition:
  23889. get:
  23890. parameters:
  23891. - description: 资金账户 - 格式:1,2,3
  23892. in: query
  23893. name: accountID
  23894. required: true
  23895. type: string
  23896. - description: 交易模式 - 格式:1,2,3
  23897. in: query
  23898. name: tradeMode
  23899. type: string
  23900. produces:
  23901. - application/json
  23902. responses:
  23903. "200":
  23904. description: OK
  23905. schema:
  23906. $ref: '#/definitions/order.QueryTradePositionRsp'
  23907. "500":
  23908. description: Internal Server Error
  23909. schema:
  23910. $ref: '#/definitions/app.Response'
  23911. security:
  23912. - ApiKeyAuth: []
  23913. summary: 持仓汇总查询(合约市场)
  23914. tags:
  23915. - 通用单据
  23916. /Qhj/QueryAccountInOutApply:
  23917. get:
  23918. parameters:
  23919. - description: 用户ID
  23920. in: query
  23921. name: userid
  23922. required: true
  23923. type: integer
  23924. - description: 申请起始日期(格式yyyymmdd)
  23925. in: query
  23926. name: begindate
  23927. type: string
  23928. - description: 申请截止日期(格式yyyymmdd)
  23929. in: query
  23930. name: enddate
  23931. type: string
  23932. - description: 模糊搜索名称
  23933. in: query
  23934. name: likename
  23935. type: string
  23936. produces:
  23937. - application/json
  23938. responses:
  23939. "200":
  23940. description: OK
  23941. schema:
  23942. items:
  23943. $ref: '#/definitions/models.QhjAccountOutInApply'
  23944. type: array
  23945. "500":
  23946. description: Internal Server Error
  23947. schema:
  23948. $ref: '#/definitions/app.Response'
  23949. security:
  23950. - ApiKeyAuth: []
  23951. summary: 查询充值提现
  23952. tags:
  23953. - 大连千海金
  23954. /Qhj/QueryAreaFinanceConfig:
  23955. get:
  23956. parameters:
  23957. - description: 机构用户ID 其他做市关系,都设置为 1
  23958. in: query
  23959. name: userid
  23960. type: integer
  23961. produces:
  23962. - application/json
  23963. responses:
  23964. "200":
  23965. description: OK
  23966. schema:
  23967. items:
  23968. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  23969. type: array
  23970. "500":
  23971. description: Internal Server Error
  23972. schema:
  23973. $ref: '#/definitions/app.Response'
  23974. security:
  23975. - ApiKeyAuth: []
  23976. summary: 查询企业配置表
  23977. tags:
  23978. - 大连千海金
  23979. /Qhj/QueryBankAccountSign:
  23980. get:
  23981. parameters:
  23982. - description: 用户ID
  23983. in: query
  23984. name: userid
  23985. required: true
  23986. type: integer
  23987. produces:
  23988. - application/json
  23989. responses:
  23990. "200":
  23991. description: OK
  23992. schema:
  23993. items:
  23994. $ref: '#/definitions/models.QhjBankAccountSign'
  23995. type: array
  23996. "500":
  23997. description: Internal Server Error
  23998. schema:
  23999. $ref: '#/definitions/app.Response'
  24000. security:
  24001. - ApiKeyAuth: []
  24002. summary: 查询签约银行信息(提现账户管理)
  24003. tags:
  24004. - 大连千海金
  24005. /Qhj/QueryBankInfo:
  24006. get:
  24007. produces:
  24008. - application/json
  24009. responses:
  24010. "200":
  24011. description: OK
  24012. schema:
  24013. items:
  24014. $ref: '#/definitions/models.QhjBankInfo'
  24015. type: array
  24016. "500":
  24017. description: Internal Server Error
  24018. schema:
  24019. $ref: '#/definitions/app.Response'
  24020. security:
  24021. - ApiKeyAuth: []
  24022. summary: 查询开户行
  24023. tags:
  24024. - 大连千海金
  24025. /Qhj/QueryBrokerApply:
  24026. get:
  24027. parameters:
  24028. - description: 所属机构ID
  24029. in: query
  24030. name: userid
  24031. type: integer
  24032. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24033. in: query
  24034. name: filterstatus
  24035. type: string
  24036. produces:
  24037. - application/json
  24038. responses:
  24039. "200":
  24040. description: OK
  24041. schema:
  24042. items:
  24043. $ref: '#/definitions/models.QhjBrokerApply'
  24044. type: array
  24045. "500":
  24046. description: Internal Server Error
  24047. schema:
  24048. $ref: '#/definitions/app.Response'
  24049. security:
  24050. - ApiKeyAuth: []
  24051. summary: 查询经纪人申请
  24052. tags:
  24053. - 大连千海金
  24054. /Qhj/QueryBrokerApplyEx:
  24055. get:
  24056. parameters:
  24057. - description: 所属机构ID
  24058. in: query
  24059. name: userid
  24060. type: integer
  24061. produces:
  24062. - application/json
  24063. responses:
  24064. "200":
  24065. description: OK
  24066. schema:
  24067. items:
  24068. $ref: '#/definitions/models.QhjBrokerApplyEx'
  24069. type: array
  24070. "500":
  24071. description: Internal Server Error
  24072. schema:
  24073. $ref: '#/definitions/app.Response'
  24074. security:
  24075. - ApiKeyAuth: []
  24076. summary: 查询经纪人信息和申请记录
  24077. tags:
  24078. - 大连千海金
  24079. /Qhj/QueryBrokerRewardLog:
  24080. get:
  24081. parameters:
  24082. - description: 用户ID
  24083. in: query
  24084. name: userid
  24085. required: true
  24086. type: integer
  24087. - description: 开始交易日(yyyymmdd)
  24088. in: query
  24089. name: begindate
  24090. type: string
  24091. - description: 结束交易日(yyyymmdd)
  24092. in: query
  24093. name: enddate
  24094. type: string
  24095. produces:
  24096. - application/json
  24097. responses:
  24098. "200":
  24099. description: OK
  24100. schema:
  24101. items:
  24102. $ref: '#/definitions/models.QhjBrokerRewardLog'
  24103. type: array
  24104. "500":
  24105. description: Internal Server Error
  24106. schema:
  24107. $ref: '#/definitions/app.Response'
  24108. security:
  24109. - ApiKeyAuth: []
  24110. summary: 查询奖励流水(我的奖励)
  24111. tags:
  24112. - 大连千海金
  24113. /Qhj/QueryContract:
  24114. get:
  24115. parameters:
  24116. - description: 用户ID
  24117. in: query
  24118. name: userid
  24119. type: integer
  24120. - description: scf合同id
  24121. in: query
  24122. name: scfcontractid
  24123. type: integer
  24124. produces:
  24125. - application/json
  24126. responses:
  24127. "200":
  24128. description: OK
  24129. schema:
  24130. items:
  24131. $ref: '#/definitions/models.QhjContract'
  24132. type: array
  24133. "500":
  24134. description: Internal Server Error
  24135. schema:
  24136. $ref: '#/definitions/app.Response'
  24137. security:
  24138. - ApiKeyAuth: []
  24139. summary: 查询融资明细(合同)
  24140. tags:
  24141. - 大连千海金
  24142. /Qhj/QueryContractLog:
  24143. get:
  24144. parameters:
  24145. - description: scf合同id
  24146. in: query
  24147. name: scfcontractid
  24148. required: true
  24149. type: integer
  24150. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  24151. in: query
  24152. name: amounttype
  24153. type: string
  24154. produces:
  24155. - application/json
  24156. responses:
  24157. "200":
  24158. description: OK
  24159. schema:
  24160. items:
  24161. $ref: '#/definitions/models.QhjContractLog'
  24162. type: array
  24163. "500":
  24164. description: Internal Server Error
  24165. schema:
  24166. $ref: '#/definitions/app.Response'
  24167. security:
  24168. - ApiKeyAuth: []
  24169. summary: 查询融资明细流水(融资明细详情页中的流水)
  24170. tags:
  24171. - 大连千海金
  24172. /Qhj/QueryCusBankSignBank:
  24173. get:
  24174. produces:
  24175. - application/json
  24176. responses:
  24177. "200":
  24178. description: OK
  24179. schema:
  24180. items:
  24181. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  24182. type: array
  24183. "500":
  24184. description: Internal Server Error
  24185. schema:
  24186. $ref: '#/definitions/app.Response'
  24187. security:
  24188. - ApiKeyAuth: []
  24189. summary: 查询托管银行
  24190. tags:
  24191. - 大连千海金
  24192. /Qhj/QueryCustomerInfo:
  24193. get:
  24194. parameters:
  24195. - description: 用户ID
  24196. in: query
  24197. name: userid
  24198. required: true
  24199. type: integer
  24200. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  24201. in: query
  24202. name: querytype
  24203. required: true
  24204. type: integer
  24205. - description: 客户类型 1-个人 2-企业
  24206. in: query
  24207. name: userinfotype
  24208. type: integer
  24209. - description: 客户名称(模糊匹配)
  24210. in: query
  24211. name: customername
  24212. type: string
  24213. - description: 昵称(模糊匹配)
  24214. in: query
  24215. name: nickname
  24216. type: string
  24217. - description: 是否包含子级 1-包含
  24218. in: query
  24219. name: includesub
  24220. type: integer
  24221. produces:
  24222. - application/json
  24223. responses:
  24224. "200":
  24225. description: OK
  24226. schema:
  24227. items:
  24228. $ref: '#/definitions/models.QhjCustomer'
  24229. type: array
  24230. "500":
  24231. description: Internal Server Error
  24232. schema:
  24233. $ref: '#/definitions/app.Response'
  24234. security:
  24235. - ApiKeyAuth: []
  24236. summary: 查询客户资料
  24237. tags:
  24238. - 大连千海金
  24239. /Qhj/QueryGoodsEx:
  24240. get:
  24241. parameters:
  24242. - description: 商品id
  24243. in: query
  24244. name: goodsid
  24245. type: integer
  24246. produces:
  24247. - application/json
  24248. responses:
  24249. "200":
  24250. description: OK
  24251. schema:
  24252. items:
  24253. $ref: '#/definitions/models.Qhjgoodsex'
  24254. type: array
  24255. "500":
  24256. description: Internal Server Error
  24257. schema:
  24258. $ref: '#/definitions/app.Response'
  24259. security:
  24260. - ApiKeyAuth: []
  24261. summary: 交易商品扩展表
  24262. tags:
  24263. - 大连千海金
  24264. /Qhj/QueryMyTeam:
  24265. get:
  24266. parameters:
  24267. - description: 用户ID
  24268. in: query
  24269. name: userid
  24270. required: true
  24271. type: integer
  24272. produces:
  24273. - application/json
  24274. responses:
  24275. "200":
  24276. description: OK
  24277. schema:
  24278. items:
  24279. $ref: '#/definitions/models.QhjMyTeamEx'
  24280. type: array
  24281. "500":
  24282. description: Internal Server Error
  24283. schema:
  24284. $ref: '#/definitions/app.Response'
  24285. security:
  24286. - ApiKeyAuth: []
  24287. summary: 查询我的团队
  24288. tags:
  24289. - 大连千海金
  24290. /Qhj/QueryMyTeamOrder:
  24291. get:
  24292. parameters:
  24293. - description: 页码
  24294. in: query
  24295. name: page
  24296. type: integer
  24297. - description: 每页条数
  24298. in: query
  24299. name: pagesize
  24300. type: integer
  24301. - description: 用户ID
  24302. in: query
  24303. name: userid
  24304. required: true
  24305. type: integer
  24306. - description: 交易模式
  24307. in: query
  24308. name: trademode
  24309. type: integer
  24310. - description: 名称(模糊搜索账户)
  24311. in: query
  24312. name: filtername
  24313. type: string
  24314. produces:
  24315. - application/json
  24316. responses:
  24317. "200":
  24318. description: OK
  24319. schema:
  24320. items:
  24321. $ref: '#/definitions/models.QhjTeamOrder'
  24322. type: array
  24323. "500":
  24324. description: Internal Server Error
  24325. schema:
  24326. $ref: '#/definitions/app.Response'
  24327. security:
  24328. - ApiKeyAuth: []
  24329. summary: 查询团队订单(我的团队/团队订单)
  24330. tags:
  24331. - 大连千海金
  24332. /Qhj/QueryParentAreaList:
  24333. get:
  24334. parameters:
  24335. - description: 用户ID
  24336. in: query
  24337. name: userid
  24338. required: true
  24339. type: integer
  24340. produces:
  24341. - application/json
  24342. responses:
  24343. "200":
  24344. description: OK
  24345. schema:
  24346. items:
  24347. $ref: '#/definitions/models.QhjParentAreaList'
  24348. type: array
  24349. "500":
  24350. description: Internal Server Error
  24351. schema:
  24352. $ref: '#/definitions/app.Response'
  24353. security:
  24354. - ApiKeyAuth: []
  24355. summary: 查询所属机构列表
  24356. tags:
  24357. - 大连千海金
  24358. /Qhj/QueryPayOrder:
  24359. get:
  24360. parameters:
  24361. - description: 资金账号id
  24362. in: query
  24363. name: accountid
  24364. required: true
  24365. type: integer
  24366. - description: 成交单号
  24367. in: query
  24368. name: tradeid
  24369. type: integer
  24370. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  24371. in: query
  24372. name: payflag
  24373. type: string
  24374. produces:
  24375. - application/json
  24376. responses:
  24377. "200":
  24378. description: OK
  24379. schema:
  24380. items:
  24381. $ref: '#/definitions/models.QhjPayOrder'
  24382. type: array
  24383. "500":
  24384. description: Internal Server Error
  24385. schema:
  24386. $ref: '#/definitions/app.Response'
  24387. security:
  24388. - ApiKeyAuth: []
  24389. summary: 查询待付款单据
  24390. tags:
  24391. - 大连千海金
  24392. /Qhj/QueryPickArea:
  24393. get:
  24394. parameters:
  24395. - description: 用户ID
  24396. in: query
  24397. name: userid
  24398. type: integer
  24399. produces:
  24400. - application/json
  24401. responses:
  24402. "200":
  24403. description: OK
  24404. schema:
  24405. items:
  24406. $ref: '#/definitions/models.QhjPickArea'
  24407. type: array
  24408. "500":
  24409. description: Internal Server Error
  24410. schema:
  24411. $ref: '#/definitions/app.Response'
  24412. security:
  24413. - ApiKeyAuth: []
  24414. summary: 查询提货门店
  24415. tags:
  24416. - 大连千海金
  24417. /Qhj/QueryPickGoods:
  24418. get:
  24419. parameters:
  24420. - description: 交易商品id
  24421. in: query
  24422. name: goodsid
  24423. required: true
  24424. type: integer
  24425. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  24426. in: query
  24427. name: status
  24428. type: string
  24429. produces:
  24430. - application/json
  24431. responses:
  24432. "200":
  24433. description: OK
  24434. schema:
  24435. items:
  24436. $ref: '#/definitions/models.QhjPickGoods'
  24437. type: array
  24438. "500":
  24439. description: Internal Server Error
  24440. schema:
  24441. $ref: '#/definitions/app.Response'
  24442. security:
  24443. - ApiKeyAuth: []
  24444. summary: 查询提货商品
  24445. tags:
  24446. - 大连千海金
  24447. /Qhj/QueryRSTriggerLog:
  24448. get:
  24449. parameters:
  24450. - description: 用户ID
  24451. in: query
  24452. name: userid
  24453. type: integer
  24454. - description: 定投策略id
  24455. in: query
  24456. name: regularlystrategyid
  24457. type: integer
  24458. - description: 商品id
  24459. in: query
  24460. name: goodsid
  24461. type: integer
  24462. - description: 开始交易日(yyyymmdd)
  24463. in: query
  24464. name: begindate
  24465. type: string
  24466. - description: 结束交易日(yyyymmdd)
  24467. in: query
  24468. name: enddate
  24469. type: string
  24470. - description: 名称(模糊搜索账户)
  24471. in: query
  24472. name: filtername
  24473. type: string
  24474. produces:
  24475. - application/json
  24476. responses:
  24477. "200":
  24478. description: OK
  24479. schema:
  24480. items:
  24481. $ref: '#/definitions/models.QhjRSTriggerLog'
  24482. type: array
  24483. "500":
  24484. description: Internal Server Error
  24485. schema:
  24486. $ref: '#/definitions/app.Response'
  24487. security:
  24488. - ApiKeyAuth: []
  24489. summary: 查询定投记录(定投管理/详情/定投记录)
  24490. tags:
  24491. - 大连千海金
  24492. /Qhj/QueryRStrategy:
  24493. get:
  24494. parameters:
  24495. - description: 用户ID
  24496. in: query
  24497. name: userid
  24498. type: integer
  24499. - description: 商品id
  24500. in: query
  24501. name: goodsid
  24502. type: integer
  24503. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  24504. in: query
  24505. name: status
  24506. type: string
  24507. - description: 名称(模糊搜索账户)
  24508. in: query
  24509. name: filtername
  24510. type: string
  24511. produces:
  24512. - application/json
  24513. responses:
  24514. "200":
  24515. description: OK
  24516. schema:
  24517. items:
  24518. $ref: '#/definitions/models.QhjRStrategy'
  24519. type: array
  24520. "500":
  24521. description: Internal Server Error
  24522. schema:
  24523. $ref: '#/definitions/app.Response'
  24524. security:
  24525. - ApiKeyAuth: []
  24526. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  24527. tags:
  24528. - 大连千海金
  24529. /Qhj/QueryReckonPriceLog:
  24530. get:
  24531. parameters:
  24532. - description: 商品ID
  24533. in: query
  24534. name: goodsid
  24535. type: integer
  24536. - description: 交易日 格式(yyyymmdd)
  24537. in: query
  24538. name: tradedate
  24539. type: string
  24540. produces:
  24541. - application/json
  24542. responses:
  24543. "200":
  24544. description: OK
  24545. schema:
  24546. items:
  24547. $ref: '#/definitions/models.QhjReckonPriceLog'
  24548. type: array
  24549. "500":
  24550. description: Internal Server Error
  24551. schema:
  24552. $ref: '#/definitions/app.Response'
  24553. security:
  24554. - ApiKeyAuth: []
  24555. summary: 查询定投价(结算价)
  24556. tags:
  24557. - 大连千海金
  24558. /Qhj/QueryScoreLog:
  24559. get:
  24560. parameters:
  24561. - description: 用户ID
  24562. in: query
  24563. name: userid
  24564. required: true
  24565. type: integer
  24566. - description: 开始交易日(yyyymmdd)
  24567. in: query
  24568. name: begindate
  24569. type: string
  24570. - description: 结束交易日(yyyymmdd)
  24571. in: query
  24572. name: enddate
  24573. type: string
  24574. - description: 最近多少条
  24575. in: query
  24576. name: lastnum
  24577. type: integer
  24578. produces:
  24579. - application/json
  24580. responses:
  24581. "200":
  24582. description: OK
  24583. schema:
  24584. items:
  24585. $ref: '#/definitions/models.QhjScoreLog'
  24586. type: array
  24587. "500":
  24588. description: Internal Server Error
  24589. schema:
  24590. $ref: '#/definitions/app.Response'
  24591. security:
  24592. - ApiKeyAuth: []
  24593. summary: 查询积分流水(我的积分)
  24594. tags:
  24595. - 大连千海金
  24596. /Qhj/QuerySiteColumnDetail:
  24597. get:
  24598. parameters:
  24599. - description: 用户ID
  24600. in: query
  24601. name: userid
  24602. required: true
  24603. type: integer
  24604. produces:
  24605. - application/json
  24606. responses:
  24607. "200":
  24608. description: OK
  24609. schema:
  24610. items:
  24611. $ref: '#/definitions/models.QhjSiteColumnDetail'
  24612. type: array
  24613. "500":
  24614. description: Internal Server Error
  24615. schema:
  24616. $ref: '#/definitions/app.Response'
  24617. security:
  24618. - ApiKeyAuth: []
  24619. summary: 查询资讯
  24620. tags:
  24621. - 大连千海金
  24622. /Qhj/QueryTradeGoodsPickup:
  24623. get:
  24624. parameters:
  24625. - description: 用户ID
  24626. in: query
  24627. name: userid
  24628. required: true
  24629. type: integer
  24630. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销
  24631. in: query
  24632. name: takeorderstatus
  24633. type: integer
  24634. produces:
  24635. - application/json
  24636. responses:
  24637. "200":
  24638. description: OK
  24639. schema:
  24640. items:
  24641. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  24642. type: array
  24643. "500":
  24644. description: Internal Server Error
  24645. schema:
  24646. $ref: '#/definitions/app.Response'
  24647. security:
  24648. - ApiKeyAuth: []
  24649. summary: 查询提货
  24650. tags:
  24651. - 大连千海金
  24652. /Qhj/QueryUserCollectConfig:
  24653. get:
  24654. parameters:
  24655. - description: 用户ID
  24656. in: query
  24657. name: userid
  24658. required: true
  24659. type: integer
  24660. produces:
  24661. - application/json
  24662. responses:
  24663. "200":
  24664. description: OK
  24665. schema:
  24666. items:
  24667. $ref: '#/definitions/models.UserCollectConfig'
  24668. type: array
  24669. "500":
  24670. description: Internal Server Error
  24671. schema:
  24672. $ref: '#/definitions/app.Response'
  24673. security:
  24674. - ApiKeyAuth: []
  24675. summary: 查询提现账户设置
  24676. tags:
  24677. - 大连千海金
  24678. /Qhj/QueryUserReceiveInfo:
  24679. get:
  24680. parameters:
  24681. - description: 用户ID
  24682. in: query
  24683. name: userid
  24684. required: true
  24685. type: integer
  24686. produces:
  24687. - application/json
  24688. responses:
  24689. "200":
  24690. description: OK
  24691. schema:
  24692. items:
  24693. $ref: '#/definitions/models.UserReceiveInfo'
  24694. type: array
  24695. "500":
  24696. description: Internal Server Error
  24697. schema:
  24698. $ref: '#/definitions/app.Response'
  24699. security:
  24700. - ApiKeyAuth: []
  24701. summary: 查询收货地址信息
  24702. tags:
  24703. - 大连千海金
  24704. /QhjMgr/QueryAccountInOutApply:
  24705. get:
  24706. parameters:
  24707. - description: 查询类型 1-提现(出金) 2-充值(出金)
  24708. in: query
  24709. name: querytype
  24710. required: true
  24711. type: integer
  24712. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  24713. in: query
  24714. name: applystatus
  24715. type: integer
  24716. - description: 申请起始日期(格式yyyymmdd)
  24717. in: query
  24718. name: begindate
  24719. type: string
  24720. - description: 申请截止日期(格式yyyymmdd)
  24721. in: query
  24722. name: enddate
  24723. type: string
  24724. - description: 模糊搜索名称
  24725. in: query
  24726. name: likename
  24727. type: string
  24728. produces:
  24729. - application/json
  24730. responses:
  24731. "200":
  24732. description: OK
  24733. schema:
  24734. items:
  24735. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  24736. type: array
  24737. "500":
  24738. description: Internal Server Error
  24739. schema:
  24740. $ref: '#/definitions/app.Response'
  24741. security:
  24742. - ApiKeyAuth: []
  24743. summary: 查询充值提现
  24744. tags:
  24745. - 大连千海金(PCWeb)
  24746. /QhjMgr/QueryBrokerApply:
  24747. get:
  24748. parameters:
  24749. - description: 所属机构ID
  24750. in: query
  24751. name: userid
  24752. type: integer
  24753. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24754. in: query
  24755. name: filterstatus
  24756. type: string
  24757. - description: 名称(模糊匹配)
  24758. in: query
  24759. name: filtername
  24760. type: string
  24761. - description: 是否包含子级 1-包含
  24762. in: query
  24763. name: includesub
  24764. type: integer
  24765. produces:
  24766. - application/json
  24767. responses:
  24768. "200":
  24769. description: OK
  24770. schema:
  24771. items:
  24772. $ref: '#/definitions/models.QhjMgrBrokerApply'
  24773. type: array
  24774. "500":
  24775. description: Internal Server Error
  24776. schema:
  24777. $ref: '#/definitions/app.Response'
  24778. security:
  24779. - ApiKeyAuth: []
  24780. summary: 查询经纪人申请
  24781. tags:
  24782. - 大连千海金(PCWeb)
  24783. /QhjMgr/QueryBrokerRewardReport:
  24784. get:
  24785. parameters:
  24786. - description: 所属机构ID
  24787. in: query
  24788. name: userid
  24789. required: true
  24790. type: integer
  24791. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  24792. in: query
  24793. name: cycletype
  24794. required: true
  24795. type: integer
  24796. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  24797. in: query
  24798. name: cycletime
  24799. required: true
  24800. type: string
  24801. - description: 名称(模糊匹配)
  24802. in: query
  24803. name: filtername
  24804. type: string
  24805. - description: 是否包含子级 1-包含
  24806. in: query
  24807. name: includesub
  24808. type: integer
  24809. produces:
  24810. - application/json
  24811. responses:
  24812. "200":
  24813. description: OK
  24814. schema:
  24815. items:
  24816. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  24817. type: array
  24818. "500":
  24819. description: Internal Server Error
  24820. schema:
  24821. $ref: '#/definitions/app.Response'
  24822. security:
  24823. - ApiKeyAuth: []
  24824. summary: 查询经纪人奖励报表(废弃)
  24825. tags:
  24826. - 大连千海金(PCWeb)
  24827. /QhjMgr/QueryContract:
  24828. get:
  24829. parameters:
  24830. - description: 用户ID
  24831. in: query
  24832. name: userid
  24833. type: integer
  24834. - description: 商品id
  24835. in: query
  24836. name: goodsid
  24837. type: integer
  24838. - description: 名称(模糊搜索账户)
  24839. in: query
  24840. name: filtername
  24841. type: string
  24842. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  24843. in: query
  24844. name: risklevel
  24845. type: string
  24846. - description: 开始交易日(yyyymmdd)
  24847. in: query
  24848. name: begindate
  24849. type: string
  24850. - description: 结束交易日(yyyymmdd)
  24851. in: query
  24852. name: enddate
  24853. type: string
  24854. produces:
  24855. - application/json
  24856. responses:
  24857. "200":
  24858. description: OK
  24859. schema:
  24860. items:
  24861. $ref: '#/definitions/models.QhjMgrContract'
  24862. type: array
  24863. "500":
  24864. description: Internal Server Error
  24865. schema:
  24866. $ref: '#/definitions/app.Response'
  24867. security:
  24868. - ApiKeyAuth: []
  24869. summary: 查询融资信息(合同)
  24870. tags:
  24871. - 大连千海金(PCWeb)
  24872. /QhjMgr/QueryCustomerInfo:
  24873. get:
  24874. parameters:
  24875. - description: 用户ID
  24876. in: query
  24877. name: userid
  24878. required: true
  24879. type: integer
  24880. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  24881. in: query
  24882. name: querytype
  24883. required: true
  24884. type: integer
  24885. - description: 客户类型 1-个人 2-企业
  24886. in: query
  24887. name: userinfotype
  24888. type: integer
  24889. - description: 客户名称(模糊匹配)
  24890. in: query
  24891. name: customername
  24892. type: string
  24893. - description: 昵称(模糊匹配)
  24894. in: query
  24895. name: nickname
  24896. type: string
  24897. - description: 所属客户经理(模糊匹配)
  24898. in: query
  24899. name: brokername
  24900. type: string
  24901. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)
  24902. in: query
  24903. name: birthday
  24904. type: string
  24905. - description: 是否包含子级 1-包含
  24906. in: query
  24907. name: includesub
  24908. type: integer
  24909. produces:
  24910. - application/json
  24911. responses:
  24912. "200":
  24913. description: OK
  24914. schema:
  24915. items:
  24916. $ref: '#/definitions/models.QhjMgrCustomer'
  24917. type: array
  24918. "500":
  24919. description: Internal Server Error
  24920. schema:
  24921. $ref: '#/definitions/app.Response'
  24922. security:
  24923. - ApiKeyAuth: []
  24924. summary: 查询客户资料
  24925. tags:
  24926. - 大连千海金(PCWeb)
  24927. /QhjMgr/QueryPickGoods:
  24928. get:
  24929. parameters:
  24930. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  24931. in: query
  24932. name: status
  24933. type: string
  24934. produces:
  24935. - application/json
  24936. responses:
  24937. "200":
  24938. description: OK
  24939. schema:
  24940. items:
  24941. $ref: '#/definitions/models.QhjMgrPickGoods'
  24942. type: array
  24943. "500":
  24944. description: Internal Server Error
  24945. schema:
  24946. $ref: '#/definitions/app.Response'
  24947. security:
  24948. - ApiKeyAuth: []
  24949. summary: 查询提货商品
  24950. tags:
  24951. - 大连千海金(PCWeb)
  24952. /QhjMgr/QuerySubArea:
  24953. get:
  24954. parameters:
  24955. - description: 用户ID
  24956. in: query
  24957. name: userid
  24958. required: true
  24959. type: integer
  24960. produces:
  24961. - application/json
  24962. responses:
  24963. "200":
  24964. description: OK
  24965. schema:
  24966. items:
  24967. $ref: '#/definitions/models.QhjMgrSubArea'
  24968. type: array
  24969. "500":
  24970. description: Internal Server Error
  24971. schema:
  24972. $ref: '#/definitions/app.Response'
  24973. security:
  24974. - ApiKeyAuth: []
  24975. summary: 查询子机构列表
  24976. tags:
  24977. - 大连千海金(PCWeb)
  24978. /QhjMgr/QueryTradeDetail:
  24979. get:
  24980. parameters:
  24981. - description: 用户ID
  24982. in: query
  24983. name: userid
  24984. required: true
  24985. type: integer
  24986. - description: 用户类型 1-个人 2-企业
  24987. in: query
  24988. name: userinfotype
  24989. type: integer
  24990. - description: 交易模式
  24991. in: query
  24992. name: trademode
  24993. type: integer
  24994. - description: 商品id
  24995. in: query
  24996. name: goodsid
  24997. type: integer
  24998. - description: 名称(模糊搜索账户)
  24999. in: query
  25000. name: filtername
  25001. type: string
  25002. - description: 开始交易日(yyyymmdd)
  25003. in: query
  25004. name: begindate
  25005. type: string
  25006. - description: 结束交易日(yyyymmdd)
  25007. in: query
  25008. name: enddate
  25009. type: string
  25010. - description: 是否包含子级 1-包含
  25011. in: query
  25012. name: includesub
  25013. type: integer
  25014. produces:
  25015. - application/json
  25016. responses:
  25017. "200":
  25018. description: OK
  25019. schema:
  25020. items:
  25021. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  25022. type: array
  25023. "500":
  25024. description: Internal Server Error
  25025. schema:
  25026. $ref: '#/definitions/app.Response'
  25027. security:
  25028. - ApiKeyAuth: []
  25029. summary: 查询成交明细
  25030. tags:
  25031. - 大连千海金(PCWeb)
  25032. /QhjMgr/QueryTradeOrderDetail:
  25033. get:
  25034. parameters:
  25035. - description: 用户ID
  25036. in: query
  25037. name: userid
  25038. required: true
  25039. type: integer
  25040. - description: 用户类型 1-个人 2-企业
  25041. in: query
  25042. name: userinfotype
  25043. type: integer
  25044. - description: 交易模式
  25045. in: query
  25046. name: trademode
  25047. type: integer
  25048. - description: 商品id
  25049. in: query
  25050. name: goodsid
  25051. type: integer
  25052. - description: 名称(模糊搜索账户)
  25053. in: query
  25054. name: filtername
  25055. type: string
  25056. - description: 开始交易日(yyyymmdd)
  25057. in: query
  25058. name: begindate
  25059. type: string
  25060. - description: 结束交易日(yyyymmdd)
  25061. in: query
  25062. name: enddate
  25063. type: string
  25064. - description: 是否包含子级 1-包含
  25065. in: query
  25066. name: includesub
  25067. type: integer
  25068. produces:
  25069. - application/json
  25070. responses:
  25071. "200":
  25072. description: OK
  25073. schema:
  25074. items:
  25075. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  25076. type: array
  25077. "500":
  25078. description: Internal Server Error
  25079. schema:
  25080. $ref: '#/definitions/app.Response'
  25081. security:
  25082. - ApiKeyAuth: []
  25083. summary: 查询委托明细
  25084. tags:
  25085. - 大连千海金(PCWeb)
  25086. /QhjMgr/QueryTradePayOrder:
  25087. get:
  25088. parameters:
  25089. - description: 用户ID
  25090. in: query
  25091. name: userid
  25092. required: true
  25093. type: integer
  25094. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  25095. in: query
  25096. name: payflag
  25097. type: string
  25098. - description: 用户类型 1-个人 2-企业
  25099. in: query
  25100. name: userinfotype
  25101. type: integer
  25102. - description: 交易模式
  25103. in: query
  25104. name: trademode
  25105. type: integer
  25106. - description: 商品id
  25107. in: query
  25108. name: goodsid
  25109. type: integer
  25110. - description: 名称(模糊搜索账户)
  25111. in: query
  25112. name: filtername
  25113. type: string
  25114. - description: 开始交易日(yyyymmdd)
  25115. in: query
  25116. name: begindate
  25117. type: string
  25118. - description: 结束交易日(yyyymmdd)
  25119. in: query
  25120. name: enddate
  25121. type: string
  25122. - description: 是否包含子级 1-包含
  25123. in: query
  25124. name: includesub
  25125. type: integer
  25126. produces:
  25127. - application/json
  25128. responses:
  25129. "200":
  25130. description: OK
  25131. schema:
  25132. items:
  25133. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  25134. type: array
  25135. "500":
  25136. description: Internal Server Error
  25137. schema:
  25138. $ref: '#/definitions/app.Response'
  25139. security:
  25140. - ApiKeyAuth: []
  25141. summary: 查询待付款单
  25142. tags:
  25143. - 大连千海金(PCWeb)
  25144. /QhjMgr/QueryTradePosition:
  25145. get:
  25146. parameters:
  25147. - description: 用户ID
  25148. in: query
  25149. name: userid
  25150. required: true
  25151. type: integer
  25152. - description: 用户类型 1-个人 2-企业
  25153. in: query
  25154. name: userinfotype
  25155. type: integer
  25156. - description: 交易模式
  25157. in: query
  25158. name: trademode
  25159. type: integer
  25160. - description: 商品id
  25161. in: query
  25162. name: goodsid
  25163. type: integer
  25164. - description: 名称(模糊搜索账户)
  25165. in: query
  25166. name: filtername
  25167. type: string
  25168. - description: 是否包含子级 1-包含
  25169. in: query
  25170. name: includesub
  25171. type: integer
  25172. produces:
  25173. - application/json
  25174. responses:
  25175. "200":
  25176. description: OK
  25177. schema:
  25178. items:
  25179. $ref: '#/definitions/models.QhjMgrPositionRsp'
  25180. type: array
  25181. "500":
  25182. description: Internal Server Error
  25183. schema:
  25184. $ref: '#/definitions/app.Response'
  25185. security:
  25186. - ApiKeyAuth: []
  25187. summary: 查询持仓汇总
  25188. tags:
  25189. - 大连千海金(PCWeb)
  25190. /QhjSys/QueryAgreementChangeLog:
  25191. get:
  25192. parameters:
  25193. - description: 协议ID
  25194. in: query
  25195. name: agreementid
  25196. type: integer
  25197. - description: 协议版本号
  25198. in: query
  25199. name: agreementversion
  25200. type: integer
  25201. - description: 协议类型 - 1:注册 2:登录 3:交易
  25202. in: query
  25203. name: agreementtype
  25204. type: integer
  25205. - description: 协议编号(模糊匹配)
  25206. in: query
  25207. name: agreementno
  25208. type: string
  25209. - description: 协议名称(模糊匹配)
  25210. in: query
  25211. name: agreementname
  25212. type: string
  25213. produces:
  25214. - application/json
  25215. responses:
  25216. "200":
  25217. description: OK
  25218. schema:
  25219. items:
  25220. $ref: '#/definitions/models.QhjAgreementChangeLog'
  25221. type: array
  25222. "500":
  25223. description: Internal Server Error
  25224. schema:
  25225. $ref: '#/definitions/app.Response'
  25226. security:
  25227. - ApiKeyAuth: []
  25228. summary: 查询协议配置变更流水
  25229. tags:
  25230. - 大连千海金(协议和签约信息)
  25231. /QhjSys/QueryAgreementConfig:
  25232. get:
  25233. parameters:
  25234. - description: 协议ID
  25235. in: query
  25236. name: agreementid
  25237. type: integer
  25238. - description: 协议版本号
  25239. in: query
  25240. name: agreementversion
  25241. type: integer
  25242. - description: 协议类型 - 1:注册 2:登录 3:交易
  25243. in: query
  25244. name: agreementtype
  25245. type: integer
  25246. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  25247. in: query
  25248. name: isvalid
  25249. type: integer
  25250. - description: 协议编号(模糊匹配)
  25251. in: query
  25252. name: agreementno
  25253. type: string
  25254. - description: 协议名称(模糊匹配)
  25255. in: query
  25256. name: agreementname
  25257. type: string
  25258. produces:
  25259. - application/json
  25260. responses:
  25261. "200":
  25262. description: OK
  25263. schema:
  25264. items:
  25265. $ref: '#/definitions/models.QhjAgreementConfig'
  25266. type: array
  25267. "500":
  25268. description: Internal Server Error
  25269. schema:
  25270. $ref: '#/definitions/app.Response'
  25271. security:
  25272. - ApiKeyAuth: []
  25273. summary: 查询协议配置
  25274. tags:
  25275. - 大连千海金(协议和签约信息)
  25276. /QhjSys/QueryCustomerSignStatus:
  25277. get:
  25278. parameters:
  25279. - description: 客户ID
  25280. in: query
  25281. name: userid
  25282. type: integer
  25283. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  25284. in: query
  25285. name: nodetype
  25286. type: integer
  25287. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25288. in: query
  25289. name: goodsid
  25290. type: integer
  25291. - description: 创建交易日(yyyyMMdd)
  25292. in: query
  25293. name: tradedate
  25294. type: string
  25295. - description: 用户名称(模糊匹配)
  25296. in: query
  25297. name: username
  25298. type: string
  25299. produces:
  25300. - application/json
  25301. responses:
  25302. "200":
  25303. description: OK
  25304. schema:
  25305. items:
  25306. $ref: '#/definitions/models.QhjCustomerSignStatus'
  25307. type: array
  25308. "500":
  25309. description: Internal Server Error
  25310. schema:
  25311. $ref: '#/definitions/app.Response'
  25312. security:
  25313. - ApiKeyAuth: []
  25314. summary: 查询客户协议签约状态
  25315. tags:
  25316. - 大连千海金(协议和签约信息)
  25317. /QhjSys/QueryNodeAgreementConfig:
  25318. get:
  25319. parameters:
  25320. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  25321. in: query
  25322. name: configid
  25323. type: integer
  25324. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25325. in: query
  25326. name: nodetype
  25327. type: integer
  25328. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25329. in: query
  25330. name: goodsid
  25331. type: integer
  25332. - description: 协议ID
  25333. in: query
  25334. name: agreementid
  25335. type: integer
  25336. - description: 协议类型 - 1:注册 2:登录 3:交易
  25337. in: query
  25338. name: agreementtype
  25339. type: integer
  25340. - description: 协议版本号
  25341. in: query
  25342. name: agreementversion
  25343. type: integer
  25344. - description: 协议编号(模糊匹配)
  25345. in: query
  25346. name: agreementno
  25347. type: string
  25348. - description: 协议名称(模糊匹配)
  25349. in: query
  25350. name: agreementname
  25351. type: string
  25352. produces:
  25353. - application/json
  25354. responses:
  25355. "200":
  25356. description: OK
  25357. schema:
  25358. items:
  25359. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  25360. type: array
  25361. "500":
  25362. description: Internal Server Error
  25363. schema:
  25364. $ref: '#/definitions/app.Response'
  25365. security:
  25366. - ApiKeyAuth: []
  25367. summary: 查询协议节点配置
  25368. tags:
  25369. - 大连千海金(协议和签约信息)
  25370. /QhjSys/QueryQhjCustomerSignLog:
  25371. get:
  25372. parameters:
  25373. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  25374. in: query
  25375. name: logid
  25376. type: integer
  25377. - description: 客户ID
  25378. in: query
  25379. name: userid
  25380. type: integer
  25381. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25382. in: query
  25383. name: nodetype
  25384. type: integer
  25385. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25386. in: query
  25387. name: goodsid
  25388. type: integer
  25389. - description: 协议ID
  25390. in: query
  25391. name: agreementid
  25392. type: integer
  25393. - description: 用户名称(模糊匹配)
  25394. in: query
  25395. name: username
  25396. type: string
  25397. - description: 协议编号(模糊匹配)
  25398. in: query
  25399. name: agreementno
  25400. type: string
  25401. - description: 协议名称(模糊匹配)
  25402. in: query
  25403. name: agreementname
  25404. type: string
  25405. produces:
  25406. - application/json
  25407. responses:
  25408. "200":
  25409. description: OK
  25410. schema:
  25411. items:
  25412. $ref: '#/definitions/models.QhjCustomerSignLog'
  25413. type: array
  25414. "500":
  25415. description: Internal Server Error
  25416. schema:
  25417. $ref: '#/definitions/app.Response'
  25418. security:
  25419. - ApiKeyAuth: []
  25420. summary: 查询客户协议签约流水
  25421. tags:
  25422. - 大连千海金(协议和签约信息)
  25423. /QhjSys/QueryUserNodeCfgAndStatus:
  25424. get:
  25425. parameters:
  25426. - description: 客户ID
  25427. in: query
  25428. name: userid
  25429. type: integer
  25430. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  25431. in: query
  25432. name: configid
  25433. type: integer
  25434. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25435. in: query
  25436. name: nodetype
  25437. type: string
  25438. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25439. in: query
  25440. name: goodsid
  25441. type: integer
  25442. - description: 协议ID
  25443. in: query
  25444. name: agreementid
  25445. type: integer
  25446. - description: 协议类型 - 1:注册 2:登录 3:交易
  25447. in: query
  25448. name: agreementtype
  25449. type: integer
  25450. - description: 协议版本号
  25451. in: query
  25452. name: agreementversion
  25453. type: integer
  25454. - description: 协议编号(模糊匹配)
  25455. in: query
  25456. name: agreementno
  25457. type: string
  25458. - description: 协议名称(模糊匹配)
  25459. in: query
  25460. name: agreementname
  25461. type: string
  25462. produces:
  25463. - application/json
  25464. responses:
  25465. "200":
  25466. description: OK
  25467. schema:
  25468. items:
  25469. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  25470. type: array
  25471. "500":
  25472. description: Internal Server Error
  25473. schema:
  25474. $ref: '#/definitions/app.Response'
  25475. security:
  25476. - ApiKeyAuth: []
  25477. summary: 查询用户协议节点配置和状态
  25478. tags:
  25479. - 大连千海金(协议和签约信息)
  25480. /Quote/QueryHistoryDatas:
  25481. get:
  25482. parameters:
  25483. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线'
  25484. in: query
  25485. name: cycleType
  25486. required: true
  25487. type: integer
  25488. - description: 商品代码
  25489. in: query
  25490. name: goodsCode
  25491. required: true
  25492. type: string
  25493. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  25494. in: query
  25495. name: startTime
  25496. type: string
  25497. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  25498. in: query
  25499. name: endTime
  25500. type: string
  25501. - description: 条数
  25502. in: query
  25503. name: count
  25504. type: integer
  25505. - description: 是否按时间顺序排序(默认为时间倒序排序)
  25506. in: query
  25507. name: isAsc
  25508. type: boolean
  25509. produces:
  25510. - application/json
  25511. responses:
  25512. "200":
  25513. description: OK
  25514. schema:
  25515. $ref: '#/definitions/quote.HistoryData'
  25516. "500":
  25517. description: Internal Server Error
  25518. schema:
  25519. $ref: '#/definitions/app.Response'
  25520. security:
  25521. - ApiKeyAuth: []
  25522. summary: 查询行情历史数据
  25523. tags:
  25524. - 行情服务
  25525. /Quote/QueryHistoryTikDatas:
  25526. get:
  25527. parameters:
  25528. - description: 商品代码
  25529. in: query
  25530. name: goodsCode
  25531. required: true
  25532. type: string
  25533. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  25534. in: query
  25535. name: startTime
  25536. type: string
  25537. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  25538. in: query
  25539. name: endTime
  25540. type: string
  25541. - description: 条数
  25542. in: query
  25543. name: count
  25544. type: integer
  25545. - description: 是否按时间顺序排序(默认为时间倒序排序)
  25546. in: query
  25547. name: isAsc
  25548. type: boolean
  25549. produces:
  25550. - application/json
  25551. responses:
  25552. "200":
  25553. description: OK
  25554. schema:
  25555. $ref: '#/definitions/quote.HistoryTikData'
  25556. "500":
  25557. description: Internal Server Error
  25558. schema:
  25559. $ref: '#/definitions/app.Response'
  25560. security:
  25561. - ApiKeyAuth: []
  25562. summary: 查询行情Tik数据
  25563. tags:
  25564. - 行情服务
  25565. /Quote/QueryQuoteDay:
  25566. get:
  25567. parameters:
  25568. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  25569. in: query
  25570. name: goodsCodes
  25571. required: true
  25572. type: string
  25573. produces:
  25574. - application/json
  25575. responses:
  25576. "200":
  25577. description: OK
  25578. schema:
  25579. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  25580. "500":
  25581. description: Internal Server Error
  25582. schema:
  25583. $ref: '#/definitions/app.Response'
  25584. security:
  25585. - ApiKeyAuth: []
  25586. summary: 获取商品盘面信息
  25587. tags:
  25588. - 行情服务
  25589. /Quote/QueryTSData:
  25590. get:
  25591. parameters:
  25592. - description: 商品代码
  25593. in: query
  25594. name: goodsCode
  25595. required: true
  25596. type: string
  25597. produces:
  25598. - application/json
  25599. responses:
  25600. "200":
  25601. description: OK
  25602. schema:
  25603. $ref: '#/definitions/quote.QueryTSDataRsp'
  25604. "500":
  25605. description: Internal Server Error
  25606. schema:
  25607. $ref: '#/definitions/app.Response'
  25608. security:
  25609. - ApiKeyAuth: []
  25610. summary: 分时图数据查询
  25611. tags:
  25612. - 行情服务
  25613. /SZDZ/QueryConvertConfig:
  25614. get:
  25615. parameters:
  25616. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)
  25617. in: query
  25618. name: convertType
  25619. type: integer
  25620. - description: 外部商品代码[JD\PD]
  25621. in: query
  25622. name: outerGoodsCode
  25623. type: string
  25624. - description: 内部商品ID列表[交易],格式:1,2,3
  25625. in: query
  25626. name: innerGoodsIDs
  25627. type: string
  25628. produces:
  25629. - application/json
  25630. responses:
  25631. "200":
  25632. description: OK
  25633. schema:
  25634. $ref: '#/definitions/models.Szdz3convertconfig'
  25635. "500":
  25636. description: Internal Server Error
  25637. schema:
  25638. $ref: '#/definitions/app.Response'
  25639. security:
  25640. - ApiKeyAuth: []
  25641. summary: 查询交易系统转换设置
  25642. tags:
  25643. - 定制【尚志大宗】
  25644. /SZDZ/QueryConvertLog:
  25645. get:
  25646. parameters:
  25647. - description: 资金账户 - 格式:1,2,3
  25648. in: query
  25649. name: accountID
  25650. required: true
  25651. type: string
  25652. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  25653. in: query
  25654. name: startDate
  25655. type: string
  25656. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  25657. in: query
  25658. name: endDate
  25659. type: string
  25660. produces:
  25661. - application/json
  25662. responses:
  25663. "200":
  25664. description: OK
  25665. schema:
  25666. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  25667. "500":
  25668. description: Internal Server Error
  25669. schema:
  25670. $ref: '#/definitions/app.Response'
  25671. security:
  25672. - ApiKeyAuth: []
  25673. summary: 交易系统转换流水查询
  25674. tags:
  25675. - 定制【尚志大宗】
  25676. /SZDZ/QueryGoodsPickup:
  25677. get:
  25678. parameters:
  25679. - description: 资金账户 - 格式:1,2,3
  25680. in: query
  25681. name: accountID
  25682. required: true
  25683. type: string
  25684. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  25685. in: query
  25686. name: takeOrderStatus
  25687. type: integer
  25688. produces:
  25689. - application/json
  25690. responses:
  25691. "200":
  25692. description: OK
  25693. schema:
  25694. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  25695. "500":
  25696. description: Internal Server Error
  25697. schema:
  25698. $ref: '#/definitions/app.Response'
  25699. security:
  25700. - ApiKeyAuth: []
  25701. summary: 商品提货单查询
  25702. tags:
  25703. - 定制【尚志大宗】
  25704. /SZDZ/QueryRecieptOrder:
  25705. get:
  25706. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  25707. parameters:
  25708. - description: 页码
  25709. in: query
  25710. name: page
  25711. type: integer
  25712. - description: 每页条数
  25713. in: query
  25714. name: pagesize
  25715. type: integer
  25716. - description: 商品ID
  25717. in: query
  25718. name: goodsID
  25719. required: true
  25720. type: integer
  25721. - description: 所属账户名称
  25722. in: query
  25723. name: accountName
  25724. type: string
  25725. - description: 市场ID
  25726. in: query
  25727. name: marketID
  25728. type: integer
  25729. - description: 方向 - 0:买 1:卖
  25730. in: query
  25731. name: buyorsell
  25732. required: true
  25733. type: integer
  25734. produces:
  25735. - application/json
  25736. responses:
  25737. "200":
  25738. description: OK
  25739. schema:
  25740. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  25741. "500":
  25742. description: Internal Server Error
  25743. schema:
  25744. $ref: '#/definitions/app.Response'
  25745. security:
  25746. - ApiKeyAuth: []
  25747. summary: 点选挂牌委托单据查询(摘牌大厅)
  25748. tags:
  25749. - 定制【尚志大宗】
  25750. /SZDZ/QuerySZDZTradePosition:
  25751. get:
  25752. parameters:
  25753. - description: 资金账户
  25754. in: query
  25755. name: accountID
  25756. required: true
  25757. type: integer
  25758. produces:
  25759. - application/json
  25760. responses:
  25761. "200":
  25762. description: OK
  25763. schema:
  25764. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  25765. "500":
  25766. description: Internal Server Error
  25767. schema:
  25768. $ref: '#/definitions/app.Response'
  25769. security:
  25770. - ApiKeyAuth: []
  25771. summary: 持仓汇总查询(尚志大宗)
  25772. tags:
  25773. - 定制【尚志大宗】
  25774. /SZDZ/SearchWhite:
  25775. get:
  25776. parameters:
  25777. - description: 用户ID
  25778. in: query
  25779. name: userID
  25780. required: true
  25781. type: integer
  25782. produces:
  25783. - application/json
  25784. responses:
  25785. "200":
  25786. description: OK
  25787. schema:
  25788. $ref: '#/definitions/models.Szdz3searchwhitelist'
  25789. "500":
  25790. description: Internal Server Error
  25791. schema:
  25792. $ref: '#/definitions/app.Response'
  25793. security:
  25794. - ApiKeyAuth: []
  25795. summary: 搜索白名单
  25796. tags:
  25797. - 定制【尚志大宗】
  25798. /Search/SearchGoodses:
  25799. get:
  25800. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  25801. parameters:
  25802. - description: 检索内容
  25803. in: query
  25804. name: content
  25805. required: true
  25806. type: string
  25807. - description: 交易模式,格式:1,2,3
  25808. in: query
  25809. name: tradeModes
  25810. type: string
  25811. produces:
  25812. - application/json
  25813. responses:
  25814. "200":
  25815. description: OK
  25816. schema:
  25817. $ref: '#/definitions/models.SearchGoods'
  25818. "500":
  25819. description: Internal Server Error
  25820. schema:
  25821. $ref: '#/definitions/app.Response'
  25822. summary: 检索商品信息
  25823. tags:
  25824. - 检索服务
  25825. /TaAccount/GetTaAccounts:
  25826. get:
  25827. parameters:
  25828. - description: 登录账户
  25829. in: query
  25830. name: loginID
  25831. required: true
  25832. type: integer
  25833. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  25834. in: query
  25835. name: taAccountType
  25836. type: integer
  25837. produces:
  25838. - application/json
  25839. responses:
  25840. "200":
  25841. description: OK
  25842. schema:
  25843. $ref: '#/definitions/models.Taaccount'
  25844. "500":
  25845. description: Internal Server Error
  25846. schema:
  25847. $ref: '#/definitions/app.Response'
  25848. security:
  25849. - ApiKeyAuth: []
  25850. summary: 获取资金账户信息
  25851. tags:
  25852. - 资金账户
  25853. /TaAccount/QueryAmountLog:
  25854. get:
  25855. parameters:
  25856. - description: 页码
  25857. in: query
  25858. name: page
  25859. type: integer
  25860. - description: 每页条数
  25861. in: query
  25862. name: pagesize
  25863. type: integer
  25864. - description: 资金账户 - 格式:1,2,3
  25865. in: query
  25866. name: accountID
  25867. required: true
  25868. type: string
  25869. - description: 资金操作类型 - 格式:1,2,3
  25870. in: query
  25871. name: OperateType
  25872. type: string
  25873. produces:
  25874. - application/json
  25875. responses:
  25876. "200":
  25877. description: OK
  25878. schema:
  25879. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  25880. "500":
  25881. description: Internal Server Error
  25882. schema:
  25883. $ref: '#/definitions/app.Response'
  25884. security:
  25885. - ApiKeyAuth: []
  25886. summary: 资金流水查询(当前)
  25887. tags:
  25888. - 资金账户
  25889. /TaAccount/QueryHisAmountLog:
  25890. get:
  25891. parameters:
  25892. - description: 页码
  25893. in: query
  25894. name: page
  25895. type: integer
  25896. - description: 每页条数
  25897. in: query
  25898. name: pagesize
  25899. type: integer
  25900. - description: 资金账户 - 格式:1,2,3
  25901. in: query
  25902. name: accountID
  25903. required: true
  25904. type: string
  25905. - description: 资金操作类型 - 格式:1,2,3
  25906. in: query
  25907. name: OperateType
  25908. type: string
  25909. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  25910. in: query
  25911. name: startDate
  25912. type: string
  25913. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  25914. in: query
  25915. name: endDate
  25916. type: string
  25917. produces:
  25918. - application/json
  25919. responses:
  25920. "200":
  25921. description: OK
  25922. schema:
  25923. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  25924. "500":
  25925. description: Internal Server Error
  25926. schema:
  25927. $ref: '#/definitions/app.Response'
  25928. security:
  25929. - ApiKeyAuth: []
  25930. summary: 资金流水查询(历史)
  25931. tags:
  25932. - 资金账户
  25933. /Tjmd/QueryQuoteGoodsList:
  25934. get:
  25935. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  25936. parameters:
  25937. - description: 用户类型
  25938. in: query
  25939. name: usertype
  25940. required: true
  25941. type: integer
  25942. - description: 市场id, 格式 1,2,3
  25943. in: query
  25944. name: marketids
  25945. type: string
  25946. - description: 商品组id
  25947. in: query
  25948. name: goodsgroupid
  25949. type: integer
  25950. - description: 商品id
  25951. in: query
  25952. name: goodsid
  25953. type: integer
  25954. produces:
  25955. - application/json
  25956. responses:
  25957. "200":
  25958. description: OK
  25959. schema:
  25960. items:
  25961. $ref: '#/definitions/models.TjmdQuoteGoods'
  25962. type: array
  25963. "500":
  25964. description: Internal Server Error
  25965. schema:
  25966. $ref: '#/definitions/app.Response'
  25967. security:
  25968. - ApiKeyAuth: []
  25969. summary: 查询掉期报价列表
  25970. tags:
  25971. - 天津麦顿
  25972. /Tjmd/QueryTjmdTodayAccountMargin:
  25973. get:
  25974. parameters:
  25975. - description: 市场id
  25976. in: query
  25977. name: marketid
  25978. type: string
  25979. - description: 商品id
  25980. in: query
  25981. name: goodsid
  25982. type: string
  25983. - description: 资金账号
  25984. in: query
  25985. name: accountid
  25986. type: string
  25987. produces:
  25988. - application/json
  25989. responses:
  25990. "200":
  25991. description: OK
  25992. schema:
  25993. items:
  25994. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  25995. type: array
  25996. "500":
  25997. description: Internal Server Error
  25998. schema:
  25999. $ref: '#/definitions/app.Response'
  26000. security:
  26001. - ApiKeyAuth: []
  26002. summary: 查询今日账户保证金配置
  26003. tags:
  26004. - 天津麦顿
  26005. /Tjmd/QueryTjmdTradeOrderDetail:
  26006. get:
  26007. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  26008. parameters:
  26009. - description: 页码
  26010. in: query
  26011. name: page
  26012. type: integer
  26013. - description: 每页条数
  26014. in: query
  26015. name: pagesize
  26016. type: integer
  26017. - description: 用户id
  26018. in: query
  26019. name: userid
  26020. required: true
  26021. type: integer
  26022. - description: 用户类型
  26023. in: query
  26024. name: usertype
  26025. required: true
  26026. type: integer
  26027. - description: 市场id, 格式 1,2,3
  26028. in: query
  26029. name: marketids
  26030. type: string
  26031. - description: 商品id
  26032. in: query
  26033. name: goodsid
  26034. required: true
  26035. type: integer
  26036. - description: 买卖方向 0-买 1-卖
  26037. in: query
  26038. name: buyorsell
  26039. required: true
  26040. type: integer
  26041. produces:
  26042. - application/json
  26043. responses:
  26044. "200":
  26045. description: OK
  26046. schema:
  26047. items:
  26048. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  26049. type: array
  26050. "500":
  26051. description: Internal Server Error
  26052. schema:
  26053. $ref: '#/definitions/app.Response'
  26054. security:
  26055. - ApiKeyAuth: []
  26056. summary: 查询掉期买卖大厅
  26057. tags:
  26058. - 天津麦顿
  26059. /Tjmd/QueryTjmdTransferApply:
  26060. get:
  26061. parameters:
  26062. - description: 类型 1-我的申请 2-对方申请
  26063. in: query
  26064. name: applytype
  26065. required: true
  26066. type: integer
  26067. - description: 市场id, 格式 1,2,3
  26068. in: query
  26069. name: marketids
  26070. type: string
  26071. - description: 资金账号, 格式 25000000001,25000000003
  26072. in: query
  26073. name: accountids
  26074. type: string
  26075. produces:
  26076. - application/json
  26077. responses:
  26078. "200":
  26079. description: OK
  26080. schema:
  26081. items:
  26082. $ref: '#/definitions/models.TjmdTransferApply'
  26083. type: array
  26084. "500":
  26085. description: Internal Server Error
  26086. schema:
  26087. $ref: '#/definitions/app.Response'
  26088. security:
  26089. - ApiKeyAuth: []
  26090. summary: 查询掉期协议单
  26091. tags:
  26092. - 天津麦顿
  26093. /Trade/QueryRecieptOrder:
  26094. get:
  26095. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  26096. parameters:
  26097. - description: 页码
  26098. in: query
  26099. name: page
  26100. type: integer
  26101. - description: 每页条数
  26102. in: query
  26103. name: pagesize
  26104. type: integer
  26105. - description: 商品ID
  26106. in: query
  26107. name: goodsID
  26108. required: true
  26109. type: integer
  26110. - description: 所属账户名称
  26111. in: query
  26112. name: accountName
  26113. type: string
  26114. - description: 市场ID
  26115. in: query
  26116. name: marketID
  26117. type: integer
  26118. - description: 方向 - 0:买 1:卖
  26119. in: query
  26120. name: buyorsell
  26121. required: true
  26122. type: integer
  26123. produces:
  26124. - application/json
  26125. responses:
  26126. "200":
  26127. description: OK
  26128. schema:
  26129. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  26130. "500":
  26131. description: Internal Server Error
  26132. schema:
  26133. $ref: '#/definitions/app.Response'
  26134. security:
  26135. - ApiKeyAuth: []
  26136. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  26137. tags:
  26138. - 通用交易
  26139. /User/AddMessageBoard:
  26140. post:
  26141. parameters:
  26142. - description: 用户ID
  26143. in: query
  26144. name: userID
  26145. required: true
  26146. type: integer
  26147. - description: 留言信息
  26148. in: query
  26149. name: message
  26150. required: true
  26151. type: string
  26152. - description: 联系电话
  26153. in: query
  26154. name: contactNum
  26155. required: true
  26156. type: string
  26157. produces:
  26158. - application/json
  26159. responses:
  26160. "200":
  26161. description: OK
  26162. schema:
  26163. $ref: '#/definitions/app.Response'
  26164. "500":
  26165. description: Internal Server Error
  26166. schema:
  26167. $ref: '#/definitions/app.Response'
  26168. security:
  26169. - ApiKeyAuth: []
  26170. summary: 添加用户留言板信息
  26171. tags:
  26172. - 用户信息
  26173. /User/AddUserFavoriteGoods:
  26174. post:
  26175. parameters:
  26176. - description: 用户ID
  26177. in: query
  26178. name: userID
  26179. required: true
  26180. type: integer
  26181. - description: 商品ID
  26182. in: query
  26183. name: goodsID
  26184. required: true
  26185. type: integer
  26186. produces:
  26187. - application/json
  26188. responses:
  26189. "200":
  26190. description: OK
  26191. schema:
  26192. $ref: '#/definitions/app.Response'
  26193. "500":
  26194. description: Internal Server Error
  26195. schema:
  26196. $ref: '#/definitions/app.Response'
  26197. security:
  26198. - ApiKeyAuth: []
  26199. summary: 添加用户商品收藏信息
  26200. tags:
  26201. - 用户信息
  26202. /User/GetLoginID:
  26203. get:
  26204. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  26205. parameters:
  26206. - description: 登录代码
  26207. in: query
  26208. name: username
  26209. required: true
  26210. type: string
  26211. produces:
  26212. - application/json
  26213. responses:
  26214. "200":
  26215. description: OK
  26216. schema:
  26217. $ref: '#/definitions/app.Response'
  26218. "500":
  26219. description: Internal Server Error
  26220. schema:
  26221. $ref: '#/definitions/app.Response'
  26222. summary: 获取登录ID
  26223. tags:
  26224. - 用户信息
  26225. /User/GetUserAccount:
  26226. get:
  26227. parameters:
  26228. - description: 用户ID
  26229. in: query
  26230. name: userID
  26231. required: true
  26232. type: integer
  26233. produces:
  26234. - application/json
  26235. responses:
  26236. "200":
  26237. description: OK
  26238. schema:
  26239. $ref: '#/definitions/models.Useraccount'
  26240. "500":
  26241. description: Internal Server Error
  26242. schema:
  26243. $ref: '#/definitions/app.Response'
  26244. security:
  26245. - ApiKeyAuth: []
  26246. summary: 获取用户账号信息
  26247. tags:
  26248. - 用户信息
  26249. /User/GetUserAuthStatus:
  26250. get:
  26251. parameters:
  26252. - description: 用户ID
  26253. in: query
  26254. name: userID
  26255. required: true
  26256. type: integer
  26257. produces:
  26258. - application/json
  26259. responses:
  26260. "200":
  26261. description: OK
  26262. schema:
  26263. $ref: '#/definitions/app.Response'
  26264. "500":
  26265. description: Internal Server Error
  26266. schema:
  26267. $ref: '#/definitions/app.Response'
  26268. security:
  26269. - ApiKeyAuth: []
  26270. summary: 获取用户实名认证状态
  26271. tags:
  26272. - 用户信息
  26273. /User/LoginQuery:
  26274. get:
  26275. parameters:
  26276. - description: 登录账号
  26277. in: query
  26278. name: loginID
  26279. required: true
  26280. type: integer
  26281. produces:
  26282. - application/json
  26283. responses:
  26284. "200":
  26285. description: OK
  26286. schema:
  26287. $ref: '#/definitions/user.LoginQueryRsp'
  26288. "500":
  26289. description: Internal Server Error
  26290. schema:
  26291. $ref: '#/definitions/app.Response'
  26292. security:
  26293. - ApiKeyAuth: []
  26294. summary: 账户登录后信息查询
  26295. tags:
  26296. - 用户信息
  26297. /User/QueryMessageBoard:
  26298. get:
  26299. parameters:
  26300. - description: 用户ID
  26301. in: query
  26302. name: userID
  26303. required: true
  26304. type: integer
  26305. produces:
  26306. - application/json
  26307. responses:
  26308. "200":
  26309. description: OK
  26310. schema:
  26311. $ref: '#/definitions/models.Messageboard'
  26312. "500":
  26313. description: Internal Server Error
  26314. schema:
  26315. $ref: '#/definitions/app.Response'
  26316. security:
  26317. - ApiKeyAuth: []
  26318. summary: 获取用户留言板信息
  26319. tags:
  26320. - 用户信息
  26321. /User/QueryUserFavoriteGoodses:
  26322. get:
  26323. parameters:
  26324. - description: 用户ID
  26325. in: query
  26326. name: userID
  26327. required: true
  26328. type: integer
  26329. produces:
  26330. - application/json
  26331. responses:
  26332. "200":
  26333. description: OK
  26334. schema:
  26335. $ref: '#/definitions/models.Userfavoritegoods'
  26336. "500":
  26337. description: Internal Server Error
  26338. schema:
  26339. $ref: '#/definitions/app.Response'
  26340. security:
  26341. - ApiKeyAuth: []
  26342. summary: 获取用户商品收藏信息
  26343. tags:
  26344. - 用户信息
  26345. /User/QueryUserInfo:
  26346. get:
  26347. parameters:
  26348. - description: 用户ID
  26349. in: query
  26350. name: userID
  26351. required: true
  26352. type: integer
  26353. - description: 是否解密
  26354. in: query
  26355. name: isDecrypt
  26356. type: boolean
  26357. produces:
  26358. - application/json
  26359. responses:
  26360. "200":
  26361. description: OK
  26362. schema:
  26363. $ref: '#/definitions/models.Userinfo'
  26364. "500":
  26365. description: Internal Server Error
  26366. schema:
  26367. $ref: '#/definitions/app.Response'
  26368. security:
  26369. - ApiKeyAuth: []
  26370. summary: 获取用户信息
  26371. tags:
  26372. - 用户信息
  26373. /User/QueryUserReferNum:
  26374. get:
  26375. parameters:
  26376. - description: 用户ID
  26377. in: query
  26378. name: userID
  26379. required: true
  26380. type: integer
  26381. produces:
  26382. - application/json
  26383. responses:
  26384. "200":
  26385. description: OK
  26386. schema:
  26387. $ref: '#/definitions/app.Response'
  26388. "500":
  26389. description: Internal Server Error
  26390. schema:
  26391. $ref: '#/definitions/app.Response'
  26392. summary: 获取用户邀请码
  26393. tags:
  26394. - 用户信息
  26395. /User/RemoveUserFavoriteGoods:
  26396. post:
  26397. parameters:
  26398. - description: 用户ID
  26399. in: query
  26400. name: userID
  26401. required: true
  26402. type: integer
  26403. - description: 商品ID
  26404. in: query
  26405. name: goodsID
  26406. required: true
  26407. type: integer
  26408. produces:
  26409. - application/json
  26410. responses:
  26411. "200":
  26412. description: OK
  26413. schema:
  26414. $ref: '#/definitions/app.Response'
  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/UpdateUserAccountStatus:
  26425. post:
  26426. parameters:
  26427. - description: 用户ID
  26428. in: query
  26429. name: userID
  26430. required: true
  26431. type: integer
  26432. - description: 账户状态 - 4:正常 6:注销(停用)
  26433. in: query
  26434. name: accountStatus
  26435. required: true
  26436. type: integer
  26437. produces:
  26438. - application/json
  26439. responses:
  26440. "200":
  26441. description: OK
  26442. schema:
  26443. $ref: '#/definitions/app.Response'
  26444. "500":
  26445. description: Internal Server Error
  26446. schema:
  26447. $ref: '#/definitions/app.Response'
  26448. security:
  26449. - ApiKeyAuth: []
  26450. summary: 更新用户状态
  26451. tags:
  26452. - 用户信息
  26453. /WRTrade/GetAllDeliveryGoods:
  26454. get:
  26455. produces:
  26456. - application/json
  26457. - application/json
  26458. responses:
  26459. "200":
  26460. description: OK
  26461. schema:
  26462. $ref: '#/definitions/app.Response'
  26463. "500":
  26464. description: Internal Server Error
  26465. schema:
  26466. $ref: '#/definitions/app.Response'
  26467. security:
  26468. - ApiKeyAuth: []
  26469. - ApiKeyAuth: []
  26470. summary: 获取带仓单分类的种类信息
  26471. tags:
  26472. - 仓单贸易
  26473. - 仓单贸易
  26474. /WrTrade2/QueryDeliveryGoodsSection:
  26475. get:
  26476. produces:
  26477. - application/json
  26478. responses:
  26479. "200":
  26480. description: OK
  26481. schema:
  26482. items:
  26483. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  26484. type: array
  26485. "500":
  26486. description: Internal Server Error
  26487. schema:
  26488. $ref: '#/definitions/app.Response'
  26489. security:
  26490. - ApiKeyAuth: []
  26491. summary: 查询板块(分类)
  26492. tags:
  26493. - 仓单贸易v2
  26494. /WrTrade2/QueryFaProductDetail:
  26495. get:
  26496. description: 页面 买卖大厅 -> 选择融资方案
  26497. parameters:
  26498. - description: 仓单要素id
  26499. in: query
  26500. name: wrfactortypeid
  26501. required: true
  26502. type: integer
  26503. produces:
  26504. - application/json
  26505. responses:
  26506. "200":
  26507. description: OK
  26508. schema:
  26509. items:
  26510. $ref: '#/definitions/models.WrFAProductDetail'
  26511. type: array
  26512. "500":
  26513. description: Internal Server Error
  26514. schema:
  26515. $ref: '#/definitions/app.Response'
  26516. security:
  26517. - ApiKeyAuth: []
  26518. summary: 查询融资产品列表
  26519. tags:
  26520. - 仓单贸易v2
  26521. /WrTrade2/QueryFilterItem:
  26522. get:
  26523. parameters:
  26524. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  26525. in: query
  26526. name: itype
  26527. required: true
  26528. type: string
  26529. produces:
  26530. - application/json
  26531. responses:
  26532. "200":
  26533. description: OK
  26534. schema:
  26535. items:
  26536. $ref: '#/definitions/models.WrFilterItem'
  26537. type: array
  26538. "500":
  26539. description: Internal Server Error
  26540. schema:
  26541. $ref: '#/definitions/app.Response'
  26542. security:
  26543. - ApiKeyAuth: []
  26544. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  26545. tags:
  26546. - 仓单贸易v2
  26547. /WrTrade2/QueryFtDeliveryGoods:
  26548. get:
  26549. produces:
  26550. - application/json
  26551. responses:
  26552. "200":
  26553. description: OK
  26554. schema:
  26555. items:
  26556. $ref: '#/definitions/models.WrFtDeliveryGoods'
  26557. type: array
  26558. "500":
  26559. description: Internal Server Error
  26560. schema:
  26561. $ref: '#/definitions/app.Response'
  26562. security:
  26563. - ApiKeyAuth: []
  26564. summary: 查询品种品类筛选框列表
  26565. tags:
  26566. - 仓单贸易v2
  26567. /WrTrade2/QueryHoldLB:
  26568. get:
  26569. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  26570. parameters:
  26571. - description: 资金账号
  26572. in: query
  26573. name: accountid
  26574. required: true
  26575. type: integer
  26576. - description: 仓库id
  26577. in: query
  26578. name: warehouseid
  26579. type: integer
  26580. - description: 品种id
  26581. in: query
  26582. name: deliverygoodsid
  26583. type: integer
  26584. - description: 品类id
  26585. in: query
  26586. name: wrstandardid
  26587. type: integer
  26588. - description: 仓单要素id
  26589. in: query
  26590. name: wrfactortypeid
  26591. type: integer
  26592. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26593. in: query
  26594. name: dgitemname
  26595. type: string
  26596. produces:
  26597. - application/json
  26598. responses:
  26599. "200":
  26600. description: OK
  26601. schema:
  26602. items:
  26603. $ref: '#/definitions/models.WrHoldLB'
  26604. type: array
  26605. "500":
  26606. description: Internal Server Error
  26607. schema:
  26608. $ref: '#/definitions/app.Response'
  26609. security:
  26610. - ApiKeyAuth: []
  26611. summary: 查询仓单持有记录
  26612. tags:
  26613. - 仓单贸易v2
  26614. /WrTrade2/QueryOrderQuote:
  26615. get:
  26616. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录
  26617. parameters:
  26618. - description: 页码
  26619. in: query
  26620. name: page
  26621. type: integer
  26622. - description: 每页条数
  26623. in: query
  26624. name: pagesize
  26625. type: integer
  26626. - description: 仓单贸易市场id
  26627. in: query
  26628. name: marketid
  26629. type: integer
  26630. - description: 价格方式 - 1:固定价 2-浮动价
  26631. in: query
  26632. name: wrpricetype
  26633. required: true
  26634. type: integer
  26635. - description: 0:仓单预售 1:仓单贸易
  26636. in: query
  26637. name: haswr
  26638. required: true
  26639. type: integer
  26640. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26641. in: query
  26642. name: dgitemname
  26643. type: string
  26644. - description: 仓库id(筛选条件)
  26645. in: query
  26646. name: warehouseid
  26647. type: integer
  26648. - description: 品种id
  26649. in: query
  26650. name: deliverygoodsid
  26651. type: integer
  26652. - description: 品类id
  26653. in: query
  26654. name: wrstandardid
  26655. type: integer
  26656. - description: 仓单要素id
  26657. in: query
  26658. name: wrfactortypeid
  26659. type: integer
  26660. - description: 交收月(yyyy-mm) 仓单预售填写
  26661. in: query
  26662. name: deliverymonth
  26663. type: string
  26664. produces:
  26665. - application/json
  26666. responses:
  26667. "200":
  26668. description: OK
  26669. schema:
  26670. items:
  26671. $ref: '#/definitions/models.WrOrderQuote'
  26672. type: array
  26673. "500":
  26674. description: Internal Server Error
  26675. schema:
  26676. $ref: '#/definitions/app.Response'
  26677. security:
  26678. - ApiKeyAuth: []
  26679. summary: 查询大厅行情列表
  26680. tags:
  26681. - 仓单贸易v2
  26682. /WrTrade2/QueryOrderQuoteDetail:
  26683. get:
  26684. parameters:
  26685. - description: 页码
  26686. in: query
  26687. name: page
  26688. type: integer
  26689. - description: 每页条数
  26690. in: query
  26691. name: pagesize
  26692. type: integer
  26693. - description: 仓单贸易市场id
  26694. in: query
  26695. name: marketid
  26696. type: integer
  26697. - description: 价格方式 - 1:固定价 2-浮动价
  26698. in: query
  26699. name: wrpricetype
  26700. required: true
  26701. type: integer
  26702. - description: 0:仓单预售 1:仓单贸易
  26703. in: query
  26704. name: haswr
  26705. required: true
  26706. type: integer
  26707. - description: 仓单要素id
  26708. in: query
  26709. name: wrfactortypeid
  26710. required: true
  26711. type: integer
  26712. - description: 期货商品id(浮动价方式时填)
  26713. in: query
  26714. name: goodsid
  26715. type: integer
  26716. - description: 买卖方向 0-买 1-卖
  26717. in: query
  26718. name: buyorsell
  26719. required: true
  26720. type: integer
  26721. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  26722. in: query
  26723. name: deliverymonth
  26724. type: string
  26725. produces:
  26726. - application/json
  26727. responses:
  26728. "200":
  26729. description: OK
  26730. schema:
  26731. items:
  26732. $ref: '#/definitions/models.WrOrderQuoteDetail'
  26733. type: array
  26734. "500":
  26735. description: Internal Server Error
  26736. schema:
  26737. $ref: '#/definitions/app.Response'
  26738. security:
  26739. - ApiKeyAuth: []
  26740. summary: 查询买卖大厅
  26741. tags:
  26742. - 仓单贸易v2
  26743. /WrTrade2/QueryOrderQuoteMyq:
  26744. get:
  26745. parameters:
  26746. - description: 页码
  26747. in: query
  26748. name: page
  26749. type: integer
  26750. - description: 每页条数
  26751. in: query
  26752. name: pagesize
  26753. type: integer
  26754. - description: 用户id
  26755. in: query
  26756. name: userid
  26757. required: true
  26758. type: integer
  26759. - description: 仓单贸易市场id
  26760. in: query
  26761. name: marketid
  26762. type: integer
  26763. - description: 0:仓单预售 1:仓单贸易
  26764. in: query
  26765. name: haswr
  26766. required: true
  26767. type: integer
  26768. - description: 买卖方向 0-买 1-卖
  26769. in: query
  26770. name: buyorsell
  26771. required: true
  26772. type: integer
  26773. - description: 品种id
  26774. in: query
  26775. name: deliverygoodsid
  26776. type: integer
  26777. - description: 品类id
  26778. in: query
  26779. name: wrstandardid
  26780. type: integer
  26781. - description: 交收月(yyyy-mm) 仓单预售填写
  26782. in: query
  26783. name: deliverymonth
  26784. type: string
  26785. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26786. in: query
  26787. name: dgitemname
  26788. type: string
  26789. produces:
  26790. - application/json
  26791. responses:
  26792. "200":
  26793. description: OK
  26794. schema:
  26795. items:
  26796. $ref: '#/definitions/models.WrQuoteOrderMyq'
  26797. type: array
  26798. "500":
  26799. description: Internal Server Error
  26800. schema:
  26801. $ref: '#/definitions/app.Response'
  26802. security:
  26803. - ApiKeyAuth: []
  26804. summary: 查询贸易圈挂牌大厅
  26805. tags:
  26806. - 仓单贸易v2
  26807. /WrTrade2/QueryPerformancePlan:
  26808. get:
  26809. parameters:
  26810. - description: 用户id
  26811. in: query
  26812. name: userid
  26813. required: true
  26814. type: integer
  26815. - description: 买卖方向 0-买 1-卖
  26816. in: query
  26817. name: buyorsell
  26818. required: true
  26819. type: integer
  26820. produces:
  26821. - application/json
  26822. responses:
  26823. "200":
  26824. description: OK
  26825. schema:
  26826. items:
  26827. $ref: '#/definitions/models.WrPerformancePlan'
  26828. type: array
  26829. "500":
  26830. description: Internal Server Error
  26831. schema:
  26832. $ref: '#/definitions/app.Response'
  26833. security:
  26834. - ApiKeyAuth: []
  26835. summary: 查询履约信息
  26836. tags:
  26837. - 仓单贸易v2
  26838. /WrTrade2/QueryPermancePlanTmp:
  26839. get:
  26840. description: 返回指定用户的模板和公共模板(用户id为空)
  26841. parameters:
  26842. - description: 用户id
  26843. in: query
  26844. name: userid
  26845. type: integer
  26846. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  26847. in: query
  26848. name: tmptype
  26849. type: string
  26850. - description: 是否包含公共模板(用户id为空的) 1-包含
  26851. in: query
  26852. name: includepub
  26853. type: integer
  26854. produces:
  26855. - application/json
  26856. responses:
  26857. "200":
  26858. description: OK
  26859. schema:
  26860. items:
  26861. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  26862. type: array
  26863. "500":
  26864. description: Internal Server Error
  26865. schema:
  26866. $ref: '#/definitions/app.Response'
  26867. security:
  26868. - ApiKeyAuth: []
  26869. summary: 查询履约模板
  26870. tags:
  26871. - 仓单贸易v2
  26872. /WrTrade2/QuerySiteColumnDetail:
  26873. get:
  26874. parameters:
  26875. - description: 页码
  26876. in: query
  26877. name: page
  26878. type: integer
  26879. - description: 每页条数
  26880. in: query
  26881. name: pagesize
  26882. type: integer
  26883. produces:
  26884. - application/json
  26885. responses:
  26886. "200":
  26887. description: OK
  26888. schema:
  26889. items:
  26890. $ref: '#/definitions/models.WrSiteColumnDetail'
  26891. type: array
  26892. "500":
  26893. description: Internal Server Error
  26894. schema:
  26895. $ref: '#/definitions/app.Response'
  26896. security:
  26897. - ApiKeyAuth: []
  26898. summary: 查询资讯
  26899. tags:
  26900. - 仓单贸易v2
  26901. /WrTrade2/QuerySpotGroupTradeSum:
  26902. get:
  26903. produces:
  26904. - application/json
  26905. responses:
  26906. "200":
  26907. description: OK
  26908. schema:
  26909. items:
  26910. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  26911. type: array
  26912. "500":
  26913. description: Internal Server Error
  26914. schema:
  26915. $ref: '#/definitions/app.Response'
  26916. security:
  26917. - ApiKeyAuth: []
  26918. summary: 查询指数
  26919. tags:
  26920. - 仓单贸易v2
  26921. /WrTrade2/QuerySpotGroupTradeSumDetail:
  26922. get:
  26923. description: 查询的结果将会按日期 从小到大 排序
  26924. parameters:
  26925. - description: 现货商品id
  26926. in: query
  26927. name: deliverygoodsid
  26928. required: true
  26929. type: integer
  26930. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  26931. in: query
  26932. name: lastnum
  26933. type: integer
  26934. produces:
  26935. - application/json
  26936. responses:
  26937. "200":
  26938. description: OK
  26939. schema:
  26940. items:
  26941. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  26942. type: array
  26943. "500":
  26944. description: Internal Server Error
  26945. schema:
  26946. $ref: '#/definitions/app.Response'
  26947. security:
  26948. - ApiKeyAuth: []
  26949. summary: 查询指数详细(价格走势图)
  26950. tags:
  26951. - 仓单贸易v2
  26952. /WrTrade2/QueryWrAverageTradePrice:
  26953. get:
  26954. parameters:
  26955. - description: 页码
  26956. in: query
  26957. name: page
  26958. type: integer
  26959. - description: 每页条数
  26960. in: query
  26961. name: pagesize
  26962. type: integer
  26963. - description: 0:仓单预售 1:仓单贸易
  26964. in: query
  26965. name: haswr
  26966. required: true
  26967. type: integer
  26968. - description: 仓单要素id
  26969. in: query
  26970. name: wrfactortypeid
  26971. required: true
  26972. type: integer
  26973. produces:
  26974. - application/json
  26975. responses:
  26976. "200":
  26977. description: OK
  26978. schema:
  26979. items:
  26980. $ref: '#/definitions/models.WrAverageTradePrice'
  26981. type: array
  26982. "500":
  26983. description: Internal Server Error
  26984. schema:
  26985. $ref: '#/definitions/app.Response'
  26986. security:
  26987. - ApiKeyAuth: []
  26988. summary: 查询成交价(历史走势)
  26989. tags:
  26990. - 仓单贸易v2
  26991. /WrTrade2/QueryWrBsGoodsInfo:
  26992. get:
  26993. description: 合约交易/买卖大厅/详情
  26994. parameters:
  26995. - description: 商品id
  26996. in: query
  26997. name: goodsid
  26998. required: true
  26999. type: integer
  27000. produces:
  27001. - application/json
  27002. responses:
  27003. "200":
  27004. description: OK
  27005. schema:
  27006. items:
  27007. $ref: '#/definitions/models.WrBsGoodsInfo'
  27008. type: array
  27009. "500":
  27010. description: Internal Server Error
  27011. schema:
  27012. $ref: '#/definitions/app.Response'
  27013. security:
  27014. - ApiKeyAuth: []
  27015. summary: 查询合约交易买卖大厅详情
  27016. tags:
  27017. - 仓单贸易v2
  27018. /WrTrade2/QueryWrBuybackDetail:
  27019. get:
  27020. parameters:
  27021. - description: 融资合同id
  27022. in: query
  27023. name: scfcontractid
  27024. type: integer
  27025. produces:
  27026. - application/json
  27027. responses:
  27028. "200":
  27029. description: OK
  27030. schema:
  27031. items:
  27032. $ref: '#/definitions/models.WrBuybackDetail'
  27033. type: array
  27034. "500":
  27035. description: Internal Server Error
  27036. schema:
  27037. $ref: '#/definitions/app.Response'
  27038. security:
  27039. - ApiKeyAuth: []
  27040. summary: 查询仓单回购明细
  27041. tags:
  27042. - 仓单贸易v2
  27043. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  27044. get:
  27045. parameters:
  27046. - description: 资金账号
  27047. in: query
  27048. name: accountid
  27049. required: true
  27050. type: integer
  27051. - description: 商品id
  27052. in: query
  27053. name: goodsid
  27054. required: true
  27055. type: integer
  27056. produces:
  27057. - application/json
  27058. responses:
  27059. "200":
  27060. description: OK
  27061. schema:
  27062. items:
  27063. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  27064. type: array
  27065. "500":
  27066. description: Internal Server Error
  27067. schema:
  27068. $ref: '#/definitions/app.Response'
  27069. security:
  27070. - ApiKeyAuth: []
  27071. summary: 查询合约交收可点选仓单
  27072. tags:
  27073. - 仓单贸易v2
  27074. /WrTrade2/QueryWrDeliveryDetail:
  27075. get:
  27076. parameters:
  27077. - description: 用户id
  27078. in: query
  27079. name: userid
  27080. required: true
  27081. type: integer
  27082. - description: 资金账号id
  27083. in: query
  27084. name: accountid
  27085. type: integer
  27086. produces:
  27087. - application/json
  27088. responses:
  27089. "200":
  27090. description: OK
  27091. schema:
  27092. items:
  27093. $ref: '#/definitions/models.WrDeliveryDetail'
  27094. type: array
  27095. "500":
  27096. description: Internal Server Error
  27097. schema:
  27098. $ref: '#/definitions/app.Response'
  27099. security:
  27100. - ApiKeyAuth: []
  27101. summary: 查询交收
  27102. tags:
  27103. - 仓单贸易v2
  27104. /WrTrade2/QueryWrFactorTypeInfo:
  27105. get:
  27106. parameters:
  27107. - description: 仓单要素id
  27108. in: query
  27109. name: wrfactortypeid
  27110. required: true
  27111. type: integer
  27112. produces:
  27113. - application/json
  27114. responses:
  27115. "200":
  27116. description: OK
  27117. schema:
  27118. items:
  27119. $ref: '#/definitions/models.WrFactorTypeInfo'
  27120. type: array
  27121. "500":
  27122. description: Internal Server Error
  27123. schema:
  27124. $ref: '#/definitions/app.Response'
  27125. security:
  27126. - ApiKeyAuth: []
  27127. summary: 查询仓单要素详细信息
  27128. tags:
  27129. - 仓单贸易v2
  27130. /WrTrade2/QueryWrFactorTypeInfoEx:
  27131. get:
  27132. parameters:
  27133. - description: 仓单要素id
  27134. in: query
  27135. name: wrfactortypeid
  27136. required: true
  27137. type: integer
  27138. produces:
  27139. - application/json
  27140. responses:
  27141. "200":
  27142. description: OK
  27143. schema:
  27144. items:
  27145. $ref: '#/definitions/models.WrTypeItem'
  27146. type: array
  27147. "500":
  27148. description: Internal Server Error
  27149. schema:
  27150. $ref: '#/definitions/app.Response'
  27151. security:
  27152. - ApiKeyAuth: []
  27153. summary: 查询仓单要素详细信息列表项
  27154. tags:
  27155. - 仓单贸易v2
  27156. /WrTrade2/QueryWrFinanceBuyApply:
  27157. get:
  27158. description: 页面 融资信息+ / 申请单
  27159. parameters:
  27160. - description: 用户id
  27161. in: query
  27162. name: userid
  27163. required: true
  27164. type: integer
  27165. produces:
  27166. - application/json
  27167. responses:
  27168. "200":
  27169. description: OK
  27170. schema:
  27171. items:
  27172. $ref: '#/definitions/models.WrFinanceBuyApply'
  27173. type: array
  27174. "500":
  27175. description: Internal Server Error
  27176. schema:
  27177. $ref: '#/definitions/app.Response'
  27178. security:
  27179. - ApiKeyAuth: []
  27180. summary: 查询融资购买申请
  27181. tags:
  27182. - 仓单贸易v2
  27183. /WrTrade2/QueryWrFriendApply:
  27184. get:
  27185. parameters:
  27186. - description: 用户id
  27187. in: query
  27188. name: userid
  27189. required: true
  27190. type: integer
  27191. produces:
  27192. - application/json
  27193. responses:
  27194. "200":
  27195. description: OK
  27196. schema:
  27197. items:
  27198. $ref: '#/definitions/models.WrFriendApply'
  27199. type: array
  27200. "500":
  27201. description: Internal Server Error
  27202. schema:
  27203. $ref: '#/definitions/app.Response'
  27204. security:
  27205. - ApiKeyAuth: []
  27206. summary: 查询好友申请记录
  27207. tags:
  27208. - 仓单贸易v2
  27209. /WrTrade2/QueryWrGoodsInfo:
  27210. get:
  27211. parameters:
  27212. - description: 仓单贸易市场id
  27213. in: query
  27214. name: marketid
  27215. type: integer
  27216. - description: 0:仓单预售 1:仓单贸易
  27217. in: query
  27218. name: haswr
  27219. required: true
  27220. type: integer
  27221. - description: 仓单要素id
  27222. in: query
  27223. name: wrfactortypeid
  27224. required: true
  27225. type: integer
  27226. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  27227. in: query
  27228. name: tmplateid
  27229. type: integer
  27230. produces:
  27231. - application/json
  27232. responses:
  27233. "200":
  27234. description: OK
  27235. schema:
  27236. items:
  27237. $ref: '#/definitions/models.WrGoodsInfo'
  27238. type: array
  27239. "500":
  27240. description: Internal Server Error
  27241. schema:
  27242. $ref: '#/definitions/app.Response'
  27243. security:
  27244. - ApiKeyAuth: []
  27245. summary: 查询仓单商品信息
  27246. tags:
  27247. - 仓单贸易v2
  27248. /WrTrade2/QueryWrMarketTradeConfig:
  27249. get:
  27250. parameters:
  27251. - description: 市场id
  27252. in: query
  27253. name: marketid
  27254. type: integer
  27255. produces:
  27256. - application/json
  27257. responses:
  27258. "200":
  27259. description: OK
  27260. schema:
  27261. items:
  27262. $ref: '#/definitions/models.WrMarketTradeConfig'
  27263. type: array
  27264. "500":
  27265. description: Internal Server Error
  27266. schema:
  27267. $ref: '#/definitions/app.Response'
  27268. security:
  27269. - ApiKeyAuth: []
  27270. summary: 查询市场交易参数配置
  27271. tags:
  27272. - 仓单贸易v2
  27273. /WrTrade2/QueryWrOrderDetail:
  27274. get:
  27275. description: 页面 现货仓单 | 预售仓单 -> 挂单
  27276. parameters:
  27277. - description: 页码
  27278. in: query
  27279. name: page
  27280. type: integer
  27281. - description: 每页条数
  27282. in: query
  27283. name: pagesize
  27284. type: integer
  27285. - description: 用户id
  27286. in: query
  27287. name: userid
  27288. required: true
  27289. type: integer
  27290. - description: 仓单贸易市场id
  27291. in: query
  27292. name: marketid
  27293. type: integer
  27294. - description: 0:仓单预售 1:仓单贸易
  27295. in: query
  27296. name: haswr
  27297. required: true
  27298. type: integer
  27299. produces:
  27300. - application/json
  27301. responses:
  27302. "200":
  27303. description: OK
  27304. schema:
  27305. items:
  27306. $ref: '#/definitions/models.WrOrderDetail'
  27307. type: array
  27308. "500":
  27309. description: Internal Server Error
  27310. schema:
  27311. $ref: '#/definitions/app.Response'
  27312. security:
  27313. - ApiKeyAuth: []
  27314. summary: 查询仓单委托单(挂单)
  27315. tags:
  27316. - 仓单贸易v2
  27317. /WrTrade2/QueryWrOutInApply:
  27318. get:
  27319. parameters:
  27320. - description: 用户id
  27321. in: query
  27322. name: userid
  27323. required: true
  27324. type: integer
  27325. produces:
  27326. - application/json
  27327. responses:
  27328. "200":
  27329. description: OK
  27330. schema:
  27331. items:
  27332. $ref: '#/definitions/models.WrOutInApply'
  27333. type: array
  27334. "500":
  27335. description: Internal Server Error
  27336. schema:
  27337. $ref: '#/definitions/app.Response'
  27338. security:
  27339. - ApiKeyAuth: []
  27340. summary: 查询提货申请
  27341. tags:
  27342. - 仓单贸易v2
  27343. /WrTrade2/QueryWrPerformancePlanStep:
  27344. get:
  27345. parameters:
  27346. - description: 履约计划id(performanceplanid)
  27347. in: query
  27348. name: planid
  27349. required: true
  27350. type: integer
  27351. - description: 当前步骤id
  27352. in: query
  27353. name: curstepid
  27354. type: integer
  27355. produces:
  27356. - application/json
  27357. responses:
  27358. "200":
  27359. description: OK
  27360. schema:
  27361. items:
  27362. $ref: '#/definitions/models.WrPerformancePlanStep'
  27363. type: array
  27364. "500":
  27365. description: Internal Server Error
  27366. schema:
  27367. $ref: '#/definitions/app.Response'
  27368. security:
  27369. - ApiKeyAuth: []
  27370. summary: 查询履约信息详情
  27371. tags:
  27372. - 仓单贸易v2
  27373. /WrTrade2/QueryWrPerformanceStepType:
  27374. get:
  27375. produces:
  27376. - application/json
  27377. responses:
  27378. "200":
  27379. description: OK
  27380. schema:
  27381. items:
  27382. $ref: '#/definitions/models.WrPerformanceStepType'
  27383. type: array
  27384. "500":
  27385. description: Internal Server Error
  27386. schema:
  27387. $ref: '#/definitions/app.Response'
  27388. security:
  27389. - ApiKeyAuth: []
  27390. summary: 查询履约步骤枚举
  27391. tags:
  27392. - 仓单贸易v2
  27393. /WrTrade2/QueryWrPosition:
  27394. get:
  27395. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  27396. parameters:
  27397. - description: 用户id
  27398. in: query
  27399. name: userid
  27400. required: true
  27401. type: integer
  27402. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  27403. in: query
  27404. name: querytype
  27405. required: true
  27406. type: integer
  27407. - description: 0:仓单预售 1:仓单贸易
  27408. in: query
  27409. name: haswr
  27410. required: true
  27411. type: integer
  27412. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27413. in: query
  27414. name: dgitemname
  27415. type: string
  27416. - description: 仓库id(筛选条件)
  27417. in: query
  27418. name: warehouseid
  27419. type: integer
  27420. - description: 品种id
  27421. in: query
  27422. name: deliverygoodsid
  27423. type: integer
  27424. - description: 品类id
  27425. in: query
  27426. name: wrstandardid
  27427. type: integer
  27428. produces:
  27429. - application/json
  27430. responses:
  27431. "200":
  27432. description: OK
  27433. schema:
  27434. items:
  27435. $ref: '#/definitions/models.WrPosition'
  27436. type: array
  27437. "500":
  27438. description: Internal Server Error
  27439. schema:
  27440. $ref: '#/definitions/app.Response'
  27441. security:
  27442. - ApiKeyAuth: []
  27443. summary: 查询现货(预售)仓单持仓
  27444. tags:
  27445. - 仓单贸易v2
  27446. /WrTrade2/QueryWrScfContract:
  27447. get:
  27448. parameters:
  27449. - description: 用户id
  27450. in: query
  27451. name: userid
  27452. required: true
  27453. type: integer
  27454. - description: 融资合同id
  27455. in: query
  27456. name: scfcontractid
  27457. type: integer
  27458. produces:
  27459. - application/json
  27460. responses:
  27461. "200":
  27462. description: OK
  27463. schema:
  27464. items:
  27465. $ref: '#/definitions/models.WrScfContract'
  27466. type: array
  27467. "500":
  27468. description: Internal Server Error
  27469. schema:
  27470. $ref: '#/definitions/app.Response'
  27471. security:
  27472. - ApiKeyAuth: []
  27473. summary: 查询仓单贸易融资合同
  27474. tags:
  27475. - 仓单贸易v2
  27476. /WrTrade2/QueryWrScfContractInterest:
  27477. get:
  27478. parameters:
  27479. - description: 融资合同id
  27480. in: query
  27481. name: scfcontractid
  27482. type: integer
  27483. produces:
  27484. - application/json
  27485. responses:
  27486. "200":
  27487. description: OK
  27488. schema:
  27489. items:
  27490. $ref: '#/definitions/models.WrScfContractInterest'
  27491. type: array
  27492. "500":
  27493. description: Internal Server Error
  27494. schema:
  27495. $ref: '#/definitions/app.Response'
  27496. security:
  27497. - ApiKeyAuth: []
  27498. summary: 查询融资合同费用明细
  27499. tags:
  27500. - 仓单贸易v2
  27501. /WrTrade2/QueryWrSpecialMatchOrder:
  27502. get:
  27503. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  27504. parameters:
  27505. - description: 页码
  27506. in: query
  27507. name: page
  27508. type: integer
  27509. - description: 每页条数
  27510. in: query
  27511. name: pagesize
  27512. type: integer
  27513. - description: 用户id
  27514. in: query
  27515. name: userid
  27516. required: true
  27517. type: integer
  27518. - description: 仓单贸易市场id
  27519. in: query
  27520. name: marketid
  27521. type: integer
  27522. - description: 0:仓单预售 1:仓单贸易
  27523. in: query
  27524. name: haswr
  27525. required: true
  27526. type: integer
  27527. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  27528. in: query
  27529. name: isspecified
  27530. type: integer
  27531. produces:
  27532. - application/json
  27533. responses:
  27534. "200":
  27535. description: OK
  27536. schema:
  27537. items:
  27538. $ref: '#/definitions/models.WrSpecialMatchOrder'
  27539. type: array
  27540. "500":
  27541. description: Internal Server Error
  27542. schema:
  27543. $ref: '#/definitions/app.Response'
  27544. security:
  27545. - ApiKeyAuth: []
  27546. summary: 查询指定成交
  27547. tags:
  27548. - 仓单贸易v2
  27549. /WrTrade2/QueryWrStandardFactoryItem:
  27550. get:
  27551. parameters:
  27552. - description: 品类id
  27553. in: query
  27554. name: wrstandardid
  27555. required: true
  27556. type: integer
  27557. produces:
  27558. - application/json
  27559. responses:
  27560. "200":
  27561. description: OK
  27562. schema:
  27563. items:
  27564. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  27565. type: array
  27566. "500":
  27567. description: Internal Server Error
  27568. schema:
  27569. $ref: '#/definitions/app.Response'
  27570. security:
  27571. - ApiKeyAuth: []
  27572. summary: 查询品类要素定义项
  27573. tags:
  27574. - 仓单贸易v2
  27575. /WrTrade2/QueryWrTradeBargainApply:
  27576. get:
  27577. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面 议价->对方议价 填写matchuserid=登录用户id
  27578. parameters:
  27579. - description: 议价人id(摘牌方)
  27580. in: query
  27581. name: userid
  27582. type: integer
  27583. - description: 挂牌方id(查对方议价时,填写此项)
  27584. in: query
  27585. name: matchuserid
  27586. type: integer
  27587. - description: 关联委托单id
  27588. in: query
  27589. name: wrtradeorderid
  27590. type: integer
  27591. - description: 0:仓单预售 1:仓单贸易
  27592. in: query
  27593. name: haswr
  27594. required: true
  27595. type: integer
  27596. produces:
  27597. - application/json
  27598. responses:
  27599. "200":
  27600. description: OK
  27601. schema:
  27602. items:
  27603. $ref: '#/definitions/models.WRTradeBargainApply'
  27604. type: array
  27605. "500":
  27606. description: Internal Server Error
  27607. schema:
  27608. $ref: '#/definitions/app.Response'
  27609. security:
  27610. - ApiKeyAuth: []
  27611. summary: 查询议价单
  27612. tags:
  27613. - 仓单贸易v2
  27614. /WrTrade2/QueryWrTradeDetail:
  27615. get:
  27616. parameters:
  27617. - description: 页码
  27618. in: query
  27619. name: page
  27620. type: integer
  27621. - description: 每页条数
  27622. in: query
  27623. name: pagesize
  27624. type: integer
  27625. - description: 用户id
  27626. in: query
  27627. name: userid
  27628. required: true
  27629. type: integer
  27630. - description: 仓单贸易市场id
  27631. in: query
  27632. name: marketid
  27633. type: integer
  27634. - description: 0:仓单预售 1:仓单贸易
  27635. in: query
  27636. name: haswr
  27637. required: true
  27638. type: integer
  27639. produces:
  27640. - application/json
  27641. responses:
  27642. "200":
  27643. description: OK
  27644. schema:
  27645. items:
  27646. $ref: '#/definitions/models.WrTradeDetail'
  27647. type: array
  27648. "500":
  27649. description: Internal Server Error
  27650. schema:
  27651. $ref: '#/definitions/app.Response'
  27652. security:
  27653. - ApiKeyAuth: []
  27654. summary: 查询仓单成交明细
  27655. tags:
  27656. - 仓单贸易v2
  27657. /WrTrade2/QueryWrTradeOrderDetail:
  27658. get:
  27659. parameters:
  27660. - description: 页码
  27661. in: query
  27662. name: page
  27663. type: integer
  27664. - description: 每页条数
  27665. in: query
  27666. name: pagesize
  27667. type: integer
  27668. - description: 商品id
  27669. in: query
  27670. name: goodsid
  27671. required: true
  27672. type: integer
  27673. - description: 买卖方向 0-买 1-卖
  27674. in: query
  27675. name: buyorsell
  27676. required: true
  27677. type: integer
  27678. produces:
  27679. - application/json
  27680. responses:
  27681. "200":
  27682. description: OK
  27683. schema:
  27684. items:
  27685. $ref: '#/definitions/models.WrTradeOrderDetail'
  27686. type: array
  27687. "500":
  27688. description: Internal Server Error
  27689. schema:
  27690. $ref: '#/definitions/app.Response'
  27691. security:
  27692. - ApiKeyAuth: []
  27693. summary: 查询合约交易买卖大厅
  27694. tags:
  27695. - 仓单贸易v2
  27696. /WrTrade2/QueryWrUserFriend:
  27697. get:
  27698. parameters:
  27699. - description: 用户id
  27700. in: query
  27701. name: userid
  27702. required: true
  27703. type: integer
  27704. - description: 新朋友userid, 如果填写了此项则查找新朋友
  27705. in: query
  27706. name: newuserid
  27707. type: integer
  27708. produces:
  27709. - application/json
  27710. responses:
  27711. "200":
  27712. description: OK
  27713. schema:
  27714. items:
  27715. $ref: '#/definitions/models.WrUserFriend'
  27716. type: array
  27717. "500":
  27718. description: Internal Server Error
  27719. schema:
  27720. $ref: '#/definitions/app.Response'
  27721. security:
  27722. - ApiKeyAuth: []
  27723. summary: 查询我的朋友
  27724. tags:
  27725. - 仓单贸易v2
  27726. /WrTrade2/QueryWrUserReceiptInfo:
  27727. get:
  27728. parameters:
  27729. - description: 用户id
  27730. in: query
  27731. name: userid
  27732. type: integer
  27733. - description: 发票类型 - 1:个人 2:企业
  27734. in: query
  27735. name: receipttype
  27736. type: integer
  27737. produces:
  27738. - application/json
  27739. responses:
  27740. "200":
  27741. description: OK
  27742. schema:
  27743. items:
  27744. $ref: '#/definitions/models.WrUserReceiptInfo'
  27745. type: array
  27746. "500":
  27747. description: Internal Server Error
  27748. schema:
  27749. $ref: '#/definitions/app.Response'
  27750. security:
  27751. - ApiKeyAuth: []
  27752. summary: 查询发票信息
  27753. tags:
  27754. - 仓单贸易v2
  27755. /ZJ/GetBankTip:
  27756. get:
  27757. produces:
  27758. - application/json
  27759. responses:
  27760. "200":
  27761. description: OK
  27762. schema:
  27763. type: string
  27764. "500":
  27765. description: Internal Server Error
  27766. schema:
  27767. $ref: '#/definitions/app.Response'
  27768. summary: 获取中江网银端出入金提示信息
  27769. tags:
  27770. - 中江
  27771. /ZJ/GetCusBankChannels:
  27772. get:
  27773. produces:
  27774. - application/json
  27775. responses:
  27776. "200":
  27777. description: OK
  27778. schema:
  27779. items:
  27780. type: string
  27781. type: array
  27782. "500":
  27783. description: Internal Server Error
  27784. schema:
  27785. $ref: '#/definitions/app.Response'
  27786. summary: 获取中江出入金渠道显示列表
  27787. tags:
  27788. - 中江
  27789. securityDefinitions:
  27790. ApiKeyAuth:
  27791. in: header
  27792. name: Authorization
  27793. type: apiKey
  27794. swagger: "2.0"