swagger.yaml 792 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349243502435124352243532435424355243562435724358243592436024361243622436324364243652436624367243682436924370243712437224373243742437524376243772437824379243802438124382243832438424385243862438724388243892439024391243922439324394243952439624397243982439924400244012440224403244042440524406244072440824409244102441124412244132441424415244162441724418244192442024421244222442324424244252442624427244282442924430244312443224433244342443524436244372443824439244402444124442244432444424445244462444724448244492445024451244522445324454244552445624457244582445924460244612446224463244642446524466244672446824469244702447124472244732447424475244762447724478244792448024481244822448324484244852448624487244882448924490244912449224493244942449524496244972449824499245002450124502245032450424505245062450724508245092451024511245122451324514245152451624517245182451924520245212452224523245242452524526245272452824529245302453124532245332453424535245362453724538245392454024541245422454324544245452454624547245482454924550245512455224553245542455524556245572455824559245602456124562245632456424565245662456724568245692457024571245722457324574245752457624577245782457924580245812458224583245842458524586245872458824589245902459124592245932459424595245962459724598245992460024601246022460324604246052460624607246082460924610246112461224613246142461524616246172461824619246202462124622246232462424625246262462724628246292463024631246322463324634246352463624637246382463924640246412464224643246442464524646246472464824649246502465124652246532465424655246562465724658246592466024661246622466324664246652466624667246682466924670246712467224673246742467524676246772467824679246802468124682246832468424685246862468724688246892469024691246922469324694246952469624697246982469924700247012470224703247042470524706247072470824709247102471124712247132471424715247162471724718247192472024721247222472324724247252472624727247282472924730247312473224733247342473524736247372473824739247402474124742247432474424745247462474724748247492475024751247522475324754247552475624757247582475924760247612476224763247642476524766247672476824769247702477124772247732477424775247762477724778247792478024781247822478324784247852478624787247882478924790247912479224793247942479524796247972479824799248002480124802248032480424805248062480724808248092481024811248122481324814248152481624817248182481924820248212482224823248242482524826248272482824829248302483124832248332483424835248362483724838248392484024841248422484324844248452484624847248482484924850248512485224853248542485524856248572485824859248602486124862248632486424865248662486724868248692487024871248722487324874248752487624877248782487924880248812488224883248842488524886248872488824889248902489124892248932489424895248962489724898248992490024901249022490324904249052490624907249082490924910249112491224913249142491524916249172491824919249202492124922249232492424925249262492724928249292493024931249322493324934249352493624937249382493924940249412494224943249442494524946249472494824949249502495124952249532495424955249562495724958249592496024961249622496324964249652496624967249682496924970249712497224973249742497524976249772497824979249802498124982249832498424985249862498724988249892499024991249922499324994249952499624997249982499925000250012500225003250042500525006250072500825009250102501125012250132501425015250162501725018250192502025021250222502325024250252502625027250282502925030250312503225033250342503525036250372503825039250402504125042250432504425045250462504725048250492505025051250522505325054250552505625057250582505925060250612506225063250642506525066250672506825069250702507125072250732507425075250762507725078250792508025081250822508325084250852508625087250882508925090250912509225093250942509525096250972509825099251002510125102251032510425105251062510725108251092511025111251122511325114251152511625117251182511925120251212512225123251242512525126251272512825129251302513125132251332513425135251362513725138251392514025141251422514325144251452514625147251482514925150251512515225153251542515525156251572515825159251602516125162251632516425165251662516725168251692517025171251722517325174251752517625177251782517925180251812518225183251842518525186251872518825189251902519125192251932519425195251962519725198251992520025201252022520325204252052520625207252082520925210252112521225213252142521525216252172521825219252202522125222252232522425225252262522725228252292523025231252322523325234252352523625237252382523925240252412524225243252442524525246252472524825249252502525125252252532525425255252562525725258252592526025261252622526325264252652526625267252682526925270252712527225273252742527525276252772527825279252802528125282252832528425285252862528725288252892529025291252922529325294252952529625297252982529925300253012530225303253042530525306253072530825309253102531125312253132531425315253162531725318253192532025321253222532325324253252532625327253282532925330253312533225333253342533525336253372533825339253402534125342253432534425345253462534725348253492535025351253522535325354253552535625357253582535925360253612536225363253642536525366253672536825369253702537125372253732537425375253762537725378253792538025381253822538325384253852538625387253882538925390253912539225393253942539525396253972539825399254002540125402254032540425405254062540725408254092541025411254122541325414254152541625417254182541925420254212542225423254242542525426254272542825429254302543125432254332543425435254362543725438254392544025441254422544325444254452544625447254482544925450254512545225453254542545525456254572545825459254602546125462254632546425465254662546725468254692547025471254722547325474254752547625477254782547925480254812548225483254842548525486254872548825489254902549125492254932549425495254962549725498254992550025501255022550325504255052550625507255082550925510255112551225513255142551525516255172551825519255202552125522255232552425525255262552725528255292553025531255322553325534255352553625537255382553925540255412554225543255442554525546255472554825549255502555125552255532555425555255562555725558255592556025561255622556325564255652556625567255682556925570255712557225573255742557525576255772557825579255802558125582255832558425585255862558725588255892559025591255922559325594255952559625597255982559925600256012560225603256042560525606256072560825609256102561125612256132561425615256162561725618256192562025621256222562325624256252562625627256282562925630256312563225633256342563525636256372563825639256402564125642256432564425645256462564725648256492565025651256522565325654256552565625657256582565925660256612566225663256642566525666256672566825669256702567125672256732567425675256762567725678256792568025681256822568325684256852568625687256882568925690256912569225693256942569525696256972569825699257002570125702257032570425705257062570725708257092571025711257122571325714257152571625717257182571925720257212572225723257242572525726257272572825729257302573125732257332573425735257362573725738257392574025741257422574325744257452574625747257482574925750257512575225753257542575525756257572575825759257602576125762257632576425765257662576725768257692577025771257722577325774257752577625777257782577925780257812578225783257842578525786257872578825789257902579125792257932579425795257962579725798257992580025801258022580325804258052580625807258082580925810258112581225813258142581525816258172581825819258202582125822258232582425825258262582725828258292583025831258322583325834258352583625837258382583925840258412584225843258442584525846258472584825849258502585125852258532585425855258562585725858258592586025861258622586325864258652586625867258682586925870258712587225873258742587525876258772587825879258802588125882258832588425885258862588725888258892589025891258922589325894258952589625897258982589925900259012590225903259042590525906259072590825909259102591125912259132591425915259162591725918259192592025921259222592325924259252592625927259282592925930259312593225933259342593525936259372593825939259402594125942259432594425945259462594725948259492595025951259522595325954259552595625957259582595925960259612596225963259642596525966259672596825969259702597125972259732597425975259762597725978259792598025981259822598325984259852598625987259882598925990259912599225993259942599525996259972599825999260002600126002260032600426005260062600726008260092601026011260122601326014260152601626017260182601926020260212602226023260242602526026260272602826029260302603126032260332603426035260362603726038260392604026041260422604326044260452604626047260482604926050260512605226053260542605526056260572605826059260602606126062260632606426065260662606726068260692607026071260722607326074260752607626077260782607926080260812608226083260842608526086260872608826089260902609126092260932609426095260962609726098260992610026101261022610326104261052610626107261082610926110261112611226113261142611526116261172611826119261202612126122261232612426125261262612726128261292613026131261322613326134261352613626137261382613926140261412614226143261442614526146261472614826149261502615126152261532615426155261562615726158261592616026161261622616326164261652616626167261682616926170261712617226173261742617526176261772617826179261802618126182261832618426185261862618726188261892619026191261922619326194261952619626197261982619926200262012620226203262042620526206262072620826209262102621126212262132621426215262162621726218262192622026221262222622326224262252622626227262282622926230262312623226233262342623526236262372623826239262402624126242262432624426245262462624726248262492625026251262522625326254262552625626257262582625926260262612626226263262642626526266262672626826269262702627126272262732627426275262762627726278262792628026281262822628326284262852628626287262882628926290262912629226293262942629526296262972629826299263002630126302263032630426305263062630726308263092631026311263122631326314263152631626317263182631926320263212632226323263242632526326263272632826329263302633126332263332633426335263362633726338263392634026341263422634326344263452634626347263482634926350263512635226353263542635526356263572635826359263602636126362263632636426365263662636726368263692637026371263722637326374263752637626377263782637926380263812638226383263842638526386263872638826389263902639126392263932639426395263962639726398263992640026401264022640326404264052640626407264082640926410264112641226413264142641526416264172641826419264202642126422264232642426425264262642726428264292643026431264322643326434264352643626437264382643926440264412644226443264442644526446264472644826449264502645126452264532645426455264562645726458264592646026461264622646326464264652646626467264682646926470264712647226473264742647526476264772647826479264802648126482264832648426485264862648726488264892649026491264922649326494264952649626497264982649926500265012650226503265042650526506265072650826509265102651126512265132651426515265162651726518265192652026521265222652326524265252652626527265282652926530265312653226533265342653526536265372653826539265402654126542265432654426545265462654726548265492655026551265522655326554265552655626557265582655926560265612656226563265642656526566265672656826569265702657126572265732657426575265762657726578265792658026581265822658326584265852658626587265882658926590265912659226593265942659526596265972659826599266002660126602266032660426605266062660726608266092661026611266122661326614266152661626617266182661926620266212662226623266242662526626266272662826629266302663126632266332663426635266362663726638266392664026641266422664326644266452664626647266482664926650266512665226653266542665526656266572665826659266602666126662266632666426665266662666726668266692667026671266722667326674266752667626677266782667926680266812668226683266842668526686266872668826689266902669126692266932669426695266962669726698266992670026701267022670326704267052670626707267082670926710267112671226713267142671526716267172671826719267202672126722267232672426725267262672726728267292673026731267322673326734267352673626737267382673926740267412674226743267442674526746267472674826749267502675126752267532675426755267562675726758267592676026761267622676326764267652676626767267682676926770267712677226773267742677526776267772677826779267802678126782267832678426785267862678726788267892679026791267922679326794267952679626797267982679926800268012680226803268042680526806268072680826809268102681126812268132681426815268162681726818268192682026821268222682326824268252682626827268282682926830268312683226833268342683526836268372683826839268402684126842268432684426845268462684726848268492685026851268522685326854268552685626857268582685926860268612686226863268642686526866268672686826869268702687126872268732687426875268762687726878268792688026881268822688326884268852688626887268882688926890268912689226893268942689526896268972689826899269002690126902269032690426905269062690726908269092691026911269122691326914269152691626917269182691926920269212692226923269242692526926269272692826929269302693126932269332693426935269362693726938269392694026941269422694326944269452694626947269482694926950269512695226953269542695526956269572695826959269602696126962269632696426965269662696726968269692697026971269722697326974269752697626977269782697926980269812698226983269842698526986269872698826989269902699126992269932699426995269962699726998269992700027001270022700327004270052700627007270082700927010270112701227013270142701527016270172701827019270202702127022270232702427025270262702727028270292703027031270322703327034270352703627037270382703927040270412704227043270442704527046270472704827049270502705127052270532705427055270562705727058270592706027061270622706327064270652706627067270682706927070270712707227073270742707527076270772707827079270802708127082270832708427085270862708727088270892709027091270922709327094270952709627097270982709927100271012710227103271042710527106271072710827109271102711127112271132711427115271162711727118271192712027121271222712327124271252712627127271282712927130271312713227133271342713527136271372713827139271402714127142271432714427145271462714727148271492715027151271522715327154271552715627157271582715927160271612716227163271642716527166271672716827169271702717127172271732717427175271762717727178271792718027181271822718327184271852718627187271882718927190271912719227193271942719527196271972719827199272002720127202272032720427205272062720727208272092721027211272122721327214272152721627217272182721927220272212722227223272242722527226272272722827229272302723127232272332723427235272362723727238272392724027241272422724327244272452724627247272482724927250272512725227253272542725527256272572725827259272602726127262272632726427265272662726727268272692727027271272722727327274272752727627277272782727927280272812728227283272842728527286272872728827289272902729127292272932729427295272962729727298272992730027301273022730327304273052730627307273082730927310273112731227313273142731527316273172731827319273202732127322273232732427325273262732727328273292733027331273322733327334273352733627337273382733927340273412734227343273442734527346273472734827349273502735127352273532735427355273562735727358273592736027361273622736327364273652736627367273682736927370273712737227373273742737527376273772737827379273802738127382273832738427385273862738727388273892739027391273922739327394273952739627397273982739927400274012740227403274042740527406274072740827409274102741127412274132741427415274162741727418274192742027421274222742327424274252742627427274282742927430274312743227433274342743527436274372743827439274402744127442274432744427445274462744727448274492745027451274522745327454274552745627457274582745927460274612746227463274642746527466274672746827469274702747127472274732747427475274762747727478274792748027481274822748327484274852748627487274882748927490274912749227493274942749527496274972749827499275002750127502275032750427505275062750727508275092751027511275122751327514275152751627517275182751927520275212752227523275242752527526275272752827529275302753127532275332753427535275362753727538275392754027541275422754327544275452754627547275482754927550275512755227553275542755527556275572755827559275602756127562275632756427565275662756727568275692757027571275722757327574275752757627577275782757927580275812758227583275842758527586275872758827589275902759127592275932759427595275962759727598275992760027601276022760327604276052760627607276082760927610276112761227613276142761527616276172761827619276202762127622276232762427625276262762727628276292763027631276322763327634276352763627637276382763927640276412764227643276442764527646276472764827649276502765127652276532765427655276562765727658276592766027661276622766327664276652766627667276682766927670276712767227673276742767527676276772767827679276802768127682276832768427685276862768727688276892769027691276922769327694276952769627697276982769927700277012770227703277042770527706277072770827709277102771127712277132771427715277162771727718277192772027721277222772327724277252772627727277282772927730277312773227733277342773527736277372773827739277402774127742277432774427745277462774727748277492775027751277522775327754277552775627757277582775927760277612776227763277642776527766277672776827769277702777127772277732777427775277762777727778277792778027781277822778327784277852778627787277882778927790277912779227793277942779527796277972779827799278002780127802278032780427805278062780727808278092781027811278122781327814278152781627817278182781927820278212782227823278242782527826278272782827829278302783127832278332783427835278362783727838278392784027841278422784327844278452784627847278482784927850278512785227853278542785527856278572785827859278602786127862278632786427865278662786727868278692787027871278722787327874278752787627877278782787927880278812788227883278842788527886278872788827889278902789127892278932789427895278962789727898278992790027901279022790327904279052790627907279082790927910279112791227913279142791527916279172791827919279202792127922279232792427925279262792727928279292793027931279322793327934279352793627937279382793927940279412794227943279442794527946279472794827949279502795127952279532795427955279562795727958279592796027961279622796327964279652796627967279682796927970279712797227973279742797527976279772797827979279802798127982279832798427985279862798727988279892799027991279922799327994279952799627997279982799928000280012800228003280042800528006280072800828009280102801128012280132801428015280162801728018280192802028021280222802328024280252802628027280282802928030280312803228033280342803528036280372803828039280402804128042280432804428045280462804728048280492805028051280522805328054280552805628057280582805928060280612806228063280642806528066280672806828069280702807128072280732807428075280762807728078280792808028081280822808328084280852808628087280882808928090280912809228093280942809528096280972809828099281002810128102281032810428105281062810728108281092811028111281122811328114281152811628117281182811928120281212812228123281242812528126281272812828129281302813128132281332813428135281362813728138281392814028141281422814328144281452814628147281482814928150281512815228153281542815528156281572815828159281602816128162281632816428165281662816728168281692817028171281722817328174281752817628177281782817928180281812818228183281842818528186281872818828189281902819128192281932819428195281962819728198281992820028201282022820328204282052820628207282082820928210282112821228213282142821528216282172821828219282202822128222282232822428225282262822728228282292823028231282322823328234282352823628237282382823928240282412824228243282442824528246282472824828249282502825128252282532825428255282562825728258282592826028261282622826328264282652826628267282682826928270282712827228273282742827528276282772827828279282802828128282282832828428285282862828728288282892829028291282922829328294282952829628297282982829928300283012830228303283042830528306283072830828309283102831128312283132831428315283162831728318283192832028321283222832328324283252832628327283282832928330283312833228333283342833528336283372833828339283402834128342283432834428345283462834728348283492835028351283522835328354283552835628357283582835928360283612836228363283642836528366283672836828369283702837128372283732837428375283762837728378283792838028381283822838328384283852838628387283882838928390283912839228393283942839528396283972839828399284002840128402284032840428405284062840728408284092841028411284122841328414284152841628417284182841928420284212842228423284242842528426284272842828429284302843128432284332843428435284362843728438284392844028441284422844328444284452844628447284482844928450284512845228453284542845528456284572845828459284602846128462284632846428465284662846728468284692847028471284722847328474284752847628477284782847928480284812848228483284842848528486284872848828489284902849128492284932849428495284962849728498284992850028501285022850328504285052850628507285082850928510285112851228513285142851528516285172851828519285202852128522285232852428525285262852728528285292853028531285322853328534285352853628537285382853928540285412854228543285442854528546285472854828549
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data: {}
  8. msg:
  9. type: string
  10. page:
  11. description: 页码
  12. type: integer
  13. pagesize:
  14. description: 每页条数
  15. type: integer
  16. total:
  17. description: 总条数
  18. type: integer
  19. type: object
  20. common.ClientMenu:
  21. properties:
  22. children:
  23. description: 子菜单列表
  24. items:
  25. $ref: '#/definitions/common.ClientMenu'
  26. type: array
  27. code:
  28. description: ID
  29. type: string
  30. isshow:
  31. description: 是否显示
  32. type: boolean
  33. remark:
  34. description: 备注
  35. type: string
  36. rulekey:
  37. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  38. type: string
  39. sort:
  40. description: 排序
  41. type: integer
  42. title:
  43. description: 标题
  44. type: string
  45. type:
  46. description: 类型,1:菜单 2:按钮
  47. type: integer
  48. url:
  49. description: URL
  50. type: string
  51. type: object
  52. common.PCWebMenu:
  53. properties:
  54. auth:
  55. description: 页面权限列表
  56. items:
  57. $ref: '#/definitions/common.PCWebMenuAuth'
  58. type: array
  59. children:
  60. description: 子菜单列表
  61. items:
  62. $ref: '#/definitions/common.PCWebMenu'
  63. type: array
  64. code:
  65. description: ID,新版本中权限KEY也是这个字段
  66. type: string
  67. component:
  68. description: 路由组件
  69. type: string
  70. isshow:
  71. description: 是否显示
  72. type: boolean
  73. path:
  74. description: 路由路径
  75. type: string
  76. remark:
  77. description: 备注
  78. type: string
  79. rulekey:
  80. description: 权限主键,非空表示需要判断控制,非空值不可重复
  81. type: string
  82. sort:
  83. description: 排序
  84. type: integer
  85. title:
  86. description: 标题
  87. type: string
  88. url:
  89. description: URL
  90. type: string
  91. type: object
  92. common.PCWebMenuAuth:
  93. properties:
  94. code:
  95. description: ID,新版本中权限KEY也是这个字段
  96. type: string
  97. isshow:
  98. description: 是否显示
  99. type: boolean
  100. label:
  101. description: 标题
  102. type: string
  103. remark:
  104. description: 备注
  105. type: string
  106. rulekey:
  107. description: 权限主键,非空表示需要判断控制,非空值不可重复
  108. type: string
  109. type: object
  110. common.QueryImageConfigsRsp:
  111. properties:
  112. areauserid:
  113. description: 所属机构ID
  114. type: integer
  115. configid:
  116. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  117. type: integer
  118. createdate:
  119. description: 创建时间
  120. type: string
  121. creatorid:
  122. description: 创建人
  123. type: integer
  124. imagedetailpath:
  125. description: 详情图片 [UrlType = 3时 有且必填,其它类型不需要]
  126. type: string
  127. imagepath:
  128. description: 图片
  129. type: string
  130. imagetype:
  131. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  132. type: integer
  133. isshow:
  134. description: 是否展示 - 0:不展示 1:展示
  135. type: integer
  136. marketid:
  137. description: 市场ID
  138. type: integer
  139. modifierid:
  140. description: 操作人
  141. type: integer
  142. sort:
  143. description: 排序
  144. type: integer
  145. title:
  146. description: 标题
  147. type: string
  148. trademode:
  149. description: 交易模式
  150. type: integer
  151. updatedate:
  152. description: 修改时间
  153. type: string
  154. url:
  155. description: 链接(地址或商品ID)
  156. type: string
  157. urltype:
  158. description: 链接类型 - 1:直接地址 2:商品ID
  159. type: integer
  160. required:
  161. - configid
  162. type: object
  163. common.QueryNoticeRsp:
  164. properties:
  165. auditoruserid:
  166. description: 审核人
  167. type: integer
  168. auditremark:
  169. description: 审核备注
  170. type: string
  171. audittime:
  172. description: 审核日期
  173. type: string
  174. autoid:
  175. description: 自增ID
  176. type: integer
  177. content:
  178. description: 内容
  179. type: string
  180. createtime:
  181. description: 创建时间
  182. type: string
  183. creatorid:
  184. description: 建仓人
  185. type: integer
  186. endtime:
  187. description: 结束时间
  188. type: string
  189. istop:
  190. description: 是否置顶 - 0:不置顶 1:置顶
  191. type: integer
  192. msgiconurl:
  193. description: 消息图标Url
  194. type: string
  195. msgtype:
  196. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  197. type: integer
  198. publisher:
  199. description: 消息发布者
  200. type: string
  201. readed:
  202. description: 是否已读
  203. type: boolean
  204. scheduletime:
  205. description: 计划发送时间
  206. type: string
  207. sendtype:
  208. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  209. type: integer
  210. sentstatus:
  211. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  212. type: integer
  213. title:
  214. description: 标题
  215. type: string
  216. userid:
  217. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  218. type: integer
  219. required:
  220. - autoid
  221. type: object
  222. common.QueryProvincesAndCitiesRsp:
  223. properties:
  224. cities:
  225. description: 市
  226. items:
  227. $ref: '#/definitions/models.Division'
  228. type: array
  229. province:
  230. $ref: '#/definitions/models.Division'
  231. description: 省
  232. type: object
  233. common.QueryTableDefineRsp:
  234. properties:
  235. columns:
  236. description: 列头信息数组
  237. items:
  238. $ref: '#/definitions/models.Tablecolumnconfig'
  239. type: array
  240. remark:
  241. description: Remark
  242. type: string
  243. tabelmenu:
  244. description: 列表菜单
  245. type: string
  246. tablekey:
  247. description: 列表Key
  248. type: string
  249. tablename:
  250. description: 列表名称
  251. type: string
  252. tabletype:
  253. description: 列表类型 - 1:管理端 2:终端
  254. type: integer
  255. required:
  256. - tablekey
  257. type: object
  258. common.QueryTraderMenuRsp:
  259. properties:
  260. OperationMenu:
  261. description: 功能菜单
  262. items:
  263. $ref: '#/definitions/models.OperationPrimaryMenu'
  264. type: array
  265. QuoteMenu:
  266. description: 报价牌分类菜单
  267. items:
  268. $ref: '#/definitions/models.QuotePrimaryMenu'
  269. type: array
  270. type: object
  271. cptrade.Cptradepositioncancel:
  272. properties:
  273. accountid:
  274. description: 申请人账户ID
  275. type: integer
  276. applystatus:
  277. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  278. type: integer
  279. applytime:
  280. description: 申请时间
  281. type: string
  282. cancelid:
  283. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  284. type: integer
  285. cancelqty:
  286. description: 注销数量
  287. type: integer
  288. createtime:
  289. description: 创建时间
  290. type: string
  291. creatorid:
  292. description: 创建人ID
  293. type: integer
  294. creatorname:
  295. description: 创建人
  296. type: string
  297. goodscode:
  298. description: 订单商品代码
  299. type: string
  300. goodsid:
  301. description: 商品ID
  302. type: integer
  303. goodsname:
  304. description: 订单商品名称
  305. type: string
  306. goodunit:
  307. description: 报价单位
  308. type: string
  309. handlestatus:
  310. description: 处理状态
  311. type: integer
  312. marketid:
  313. description: 市场ID
  314. type: integer
  315. marketname:
  316. description: 市场名称
  317. type: string
  318. tradedate:
  319. description: 交易日(yyyyMMdd)
  320. type: string
  321. userid:
  322. description: 申请人ID
  323. type: integer
  324. required:
  325. - cancelid
  326. type: object
  327. cptrade.Cptradepresaleapply:
  328. properties:
  329. accountid:
  330. description: 申请人账户ID
  331. type: integer
  332. applyid:
  333. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  334. type: integer
  335. applyremark:
  336. description: 申请备注
  337. type: string
  338. applystatus:
  339. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  340. type: integer
  341. applytime:
  342. description: 申请时间
  343. type: string
  344. attachmenturl:
  345. description: 附件地址
  346. type: string
  347. endtime:
  348. description: 预售结束时间
  349. type: string
  350. goodscode:
  351. description: 商品代码
  352. type: string
  353. goodsid:
  354. description: 商品ID
  355. type: integer
  356. goodsname:
  357. description: 商品名称
  358. type: string
  359. goodunit:
  360. description: 报价单位
  361. type: string
  362. handlestatus:
  363. description: 处理状态
  364. type: integer
  365. marketid:
  366. description: 预售市场ID
  367. type: integer
  368. marketname:
  369. description: 预售市场名称
  370. type: string
  371. presaleqty:
  372. description: 预售数量
  373. type: integer
  374. relatedgoodscode:
  375. description: 关联交易合约代码
  376. type: string
  377. relatedgoodsid:
  378. description: 关联交易合约ID
  379. type: integer
  380. relatedgoodsname:
  381. description: 关联交易合约名称
  382. type: string
  383. starttime:
  384. description: 预售开始时间
  385. type: string
  386. tradedate:
  387. description: 交易日(yyyyMMdd)
  388. type: string
  389. trademode:
  390. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  391. type: integer
  392. userid:
  393. description: 申请人ID
  394. type: integer
  395. required:
  396. - applyid
  397. type: object
  398. cptrade.Cptradeusergoodsdata:
  399. properties:
  400. EnabledQty:
  401. description: 可用量
  402. type: integer
  403. GoodsCode:
  404. description: 订单商品代码
  405. type: string
  406. GoodsName:
  407. description: 订单商品名称
  408. type: string
  409. WRStandardCode:
  410. description: 仓单标准代码
  411. type: string
  412. WRStandardName:
  413. description: 仓单标准名称
  414. type: string
  415. accountid:
  416. description: 账户ID
  417. type: integer
  418. cancelqty:
  419. description: 注销量
  420. type: integer
  421. curpresaleqty:
  422. description: 当前预售量
  423. type: integer
  424. deliveryqty:
  425. description: 交割量
  426. type: integer
  427. freezeamount:
  428. description: 冻结金额
  429. type: number
  430. goodsid:
  431. description: 商品ID
  432. type: integer
  433. goodunit:
  434. description: 报价单位
  435. type: string
  436. hasspotfreeze:
  437. description: 是否有现货冻结 - 0:否 1:有
  438. type: integer
  439. inqty:
  440. description: 转入量(总数量)
  441. type: integer
  442. marketid:
  443. description: 市场ID
  444. type: integer
  445. presaledamount:
  446. description: 已预售总金额
  447. type: integer
  448. presaledqty:
  449. description: 已预售量
  450. type: integer
  451. userid:
  452. description: 用户ID
  453. type: integer
  454. wrstandardid:
  455. description: 仓单标准ID
  456. type: integer
  457. required:
  458. - accountid
  459. - goodsid
  460. type: object
  461. cptrade.QueryCPTradeMyBidRsp:
  462. properties:
  463. accountid:
  464. description: 账户ID[报价币种]
  465. type: integer
  466. goodsid:
  467. description: 商品ID
  468. type: integer
  469. goodunit:
  470. description: 报价单位
  471. type: string
  472. marketid:
  473. description: 市场ID
  474. type: integer
  475. orderid:
  476. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  477. type: integer
  478. orderprice:
  479. description: 委托价格
  480. type: number
  481. orderqty:
  482. description: 委托数量
  483. type: integer
  484. ordertime:
  485. description: 委托时间
  486. type: string
  487. ordertotalprice:
  488. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  489. type: number
  490. ordertotalweight:
  491. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  492. type: integer
  493. totaltotalprice:
  494. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  495. type: number
  496. tradeprice:
  497. description: 成交价格
  498. type: number
  499. tradeqty:
  500. description: 成交数量
  501. type: integer
  502. required:
  503. - accountid
  504. - goodsid
  505. - marketid
  506. - orderid
  507. - orderqty
  508. - ordertime
  509. - tradeprice
  510. - tradeqty
  511. type: object
  512. cptrade.QueryCPTradeOrderDetailRsq:
  513. properties:
  514. accountid:
  515. description: 账户ID[报价币种]
  516. type: integer
  517. buildtype:
  518. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  519. type: integer
  520. buyorsell:
  521. description: 买卖 - 0:买 1:卖
  522. type: integer
  523. cancelorderid:
  524. description: 撤单单号(撤单时填写)
  525. type: integer
  526. cancelqty:
  527. description: 撤单数量
  528. type: integer
  529. clientordertime:
  530. description: 客户端委托时间
  531. type: string
  532. clientticket:
  533. description: 客户端流水号
  534. type: string
  535. clienttype:
  536. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  537. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  538. type: integer
  539. closeexchagechargevalue:
  540. description: 平仓交易所手续费设置值
  541. type: number
  542. closefeealgorithm:
  543. description: 平仓手续费收取方式 1:比率 2:固定
  544. type: integer
  545. closefreezecharge:
  546. description: 平仓冻结手续费(先建后平操作,需要记录)
  547. type: number
  548. closememberchargevalue:
  549. description: 平仓会员手续费设置值
  550. type: number
  551. closeqty:
  552. description: 平仓数量(先建后平操作 需要记录)
  553. type: integer
  554. closetradeqty:
  555. description: 平仓成交数量(先建后平操作,需要记录)
  556. type: integer
  557. closeunfreezecharge:
  558. description: 平仓解冻手续费(先建后平操作,需要记录)
  559. type: number
  560. delistingtype:
  561. description: 摘牌类型 - 1:价格最优 2:点选成交
  562. type: integer
  563. freezecharge:
  564. description: 冻结手续费
  565. type: number
  566. freezemargin:
  567. description: 冻结保证金(冻结交易金额)
  568. type: number
  569. gcaccountid:
  570. description: 账户ID[合约币种]
  571. type: integer
  572. goodsid:
  573. description: 商品ID
  574. type: integer
  575. isconfirmexercise:
  576. description: 是否确认行权- 0:否 1:是
  577. type: integer
  578. ispreexercise:
  579. description: 是否预申报- 0:否 1:是
  580. type: integer
  581. listingselecttype:
  582. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  583. type: integer
  584. marginalgorithm:
  585. description: 保证金收取方式 1:比率 2:固定
  586. type: integer
  587. marginvalue:
  588. description: 即市保证金设置值
  589. type: number
  590. marketid:
  591. description: 市场ID
  592. type: integer
  593. marketmaxsub:
  594. description: 市价最大偏移范围
  595. type: number
  596. memberuserid:
  597. description: 所属会员UserID
  598. type: integer
  599. openexchagechargevalue:
  600. description: 建仓交易所手续费设置值
  601. type: number
  602. openfeealgorithm:
  603. description: 建仓手续费收取方式 1:比率 2:固定
  604. type: integer
  605. openfreezecharge:
  606. description: 开仓冻结手续费(先建后平操作,需要记录)
  607. type: number
  608. openmemberchargevalue:
  609. description: 建仓会员手续费设置值
  610. type: number
  611. openqty:
  612. description: 开仓数量(先建后平操作,需要记录)
  613. type: integer
  614. opentradeqty:
  615. description: 开仓成交数量(先建后平操作,需要记录)
  616. type: integer
  617. openunfreezecharge:
  618. description: 开仓解冻手续费(先建后平操作,需要记录)
  619. type: number
  620. operatetype:
  621. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  622. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  623. 15:管理端协议转让
  624. type: integer
  625. operatorid:
  626. description: 登录账号(LoginID)
  627. type: integer
  628. optiontype:
  629. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  630. type: integer
  631. orderprice:
  632. description: 委托价格
  633. type: number
  634. orderqty:
  635. description: 委托数量
  636. type: integer
  637. ordersrc:
  638. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  639. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  640. type: integer
  641. orderstatus:
  642. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  643. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  644. 16:成交失败违约(荷兰式竞拍专用)
  645. type: integer
  646. ordertime:
  647. description: 委托时间
  648. type: string
  649. preexerciseprice:
  650. description: 预申报价格
  651. type: number
  652. premium:
  653. description: 权利金
  654. type: number
  655. preorderid:
  656. description: 关联预埋单号(止盈止损单时填写)
  657. type: integer
  658. pricemode:
  659. description: '取价方式 - 1:市价 2: 限价'
  660. type: integer
  661. quoteid:
  662. description: 报价单ID
  663. type: integer
  664. relatedid:
  665. description: 关联单号(交割单)
  666. type: integer
  667. retcode:
  668. description: 错误代码
  669. type: integer
  670. sessionid:
  671. description: 会话ID
  672. type: integer
  673. strorderid:
  674. description: 委托单号
  675. type: string
  676. tradedate:
  677. description: 交易日(yyyyMMdd)
  678. type: string
  679. tradeproperty:
  680. description: 交易属性
  681. type: integer
  682. tradeqty:
  683. description: 成交数量
  684. type: integer
  685. unfreezecharge:
  686. description: 解冻手续费
  687. type: number
  688. unfreezemargin:
  689. description: 解冻保证金
  690. type: number
  691. updatetime:
  692. description: 更新时间
  693. type: string
  694. uuid:
  695. description: 发起端唯一id
  696. type: string
  697. validtime:
  698. description: 有效期限
  699. type: string
  700. validtype:
  701. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  702. type: integer
  703. volumetype:
  704. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  705. type: integer
  706. required:
  707. - accountid
  708. - buildtype
  709. - buyorsell
  710. - goodsid
  711. - marketid
  712. - memberuserid
  713. - operatetype
  714. - orderqty
  715. - ordertime
  716. - pricemode
  717. - strorderid
  718. - tradedate
  719. - validtype
  720. type: object
  721. cptrade.QueryMyCPTradeGoodsRsp:
  722. properties:
  723. accountid:
  724. description: 卖方账户ID
  725. type: integer
  726. agreeunit:
  727. description: 合约单位
  728. type: number
  729. applyid:
  730. description: 关联申请ID
  731. type: integer
  732. attachmenturl:
  733. description: 附件地址
  734. type: string
  735. createtime:
  736. description: 创建时间
  737. type: string
  738. currencyid:
  739. description: 报价货币ID
  740. type: integer
  741. decimalplace:
  742. description: 报价小数位
  743. type: integer
  744. endtime:
  745. description: 预售结束时间
  746. type: string
  747. floorprice:
  748. description: 底价[大宗式竞拍]
  749. type: number
  750. goodscode:
  751. description: 商品代码(预售)
  752. type: string
  753. goodsdetail:
  754. description: 详情[大宗]
  755. type: string
  756. goodsid:
  757. description: 商品ID(自增ID SEQ_GOODS)
  758. type: integer
  759. goodsname:
  760. description: 商品名称(预售)
  761. type: string
  762. goodunit:
  763. description: 报价单位
  764. type: string
  765. goodunitid:
  766. description: 报价单位ID
  767. type: integer
  768. marketid:
  769. description: 所属市场ID
  770. type: integer
  771. marketname:
  772. description: 预售市场名称
  773. type: string
  774. presaledamount:
  775. description: 已预售总金额(预售结束时更新)
  776. type: number
  777. presaledqty:
  778. description: 已预售量(预售结束时更新)
  779. type: integer
  780. presalemode:
  781. description: 预售模式 - 1:一口价 2:大宗式竞拍
  782. type: integer
  783. presaleqty:
  784. description: 预售数量
  785. type: integer
  786. refprice:
  787. description: 参考价格[一口价]
  788. type: number
  789. relatedgoodscode:
  790. description: 商品代码(订单)
  791. type: string
  792. relatedgoodsid:
  793. description: 关联交易合约ID
  794. type: integer
  795. relatedgoodsname:
  796. description: 商品名称(订单)
  797. type: string
  798. relatedmarketid:
  799. description: 关联交易合约市场ID
  800. type: integer
  801. sellstatus:
  802. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  803. type: integer
  804. startprice:
  805. description: 起拍价[大宗式竞拍]
  806. type: number
  807. starttime:
  808. description: 预售开始时间
  809. type: string
  810. tradedate:
  811. description: 交易日(yyyyMMdd)
  812. type: string
  813. tradeprice:
  814. description: 成交价[大宗]
  815. type: number
  816. userid:
  817. description: 卖方用户ID
  818. type: integer
  819. required:
  820. - goodscode
  821. - goodsid
  822. - goodsname
  823. - marketid
  824. - relatedgoodscode
  825. - relatedgoodsname
  826. type: object
  827. cptrade.QueryPresaleGoodsExRsp:
  828. properties:
  829. attachmenturl:
  830. description: 附件地址
  831. type: string
  832. createtime:
  833. description: 创建时间
  834. type: string
  835. endtime:
  836. description: 预售结束时间
  837. type: string
  838. floorprice:
  839. description: 底价[大宗式竞拍]
  840. type: number
  841. goodsdetail:
  842. description: 详情[大宗]
  843. type: string
  844. goodsid:
  845. description: 商品ID(预售)
  846. type: integer
  847. goodunit:
  848. description: 报价单位
  849. type: string
  850. marketid:
  851. description: 预售市场ID - 根据预售模式选择市场
  852. type: integer
  853. presaledamount:
  854. description: 已预售总金额(预售结束时更新)
  855. type: number
  856. presaledqty:
  857. description: 已预售量(预售结束时更新)
  858. type: integer
  859. presalemode:
  860. description: 预售模式 - 1:一口价 2:大宗式竞拍
  861. type: integer
  862. presaleqty:
  863. description: 预售数量
  864. type: integer
  865. refprice:
  866. description: 参考价格[一口价]
  867. type: number
  868. relatedgoodsid:
  869. description: 关联交易合约ID
  870. type: integer
  871. relatedmarketid:
  872. description: 关联交易合约市场ID
  873. type: integer
  874. sellstatus:
  875. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  876. type: integer
  877. startprice:
  878. description: 起拍价[大宗式竞拍]
  879. type: number
  880. starttime:
  881. description: 预售开始时间
  882. type: string
  883. tradedate:
  884. description: 交易日(yyyyMMdd)
  885. type: string
  886. tradeprice:
  887. description: 成交价[大宗]
  888. type: number
  889. required:
  890. - goodsid
  891. type: object
  892. delivery.QueryDeliveryRelationRsp:
  893. properties:
  894. begindate:
  895. description: 起始日期(yyyyMMdd)
  896. type: string
  897. buytemplateid:
  898. description: 买履约计划模板ID
  899. type: integer
  900. deliverygoodscode:
  901. description: 品种代码
  902. type: string
  903. deliverygoodsid:
  904. description: 交割商品
  905. type: integer
  906. deliverygoodsname:
  907. description: 品种名称
  908. type: string
  909. deliverymode:
  910. description: 交割方式 - 1:点选式 2:申报式
  911. type: integer
  912. deliverypricerule:
  913. description: 交割价规则- 1:行情价 2:建仓价
  914. type: integer
  915. deliverytype:
  916. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  917. type: integer
  918. enddate:
  919. description: 结束日期(yyyyMMdd)
  920. type: string
  921. enumdicname:
  922. description: 品类单位名称
  923. type: string
  924. goodscode:
  925. description: 商品代码
  926. type: string
  927. goodsid:
  928. description: 交易合约ID
  929. type: integer
  930. goodsname:
  931. description: 商品名称
  932. type: string
  933. marketid:
  934. description: 市场ID
  935. type: integer
  936. mindeliveryqty:
  937. description: 最小交割系数(K)
  938. type: integer
  939. p2deliveryprice:
  940. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  941. type: number
  942. p2deliveryratio:
  943. description: P2合约系数(p)
  944. type: integer
  945. p2goodsid:
  946. description: P2合约ID
  947. type: integer
  948. p2pricemode:
  949. description: P2合约价格方式 - 1:商品价 2:固定值
  950. type: integer
  951. pdeliveryprice:
  952. description: P合约价格(商品价时填写0,固定值时填写固定值)
  953. type: number
  954. pdeliveryratio:
  955. description: P合约系数(n)
  956. type: integer
  957. pgoodscode:
  958. description: p合约代码
  959. type: string
  960. pgoodsid:
  961. description: P合约ID
  962. type: integer
  963. ppricemode:
  964. description: P合约价格方式 - 1:商品价 2:固定值
  965. type: integer
  966. rratio:
  967. description: 兑换系数(R)
  968. type: integer
  969. rratio1:
  970. description: 兑换系数(交易合约)(R1)
  971. type: integer
  972. rratio2:
  973. description: 兑换系数(仓单标准)(R2)
  974. type: integer
  975. selltemplateid:
  976. description: 卖履约计划模板ID
  977. type: integer
  978. wrstandardid:
  979. description: 仓单标准ID
  980. type: integer
  981. xdeliveryratio:
  982. description: 交易合约系数(m)
  983. type: integer
  984. required:
  985. - begindate
  986. - enddate
  987. - goodsid
  988. - mindeliveryqty
  989. - xdeliveryratio
  990. type: object
  991. ermcp.ExposureDetailRsp:
  992. properties:
  993. areauserid:
  994. description: 机构ID
  995. type: integer
  996. changeQty:
  997. description: 套保变动量
  998. type: number
  999. contracttype:
  1000. description: 现货合同类型 - 1:采购 -1:销售
  1001. type: integer
  1002. convertfactor:
  1003. description: 标仓系数
  1004. type: number
  1005. convertratio:
  1006. description: 套保系数
  1007. type: number
  1008. createtime:
  1009. description: 时间
  1010. type: string
  1011. enumdicname:
  1012. description: 现货商品单位名称
  1013. type: string
  1014. logtype:
  1015. description: 类型 - 1:套保计划 2:现货合同
  1016. type: integer
  1017. middlegoodsId:
  1018. description: 套保商品id
  1019. type: integer
  1020. middlegoodscode:
  1021. description: 套保商品代码
  1022. type: string
  1023. middlegoodsname:
  1024. description: 套保商品名称
  1025. type: string
  1026. qty:
  1027. description: 数量
  1028. type: number
  1029. relateNo:
  1030. description: 现货合同/套保计划编号
  1031. type: string
  1032. wrstandardcode:
  1033. description: 现货商品代码
  1034. type: string
  1035. wrstandardid:
  1036. description: 现货商品ID
  1037. type: integer
  1038. wrstandardname:
  1039. description: 现货商品名称
  1040. type: string
  1041. type: object
  1042. ermcp.ExposureHedgePosDetailRsp:
  1043. properties:
  1044. buyorsell:
  1045. description: 买卖方向 0-买 1-卖
  1046. type: integer
  1047. channelbuildtype:
  1048. description: 开平方向 1-建仓 2-平仓
  1049. type: integer
  1050. goodscode:
  1051. description: 商品代码
  1052. type: string
  1053. goodsname:
  1054. description: 商品名称
  1055. type: string
  1056. hedgegoodsid:
  1057. description: 商品id
  1058. type: integer
  1059. tradeqty:
  1060. description: 数量(成交数量)
  1061. type: integer
  1062. tradetime:
  1063. description: 时间(成交时间)
  1064. type: string
  1065. type: object
  1066. ermcp.ExposureHedgePositionRsp:
  1067. properties:
  1068. accountid:
  1069. description: 资金账号[外部母账户]
  1070. type: integer
  1071. curbuyposition:
  1072. description: 期末买头寸
  1073. type: integer
  1074. cursellposition:
  1075. description: 期末卖头寸
  1076. type: integer
  1077. curtdbuyposition:
  1078. description: 期末今日买头寸
  1079. type: integer
  1080. curtdsellposition:
  1081. description: 期末今日卖头寸
  1082. type: integer
  1083. curydbuyposition:
  1084. description: 期末上日买头寸
  1085. type: integer
  1086. curydsellposition:
  1087. description: 期末上日卖头寸
  1088. type: integer
  1089. decreaseqty:
  1090. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  1091. type: integer
  1092. fretdbuyposition:
  1093. description: 冻结今日买头寸
  1094. type: integer
  1095. fretdsellposition:
  1096. description: 冻结今日卖头寸
  1097. type: integer
  1098. freydbuyposition:
  1099. description: 冻结上日买头寸
  1100. type: integer
  1101. freydsellposition:
  1102. description: 冻结上日卖头寸
  1103. type: integer
  1104. goodscode:
  1105. description: 商品代码
  1106. type: string
  1107. goodsid:
  1108. description: 商品id
  1109. type: integer
  1110. goodsname:
  1111. description: 商品名称
  1112. type: string
  1113. hedgeaccountcode:
  1114. description: 对冲账号
  1115. type: string
  1116. hedgegoodsid:
  1117. description: 对冲合约ID
  1118. type: integer
  1119. increaseqty:
  1120. description: 增加数量 = 期末买头寸 - 期初买头寸
  1121. type: integer
  1122. marketid:
  1123. description: 市场ID
  1124. type: integer
  1125. relateduserid:
  1126. description: 关联用户id
  1127. type: integer
  1128. totalcurqty:
  1129. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  1130. type: integer
  1131. totalydqty:
  1132. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  1133. type: integer
  1134. tradedate:
  1135. description: 交易日(yyyyMMdd)
  1136. type: string
  1137. ydbuyposition:
  1138. description: 期初买头寸
  1139. type: integer
  1140. ydsellposition:
  1141. description: 期初卖头寸
  1142. type: integer
  1143. type: object
  1144. ermcp.ExposureSpotDetailRsp:
  1145. properties:
  1146. contracttype:
  1147. description: 合同类型 1-采购 -1-销售
  1148. type: integer
  1149. createtime:
  1150. description: 创建时间
  1151. type: string
  1152. enumdicname:
  1153. description: 现货商品单位名称
  1154. type: string
  1155. logtype:
  1156. description: 记录类型 1-套保 2-现货合同
  1157. type: integer
  1158. qty:
  1159. description: 数量
  1160. type: number
  1161. recordname:
  1162. description: 类型名称
  1163. type: string
  1164. relatedid:
  1165. description: 套保计划ID/现货合同ID
  1166. type: string
  1167. relatedno:
  1168. description: 编号
  1169. type: string
  1170. strtime:
  1171. description: 时间
  1172. type: string
  1173. wrstandardcode:
  1174. description: 现货商品代码
  1175. type: string
  1176. wrstandardname:
  1177. description: 现货商品名称
  1178. type: string
  1179. type: object
  1180. ermcp.ExposureSpotRsp:
  1181. properties:
  1182. areauserid:
  1183. description: 所属机构
  1184. type: integer
  1185. decreaseqty:
  1186. description: 减少数量=-(销售已定价数量+采购计划数量)
  1187. type: number
  1188. increaseqty:
  1189. description: 增加数量=销售计划数量+采购已定价数量
  1190. type: number
  1191. oritoalspotqty:
  1192. description: 昨日数量
  1193. type: number
  1194. totalspotqty:
  1195. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  1196. type: number
  1197. updatetime:
  1198. description: 更新时间
  1199. type: string
  1200. wrstandardcode:
  1201. description: 现货品种代码
  1202. type: string
  1203. wrstandardid:
  1204. description: 现货商品ID
  1205. type: integer
  1206. wrstandardname:
  1207. description: 现货品种
  1208. type: string
  1209. type: object
  1210. ermcp.HisExposureRsp:
  1211. properties:
  1212. data:
  1213. description: 历史敞口
  1214. items:
  1215. $ref: '#/definitions/models.ErmcpHisExposure'
  1216. type: array
  1217. enumdicname:
  1218. description: 单位名称
  1219. type: string
  1220. middlegoodscode:
  1221. description: 套保品种代码
  1222. type: string
  1223. middlegoodsid:
  1224. description: 套保品种ID
  1225. type: integer
  1226. middlegoodsname:
  1227. description: 套保品种名称
  1228. type: string
  1229. type: object
  1230. ermcp.PendingAuditCntRsp:
  1231. properties:
  1232. areastockqty:
  1233. description: '待审核数量: 库存申请'
  1234. type: integer
  1235. businessdjqty:
  1236. description: '待审核数量: 点价'
  1237. type: integer
  1238. businessfpqty:
  1239. description: '待审核数量: 发票'
  1240. type: integer
  1241. businessjsqty:
  1242. description: '待审核数量: 结算'
  1243. type: integer
  1244. businesskxqty:
  1245. description: '待审核数量: 款项'
  1246. type: integer
  1247. hedgeplanqty:
  1248. description: '待审核数量: 套保计划'
  1249. type: integer
  1250. spotcontractqty:
  1251. description: '待审核数量: 现货合同'
  1252. type: integer
  1253. userqty:
  1254. description: '待审核数量: 用户'
  1255. type: integer
  1256. type: object
  1257. ermcp.QryAvalidGPRsp:
  1258. properties:
  1259. goodsgroupid:
  1260. description: 期货品种id
  1261. type: integer
  1262. goodsgroupname:
  1263. description: 期货品种名称
  1264. type: string
  1265. goodunitid:
  1266. description: 品种单位id
  1267. type: integer
  1268. goodunitname:
  1269. description: 品种单位名称
  1270. type: string
  1271. outergroupcode:
  1272. description: 期货品种代码
  1273. type: string
  1274. type: object
  1275. ermcp.QryBusinessDjRsp:
  1276. properties:
  1277. amount:
  1278. description: 点价金额=(点价价格+升贴水)*点价数量
  1279. type: number
  1280. applyid:
  1281. description: 申请人
  1282. type: string
  1283. applyname:
  1284. description: 申请人名称
  1285. type: string
  1286. applystatus:
  1287. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1288. type: integer
  1289. applytime:
  1290. description: 申请时间
  1291. type: string
  1292. attachurl:
  1293. description: 附件
  1294. type: string
  1295. auditid:
  1296. description: 审核人ID
  1297. type: string
  1298. auditname:
  1299. description: 审核人名称
  1300. type: string
  1301. auditremark:
  1302. description: 审核备注
  1303. type: string
  1304. audittime:
  1305. description: 审核时间
  1306. type: string
  1307. buyusername:
  1308. description: 采购方名称
  1309. type: string
  1310. contractno:
  1311. description: 合同编号
  1312. type: string
  1313. contractstatus:
  1314. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1315. type: integer
  1316. contracttype:
  1317. description: 现货合同类型 - 1:采购 -1:销售
  1318. type: integer
  1319. deliverygoodscode:
  1320. description: 现货品种代码
  1321. type: string
  1322. deliverygoodsid:
  1323. description: 现货商品ID
  1324. type: integer
  1325. deliverygoodsname:
  1326. description: 现货品种名称
  1327. type: string
  1328. enumdicname:
  1329. description: 单位名称
  1330. type: string
  1331. goodscode:
  1332. description: 点价合约
  1333. type: string
  1334. goodsname:
  1335. description: 商品名称
  1336. type: string
  1337. operateapplyid:
  1338. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1339. type: string
  1340. operateapplytype:
  1341. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1342. type: integer
  1343. pricedPrice:
  1344. description: 点价价格(非必填)
  1345. type: number
  1346. pricedQty:
  1347. description: 点价数量(非必填)
  1348. type: number
  1349. pricemove:
  1350. description: 升贴水
  1351. type: number
  1352. pricetype:
  1353. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1354. type: integer
  1355. relatedid:
  1356. description: 现货合同ID
  1357. type: string
  1358. sellusername:
  1359. description: 销售方名字
  1360. type: string
  1361. userid:
  1362. description: 用户ID
  1363. type: integer
  1364. wrstandardcode:
  1365. description: 品类代码
  1366. type: string
  1367. wrstandardid:
  1368. description: 品类id
  1369. type: integer
  1370. wrstandardname:
  1371. description: 品类名称
  1372. type: string
  1373. type: object
  1374. ermcp.QryBussinessFpRsp:
  1375. properties:
  1376. applyid:
  1377. description: 申请人
  1378. type: string
  1379. applyname:
  1380. description: 申请人名称
  1381. type: string
  1382. applystatus:
  1383. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1384. type: integer
  1385. applytime:
  1386. description: 申请时间
  1387. type: string
  1388. attachurl:
  1389. description: 附件
  1390. type: string
  1391. auditid:
  1392. description: 审核人ID
  1393. type: string
  1394. auditname:
  1395. description: 审核人名称
  1396. type: string
  1397. auditremark:
  1398. description: 审核备注
  1399. type: string
  1400. audittime:
  1401. description: 审核时间
  1402. type: string
  1403. buyusername:
  1404. description: 采购方名称
  1405. type: string
  1406. contractno:
  1407. description: 合同编号
  1408. type: string
  1409. contractstatus:
  1410. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1411. type: integer
  1412. contracttype:
  1413. description: 现货合同类型 - 1:采购 -1:销售
  1414. type: integer
  1415. deliverygoodscode:
  1416. description: 现货品种代码
  1417. type: string
  1418. deliverygoodsid:
  1419. description: 现货商品ID
  1420. type: integer
  1421. deliverygoodsname:
  1422. description: 现货品种名称
  1423. type: string
  1424. enumdicname:
  1425. description: 单位名称
  1426. type: string
  1427. goodscode:
  1428. description: 点价合约
  1429. type: string
  1430. goodsname:
  1431. description: 商品名称
  1432. type: string
  1433. invoiceamount:
  1434. description: 已开收票金额(销售为开票,采购为收票)
  1435. type: number
  1436. operateapplyid:
  1437. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1438. type: string
  1439. operateapplytype:
  1440. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1441. type: integer
  1442. pricemove:
  1443. description: 升贴水
  1444. type: number
  1445. pricetype:
  1446. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1447. type: integer
  1448. relatedid:
  1449. description: 现货合同ID
  1450. type: string
  1451. sellusername:
  1452. description: 销售方名字
  1453. type: string
  1454. userid:
  1455. description: 用户ID
  1456. type: integer
  1457. wrstandardcode:
  1458. description: 品类代码
  1459. type: string
  1460. wrstandardid:
  1461. description: 品类id
  1462. type: integer
  1463. wrstandardname:
  1464. description: 品类名称
  1465. type: string
  1466. type: object
  1467. ermcp.QryBussinessJsExRsp:
  1468. properties:
  1469. applyid:
  1470. description: 申请人
  1471. type: string
  1472. applyname:
  1473. description: 申请人名称
  1474. type: string
  1475. applystatus:
  1476. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1477. type: integer
  1478. applytime:
  1479. description: 申请时间
  1480. type: string
  1481. attachurl:
  1482. description: 附件
  1483. type: string
  1484. auditid:
  1485. description: 审核人ID
  1486. type: string
  1487. auditname:
  1488. description: 审核人名称
  1489. type: string
  1490. auditremark:
  1491. description: 审核备注
  1492. type: string
  1493. audittime:
  1494. description: 审核时间
  1495. type: string
  1496. buyusername:
  1497. description: 采购方名称
  1498. type: string
  1499. contractno:
  1500. description: 合同编号
  1501. type: string
  1502. contractstatus:
  1503. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1504. type: integer
  1505. contracttype:
  1506. description: 现货合同类型 - 1:采购 -1:销售
  1507. type: integer
  1508. deliverygoodscode:
  1509. description: 现货品种代码
  1510. type: string
  1511. deliverygoodsid:
  1512. description: 现货商品ID
  1513. type: integer
  1514. deliverygoodsname:
  1515. description: 现货品种名称
  1516. type: string
  1517. enumdicname:
  1518. description: 单位名称
  1519. type: string
  1520. goodscode:
  1521. description: 点价合约
  1522. type: string
  1523. goodsname:
  1524. description: 商品名称
  1525. type: string
  1526. operateapplyid:
  1527. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1528. type: string
  1529. operateapplytype:
  1530. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1531. type: integer
  1532. pricemove:
  1533. description: 升贴水
  1534. type: number
  1535. pricetype:
  1536. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1537. type: integer
  1538. reckontype:
  1539. description: 结算类型
  1540. type: string
  1541. reckonvalue:
  1542. description: 值
  1543. type: number
  1544. relatedid:
  1545. description: 现货合同ID
  1546. type: string
  1547. sellusername:
  1548. description: 销售方名字
  1549. type: string
  1550. userid:
  1551. description: 用户ID
  1552. type: integer
  1553. wrstandardcode:
  1554. description: 品类代码
  1555. type: string
  1556. wrstandardid:
  1557. description: 品类id
  1558. type: integer
  1559. wrstandardname:
  1560. description: 品类名称
  1561. type: string
  1562. type: object
  1563. ermcp.QryBussinessJsRsp:
  1564. properties:
  1565. addmargin:
  1566. description: 追加保证金(非必填)
  1567. type: number
  1568. applyid:
  1569. description: 申请人
  1570. type: string
  1571. applyname:
  1572. description: 申请人名称
  1573. type: string
  1574. applystatus:
  1575. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1576. type: integer
  1577. applytime:
  1578. description: 申请时间
  1579. type: string
  1580. attachurl:
  1581. description: 附件
  1582. type: string
  1583. auditid:
  1584. description: 审核人ID
  1585. type: string
  1586. auditname:
  1587. description: 审核人名称
  1588. type: string
  1589. auditremark:
  1590. description: 审核备注
  1591. type: string
  1592. audittime:
  1593. description: 审核时间
  1594. type: string
  1595. buyusername:
  1596. description: 采购方名称
  1597. type: string
  1598. contractno:
  1599. description: 合同编号
  1600. type: string
  1601. contractstatus:
  1602. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1603. type: integer
  1604. contracttype:
  1605. description: 现货合同类型 - 1:采购 -1:销售
  1606. type: integer
  1607. decmargin:
  1608. description: 减少保证金(非必填)
  1609. type: number
  1610. deliverygoodscode:
  1611. description: 现货品种代码
  1612. type: string
  1613. deliverygoodsid:
  1614. description: 现货商品ID
  1615. type: integer
  1616. deliverygoodsname:
  1617. description: 现货品种名称
  1618. type: string
  1619. enumdicname:
  1620. description: 单位名称
  1621. type: string
  1622. goodscode:
  1623. description: 点价合约
  1624. type: string
  1625. goodsname:
  1626. description: 商品名称
  1627. type: string
  1628. operateapplyid:
  1629. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1630. type: string
  1631. operateapplytype:
  1632. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1633. type: integer
  1634. pricemove:
  1635. description: 升贴水
  1636. type: number
  1637. pricetype:
  1638. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1639. type: integer
  1640. reckonadjustamount:
  1641. description: 结算调整金额(非必填)
  1642. type: number
  1643. reckonosamount:
  1644. description: 结算溢短金额(非必填)
  1645. type: number
  1646. reckonotheramount:
  1647. description: 结算其他费用(非必填)
  1648. type: number
  1649. reckonrealqty:
  1650. description: 结算实际数量(非必填)
  1651. type: number
  1652. relatedid:
  1653. description: 现货合同ID
  1654. type: string
  1655. sellusername:
  1656. description: 销售方名字
  1657. type: string
  1658. userid:
  1659. description: 用户ID
  1660. type: integer
  1661. wrstandardcode:
  1662. description: 品类代码
  1663. type: string
  1664. wrstandardid:
  1665. description: 品类id
  1666. type: integer
  1667. wrstandardname:
  1668. description: 品类名称
  1669. type: string
  1670. type: object
  1671. ermcp.QryBussinessKxRsp:
  1672. properties:
  1673. applyid:
  1674. description: 申请人
  1675. type: string
  1676. applyname:
  1677. description: 申请人名称
  1678. type: string
  1679. applystatus:
  1680. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1681. type: integer
  1682. applytime:
  1683. description: 申请时间
  1684. type: string
  1685. attachurl:
  1686. description: 附件
  1687. type: string
  1688. auditid:
  1689. description: 审核人ID
  1690. type: string
  1691. auditname:
  1692. description: 审核人名称
  1693. type: string
  1694. auditremark:
  1695. description: 审核备注
  1696. type: string
  1697. audittime:
  1698. description: 审核时间
  1699. type: string
  1700. buyusername:
  1701. description: 采购方名称
  1702. type: string
  1703. contractno:
  1704. description: 合同编号
  1705. type: string
  1706. contractstatus:
  1707. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1708. type: integer
  1709. contracttype:
  1710. description: 现货合同类型 - 1:采购 -1:销售
  1711. type: integer
  1712. deductamount:
  1713. description: 退款(非必填)
  1714. type: number
  1715. deliverygoodscode:
  1716. description: 现货品种代码
  1717. type: string
  1718. deliverygoodsid:
  1719. description: 现货商品ID
  1720. type: integer
  1721. deliverygoodsname:
  1722. description: 现货品种名称
  1723. type: string
  1724. enumdicname:
  1725. description: 单位名称
  1726. type: string
  1727. goodscode:
  1728. description: 点价合约
  1729. type: string
  1730. goodsname:
  1731. description: 商品名称
  1732. type: string
  1733. kxtype:
  1734. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1735. type: integer
  1736. operateapplyid:
  1737. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1738. type: string
  1739. operateapplytype:
  1740. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1741. type: integer
  1742. payamount:
  1743. description: 收付款(非必填)
  1744. type: number
  1745. pricemove:
  1746. description: 升贴水
  1747. type: number
  1748. pricetype:
  1749. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1750. type: integer
  1751. relatedid:
  1752. description: 现货合同ID
  1753. type: string
  1754. sellusername:
  1755. description: 销售方名字
  1756. type: string
  1757. userid:
  1758. description: 用户ID
  1759. type: integer
  1760. wrstandardcode:
  1761. description: 品类代码
  1762. type: string
  1763. wrstandardid:
  1764. description: 品类id
  1765. type: integer
  1766. wrstandardname:
  1767. description: 品类名称
  1768. type: string
  1769. type: object
  1770. ermcp.QryGGCovertCfgRsp:
  1771. properties:
  1772. convertratio:
  1773. description: 折算系数
  1774. type: number
  1775. destgoodsgroupid:
  1776. description: 目标品种ID
  1777. type: integer
  1778. dstcode:
  1779. description: 目录品种代码
  1780. type: string
  1781. dstexchangecode:
  1782. description: 目标期货交易所
  1783. type: string
  1784. dstname:
  1785. description: 目标品种名称
  1786. type: string
  1787. dstunitid:
  1788. description: 目标品种单位ID
  1789. type: integer
  1790. dstunitidname:
  1791. description: 目标品种单位名称
  1792. type: string
  1793. modifytime:
  1794. description: 修改时间
  1795. type: string
  1796. srccode:
  1797. description: 源品种代码
  1798. type: string
  1799. srcexchangecode:
  1800. description: 源期货交易所
  1801. type: string
  1802. srcgoodsgroupid:
  1803. description: 源品种ID
  1804. type: integer
  1805. srcname:
  1806. description: 源品种名称
  1807. type: string
  1808. srcunitid:
  1809. description: 源品种单位ID
  1810. type: integer
  1811. srcunitidname:
  1812. description: 源品种单位名称
  1813. type: string
  1814. type: object
  1815. ermcp.QryMGChangeLogRsp:
  1816. properties:
  1817. aftervalue:
  1818. description: 变更后
  1819. type: number
  1820. applyid:
  1821. description: 操作人
  1822. type: integer
  1823. applyname:
  1824. description: 操作人名称
  1825. type: string
  1826. applysrc:
  1827. description: 操作来源 - 1:管理端 2:终端
  1828. type: integer
  1829. beforevalue:
  1830. description: 变更前
  1831. type: number
  1832. changelogtype:
  1833. description: 变更流水类型 - 1:套保比率变更
  1834. type: integer
  1835. handlestatus:
  1836. description: 处理状态
  1837. type: integer
  1838. logdatetime:
  1839. description: 流水日期
  1840. type: string
  1841. logid:
  1842. description: 流水ID
  1843. type: integer
  1844. logremark:
  1845. description: 流水备注
  1846. type: string
  1847. middlegoodsid:
  1848. description: 套保品种ID
  1849. type: integer
  1850. tradedate:
  1851. description: 交易日(yyyyMMdd)
  1852. type: string
  1853. updatetime:
  1854. description: 更新时间
  1855. type: string
  1856. type: object
  1857. ermcp.QryMiddleGoodsDetailRsp:
  1858. properties:
  1859. cvList:
  1860. description: 期货品种折算列表
  1861. items:
  1862. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1863. type: array
  1864. mg:
  1865. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1866. description: 套保品种基本信息
  1867. wrcList:
  1868. description: 现货品种列表(现货商品折算配置)
  1869. items:
  1870. $ref: '#/definitions/models.WRSConverTDetail'
  1871. type: array
  1872. type: object
  1873. ermcp.QryMiddleGoodsRsp:
  1874. properties:
  1875. areauserid:
  1876. description: 机构用户ID
  1877. type: integer
  1878. createtime:
  1879. description: 修改时间
  1880. type: string
  1881. enumdicname:
  1882. description: 单位名称
  1883. type: string
  1884. evaluateratio:
  1885. description: 估价系数
  1886. type: number
  1887. goodsgroupid:
  1888. description: 关联期货品种ID
  1889. type: integer
  1890. goodsunitid:
  1891. description: 单位ID
  1892. type: integer
  1893. isvalid:
  1894. description: 状态 0-无效(停用) 1-有效(正常)
  1895. type: integer
  1896. middlegoodscode:
  1897. description: 套保品种代码
  1898. type: string
  1899. middlegoodsid:
  1900. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  1901. type: integer
  1902. middlegoodsname:
  1903. description: 套保品种名称
  1904. type: string
  1905. modifytime:
  1906. description: 修改时间
  1907. type: string
  1908. needarbitrageratio:
  1909. description: 套利比例
  1910. type: number
  1911. needhedgeratio:
  1912. description: 套保比率
  1913. type: number
  1914. qtydecimalplace:
  1915. description: 数量小数位
  1916. type: integer
  1917. relatedgoodsid:
  1918. description: 关联交易商品ID
  1919. type: integer
  1920. relatedgoodstype:
  1921. description: 关联商品类型 - 1:期货合约 2:现货品种
  1922. type: integer
  1923. remark:
  1924. description: 备注
  1925. type: string
  1926. type: object
  1927. ermcp.QryOPLogRsp:
  1928. properties:
  1929. aftervalue:
  1930. description: 变更后
  1931. type: number
  1932. applyid:
  1933. description: 操作人ID
  1934. type: string
  1935. applyname:
  1936. description: 操作人名称
  1937. type: string
  1938. beforevalue:
  1939. description: 变更前
  1940. type: number
  1941. biztype:
  1942. description: 业务类型 - 1:套保计划 2:现货合同
  1943. type: integer
  1944. contracttype:
  1945. description: 现货合同类型 - 1:采购 -1:销售
  1946. type: integer
  1947. logvalue:
  1948. description: 数值
  1949. type: number
  1950. operatelogtype:
  1951. description: 操作流水类型
  1952. type: integer
  1953. operatelogtypedesc:
  1954. description: 操作流水类型名称
  1955. type: string
  1956. relatedid:
  1957. description: 现货合同ID\套保计划
  1958. type: string
  1959. updatetime:
  1960. description: 更新时间
  1961. type: string
  1962. type: object
  1963. ermcp.QryUserInfoRsp:
  1964. properties:
  1965. address:
  1966. description: 通讯地址
  1967. type: string
  1968. attachment1:
  1969. description: 附件1
  1970. type: string
  1971. audittime:
  1972. description: 审核时间
  1973. type: string
  1974. cardbackphotourl:
  1975. description: 证件反面图片地址
  1976. type: string
  1977. cardfrontphotourl:
  1978. description: 证件正面图片地址
  1979. type: string
  1980. cardnum:
  1981. description: 证件号码
  1982. type: string
  1983. cardtype:
  1984. description: 证件类型
  1985. type: integer
  1986. cardtypename:
  1987. description: 证件类型名称
  1988. type: string
  1989. cityid:
  1990. description: 市
  1991. type: integer
  1992. contactname:
  1993. description: 联系人
  1994. type: string
  1995. countryid:
  1996. description: 国家
  1997. type: integer
  1998. createtime:
  1999. description: 创建时间
  2000. type: string
  2001. customername:
  2002. description: 企业名称
  2003. type: string
  2004. districtid:
  2005. description: 区域
  2006. type: integer
  2007. email:
  2008. description: 邮件
  2009. type: string
  2010. legalpersonname:
  2011. description: 法人姓名(企业)
  2012. type: string
  2013. memberuserid:
  2014. description: 所属机构ID
  2015. type: integer
  2016. mobile:
  2017. description: 手机号码
  2018. type: string
  2019. modifytime:
  2020. description: 修改时间
  2021. type: string
  2022. nickname:
  2023. description: 昵称
  2024. type: string
  2025. provinceid:
  2026. description: 省
  2027. type: integer
  2028. remark:
  2029. description: 备注
  2030. type: string
  2031. status:
  2032. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  2033. type: integer
  2034. statusdesc:
  2035. description: 账户状态中文描述
  2036. type: string
  2037. taxpayernum:
  2038. description: 纳税人识别号
  2039. type: string
  2040. telphone:
  2041. description: 联系电话
  2042. type: string
  2043. userid:
  2044. description: 用户ID
  2045. type: integer
  2046. userinfotype:
  2047. description: 客户类型
  2048. type: string
  2049. type: object
  2050. ermcp.QryWarehouseRsp:
  2051. properties:
  2052. address:
  2053. description: 详细地址
  2054. type: string
  2055. areauserid:
  2056. description: 所属机构
  2057. type: integer
  2058. autoid:
  2059. description: 自增ID(仓库ID)
  2060. type: integer
  2061. cityid:
  2062. description: 市
  2063. type: integer
  2064. contactname:
  2065. description: 联系人
  2066. type: string
  2067. contactnum:
  2068. description: 联系电话
  2069. type: string
  2070. countryid:
  2071. description: 国家
  2072. type: integer
  2073. createtime:
  2074. description: 创建时间
  2075. type: string
  2076. districtid:
  2077. description: 区
  2078. type: integer
  2079. hasvideo:
  2080. description: 是否有视频 - 0:无 1:有
  2081. type: integer
  2082. provinceid:
  2083. description: 省
  2084. type: integer
  2085. remark:
  2086. description: 审核备注
  2087. type: string
  2088. videourl:
  2089. description: 视频地址
  2090. type: string
  2091. warehousecode:
  2092. description: 仓库代码
  2093. type: string
  2094. warehousename:
  2095. description: 仓库名称
  2096. type: string
  2097. warehousestatus:
  2098. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  2099. type: integer
  2100. warehousetype:
  2101. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2102. type: integer
  2103. type: object
  2104. ermcp.QueryErmcpTradePositionRsp:
  2105. properties:
  2106. agreeunit:
  2107. description: 合约单位
  2108. type: number
  2109. buyorsell:
  2110. description: 方向 - 0:买 1:卖
  2111. type: integer
  2112. curpositionqty:
  2113. description: 持仓(总仓数量, 期末头寸)
  2114. type: integer
  2115. curtdposition:
  2116. description: 今仓数量(期末今日头寸)
  2117. type: integer
  2118. curtdpositionenabled:
  2119. description: 今仓可用
  2120. type: integer
  2121. decimalplace:
  2122. description: 报价小数位
  2123. type: integer
  2124. enableqty:
  2125. description: 可用(总仓可用)
  2126. type: integer
  2127. exexchangename:
  2128. description: 外部交易所名称
  2129. type: string
  2130. exexehangecode:
  2131. description: 外部交易所代码
  2132. type: string
  2133. exexehangeid:
  2134. description: 外部交易所id
  2135. type: integer
  2136. goodscode:
  2137. description: 商品代码(内部)
  2138. type: string
  2139. goodsid:
  2140. description: 商品ID(自增ID SEQ_GOODS)
  2141. type: integer
  2142. goodsname:
  2143. description: 商品名称
  2144. type: string
  2145. last:
  2146. description: 现价
  2147. type: number
  2148. marketid:
  2149. description: 所属市场ID
  2150. type: integer
  2151. openaverageprice:
  2152. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  2153. type: number
  2154. opencost:
  2155. description: 开仓成本
  2156. type: number
  2157. openpl:
  2158. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  2159. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2160. type: number
  2161. outgoodscode:
  2162. description: 商品代码(外部)
  2163. type: string
  2164. positionaverageprice:
  2165. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  2166. type: number
  2167. positioncost:
  2168. description: 持仓成本
  2169. type: number
  2170. positionpl:
  2171. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  2172. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2173. type: number
  2174. positionplrate:
  2175. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  2176. type: number
  2177. usedmargin:
  2178. description: 占用保证金
  2179. type: number
  2180. type: object
  2181. ermcp.RealtimeExposurePositionRsp:
  2182. properties:
  2183. agreeunit:
  2184. description: 合约单位
  2185. type: string
  2186. areauserid:
  2187. description: 所属机构id
  2188. type: integer
  2189. convertratio:
  2190. description: 期货品种系数(折算系数)
  2191. type: number
  2192. curqty:
  2193. description: 当前持仓
  2194. type: integer
  2195. diffhedgeqty:
  2196. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  2197. type: number
  2198. diffqty:
  2199. description: 持仓变动量=当前持仓-昨日持仓
  2200. type: integer
  2201. goodscode:
  2202. description: 商品代码
  2203. type: string
  2204. goodsid:
  2205. description: 商品id
  2206. type: integer
  2207. goodsname:
  2208. description: 商品名称
  2209. type: string
  2210. middlegoodsid:
  2211. description: 套保商品id
  2212. type: integer
  2213. ydqty:
  2214. description: 昨日持仓
  2215. type: integer
  2216. type: object
  2217. ermcp.RealtimeExposureRsp:
  2218. properties:
  2219. AreaUserID:
  2220. description: 所属机构
  2221. type: integer
  2222. BuyFutureQty:
  2223. description: 买入期货数量
  2224. type: number
  2225. BuyPlanQty:
  2226. description: 采购计划数量
  2227. type: number
  2228. BuyPricedQty:
  2229. description: 采购合同已定价数量
  2230. type: number
  2231. MiddleGoodsCode:
  2232. description: 套保品种代码
  2233. type: string
  2234. MiddleGoodsHedgeRatio:
  2235. description: 套保比例
  2236. type: number
  2237. MiddleGoodsID:
  2238. description: 套保品种
  2239. type: integer
  2240. MiddleGoodsName:
  2241. description: 套保品种名称
  2242. type: string
  2243. NeedHedgeExposoure:
  2244. description: 应套保敞口(套保敞口)
  2245. type: number
  2246. NeedHedgeRatio:
  2247. description: 应套保敞口比例
  2248. type: number
  2249. OriBuyFutureQty:
  2250. description: 期初买入期货数量
  2251. type: number
  2252. OriBuyPlanQty:
  2253. description: 期初采购计划数量
  2254. type: number
  2255. OriBuyPricedQty:
  2256. description: 期初采购合同已定价数量
  2257. type: number
  2258. OriSellFutureQty:
  2259. description: 期初卖出期货数量
  2260. type: number
  2261. OriSellPlanQty:
  2262. description: 期初销售计划数量
  2263. type: number
  2264. OriSellPricedQty:
  2265. description: 期初销售合同已定价数量
  2266. type: number
  2267. OriTotalSpotQty:
  2268. description: 期初现货总量
  2269. type: number
  2270. SellFutureQty:
  2271. description: 卖出期货数量
  2272. type: number
  2273. SellPlanQty:
  2274. description: 销售计划数量
  2275. type: number
  2276. SellPricedQty:
  2277. description: 销售合同已定价数量
  2278. type: number
  2279. TotalExposure:
  2280. description: 总敞口 平安:净敞口
  2281. type: number
  2282. TotalFutureQty:
  2283. description: 期货总量 平安:保值净持仓量
  2284. type: number
  2285. TotalHedgeRatio:
  2286. description: 敞口比例
  2287. type: number
  2288. TotalNeedHedgeQty:
  2289. description: 应套保总量(现货应套保总量)
  2290. type: number
  2291. TotalSpotQty:
  2292. description: 现货总量 平安:采销定价净值
  2293. type: number
  2294. arbitrageqty:
  2295. description: 套利量
  2296. type: number
  2297. diffArbitrageQty:
  2298. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  2299. type: number
  2300. diffExposoureQty:
  2301. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  2302. type: number
  2303. diffFutuQty:
  2304. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  2305. type: number
  2306. diffHedgeQty:
  2307. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  2308. type: number
  2309. diffQty:
  2310. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  2311. type: number
  2312. diffSpotHedgeQty:
  2313. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  2314. type: number
  2315. diffSpotQty:
  2316. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  2317. type: number
  2318. enumdicname:
  2319. description: 单位名称
  2320. type: string
  2321. hedgeqty:
  2322. description: 套保量
  2323. type: number
  2324. needarbitrageqty:
  2325. description: 应套利量
  2326. type: number
  2327. needarbitrageratio:
  2328. description: 套利比例
  2329. type: number
  2330. needhedgeqty:
  2331. description: 应套保量
  2332. type: number
  2333. oriarbitrageqty:
  2334. description: 期初套利量
  2335. type: number
  2336. orihedgeqty:
  2337. description: 期初套保量
  2338. type: number
  2339. orineedhedgeexposoure:
  2340. description: 期初套保敞口
  2341. type: number
  2342. oritotalexposure:
  2343. description: 期初总敞口
  2344. type: number
  2345. oritotalfutureqty:
  2346. description: 期初期货总量
  2347. type: number
  2348. oritotalneedhedgeqty:
  2349. description: 期初现货应套保量
  2350. type: number
  2351. type: object
  2352. erms2.QueryArbitrageStrategyRsp:
  2353. properties:
  2354. applybasis:
  2355. description: 申请基差
  2356. type: number
  2357. asapplyid:
  2358. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2359. type: string
  2360. asname:
  2361. description: 策略名称
  2362. type: string
  2363. asno:
  2364. description: 策略编号
  2365. type: string
  2366. basischangepl:
  2367. description: 基差变动损益[结算更新]
  2368. type: number
  2369. biztype:
  2370. description: 业务类型 - 1:正向套利 -1:反向套利
  2371. type: integer
  2372. closetradedate:
  2373. description: 完结交易日(yyyyMMdd)
  2374. type: string
  2375. curbasis:
  2376. description: 当前基差[结算更新]
  2377. type: number
  2378. deliverygoodsid:
  2379. description: 现货品种ID
  2380. type: integer
  2381. futureavgprice:
  2382. description: 期货建仓均价
  2383. type: number
  2384. futurecloseamount:
  2385. description: 期货平仓金额
  2386. type: number
  2387. futurecloseqty:
  2388. description: 期货平仓数量
  2389. type: number
  2390. futureopenamount:
  2391. description: 期货开仓金额
  2392. type: number
  2393. futureopenqty:
  2394. description: 期货开仓数量
  2395. type: number
  2396. futurepl:
  2397. description: 期货总盈亏[结算更新]
  2398. type: number
  2399. futureqty:
  2400. description: 期货持仓数量
  2401. type: number
  2402. futurequote:
  2403. description: 期货额度
  2404. type: number
  2405. goodsgroupid:
  2406. description: 期货品种ID
  2407. type: integer
  2408. marketid:
  2409. description: 市场ID
  2410. type: integer
  2411. netexposure:
  2412. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2413. type: number
  2414. netexposurepl:
  2415. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2416. type: number
  2417. netexposurerate:
  2418. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2419. type: number
  2420. openbasis:
  2421. description: 建仓基差
  2422. type: number
  2423. pricedspotqty:
  2424. description: 已定价现货数量
  2425. type: number
  2426. pricedspotqtynotax:
  2427. description: 已定价现货不含税数量
  2428. type: number
  2429. remark:
  2430. description: 备注
  2431. type: string
  2432. spotavgprice:
  2433. description: 现货均价
  2434. type: number
  2435. spotbuyamount:
  2436. description: 现货采购金额
  2437. type: number
  2438. spotbuyqty:
  2439. description: 现货采购数量
  2440. type: number
  2441. spotpl:
  2442. description: 现货总盈亏[结算更新]
  2443. type: number
  2444. spotquota:
  2445. description: 现货额度
  2446. type: number
  2447. spotsellamount:
  2448. description: 现货销售金额
  2449. type: number
  2450. spotsellqty:
  2451. description: 现货销售数量
  2452. type: number
  2453. spotusedquota:
  2454. description: 现货占用资金
  2455. type: number
  2456. strategystatus:
  2457. description: 策略状态 - 0:未结束 1:已结束
  2458. type: integer
  2459. totalpl:
  2460. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2461. type: number
  2462. tradedate:
  2463. description: 交易日(yyyyMMdd)
  2464. type: string
  2465. updatetime:
  2466. description: 更新时间
  2467. type: string
  2468. usedquota:
  2469. description: 已占用资金
  2470. type: number
  2471. userid:
  2472. description: 所属机构
  2473. type: integer
  2474. required:
  2475. - asapplyid
  2476. type: object
  2477. erms2.QueryInnerTradeDetailRsp:
  2478. properties:
  2479. accountid:
  2480. description: 账号ID
  2481. type: integer
  2482. agreeunit:
  2483. description: 合约单位
  2484. type: number
  2485. asapplyid:
  2486. description: 策略申请ID
  2487. type: integer
  2488. asname:
  2489. description: 策略名称
  2490. type: string
  2491. asno:
  2492. description: 策略编号
  2493. type: string
  2494. buyorsell:
  2495. description: 方向 - 0:买 1:卖
  2496. type: integer
  2497. channelbuildtype:
  2498. description: 委托单据类型 0:无 1:建仓 2:平仓
  2499. type: integer
  2500. closetype:
  2501. description: 平仓方式 - 0:无 1:平今 2:平昨
  2502. type: integer
  2503. decimalplace:
  2504. description: 报价小数位
  2505. type: integer
  2506. detailtype:
  2507. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2508. type: integer
  2509. exexchangecode:
  2510. description: 外部交易所代码
  2511. type: string
  2512. exexchangename:
  2513. description: 外部交易所名称
  2514. type: string
  2515. goodscode:
  2516. description: 商品代码(合约)
  2517. type: string
  2518. goodsgroupid:
  2519. description: 商品组ID(品种ID)
  2520. type: integer
  2521. goodsgroupname:
  2522. description: 商品组名称(品种)
  2523. type: string
  2524. goodsid:
  2525. description: 商品ID
  2526. type: integer
  2527. goodsname:
  2528. description: 商品名称(合约)
  2529. type: string
  2530. goodunit:
  2531. description: 报价单位
  2532. type: string
  2533. marketid:
  2534. description: 市场ID
  2535. type: integer
  2536. orderid:
  2537. description: 委托单号
  2538. type: string
  2539. outgoodscode:
  2540. description: 商品代码(外部)
  2541. type: string
  2542. relatedouttradeid:
  2543. description: 关联外部成交单ID
  2544. type: string
  2545. remark:
  2546. description: 备注
  2547. type: string
  2548. spotcontractid:
  2549. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2550. type: integer
  2551. spotcontractno:
  2552. description: 现货合同编号
  2553. type: string
  2554. tradeid:
  2555. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2556. type: string
  2557. tradeprice:
  2558. description: 成交价格
  2559. type: number
  2560. tradeqty:
  2561. description: 成交数量
  2562. type: integer
  2563. tradetime:
  2564. description: 成交时间
  2565. type: string
  2566. updatetime:
  2567. description: 更新时间
  2568. type: string
  2569. required:
  2570. - asapplyid
  2571. - buyorsell
  2572. - goodscode
  2573. - goodsgroupid
  2574. - goodsgroupname
  2575. - goodsname
  2576. - tradeid
  2577. type: object
  2578. erms2.QuerySpotContractRsp:
  2579. properties:
  2580. accountid:
  2581. description: 资金账户ID
  2582. type: integer
  2583. areauserid:
  2584. description: 所属机构
  2585. type: integer
  2586. closedate:
  2587. description: 终止日期
  2588. type: string
  2589. closeremark:
  2590. description: 结束备注
  2591. type: string
  2592. closetradedate:
  2593. description: 完结交易日(yyyyMMdd)
  2594. type: string
  2595. closetype:
  2596. description: 终止类型 - 1:违约 2:提前终止
  2597. type: integer
  2598. contractamount:
  2599. description: 合同金额
  2600. type: number
  2601. contractattachment:
  2602. description: 合同附件
  2603. type: string
  2604. contractno:
  2605. description: 现货合同编号
  2606. type: string
  2607. contractqty:
  2608. description: 合同数量(数值) (用于计算)
  2609. type: number
  2610. contractqtychar:
  2611. description: 合同数量\已订价数量 (用于显示)
  2612. type: string
  2613. contractstatus:
  2614. description: 合同状态 - 0:未结束 1:已结束
  2615. type: integer
  2616. contracttype:
  2617. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2618. type: integer
  2619. customeraccountid:
  2620. description: 客户资金账户ID
  2621. type: integer
  2622. customeruserid:
  2623. description: 客户ID
  2624. type: integer
  2625. deliverygoodsdesc:
  2626. description: 品种说明
  2627. type: string
  2628. deliverygoodsid:
  2629. description: 现货品种ID
  2630. type: integer
  2631. handlestatus:
  2632. description: 处理状态
  2633. type: integer
  2634. invoiceatt:
  2635. description: 发票附件
  2636. type: string
  2637. invoicedatetime:
  2638. description: 开收票更新时间
  2639. type: string
  2640. invoiceopentime:
  2641. description: 开票时间
  2642. type: string
  2643. invoiceremark:
  2644. description: 发票备注
  2645. type: string
  2646. invoicestatus:
  2647. description: 开收票状态 - 0:未开票 1:已开票
  2648. type: integer
  2649. lastdate:
  2650. description: 交货时间
  2651. type: string
  2652. marketid:
  2653. description: 市场ID
  2654. type: integer
  2655. paydatetime:
  2656. description: 收付款更新时间
  2657. type: string
  2658. payremark:
  2659. description: 收付款备注
  2660. type: string
  2661. paystatus:
  2662. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  2663. type: integer
  2664. positionqty:
  2665. description: 头寸数量 - 合同数量去小数部分
  2666. type: integer
  2667. producttype:
  2668. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2669. type: integer
  2670. relatedqty:
  2671. description: 已关联数量
  2672. type: number
  2673. relatedstatus:
  2674. description: 关联完结状态 - 0:未结束 1:已结束
  2675. type: integer
  2676. remark:
  2677. description: 备注
  2678. type: string
  2679. signdate:
  2680. description: 签订日期
  2681. type: string
  2682. spotcontractid:
  2683. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  2684. type: string
  2685. spotdatetime:
  2686. description: 收发货更新时间
  2687. type: string
  2688. spotprice:
  2689. description: 价格
  2690. type: number
  2691. spotremark:
  2692. description: 收发货备注
  2693. type: string
  2694. spotstatus:
  2695. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  2696. type: integer
  2697. tradedate:
  2698. description: 交易日(yyyyMMdd)
  2699. type: string
  2700. userid:
  2701. description: 业务员用户ID
  2702. type: integer
  2703. warehouseid:
  2704. description: 仓库ID
  2705. type: integer
  2706. wrfactortypeid:
  2707. description: 仓单要素类型ID
  2708. type: integer
  2709. wrstandardid:
  2710. description: 仓单标准ID(SEQ_WRSTANDARD)
  2711. type: integer
  2712. required:
  2713. - spotcontractid
  2714. type: object
  2715. erms3.AddErms2ASApplyReq:
  2716. properties:
  2717. applybasis:
  2718. description: 申请基差
  2719. type: number
  2720. applystatus:
  2721. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2722. type: integer
  2723. asapplyid:
  2724. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  2725. type: integer
  2726. asname:
  2727. description: 策略名称
  2728. type: string
  2729. asno:
  2730. description: 策略编号
  2731. type: string
  2732. auditid:
  2733. description: 审核人
  2734. type: integer
  2735. auditremark:
  2736. description: 审核备注
  2737. type: string
  2738. audittime:
  2739. description: 审核时间
  2740. type: string
  2741. biztype:
  2742. description: 业务类型 - 1:正向套利 2:反向套利
  2743. type: integer
  2744. createtime:
  2745. description: 创建时间
  2746. type: string
  2747. creatorid:
  2748. description: 创建人
  2749. type: integer
  2750. deliverygoodsid:
  2751. description: 现货品种ID
  2752. type: integer
  2753. futurequote:
  2754. description: 期货额度
  2755. type: number
  2756. goodsgroupid:
  2757. description: 期货品种ID
  2758. type: integer
  2759. marketid:
  2760. description: 市场ID
  2761. type: integer
  2762. remark:
  2763. description: 备注
  2764. type: string
  2765. spotquota:
  2766. description: 现货额度
  2767. type: number
  2768. tradedate:
  2769. description: 交易日(yyyyMMdd)
  2770. type: string
  2771. userid:
  2772. description: 所属机构
  2773. type: integer
  2774. required:
  2775. - asapplyid
  2776. type: object
  2777. erms3.AddErms2SpotTradeApplyReq:
  2778. properties:
  2779. applyjsondetail:
  2780. description: 申请明细(JSON)
  2781. type: string
  2782. applystatus:
  2783. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2784. type: integer
  2785. areauserid:
  2786. description: 所属机构
  2787. type: integer
  2788. auditid:
  2789. description: 审核人
  2790. type: integer
  2791. auditremark:
  2792. description: 审核备注
  2793. type: string
  2794. audittime:
  2795. description: 审核时间
  2796. type: string
  2797. createtime:
  2798. description: 创建时间
  2799. type: string
  2800. creatorid:
  2801. description: 创建人
  2802. type: integer
  2803. deliverygoodsid:
  2804. description: 现货品种ID
  2805. type: integer
  2806. futureaccountid:
  2807. description: 期货资金账户
  2808. type: integer
  2809. goodsgroupid:
  2810. description: 期货品种
  2811. type: integer
  2812. marketid:
  2813. description: 市场ID
  2814. type: integer
  2815. remark:
  2816. description: 备注
  2817. type: string
  2818. spotaccountid:
  2819. description: 现货资金账户
  2820. type: integer
  2821. spottradeid:
  2822. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2823. type: integer
  2824. spottradename:
  2825. description: 业务名称
  2826. type: string
  2827. spottradeno:
  2828. description: 业务编号
  2829. type: string
  2830. tradedate:
  2831. description: 交易日(yyyyMMdd)
  2832. type: string
  2833. wrstandardid:
  2834. description: 仓单标准ID
  2835. type: integer
  2836. required:
  2837. - spottradeid
  2838. type: object
  2839. erms3.AddSpotContractApplyReq:
  2840. properties:
  2841. accountid:
  2842. description: 资金账户ID
  2843. type: integer
  2844. areauserid:
  2845. description: 所属机构
  2846. type: integer
  2847. contractattachment:
  2848. description: 合同附件
  2849. type: string
  2850. contractno:
  2851. description: 现货合同编号
  2852. type: string
  2853. contracttype:
  2854. description: 现货合同类型 - 1:采购 -1:销售
  2855. type: integer
  2856. creatorid:
  2857. description: 申请人
  2858. type: integer
  2859. customeraccountid:
  2860. description: 客户资金账户ID
  2861. type: integer
  2862. customeruserid:
  2863. description: 客户ID
  2864. type: integer
  2865. details:
  2866. description: 明细
  2867. items:
  2868. $ref: '#/definitions/erms3.SoptContractDetail'
  2869. type: array
  2870. orimargin:
  2871. description: 初始保证金
  2872. type: number
  2873. remark:
  2874. description: 备注
  2875. type: string
  2876. signdate:
  2877. description: 签订日期
  2878. type: string
  2879. required:
  2880. - accountid
  2881. - areauserid
  2882. - contractno
  2883. - contracttype
  2884. - customeraccountid
  2885. - customeruserid
  2886. - details
  2887. - orimargin
  2888. - signdate
  2889. type: object
  2890. erms3.AddSpotContractApplyRsp:
  2891. properties:
  2892. contractno:
  2893. description: 现货合同编号
  2894. type: string
  2895. spotcontractid:
  2896. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2897. type: integer
  2898. required:
  2899. - contractno
  2900. type: object
  2901. erms3.AddUserInfoApplyReq:
  2902. properties:
  2903. accountid:
  2904. description: 交易系统帐号Id (加密存储)
  2905. type: integer
  2906. areacode:
  2907. description: 机构代码
  2908. type: string
  2909. areaid:
  2910. description: 机构Id
  2911. type: integer
  2912. attachment1:
  2913. description: 附件1
  2914. type: string
  2915. attachment2:
  2916. description: 附件2
  2917. type: string
  2918. attachment3:
  2919. description: 附件3
  2920. type: string
  2921. attachment4:
  2922. description: 附件4
  2923. type: string
  2924. attachment5:
  2925. description: 附件5
  2926. type: string
  2927. auditedby:
  2928. description: 审核人
  2929. type: string
  2930. auditime:
  2931. description: 审核时间
  2932. type: string
  2933. auditsrc:
  2934. description: 审核来源 - 1:管理端 2:终端
  2935. type: integer
  2936. bankaccount:
  2937. description: 银行帐号 (加密存储)
  2938. type: string
  2939. bankaccountname:
  2940. description: 收款人名称
  2941. type: string
  2942. bankcardbackphotourl:
  2943. description: 银行卡背面照地址
  2944. type: string
  2945. bankcardfrontphotourl:
  2946. description: 银行卡正面照地址
  2947. type: string
  2948. bankid:
  2949. description: 银行编码
  2950. type: string
  2951. bankname:
  2952. description: 银行名称
  2953. type: string
  2954. bankpictureurl:
  2955. description: 银行卡正面地址
  2956. type: string
  2957. biznature:
  2958. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2959. type: integer
  2960. bizscope:
  2961. description: 企业经营范围(企业)
  2962. type: string
  2963. biztype:
  2964. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2965. type: integer
  2966. brokerid:
  2967. description: 经纪人ID(加密存储)
  2968. type: string
  2969. cardaddress:
  2970. description: 证件地址 (加密存储)
  2971. type: string
  2972. cardbackphotourl:
  2973. description: 背面证件照地址
  2974. type: string
  2975. cardfrontphotourl:
  2976. description: 正面证件照地址
  2977. type: string
  2978. cardnum:
  2979. description: 证件号码 (加密存储)
  2980. type: string
  2981. cardtype:
  2982. description: 证件类型
  2983. type: integer
  2984. cityid:
  2985. description: 市
  2986. type: integer
  2987. company:
  2988. description: 公司(个人)
  2989. type: string
  2990. contactcardbackphotourl:
  2991. description: 联系人证件背面图片地址
  2992. type: string
  2993. contactcardfrontphotourl:
  2994. description: 联系人证件正面图片地址
  2995. type: string
  2996. contactname:
  2997. description: 联系人
  2998. type: string
  2999. countryid:
  3000. description: 国家
  3001. type: integer
  3002. createtime:
  3003. description: 开户申请时间
  3004. type: string
  3005. cusbankid:
  3006. description: 签约类型
  3007. type: string
  3008. cusbankname:
  3009. description: 签约类型名称
  3010. type: string
  3011. customername:
  3012. description: 客户名称(企业名称)
  3013. type: string
  3014. districtid:
  3015. description: 地区
  3016. type: integer
  3017. email:
  3018. description: Email地址(加密存储)
  3019. type: string
  3020. halfbodyphotourl:
  3021. description: 半身照地址
  3022. type: string
  3023. headurl:
  3024. description: 头像地址
  3025. type: string
  3026. ipaddress:
  3027. description: IP地址
  3028. type: string
  3029. isvalidate:
  3030. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3031. type: string
  3032. legalcardbackphotourl:
  3033. description: 法人身份证背面照地址
  3034. type: string
  3035. legalcardfrontphotourl:
  3036. description: 法人身份证正面照地址
  3037. type: string
  3038. legalpersonname:
  3039. description: 法人姓名(企业)
  3040. type: string
  3041. logincode:
  3042. description: 登录帐号 (加密存储)
  3043. type: string
  3044. memberareaid:
  3045. description: 所属会员ID
  3046. type: integer
  3047. mobile2:
  3048. description: 手机号码[明文-尚志]
  3049. type: string
  3050. mobilephone:
  3051. description: 手机号码 (加密存储)
  3052. type: string
  3053. modifiedby:
  3054. description: 修改人帐号
  3055. type: integer
  3056. modifiedtime:
  3057. description: 修改时间
  3058. type: string
  3059. nickname:
  3060. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3061. type: string
  3062. openmode:
  3063. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3064. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3065. type: integer
  3066. otherurl:
  3067. description: 其它图片地址[使用分号分隔]
  3068. type: string
  3069. postalcode:
  3070. description: 邮政编码
  3071. type: string
  3072. provinceid:
  3073. description: 省
  3074. type: integer
  3075. proxystatementurl:
  3076. description: 授权委托书
  3077. type: string
  3078. qq:
  3079. description: QQ(加密存储
  3080. type: string
  3081. referral:
  3082. description: 推荐人编码
  3083. type: string
  3084. remark:
  3085. description: 备注
  3086. type: string
  3087. removebeforestatus:
  3088. description: REMOVEBEFORESTATUS
  3089. type: integer
  3090. sex:
  3091. description: 性别 - 0:女 1:男
  3092. type: integer
  3093. signedstatus:
  3094. description: 账户一号签签约状态
  3095. type: integer
  3096. signpdfurl:
  3097. description: 签约pdf文件
  3098. type: string
  3099. subbranch:
  3100. description: 开户支行
  3101. type: string
  3102. taxpayernum:
  3103. description: 纳税人识别号
  3104. type: string
  3105. telphone:
  3106. description: 联系电话(加密存储)
  3107. type: string
  3108. userid:
  3109. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3110. type: integer
  3111. userinfotype:
  3112. description: 用户信息类型 - 1:个人 2:企业
  3113. type: integer
  3114. username:
  3115. description: 用户姓名
  3116. type: string
  3117. userstate:
  3118. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3119. type: integer
  3120. usertype:
  3121. description: 用户类型 - 1:投资者 2:机构
  3122. type: integer
  3123. videourl:
  3124. description: 视频地址
  3125. type: string
  3126. wechat:
  3127. description: 微信号 (加密存储)
  3128. type: string
  3129. required:
  3130. - userid
  3131. type: object
  3132. erms3.CustomerInfo:
  3133. properties:
  3134. accountids:
  3135. description: 资金账户ID列表
  3136. items:
  3137. type: integer
  3138. type: array
  3139. customername:
  3140. description: 名称(企业名称)
  3141. type: string
  3142. mobile:
  3143. description: 手机号码
  3144. type: string
  3145. userid:
  3146. description: 用户ID
  3147. type: integer
  3148. required:
  3149. - userid
  3150. type: object
  3151. erms3.ModifyUserInfoApplyReq:
  3152. properties:
  3153. accountid:
  3154. description: 交易系统帐号Id (加密存储)
  3155. type: integer
  3156. areacode:
  3157. description: 机构代码
  3158. type: string
  3159. areaid:
  3160. description: 机构Id
  3161. type: integer
  3162. attachment1:
  3163. description: 附件1
  3164. type: string
  3165. attachment2:
  3166. description: 附件2
  3167. type: string
  3168. attachment3:
  3169. description: 附件3
  3170. type: string
  3171. attachment4:
  3172. description: 附件4
  3173. type: string
  3174. attachment5:
  3175. description: 附件5
  3176. type: string
  3177. auditedby:
  3178. description: 审核人
  3179. type: string
  3180. auditime:
  3181. description: 审核时间
  3182. type: string
  3183. auditsrc:
  3184. description: 审核来源 - 1:管理端 2:终端
  3185. type: integer
  3186. bankaccount:
  3187. description: 银行帐号 (加密存储)
  3188. type: string
  3189. bankaccountname:
  3190. description: 收款人名称
  3191. type: string
  3192. bankcardbackphotourl:
  3193. description: 银行卡背面照地址
  3194. type: string
  3195. bankcardfrontphotourl:
  3196. description: 银行卡正面照地址
  3197. type: string
  3198. bankid:
  3199. description: 银行编码
  3200. type: string
  3201. bankname:
  3202. description: 银行名称
  3203. type: string
  3204. bankpictureurl:
  3205. description: 银行卡正面地址
  3206. type: string
  3207. biznature:
  3208. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3209. type: integer
  3210. bizscope:
  3211. description: 企业经营范围(企业)
  3212. type: string
  3213. biztype:
  3214. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3215. type: integer
  3216. brokerid:
  3217. description: 经纪人ID(加密存储)
  3218. type: string
  3219. cardaddress:
  3220. description: 证件地址 (加密存储)
  3221. type: string
  3222. cardbackphotourl:
  3223. description: 背面证件照地址
  3224. type: string
  3225. cardfrontphotourl:
  3226. description: 正面证件照地址
  3227. type: string
  3228. cardnum:
  3229. description: 证件号码 (加密存储)
  3230. type: string
  3231. cardtype:
  3232. description: 证件类型
  3233. type: integer
  3234. cityid:
  3235. description: 市
  3236. type: integer
  3237. company:
  3238. description: 公司(个人)
  3239. type: string
  3240. contactcardbackphotourl:
  3241. description: 联系人证件背面图片地址
  3242. type: string
  3243. contactcardfrontphotourl:
  3244. description: 联系人证件正面图片地址
  3245. type: string
  3246. contactname:
  3247. description: 联系人
  3248. type: string
  3249. countryid:
  3250. description: 国家
  3251. type: integer
  3252. createtime:
  3253. description: 开户申请时间
  3254. type: string
  3255. cusbankid:
  3256. description: 签约类型
  3257. type: string
  3258. cusbankname:
  3259. description: 签约类型名称
  3260. type: string
  3261. customername:
  3262. description: 客户名称(企业名称)
  3263. type: string
  3264. districtid:
  3265. description: 地区
  3266. type: integer
  3267. email:
  3268. description: Email地址(加密存储)
  3269. type: string
  3270. halfbodyphotourl:
  3271. description: 半身照地址
  3272. type: string
  3273. headurl:
  3274. description: 头像地址
  3275. type: string
  3276. ipaddress:
  3277. description: IP地址
  3278. type: string
  3279. isvalidate:
  3280. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3281. type: string
  3282. legalcardbackphotourl:
  3283. description: 法人身份证背面照地址
  3284. type: string
  3285. legalcardfrontphotourl:
  3286. description: 法人身份证正面照地址
  3287. type: string
  3288. legalpersonname:
  3289. description: 法人姓名(企业)
  3290. type: string
  3291. logincode:
  3292. description: 登录帐号 (加密存储)
  3293. type: string
  3294. memberareaid:
  3295. description: 所属会员ID
  3296. type: integer
  3297. mobile2:
  3298. description: 手机号码[明文-尚志]
  3299. type: string
  3300. mobilephone:
  3301. description: 手机号码 (加密存储)
  3302. type: string
  3303. modifiedby:
  3304. description: 修改人帐号
  3305. type: integer
  3306. modifiedtime:
  3307. description: 修改时间
  3308. type: string
  3309. nickname:
  3310. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3311. type: string
  3312. openmode:
  3313. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  3314. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3315. type: integer
  3316. otherurl:
  3317. description: 其它图片地址[使用分号分隔]
  3318. type: string
  3319. postalcode:
  3320. description: 邮政编码
  3321. type: string
  3322. provinceid:
  3323. description: 省
  3324. type: integer
  3325. proxystatementurl:
  3326. description: 授权委托书
  3327. type: string
  3328. qq:
  3329. description: QQ(加密存储
  3330. type: string
  3331. referral:
  3332. description: 推荐人编码
  3333. type: string
  3334. remark:
  3335. description: 备注
  3336. type: string
  3337. removebeforestatus:
  3338. description: REMOVEBEFORESTATUS
  3339. type: integer
  3340. sex:
  3341. description: 性别 - 0:女 1:男
  3342. type: integer
  3343. signedstatus:
  3344. description: 账户一号签签约状态
  3345. type: integer
  3346. signpdfurl:
  3347. description: 签约pdf文件
  3348. type: string
  3349. subbranch:
  3350. description: 开户支行
  3351. type: string
  3352. taxpayernum:
  3353. description: 纳税人识别号
  3354. type: string
  3355. telphone:
  3356. description: 联系电话(加密存储)
  3357. type: string
  3358. userid:
  3359. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3360. type: integer
  3361. userinfotype:
  3362. description: 用户信息类型 - 1:个人 2:企业
  3363. type: integer
  3364. username:
  3365. description: 用户姓名
  3366. type: string
  3367. userstate:
  3368. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3369. type: integer
  3370. usertype:
  3371. description: 用户类型 - 1:投资者 2:机构
  3372. type: integer
  3373. videourl:
  3374. description: 视频地址
  3375. type: string
  3376. wechat:
  3377. description: 微信号 (加密存储)
  3378. type: string
  3379. required:
  3380. - userid
  3381. type: object
  3382. erms3.QryAuditContractRsp:
  3383. properties:
  3384. accountid:
  3385. description: 交易员ID
  3386. type: string
  3387. applystatus:
  3388. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3389. type: integer
  3390. curdeliveryqty:
  3391. description: 未交收量
  3392. type: integer
  3393. customername:
  3394. description: 采购方ID
  3395. type: string
  3396. deliverygoodsid:
  3397. description: 品种ID
  3398. type: string
  3399. deliveryqty:
  3400. description: 交收量
  3401. type: integer
  3402. enumdicname:
  3403. description: 单位名称
  3404. type: string
  3405. matchaccountid:
  3406. description: 业务员ID
  3407. type: string
  3408. matchcustomername:
  3409. description: 销售方ID
  3410. type: string
  3411. pricedqty:
  3412. description: 定价量
  3413. type: number
  3414. signdate:
  3415. description: 签订日期
  3416. type: string
  3417. spotcontractid:
  3418. description: 合同ID
  3419. type: string
  3420. totaldqty:
  3421. description: 合同量
  3422. type: number
  3423. unpricedqty:
  3424. description: 未定价量
  3425. type: number
  3426. wrstandardname:
  3427. description: 商品名称
  3428. type: string
  3429. required:
  3430. - matchcustomername
  3431. - spotcontractid
  3432. type: object
  3433. erms3.QryPendingBizRsp:
  3434. properties:
  3435. accountid:
  3436. description: 现货账户
  3437. type: string
  3438. areaname:
  3439. description: 所属部门
  3440. type: string
  3441. bizid:
  3442. description: 业务ID
  3443. type: string
  3444. bizname:
  3445. description: 业务名称
  3446. type: string
  3447. status:
  3448. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3449. type: integer
  3450. type:
  3451. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3452. type: integer
  3453. type: object
  3454. erms3.QueryBusinessInfoRsp:
  3455. properties:
  3456. businessid:
  3457. description: 业务ID.
  3458. type: integer
  3459. buyamount:
  3460. description: 采购额.
  3461. type: number
  3462. buyqty:
  3463. description: 采购量.
  3464. type: string
  3465. futurepl:
  3466. description: 期货盈亏.
  3467. type: number
  3468. futureqty:
  3469. description: 期货敞口.
  3470. type: string
  3471. goodsid:
  3472. description: 商品名称/商品代码.
  3473. type: string
  3474. hedgingqty:
  3475. description: 套保量.
  3476. type: string
  3477. sellamount:
  3478. description: 销售额.
  3479. type: number
  3480. sellqty:
  3481. description: 销售量.
  3482. type: string
  3483. spotmarketvalue:
  3484. description: 现货市值.
  3485. type: number
  3486. spotpl:
  3487. description: 浮动权益.
  3488. type: number
  3489. spotqty:
  3490. description: 现货量.
  3491. type: string
  3492. statu:
  3493. description: 状态,0-未结束 1-已结束.
  3494. type: integer
  3495. totalpl:
  3496. description: 总盈亏.
  3497. type: number
  3498. totalqty:
  3499. description: 总敞口.
  3500. type: string
  3501. type:
  3502. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3503. type: integer
  3504. type: object
  3505. erms3.QuerySpotContractAppleFormRsp:
  3506. properties:
  3507. goodses:
  3508. description: 合约列表
  3509. items:
  3510. $ref: '#/definitions/models.GoodsIDAndName'
  3511. type: array
  3512. oppositeusers:
  3513. description: 对方账号列表
  3514. items:
  3515. $ref: '#/definitions/erms3.CustomerInfo'
  3516. type: array
  3517. ouruser:
  3518. $ref: '#/definitions/erms3.CustomerInfo'
  3519. description: 我方账号
  3520. warehouseinfos:
  3521. description: 仓库信息列表
  3522. items:
  3523. $ref: '#/definitions/models.Warehouseinfo'
  3524. type: array
  3525. wrstandards:
  3526. description: 仓单标准列表
  3527. items:
  3528. $ref: '#/definitions/models.WRStandardInfo'
  3529. type: array
  3530. type: object
  3531. erms3.QuerySpotContractInfoRsp:
  3532. properties:
  3533. accountid:
  3534. description: 表示交易员ID.
  3535. type: integer
  3536. curdeliveryqty:
  3537. description: 表示未交收量.
  3538. type: number
  3539. customername:
  3540. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3541. type: string
  3542. deliverygoodsid:
  3543. description: 表示品种ID.
  3544. type: string
  3545. deliveryqty:
  3546. description: 表示交收量.
  3547. type: number
  3548. matchaccountid:
  3549. description: 表示业务员ID.
  3550. type: integer
  3551. matchcustomername:
  3552. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3553. type: string
  3554. priceqty:
  3555. description: 表示定价量.
  3556. type: number
  3557. relatedbizid:
  3558. description: 表示业务ID.
  3559. type: string
  3560. signdate:
  3561. description: 表示签订日期.
  3562. type: string
  3563. spotcontractid:
  3564. description: 合同ID
  3565. type: string
  3566. status:
  3567. description: 表示状态,0-履约中 1-已完成.
  3568. type: integer
  3569. totalqty:
  3570. description: 表示合同量.
  3571. type: number
  3572. unpricedqty:
  3573. description: 表示未定价量.
  3574. type: number
  3575. wrstandardname:
  3576. description: 表示商品ID.
  3577. type: string
  3578. type: object
  3579. erms3.QueryUserInfoAppliesRsp:
  3580. properties:
  3581. biznature:
  3582. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3583. type: integer
  3584. contactname:
  3585. description: 联系人
  3586. type: string
  3587. createtime:
  3588. description: 开户申请时间
  3589. type: string
  3590. userid:
  3591. description: 用户ID(自增ID)
  3592. type: integer
  3593. userinfotype:
  3594. description: 用户信息类型 - 1:个人 2:企业
  3595. type: integer
  3596. username:
  3597. description: 用户姓名
  3598. type: string
  3599. userstate:
  3600. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3601. type: integer
  3602. required:
  3603. - userid
  3604. type: object
  3605. erms3.QueryUserInfosRsp:
  3606. properties:
  3607. biznature:
  3608. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3609. type: integer
  3610. contactname:
  3611. description: 联系人
  3612. type: string
  3613. customername:
  3614. description: 客户名称(企业名称)
  3615. type: string
  3616. userid:
  3617. description: 用户ID
  3618. type: integer
  3619. userinfotype:
  3620. description: 用户信息类型 - 1:个人 2:企业
  3621. type: integer
  3622. userstatus:
  3623. description: 用户状态 - 1:正常 2:注销
  3624. type: integer
  3625. required:
  3626. - userid
  3627. type: object
  3628. erms3.SoptContractDetail:
  3629. properties:
  3630. deliverygoodsdesc:
  3631. description: 现货品种说明
  3632. type: string
  3633. deliverygoodsid:
  3634. description: 现货品种ID
  3635. type: integer
  3636. deliverygoodsname:
  3637. description: 现货品种名称
  3638. type: string
  3639. pointdesc:
  3640. description: 点价描述
  3641. type: string
  3642. producttype:
  3643. description: 产品类型 1:标准仓单 2:等标 3:非标
  3644. type: integer
  3645. producttypename:
  3646. description: 产品类型名称
  3647. type: string
  3648. spotPointOrderVoList:
  3649. description: 点价列表
  3650. items:
  3651. $ref: '#/definitions/erms3.SpotPointOrder'
  3652. type: array
  3653. spotPriceOrderList:
  3654. description: 定价列表
  3655. items:
  3656. $ref: '#/definitions/erms3.SpotPriceOrder'
  3657. type: array
  3658. unitname:
  3659. description: 单位名称
  3660. type: string
  3661. warehouseid:
  3662. description: 仓库ID
  3663. type: integer
  3664. warehousename:
  3665. description: 仓库名称
  3666. type: string
  3667. wrstandardid:
  3668. description: 交易标的ID
  3669. type: integer
  3670. wrstandardname:
  3671. description: 交易标的名称
  3672. type: string
  3673. required:
  3674. - deliverygoodsid
  3675. - producttype
  3676. - unitname
  3677. - warehouseid
  3678. - wrstandardid
  3679. - wrstandardname
  3680. type: object
  3681. erms3.SpotPointOrder:
  3682. properties:
  3683. basic:
  3684. description: 基差
  3685. type: number
  3686. deliveryenddate:
  3687. description: 交收结束日期
  3688. type: string
  3689. deliverystartdate:
  3690. description: 交收开始日期
  3691. type: string
  3692. enddate:
  3693. description: 点价结束日期
  3694. type: string
  3695. goodsid:
  3696. description: 商品ID
  3697. type: integer
  3698. goodsname:
  3699. description: 商品名称
  3700. type: string
  3701. qty:
  3702. description: 数量
  3703. type: number
  3704. startdate:
  3705. description: 点价开始日期
  3706. type: string
  3707. required:
  3708. - basic
  3709. - goodsid
  3710. - qty
  3711. type: object
  3712. erms3.SpotPriceOrder:
  3713. properties:
  3714. amount:
  3715. description: 金额
  3716. type: number
  3717. deliveryenddate:
  3718. description: 交收结束日期
  3719. type: string
  3720. deliverystartdate:
  3721. description: 交收开始日期
  3722. type: string
  3723. price:
  3724. description: 价格
  3725. type: number
  3726. qty:
  3727. description: 数量
  3728. type: number
  3729. required:
  3730. - amount
  3731. - price
  3732. - qty
  3733. type: object
  3734. hsby.GetHsbyMyCountRsp:
  3735. properties:
  3736. myCouponCount:
  3737. description: 我的优惠卷数量
  3738. type: integer
  3739. myOrderDetailListingCount:
  3740. description: 我的订单求购中数量
  3741. type: integer
  3742. myOrderDetailPreCount:
  3743. description: 我的订单抢购中数量
  3744. type: integer
  3745. myPackageUnReceiveCount:
  3746. description: 我的包裹待收货数量
  3747. type: integer
  3748. myPackageUnSendCount:
  3749. description: 我的包裹待发货数量
  3750. type: integer
  3751. myPayOrderCount:
  3752. description: 我的订单待付款数量
  3753. type: integer
  3754. type: object
  3755. hsby.QueryProvincesAndCitiesRsp:
  3756. properties:
  3757. cities:
  3758. description: 市
  3759. items:
  3760. $ref: '#/definitions/models.Division'
  3761. type: array
  3762. province:
  3763. $ref: '#/definitions/models.Division'
  3764. description: 省
  3765. type: object
  3766. models.Arearole:
  3767. properties:
  3768. createtime:
  3769. description: 创建时间
  3770. type: string
  3771. creatorid:
  3772. description: 创建人ID
  3773. type: integer
  3774. fromuserid:
  3775. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  3776. type: integer
  3777. isreturnscore:
  3778. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  3779. type: integer
  3780. modifierid:
  3781. description: 修改人ID
  3782. type: integer
  3783. modifytime:
  3784. description: 修改时间
  3785. type: string
  3786. orgtype:
  3787. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  3788. type: integer
  3789. outuserid:
  3790. description: 外部账户[场外期权做市商]
  3791. type: string
  3792. parentuserid:
  3793. description: 上级组织机构(组织机构)
  3794. type: integer
  3795. roletype:
  3796. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  3797. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  3798. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  3799. type: integer
  3800. rootuserid:
  3801. description: 顶级组织机构用户ID(组织机构)
  3802. type: integer
  3803. shoppassword:
  3804. description: 商城店铺登陆密码(商城店铺角色使用)
  3805. type: string
  3806. sublevelpath:
  3807. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  3808. type: string
  3809. suborgtype:
  3810. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  3811. type: integer
  3812. tradeaccountid:
  3813. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  3814. type: integer
  3815. transurl:
  3816. description: 物流地址(物流机构)
  3817. type: string
  3818. userid:
  3819. description: 机构用户ID其他做市关系,都设置为 1
  3820. type: integer
  3821. required:
  3822. - roletype
  3823. - userid
  3824. type: object
  3825. models.Clientfixedadconfig:
  3826. properties:
  3827. adsort:
  3828. description: 排序
  3829. type: integer
  3830. adtype:
  3831. description: 广告位类型 - 1:新品抢购(HSBY)
  3832. type: integer
  3833. areauserid:
  3834. description: 所属机构ID
  3835. type: integer
  3836. createdate:
  3837. description: 创建时间
  3838. type: string
  3839. creatorid:
  3840. description: 创建人
  3841. type: integer
  3842. imagepath:
  3843. description: 图片
  3844. type: string
  3845. isshow:
  3846. description: 是否展示 - 0:不展示 1:展示
  3847. type: integer
  3848. modifierid:
  3849. description: 操作人
  3850. type: integer
  3851. recsize:
  3852. description: 推荐尺寸
  3853. type: string
  3854. title:
  3855. description: 标题
  3856. type: string
  3857. updatedate:
  3858. description: 更新时间
  3859. type: string
  3860. urlcontent:
  3861. description: 链接(地址或商品ID)
  3862. type: string
  3863. urltype:
  3864. description: 链接类型 - 1:直接地址 2:商品ID
  3865. type: integer
  3866. required:
  3867. - adsort
  3868. - adtype
  3869. type: object
  3870. models.Division:
  3871. properties:
  3872. autoid:
  3873. description: 自增ID
  3874. type: integer
  3875. divisioncode:
  3876. description: 行政代码
  3877. type: string
  3878. divisionlevel:
  3879. description: 行政级别
  3880. type: string
  3881. divisionname:
  3882. description: 行政名称
  3883. type: string
  3884. modifierid:
  3885. description: 修改人
  3886. type: integer
  3887. modifytime:
  3888. description: 修改时间
  3889. type: string
  3890. parentcode:
  3891. description: 上级行政代码
  3892. type: string
  3893. pathname:
  3894. description: 路径名称
  3895. type: string
  3896. postcode:
  3897. description: 邮政编码
  3898. type: string
  3899. separablename:
  3900. description: 可拆分的全称
  3901. type: string
  3902. shortcode:
  3903. description: 地区简码
  3904. type: string
  3905. required:
  3906. - autoid
  3907. - divisioncode
  3908. type: object
  3909. models.Enumdicitem:
  3910. properties:
  3911. autoid:
  3912. description: 自增ID
  3913. type: integer
  3914. bankmappedvalue:
  3915. description: 银行服务对应值
  3916. type: string
  3917. enumdiccode:
  3918. description: 所属枚举代码
  3919. type: string
  3920. enumdicid:
  3921. description: 所属枚举ID
  3922. type: integer
  3923. enumdicname:
  3924. description: 枚举项名称
  3925. type: string
  3926. enumitemname:
  3927. description: 枚举项值
  3928. type: integer
  3929. enumitemstatus:
  3930. description: 枚举项状态 - 1.启用 2.不启用
  3931. type: integer
  3932. enumitemvalue:
  3933. description: 通用值 - [币种通用简写]
  3934. type: string
  3935. param1:
  3936. description: 参数1[币种:币种小数位]
  3937. type: string
  3938. param2:
  3939. description: 参数1[币种:币种显示单位]
  3940. type: string
  3941. remark:
  3942. description: 备注
  3943. type: string
  3944. required:
  3945. - autoid
  3946. - enumdiccode
  3947. - enumdicid
  3948. - enumitemname
  3949. type: object
  3950. models.Ermcp3AreaSpot:
  3951. properties:
  3952. areauserid:
  3953. description: 所属机构
  3954. type: integer
  3955. convertratio:
  3956. description: 套保系数
  3957. type: number
  3958. decreaseqty:
  3959. description: 减少数量=-(销售已定价数量+采购计划数量)
  3960. type: number
  3961. enumdicname:
  3962. description: 单位名称
  3963. type: string
  3964. increaseqty:
  3965. description: 增加数量=销售计划数量+采购已定价数量
  3966. type: number
  3967. oritoalspotqty:
  3968. description: 昨日数量
  3969. type: number
  3970. totalspotqty:
  3971. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  3972. type: number
  3973. unitid:
  3974. description: 现货商品单位id
  3975. type: integer
  3976. updatetime:
  3977. description: 更新时间
  3978. type: string
  3979. wrstandardcode:
  3980. description: 现货商品代码
  3981. type: string
  3982. wrstandardid:
  3983. description: 现货商品ID(SEQ_WRSTANDARD)
  3984. type: integer
  3985. wrstandardname:
  3986. description: 现货商品名称
  3987. type: string
  3988. type: object
  3989. models.Ermcp3AreaSpotDetail:
  3990. properties:
  3991. contracttype:
  3992. description: 合同类型 1-采购 -1-销售
  3993. type: integer
  3994. createtime:
  3995. description: 创建时间
  3996. type: string
  3997. enumdicname:
  3998. description: 现货商品单位名称
  3999. type: string
  4000. logtype:
  4001. description: 记录类型 1-套保 2-现货合同
  4002. type: integer
  4003. qty:
  4004. description: 数量
  4005. type: number
  4006. recordname:
  4007. description: 类型名称
  4008. type: string
  4009. relatedid:
  4010. description: 套保计划ID/现货合同ID
  4011. type: string
  4012. relatedno:
  4013. description: 编号
  4014. type: string
  4015. strtime:
  4016. description: 时间
  4017. type: string
  4018. wrstandardcode:
  4019. description: 现货商品代码
  4020. type: string
  4021. wrstandardid:
  4022. description: 现货商品ID(SEQ_WRSTANDARD)
  4023. type: integer
  4024. wrstandardname:
  4025. description: 现货商品名称
  4026. type: string
  4027. type: object
  4028. models.Ermcp3AreaSpotPLReport:
  4029. properties:
  4030. accountid:
  4031. description: 期货账户ID (作废, 默认为0)
  4032. type: integer
  4033. accountname:
  4034. description: 机构名称
  4035. type: string
  4036. actualpl:
  4037. description: 现货损益
  4038. type: number
  4039. areauserid:
  4040. description: 所属机构\交易用户ID
  4041. type: integer
  4042. begindate:
  4043. description: 开始交易日
  4044. type: string
  4045. biztype:
  4046. description: 业务类型 - 1:套保 2:套利
  4047. type: integer
  4048. brandname:
  4049. description: 品牌名称
  4050. type: string
  4051. curamount:
  4052. description: 期末额
  4053. type: number
  4054. curaverageprice:
  4055. description: 期末均价
  4056. type: number
  4057. curbuyamount:
  4058. description: 期末采购总额
  4059. type: number
  4060. curbuyqty:
  4061. description: 期末采购总量
  4062. type: number
  4063. curmarketvalue:
  4064. description: 参考市值(期末市值)
  4065. type: number
  4066. curqty:
  4067. description: 期末量
  4068. type: number
  4069. currencyid:
  4070. description: 结算币种ID【原值】
  4071. type: integer
  4072. currencyname:
  4073. description: 币种名称
  4074. type: string
  4075. cursellamount:
  4076. description: 期末销售总额
  4077. type: number
  4078. cursellqty:
  4079. description: 期末销售总量
  4080. type: number
  4081. curspotprice:
  4082. description: 参考市价(最新价)
  4083. type: number
  4084. cycletime:
  4085. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4086. type: string
  4087. cycletype:
  4088. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4089. type: integer
  4090. deliverygoodscode:
  4091. description: 现货品种代码
  4092. type: string
  4093. deliverygoodsid:
  4094. description: 现货品种ID
  4095. type: integer
  4096. deliverygoodsname:
  4097. description: 现货品种名称
  4098. type: string
  4099. enddate:
  4100. description: 结束交易日
  4101. type: string
  4102. enumdicname:
  4103. description: 现货品种单位名称(作废)
  4104. type: string
  4105. floatpl:
  4106. description: 浮动损益
  4107. type: number
  4108. goodsunitid:
  4109. description: 现货品种单位id(作废)
  4110. type: integer
  4111. oriamount:
  4112. description: 期初额
  4113. type: number
  4114. oriaverageprice:
  4115. description: 期初均价
  4116. type: number
  4117. oribuyamount:
  4118. description: 期初采购总额
  4119. type: number
  4120. oribuyqty:
  4121. description: 期初采购总量
  4122. type: number
  4123. oriqty:
  4124. description: 期初量
  4125. type: number
  4126. orisellamount:
  4127. description: 期初销售总额
  4128. type: number
  4129. orisellqty:
  4130. description: 期初销售总量
  4131. type: number
  4132. reckondate:
  4133. description: 日照时期(yyyyMMdd)
  4134. type: string
  4135. spotgoodsbrandid:
  4136. description: 现货品牌ID
  4137. type: integer
  4138. todaybuyamount:
  4139. description: 今日采购额(今采购额)
  4140. type: number
  4141. todaybuyaverageprice:
  4142. description: 今日采购均价
  4143. type: number
  4144. todaybuyqty:
  4145. description: 今日采购量(今采购量)
  4146. type: number
  4147. todayinqty:
  4148. description: 今日入库量(今入库量)
  4149. type: number
  4150. todayoutqty:
  4151. description: 今日出库量(今出库量)
  4152. type: number
  4153. todaysellamount:
  4154. description: 今日销售额(今销售额)
  4155. type: number
  4156. todaysellaverageprice:
  4157. description: 今日销售均价
  4158. type: number
  4159. todaysellqty:
  4160. description: 今日销售量(今销售量)
  4161. type: number
  4162. unitid:
  4163. description: 品类单位id
  4164. type: integer
  4165. unitidname:
  4166. description: 品类单位名称
  4167. type: string
  4168. updatetime:
  4169. description: 更新时间
  4170. type: string
  4171. wrfactortypeid:
  4172. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4173. type: integer
  4174. wrstandardcode:
  4175. description: 现货商品(品类)代码
  4176. type: string
  4177. wrstandardid:
  4178. description: 现货品类ID
  4179. type: integer
  4180. wrstandardname:
  4181. description: 现货商品(品类)名称
  4182. type: string
  4183. type: object
  4184. models.Ermcp3AreaStock:
  4185. properties:
  4186. brandname:
  4187. description: 品牌名称
  4188. type: string
  4189. curstock:
  4190. description: 期末库存量(今日量)
  4191. type: number
  4192. deliverygoodscode:
  4193. description: 现货品种代码
  4194. type: string
  4195. deliverygoodsid:
  4196. description: 现货品种id
  4197. type: integer
  4198. deliverygoodsname:
  4199. description: 现货品种名称
  4200. type: string
  4201. enumdicname:
  4202. description: 单位名称
  4203. type: string
  4204. goodsunitid:
  4205. description: 现货商品单位id
  4206. type: integer
  4207. oristock:
  4208. description: 期初库存量(昨日量)
  4209. type: number
  4210. spotgoodsbrandid:
  4211. description: 现货品牌ID
  4212. type: integer
  4213. todaybuyinqty:
  4214. description: 今日采购入库量
  4215. type: number
  4216. todayproduceinqty:
  4217. description: 今日生产入库量
  4218. type: number
  4219. todayproduceoutqty:
  4220. description: 今日生产出库量
  4221. type: number
  4222. todayselloutqty:
  4223. description: 今日销售出库量
  4224. type: number
  4225. unitid:
  4226. description: 单位id
  4227. type: integer
  4228. updatetime:
  4229. description: 更新时间
  4230. type: string
  4231. userid:
  4232. description: 机构ID
  4233. type: integer
  4234. username:
  4235. description: 机构名称
  4236. type: string
  4237. warehousecode:
  4238. description: 仓库代码
  4239. type: string
  4240. warehouseinfoid:
  4241. description: 仓库ID
  4242. type: string
  4243. warehousename:
  4244. description: 仓库名称
  4245. type: string
  4246. warehousetype:
  4247. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4248. type: integer
  4249. wrstandardcode:
  4250. description: 品类代码
  4251. type: string
  4252. wrstandardid:
  4253. description: 品类ID
  4254. type: string
  4255. wrstandardname:
  4256. description: 品类名称
  4257. type: string
  4258. required:
  4259. - userid
  4260. type: object
  4261. models.Ermcp3AreaStockApply:
  4262. properties:
  4263. applyid:
  4264. description: 申请人
  4265. type: integer
  4266. applyname:
  4267. description: 申请人名称
  4268. type: string
  4269. applyremark:
  4270. description: 申请备注
  4271. type: string
  4272. applysrc:
  4273. description: 申请来源 - 1:管理端 2:终端
  4274. type: integer
  4275. applystatus:
  4276. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  4277. type: integer
  4278. applytime:
  4279. description: 申请时间
  4280. type: string
  4281. auditid:
  4282. description: 审核人
  4283. type: integer
  4284. auditname:
  4285. description: 审核人名称
  4286. type: string
  4287. auditremark:
  4288. description: 审核备注
  4289. type: string
  4290. auditsrc:
  4291. description: 审核来源 - 1:管理端 2:终端
  4292. type: integer
  4293. audittime:
  4294. description: 审核时间
  4295. type: string
  4296. audittradedate:
  4297. description: 审核交易日(yyyyMMdd)
  4298. type: string
  4299. brandname:
  4300. description: 品牌名称
  4301. type: string
  4302. buynickname:
  4303. description: 采购方昵称
  4304. type: string
  4305. buyuserid:
  4306. description: 采购方userid
  4307. type: integer
  4308. buyusername:
  4309. description: 采购方名称
  4310. type: string
  4311. contractno:
  4312. description: 合同编号
  4313. type: string
  4314. contractqty:
  4315. description: 合同量
  4316. type: number
  4317. contracttype:
  4318. description: 现货合同类型 - 1:采购 -1:销售
  4319. type: integer
  4320. deliverygoodscode:
  4321. description: 现货品种代码
  4322. type: string
  4323. deliverygoodsid:
  4324. description: 现货品种id
  4325. type: integer
  4326. deliverygoodsname:
  4327. description: 现货品种名称
  4328. type: string
  4329. detailjson:
  4330. description: 明细数据
  4331. type: string
  4332. enumdicname:
  4333. description: 现货商品单位名称
  4334. type: string
  4335. inoutapplyid:
  4336. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  4337. type: string
  4338. inouttype:
  4339. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4340. type: integer
  4341. pricetype:
  4342. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4343. type: integer
  4344. qty:
  4345. description: 数量
  4346. type: number
  4347. sellnickname:
  4348. description: 销售方昵称
  4349. type: string
  4350. selluserid:
  4351. description: 销售方userid
  4352. type: integer
  4353. sellusername:
  4354. description: 销售方名称
  4355. type: string
  4356. spotcontractid:
  4357. description: 关联现货合同ID
  4358. type: string
  4359. spotgoodsbrandid:
  4360. description: 现货品牌ID
  4361. type: integer
  4362. unitid:
  4363. description: 单位id
  4364. type: integer
  4365. userid:
  4366. description: 机构ID
  4367. type: integer
  4368. warehousecode:
  4369. description: 仓库代码
  4370. type: string
  4371. warehouseinfoid:
  4372. description: 现货仓库ID
  4373. type: string
  4374. warehousename:
  4375. description: 仓库名称
  4376. type: string
  4377. warehousetype:
  4378. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4379. type: integer
  4380. wrstandardcode:
  4381. description: 品类代码
  4382. type: string
  4383. wrstandardid:
  4384. description: 品类ID
  4385. type: integer
  4386. wrstandardname:
  4387. description: 品类名称
  4388. type: string
  4389. type: object
  4390. models.Ermcp3AreaStockApplySum:
  4391. properties:
  4392. brandname:
  4393. description: 品牌名称
  4394. type: string
  4395. inouttype:
  4396. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4397. type: integer
  4398. spotcontractid:
  4399. description: 关联现货合同ID
  4400. type: string
  4401. spotgoodsbrandid:
  4402. description: 品牌id
  4403. type: integer
  4404. totalqty:
  4405. description: 总数量
  4406. type: number
  4407. wrstandardid:
  4408. description: 品类id
  4409. type: integer
  4410. wrstandardname:
  4411. description: 品类名称
  4412. type: string
  4413. type: object
  4414. models.Ermcp3AreaStockReportEx:
  4415. properties:
  4416. begindate:
  4417. description: 开始交易日
  4418. type: string
  4419. brandname:
  4420. description: 品牌名称
  4421. type: string
  4422. curstock:
  4423. description: 期末库存量
  4424. type: number
  4425. cycletime:
  4426. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4427. type: string
  4428. cycletype:
  4429. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4430. type: integer
  4431. deliverygoodscode:
  4432. description: 现货品种代码
  4433. type: string
  4434. deliverygoodsid:
  4435. description: 现货品种id
  4436. type: integer
  4437. deliverygoodsname:
  4438. description: 现货品种名称
  4439. type: string
  4440. diffqty:
  4441. description: 库存变化量 = 期末 - 期初
  4442. type: number
  4443. enddate:
  4444. description: 结束交易日
  4445. type: string
  4446. enumdicname:
  4447. description: 单位名称
  4448. type: string
  4449. goodsunitid:
  4450. description: 现货单位id
  4451. type: integer
  4452. oristock:
  4453. description: 期初库存量
  4454. type: number
  4455. reckondate:
  4456. description: 日照时期(yyyyMMdd)
  4457. type: string
  4458. spotgoodsbrandid:
  4459. description: 现货品牌ID
  4460. type: integer
  4461. todaybuyinqty:
  4462. description: 今采购入库量
  4463. type: number
  4464. todayproduceinqty:
  4465. description: 今内部入库量
  4466. type: number
  4467. todayproduceoutqty:
  4468. description: 今内部出库量
  4469. type: number
  4470. todayselloutqty:
  4471. description: 今销售出库量
  4472. type: number
  4473. unbuyinqty:
  4474. description: 采购未入库量(数据库未找到相关字段?)
  4475. type: number
  4476. unitid:
  4477. description: 品类单位id
  4478. type: integer
  4479. unselloutqty:
  4480. description: 销售未出库量(数据库未找到相关字段?)
  4481. type: number
  4482. updatetime:
  4483. description: 更新时间
  4484. type: string
  4485. userid:
  4486. description: 机构ID
  4487. type: integer
  4488. username:
  4489. description: 机构名称
  4490. type: string
  4491. warehousecode:
  4492. description: 仓库代码
  4493. type: string
  4494. warehouseinfoid:
  4495. description: 仓库ID
  4496. type: string
  4497. warehousename:
  4498. description: 仓库名称
  4499. type: string
  4500. warehousetype:
  4501. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4502. type: integer
  4503. wrstandardcode:
  4504. description: 品类代码
  4505. type: string
  4506. wrstandardid:
  4507. description: 品类ID
  4508. type: integer
  4509. wrstandardname:
  4510. description: 品类名称
  4511. type: string
  4512. type: object
  4513. models.Ermcp3ArealSumPL:
  4514. properties:
  4515. accountname:
  4516. description: 机构名称
  4517. type: string
  4518. areauserid:
  4519. description: 所属机构\交易用户ID
  4520. type: integer
  4521. begindate:
  4522. description: 开始交易日
  4523. type: string
  4524. currencyid:
  4525. description: 结算币种ID
  4526. type: integer
  4527. currencyname:
  4528. description: 币种名称
  4529. type: string
  4530. cycletime:
  4531. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4532. type: string
  4533. cycletype:
  4534. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4535. type: integer
  4536. enddate:
  4537. description: 结束交易日
  4538. type: string
  4539. enumdicname:
  4540. description: 单位名称(套保品种)
  4541. type: string
  4542. futureactualpl:
  4543. description: 期货损益
  4544. type: number
  4545. futurefloatpl:
  4546. description: 期货浮动损益
  4547. type: number
  4548. futurespotratio:
  4549. description: 期现比例 = 期货头寸总量 / 现货头寸总量
  4550. type: number
  4551. goodsunitid:
  4552. description: 套保品种单位id
  4553. type: integer
  4554. hedgeexposurepl:
  4555. description: 套保敞口损益
  4556. type: number
  4557. middlegoodscode:
  4558. description: 套保品种代码
  4559. type: string
  4560. middlegoodsid:
  4561. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  4562. type: integer
  4563. middlegoodsname:
  4564. description: 套保品种名称
  4565. type: string
  4566. reckondate:
  4567. description: 日照时期(yyyyMMdd)
  4568. type: string
  4569. spotactualpl:
  4570. description: 现货损益
  4571. type: number
  4572. spotfloatpl:
  4573. description: 现货浮动损益
  4574. type: number
  4575. sumactualpl:
  4576. description: 实际损益 = (ActualPL + FutureActualPL)
  4577. type: number
  4578. sumpl:
  4579. description: 总敞口损益 | 汇总损益
  4580. type: number
  4581. totalfutureqty:
  4582. description: 期货头寸总量
  4583. type: number
  4584. totalneedhedgeqty:
  4585. description: 应套保总量
  4586. type: number
  4587. totalspotqty:
  4588. description: 现货头寸总量
  4589. type: number
  4590. updatetime:
  4591. description: 更新时间
  4592. type: string
  4593. type: object
  4594. models.Ermcp3Brand:
  4595. properties:
  4596. areauserid:
  4597. description: 用户id
  4598. type: integer
  4599. brandid:
  4600. description: 品牌id
  4601. type: integer
  4602. brandname:
  4603. description: 品牌名称
  4604. type: string
  4605. deliverygoodsid:
  4606. description: 品种ID
  4607. type: integer
  4608. isvalid:
  4609. description: 是否有效
  4610. type: integer
  4611. type: object
  4612. models.Ermcp3Contract:
  4613. properties:
  4614. accountid:
  4615. description: 期货账户id
  4616. type: string
  4617. amount:
  4618. description: 金额 [1:一口价、3:暂定价]
  4619. type: number
  4620. attachment:
  4621. description: 附件
  4622. type: string
  4623. auditremark:
  4624. description: 审核意见
  4625. type: string
  4626. audittime:
  4627. description: 审核时间
  4628. type: string
  4629. biztype:
  4630. description: 业务类型 1-套保 2-套利
  4631. type: integer
  4632. brandname:
  4633. description: 品牌名称
  4634. type: string
  4635. buynickname:
  4636. description: 销售方昵称
  4637. type: string
  4638. buyuserid:
  4639. description: 采购方ID
  4640. type: integer
  4641. buyusername:
  4642. description: 采购方名称
  4643. type: string
  4644. contracctstatus:
  4645. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4646. type: integer
  4647. contractmargin:
  4648. description: 合同保证金
  4649. type: number
  4650. contractno:
  4651. description: 现货合同编号
  4652. type: string
  4653. contracttype:
  4654. description: 现货合同类型 - 1:采购 -1:销售
  4655. type: integer
  4656. convertfactor:
  4657. description: 标仓系数(品类)
  4658. type: number
  4659. createtime:
  4660. description: 创建时间
  4661. type: string
  4662. currencyid:
  4663. description: 币种id
  4664. type: integer
  4665. currencyname:
  4666. description: 币种名称
  4667. type: string
  4668. deliveryenddate:
  4669. description: 交收期(结束)
  4670. type: string
  4671. deliverygoodscode:
  4672. description: 现货品种代码
  4673. type: string
  4674. deliverygoodsid:
  4675. description: 现货品种ID
  4676. type: integer
  4677. deliverygoodsname:
  4678. description: 现货品种名称
  4679. type: string
  4680. deliverystartdate:
  4681. description: 交收期(开始)
  4682. type: string
  4683. enddate:
  4684. description: 点价结束日期 [2:点价 3:暂定价]
  4685. type: string
  4686. enumdicname:
  4687. description: 单位名称
  4688. type: string
  4689. goodscode:
  4690. description: 点价合约代码
  4691. type: string
  4692. goodsid:
  4693. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  4694. type: integer
  4695. goodsname:
  4696. description: 点价商品名称
  4697. type: string
  4698. margin:
  4699. description: 当前保证金
  4700. type: number
  4701. meruserid:
  4702. description: 跟单员id
  4703. type: integer
  4704. meruserlogincode:
  4705. description: 跟单员登录代码
  4706. type: string
  4707. merusername:
  4708. description: 跟单员名称
  4709. type: string
  4710. pointdesc:
  4711. description: 点价备注
  4712. type: string
  4713. price:
  4714. description: 价格\暂定价 [1:一口价、3:暂定价]
  4715. type: number
  4716. pricemove:
  4717. description: 升贴水 [2:点价 3:暂定价]
  4718. type: number
  4719. pricetype:
  4720. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4721. type: integer
  4722. producttype:
  4723. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4724. type: integer
  4725. qty:
  4726. description: 数量
  4727. type: number
  4728. remark:
  4729. description: 备注
  4730. type: string
  4731. saleuserid:
  4732. description: 业务员id
  4733. type: integer
  4734. saleuserlogincode:
  4735. description: 业务员登录代码
  4736. type: string
  4737. saleusername:
  4738. description: 业务员名称
  4739. type: string
  4740. sellnickname:
  4741. description: 采购方昵称
  4742. type: string
  4743. selluserid:
  4744. description: 销售方ID
  4745. type: integer
  4746. sellusername:
  4747. description: 销售方名称
  4748. type: string
  4749. spotcontractid:
  4750. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  4751. type: string
  4752. spotgoodsbrandid:
  4753. description: 现货品牌ID(DGFactoryItem表的ID)
  4754. type: integer
  4755. spotgoodsdesc:
  4756. description: 商品型号
  4757. type: string
  4758. startdate:
  4759. description: 点价开始日期 [2:点价 3:暂定价]
  4760. type: string
  4761. subjectid:
  4762. description: 交易主体ID
  4763. type: integer
  4764. subjectname:
  4765. description: 交易主体名称
  4766. type: string
  4767. tradeuserid:
  4768. description: 交易员id
  4769. type: integer
  4770. tradeuserlogincode:
  4771. description: 交易员登录代码
  4772. type: string
  4773. tradeusername:
  4774. description: 交易员名称
  4775. type: string
  4776. unitid:
  4777. description: 单位id(取品类上的单位id)
  4778. type: integer
  4779. updatetime:
  4780. description: 更新时间
  4781. type: string
  4782. userid:
  4783. description: 所属机构ID
  4784. type: integer
  4785. vatrate:
  4786. description: 增值税率
  4787. type: number
  4788. wrstandardcode:
  4789. description: 品类代码
  4790. type: string
  4791. wrstandardid:
  4792. description: 品类ID
  4793. type: integer
  4794. wrstandardname:
  4795. description: 品类名称
  4796. type: string
  4797. type: object
  4798. models.Ermcp3ExposureContractDetail:
  4799. properties:
  4800. biztype:
  4801. description: 业务类型 1-套保 2-套利
  4802. type: integer
  4803. brandname:
  4804. description: 品牌名称
  4805. type: string
  4806. buyuserid:
  4807. description: 采购方id
  4808. type: integer
  4809. buyusername:
  4810. description: 采购方名称
  4811. type: string
  4812. contractno:
  4813. description: 合同编号
  4814. type: string
  4815. contracttype:
  4816. description: 现货合同类型 - 1:采购 -1:销售
  4817. type: integer
  4818. convertfactor:
  4819. description: 标仓系数
  4820. type: number
  4821. convertratio:
  4822. description: 折算系数(套保品种)
  4823. type: number
  4824. curqty:
  4825. description: 今定价量
  4826. type: number
  4827. deliverygoodscode:
  4828. description: 现货品种代码
  4829. type: string
  4830. deliverygoodsid:
  4831. description: 现货品种id
  4832. type: integer
  4833. deliverygoodsname:
  4834. description: 现货品种名称
  4835. type: string
  4836. diffhedgeqty:
  4837. description: 套保变动量
  4838. type: number
  4839. diffneedhedgeqty:
  4840. description: 应套保变动量
  4841. type: number
  4842. diffqty:
  4843. description: 套保品种今变动量
  4844. type: number
  4845. enumdicname:
  4846. description: 单位名称
  4847. type: string
  4848. mgunitname:
  4849. description: 套保品种单位名称
  4850. type: string
  4851. middlegoodscode:
  4852. description: 套保品种代码
  4853. type: string
  4854. middlegoodsid:
  4855. description: 套保品种id
  4856. type: integer
  4857. middlegoodsname:
  4858. description: 套保品种名称
  4859. type: string
  4860. needarbitrageratio:
  4861. description: 应套利比例
  4862. type: number
  4863. needhedgeratio:
  4864. description: 应套保比例
  4865. type: number
  4866. pricedqty:
  4867. description: 已定价量
  4868. type: number
  4869. qty:
  4870. description: 合同量
  4871. type: number
  4872. selluserid:
  4873. description: 销售方id
  4874. type: integer
  4875. sellusername:
  4876. description: 销售方名称
  4877. type: string
  4878. spotcontractid:
  4879. description: 合同id
  4880. type: string
  4881. todaypricedqty:
  4882. description: 今定价量
  4883. type: number
  4884. tradedate:
  4885. description: 交易日
  4886. type: string
  4887. unitid:
  4888. description: 品类单位id
  4889. type: integer
  4890. userid:
  4891. description: 机构id
  4892. type: integer
  4893. username:
  4894. description: 交易用户
  4895. type: string
  4896. wrstandardcode:
  4897. description: 现货商品代码
  4898. type: string
  4899. wrstandardid:
  4900. description: 现货商品id
  4901. type: integer
  4902. wrstandardname:
  4903. description: 现货商品名称
  4904. type: string
  4905. type: object
  4906. models.Ermcp3ExposureDetail:
  4907. properties:
  4908. areauserid:
  4909. description: 机构ID
  4910. type: integer
  4911. changeQty:
  4912. description: 套保变动量
  4913. type: number
  4914. contracttype:
  4915. description: 现货合同类型 - 1:采购 -1:销售
  4916. type: integer
  4917. convertfactor:
  4918. description: 标仓系数
  4919. type: number
  4920. convertratio:
  4921. description: 折算系数
  4922. type: number
  4923. createtime:
  4924. description: 时间
  4925. type: string
  4926. enumdicname:
  4927. description: 现货商品单位名称
  4928. type: string
  4929. logtype:
  4930. description: 类型 - 1:套保计划 2:现货合同
  4931. type: integer
  4932. mgunitid:
  4933. description: 套保品种单位id
  4934. type: integer
  4935. mgunitidname:
  4936. description: 套保品种单位名称
  4937. type: string
  4938. middlegoodsId:
  4939. description: 套保商品id
  4940. type: integer
  4941. middlegoodscode:
  4942. description: 套保商品代码
  4943. type: string
  4944. middlegoodsname:
  4945. description: 套保商品名称
  4946. type: string
  4947. qty:
  4948. description: 数量
  4949. type: number
  4950. relateNo:
  4951. description: 现货合同/套保计划编号
  4952. type: string
  4953. unitid:
  4954. description: 现货商品单位id
  4955. type: integer
  4956. wrstandardcode:
  4957. description: 现货商品代码
  4958. type: string
  4959. wrstandardid:
  4960. description: 现货商品ID(SEQ_WRSTANDARD)
  4961. type: integer
  4962. wrstandardname:
  4963. description: 现货商品名称
  4964. type: string
  4965. type: object
  4966. models.Ermcp3ExposureFutuDetail:
  4967. properties:
  4968. accountid:
  4969. description: 交易账户id
  4970. type: integer
  4971. accountname:
  4972. description: 交易账户
  4973. type: string
  4974. begindate:
  4975. description: 开始交易日
  4976. type: string
  4977. buyorsell:
  4978. description: 方向 0-买 1-卖
  4979. type: integer
  4980. diffmgqty:
  4981. description: 套保品种今变化量
  4982. type: number
  4983. diffneedqty:
  4984. description: 应套保总量变化量
  4985. type: number
  4986. difftradeqty:
  4987. description: 交易品种今变化量
  4988. type: number
  4989. enddate:
  4990. description: 结束交易日
  4991. type: string
  4992. enumdicname:
  4993. description: 单位名称
  4994. type: string
  4995. goodscode:
  4996. description: 商品代码
  4997. type: string
  4998. goodsid:
  4999. description: 商品id
  5000. type: integer
  5001. goodsname:
  5002. description: 商品名称
  5003. type: string
  5004. holdqty:
  5005. description: 期末持仓量
  5006. type: number
  5007. middlegoodscode:
  5008. description: 套保商品代码
  5009. type: string
  5010. middlegoodsid:
  5011. description: 套保商品id
  5012. type: integer
  5013. middlegoodsname:
  5014. description: 套保商品名称
  5015. type: string
  5016. oriholdqty:
  5017. description: 期初持仓量
  5018. type: number
  5019. todaycloseqty:
  5020. description: 今平仓量
  5021. type: number
  5022. todayopenqty:
  5023. description: 今开仓量
  5024. type: number
  5025. tradedate:
  5026. description: 交易日
  5027. type: string
  5028. username:
  5029. description: 用户名称(交易用户)
  5030. type: string
  5031. type: object
  5032. models.Ermcp3ExposureHedgeplanDetail:
  5033. properties:
  5034. biztype:
  5035. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  5036. type: integer
  5037. changqty:
  5038. description: 应套保总量变化量
  5039. type: number
  5040. contracttype:
  5041. description: 计划类型 - 1:采购 -1:销售
  5042. type: integer
  5043. convertratio:
  5044. description: 折算系数(套保品种)
  5045. type: number
  5046. deliverygoodscode:
  5047. description: 现货商品代码
  5048. type: string
  5049. deliverygoodsid:
  5050. description: 现货商品id
  5051. type: integer
  5052. deliverygoodsname:
  5053. description: 现货商吕名称
  5054. type: string
  5055. dgunitid:
  5056. description: 现货商品单位id
  5057. type: integer
  5058. dgunitidname:
  5059. description: 单位名称(现货商品)
  5060. type: string
  5061. diffqty:
  5062. description: 套保品种今变动量
  5063. type: number
  5064. enumdicname:
  5065. description: 单位名称(品类)
  5066. type: string
  5067. hedgeplanid:
  5068. description: 套保计划id
  5069. type: string
  5070. hedgeplanno:
  5071. description: 套保计划名称
  5072. type: string
  5073. hedgeplanstatus:
  5074. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5075. type: integer
  5076. mgunitidname:
  5077. description: 单位名称(套保商品)
  5078. type: string
  5079. middlegoodscode:
  5080. description: 套保品种代码
  5081. type: string
  5082. middlegoodsid:
  5083. description: 套保品种id
  5084. type: integer
  5085. middlegoodsname:
  5086. description: 套保品种名称
  5087. type: string
  5088. needarbitrageratio:
  5089. description: 应套利比例
  5090. type: number
  5091. needhedgeratio:
  5092. description: 应套保比例
  5093. type: number
  5094. pricedqty:
  5095. description: 已定价量
  5096. type: number
  5097. qty:
  5098. description: 合同量
  5099. type: number
  5100. tradedate:
  5101. description: 交易日(登记日)
  5102. type: string
  5103. unitid:
  5104. description: 品类单位id
  5105. type: integer
  5106. userid:
  5107. description: 机构id
  5108. type: integer
  5109. wrstandardcode:
  5110. description: 品类代码
  5111. type: string
  5112. wrstandardid:
  5113. description: 品类id
  5114. type: integer
  5115. wrstandardname:
  5116. description: 品类名称
  5117. type: string
  5118. type: object
  5119. models.Ermcp3ExposureParamChLog:
  5120. properties:
  5121. accountid:
  5122. description: 期货账户ID (作废, 默认为0)
  5123. type: integer
  5124. aftervalue:
  5125. description: 应套保\套利量变更后(调整后应套保总量)
  5126. type: number
  5127. areauserid:
  5128. description: 所属机构\交易用户ID
  5129. type: integer
  5130. beforevalue:
  5131. description: 应套保\套利量变更前(调整前应套保总量)
  5132. type: number
  5133. begindate:
  5134. description: 开始交易日
  5135. type: string
  5136. changelogtype:
  5137. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5138. type: integer
  5139. curvalue:
  5140. description: 当前套保\套利量(套保总量|套利总量)
  5141. type: number
  5142. diffvalue:
  5143. description: 应套保总量变化量
  5144. type: number
  5145. enddate:
  5146. description: 结束交易日
  5147. type: string
  5148. logdatetime:
  5149. description: 流水日期
  5150. type: string
  5151. logid:
  5152. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  5153. type: string
  5154. middlegoodscode:
  5155. description: 套保品种代码
  5156. type: string
  5157. middlegoodsid:
  5158. description: 套保品种
  5159. type: integer
  5160. middlegoodsname:
  5161. description: 套保品种名称
  5162. type: string
  5163. paramaftervalue:
  5164. description: 参数变更后(调整后参数值)
  5165. type: number
  5166. parambeforevalue:
  5167. description: 参数变更前(调整前参数值)
  5168. type: number
  5169. tradedate:
  5170. description: 交易日(yyyyMMdd)
  5171. type: string
  5172. type: object
  5173. models.Ermcp3ExpourseReport:
  5174. properties:
  5175. accountid:
  5176. description: 期货账户ID (作废, 默认为0)
  5177. type: integer
  5178. accountname:
  5179. description: 机构名称
  5180. type: string
  5181. arbitrageqty:
  5182. description: 套利量
  5183. type: number
  5184. areauserid:
  5185. description: 所属机构\交易用户ID
  5186. type: integer
  5187. begindate:
  5188. description: 开始交易日
  5189. type: string
  5190. buyfutureqty:
  5191. description: 买入期货数量
  5192. type: number
  5193. buyplanqty:
  5194. description: 采购计划数量
  5195. type: number
  5196. buypricedqty:
  5197. description: 采购合同已定价数量
  5198. type: number
  5199. cycletime:
  5200. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5201. type: string
  5202. cycletype:
  5203. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5204. type: integer
  5205. diffexposure:
  5206. description: 变动量(套保敞口)
  5207. type: number
  5208. difffutuqty:
  5209. description: 变动量(期货)
  5210. type: number
  5211. diffhedgeqty:
  5212. description: 变动量(现货应套保总量)
  5213. type: number
  5214. diffmgqtya:
  5215. description: 套保变动量
  5216. type: number
  5217. diffmgqtyb:
  5218. description: 套利变动量
  5219. type: number
  5220. diffqty:
  5221. description: 变动量(总敞口)
  5222. type: number
  5223. diffspotqty:
  5224. description: 变动量(现货)
  5225. type: number
  5226. enddate:
  5227. description: 结束交易日
  5228. type: string
  5229. enumdicname:
  5230. description: 单位名称
  5231. type: string
  5232. hedgeqty:
  5233. description: 套保量
  5234. type: number
  5235. mgneedhedgeratio:
  5236. description: 套保比例(套保品的)
  5237. type: number
  5238. middlegoodsid:
  5239. description: 套保品种ID
  5240. type: integer
  5241. middlegoodsname:
  5242. description: 套保商品名称
  5243. type: string
  5244. middlgoodscode:
  5245. description: 套保商品代码
  5246. type: string
  5247. needarbitrageqty:
  5248. description: 应套利量
  5249. type: number
  5250. needarbitrageratio:
  5251. description: 套利比例(套保品的)
  5252. type: number
  5253. needhedgeexposoure:
  5254. description: 应套保敞口(套保敞口)
  5255. type: number
  5256. needhedgeqty:
  5257. description: 应套保量
  5258. type: number
  5259. needhedgeratio:
  5260. description: 应套保敞口比例
  5261. type: number
  5262. oriarbitrageqty:
  5263. description: 期初套利量
  5264. type: number
  5265. oribuyfutureqty:
  5266. description: 期初买入期货数量
  5267. type: number
  5268. oribuyplanqty:
  5269. description: 期初采购计划数量
  5270. type: number
  5271. oribuypricedqty:
  5272. description: 期初采购合同已定价数量
  5273. type: number
  5274. orihedgeqty:
  5275. description: 期初套保量
  5276. type: number
  5277. orineedarbitrageqty:
  5278. description: 期初应套利量
  5279. type: number
  5280. orineedhedgeexposoure:
  5281. description: 期初应套保敞口
  5282. type: number
  5283. orineedhedgeqty:
  5284. description: 期初应套保量
  5285. type: number
  5286. orisellfutureqty:
  5287. description: 期初卖出期货数量
  5288. type: number
  5289. orisellplanqty:
  5290. description: 期初销售计划数量
  5291. type: number
  5292. orisellpricedqty:
  5293. description: 期初销售合同已定价数量
  5294. type: number
  5295. oritotalexposure:
  5296. description: 期初实时总敞口
  5297. type: number
  5298. oritotalfutureqty:
  5299. description: 期初期货头寸总量
  5300. type: number
  5301. oritotalneedhedgeqty:
  5302. description: 期初应套保总量
  5303. type: number
  5304. oritotalspotqty:
  5305. description: 期初现货头寸总量
  5306. type: number
  5307. reckondate:
  5308. description: 日照时期(yyyyMMdd)
  5309. type: string
  5310. sellfutureqty:
  5311. description: 卖出期货数量
  5312. type: number
  5313. sellplanqty:
  5314. description: 销售计划数量
  5315. type: number
  5316. sellpricedqty:
  5317. description: 销售合同已定价数量
  5318. type: number
  5319. totalexposure:
  5320. description: 实时总敞口(总敞口)
  5321. type: number
  5322. totalfutureqty:
  5323. description: 期货头寸总量(期货总量)
  5324. type: number
  5325. totalhedgeratio:
  5326. description: 敞口比例
  5327. type: number
  5328. totalneedhedgeqty:
  5329. description: 应套保总量(现货应套保总量)
  5330. type: number
  5331. totalspotqty:
  5332. description: 现货头寸总量
  5333. type: number
  5334. unitid:
  5335. description: 单位id
  5336. type: integer
  5337. updatetime:
  5338. description: 更新时间
  5339. type: string
  5340. type: object
  5341. models.Ermcp3FinanceReport:
  5342. properties:
  5343. accountname:
  5344. description: 机构名称
  5345. type: string
  5346. areauserid:
  5347. description: 所属机构\交易用户ID
  5348. type: integer
  5349. begindate:
  5350. description: 开始交易日
  5351. type: string
  5352. biztype:
  5353. description: 业务类型 - 1:套保 2:套利
  5354. type: integer
  5355. brandname:
  5356. description: 品牌名称
  5357. type: string
  5358. buypreinvoicedamount:
  5359. description: 采购预收票额(预收票额)
  5360. type: number
  5361. buyprepaidamount:
  5362. description: 采购预付款额(预付货款额)
  5363. type: number
  5364. buytodayinvoiceamount:
  5365. description: 采购今收票额(今收票额)
  5366. type: number
  5367. buytodayrefundamount:
  5368. description: 采购今收退款额(今收退款额)
  5369. type: number
  5370. buytodaysettleamount:
  5371. description: 采购今付款额(今付货款额)
  5372. type: number
  5373. buyuninvoicedamount:
  5374. description: 采购应收票额(应收票额)
  5375. type: number
  5376. buyunpaidamount:
  5377. description: 采购应付款额(应付货款额)
  5378. type: number
  5379. currencyid:
  5380. description: 结算币种ID
  5381. type: integer
  5382. currencyname:
  5383. description: 币种名称
  5384. type: string
  5385. cycletime:
  5386. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5387. type: string
  5388. cycletype:
  5389. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5390. type: integer
  5391. deliverygoodscode:
  5392. description: 现货品种代码
  5393. type: string
  5394. deliverygoodsid:
  5395. description: 现货品种ID
  5396. type: integer
  5397. deliverygoodsname:
  5398. description: 现货品种名称
  5399. type: string
  5400. enddate:
  5401. description: 结束交易日
  5402. type: string
  5403. reckondate:
  5404. description: 日照时期(yyyyMMdd)
  5405. type: string
  5406. sellpreinvoicedamount:
  5407. description: 销售预开票额(预开票额)
  5408. type: number
  5409. sellprepaidamount:
  5410. description: 销售预收款额(预收货款额)
  5411. type: number
  5412. selltodayinvoiceamount:
  5413. description: 销售今开票额(今开票额)
  5414. type: number
  5415. selltodayrefundamount:
  5416. description: 销售今付退款额(今付退款额)
  5417. type: number
  5418. selltodaysettleamount:
  5419. description: 销售今收款额(今收货款额)
  5420. type: number
  5421. selluninvoicedamount:
  5422. description: 销售应开票额(应开票额)
  5423. type: number
  5424. sellunpaidamount:
  5425. description: 销售应收款额(应收货款额)
  5426. type: number
  5427. spotgoodsbrandid:
  5428. description: 现货品牌ID
  5429. type: integer
  5430. todaypaysum:
  5431. description: 今付款合计
  5432. type: number
  5433. todayreceivesum:
  5434. description: 今收款合计
  5435. type: number
  5436. updatetime:
  5437. description: 更新时间
  5438. type: string
  5439. wrfactortypeid:
  5440. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  5441. type: integer
  5442. wrstandardcode:
  5443. description: 品类代码
  5444. type: string
  5445. wrstandardid:
  5446. description: 现货商品ID
  5447. type: integer
  5448. wrstandardname:
  5449. description: 品类名称
  5450. type: string
  5451. type: object
  5452. models.Ermcp3GoodsGroup:
  5453. properties:
  5454. agreeunit:
  5455. description: 合约单位
  5456. type: number
  5457. areauserid:
  5458. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  5459. type: integer
  5460. canshort:
  5461. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  5462. type: integer
  5463. closepricemode:
  5464. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5465. type: integer
  5466. createtime:
  5467. description: 创建时间
  5468. type: string
  5469. creatorid:
  5470. description: 创建人
  5471. type: integer
  5472. currencyid:
  5473. description: 报价货币ID
  5474. type: integer
  5475. decimalplace:
  5476. description: 报价小数位
  5477. type: integer
  5478. enumdicname:
  5479. description: 单位名称
  5480. type: string
  5481. exchangefullname:
  5482. description: 交易所全称
  5483. type: string
  5484. excludecfg:
  5485. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  5486. type: integer
  5487. exexchangecode:
  5488. description: 交易所代码
  5489. type: string
  5490. exexchangeid:
  5491. description: 外部交易所ID[通道交易]
  5492. type: integer
  5493. exexchangename:
  5494. description: 交易所名称
  5495. type: string
  5496. goodsgroupid:
  5497. description: 商品组ID(自增ID)
  5498. type: integer
  5499. goodsgroupname:
  5500. description: 商品组名称
  5501. type: string
  5502. goodsgroupstatus:
  5503. description: 商品组状态 - 1:正常 2:注销
  5504. type: integer
  5505. goodunitid:
  5506. description: 报价单位ID
  5507. type: integer
  5508. groupcategroyid:
  5509. description: 品种分类ID
  5510. type: integer
  5511. innerdealmode:
  5512. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  5513. type: integer
  5514. marketid:
  5515. description: 所属市场ID
  5516. type: integer
  5517. modifierid:
  5518. description: 修改人
  5519. type: integer
  5520. modifytime:
  5521. description: 修改时间
  5522. type: string
  5523. outerdealmode:
  5524. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  5525. type: integer
  5526. outergroupcode:
  5527. description: 外部商品组代码[通道交易]
  5528. type: string
  5529. quoteminunit:
  5530. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5531. type: integer
  5532. quotesourcegroupid:
  5533. description: 所属行情源分组ID[参考行情市场用\通道交易]
  5534. type: integer
  5535. syncgoodsqty:
  5536. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  5537. type: integer
  5538. required:
  5539. - areauserid
  5540. type: object
  5541. models.Ermcp3HedgePlan:
  5542. properties:
  5543. accountid:
  5544. description: 资金账号
  5545. type: integer
  5546. areauserid:
  5547. description: 用户ID
  5548. type: integer
  5549. auditid:
  5550. description: 审核id
  5551. type: integer
  5552. auditname:
  5553. description: 审核人名称
  5554. type: string
  5555. auditremark:
  5556. description: 审核备注
  5557. type: string
  5558. auditsrc:
  5559. description: 审核来源 1-管理端 2-终端
  5560. type: integer
  5561. audittime:
  5562. description: 审核时间
  5563. type: string
  5564. contracttype:
  5565. description: 计划类型 - 1:采购 -1:销售
  5566. type: integer
  5567. convertfactor:
  5568. description: 标仓系数
  5569. type: number
  5570. createtime:
  5571. description: 创建时间
  5572. type: string
  5573. currencyid:
  5574. description: 币种id
  5575. type: integer
  5576. currencyname:
  5577. description: 币种名称
  5578. type: string
  5579. deliverygoodscode:
  5580. description: 现货品种代码
  5581. type: string
  5582. deliverygoodsid:
  5583. description: 现货品种ID
  5584. type: integer
  5585. deliverygoodsname:
  5586. description: 现货品种名称
  5587. type: string
  5588. enumdicname:
  5589. description: 单位名称(现货商品)
  5590. type: string
  5591. hedgeplanid:
  5592. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  5593. type: string
  5594. hedgeplanno:
  5595. description: 套保计划编号(名称)
  5596. type: string
  5597. hedgeplanstatus:
  5598. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5599. type: integer
  5600. planqty:
  5601. description: 计划数量
  5602. type: number
  5603. plantime:
  5604. description: 计划时间
  5605. type: string
  5606. producttype:
  5607. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5608. type: integer
  5609. remark:
  5610. description: 备注
  5611. type: string
  5612. spotgoodsdesc:
  5613. description: 商品型号
  5614. type: string
  5615. taaccountname:
  5616. description: 资金账号名称
  5617. type: string
  5618. tradeuserid:
  5619. description: 交易用户id
  5620. type: integer
  5621. tradeusername:
  5622. description: 交易用户名称
  5623. type: string
  5624. unitid:
  5625. description: 单位id(现货商品)
  5626. type: integer
  5627. updatetime:
  5628. description: 更新时间
  5629. type: string
  5630. vatrate:
  5631. description: 增值税率
  5632. type: number
  5633. wrstandardcode:
  5634. description: 品类代码
  5635. type: string
  5636. wrstandardid:
  5637. description: 品类id
  5638. type: integer
  5639. wrstandardname:
  5640. description: 品类名称
  5641. type: string
  5642. wrunitid:
  5643. description: 品类单位id
  5644. type: integer
  5645. wrunitidame:
  5646. description: 品类单位名称
  5647. type: string
  5648. type: object
  5649. models.Ermcp3InnerTradeLink:
  5650. properties:
  5651. accountid:
  5652. description: 期货账号代码 | 资金账号ID
  5653. type: integer
  5654. buyorsell:
  5655. description: 方向 - 0:买 1:卖
  5656. type: integer
  5657. channelbuildtype:
  5658. description: 委托单据类型 0:无 1:建仓 2:平仓
  5659. type: integer
  5660. currencyid:
  5661. description: 币种id
  5662. type: integer
  5663. currencyname:
  5664. description: 结算币种 名称
  5665. type: string
  5666. goodscode:
  5667. description: 商品代码
  5668. type: string
  5669. goodsid:
  5670. description: 商品ID
  5671. type: integer
  5672. goodsname:
  5673. description: 商品名称
  5674. type: string
  5675. outtradeid:
  5676. description: 外部成交单号
  5677. type: string
  5678. taname:
  5679. description: 期货账户名称
  5680. type: string
  5681. tradeid:
  5682. description: 期货单号 | 内部成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5683. type: string
  5684. tradeprice:
  5685. description: 成交价格
  5686. type: number
  5687. tradeqty:
  5688. description: 期货成交数量
  5689. type: integer
  5690. tradetime:
  5691. description: 关联时间 | 成交时间 ps:因为数据库表里没有关联时间, 所以取外部成交单的成交时间
  5692. type: string
  5693. username:
  5694. description: 用户名称
  5695. type: string
  5696. type: object
  5697. models.Ermcp3OutTradeLink:
  5698. properties:
  5699. buyorsell:
  5700. description: 买卖方向 - 0:买 1:卖
  5701. type: integer
  5702. channelbuildtype:
  5703. description: 开平标志- 0:无 1:建仓 2:平仓
  5704. type: integer
  5705. currencyname:
  5706. description: 币种名称
  5707. type: string
  5708. exexchangecode:
  5709. description: 交易所代码
  5710. type: string
  5711. exexchangename:
  5712. description: 交易所名称
  5713. type: string
  5714. goodscode:
  5715. description: 合约代码
  5716. type: string
  5717. goodsid:
  5718. description: 合约id
  5719. type: integer
  5720. goodsname:
  5721. description: 合约名称
  5722. type: string
  5723. hasinnerorder:
  5724. description: 是否有内部单关联 - 0:无 1:有
  5725. type: integer
  5726. hedgeaccountcode:
  5727. description: 外部账号 | 对冲账号
  5728. type: string
  5729. outtradeid:
  5730. description: 外部订单号 | 外部成交单ID(114+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5731. type: string
  5732. tradeprice:
  5733. description: 成交价格
  5734. type: number
  5735. tradeqty:
  5736. description: 成交数量
  5737. type: integer
  5738. tradetime:
  5739. description: 成交时间
  5740. type: string
  5741. type: object
  5742. models.Ermcp3PaAreaAuditCfg:
  5743. properties:
  5744. areauserid:
  5745. description: 用户ID
  5746. type: integer
  5747. buyinauditflag:
  5748. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  5749. type: integer
  5750. costratioauditflag:
  5751. description: 现货商品成本权重修改是否需要审核 - 0:不需审核 1:需要审核
  5752. type: integer
  5753. customerauditflag:
  5754. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  5755. type: integer
  5756. deliveryauditflag:
  5757. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  5758. type: integer
  5759. invoiceauditflag:
  5760. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  5761. type: integer
  5762. mgneedhedgeratioauditflag:
  5763. description: 套保品种套保比例修改是否需要审 - 0:不需审核 1:需要审核
  5764. type: integer
  5765. moneyauditflag:
  5766. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  5767. type: integer
  5768. operatorid:
  5769. description: 操作人
  5770. type: integer
  5771. operatorsrc:
  5772. description: 操作来源 - 1:管理端 2:终端
  5773. type: integer
  5774. pointpriceauditflag:
  5775. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  5776. type: integer
  5777. produceinauditflag:
  5778. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  5779. type: integer
  5780. produceoutauditflag:
  5781. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  5782. type: integer
  5783. selloutauditflag:
  5784. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  5785. type: integer
  5786. sgconvertratioauditflag:
  5787. description: 现货商品折算系数修改是否需要审核 - 0:不需审核 1:需要审核
  5788. type: integer
  5789. sgvtaratioauditflag:
  5790. description: 现货商品增值税税率修改是否需要审核 - 0:不需审核 1:需要审核
  5791. type: integer
  5792. spotcontractauditflag:
  5793. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  5794. type: integer
  5795. updatetime:
  5796. description: 更新时间
  5797. type: string
  5798. type: object
  5799. models.Ermcp3PaAreaSubject:
  5800. properties:
  5801. areauserid:
  5802. description: 所属机构
  5803. type: integer
  5804. canmodify:
  5805. description: 是否可修改 - 0:否 1:是
  5806. type: integer
  5807. createtime:
  5808. description: 创建时间
  5809. type: string
  5810. creatorid:
  5811. description: 创建人ID
  5812. type: string
  5813. creatorsrc:
  5814. description: 创建人来源 - 1:管理端 2:终端 3:交易
  5815. type: integer
  5816. modifierid:
  5817. description: 修改人
  5818. type: string
  5819. modifiersrc:
  5820. description: 修改人来源 - 1:管理端 2:终端
  5821. type: integer
  5822. modifytime:
  5823. description: 修改时间
  5824. type: string
  5825. parentsubjectid:
  5826. description: 上级主体ID
  5827. type: string
  5828. remark:
  5829. description: 备注
  5830. type: string
  5831. subjectid:
  5832. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  5833. type: integer
  5834. subjectname:
  5835. description: 主体名称
  5836. type: string
  5837. subjectstatus:
  5838. description: '主体状态 - 1:正常 2: 停用'
  5839. type: integer
  5840. subjecttype:
  5841. description: 主体类型 - 1:交易主体 2:业务部门
  5842. type: integer
  5843. type: object
  5844. models.Ermcp3PaTradeLink:
  5845. properties:
  5846. accountid:
  5847. description: 期货账户代码 | 账号ID
  5848. type: integer
  5849. agreeunit:
  5850. description: 合约乘数
  5851. type: number
  5852. buyorsell:
  5853. description: 方向 - 0:买 1:卖
  5854. type: integer
  5855. channelbuildtype:
  5856. description: 委托单据类型 0:无 1:建仓 2:平仓
  5857. type: integer
  5858. charge:
  5859. description: 手续费
  5860. type: number
  5861. closepl:
  5862. description: 平仓盈亏
  5863. type: number
  5864. closetype:
  5865. description: 平仓方式 - 0:无 1:平今 2:平昨
  5866. type: integer
  5867. convertratio:
  5868. description: 折算系数
  5869. type: number
  5870. enumdicname:
  5871. description: 单位名称
  5872. type: string
  5873. executeprice:
  5874. description: 执行价 [期权]
  5875. type: integer
  5876. goodscode:
  5877. description: 合约代码
  5878. type: string
  5879. goodsgroupid:
  5880. description: 对冲品种ID[期货合约商品组ID]
  5881. type: integer
  5882. goodsid:
  5883. description: 商品ID
  5884. type: integer
  5885. goodsname:
  5886. description: 合约名称
  5887. type: string
  5888. goodunitid:
  5889. description: 单位id
  5890. type: integer
  5891. hedgeflag:
  5892. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安)
  5893. 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  5894. type: integer
  5895. marketid:
  5896. description: 市场ID
  5897. type: integer
  5898. middlegoodsid:
  5899. description: 套保品种ID
  5900. type: integer
  5901. middlegoodsqty:
  5902. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  5903. type: number
  5904. optioncode:
  5905. description: 期权代码 [期权]
  5906. type: string
  5907. ordertype:
  5908. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  5909. type: integer
  5910. ordertypename:
  5911. description: 订单类型
  5912. type: string
  5913. parentaccountid:
  5914. description: 所属母账户
  5915. type: integer
  5916. premium:
  5917. description: 权利金 [期权]
  5918. type: number
  5919. relatedlot:
  5920. description: 已关联数量(已关联数量手) | db:关联手数
  5921. type: number
  5922. relatedouttradeid:
  5923. description: 关联外部成交单ID
  5924. type: string
  5925. relatedqty:
  5926. description: 关联数量
  5927. type: number
  5928. spotcontractid:
  5929. description: 现货合同ID [4:套期保值\10\11]
  5930. type: string
  5931. taname:
  5932. description: 期货账户名称
  5933. type: string
  5934. tradeamount:
  5935. description: 成交金额(账户)
  5936. type: number
  5937. tradedate:
  5938. description: 交易日(yyyyMMdd)
  5939. type: string
  5940. tradeid:
  5941. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5942. type: string
  5943. tradelot:
  5944. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  5945. type: integer
  5946. tradeprice:
  5947. description: 成交价格
  5948. type: number
  5949. tradetime:
  5950. description: 时间 | db:成交时间
  5951. type: string
  5952. tradetype:
  5953. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  5954. type: integer
  5955. userid:
  5956. description: 所属机构 - 所属母账户的UserID
  5957. type: string
  5958. username:
  5959. description: 用户名称
  5960. type: string
  5961. type: object
  5962. models.Ermcp3ParamChangeApp:
  5963. properties:
  5964. aftervalue:
  5965. description: 变更后
  5966. type: number
  5967. applicationid:
  5968. description: 申请ID(619+Unix秒时间戳(10位)+xxxxxx)
  5969. type: string
  5970. applyid:
  5971. description: 申请人
  5972. type: string
  5973. applyname:
  5974. description: 申请人名称(代码)
  5975. type: string
  5976. applyremark:
  5977. description: 申请备注
  5978. type: string
  5979. applysrc:
  5980. description: 申请来源 - 1:管理端 2:终端
  5981. type: integer
  5982. applystatus:
  5983. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  5984. type: integer
  5985. applytime:
  5986. description: 申请时间
  5987. type: string
  5988. areauserid:
  5989. description: 所属机构用户ID
  5990. type: integer
  5991. auditid:
  5992. description: 审核人
  5993. type: string
  5994. auditname:
  5995. description: 审核人名称(代码)
  5996. type: string
  5997. auditremark:
  5998. description: 审核备注
  5999. type: string
  6000. auditsrc:
  6001. description: 审核来源 - 1:管理端 2:终端
  6002. type: integer
  6003. audittime:
  6004. description: 审核时间
  6005. type: string
  6006. audittradedate:
  6007. description: 审核交易日(yyyyMMdd)
  6008. type: string
  6009. beforevalue:
  6010. description: 变更前
  6011. type: number
  6012. deliverygoodscode:
  6013. description: 品种代码
  6014. type: string
  6015. deliverygoodsid:
  6016. description: 品种id
  6017. type: integer
  6018. deliverygoodsname:
  6019. description: 品种名称
  6020. type: string
  6021. middlegoodscode:
  6022. description: 套保品种代码
  6023. type: string
  6024. middlegoodsid:
  6025. description: 套保品种ID [ParamChangeType = 2,3,4]
  6026. type: integer
  6027. middlegoodsname:
  6028. description: 套保品种名称
  6029. type: string
  6030. operatetype:
  6031. description: 操作类型 - 1:新增 2:修改
  6032. type: integer
  6033. paramchangetype:
  6034. description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  6035. type: integer
  6036. wrstandardcode:
  6037. description: 现货商品代码
  6038. type: string
  6039. wrstandardid:
  6040. description: 现货商品ID [ParamChangeType = 1,2,3]
  6041. type: integer
  6042. wrstandardname:
  6043. description: 现货商品名称
  6044. type: string
  6045. type: object
  6046. models.Ermcp3RootUserAccount:
  6047. properties:
  6048. accountname:
  6049. description: 账户名称(机构名称)
  6050. type: string
  6051. accountstatus:
  6052. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6053. type: integer
  6054. applysrc:
  6055. description: 申请来源 - 1:管理端 2:终端
  6056. type: integer
  6057. auditremark:
  6058. description: 审核备注
  6059. type: string
  6060. auditsrc:
  6061. description: 审核来源 - 1:管理端 2:终端
  6062. type: integer
  6063. audittime:
  6064. description: 审核时间
  6065. type: string
  6066. audituserid:
  6067. description: 审核人
  6068. type: integer
  6069. broker:
  6070. description: 所属经纪人ID
  6071. type: integer
  6072. canceltime:
  6073. description: 销户时间
  6074. type: string
  6075. canceluserid:
  6076. description: 销户人
  6077. type: integer
  6078. canrecommend:
  6079. description: 是否可推荐 - 0:不可 1;可
  6080. type: integer
  6081. createtime:
  6082. description: 创建时间
  6083. type: string
  6084. creatorid:
  6085. description: 创建人
  6086. type: integer
  6087. hasauth:
  6088. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  6089. type: integer
  6090. isanonymous:
  6091. description: 是否匿名下单 - 0:否 1:是
  6092. type: integer
  6093. maxinvestornum:
  6094. description: 最大用户数(经纪会员下投资者个数)
  6095. type: integer
  6096. memberuserid:
  6097. description: 所属会员ID
  6098. type: integer
  6099. modifierid:
  6100. description: 修改人
  6101. type: integer
  6102. modifyremark:
  6103. description: 变更备注
  6104. type: string
  6105. modifystatus:
  6106. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  6107. type: integer
  6108. modifytime:
  6109. description: 修改时间
  6110. type: string
  6111. nickname:
  6112. description: 昵称
  6113. type: string
  6114. parenttopuser:
  6115. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  6116. type: string
  6117. parentuserid:
  6118. description: 所属机构ID
  6119. type: integer
  6120. reckonaccountid:
  6121. description: 默认结算资金账号ID(机构分润使用) 作废
  6122. type: integer
  6123. refercount:
  6124. description: 推荐总人数
  6125. type: integer
  6126. refereeuserid:
  6127. description: 推荐人ID
  6128. type: integer
  6129. refernum:
  6130. description: 推荐码
  6131. type: string
  6132. rootuserid:
  6133. description: 根用户ID
  6134. type: integer
  6135. subaccountlevel:
  6136. description: 子账户层数
  6137. type: integer
  6138. subarealevelpath:
  6139. description: 子机构层级路径(逗号分隔,首尾加逗号)
  6140. type: string
  6141. userid:
  6142. description: 用户ID
  6143. type: integer
  6144. usertype:
  6145. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6146. type: integer
  6147. type: object
  6148. models.Ermcp3SCMiddleGoods:
  6149. properties:
  6150. biztype:
  6151. description: 业务类型 1:套保 2:套利
  6152. type: integer
  6153. contractno:
  6154. description: 合同编号
  6155. type: string
  6156. contracttype:
  6157. description: 合同类型 1:采购 -1:销售
  6158. type: integer
  6159. convertratio:
  6160. description: 折算系数
  6161. type: number
  6162. customername:
  6163. description: 对手手名称
  6164. type: string
  6165. customeruserid:
  6166. description: 对手id
  6167. type: integer
  6168. deliverygoodscode:
  6169. description: 现货品种代码
  6170. type: string
  6171. deliverygoodsid:
  6172. description: 现货品种ID
  6173. type: integer
  6174. deliverygoodsname:
  6175. description: 现货品种名称
  6176. type: string
  6177. enumdicname:
  6178. description: 现货单位名称
  6179. type: string
  6180. middlegoodsid:
  6181. description: 套保品种ID
  6182. type: integer
  6183. middlegoodspricedqty3:
  6184. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  6185. type: number
  6186. needhedgeratio:
  6187. description: 套保比例
  6188. type: number
  6189. pricedqty:
  6190. description: 已定价量
  6191. type: number
  6192. relatedmiddlegoodsqty:
  6193. description: 已关联量(套保品种)(期货)
  6194. type: number
  6195. spotcontractid:
  6196. description: 合同编号
  6197. type: string
  6198. unitid:
  6199. description: 现货单位id
  6200. type: integer
  6201. userid:
  6202. description: 用户id
  6203. type: integer
  6204. vatrate:
  6205. description: 增值税率
  6206. type: number
  6207. wrstandardcode:
  6208. description: 现货商品代码
  6209. type: string
  6210. wrstandardid:
  6211. description: 现货商品id
  6212. type: integer
  6213. wrstandardname:
  6214. description: 现货商品名称
  6215. type: string
  6216. type: object
  6217. models.Ermcp3SCMiddleGoodsReport:
  6218. properties:
  6219. begindate:
  6220. description: 开始交易日
  6221. type: string
  6222. contractno:
  6223. description: 合同编号
  6224. type: string
  6225. contracttype:
  6226. description: 合同类型 1:采购 -1:销售
  6227. type: integer
  6228. convertratio:
  6229. description: 折算系数
  6230. type: number
  6231. cycletime:
  6232. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6233. type: string
  6234. cycletype:
  6235. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6236. type: integer
  6237. deliverygoodscode:
  6238. description: 品种代码
  6239. type: string
  6240. deliverygoodsid:
  6241. description: 现货品种ID
  6242. type: integer
  6243. deliverygoodsname:
  6244. description: 品种名称
  6245. type: string
  6246. diffprice:
  6247. description: 现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价
  6248. type: number
  6249. diffqty:
  6250. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  6251. type: number
  6252. enddate:
  6253. description: 结束交易日
  6254. type: string
  6255. hedgeplanqty:
  6256. description: 套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例
  6257. type: number
  6258. matchname:
  6259. description: 交易对手方(个人:用户名称 企业:简称)
  6260. type: string
  6261. middlegoodscode:
  6262. description: 套保品种代码
  6263. type: string
  6264. middlegoodsid:
  6265. description: 套保品种ID
  6266. type: integer
  6267. middlegoodsname:
  6268. description: 套保品种名称
  6269. type: string
  6270. middlegoodspricedqty:
  6271. description: 已定价量(套保品种 - 税前) = PricedQty * 折算系数
  6272. type: number
  6273. middlegoodspricedqty2:
  6274. description: 已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))
  6275. type: number
  6276. middlegoodspricedqty3:
  6277. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  6278. type: number
  6279. needhedgeratio:
  6280. description: 套保系数
  6281. type: number
  6282. pricedamount:
  6283. description: 已定价额(现货)
  6284. type: number
  6285. pricedamount2:
  6286. description: 已定价额(现货-基价额)
  6287. type: number
  6288. pricedqty:
  6289. description: 已定价量(现货)
  6290. type: number
  6291. reckondate:
  6292. description: 日照时期(yyyyMMdd)
  6293. type: string
  6294. relatedmiddlegoodsamount:
  6295. description: 已关联额(期货)
  6296. type: number
  6297. relatedmiddlegoodsqty:
  6298. description: 已关联量(套保品种)(期货)
  6299. type: number
  6300. spotcontractid:
  6301. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  6302. type: string
  6303. todayavgfutuprice:
  6304. description: 今日期货成交均价 = TodayRelatedMiddleGoodsAmount /todayrelatedfutureqty
  6305. type: number
  6306. todayavgprice:
  6307. description: 今日定价均价 = TodayPricedAmount / TodayPricedQty
  6308. type: number
  6309. todayavgprice2:
  6310. description: 今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty
  6311. type: number
  6312. todaypricedamount:
  6313. description: 今日定价额(现货)
  6314. type: number
  6315. todaypricedamount2:
  6316. description: 今日定价额(现货-基价额)
  6317. type: number
  6318. todaypricedqty:
  6319. description: 今日定价量(现货)
  6320. type: number
  6321. todayrelatedfutureqty:
  6322. description: 今日关联量(期货)
  6323. type: number
  6324. todayrelatedmiddlegoodsamount:
  6325. description: 今日关联额(期货)
  6326. type: number
  6327. todayrelatedmiddlegoodsqty:
  6328. description: 今日关联量(套保品-期货)
  6329. type: number
  6330. updatetime:
  6331. description: 更新时间
  6332. type: string
  6333. userid:
  6334. description: 合同所属用户id
  6335. type: integer
  6336. vatrate:
  6337. description: 增值税率
  6338. type: number
  6339. wrstandardcode:
  6340. description: 商品(品类) 代码
  6341. type: string
  6342. wrstandardid:
  6343. description: 现货商品ID
  6344. type: integer
  6345. wrstandardname:
  6346. description: 商品(品类) 名称
  6347. type: string
  6348. type: object
  6349. models.Ermcp3SellBuyContract:
  6350. properties:
  6351. accountid:
  6352. description: 期货账户id
  6353. type: string
  6354. accountname:
  6355. description: 账户名称
  6356. type: string
  6357. attachment:
  6358. description: 附件
  6359. type: string
  6360. audittime:
  6361. description: 审核时间
  6362. type: string
  6363. bizsubjectid:
  6364. description: 归属业务部门ID - SubjectID
  6365. type: integer
  6366. biztype:
  6367. description: 业务类型 1-套保 2-套利
  6368. type: integer
  6369. brandname:
  6370. description: 品牌名称
  6371. type: string
  6372. contracctstatus:
  6373. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6374. type: integer
  6375. contractmargin:
  6376. description: 合同保证金
  6377. type: number
  6378. contractno:
  6379. description: 合同编号
  6380. type: string
  6381. contracttype:
  6382. description: 合同类型 1-采购, -1-销售
  6383. type: integer
  6384. convertfactor:
  6385. description: 标仓系数(品类)
  6386. type: number
  6387. createtime:
  6388. description: 创建时间
  6389. type: string
  6390. currencyid:
  6391. description: 币种id
  6392. type: integer
  6393. currencyname:
  6394. description: 币种名称
  6395. type: string
  6396. daikaiamount:
  6397. description: 应收(开)票额
  6398. type: number
  6399. deliveryenddate:
  6400. description: 交割结束日
  6401. type: string
  6402. deliverygoodscode:
  6403. description: 现货品种代码
  6404. type: string
  6405. deliverygoodsid:
  6406. description: 现货商品ID
  6407. type: integer
  6408. deliverygoodsname:
  6409. description: 现货品种名称
  6410. type: string
  6411. deliverystartdate:
  6412. description: 交割开始日
  6413. type: string
  6414. enddate:
  6415. description: 点价结束日
  6416. type: string
  6417. enumdicname:
  6418. description: 单位名称
  6419. type: string
  6420. goodscode:
  6421. description: 点价商品代码
  6422. type: string
  6423. goodsgroupid:
  6424. description: 点价商品组id
  6425. type: integer
  6426. goodsid:
  6427. description: 点价商品ID
  6428. type: integer
  6429. goodsname:
  6430. description: 点价商品名称
  6431. type: string
  6432. invoiceamount:
  6433. description: 已开票额
  6434. type: number
  6435. loanamount:
  6436. description: 贷款总额=已定价额+调整金额
  6437. type: number
  6438. margin:
  6439. description: 保证金
  6440. type: number
  6441. meruserid:
  6442. description: 跟单员id
  6443. type: integer
  6444. meruserlogincode:
  6445. description: 跟单员登录代码
  6446. type: string
  6447. merusername:
  6448. description: 跟单员名称
  6449. type: string
  6450. nickname:
  6451. description: 账户昵称
  6452. type: string
  6453. orireckonrealqty:
  6454. description: 应交收量
  6455. type: number
  6456. payamount:
  6457. description: 已收付额(收款或付款)
  6458. type: number
  6459. preinvoiceamount:
  6460. description: 预收(开)票额
  6461. type: number
  6462. prepayamount:
  6463. description: 预收付额
  6464. type: number
  6465. price:
  6466. description: 价格
  6467. type: number
  6468. pricedamount:
  6469. description: 已定价额
  6470. type: number
  6471. pricedavg:
  6472. description: 已点均价
  6473. type: number
  6474. pricedqty:
  6475. description: 已定价量
  6476. type: number
  6477. pricemove:
  6478. description: 升贴水
  6479. type: number
  6480. pricetype:
  6481. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  6482. type: integer
  6483. producttype:
  6484. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6485. type: integer
  6486. qty:
  6487. description: 合同量
  6488. type: number
  6489. reckonadjustamount:
  6490. description: 调整金额
  6491. type: number
  6492. reckonedamount:
  6493. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  6494. type: number
  6495. reckonotheramount:
  6496. description: 其它费用
  6497. type: number
  6498. reckonrealqty:
  6499. description: 已交收量
  6500. type: number
  6501. remark:
  6502. description: 备注
  6503. type: string
  6504. saleuserid:
  6505. description: 业务员id
  6506. type: integer
  6507. saleuserlogincode:
  6508. description: 业务员登录代码
  6509. type: string
  6510. saleusername:
  6511. description: 业务员名称
  6512. type: string
  6513. spotcontractid:
  6514. description: 合同ID
  6515. type: string
  6516. spotgoodsbrandid:
  6517. description: 现货品牌ID(DGFactoryItem表的ID)
  6518. type: integer
  6519. spotgoodsdesc:
  6520. description: 商品型号(商品规格)
  6521. type: string
  6522. startdate:
  6523. description: 点价开始日
  6524. type: string
  6525. subjectid:
  6526. description: 交易主体ID
  6527. type: integer
  6528. subjectname:
  6529. description: 交易主体名称
  6530. type: string
  6531. totalamount:
  6532. description: 合计总额
  6533. type: number
  6534. tradeuserid:
  6535. description: 交易员id
  6536. type: integer
  6537. tradeuserlogincode:
  6538. description: 交易员登录代码
  6539. type: string
  6540. tradeusername:
  6541. description: 交易员名称
  6542. type: string
  6543. unpayamount:
  6544. description: 应收付款额(应支付或应收款)
  6545. type: number
  6546. unpricedqty:
  6547. description: 未定价量
  6548. type: number
  6549. unsureqty:
  6550. description: 未确定量
  6551. type: number
  6552. userid:
  6553. description: 机构ID
  6554. type: integer
  6555. vatrate:
  6556. description: 增值税率
  6557. type: number
  6558. wrstandardcode:
  6559. description: 品类代码
  6560. type: string
  6561. wrstandardid:
  6562. description: 品类ID
  6563. type: integer
  6564. wrstandardname:
  6565. description: 品类名称
  6566. type: string
  6567. type: object
  6568. models.Ermcp3SpotGoodsPrice:
  6569. properties:
  6570. areauserid:
  6571. description: 所属机构id
  6572. type: integer
  6573. brandname:
  6574. description: 品牌名称
  6575. type: string
  6576. currencyid:
  6577. description: 报价货币ID
  6578. type: integer
  6579. currencyname:
  6580. description: 币种名称
  6581. type: string
  6582. deliverygoodscode:
  6583. description: 现货商品代码
  6584. type: string
  6585. deliverygoodsid:
  6586. description: 现货商品id
  6587. type: integer
  6588. deliverygoodsname:
  6589. description: 现货商品名称
  6590. type: string
  6591. enumdicname:
  6592. description: 现货商品单位名称
  6593. type: string
  6594. gbenumdicname:
  6595. description: 品类单位名称
  6596. type: string
  6597. gmunitid:
  6598. description: 品类单位id
  6599. type: integer
  6600. isvalid:
  6601. description: 是否有效 - 0:无效 1:有效
  6602. type: integer
  6603. operateid:
  6604. description: 最后操作人
  6605. type: integer
  6606. operatesrc:
  6607. description: 最后操作来源 - 1:管理端 2:终端
  6608. type: integer
  6609. operatetime:
  6610. description: 最后操作时间
  6611. type: string
  6612. operatorname:
  6613. description: 操作人名称
  6614. type: string
  6615. spotgoodsbrandid:
  6616. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6617. type: integer
  6618. spotgoodsprice:
  6619. description: 现货价格
  6620. type: number
  6621. tradedate:
  6622. description: 交易日(yyyyMMdd)
  6623. type: string
  6624. unitid:
  6625. description: 现货商品单位id
  6626. type: integer
  6627. wrstandardcode:
  6628. description: 品类代码
  6629. type: string
  6630. wrstandardid:
  6631. description: 现货品类ID(通用则为0)
  6632. type: integer
  6633. wrstandardname:
  6634. description: 品类名称
  6635. type: string
  6636. type: object
  6637. models.Ermcp3SpotGoodsPriceLog:
  6638. properties:
  6639. areauserid:
  6640. description: 所属机构id
  6641. type: integer
  6642. brandname:
  6643. description: 品牌名称
  6644. type: string
  6645. currencyid:
  6646. description: 报价货币ID
  6647. type: integer
  6648. deliverygoodscode:
  6649. description: 现货商品代码
  6650. type: string
  6651. deliverygoodsid:
  6652. description: 现货商品id
  6653. type: integer
  6654. deliverygoodsname:
  6655. description: 现货商品名称
  6656. type: string
  6657. enumdicname:
  6658. description: 现货商品单位名称
  6659. type: string
  6660. gbenumdicname:
  6661. description: 品类单位名称
  6662. type: string
  6663. gmunitid:
  6664. description: 品类单位id
  6665. type: integer
  6666. logid:
  6667. description: 日志id
  6668. type: integer
  6669. operateid:
  6670. description: 最后操作人
  6671. type: integer
  6672. operatesrc:
  6673. description: 最后操作来源 - 1:管理端 2:终端
  6674. type: integer
  6675. operatetime:
  6676. description: 最后操作时间
  6677. type: string
  6678. operatorname:
  6679. description: 操作人名称
  6680. type: string
  6681. spotgoodsbrandid:
  6682. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6683. type: integer
  6684. spotgoodsprice:
  6685. description: 现货价格
  6686. type: number
  6687. tradedate:
  6688. description: 交易日(yyyyMMdd)
  6689. type: string
  6690. unitid:
  6691. description: 现货商品单位id
  6692. type: integer
  6693. wrstandardcode:
  6694. description: 品类代码
  6695. type: string
  6696. wrstandardid:
  6697. description: 现货品类ID(通用则为0)
  6698. type: integer
  6699. wrstandardname:
  6700. description: 品类名称
  6701. type: string
  6702. type: object
  6703. models.Ermcp3SubTaaccount:
  6704. properties:
  6705. accountid:
  6706. description: 资金账户ID
  6707. type: integer
  6708. parentaccountcode:
  6709. description: 所属根账号代码(母账号代码)
  6710. type: string
  6711. parentaccountid:
  6712. description: 所属根账号(母账号)
  6713. type: integer
  6714. taname:
  6715. description: 资金账号名称
  6716. type: string
  6717. tradestatus:
  6718. description: 交易状态 - 1:正常 2:受限 3:冻结(停用) 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已删除(注销)
  6719. type: integer
  6720. username:
  6721. description: 交易用户
  6722. type: string
  6723. type: object
  6724. models.Ermcp3TaFutuReDataReport:
  6725. properties:
  6726. accountid:
  6727. description: 交易账户
  6728. type: integer
  6729. accountname:
  6730. description: 交易账号名称
  6731. type: string
  6732. agreeunit:
  6733. description: 商品合约单位
  6734. type: number
  6735. begindate:
  6736. description: 开始交易日
  6737. type: string
  6738. buyorsell:
  6739. description: 持仓方向
  6740. type: integer
  6741. charge:
  6742. description: 手续费
  6743. type: number
  6744. closeavgprice:
  6745. description: 平仓均价
  6746. type: number
  6747. closepl:
  6748. description: 平仓损益
  6749. type: number
  6750. currencyid:
  6751. description: 结算币种ID
  6752. type: integer
  6753. currencyname:
  6754. description: 币种名称
  6755. type: string
  6756. cycletime:
  6757. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6758. type: string
  6759. cycletype:
  6760. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6761. type: integer
  6762. enddate:
  6763. description: 结束交易日
  6764. type: string
  6765. enumdicname:
  6766. description: 单位名称
  6767. type: string
  6768. floatpl:
  6769. description: 浮动损益
  6770. type: number
  6771. goodscode:
  6772. description: 交易合约代码
  6773. type: string
  6774. goodsgroupid:
  6775. description: 交易品种
  6776. type: integer
  6777. goodsgroupname:
  6778. description: 交易品种名称
  6779. type: string
  6780. goodsgroupspotqty:
  6781. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  6782. type: number
  6783. goodsid:
  6784. description: 交易合约
  6785. type: integer
  6786. goodsname:
  6787. description: 交易合约名称
  6788. type: string
  6789. goodunitid:
  6790. description: 交易合约单位id
  6791. type: integer
  6792. holdamount:
  6793. description: 期末持仓额
  6794. type: number
  6795. holdqty:
  6796. description: 期末持仓量
  6797. type: number
  6798. lastholdamount:
  6799. description: 当前持仓额
  6800. type: number
  6801. lastprice:
  6802. description: 最新价
  6803. type: number
  6804. middlegoodsid:
  6805. description: 套保品种id
  6806. type: integer
  6807. middlegoodsname:
  6808. description: 套保商品名称
  6809. type: string
  6810. middlegoodsqty:
  6811. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  6812. type: number
  6813. middlgoodscode:
  6814. description: 套保商品代码
  6815. type: string
  6816. openamount:
  6817. description: 期末开仓额
  6818. type: number
  6819. openavgprice:
  6820. description: 开仓均价
  6821. type: number
  6822. oriholdamount:
  6823. description: 期初持仓额
  6824. type: number
  6825. oriholdqty:
  6826. description: 期初持仓量
  6827. type: number
  6828. oriopenamount:
  6829. description: 期初开仓额
  6830. type: number
  6831. outergroupcode:
  6832. description: 交易品种代码
  6833. type: string
  6834. qtydecimalplace:
  6835. description: 成交量小数位
  6836. type: integer
  6837. reckondate:
  6838. description: 日照时期(yyyyMMdd)
  6839. type: string
  6840. reckonholdamount:
  6841. description: 结算持仓额
  6842. type: number
  6843. reckonpl:
  6844. description: 结算损益
  6845. type: number
  6846. reckonpl2:
  6847. description: 结算逐笔盈亏
  6848. type: number
  6849. reckonprice:
  6850. description: 结算价
  6851. type: number
  6852. relateduserid:
  6853. description: 账户关联用户ID
  6854. type: integer
  6855. todaycloseamount:
  6856. description: 今平仓额
  6857. type: number
  6858. todaycloseqty:
  6859. description: 今平仓量
  6860. type: number
  6861. todaygoodsgroupspotqty:
  6862. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  6863. type: number
  6864. todaymiddlegoodsqty:
  6865. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  6866. type: number
  6867. todayopenamount:
  6868. description: 今开仓额
  6869. type: number
  6870. todayopenqty:
  6871. description: 今开仓量
  6872. type: number
  6873. userid:
  6874. description: 账户所属用户ID
  6875. type: integer
  6876. type: object
  6877. models.Ermcp3TradeLinkDetail:
  6878. properties:
  6879. accountid:
  6880. description: 资金账号
  6881. type: integer
  6882. agreeunit:
  6883. description: 合约乘数
  6884. type: number
  6885. areauserid:
  6886. description: 所属机构
  6887. type: string
  6888. bizsubjectid:
  6889. description: 归属业务部门ID - SubjectID
  6890. type: string
  6891. buyorsell:
  6892. description: 方向 - 0:买 1:卖
  6893. type: integer
  6894. channelbuildtype:
  6895. description: 委托单据类型 0:无 1:建仓 2:平仓
  6896. type: integer
  6897. contractno:
  6898. description: 现货编号 (合同编号)
  6899. type: string
  6900. convertratio:
  6901. description: 折算系数
  6902. type: number
  6903. createtime:
  6904. description: 关联时间 | 创建时间
  6905. type: string
  6906. creatorid:
  6907. description: 创建人ID
  6908. type: string
  6909. creatorsrc:
  6910. description: 创建人来源 - 1:管理端 2:终端 3:交易
  6911. type: integer
  6912. enumdicname:
  6913. description: 单位名称
  6914. type: string
  6915. goodscode:
  6916. description: 合约代码
  6917. type: string
  6918. goodsgroupid:
  6919. description: 对冲品种ID[期货合约商品组ID]
  6920. type: integer
  6921. goodsid:
  6922. description: 商品ID
  6923. type: integer
  6924. goodsname:
  6925. description: 合约名称
  6926. type: string
  6927. hedgeflag:
  6928. description: 业务类型 | 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安)
  6929. 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  6930. type: integer
  6931. linkdetailid:
  6932. description: 关联ID(614+Unix秒时间戳(10位)+xxxxxx)
  6933. type: string
  6934. linkstatus:
  6935. description: 关联状态 - 1:成功 2:失败 3:解绑
  6936. type: integer
  6937. middlegoodscode:
  6938. description: 套保品种代码
  6939. type: string
  6940. middlegoodsid:
  6941. description: 套保品种ID
  6942. type: integer
  6943. middlegoodsname:
  6944. description: 套保品种名称
  6945. type: string
  6946. relatedlot:
  6947. description: 关联手数
  6948. type: number
  6949. relatedmode:
  6950. description: 关联方式 - 1:自动关联 2:手动关联 3:解绑关联
  6951. type: integer
  6952. relatedqty:
  6953. description: 关联数量 = RelatedLot * AgreeUnit * ConvertRatio
  6954. type: number
  6955. retcode:
  6956. description: 返回码
  6957. type: integer
  6958. saleuserid:
  6959. description: 业务员ID
  6960. type: string
  6961. spotcontractid:
  6962. description: 现货合同\套保计划ID [4,10,11 - 现货合同ID] [9:套期保值(计划) - 套保计划ID]
  6963. type: string
  6964. taname:
  6965. description: 期货账户
  6966. type: string
  6967. tradedate:
  6968. description: 关联交易日(yyyyMMdd)
  6969. type: string
  6970. tradeid:
  6971. description: 期货订单号 | 内部成交单ID
  6972. type: string
  6973. tradelot:
  6974. description: 成交数量 | 成交手数
  6975. type: integer
  6976. tradeprice:
  6977. description: 成交价格
  6978. type: number
  6979. tradetime:
  6980. description: 期货成交时间
  6981. type: string
  6982. tradetradedate:
  6983. description: 成交交易日(yyyyMMdd)
  6984. type: string
  6985. username:
  6986. description: 用户名称
  6987. type: string
  6988. type: object
  6989. models.Ermcp3Wrstandard:
  6990. properties:
  6991. areauserid:
  6992. description: 所属机构
  6993. type: integer
  6994. cantrade:
  6995. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  6996. type: integer
  6997. convertfactor:
  6998. description: 标仓系数
  6999. type: number
  7000. createtime:
  7001. description: 创建时间
  7002. type: string
  7003. creatorid:
  7004. description: 创建人
  7005. type: integer
  7006. deliverygoodsid:
  7007. description: 现货品种ID
  7008. type: integer
  7009. enumdicname:
  7010. description: 品类单位名称
  7011. type: string
  7012. isvalid:
  7013. description: 是否有效 0-无效(停用) 1-有效(正常)
  7014. type: integer
  7015. minivalue:
  7016. description: 最小变动值
  7017. type: integer
  7018. minivaluedp:
  7019. description: 最小变动值小数位
  7020. type: integer
  7021. realminivalue:
  7022. description: 实际最小变动值
  7023. type: integer
  7024. realminivaluedp:
  7025. description: 实际最小变动值小数位
  7026. type: integer
  7027. remark:
  7028. description: 备注
  7029. type: string
  7030. unitid:
  7031. description: 品类单位ID
  7032. type: integer
  7033. updatetime:
  7034. description: 更新时间
  7035. type: string
  7036. wrstandardcode:
  7037. description: 品类代码
  7038. type: string
  7039. wrstandardid:
  7040. description: 品类ID(SEQ_WRSTANDARD)
  7041. type: integer
  7042. wrstandardname:
  7043. description: 品类名称
  7044. type: string
  7045. type: object
  7046. models.ErmcpBizGroupEx:
  7047. properties:
  7048. acclist:
  7049. description: 账号列表
  7050. items:
  7051. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  7052. type: array
  7053. bizgroupid:
  7054. description: 业务分组id
  7055. type: integer
  7056. biztype:
  7057. description: 业务类型 1-套保 2-套利
  7058. type: integer
  7059. wrlist:
  7060. description: 现货商品表
  7061. items:
  7062. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  7063. type: array
  7064. type: object
  7065. models.ErmcpBizGroupSpotGoods:
  7066. properties:
  7067. areauserid:
  7068. description: 所属机构id
  7069. type: integer
  7070. bizgroupid:
  7071. description: 分组id
  7072. type: integer
  7073. biztype:
  7074. description: 业务类型 1-套保 2-套利
  7075. type: integer
  7076. deliverygoodscode:
  7077. description: 现货商品代码
  7078. type: string
  7079. deliverygoodsid:
  7080. description: 现货商品id
  7081. type: integer
  7082. deliverygoodsname:
  7083. description: 现货商品名称
  7084. type: string
  7085. unitid:
  7086. description: 现货商品单位id
  7087. type: integer
  7088. type: object
  7089. models.ErmcpBizGroupTaAccount:
  7090. properties:
  7091. accountid:
  7092. description: 账号id
  7093. type: integer
  7094. accountname:
  7095. description: 账号名称
  7096. type: string
  7097. areauserid:
  7098. description: 所属机构id
  7099. type: integer
  7100. bizgroupid:
  7101. description: 业务分组id
  7102. type: integer
  7103. ismain:
  7104. description: 是否主账号 1-是 0-否
  7105. type: integer
  7106. type: object
  7107. models.ErmcpDGFactoryItem:
  7108. properties:
  7109. areauserid:
  7110. description: 用户id
  7111. type: integer
  7112. deliverygoodsid:
  7113. description: 现货品种ID
  7114. type: integer
  7115. dgfactoryitemid:
  7116. description: 选择项ID(SEQ_DGFACTORYITEM)
  7117. type: integer
  7118. dgfactoryitemtypeid:
  7119. description: 要素项类型
  7120. type: integer
  7121. dgfactoryitemvalue:
  7122. description: 要素项值(类型为仓库时填写仓库名称)
  7123. type: string
  7124. isvalid:
  7125. description: 是否有效 - 0:无效 1:有效
  7126. type: integer
  7127. orderindex:
  7128. description: 顺序
  7129. type: integer
  7130. warehouseid:
  7131. description: 仓库ID(类型为仓库时填写)
  7132. type: integer
  7133. type: object
  7134. models.ErmcpDeliveryGoods:
  7135. properties:
  7136. agreeunit:
  7137. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  7138. type: integer
  7139. areauserid:
  7140. description: 所属机构
  7141. type: integer
  7142. auditflag:
  7143. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  7144. type: integer
  7145. categoryid:
  7146. description: 类别ID(SEQ_WRCATEGORY)
  7147. type: integer
  7148. deliverygoodscode:
  7149. description: 现货品种代码
  7150. type: string
  7151. deliverygoodsid:
  7152. description: 现货品种ID(SEQ_DELIVERYGOODS)
  7153. type: integer
  7154. deliverygoodsname:
  7155. description: 现货品种名称
  7156. type: string
  7157. deliverygoodstype:
  7158. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  7159. type: integer
  7160. dgstatus:
  7161. description: 品种状态 - 作废 - 0:未激活 1:正常
  7162. type: integer
  7163. enumdicname:
  7164. description: 现货品种单位名称
  7165. type: string
  7166. goodsunitid:
  7167. description: 现货品种单位ID
  7168. type: integer
  7169. isvalid:
  7170. description: 是否有效 - 0:无效 1:有效
  7171. type: integer
  7172. qtydecimalplace:
  7173. description: 成交量小数位
  7174. type: integer
  7175. remark:
  7176. description: 备注
  7177. type: string
  7178. standardqty:
  7179. description: 标准数量(库位数量) [标准品特有]
  7180. type: integer
  7181. standardqtyrange:
  7182. description: 标准数量偏差范围 [标准品特有]
  7183. type: integer
  7184. type: object
  7185. models.ErmcpFuturesCompany:
  7186. properties:
  7187. brokerid:
  7188. description: 经纪公司代码
  7189. type: string
  7190. channeladdress:
  7191. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  7192. type: string
  7193. channelid:
  7194. description: 对冲渠道ID
  7195. type: string
  7196. createtime:
  7197. description: 创建时间
  7198. type: string
  7199. creatorid:
  7200. description: 创建人
  7201. type: string
  7202. fcid:
  7203. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  7204. type: integer
  7205. fcname:
  7206. description: 期货公司名称
  7207. type: string
  7208. isvalid:
  7209. description: 是否有效 - 0:无效 1:有效
  7210. type: integer
  7211. mhpaddress:
  7212. description: MHP服务地址(IP:Port)
  7213. type: string
  7214. riskrulegroupid:
  7215. description: 风控规则组ID
  7216. type: string
  7217. tradefeetmpid:
  7218. description: 手续费模板ID[TradeConfigTmpType为2]
  7219. type: string
  7220. trademargintmpid:
  7221. description: 保证金模板ID [TradeConfigTmpType为1]
  7222. type: string
  7223. traderatetmpid:
  7224. description: 汇率模板ID[TradeConfigTmpType为3]
  7225. type: string
  7226. updatetime:
  7227. description: 更新时间
  7228. type: string
  7229. updatorid:
  7230. description: 更新人
  7231. type: string
  7232. type: object
  7233. models.ErmcpGGConvertCfg:
  7234. properties:
  7235. convertratio:
  7236. description: 折算系数
  7237. type: number
  7238. destgoodsgroupid:
  7239. description: 目标品种ID
  7240. type: integer
  7241. dstcode:
  7242. description: 目录品种代码
  7243. type: string
  7244. dstexchangecode:
  7245. description: 目标期货交易所
  7246. type: string
  7247. dstname:
  7248. description: 目标品种名称
  7249. type: string
  7250. dstunitid:
  7251. description: 目标品种单位ID
  7252. type: integer
  7253. dstunitidname:
  7254. description: 目标品种单位名称
  7255. type: string
  7256. modifytime:
  7257. description: 修改时间
  7258. type: string
  7259. srccode:
  7260. description: 源品种代码
  7261. type: string
  7262. srcexchangecode:
  7263. description: 源期货交易所
  7264. type: string
  7265. srcgoodsgroupid:
  7266. description: 源品种ID
  7267. type: integer
  7268. srcname:
  7269. description: 源品种名称
  7270. type: string
  7271. srcunitid:
  7272. description: 源品种单位ID
  7273. type: integer
  7274. srcunitidname:
  7275. description: 源品种单位名称
  7276. type: string
  7277. type: object
  7278. models.ErmcpGoods:
  7279. properties:
  7280. agreeunit:
  7281. description: 合约单位
  7282. type: number
  7283. areauserid:
  7284. description: 所属机构
  7285. type: integer
  7286. auditaccountid:
  7287. description: 审核操作员账号
  7288. type: integer
  7289. audittime:
  7290. description: 审核时间
  7291. type: string
  7292. cancelaccountid:
  7293. description: 注销操作员账号
  7294. type: integer
  7295. canceltime:
  7296. description: 注销时间
  7297. type: string
  7298. closepricemode:
  7299. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7300. type: integer
  7301. closepriceparam:
  7302. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7303. type: number
  7304. createtime:
  7305. description: 创建时间
  7306. type: string
  7307. creatorid:
  7308. description: 创建人
  7309. type: integer
  7310. currencyid:
  7311. description: 报价货币ID
  7312. type: integer
  7313. cutmode:
  7314. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7315. type: integer
  7316. decimalplace:
  7317. description: 报价小数位
  7318. type: integer
  7319. delistingdate:
  7320. description: 商品退市时间(状态:退市) -- 已作废
  7321. type: string
  7322. delistingmode:
  7323. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7324. type: integer
  7325. deliveryflag:
  7326. description: 交割标志 - 0:不可交割 1:可交割
  7327. type: integer
  7328. enumdicname:
  7329. description: 单位名称
  7330. type: string
  7331. forceclosemode:
  7332. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7333. type: integer
  7334. forceclosevalue:
  7335. description: 定期强平参数 [收益权]
  7336. type: integer
  7337. goodscode:
  7338. description: 商品代码(内部)
  7339. type: string
  7340. goodscurrencyid:
  7341. description: 合约货币ID
  7342. type: integer
  7343. goodsgroupid:
  7344. description: 所属商品组ID
  7345. type: integer
  7346. goodsid:
  7347. description: 商品ID(自增ID SEQ_GOODS)
  7348. type: integer
  7349. goodsname:
  7350. description: 商品名称
  7351. type: string
  7352. goodsquotetype:
  7353. description: '合约报价类型: 1-直接报价 2-间接报价'
  7354. type: integer
  7355. goodsstatus:
  7356. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7357. type: integer
  7358. goodstradetype:
  7359. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7360. type: integer
  7361. goodunitid:
  7362. description: 报价单位ID
  7363. type: integer
  7364. hasquoter:
  7365. description: 是否有报价商 - 0:无报价商 1:有报价商
  7366. type: integer
  7367. hqprotecttime:
  7368. description: 行情保护时间(秒)
  7369. type: integer
  7370. innerdealmode:
  7371. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7372. type: integer
  7373. isbuylimited:
  7374. description: 是否限制建仓量 - 0:不限制 1:限制
  7375. type: integer
  7376. isvisible:
  7377. description: 游客是否可见 - 0:不可见 1:可见
  7378. type: integer
  7379. lasttradedate:
  7380. description: 最后交易日期(状态:待退市)
  7381. type: string
  7382. listingdate:
  7383. description: 交易开始日期
  7384. type: string
  7385. marketid:
  7386. description: 所属市场ID
  7387. type: integer
  7388. modifierid:
  7389. description: 修改人
  7390. type: integer
  7391. modifystatus:
  7392. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7393. type: integer
  7394. modifytime:
  7395. description: 修改时间
  7396. type: string
  7397. outerdealmode:
  7398. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7399. type: integer
  7400. outgoodscode:
  7401. description: 商品代码(外部)
  7402. type: string
  7403. pictureurl:
  7404. description: 商品图片
  7405. type: string
  7406. qtydecimalplace:
  7407. description: 成交量小数位
  7408. type: integer
  7409. quotegear:
  7410. description: 行情档位(1-10)
  7411. type: integer
  7412. quoteminunit:
  7413. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7414. type: integer
  7415. quoteshowtype:
  7416. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7417. type: integer
  7418. quoteshowtypeinterval:
  7419. description: 行情报价间隔时间(秒)(成交价时为0)
  7420. type: integer
  7421. relatedgoodsid:
  7422. description: 关联参考商品ID
  7423. type: integer
  7424. remark:
  7425. description: 备注
  7426. type: string
  7427. trademode:
  7428. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7429. 21:竞拍-大宗式 22:受托竞价
  7430. type: integer
  7431. required:
  7432. - goodscode
  7433. - goodsid
  7434. - goodsname
  7435. - marketid
  7436. type: object
  7437. models.ErmcpGoodsBrand:
  7438. properties:
  7439. areauserid:
  7440. description: 所属机构
  7441. type: integer
  7442. brandid:
  7443. description: BrandID(SEQ_SPOTGOODSBRAND)
  7444. type: integer
  7445. brandname:
  7446. description: 品牌名称
  7447. type: string
  7448. createtime:
  7449. description: 创建时间
  7450. type: string
  7451. creatorid:
  7452. description: 创建人
  7453. type: integer
  7454. creatorsrc:
  7455. description: 创建人来源 - 1:管理端 2:终端
  7456. type: integer
  7457. deliverygoodsid:
  7458. description: 现货品种ID
  7459. type: integer
  7460. isvalid:
  7461. description: 是否有效 - 0:无效 1:有效
  7462. type: integer
  7463. updatetime:
  7464. description: 更新时间
  7465. type: string
  7466. updatorid:
  7467. description: 更新人
  7468. type: integer
  7469. updatorsrc:
  7470. description: 更新人来源 - 1:管理端 2:终端
  7471. type: integer
  7472. wrstandardid:
  7473. description: 现货商品ID
  7474. type: integer
  7475. type: object
  7476. models.ErmcpGoodsModel:
  7477. properties:
  7478. areauserid:
  7479. description: 所属机构
  7480. type: integer
  7481. convertfactor:
  7482. description: 标仓系数
  7483. type: number
  7484. createtime:
  7485. description: 创建时间
  7486. type: string
  7487. creatorid:
  7488. description: 创建人
  7489. type: integer
  7490. creatorsrc:
  7491. description: 创建人来源 - 1:管理端 2:终端
  7492. type: integer
  7493. deliverygoodsid:
  7494. description: 现货品种ID
  7495. type: integer
  7496. isvalid:
  7497. description: 是否有效 - 0:无效 1:有效
  7498. type: integer
  7499. modelid:
  7500. description: ModelID(SEQ_SPOTGOODSMODEL)
  7501. type: integer
  7502. modelname:
  7503. description: 型号名称
  7504. type: string
  7505. updatetime:
  7506. description: 更新时间
  7507. type: string
  7508. updatorid:
  7509. description: 更新人
  7510. type: integer
  7511. updatorsrc:
  7512. description: 更新人来源 - 1:管理端 2:终端
  7513. type: integer
  7514. wrstandardid:
  7515. description: 现货商品ID
  7516. type: integer
  7517. type: object
  7518. models.ErmcpHisExposure:
  7519. properties:
  7520. needhedgeexposoure:
  7521. description: 应套保敞口
  7522. type: number
  7523. reckondate:
  7524. description: 日照时期(yyyyMMdd)
  7525. type: string
  7526. totalexposure:
  7527. description: 总敞口
  7528. type: number
  7529. type: object
  7530. models.ErmcpLoginTaAccount:
  7531. properties:
  7532. accountid:
  7533. description: 账号id
  7534. type: integer
  7535. accountname:
  7536. description: 账号名称
  7537. type: string
  7538. type: object
  7539. models.ErmcpLoginUser:
  7540. properties:
  7541. acclist:
  7542. description: 关联资金账号
  7543. items:
  7544. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  7545. type: array
  7546. accountname:
  7547. description: 用户名称
  7548. type: string
  7549. clientroleid:
  7550. description: 角色id(usertype=2)
  7551. type: integer
  7552. createtime:
  7553. description: 创建时间
  7554. type: string
  7555. logincode:
  7556. description: 登录代码
  7557. type: string
  7558. loginid:
  7559. description: 登录id(LOGINID)
  7560. type: integer
  7561. loginname:
  7562. description: 登录名称(loginaccount表中的accountname字段)
  7563. type: string
  7564. loginstatus:
  7565. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  7566. type: integer
  7567. memberuserid:
  7568. description: 所属会员id
  7569. type: integer
  7570. mobile:
  7571. description: 手机号
  7572. type: string
  7573. modifytime:
  7574. description: 修改时间
  7575. type: string
  7576. password:
  7577. description: 密码(不可解密)
  7578. type: string
  7579. rolename:
  7580. description: 角色名称
  7581. type: string
  7582. rolestatus:
  7583. description: 角色状态 1-启用 2-停用
  7584. type: integer
  7585. roletype:
  7586. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  7587. type: string
  7588. userid:
  7589. description: 用户id
  7590. type: integer
  7591. usertype:
  7592. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  7593. type: integer
  7594. type: object
  7595. models.ErmcpLoginUserEx:
  7596. properties:
  7597. accountstatus:
  7598. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  7599. type: integer
  7600. mobile:
  7601. description: 手机号
  7602. type: string
  7603. querytype:
  7604. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  7605. type: integer
  7606. roleid:
  7607. description: 角色id(交易账户->用户id)
  7608. type: integer
  7609. rolename:
  7610. description: 角色名称(交易账户->用户名称)
  7611. type: string
  7612. userlist:
  7613. description: 用户列表
  7614. items:
  7615. $ref: '#/definitions/models.ErmcpLoginUser'
  7616. type: array
  7617. usertype:
  7618. description: 用户类型 2-机构 7-企业成员(云平台)
  7619. type: integer
  7620. type: object
  7621. models.ErmcpMiddleGoodsModel:
  7622. properties:
  7623. areauserid:
  7624. description: 机构用户ID
  7625. type: integer
  7626. createtime:
  7627. description: 修改时间
  7628. type: string
  7629. enumdicname:
  7630. description: 单位名称
  7631. type: string
  7632. evaluateratio:
  7633. description: 估价系数
  7634. type: number
  7635. goodsgroupid:
  7636. description: 关联期货品种ID
  7637. type: integer
  7638. goodsunitid:
  7639. description: 单位ID
  7640. type: integer
  7641. isvalid:
  7642. description: 状态 0-无效(停用) 1-有效(正常)
  7643. type: integer
  7644. middlegoodscode:
  7645. description: 套保品种代码
  7646. type: string
  7647. middlegoodsid:
  7648. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  7649. type: integer
  7650. middlegoodsname:
  7651. description: 套保品种名称
  7652. type: string
  7653. modifytime:
  7654. description: 修改时间
  7655. type: string
  7656. needarbitrageratio:
  7657. description: 套利比例
  7658. type: number
  7659. needhedgeratio:
  7660. description: 套保比率
  7661. type: number
  7662. qtydecimalplace:
  7663. description: 数量小数位
  7664. type: integer
  7665. relatedgoodsid:
  7666. description: 关联交易商品ID
  7667. type: integer
  7668. relatedgoodstype:
  7669. description: 关联商品类型 - 1:期货合约 2:现货品种
  7670. type: integer
  7671. remark:
  7672. description: 备注
  7673. type: string
  7674. type: object
  7675. models.ErmcpMiddlegoodsRelateGoods:
  7676. properties:
  7677. agreeunit:
  7678. description: 合约乘数
  7679. type: number
  7680. convertratio:
  7681. description: 折算系数
  7682. type: number
  7683. enumdicname:
  7684. description: 单位名称(交易商品)
  7685. type: string
  7686. goodscode:
  7687. description: 交易商品代码
  7688. type: string
  7689. goodsgroupid:
  7690. description: 交易品种id
  7691. type: integer
  7692. goodsid:
  7693. description: 商品Id
  7694. type: integer
  7695. goodsname:
  7696. description: 交易商品名称
  7697. type: string
  7698. goodunitid:
  7699. description: 交易商品单位id
  7700. type: integer
  7701. middlegoodsid:
  7702. description: 套保商品id
  7703. type: integer
  7704. middlegoodsname:
  7705. description: 套保商品名称
  7706. type: string
  7707. middlegoodsswcode:
  7708. description: 套保商品代码
  7709. type: string
  7710. needarbitrageratio:
  7711. description: 应套利比例
  7712. type: number
  7713. needhedgeratio:
  7714. description: 应套保比例
  7715. type: number
  7716. type: object
  7717. models.ErmcpRole:
  7718. properties:
  7719. areauserid:
  7720. description: 所属机构
  7721. type: integer
  7722. autoid:
  7723. description: 角色ID(自增ID)
  7724. type: integer
  7725. modifierid:
  7726. description: 修改人(创建人)
  7727. type: integer
  7728. modifiername:
  7729. description: 修改人名称
  7730. type: string
  7731. modifytime:
  7732. description: 修改时间(创建时间)
  7733. type: string
  7734. rolename:
  7735. description: 角色名称
  7736. type: string
  7737. rolestatus:
  7738. description: 角色状态 - 1:启用 2:停用
  7739. type: integer
  7740. roletype:
  7741. description: 角色类型 - 1- 管理端 2- 交易端
  7742. type: integer
  7743. type: object
  7744. models.ErmcpRoleMenu:
  7745. properties:
  7746. iconame:
  7747. description: 菜单图标
  7748. type: string
  7749. ishadrole:
  7750. description: 是否有权限
  7751. type: boolean
  7752. menutype:
  7753. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 5:PCWEB(v6)
  7754. type: integer
  7755. parentcode:
  7756. description: 上级资源代码
  7757. type: string
  7758. remark:
  7759. description: 菜单备注
  7760. type: string
  7761. resourcecode:
  7762. description: 菜单代码
  7763. type: string
  7764. resourcelevel:
  7765. description: 级别
  7766. type: integer
  7767. resourcename:
  7768. description: 菜单名称
  7769. type: string
  7770. roleid:
  7771. description: 角色id
  7772. type: integer
  7773. sort:
  7774. description: 排序
  7775. type: integer
  7776. url:
  7777. description: URL
  7778. type: string
  7779. userid:
  7780. description: 用户id
  7781. type: integer
  7782. type: object
  7783. models.ErmcpRoleMenuEx:
  7784. properties:
  7785. menu:
  7786. $ref: '#/definitions/models.ErmcpRoleMenu'
  7787. description: 父级菜单
  7788. subMenu:
  7789. description: 子级菜单
  7790. items:
  7791. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  7792. type: array
  7793. type: object
  7794. models.ErmcpTaAccount:
  7795. properties:
  7796. accountid:
  7797. description: 账户id
  7798. type: integer
  7799. accountname:
  7800. description: 账户名称
  7801. type: string
  7802. currencyid:
  7803. description: 币种id
  7804. type: integer
  7805. hedgeaccountcode:
  7806. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7807. type: string
  7808. ismain:
  7809. description: 是否主账户 0-否 1-是
  7810. type: integer
  7811. parentaccountid:
  7812. description: 父账户id
  7813. type: integer
  7814. relateduserid:
  7815. description: 关联userid
  7816. type: integer
  7817. tradefeetmpid:
  7818. description: 手续费模板id
  7819. type: integer
  7820. tradefeetmpname:
  7821. description: 手续费模板名称
  7822. type: string
  7823. trademargintmpid:
  7824. description: 保证金模板id
  7825. type: integer
  7826. trademargintmpname:
  7827. description: 保证金模板名称
  7828. type: string
  7829. traderatetmpid:
  7830. description: 汇率模板id
  7831. type: integer
  7832. traderatetmpname:
  7833. description: 汇率模板名称
  7834. type: string
  7835. tradestatus:
  7836. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7837. type: integer
  7838. userid:
  7839. description: 用户id
  7840. type: integer
  7841. type: object
  7842. models.ErmcpTaAccountEx:
  7843. properties:
  7844. mainAcc:
  7845. $ref: '#/definitions/models.ErmcpTaAccountM'
  7846. description: 主账号
  7847. subacclist:
  7848. description: 子账号列表
  7849. items:
  7850. $ref: '#/definitions/models.ErmcpTaAccount'
  7851. type: array
  7852. type: object
  7853. models.ErmcpTaAccountInfo:
  7854. properties:
  7855. accountid:
  7856. description: 资金账户ID
  7857. type: integer
  7858. accountname:
  7859. description: 账户名称
  7860. type: string
  7861. balance:
  7862. description: 期初余额
  7863. type: number
  7864. capitalbalance:
  7865. description: 本金余额[外部子账户实际出入金余额]
  7866. type: number
  7867. closepl:
  7868. description: 今日平仓盈亏
  7869. type: number
  7870. creditdecrease:
  7871. description: 今日授信减少
  7872. type: number
  7873. creditincrease:
  7874. description: 今日授信增加
  7875. type: number
  7876. curdebt:
  7877. description: 期末欠款
  7878. type: number
  7879. currencyid:
  7880. description: 货币ID
  7881. type: integer
  7882. currentbalance:
  7883. description: 期末余额
  7884. type: number
  7885. freezecharge:
  7886. description: 手续费冻结
  7887. type: number
  7888. freezemargin:
  7889. description: 冻结保证金
  7890. type: number
  7891. fromaccountid:
  7892. description: 所属上级账户
  7893. type: integer
  7894. inamount:
  7895. description: 今日入金金额(包括三方入金)
  7896. type: number
  7897. ismain:
  7898. description: 是否母账号 0:不是母账户 1:是母账户
  7899. type: integer
  7900. mortgagecredit:
  7901. description: 授信金额
  7902. type: number
  7903. oridebt:
  7904. description: 期初欠款
  7905. type: number
  7906. orifreezecharge:
  7907. description: 期初手续费冻结
  7908. type: number
  7909. orifreezemargin:
  7910. description: 期初冻结保证金
  7911. type: number
  7912. orimortgagecredit:
  7913. description: 期初授信金额
  7914. type: number
  7915. oriothercredit:
  7916. description: 期初其它授信金额
  7917. type: number
  7918. oriotherfreezemargin:
  7919. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  7920. type: number
  7921. orioutamountfreeze:
  7922. description: 期初出金冻结
  7923. type: number
  7924. oriusedmargin:
  7925. description: 期初占用保证金
  7926. type: number
  7927. othercredit:
  7928. description: 其它授信金额
  7929. type: number
  7930. othercreditdecrease:
  7931. description: 今日其它授信减少
  7932. type: number
  7933. othercreditincrease:
  7934. description: 今日其它授信增加
  7935. type: number
  7936. otherfreezemargin:
  7937. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  7938. type: number
  7939. outamount:
  7940. description: 今日出金金额(包括三方出金)
  7941. type: number
  7942. outamountfreeze:
  7943. description: 出金冻结
  7944. type: number
  7945. outthreshold:
  7946. description: 出金阈值
  7947. type: number
  7948. parentaccountid:
  7949. description: 所属根账号
  7950. type: integer
  7951. paycharge:
  7952. description: 今日手续费支出
  7953. type: number
  7954. relateduserid:
  7955. description: 关联用户
  7956. type: integer
  7957. signstatus:
  7958. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  7959. type: integer
  7960. sublevelpath:
  7961. description: 账号层级路径(逗号分隔,首尾加逗号)
  7962. type: string
  7963. taaccounttype:
  7964. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  7965. type: integer
  7966. thirdinamount:
  7967. description: 今日三方入金
  7968. type: number
  7969. thirdoutamount:
  7970. description: 今日三方出金
  7971. type: number
  7972. tradestatus:
  7973. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7974. type: integer
  7975. transferamount:
  7976. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  7977. type: number
  7978. usedmargin:
  7979. description: 占用保证金
  7980. type: number
  7981. userid:
  7982. description: 用户ID
  7983. type: integer
  7984. type: object
  7985. models.ErmcpTaAccountM:
  7986. properties:
  7987. accountid:
  7988. description: 账户id
  7989. type: integer
  7990. accountname:
  7991. description: 账户名称
  7992. type: string
  7993. currencyid:
  7994. description: 币种id
  7995. type: integer
  7996. fcid:
  7997. description: 期货公司id
  7998. type: integer
  7999. fcname:
  8000. description: 期货公司代码
  8001. type: string
  8002. hedgeaccountcode:
  8003. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  8004. type: string
  8005. ismain:
  8006. description: 是否主账户 0-否 1-是
  8007. type: integer
  8008. parentaccountid:
  8009. description: 父账户id
  8010. type: integer
  8011. relateduserid:
  8012. description: 关联userid
  8013. type: integer
  8014. tradefeetmpid:
  8015. description: 手续费模板id
  8016. type: integer
  8017. tradefeetmpname:
  8018. description: 手续费模板名称
  8019. type: string
  8020. trademargintmpid:
  8021. description: 保证金模板id
  8022. type: integer
  8023. trademargintmpname:
  8024. description: 保证金模板名称
  8025. type: string
  8026. traderatetmpid:
  8027. description: 汇率模板id
  8028. type: integer
  8029. traderatetmpname:
  8030. description: 汇率模板名称
  8031. type: string
  8032. tradestatus:
  8033. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  8034. type: integer
  8035. userid:
  8036. description: 用户id
  8037. type: integer
  8038. type: object
  8039. models.ErmcpTradeConfigTMP:
  8040. properties:
  8041. areauserid:
  8042. description: 所属机构
  8043. type: integer
  8044. basiccurrencyid:
  8045. description: 基本币种ID[汇率] - 目标币种
  8046. type: integer
  8047. mainaccountid:
  8048. description: 主账户ID
  8049. type: integer
  8050. modifierid:
  8051. description: 修改人
  8052. type: integer
  8053. remark:
  8054. description: 备注
  8055. type: string
  8056. tradeconfigtmpid:
  8057. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  8058. type: integer
  8059. tradeconfigtmpname:
  8060. description: 交易配置模板名称
  8061. type: string
  8062. tradeconfigtmptype:
  8063. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  8064. type: integer
  8065. updatetime:
  8066. description: 更新时间
  8067. type: string
  8068. type: object
  8069. models.Externalexchange:
  8070. properties:
  8071. autoid:
  8072. description: AutoID - SEQ_EXTERNALEXCHANGE
  8073. type: integer
  8074. exchangefullname:
  8075. description: 外部交易所全称
  8076. type: string
  8077. exexchangecode:
  8078. description: 外部交易所代码
  8079. type: string
  8080. exexchangename:
  8081. description: 外部交易所名称(简称)
  8082. type: string
  8083. ismarketprice:
  8084. description: 是否支持市价 - 0:不支持 1:支持
  8085. type: integer
  8086. quotegear:
  8087. description: 行情档位(1-10)
  8088. type: integer
  8089. showbrokerflag:
  8090. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  8091. type: integer
  8092. updatetime:
  8093. description: 更新时间
  8094. type: string
  8095. required:
  8096. - autoid
  8097. type: object
  8098. models.Funcmenulist:
  8099. properties:
  8100. iconame:
  8101. description: 菜单图标
  8102. type: string
  8103. menutype:
  8104. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  8105. type: integer
  8106. parentcode:
  8107. description: 上级资源代码
  8108. type: string
  8109. remark:
  8110. description: 备注
  8111. type: string
  8112. resourcecode:
  8113. description: 资源代码
  8114. type: string
  8115. resourcelevel:
  8116. description: 级别 1-一级 2-二级 3-三级 4-四级
  8117. type: integer
  8118. resourcename:
  8119. description: 资源名
  8120. type: string
  8121. sort:
  8122. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  8123. type: integer
  8124. url:
  8125. description: URL
  8126. type: string
  8127. required:
  8128. - resourcecode
  8129. type: object
  8130. models.Goods:
  8131. properties:
  8132. agreeunit:
  8133. description: 合约单位
  8134. type: number
  8135. areauserid:
  8136. description: 所属机构
  8137. type: integer
  8138. auditaccountid:
  8139. description: 审核操作员账号
  8140. type: integer
  8141. audittime:
  8142. description: 审核时间
  8143. type: string
  8144. cancelaccountid:
  8145. description: 注销操作员账号
  8146. type: integer
  8147. canceltime:
  8148. description: 注销时间
  8149. type: string
  8150. closepricemode:
  8151. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8152. type: integer
  8153. closepriceparam:
  8154. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  8155. type: number
  8156. createtime:
  8157. description: 创建时间
  8158. type: string
  8159. creatorid:
  8160. description: 创建人
  8161. type: integer
  8162. currencyid:
  8163. description: 报价货币ID
  8164. type: integer
  8165. cutmode:
  8166. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  8167. type: integer
  8168. decimalplace:
  8169. description: 报价小数位
  8170. type: integer
  8171. delistingdate:
  8172. description: 商品退市时间(状态:退市) -- 已作废
  8173. type: string
  8174. delistingmode:
  8175. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  8176. type: integer
  8177. deliveryflag:
  8178. description: 交割标志 - 0:不可交割 1:可交割
  8179. type: integer
  8180. forceclosemode:
  8181. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  8182. type: integer
  8183. forceclosevalue:
  8184. description: 定期强平参数 [收益权]
  8185. type: integer
  8186. goodscode:
  8187. description: 商品代码(内部)
  8188. type: string
  8189. goodscurrencyid:
  8190. description: 合约货币ID
  8191. type: integer
  8192. goodsgroupid:
  8193. description: 所属商品组ID
  8194. type: integer
  8195. goodsid:
  8196. description: 商品ID(自增ID SEQ_GOODS)
  8197. type: integer
  8198. goodsname:
  8199. description: 商品名称
  8200. type: string
  8201. goodsquotetype:
  8202. description: '合约报价类型: 1-直接报价 2-间接报价'
  8203. type: integer
  8204. goodsstatus:
  8205. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8206. type: integer
  8207. goodstradetype:
  8208. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  8209. type: integer
  8210. goodunitid:
  8211. description: 报价单位ID
  8212. type: integer
  8213. hasquoter:
  8214. description: 是否有报价商 - 0:无报价商 1:有报价商
  8215. type: integer
  8216. hqprotecttime:
  8217. description: 行情保护时间(秒)
  8218. type: integer
  8219. innerdealmode:
  8220. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8221. type: integer
  8222. isbuylimited:
  8223. description: 是否限制建仓量 - 0:不限制 1:限制
  8224. type: integer
  8225. isvisible:
  8226. description: 游客是否可见 - 0:不可见 1:可见
  8227. type: integer
  8228. lasttradedate:
  8229. description: 最后交易日期(状态:待退市)
  8230. type: string
  8231. listingdate:
  8232. description: 交易开始日期
  8233. type: string
  8234. marketid:
  8235. description: 所属市场ID
  8236. type: integer
  8237. modifierid:
  8238. description: 修改人
  8239. type: integer
  8240. modifystatus:
  8241. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  8242. type: integer
  8243. modifytime:
  8244. description: 修改时间
  8245. type: string
  8246. outerdealmode:
  8247. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8248. type: integer
  8249. outgoodscode:
  8250. description: 商品代码(外部)
  8251. type: string
  8252. pictureurl:
  8253. description: 商品图片
  8254. type: string
  8255. qtydecimalplace:
  8256. description: 成交量小数位
  8257. type: integer
  8258. quotegear:
  8259. description: 行情档位(1-10)
  8260. type: integer
  8261. quoteminunit:
  8262. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8263. type: integer
  8264. quoteshowtype:
  8265. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  8266. type: integer
  8267. quoteshowtypeinterval:
  8268. description: 行情报价间隔时间(秒)(成交价时为0)
  8269. type: integer
  8270. remark:
  8271. description: 备注
  8272. type: string
  8273. required:
  8274. - goodscode
  8275. - goodsid
  8276. - goodsname
  8277. - marketid
  8278. type: object
  8279. models.GoodsIDAndName:
  8280. properties:
  8281. goodscode:
  8282. description: 商品代码(内部)
  8283. type: string
  8284. goodsid:
  8285. description: 商品ID(自增ID SEQ_GOODS)
  8286. type: integer
  8287. goodsname:
  8288. description: 商品名称
  8289. type: string
  8290. marketid:
  8291. description: 所属市场ID
  8292. type: integer
  8293. required:
  8294. - goodscode
  8295. - goodsid
  8296. - goodsname
  8297. - marketid
  8298. type: object
  8299. models.Goodsgroup:
  8300. properties:
  8301. agreeunit:
  8302. description: 合约单位
  8303. type: number
  8304. canshort:
  8305. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  8306. type: integer
  8307. closepricemode:
  8308. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  8309. type: integer
  8310. closepriceparam:
  8311. description: 强平最新价浮动比例 - 方式为2时使用
  8312. type: number
  8313. createtime:
  8314. description: 创建时间
  8315. type: string
  8316. creatorid:
  8317. description: 创建人
  8318. type: integer
  8319. currencyid:
  8320. description: 报价货币ID
  8321. type: integer
  8322. decimalplace:
  8323. description: 报价小数位
  8324. type: integer
  8325. exercisetype:
  8326. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  8327. type: integer
  8328. exexchangeid:
  8329. description: 外部交易所ID[通道交易]
  8330. type: integer
  8331. goodsgroupid:
  8332. description: 商品组ID(自增ID)
  8333. type: integer
  8334. goodsgroupname:
  8335. description: 商品组名称
  8336. type: string
  8337. goodsgroupstatus:
  8338. description: 商品组状态 - 1:正常 2:注销
  8339. type: integer
  8340. goodunitid:
  8341. description: 报价单位ID
  8342. type: integer
  8343. innerdealmode:
  8344. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  8345. type: integer
  8346. isbuylimited:
  8347. description: 是否限制建仓量 - 0:不限制 1:限制
  8348. type: integer
  8349. marketid:
  8350. description: 所属市场ID
  8351. type: integer
  8352. modifierid:
  8353. description: 修改人
  8354. type: integer
  8355. modifytime:
  8356. description: 修改时间
  8357. type: string
  8358. outerdealmode:
  8359. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  8360. type: integer
  8361. outergroupcode:
  8362. description: 外部商品组代码[通道交易]
  8363. type: string
  8364. premiumdecimalplace:
  8365. description: 权利金小数位[场外期权]
  8366. type: integer
  8367. premiumspreadalgorithm:
  8368. description: 权利金点差方式[场外期权] 1:比率 2:固定
  8369. type: integer
  8370. premiumspreadvalue:
  8371. description: 权利金点差值[场外期权]
  8372. type: number
  8373. qtydecimalplace:
  8374. description: 成交量小数位
  8375. type: integer
  8376. quotegear:
  8377. description: 行情档位(1-10)
  8378. type: integer
  8379. quoteminunit:
  8380. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8381. type: integer
  8382. quoterid:
  8383. description: 报价商ID[场外期权]
  8384. type: integer
  8385. quotesourcegroupid:
  8386. description: 所属行情源分组ID[参考行情市场用\通道交易]
  8387. type: integer
  8388. syncgoodsqty:
  8389. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  8390. type: integer
  8391. required:
  8392. - goodsgroupid
  8393. - goodsgroupname
  8394. - goodsgroupstatus
  8395. - marketid
  8396. type: object
  8397. models.Goodssortbypreposition:
  8398. properties:
  8399. goodscode:
  8400. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  8401. type: string
  8402. goodsgroupcode:
  8403. description: 品种代码
  8404. type: string
  8405. prepositionqty:
  8406. description: 昨持仓量
  8407. type: integer
  8408. sortindex:
  8409. description: 排序
  8410. type: integer
  8411. tradedate:
  8412. description: 交易日
  8413. type: string
  8414. updatetime:
  8415. description: 更新时间
  8416. type: string
  8417. required:
  8418. - goodscode
  8419. - tradedate
  8420. type: object
  8421. models.Hedgeinnerholderdetail:
  8422. properties:
  8423. accountid:
  8424. description: 账号ID
  8425. type: integer
  8426. buyorsell:
  8427. description: 方向 - 0:买 1:卖
  8428. type: integer
  8429. freezeqty:
  8430. description: 冻结数量 - 按单平使用
  8431. type: integer
  8432. goodsid:
  8433. description: 商品ID
  8434. type: integer
  8435. holderamount:
  8436. description: 持仓金额 [商品币种]
  8437. type: number
  8438. holderdays:
  8439. description: 剩余冻结天数
  8440. type: integer
  8441. holderprice:
  8442. description: 持仓价格
  8443. type: number
  8444. holderqty:
  8445. description: 持仓数量
  8446. type: integer
  8447. marketid:
  8448. description: 市场ID
  8449. type: integer
  8450. openprice:
  8451. description: 建仓价格
  8452. type: number
  8453. openqty:
  8454. description: 建仓数量
  8455. type: integer
  8456. parentaccountid:
  8457. description: 所属母账户
  8458. type: integer
  8459. releaseamount:
  8460. description: 释放持仓金额[商品币种]
  8461. type: number
  8462. tradeamount:
  8463. description: 成交金额[账户]
  8464. type: number
  8465. tradedate:
  8466. description: 交易日(yyyyMMdd)
  8467. type: string
  8468. tradeid:
  8469. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8470. type: string
  8471. tradetime:
  8472. description: 交易时间
  8473. type: string
  8474. required:
  8475. - buyorsell
  8476. - tradeid
  8477. type: object
  8478. models.Hedgemarketopenlog:
  8479. properties:
  8480. accountid:
  8481. description: 资金账号[外部母账户]
  8482. type: integer
  8483. fcname:
  8484. description: 期货公司名称
  8485. type: string
  8486. handlestatus:
  8487. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  8488. type: integer
  8489. marketid:
  8490. description: 市场ID
  8491. type: integer
  8492. status:
  8493. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  8494. type: integer
  8495. tradedate:
  8496. description: 交易日(yyyyMMdd)
  8497. type: string
  8498. updatetime:
  8499. description: 更新时间
  8500. type: string
  8501. required:
  8502. - accountid
  8503. type: object
  8504. models.HsbyBuyMyPayOrder:
  8505. properties:
  8506. agreeunit:
  8507. description: 合约单位
  8508. type: number
  8509. buyaccountid:
  8510. description: 买方账号ID[报价币种]
  8511. type: integer
  8512. buyorderid:
  8513. description: 买方委托单号
  8514. type: string
  8515. createtime:
  8516. description: 创建时间
  8517. type: string
  8518. currencysign:
  8519. description: 货币符号
  8520. type: string
  8521. decimalplace:
  8522. description: 报价小数位
  8523. type: integer
  8524. goodscode:
  8525. description: 商品代码(内部)
  8526. type: string
  8527. goodsid:
  8528. description: 商品ID
  8529. type: integer
  8530. goodsname:
  8531. description: 商品名称
  8532. type: string
  8533. marketid:
  8534. description: 市场ID
  8535. type: integer
  8536. offamount:
  8537. description: 优惠金额
  8538. type: number
  8539. originalamount:
  8540. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  8541. type: number
  8542. payamount:
  8543. description: 支付金额 = TradeAmount + TradeCharge
  8544. type: number
  8545. payflag:
  8546. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8547. type: integer
  8548. paylimitedtime:
  8549. description: 支付期限
  8550. type: string
  8551. paytime:
  8552. description: 付款时间
  8553. type: string
  8554. picurls1:
  8555. description: 预售商品介绍图片[多张用逗号分隔]
  8556. type: string
  8557. picurls2:
  8558. description: 挂牌商品介绍图片[多张用逗号分隔]
  8559. type: string
  8560. sellaccountid:
  8561. description: 卖方账号ID[报价币种]
  8562. type: integer
  8563. sellorderid:
  8564. description: 卖方委托单号
  8565. type: string
  8566. tradeamount:
  8567. description: 成交金额
  8568. type: number
  8569. tradecharge:
  8570. description: 成交手续费(买方)
  8571. type: number
  8572. tradedate:
  8573. description: 交易日(yyyyMMdd)
  8574. type: string
  8575. tradeid:
  8576. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8577. type: string
  8578. trademode:
  8579. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8580. 21:竞拍-大宗式 22:受托竞价
  8581. type: integer
  8582. tradeprice:
  8583. description: 成交价格
  8584. type: number
  8585. tradeqty:
  8586. description: 成交数量
  8587. type: integer
  8588. vendorname1:
  8589. description: 预售商品供应商名称
  8590. type: string
  8591. vendorname2:
  8592. description: 挂牌商品供应商名称
  8593. type: string
  8594. required:
  8595. - goodscode
  8596. - goodsname
  8597. - tradeid
  8598. - trademode
  8599. type: object
  8600. models.HsbyBuyMyTradeDetail:
  8601. properties:
  8602. accountid:
  8603. description: 账户ID[报价币种]
  8604. type: integer
  8605. agreeunit:
  8606. description: 合约单位
  8607. type: number
  8608. amount:
  8609. description: 金额 = 价格 * 数量 * 合约单位
  8610. type: number
  8611. buyorsell:
  8612. description: 买卖 - 0:买 1:卖
  8613. type: integer
  8614. currencysign:
  8615. description: 货币符号
  8616. type: string
  8617. decimalplace:
  8618. description: 报价小数位
  8619. type: integer
  8620. goodscode:
  8621. description: 商品代码(内部)
  8622. type: string
  8623. goodsid:
  8624. description: 商品ID
  8625. type: integer
  8626. goodsname:
  8627. description: 商品名称
  8628. type: string
  8629. marketid:
  8630. description: 市场ID
  8631. type: integer
  8632. orderamount:
  8633. description: 委托金额
  8634. type: number
  8635. orderid:
  8636. description: 单号(成交单号)
  8637. type: string
  8638. picurls1:
  8639. description: 预售商品介绍图片[多张用逗号分隔]
  8640. type: string
  8641. picurls2:
  8642. description: 挂牌商品介绍图片[多张用逗号分隔]
  8643. type: string
  8644. price:
  8645. description: 价格
  8646. type: number
  8647. qty:
  8648. description: 数量
  8649. type: integer
  8650. time:
  8651. description: 时间
  8652. type: string
  8653. trademode:
  8654. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8655. 21:竞拍-大宗式 22:受托竞价
  8656. type: integer
  8657. vendorname1:
  8658. description: 预售商品供应商名称
  8659. type: string
  8660. vendorname2:
  8661. description: 挂牌商品供应商名称
  8662. type: string
  8663. required:
  8664. - accountid
  8665. - buyorsell
  8666. - goodscode
  8667. - goodsid
  8668. - goodsname
  8669. - marketid
  8670. - orderid
  8671. - qty
  8672. - time
  8673. - trademode
  8674. type: object
  8675. models.HsbyGoodsOrderDetail:
  8676. properties:
  8677. buyorsell:
  8678. description: 买卖 - 0:买 1:卖
  8679. type: integer
  8680. currencysign:
  8681. description: 货币符号
  8682. type: string
  8683. customername:
  8684. description: 客户名称(企业名称),已脱敏
  8685. type: string
  8686. enableqty:
  8687. description: 可用数量
  8688. type: integer
  8689. goodunit:
  8690. description: 报价单位
  8691. type: string
  8692. orderid:
  8693. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8694. type: string
  8695. orderprice:
  8696. description: 委托价格
  8697. type: number
  8698. ordertime:
  8699. description: 委托时间
  8700. type: string
  8701. required:
  8702. - buyorsell
  8703. - orderid
  8704. - ordertime
  8705. type: object
  8706. models.HsbyListingGoodsDetail:
  8707. properties:
  8708. agreeunit:
  8709. description: 合约单位
  8710. type: number
  8711. buymaxqty:
  8712. description: 购买上限 [71] - 0为不限
  8713. type: integer
  8714. currency:
  8715. description: 货币
  8716. type: string
  8717. currencysign:
  8718. description: 货币符号
  8719. type: string
  8720. decimalplace:
  8721. description: 报价小数位
  8722. type: integer
  8723. desccityid:
  8724. description: 目的地(市)ID
  8725. type: integer
  8726. descprovinceid:
  8727. description: 目的地(省)ID
  8728. type: integer
  8729. goodscode:
  8730. description: 商品代码(内部)
  8731. type: string
  8732. goodsdesc:
  8733. description: 商品详情
  8734. type: string
  8735. goodsid:
  8736. description: 商品ID(自增ID SEQ_GOODS)
  8737. type: integer
  8738. goodsname:
  8739. description: 商品名称
  8740. type: string
  8741. goodsprice:
  8742. description: 商品价格
  8743. type: number
  8744. hotindex:
  8745. description: 景点热度
  8746. type: integer
  8747. last:
  8748. description: 现价
  8749. type: number
  8750. limitdown:
  8751. description: 跌停价
  8752. type: number
  8753. limitup:
  8754. description: 涨停价
  8755. type: number
  8756. lotsize:
  8757. description: 手数最小变动单位
  8758. type: integer
  8759. marketid:
  8760. description: 所属市场ID
  8761. type: integer
  8762. picurls:
  8763. description: 介绍图片[多张用逗号分隔]
  8764. type: string
  8765. quoteminunit:
  8766. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8767. type: integer
  8768. stepvalue:
  8769. description: 价格最小变动单位
  8770. type: number
  8771. trademode:
  8772. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8773. 21:竞拍-大宗式 22:受托竞价
  8774. type: integer
  8775. vendorattr:
  8776. description: 供应商附件(多张,逗号分隔)
  8777. type: string
  8778. vendorname:
  8779. description: 供应商名称
  8780. type: string
  8781. vendorphone:
  8782. description: 供应商客服电话
  8783. type: string
  8784. videourls:
  8785. description: 介绍视频[多张用逗号分隔]
  8786. type: string
  8787. required:
  8788. - goodscode
  8789. - goodsid
  8790. - goodsname
  8791. - marketid
  8792. - trademode
  8793. type: object
  8794. models.HsbyMarketGoods:
  8795. properties:
  8796. accountid:
  8797. description: 账户ID[报价币种]
  8798. type: integer
  8799. agreeunit:
  8800. description: 合约单位
  8801. type: number
  8802. buyorsell:
  8803. description: 买卖 - 0:买 1:卖
  8804. type: integer
  8805. categoryid:
  8806. description: 类别ID(WRCATEGORY)
  8807. type: integer
  8808. currency:
  8809. description: 货币
  8810. type: string
  8811. currencysign:
  8812. description: 货币符号
  8813. type: string
  8814. customername:
  8815. description: 卖家名称
  8816. type: string
  8817. decimalplace:
  8818. description: 报价小数位
  8819. type: integer
  8820. goodscode:
  8821. description: 商品代码(内部)
  8822. type: string
  8823. goodsid:
  8824. description: 商品ID
  8825. type: integer
  8826. goodsname:
  8827. description: 商品名称
  8828. type: string
  8829. goodsprice:
  8830. description: 商品价格
  8831. type: number
  8832. hascoupon:
  8833. description: 是否可用优惠卷
  8834. type: boolean
  8835. hotindex:
  8836. description: 景点热度
  8837. type: integer
  8838. marketid:
  8839. description: 市场ID
  8840. type: integer
  8841. orderid:
  8842. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8843. type: string
  8844. orderprice:
  8845. description: 委托价格
  8846. type: number
  8847. orderstatus:
  8848. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8849. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8850. 16:成交失败违约(荷兰式竞拍专用)
  8851. type: integer
  8852. picurls:
  8853. description: 介绍图片[多张用逗号分隔]
  8854. type: string
  8855. quoteminunit:
  8856. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8857. type: integer
  8858. sellUserID:
  8859. description: 卖方UserID
  8860. type: integer
  8861. trademode:
  8862. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8863. 21:竞拍-大宗式 22:受托竞价
  8864. type: integer
  8865. videourls:
  8866. description: 介绍视频[多张用逗号分隔]
  8867. type: string
  8868. required:
  8869. - accountid
  8870. - buyorsell
  8871. - goodscode
  8872. - goodsid
  8873. - goodsname
  8874. - marketid
  8875. - orderid
  8876. - trademode
  8877. type: object
  8878. models.HsbyMarketGoodsDetail:
  8879. properties:
  8880. accountid:
  8881. description: 账户ID[报价币种]
  8882. type: integer
  8883. agreeunit:
  8884. description: 合约单位
  8885. type: number
  8886. buymaxqty:
  8887. description: 购买上限 [71] - 0为不限
  8888. type: integer
  8889. buyorsell:
  8890. description: 买卖 - 0:买 1:卖
  8891. type: integer
  8892. cancelqty:
  8893. description: 撤单数量
  8894. type: integer
  8895. categoryid:
  8896. description: 类别ID(WRCATEGORY)
  8897. type: integer
  8898. currency:
  8899. description: 货币
  8900. type: string
  8901. currencysign:
  8902. description: 货币符号
  8903. type: string
  8904. customername:
  8905. description: 卖家名称
  8906. type: string
  8907. decimalplace:
  8908. description: 报价小数位
  8909. type: integer
  8910. goodscode:
  8911. description: 商品代码(内部)
  8912. type: string
  8913. goodsdesc:
  8914. description: 商品详情
  8915. type: string
  8916. goodsid:
  8917. description: 商品ID
  8918. type: integer
  8919. goodsname:
  8920. description: 商品名称
  8921. type: string
  8922. goodsprice:
  8923. description: 商品价格
  8924. type: number
  8925. hotindex:
  8926. description: 景点热度
  8927. type: integer
  8928. lotsize:
  8929. description: 手数最小变动单位
  8930. type: integer
  8931. marketid:
  8932. description: 市场ID
  8933. type: integer
  8934. orderid:
  8935. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8936. type: string
  8937. orderprice:
  8938. description: 委托价格
  8939. type: number
  8940. orderqty:
  8941. description: 委托数量
  8942. type: integer
  8943. orderstatus:
  8944. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8945. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8946. 16:成交失败违约(荷兰式竞拍专用)
  8947. type: integer
  8948. picurls:
  8949. description: 介绍图片[多张用逗号分隔]
  8950. type: string
  8951. quoteminunit:
  8952. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8953. type: integer
  8954. sellUserID:
  8955. description: 卖方UserID
  8956. type: integer
  8957. trademode:
  8958. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8959. 21:竞拍-大宗式 22:受托竞价
  8960. type: integer
  8961. tradeqty:
  8962. description: 成交数量
  8963. type: integer
  8964. vendorattr:
  8965. description: 供应商附件(多张,逗号分隔)
  8966. type: string
  8967. vendorname:
  8968. description: 供应商名称
  8969. type: string
  8970. vendorphone:
  8971. description: 供应商客服电话
  8972. type: string
  8973. videourls:
  8974. description: 介绍视频[多张用逗号分隔]
  8975. type: string
  8976. required:
  8977. - accountid
  8978. - buyorsell
  8979. - goodscode
  8980. - goodsid
  8981. - goodsname
  8982. - marketid
  8983. - orderid
  8984. - orderqty
  8985. - trademode
  8986. type: object
  8987. models.HsbyMarketInfo:
  8988. properties:
  8989. marketid:
  8990. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8991. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8992. type: integer
  8993. marketname:
  8994. description: 市场名称
  8995. type: string
  8996. marketstatus:
  8997. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8998. type: integer
  8999. trademode:
  9000. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9001. 21:竞拍-大宗式 22:受托竞价
  9002. type: integer
  9003. required:
  9004. - marketid
  9005. - marketstatus
  9006. - trademode
  9007. type: object
  9008. models.HsbyMyGoods:
  9009. properties:
  9010. accountid:
  9011. description: 账号Id
  9012. type: integer
  9013. agreeunit:
  9014. description: 合约单位
  9015. type: number
  9016. buyaverageprice:
  9017. description: 持仓均价
  9018. type: number
  9019. buycurholderamount:
  9020. description: 买当前持仓总金额[商品币种]
  9021. type: number
  9022. buycurpositionqty:
  9023. description: 买当前持仓总数量
  9024. type: integer
  9025. buymaxqty:
  9026. description: 购买上限 [71] - 0为不限
  9027. type: integer
  9028. currencysign:
  9029. description: 货币符号
  9030. type: string
  9031. decimalplace:
  9032. description: 报价小数位
  9033. type: integer
  9034. enableqty:
  9035. description: 可用数量
  9036. type: integer
  9037. goodscode:
  9038. description: 商品代码(内部)
  9039. type: string
  9040. goodsid:
  9041. description: 商品Id
  9042. type: integer
  9043. goodsname:
  9044. description: 商品名称
  9045. type: string
  9046. goodsprice:
  9047. description: 商品价格
  9048. type: number
  9049. goodsstatus:
  9050. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  9051. type: integer
  9052. last:
  9053. description: 现价(仅使用于挂牌点选)
  9054. type: number
  9055. limitdown:
  9056. description: 跌停价(仅使用于挂牌点选)
  9057. type: number
  9058. limitup:
  9059. description: 涨停价(仅使用于挂牌点选)
  9060. type: number
  9061. lotsize:
  9062. description: 手数最小变动单位
  9063. type: integer
  9064. marketid:
  9065. description: 所属市场ID
  9066. type: integer
  9067. picurls:
  9068. description: 介绍图片[多张用逗号分隔]
  9069. type: string
  9070. quoteminunit:
  9071. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9072. type: integer
  9073. stepvalue:
  9074. description: 价格最小变动单位
  9075. type: number
  9076. trademode:
  9077. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9078. 21:竞拍-大宗式 22:受托竞价
  9079. type: integer
  9080. required:
  9081. - accountid
  9082. - goodscode
  9083. - goodsid
  9084. - goodsname
  9085. - marketid
  9086. - trademode
  9087. type: object
  9088. models.HsbyMyPackage:
  9089. properties:
  9090. accountid:
  9091. description: 账户ID
  9092. type: integer
  9093. address:
  9094. description: 提货人详细地址
  9095. type: string
  9096. agreeunit:
  9097. description: 合约单位
  9098. type: number
  9099. amount:
  9100. description: 提货金额
  9101. type: number
  9102. auditer:
  9103. description: 审核人
  9104. type: integer
  9105. audittime:
  9106. description: 审核时间
  9107. type: string
  9108. averageprice:
  9109. description: 均价
  9110. type: number
  9111. cardnum:
  9112. description: 提货人证件号码
  9113. type: string
  9114. cardtypeid:
  9115. description: 提货人证件类型
  9116. type: integer
  9117. checkremark:
  9118. description: 审核备注
  9119. type: string
  9120. currencysign:
  9121. description: 货币符号
  9122. type: string
  9123. decimalplace:
  9124. description: 报价小数位
  9125. type: integer
  9126. goodscode:
  9127. description: 商品代码(内部)
  9128. type: string
  9129. goodsid:
  9130. description: 商品ID
  9131. type: integer
  9132. goodsname:
  9133. description: 商品名称
  9134. type: string
  9135. handlestatus:
  9136. description: 处理状态
  9137. type: integer
  9138. marketid:
  9139. description: 市场ID
  9140. type: integer
  9141. phonenum:
  9142. description: 提货人联系方式
  9143. type: string
  9144. picurls:
  9145. description: 介绍图片[多张用逗号分隔]
  9146. type: string
  9147. qty:
  9148. description: 提货数量
  9149. type: number
  9150. recivername:
  9151. description: 提货人姓名
  9152. type: string
  9153. reqtime:
  9154. description: 更新时间
  9155. type: string
  9156. takemode:
  9157. description: 提货方式 - 2:自提 3:配送
  9158. type: integer
  9159. takeorderid:
  9160. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  9161. type: string
  9162. takeorderstatus:
  9163. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  9164. type: integer
  9165. takeremark:
  9166. description: 提货备注
  9167. type: string
  9168. tradedate:
  9169. description: 交易日(yyyyMMdd)
  9170. type: string
  9171. trademode:
  9172. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9173. 21:竞拍-大宗式 22:受托竞价
  9174. type: integer
  9175. userid:
  9176. description: 用户ID
  9177. type: integer
  9178. vendorname:
  9179. description: 供应商名称
  9180. type: string
  9181. required:
  9182. - goodscode
  9183. - goodsname
  9184. - takeorderid
  9185. - trademode
  9186. type: object
  9187. models.HsbyPreGoods:
  9188. properties:
  9189. agreeunit:
  9190. description: 合约单位
  9191. type: number
  9192. currency:
  9193. description: 货币
  9194. type: string
  9195. currencysign:
  9196. description: 货币符号
  9197. type: string
  9198. decimalplace:
  9199. description: 报价小数位
  9200. type: integer
  9201. desccityid:
  9202. description: 目的地(市)
  9203. type: integer
  9204. descprovinceid:
  9205. description: 目的地(省)
  9206. type: integer
  9207. enableqty:
  9208. description: 剩余数量
  9209. type: integer
  9210. goodscode:
  9211. description: 商品代码(内部)
  9212. type: string
  9213. goodsid:
  9214. description: 商品ID(自增ID SEQ_GOODS)
  9215. type: integer
  9216. goodsname:
  9217. description: 商品名称
  9218. type: string
  9219. goodsstatus:
  9220. description: 商品状态- 2:未上市 3:上市
  9221. type: integer
  9222. lasttradedate:
  9223. description: 最后交易日期(状态:待退市)
  9224. type: string
  9225. listingdate:
  9226. description: 交易开始日期
  9227. type: string
  9228. marketid:
  9229. description: 所属市场ID
  9230. type: integer
  9231. picurls:
  9232. description: 介绍图片[多张用逗号分隔]
  9233. type: string
  9234. presaledqty:
  9235. description: 已预售量(预售结束时更新)
  9236. type: integer
  9237. presaleqty:
  9238. description: 预售数量
  9239. type: integer
  9240. quoteminunit:
  9241. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9242. type: integer
  9243. refprice:
  9244. description: 参考价格[一口价]
  9245. type: number
  9246. relatedgoodsid:
  9247. description: 关联交易合约ID
  9248. type: integer
  9249. trademode:
  9250. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9251. 21:竞拍-大宗式 22:受托竞价
  9252. type: integer
  9253. videourls:
  9254. description: 介绍视频[多张用逗号分隔]
  9255. type: string
  9256. required:
  9257. - goodscode
  9258. - goodsid
  9259. - goodsname
  9260. - marketid
  9261. - trademode
  9262. type: object
  9263. models.HsbyPreGoodsDetail:
  9264. properties:
  9265. agreeunit:
  9266. description: 合约单位
  9267. type: number
  9268. buymaxqty:
  9269. description: 购买上限 [71] - 0为不限
  9270. type: integer
  9271. currency:
  9272. description: 货币
  9273. type: string
  9274. currencysign:
  9275. description: 货币符号
  9276. type: string
  9277. customername:
  9278. description: 发行单位
  9279. type: string
  9280. decimalplace:
  9281. description: 报价小数位
  9282. type: integer
  9283. desccityid:
  9284. description: 目的地(市)ID
  9285. type: integer
  9286. descprovinceid:
  9287. description: 目的地(省)ID
  9288. type: integer
  9289. enableqty:
  9290. description: 剩余数量
  9291. type: integer
  9292. goodscode:
  9293. description: 商品代码(内部)
  9294. type: string
  9295. goodsdesc:
  9296. description: 商品详情
  9297. type: string
  9298. goodsid:
  9299. description: 商品ID(自增ID SEQ_GOODS)
  9300. type: integer
  9301. goodsname:
  9302. description: 商品名称
  9303. type: string
  9304. goodsstatus:
  9305. description: 商品状态- 2:未上市 3:上市
  9306. type: integer
  9307. goodunit:
  9308. description: 报价单位
  9309. type: string
  9310. lasttradedate:
  9311. description: 最后交易日期(状态:待退市)
  9312. type: string
  9313. listingdate:
  9314. description: 交易开始日期
  9315. type: string
  9316. lotsize:
  9317. description: 手数最小变动单位
  9318. type: integer
  9319. marketid:
  9320. description: 所属市场ID
  9321. type: integer
  9322. picurls:
  9323. description: 介绍图片[多张用逗号分隔]
  9324. type: string
  9325. presaledqty:
  9326. description: 已预售量(预售结束时更新)
  9327. type: integer
  9328. presaleqty:
  9329. description: 预售数量
  9330. type: integer
  9331. quoteminunit:
  9332. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9333. type: integer
  9334. refprice:
  9335. description: 参考价格[一口价]
  9336. type: number
  9337. relatedgoodsid:
  9338. description: 关联交易合约ID
  9339. type: integer
  9340. stepvalue:
  9341. description: 价格最小变动单位
  9342. type: number
  9343. trademode:
  9344. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9345. 21:竞拍-大宗式 22:受托竞价
  9346. type: integer
  9347. vendorattr:
  9348. description: 供应商附件(多张,逗号分隔)
  9349. type: string
  9350. vendorname:
  9351. description: 供应商名称
  9352. type: string
  9353. vendorphone:
  9354. description: 供应商客服电话
  9355. type: string
  9356. videourls:
  9357. description: 介绍视频[多张用逗号分隔]
  9358. type: string
  9359. required:
  9360. - goodscode
  9361. - goodsid
  9362. - goodsname
  9363. - marketid
  9364. - trademode
  9365. type: object
  9366. models.HsbySellCollectionOrder:
  9367. properties:
  9368. agreeunit:
  9369. description: 合约单位
  9370. type: number
  9371. buyaccountid:
  9372. description: 买方账号ID[报价币种]
  9373. type: integer
  9374. buyorderid:
  9375. description: 买方委托单号
  9376. type: string
  9377. createtime:
  9378. description: 创建时间
  9379. type: string
  9380. currencysign:
  9381. description: 货币符号
  9382. type: string
  9383. decimalplace:
  9384. description: 报价小数位
  9385. type: integer
  9386. goodscode:
  9387. description: 商品代码(内部)
  9388. type: string
  9389. goodsid:
  9390. description: 商品ID
  9391. type: integer
  9392. goodsname:
  9393. description: 商品名称
  9394. type: string
  9395. marketid:
  9396. description: 市场ID
  9397. type: integer
  9398. offamount:
  9399. description: 优惠金额
  9400. type: number
  9401. payamount:
  9402. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  9403. type: number
  9404. payflag:
  9405. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  9406. type: integer
  9407. paylimitedtime:
  9408. description: 支付期限
  9409. type: string
  9410. paytime:
  9411. description: 付款时间
  9412. type: string
  9413. picurls:
  9414. description: 商品介绍图片[多张用逗号分隔]
  9415. type: string
  9416. sellaccountid:
  9417. description: 卖方账号ID[报价币种]
  9418. type: integer
  9419. sellorderid:
  9420. description: 卖方委托单号
  9421. type: string
  9422. tradeamount:
  9423. description: 成交金额
  9424. type: number
  9425. tradecharge:
  9426. description: 成交手续费(买方)
  9427. type: number
  9428. tradedate:
  9429. description: 交易日(yyyyMMdd)
  9430. type: string
  9431. tradeid:
  9432. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9433. type: string
  9434. trademode:
  9435. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9436. 21:竞拍-大宗式 22:受托竞价
  9437. type: integer
  9438. tradeprice:
  9439. description: 成交价格
  9440. type: number
  9441. tradeqty:
  9442. description: 成交数量
  9443. type: integer
  9444. required:
  9445. - goodscode
  9446. - goodsname
  9447. - tradeid
  9448. - trademode
  9449. type: object
  9450. models.HsbySellMyDetail:
  9451. properties:
  9452. accountid:
  9453. description: 账户ID[报价币种]
  9454. type: integer
  9455. agreeunit:
  9456. description: 合约单位
  9457. type: number
  9458. buyorsell:
  9459. description: 买卖 - 0:买 1:卖
  9460. type: integer
  9461. currencysign:
  9462. description: 货币符号
  9463. type: string
  9464. decimalplace:
  9465. description: 报价小数位
  9466. type: integer
  9467. goodscode:
  9468. description: 商品代码(内部)
  9469. type: string
  9470. goodsid:
  9471. description: 商品ID
  9472. type: integer
  9473. goodsname:
  9474. description: 商品名称
  9475. type: string
  9476. marketid:
  9477. description: 市场ID
  9478. type: integer
  9479. orderid:
  9480. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  9481. type: string
  9482. ordertype:
  9483. description: 单据类型:0 - 发布中, 1 - 已完成
  9484. type: integer
  9485. picurls:
  9486. description: 介绍图片[多张用逗号分隔]
  9487. type: string
  9488. price:
  9489. description: 价格
  9490. type: number
  9491. qty:
  9492. description: 数量
  9493. type: integer
  9494. time:
  9495. description: 时间
  9496. type: string
  9497. trademode:
  9498. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9499. 21:竞拍-大宗式 22:受托竞价
  9500. type: integer
  9501. vendorname:
  9502. description: 供应商名称
  9503. type: string
  9504. required:
  9505. - accountid
  9506. - buyorsell
  9507. - goodscode
  9508. - goodsid
  9509. - goodsname
  9510. - marketid
  9511. - orderid
  9512. - time
  9513. - trademode
  9514. type: object
  9515. models.HsbyTopGoods:
  9516. properties:
  9517. agreeunit:
  9518. description: 合约单位
  9519. type: number
  9520. currency:
  9521. description: 货币
  9522. type: string
  9523. currencysign:
  9524. description: 货币符号
  9525. type: string
  9526. decimalplace:
  9527. description: 报价小数位
  9528. type: integer
  9529. desccityid:
  9530. description: 目的地(市)
  9531. type: integer
  9532. descprovinceid:
  9533. description: 目的地(省)
  9534. type: integer
  9535. goodscode:
  9536. description: 商品代码(内部)
  9537. type: string
  9538. goodsid:
  9539. description: 商品ID(自增ID SEQ_GOODS)
  9540. type: integer
  9541. goodsname:
  9542. description: 商品名称
  9543. type: string
  9544. hotindex:
  9545. description: 景点热度
  9546. type: integer
  9547. last:
  9548. description: 现价
  9549. type: number
  9550. marketid:
  9551. description: 所属市场ID
  9552. type: integer
  9553. picurls:
  9554. description: 介绍图片[多张用逗号分隔]
  9555. type: string
  9556. quoteminunit:
  9557. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9558. type: integer
  9559. trademode:
  9560. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9561. 21:竞拍-大宗式 22:受托竞价
  9562. type: integer
  9563. videourls:
  9564. description: 介绍视频[多张用逗号分隔]
  9565. type: string
  9566. required:
  9567. - goodscode
  9568. - goodsid
  9569. - goodsname
  9570. - marketid
  9571. - trademode
  9572. type: object
  9573. models.HybsMyBuyOrderDetail:
  9574. properties:
  9575. accountid:
  9576. description: 账户ID[报价币种]
  9577. type: integer
  9578. agreeunit:
  9579. description: 合约单位
  9580. type: number
  9581. buyorsell:
  9582. description: 买卖 - 0:买 1:卖
  9583. type: integer
  9584. cancelqty:
  9585. description: 撤单数量
  9586. type: integer
  9587. currencysign:
  9588. description: 货币符号
  9589. type: string
  9590. decimalplace:
  9591. description: 报价小数位
  9592. type: integer
  9593. goodscode:
  9594. description: 商品代码(内部)
  9595. type: string
  9596. goodsid:
  9597. description: 商品ID
  9598. type: integer
  9599. goodsname:
  9600. description: 商品名称
  9601. type: string
  9602. listingselecttype:
  9603. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9604. type: integer
  9605. marketid:
  9606. description: 市场ID
  9607. type: integer
  9608. mybuystatus:
  9609. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  9610. type: integer
  9611. orderamount:
  9612. description: 委托金额
  9613. type: number
  9614. orderid:
  9615. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9616. type: string
  9617. orderprice:
  9618. description: 委托价格
  9619. type: number
  9620. orderqty:
  9621. description: 委托数量
  9622. type: integer
  9623. orderstatus:
  9624. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  9625. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  9626. 16:成交失败违约(荷兰式竞拍专用)
  9627. type: integer
  9628. ordertime:
  9629. description: 委托时间
  9630. type: string
  9631. picurls1:
  9632. description: 预售商品介绍图片[多张用逗号分隔]
  9633. type: string
  9634. picurls2:
  9635. description: 挂牌商品介绍图片[多张用逗号分隔]
  9636. type: string
  9637. trademode:
  9638. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9639. 21:竞拍-大宗式 22:受托竞价
  9640. type: integer
  9641. tradeqty:
  9642. description: 成交数量
  9643. type: integer
  9644. vendorname1:
  9645. description: 预售商品供应商名称
  9646. type: string
  9647. vendorname2:
  9648. description: 挂牌商品供应商名称
  9649. type: string
  9650. required:
  9651. - accountid
  9652. - buyorsell
  9653. - goodscode
  9654. - goodsid
  9655. - goodsname
  9656. - marketid
  9657. - orderid
  9658. - orderqty
  9659. - ordertime
  9660. - trademode
  9661. type: object
  9662. models.Loginaccount:
  9663. properties:
  9664. accountname:
  9665. description: 账户名称
  9666. type: string
  9667. canoutin:
  9668. description: 是否可出入金 - 0:不可 1:可
  9669. type: integer
  9670. clientroleid:
  9671. description: 终端角色ID
  9672. type: integer
  9673. haslogined:
  9674. description: 是否已登录 - 0:未登录 1:已登录
  9675. type: integer
  9676. hasupdatedpwd:
  9677. description: 是否已更改密码 - 0:未修改 1:已修改
  9678. type: integer
  9679. lastloginip:
  9680. description: 最新登录地址
  9681. type: string
  9682. lastloginmode:
  9683. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  9684. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  9685. type: integer
  9686. lastloginremark:
  9687. description: 最新登录描述
  9688. type: string
  9689. lastlogintime:
  9690. description: 最新登录时间
  9691. type: string
  9692. logincode:
  9693. description: 登录代码
  9694. type: string
  9695. loginfailnum:
  9696. description: 连续登录失败次数(登录成功时清零)
  9697. type: integer
  9698. loginid:
  9699. description: 登陆账号
  9700. type: integer
  9701. loginport:
  9702. description: 最新登录端口
  9703. type: integer
  9704. loginstatus:
  9705. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  9706. type: integer
  9707. loginusertype:
  9708. description: 登录账号类型 - 1:投资者 2:机构交易员
  9709. type: integer
  9710. mobile:
  9711. description: 手机号码(加密存储)
  9712. type: string
  9713. modifierid:
  9714. description: 修改人
  9715. type: integer
  9716. modifysrc:
  9717. description: 审核来源 - 1:管理端 2:终端
  9718. type: integer
  9719. modifytime:
  9720. description: 修改时间
  9721. type: string
  9722. password:
  9723. description: 登陆密码
  9724. type: string
  9725. pwdwrongcount:
  9726. description: 密码错误次数
  9727. type: integer
  9728. relateduserid:
  9729. description: 关联用户ID(机构)
  9730. type: integer
  9731. taaccountrighttype:
  9732. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  9733. type: integer
  9734. unfreezetime:
  9735. description: 账户解冻时间
  9736. type: string
  9737. userid:
  9738. description: 用户ID
  9739. type: integer
  9740. required:
  9741. - loginid
  9742. type: object
  9743. models.MainAccountInfo:
  9744. properties:
  9745. accountid:
  9746. description: 账号id
  9747. type: integer
  9748. accountname:
  9749. description: 账号名称(taaccount表中的名称)
  9750. type: string
  9751. appid:
  9752. description: AppID
  9753. type: string
  9754. authcode:
  9755. description: 授权码
  9756. type: string
  9757. brokerid:
  9758. description: 经纪商id
  9759. type: string
  9760. fcid:
  9761. description: 期货公司id
  9762. type: integer
  9763. fcname:
  9764. description: 期货公司代码
  9765. type: string
  9766. hedgeaccountcode:
  9767. description: 外部账号代码(主账号登录代码)
  9768. type: string
  9769. hedgeaccountpwd:
  9770. description: 密码
  9771. type: string
  9772. ismain:
  9773. description: 是否主账号
  9774. type: integer
  9775. relateduserid:
  9776. description: 关联用户id
  9777. type: integer
  9778. userid:
  9779. description: 关联用户id
  9780. type: integer
  9781. type: object
  9782. models.Market:
  9783. properties:
  9784. auctionwrtype:
  9785. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  9786. type: integer
  9787. canacceptquote:
  9788. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  9789. type: integer
  9790. cangoodsexercise:
  9791. description: '[期权]是否可现货行权- 0:否 1:是'
  9792. type: integer
  9793. cangoodsexercisetype:
  9794. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  9795. type: integer
  9796. canmanualquotestrike:
  9797. description: 是否可手动报行权价- 0:否 1:是 [期权]
  9798. type: integer
  9799. canmutistage:
  9800. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  9801. type: integer
  9802. canpreexercise:
  9803. description: '[期权]是否可预申报- 0:否 1:是'
  9804. type: integer
  9805. clearinterval:
  9806. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  9807. type: integer
  9808. contracttmp:
  9809. description: 合同模板[荷兰式][竞价式][仓单贸易]
  9810. type: string
  9811. exchareaid:
  9812. description: 所属交易所,可以没有
  9813. type: integer
  9814. goodstype:
  9815. description: 商品类型 - 1:交易商品 2:仓单商品
  9816. type: integer
  9817. hasrebate:
  9818. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  9819. type: integer
  9820. hastradecredit:
  9821. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  9822. type: integer
  9823. haswr:
  9824. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  9825. type: integer
  9826. isdeductmargin:
  9827. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  9828. type: integer
  9829. isrecordsource:
  9830. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  9831. type: integer
  9832. isreleasemargin:
  9833. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  9834. type: integer
  9835. marginformula:
  9836. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9837. type: integer
  9838. marginformula2:
  9839. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9840. type: integer
  9841. marketid:
  9842. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  9843. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  9844. type: integer
  9845. marketname:
  9846. description: 市场名称
  9847. type: string
  9848. marketserviceid:
  9849. description: 市场服务ID
  9850. type: integer
  9851. marketstatus:
  9852. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  9853. type: integer
  9854. markettype:
  9855. description: 市场类型- 1:非交易服务 2:交易服务
  9856. type: integer
  9857. matchermode:
  9858. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  9859. type: integer
  9860. openmethod:
  9861. description: 开盘模式 - 0 自动 1手动
  9862. type: integer
  9863. otcuserid:
  9864. description: 场外期权做市商[场外期权]
  9865. type: integer
  9866. outersynctime:
  9867. description: 外部同步时间点(h24:mi:ss)[场外期权]
  9868. type: string
  9869. pendingflag:
  9870. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  9871. type: integer
  9872. pendingtime:
  9873. description: 待开市时间[通道交易-对冲](HH:mm)
  9874. type: string
  9875. performancetempid:
  9876. description: 履约计划模板ID - 作废
  9877. type: integer
  9878. premiumquotemode:
  9879. description: 权利金报价方式 - 1:自动 2:手动
  9880. type: integer
  9881. rebateratio:
  9882. description: 返利比率[竞价式]
  9883. type: number
  9884. reckonorder:
  9885. description: 结算顺序
  9886. type: integer
  9887. reckonpricealgorithm:
  9888. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  9889. 6.卖一价 7.买一卖一均价 8.外部结算价'
  9890. type: integer
  9891. reckonpriceparam:
  9892. description: 结算价参数
  9893. type: integer
  9894. reckontime:
  9895. description: 结算时间[通道交易-对冲](HH:mm)
  9896. type: string
  9897. roleprioritytype:
  9898. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  9899. type: integer
  9900. selllistingauditflag:
  9901. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  9902. type: integer
  9903. trademarkettype:
  9904. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  9905. type: integer
  9906. trademode:
  9907. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9908. 21:竞拍-大宗式 22:受托竞价
  9909. type: integer
  9910. tradeproperty:
  9911. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  9912. 8:场外期权
  9913. type: integer
  9914. tradetype:
  9915. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  9916. type: integer
  9917. required:
  9918. - marketid
  9919. - marketstatus
  9920. - openmethod
  9921. - reckonpricealgorithm
  9922. - trademode
  9923. - tradeproperty
  9924. type: object
  9925. models.Marketrun:
  9926. properties:
  9927. afternexttradedate:
  9928. description: 下下交易日
  9929. type: string
  9930. clearquoteflag:
  9931. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  9932. type: integer
  9933. lastreckondate:
  9934. description: 最新交易日(结算成功)
  9935. type: string
  9936. machinedate:
  9937. description: 机器时间
  9938. type: string
  9939. manualflag:
  9940. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  9941. type: integer
  9942. marketid:
  9943. description: 市场ID
  9944. type: integer
  9945. nexttradedate:
  9946. description: 下一交易日
  9947. type: string
  9948. pretradedate:
  9949. description: 上一交易日
  9950. type: string
  9951. reckonflag:
  9952. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  9953. type: integer
  9954. runstatus:
  9955. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  9956. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  9957. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  9958. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  9959. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  9960. 62.今日免清算
  9961. type: integer
  9962. sectionid:
  9963. description: 时间段号[多时段时用]
  9964. type: integer
  9965. tradedate:
  9966. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  9967. type: string
  9968. tradedate2:
  9969. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  9970. type: string
  9971. updatetime:
  9972. description: 更新时间
  9973. type: string
  9974. required:
  9975. - marketid
  9976. - nexttradedate
  9977. - reckonflag
  9978. - runstatus
  9979. - tradedate
  9980. - tradedate2
  9981. type: object
  9982. models.Messageboard:
  9983. properties:
  9984. contactnum:
  9985. description: 联系电话
  9986. type: string
  9987. createtime:
  9988. description: 创建时间
  9989. type: string
  9990. message:
  9991. description: 留言信息
  9992. type: string
  9993. messageboardid:
  9994. description: 留言簿ID(SEQ_MessageBoard)
  9995. type: integer
  9996. userid:
  9997. description: 用户ID
  9998. type: integer
  9999. required:
  10000. - messageboardid
  10001. type: object
  10002. models.MyCoupon:
  10003. properties:
  10004. accountid:
  10005. description: 资金账户ID
  10006. type: integer
  10007. areauserid:
  10008. description: 所属机构
  10009. type: integer
  10010. conditionvalue:
  10011. description: 条件阈值(可为0)
  10012. type: number
  10013. couponcategroy:
  10014. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  10015. type: integer
  10016. couponname:
  10017. description: 优惠券名称
  10018. type: string
  10019. coupontypeid:
  10020. description: 优惠券类型ID
  10021. type: string
  10022. couponvalue:
  10023. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  10024. type: number
  10025. curfreezeqty:
  10026. description: 期末冻结数量
  10027. type: integer
  10028. curqty:
  10029. description: 期末数量
  10030. type: integer
  10031. isgeneral:
  10032. description: 是否通用券 - 0:否 1:是
  10033. type: integer
  10034. isunusable:
  10035. description: 是否不可用
  10036. type: boolean
  10037. limitedflag:
  10038. description: 是否指定商品 - 0:不限 1:限制
  10039. type: integer
  10040. limitedgoodsids:
  10041. description: 指定商品IDs[逗号分隔,前后加逗号]
  10042. type: string
  10043. orifreezeqty:
  10044. description: 期初冻结数量
  10045. type: integer
  10046. oriqty:
  10047. description: 期初数量
  10048. type: integer
  10049. reasontype:
  10050. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  10051. type: integer
  10052. todaydecrease:
  10053. description: 今日减少
  10054. type: integer
  10055. todayincrease:
  10056. description: 今日增加
  10057. type: integer
  10058. userid:
  10059. description: 用户ID
  10060. type: integer
  10061. userscope:
  10062. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  10063. type: string
  10064. required:
  10065. - accountid
  10066. - coupontypeid
  10067. type: object
  10068. models.MyCouponHold:
  10069. properties:
  10070. accountid:
  10071. description: 资金账户ID
  10072. type: integer
  10073. conditionvalue:
  10074. description: 条件阈值(可为0)
  10075. type: number
  10076. couponcategroy:
  10077. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  10078. type: integer
  10079. couponholdid:
  10080. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  10081. type: string
  10082. couponname:
  10083. description: 优惠券名称
  10084. type: string
  10085. coupontypeid:
  10086. description: 优惠券类型ID - SEQ_COUPONTYPE
  10087. type: string
  10088. couponvalue:
  10089. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  10090. type: number
  10091. createtime:
  10092. description: 创建时间
  10093. type: string
  10094. enddate:
  10095. description: 结束日期
  10096. type: string
  10097. giveapplyid:
  10098. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  10099. type: integer
  10100. holdstatus:
  10101. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  10102. type: integer
  10103. isgeneral:
  10104. description: 是否通用券 - 0:否 1:是
  10105. type: integer
  10106. limitedflag:
  10107. description: 是否指定商品 - 0:不限 1:限制
  10108. type: integer
  10109. limitedgoodsids:
  10110. description: 指定商品IDs[逗号分隔]
  10111. type: string
  10112. qty:
  10113. description: 数量(按1平铺)
  10114. type: integer
  10115. startdate:
  10116. description: 开始日期
  10117. type: string
  10118. userid:
  10119. description: 用户ID
  10120. type: integer
  10121. userscope:
  10122. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  10123. type: string
  10124. required:
  10125. - couponholdid
  10126. type: object
  10127. models.MyUsedCoupon:
  10128. properties:
  10129. accountid:
  10130. description: 资金账户ID(买方)
  10131. type: integer
  10132. conditionvalue:
  10133. description: 条件阈值(可为0)
  10134. type: number
  10135. couponcategroy:
  10136. description: 种类 - 1:现金券 2:折扣券
  10137. type: integer
  10138. couponname:
  10139. description: 优惠券名称
  10140. type: string
  10141. coupontypeid:
  10142. description: 优惠券类型ID(买方)
  10143. type: string
  10144. couponvalue:
  10145. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  10146. type: number
  10147. createtime:
  10148. description: 创建时间
  10149. type: string
  10150. goodsid:
  10151. description: 商品ID
  10152. type: integer
  10153. handlestatus:
  10154. description: 处理状态
  10155. type: integer
  10156. marketid:
  10157. description: 市场ID
  10158. type: integer
  10159. offamount:
  10160. description: 优惠金额
  10161. type: number
  10162. orderid:
  10163. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10164. type: string
  10165. sellaccountid:
  10166. description: 资金账户ID(卖方)
  10167. type: integer
  10168. tradeamount:
  10169. description: 成交金额
  10170. type: number
  10171. tradeid:
  10172. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10173. type: string
  10174. usedqty:
  10175. description: 使用数量
  10176. type: integer
  10177. required:
  10178. - coupontypeid
  10179. - orderid
  10180. type: object
  10181. models.OperationPrimaryMenu:
  10182. properties:
  10183. Children:
  10184. description: 二级功能菜单
  10185. items:
  10186. $ref: '#/definitions/models.OperationSecondaryMenu'
  10187. type: array
  10188. Key:
  10189. description: 菜单KEY
  10190. type: string
  10191. Label:
  10192. description: 菜单标题
  10193. type: string
  10194. type: object
  10195. models.OperationSecondaryMenu:
  10196. properties:
  10197. Key:
  10198. description: 菜单KEY
  10199. type: string
  10200. Label:
  10201. description: 菜单标题
  10202. type: string
  10203. TabList:
  10204. description: 三级功能菜单
  10205. items:
  10206. $ref: '#/definitions/models.OperationTabMenu'
  10207. type: array
  10208. type: object
  10209. models.OperationTabMenu:
  10210. properties:
  10211. Key:
  10212. description: 菜单KEY
  10213. type: string
  10214. Label:
  10215. description: 菜单标题
  10216. type: string
  10217. type: object
  10218. models.QhjAccountOutInApply:
  10219. properties:
  10220. accountcode:
  10221. description: 资金账号
  10222. type: string
  10223. accountname:
  10224. description: 用户名称(名称)
  10225. type: string
  10226. accountpwd:
  10227. description: 资金密码
  10228. type: string
  10229. accountticket:
  10230. description: 最新账户服务流水号
  10231. type: string
  10232. amount:
  10233. description: 金额
  10234. type: number
  10235. applyremark:
  10236. description: 申请备注
  10237. type: string
  10238. applystatus:
  10239. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  10240. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  10241. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  10242. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  10243. type: integer
  10244. auditid:
  10245. description: 审核人
  10246. type: integer
  10247. audittime:
  10248. description: 审核时间
  10249. type: string
  10250. bank_apply_ticket:
  10251. description: 银行申请流水
  10252. type: string
  10253. bankaccountname:
  10254. description: 银行账户名
  10255. type: string
  10256. bankaccountno:
  10257. description: 银行卡号
  10258. type: string
  10259. bankid:
  10260. description: 银行编号
  10261. type: string
  10262. bankticket:
  10263. description: 银行流水
  10264. type: string
  10265. branchbankid:
  10266. description: 银行支行号
  10267. type: string
  10268. branchbankname:
  10269. description: 银行支行名称
  10270. type: string
  10271. capamountout:
  10272. description: 出金(劣后本金) - 外部子账户
  10273. type: number
  10274. certificatephotourl:
  10275. description: 凭证地址
  10276. type: string
  10277. charge:
  10278. description: 手续费
  10279. type: number
  10280. checkerrorflag:
  10281. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  10282. type: integer
  10283. currency:
  10284. description: 币种
  10285. type: string
  10286. cusbankid:
  10287. description: 托管银行编号
  10288. type: string
  10289. exchticket:
  10290. description: 银行服务流水号
  10291. type: string
  10292. executetype:
  10293. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  10294. 7:外部子账户:入金 8:外部子账户:出金'
  10295. type: integer
  10296. extendinfo:
  10297. description: 扩展信息
  10298. type: string
  10299. extoperateid:
  10300. description: 交易服务流水号
  10301. type: integer
  10302. infamount:
  10303. description: 劣后金额(自有)
  10304. type: number
  10305. logincode:
  10306. description: 登录账号(账号)
  10307. type: string
  10308. netaddr:
  10309. description: 调转网址
  10310. type: string
  10311. priamount:
  10312. description: 优先金额(授信)
  10313. type: number
  10314. reauditid:
  10315. description: 复审人
  10316. type: integer
  10317. reauditremark:
  10318. description: 复审备注
  10319. type: string
  10320. reaudittime:
  10321. description: 复审时间
  10322. type: string
  10323. relatedorderid:
  10324. description: 三方关联ID
  10325. type: string
  10326. remark:
  10327. description: 备注
  10328. type: string
  10329. remark2:
  10330. description: 备注(失败原因)
  10331. type: string
  10332. soucreamount:
  10333. description: 原始出入金金额
  10334. type: number
  10335. soucrecurrencyid:
  10336. description: 原始出入金币种
  10337. type: integer
  10338. tradedate:
  10339. description: 交易日(yyyyMMdd)
  10340. type: string
  10341. updatetime:
  10342. description: 更新时间(申请时间)
  10343. type: string
  10344. userid:
  10345. description: 用户id
  10346. type: integer
  10347. userinfotype:
  10348. description: 账户类型 1-个人 2-企业
  10349. type: integer
  10350. type: object
  10351. models.QhjAgreementChangeLog:
  10352. properties:
  10353. agreementcontent:
  10354. description: 协议内容
  10355. type: string
  10356. agreementfrequency:
  10357. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  10358. type: integer
  10359. agreementid:
  10360. description: 协议ID
  10361. type: integer
  10362. agreementname:
  10363. description: 协议名称
  10364. type: string
  10365. agreementno:
  10366. description: 协议编号
  10367. type: string
  10368. agreementtype:
  10369. description: 协议类型 - 1:注册 2:登录 3:交易
  10370. type: integer
  10371. agreementversion:
  10372. description: 协议版本号
  10373. type: integer
  10374. logid:
  10375. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  10376. type: integer
  10377. reviserid:
  10378. description: 修改人
  10379. type: integer
  10380. revisersrc:
  10381. description: 修改来源 - 1:管理端 2:终端
  10382. type: integer
  10383. updatetime:
  10384. description: 更新时间
  10385. type: string
  10386. type: object
  10387. models.QhjAgreementConfig:
  10388. properties:
  10389. agreementcontent:
  10390. description: 协议内容
  10391. type: string
  10392. agreementfrequency:
  10393. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  10394. type: integer
  10395. agreementid:
  10396. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  10397. type: integer
  10398. agreementname:
  10399. description: 协议名称
  10400. type: string
  10401. agreementno:
  10402. description: 协议编号
  10403. type: string
  10404. agreementtype:
  10405. description: 协议类型 - 1:注册 2:登录 3:交易
  10406. type: integer
  10407. agreementversion:
  10408. description: 协议版本号(从1开始每次修改加1)
  10409. type: integer
  10410. createtime:
  10411. description: 创建时间
  10412. type: string
  10413. creatorid:
  10414. description: 创建人
  10415. type: integer
  10416. creatorsrc:
  10417. description: 创建来源 - 1:管理端 2:终端
  10418. type: integer
  10419. isvalid:
  10420. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  10421. type: integer
  10422. reviserid:
  10423. description: 修改人
  10424. type: integer
  10425. revisersrc:
  10426. description: 修改来源 - 1:管理端 2:终端
  10427. type: integer
  10428. updatetime:
  10429. description: 更新时间
  10430. type: string
  10431. type: object
  10432. models.QhjAreaFinanceConfig:
  10433. properties:
  10434. additionalratio:
  10435. description: 追加款比例
  10436. type: number
  10437. advanceratio:
  10438. description: 预付款比例
  10439. type: number
  10440. alarmratio:
  10441. description: 告警比例
  10442. type: number
  10443. consumptiondirectreward:
  10444. description: 消费直推奖励值
  10445. type: number
  10446. consumptionenabled:
  10447. description: 是否启用消费奖励 - 0:不启用 1:启用
  10448. type: integer
  10449. consumptionindirectreward:
  10450. description: 消费间推奖励值
  10451. type: number
  10452. consumptionmodel:
  10453. description: 消费奖励方式 - 1:比率 2:固定
  10454. type: integer
  10455. customerservicenum:
  10456. description: 客服电话
  10457. type: string
  10458. dayinterestrate:
  10459. description: 日利率
  10460. type: number
  10461. disableconsumptiontips:
  10462. description: 关闭消费奖励提示
  10463. type: string
  10464. modifierid:
  10465. description: 修改人ID
  10466. type: integer
  10467. modifysrc:
  10468. description: 审核来源 - 1:管理端 2:终端
  10469. type: integer
  10470. modifytime:
  10471. description: 修改时间
  10472. type: string
  10473. promotionvalue:
  10474. description: 推广奖励值(固定)
  10475. type: number
  10476. scoreconfigvalue1:
  10477. description: 提货积分配置1
  10478. type: integer
  10479. scoreconfigvalue2:
  10480. description: 提货积分配置2
  10481. type: integer
  10482. userid:
  10483. description: 机构用户ID其他做市关系,都设置为 1
  10484. type: integer
  10485. username:
  10486. description: 用户名称
  10487. type: string
  10488. type: object
  10489. models.QhjBankAccountSign:
  10490. properties:
  10491. accountcode:
  10492. description: 资金账号
  10493. type: string
  10494. accountname:
  10495. description: 资金账号对应的账号名(UserName)
  10496. type: string
  10497. accountname2:
  10498. description: 资金账号对应的账号名(UserName) - 密文
  10499. type: string
  10500. accounttype:
  10501. description: 账户类型(UserType)
  10502. type: integer
  10503. applicationtime:
  10504. description: 最后一次更新的时间
  10505. type: string
  10506. applyexchticket:
  10507. description: 申请流水
  10508. type: string
  10509. auditid:
  10510. description: 审核人
  10511. type: integer
  10512. audittime:
  10513. description: 审核时间
  10514. type: string
  10515. bankaccountname:
  10516. description: 签约银行卡账号名
  10517. type: string
  10518. bankaccountname2:
  10519. description: 签约银行卡账号名 - 密文
  10520. type: string
  10521. bankaccountno:
  10522. description: 银行卡号
  10523. type: string
  10524. bankaccountno2:
  10525. description: 银行卡号 - 密文
  10526. type: string
  10527. bankaccounttype:
  10528. description: 银行账户类型 - 1-对私; 2-对公
  10529. type: integer
  10530. bankcardtype:
  10531. description: 银行卡类型
  10532. type: integer
  10533. bankchildaccount:
  10534. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  10535. type: string
  10536. bankcity:
  10537. description: 开户行城市
  10538. type: string
  10539. bankid:
  10540. description: 签约银行ID
  10541. type: string
  10542. bankname:
  10543. description: 签约银行名称
  10544. type: string
  10545. bankprovince:
  10546. description: 开户行省份
  10547. type: string
  10548. branchbankid:
  10549. description: 签约银行支行号
  10550. type: string
  10551. branchbankname:
  10552. description: 签约银行支行名称
  10553. type: string
  10554. cardno:
  10555. description: 证件号码
  10556. type: string
  10557. cardno2:
  10558. description: 证件号码 - 密文
  10559. type: string
  10560. cardtype:
  10561. description: 证件类型
  10562. type: string
  10563. currency:
  10564. description: 币种
  10565. type: string
  10566. cusbankid:
  10567. description: 托管银行编号
  10568. type: string
  10569. direct:
  10570. description: 方向(可以判断那方先发起的签约)
  10571. type: integer
  10572. exchticket:
  10573. description: 最后一次签约成功的流水号
  10574. type: string
  10575. extendinfo:
  10576. description: 扩展信息(JSON字符串)
  10577. type: string
  10578. mobilephone:
  10579. description: 手机号
  10580. type: string
  10581. mobilephone2:
  10582. description: 手机号 - 密文
  10583. type: string
  10584. netaddr:
  10585. description: 调转网址
  10586. type: string
  10587. relateduserid:
  10588. description: 关联使用者userid
  10589. type: integer
  10590. signstatus:
  10591. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  10592. 10:审核拒绝 11:换签待审核
  10593. type: integer
  10594. updatetime:
  10595. description: 更新时间(签解约更新时间)
  10596. type: string
  10597. type: object
  10598. models.QhjBankInfo:
  10599. properties:
  10600. bankid:
  10601. description: 银行ID
  10602. type: string
  10603. bankname:
  10604. description: 银行名称
  10605. type: string
  10606. clearbankno:
  10607. description: 清算系统银行编号
  10608. type: string
  10609. orderindex:
  10610. description: 排序顺序
  10611. type: integer
  10612. status:
  10613. description: 状态 - 0:正常 1:注销
  10614. type: integer
  10615. type: object
  10616. models.QhjBrokerApply:
  10617. properties:
  10618. applicantid:
  10619. description: 申请人
  10620. type: integer
  10621. applysrc:
  10622. description: 申请来源 - 1:管理端 2:终端
  10623. type: integer
  10624. applystatus:
  10625. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  10626. type: integer
  10627. applytime:
  10628. description: 申请时间
  10629. type: string
  10630. auditorid:
  10631. description: 审核人
  10632. type: integer
  10633. auditremark:
  10634. description: 审核备注
  10635. type: string
  10636. auditsrc:
  10637. description: 审核来源 - 1:管理端 2:终端
  10638. type: integer
  10639. audittime:
  10640. description: 审核时间
  10641. type: string
  10642. audittradedate:
  10643. description: 审核交易日(yyyyMMdd)
  10644. type: string
  10645. brokerapplyid:
  10646. description: 申请ID(SEQ_BROKERAPPLY)
  10647. type: integer
  10648. cardbackphotourl:
  10649. description: 证件背面图片地址
  10650. type: string
  10651. cardfrontphotourl:
  10652. description: 证件正面图片地址
  10653. type: string
  10654. cardnum:
  10655. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  10656. type: string
  10657. customername:
  10658. description: 姓名
  10659. type: string
  10660. logincode:
  10661. description: 登录代码
  10662. type: string
  10663. mobile:
  10664. description: 手机号码
  10665. type: string
  10666. parentuserid:
  10667. description: 所属机构id
  10668. type: integer
  10669. parentusername:
  10670. description: 所属机构名称
  10671. type: string
  10672. refereeuserid:
  10673. description: 推荐人id(经纪人)
  10674. type: integer
  10675. refernum:
  10676. description: 推荐码
  10677. type: string
  10678. remark:
  10679. description: 备注
  10680. type: string
  10681. subarealevelpath:
  10682. description: 层级路径
  10683. type: string
  10684. tradedate:
  10685. description: 交易日(yyyyMMdd)
  10686. type: string
  10687. userid:
  10688. description: 申请人用户ID
  10689. type: integer
  10690. userinfotype:
  10691. description: 用户类型 1-个人 2-企业
  10692. type: integer
  10693. username:
  10694. description: 用户名称
  10695. type: string
  10696. type: object
  10697. models.QhjBrokerApplyEx:
  10698. properties:
  10699. applylist:
  10700. description: 经纪人申请记录(只返回最新一条)
  10701. items:
  10702. $ref: '#/definitions/models.QhjBrokerApply'
  10703. type: array
  10704. canrecommend:
  10705. description: 是否经纪人 0-不是 1-是
  10706. type: integer
  10707. refernum:
  10708. description: 推荐码
  10709. type: string
  10710. userid:
  10711. description: 用户id
  10712. type: integer
  10713. userinfotype:
  10714. description: 用户类型 1-个人 2-企业
  10715. type: integer
  10716. type: object
  10717. models.QhjBrokerRewardLog:
  10718. properties:
  10719. accountid:
  10720. description: 资金账号ID
  10721. type: integer
  10722. createtime:
  10723. description: 创建时间(时间)
  10724. type: string
  10725. handlestatus:
  10726. description: 处理状态
  10727. type: integer
  10728. logid:
  10729. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10730. type: string
  10731. marketid:
  10732. description: 市场ID
  10733. type: integer
  10734. mmaccountid:
  10735. description: 做市商资金账号ID
  10736. type: string
  10737. mmuserid:
  10738. description: 做市商用户ID
  10739. type: string
  10740. rewardamount:
  10741. description: 奖励金额
  10742. type: number
  10743. rewardmodel:
  10744. description: 消费奖励方式 - 1:比率 2:固定
  10745. type: integer
  10746. rewardtype:
  10747. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  10748. type: integer
  10749. rewardvalue:
  10750. description: 配置奖励值
  10751. type: number
  10752. srcamount:
  10753. description: 成交金额 [消费奖励] (金额)
  10754. type: number
  10755. srcgoodsid:
  10756. description: 来源商品ID [消费奖励]
  10757. type: string
  10758. srctime:
  10759. description: 来源时间 (成交时间) [消费奖励]
  10760. type: string
  10761. srctradeid:
  10762. description: 来源成交单ID [消费奖励] - 排除提货成交
  10763. type: string
  10764. srcuserid:
  10765. description: 来源用户ID(推广账户)
  10766. type: string
  10767. srcusername:
  10768. description: 推广账户名称
  10769. type: string
  10770. tradedate:
  10771. description: 交易日(yyyyMMdd)
  10772. type: string
  10773. userid:
  10774. description: 经纪人用户ID
  10775. type: integer
  10776. type: object
  10777. models.QhjContract:
  10778. properties:
  10779. contractconfirmtime:
  10780. description: 合同确认时间(时间)
  10781. type: string
  10782. currisklevel:
  10783. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  10784. type: integer
  10785. decimalplace:
  10786. description: 商品报价小数位
  10787. type: integer
  10788. enumdicname:
  10789. description: 单位名称
  10790. type: string
  10791. goodscode:
  10792. description: 商品代码
  10793. type: string
  10794. goodsid:
  10795. description: 商品ID [5:融资单]
  10796. type: integer
  10797. goodsname:
  10798. description: 商品名称
  10799. type: string
  10800. goodunitid:
  10801. description: 商品单位id
  10802. type: integer
  10803. initmargin:
  10804. description: 初始保证金(首付款)
  10805. type: number
  10806. lenderamount:
  10807. description: 贷款金额(总额|订单总额)
  10808. type: number
  10809. marginratio:
  10810. description: 保证金比率(首付比例)
  10811. type: number
  10812. payamount:
  10813. description: 已付(已付货款)
  10814. type: number
  10815. reckonrecovermargin:
  10816. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10817. type: number
  10818. recoveredmargin:
  10819. description: 已追缴保证金
  10820. type: number
  10821. remainamount:
  10822. description: 合同剩余金额(融资额)
  10823. type: number
  10824. scfcontractid:
  10825. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10826. type: string
  10827. scfcontractstatus:
  10828. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  10829. 9:违约结束 10:已注销 11:已关闭 99:未提交
  10830. type: integer
  10831. scfcontracttype:
  10832. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10833. type: integer
  10834. totalinterest:
  10835. description: 已计总利息(利息)
  10836. type: number
  10837. tradeprice:
  10838. description: 成交价格(成本价格)
  10839. type: number
  10840. userid:
  10841. description: 用户ID
  10842. type: integer
  10843. username:
  10844. description: 用户名称
  10845. type: string
  10846. wrqty:
  10847. description: 仓单数量(数量)
  10848. type: number
  10849. type: object
  10850. models.QhjContractLog:
  10851. properties:
  10852. amount:
  10853. description: 支付金额
  10854. type: number
  10855. amounttype:
  10856. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  10857. type: integer
  10858. logid:
  10859. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10860. type: string
  10861. remainamount:
  10862. description: 剩余货款
  10863. type: number
  10864. scfcontractid:
  10865. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10866. type: integer
  10867. updatetime:
  10868. description: 更新时间
  10869. type: string
  10870. type: object
  10871. models.QhjCusBankSignBankEx:
  10872. properties:
  10873. banklst:
  10874. description: 银行列表
  10875. items:
  10876. $ref: '#/definitions/models.QhjBankInfo'
  10877. type: array
  10878. canallot:
  10879. description: 是否支持跨行调拨 - 0:不支持 1:支持
  10880. type: integer
  10881. canallotquery:
  10882. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  10883. type: integer
  10884. canbindcard:
  10885. description: 是否可绑卡与解卡 - 0:不可 1:可以
  10886. type: integer
  10887. caninamount:
  10888. description: 是否可入金 - 0:不可 1:可以
  10889. type: integer
  10890. caninamount2:
  10891. description: 是否可入金(网银端) - 0:不可 1:可以
  10892. type: integer
  10893. canmodifybankcard:
  10894. description: 是否可修改银行卡号 - 0:不可 1:可以
  10895. type: integer
  10896. canmodifyphone:
  10897. description: 是否可修改手机号 - 0:不可 1:可以
  10898. type: integer
  10899. canmodifysigninfo:
  10900. description: 是否可修改签约信息 - 0:不可 1:可以
  10901. type: integer
  10902. canoutamount:
  10903. description: 是否可出金 - 0:不可 1:可以
  10904. type: integer
  10905. canoutamount2:
  10906. description: 是否可出金(网银端) - 0:不可 1:可以
  10907. type: integer
  10908. canrelease:
  10909. description: 是否可解约 - 0:不可 1:可以
  10910. type: integer
  10911. canrelease2:
  10912. description: 是否可解约(网银端) - 0:不可 1:可以
  10913. type: integer
  10914. cansign:
  10915. description: 是否可签约 - 0:不可 1:可以
  10916. type: integer
  10917. cansign2:
  10918. description: 是否可签约(网银端) - 0:不可 1:可以
  10919. type: integer
  10920. currency:
  10921. description: 币种
  10922. type: string
  10923. cusbankid:
  10924. description: 托管银行编号(对应清算中心TRAN_NO)
  10925. type: string
  10926. cusbankname:
  10927. description: 银行业务名称
  10928. type: string
  10929. cusbankshortname:
  10930. description: 银行业务简称
  10931. type: string
  10932. exchbankid:
  10933. description: 交易所开户银行ID
  10934. type: string
  10935. exchpaybankaccname:
  10936. description: 交易所支出结算账户户名
  10937. type: string
  10938. exchpaybankaccno:
  10939. description: 交易所支出结算账户
  10940. type: string
  10941. isneedcheck:
  10942. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  10943. type: integer
  10944. isneedclear:
  10945. description: 是否需要清算 - 0:不需要 1:需要
  10946. type: integer
  10947. lastcheckstatus:
  10948. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  10949. type: integer
  10950. lastchecktime:
  10951. description: 最后对账时间
  10952. type: string
  10953. lastclearstatus:
  10954. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  10955. type: integer
  10956. lastcleartime:
  10957. description: 最后清算时间
  10958. type: string
  10959. lastsignintime:
  10960. description: 最后签到时间
  10961. type: string
  10962. lastsignouttime:
  10963. description: 最后签退时间
  10964. type: string
  10965. riskinfo:
  10966. description: 签约风险提示书
  10967. type: string
  10968. signstatus:
  10969. description: 当前签到/签退状态 - 1:签到 2:签退
  10970. type: integer
  10971. tradedate:
  10972. description: 交易日(yyyyMMdd)
  10973. type: string
  10974. updatetime:
  10975. description: 当前签到/签退更新时间
  10976. type: string
  10977. type: object
  10978. models.QhjCustomer:
  10979. properties:
  10980. address:
  10981. description: 通讯地址
  10982. type: string
  10983. attachment1:
  10984. description: 附件1
  10985. type: string
  10986. attachment2:
  10987. description: 附件2
  10988. type: string
  10989. audittime:
  10990. description: 审核时间
  10991. type: string
  10992. cardbackphotourl:
  10993. description: 证件反面图片地址
  10994. type: string
  10995. cardfrontphotourl:
  10996. description: 证件正面图片地址
  10997. type: string
  10998. cardnum:
  10999. description: 证件号码
  11000. type: string
  11001. cardtype:
  11002. description: 证件类型
  11003. type: integer
  11004. cardtypename:
  11005. description: 证件类型名称
  11006. type: string
  11007. cityid:
  11008. description: 市
  11009. type: integer
  11010. cityname:
  11011. description: 城市名称
  11012. type: string
  11013. contactname:
  11014. description: 联系人
  11015. type: string
  11016. countryid:
  11017. description: 国家
  11018. type: integer
  11019. countryname:
  11020. description: 国家名称
  11021. type: string
  11022. createtime:
  11023. description: 创建时间
  11024. type: string
  11025. customername:
  11026. description: 客户名称
  11027. type: string
  11028. districtid:
  11029. description: 区域
  11030. type: integer
  11031. districtname:
  11032. description: 地区名称
  11033. type: string
  11034. email:
  11035. description: 邮件
  11036. type: string
  11037. legalpersonname:
  11038. description: 法人姓名(企业)
  11039. type: string
  11040. logincode:
  11041. description: 登录账号(代码)
  11042. type: string
  11043. memberuserid:
  11044. description: 所属机构ID(所属会员)
  11045. type: integer
  11046. memberusername:
  11047. description: 所属会员名称
  11048. type: string
  11049. mobile:
  11050. description: 手机号码
  11051. type: string
  11052. modifytime:
  11053. description: 修改时间
  11054. type: string
  11055. nickname:
  11056. description: 昵称
  11057. type: string
  11058. parentuserid:
  11059. description: 上级机构(所属机构)
  11060. type: integer
  11061. parentusername:
  11062. description: 所属机构名称
  11063. type: string
  11064. provinceid:
  11065. description: 省
  11066. type: integer
  11067. provincename:
  11068. description: 省名称
  11069. type: string
  11070. proxystatementurl:
  11071. description: 授权委托书
  11072. type: string
  11073. remark:
  11074. description: 备注
  11075. type: string
  11076. status:
  11077. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  11078. type: integer
  11079. statusdesc:
  11080. description: 账户状态中文描述
  11081. type: string
  11082. taxpayernum:
  11083. description: 纳税人识别号
  11084. type: string
  11085. telphone:
  11086. description: 联系电话
  11087. type: string
  11088. userid:
  11089. description: 用户ID
  11090. type: integer
  11091. userinfotype:
  11092. description: 客户类型 1-个人 2-企业
  11093. type: integer
  11094. username:
  11095. description: 用户名称
  11096. type: string
  11097. type: object
  11098. models.QhjCustomerSignLog:
  11099. properties:
  11100. agreementcontent:
  11101. description: 协议内容
  11102. type: string
  11103. agreementid:
  11104. description: 协议ID
  11105. type: integer
  11106. agreementname:
  11107. description: 协议名称
  11108. type: string
  11109. agreementno:
  11110. description: 协议编号
  11111. type: string
  11112. agreementtype:
  11113. description: 协议类型 - 1:注册 2:登录 3:交易
  11114. type: integer
  11115. agreementversion:
  11116. description: 协议版本号
  11117. type: integer
  11118. createtime:
  11119. description: 创建时间
  11120. type: string
  11121. goodscode:
  11122. description: 商品代码
  11123. type: string
  11124. goodsid:
  11125. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11126. type: integer
  11127. goodsname:
  11128. description: 商品名称
  11129. type: string
  11130. logid:
  11131. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  11132. type: integer
  11133. nodetype:
  11134. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  11135. type: integer
  11136. signadressurl:
  11137. description: 签约文件地址
  11138. type: string
  11139. signtimestamp:
  11140. description: 签约状态时间戳
  11141. type: string
  11142. userid:
  11143. description: 客户ID
  11144. type: integer
  11145. username:
  11146. description: 客户名称
  11147. type: string
  11148. type: object
  11149. models.QhjCustomerSignStatus:
  11150. properties:
  11151. createtime:
  11152. description: 创建时间
  11153. type: string
  11154. goodscode:
  11155. description: 商品代码
  11156. type: string
  11157. goodsid:
  11158. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11159. type: integer
  11160. goodsname:
  11161. description: 商品名称
  11162. type: string
  11163. nodetype:
  11164. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  11165. type: integer
  11166. signtimestamp:
  11167. description: 签约状态时间戳
  11168. type: string
  11169. tradedate:
  11170. description: 创建交易日(yyyyMMdd)
  11171. type: string
  11172. updatetime:
  11173. description: 更新时间
  11174. type: string
  11175. userid:
  11176. description: 客户ID
  11177. type: integer
  11178. username:
  11179. description: 客户名称
  11180. type: string
  11181. type: object
  11182. models.QhjMgrAccountOutInApply:
  11183. properties:
  11184. accountcode:
  11185. description: 资金账号
  11186. type: string
  11187. accountname:
  11188. description: 用户名称(名称)
  11189. type: string
  11190. accountpwd:
  11191. description: 资金密码
  11192. type: string
  11193. accountticket:
  11194. description: 最新账户服务流水号
  11195. type: string
  11196. amount:
  11197. description: 金额
  11198. type: number
  11199. applyremark:
  11200. description: 申请备注
  11201. type: string
  11202. applystatus:
  11203. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  11204. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  11205. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  11206. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  11207. type: integer
  11208. auditid:
  11209. description: 审核人
  11210. type: integer
  11211. audittime:
  11212. description: 审核时间
  11213. type: string
  11214. bank_apply_ticket:
  11215. description: 银行申请流水
  11216. type: string
  11217. bankaccountname:
  11218. description: 银行账户名
  11219. type: string
  11220. bankaccountno:
  11221. description: 银行卡号
  11222. type: string
  11223. bankid:
  11224. description: 银行编号
  11225. type: string
  11226. bankname:
  11227. description: 银行名称
  11228. type: string
  11229. bankticket:
  11230. description: 银行流水
  11231. type: string
  11232. branchbankid:
  11233. description: 银行支行号
  11234. type: string
  11235. branchbankname:
  11236. description: 银行支行名称
  11237. type: string
  11238. capamountout:
  11239. description: 出金(劣后本金) - 外部子账户
  11240. type: number
  11241. certificatephotourl:
  11242. description: 凭证地址
  11243. type: string
  11244. charge:
  11245. description: 手续费
  11246. type: number
  11247. checkerrorflag:
  11248. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  11249. type: integer
  11250. currency:
  11251. description: 币种
  11252. type: string
  11253. cusbankid:
  11254. description: 托管银行编号
  11255. type: string
  11256. exchticket:
  11257. description: 银行服务流水号
  11258. type: string
  11259. executetype:
  11260. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  11261. 7:外部子账户:入金 8:外部子账户:出金'
  11262. type: integer
  11263. extendinfo:
  11264. description: 扩展信息
  11265. type: string
  11266. extoperateid:
  11267. description: 交易服务流水号
  11268. type: integer
  11269. infamount:
  11270. description: 劣后金额(自有)
  11271. type: number
  11272. logincode:
  11273. description: 登录账号(账号)
  11274. type: string
  11275. netaddr:
  11276. description: 调转网址
  11277. type: string
  11278. priamount:
  11279. description: 优先金额(授信)
  11280. type: number
  11281. reauditid:
  11282. description: 复审人
  11283. type: integer
  11284. reauditremark:
  11285. description: 复审备注
  11286. type: string
  11287. reaudittime:
  11288. description: 复审时间
  11289. type: string
  11290. relatedorderid:
  11291. description: 三方关联ID
  11292. type: string
  11293. remark:
  11294. description: 备注
  11295. type: string
  11296. remark2:
  11297. description: 备注(失败原因)
  11298. type: string
  11299. soucreamount:
  11300. description: 原始出入金金额
  11301. type: number
  11302. soucrecurrencyid:
  11303. description: 原始出入金币种
  11304. type: integer
  11305. tradedate:
  11306. description: 交易日(yyyyMMdd)
  11307. type: string
  11308. updatetime:
  11309. description: 更新时间(申请时间)
  11310. type: string
  11311. userid:
  11312. description: 用户id
  11313. type: integer
  11314. userinfotype:
  11315. description: 账户类型 1-个人 2-企业
  11316. type: integer
  11317. type: object
  11318. models.QhjMgrBrokerApply:
  11319. properties:
  11320. applicantid:
  11321. description: 申请人
  11322. type: integer
  11323. applysrc:
  11324. description: 申请来源 - 1:管理端 2:终端
  11325. type: integer
  11326. applystatus:
  11327. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  11328. type: integer
  11329. applytime:
  11330. description: 申请时间
  11331. type: string
  11332. auditorid:
  11333. description: 审核人
  11334. type: integer
  11335. auditremark:
  11336. description: 审核备注
  11337. type: string
  11338. auditsrc:
  11339. description: 审核来源 - 1:管理端 2:终端
  11340. type: integer
  11341. audittime:
  11342. description: 审核时间
  11343. type: string
  11344. audittradedate:
  11345. description: 审核交易日(yyyyMMdd)
  11346. type: string
  11347. brokerapplyid:
  11348. description: 申请ID(SEQ_BROKERAPPLY)
  11349. type: integer
  11350. cardbackphotourl:
  11351. description: 证件背面图片地址
  11352. type: string
  11353. cardfrontphotourl:
  11354. description: 证件正面图片地址
  11355. type: string
  11356. cardnum:
  11357. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  11358. type: string
  11359. customername:
  11360. description: 姓名
  11361. type: string
  11362. filterstatus:
  11363. description: 筛选条件
  11364. type: string
  11365. logincode:
  11366. description: 登录代码
  11367. type: string
  11368. mobile:
  11369. description: 手机号码
  11370. type: string
  11371. parentuserid:
  11372. description: 所属机构id
  11373. type: integer
  11374. parentusername:
  11375. description: 所属机构名称
  11376. type: string
  11377. refereeuserid:
  11378. description: 推荐人id(经纪人)
  11379. type: integer
  11380. refernum:
  11381. description: 推荐码
  11382. type: string
  11383. remark:
  11384. description: 备注
  11385. type: string
  11386. subarealevelpath:
  11387. description: 层级路径
  11388. type: string
  11389. tradedate:
  11390. description: 交易日(yyyyMMdd)
  11391. type: string
  11392. userid:
  11393. description: 申请人用户ID
  11394. type: integer
  11395. userinfotype:
  11396. description: 用户类型 1-个人 2-企业
  11397. type: integer
  11398. username:
  11399. description: 用户名称
  11400. type: string
  11401. type: object
  11402. models.QhjMgrBrokerRewardReport:
  11403. properties:
  11404. createtime:
  11405. description: 创建时间(注册时间)
  11406. type: string
  11407. cycletime:
  11408. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  11409. type: string
  11410. cycletype:
  11411. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  11412. type: integer
  11413. directtotalnum:
  11414. description: 直推总人数【期末】
  11415. type: integer
  11416. indirecttotalnum:
  11417. description: 间推总人数【期末】
  11418. type: integer
  11419. mobile:
  11420. description: 电话号码
  11421. type: string
  11422. refereeuserid:
  11423. description: 推荐人id(经纪人id)
  11424. type: integer
  11425. refereeusername:
  11426. description: 推荐人名称(经纪人) 上级经纪人名称
  11427. type: string
  11428. refernum:
  11429. description: 推荐码
  11430. type: string
  11431. subarealevelpath:
  11432. description: 用户层级路径
  11433. type: string
  11434. todayrewardamount:
  11435. description: 奖励总金额【汇总】
  11436. type: number
  11437. updatetime:
  11438. description: 更新时间
  11439. type: string
  11440. userid:
  11441. description: 经纪人用户ID
  11442. type: integer
  11443. userinfotype:
  11444. description: 用户类型 1-个人 2-企业
  11445. type: integer
  11446. username:
  11447. description: 用户名称
  11448. type: string
  11449. type: object
  11450. models.QhjMgrContract:
  11451. properties:
  11452. contractconfirmtime:
  11453. description: 合同确认时间(时间)
  11454. type: string
  11455. currisklevel:
  11456. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  11457. type: integer
  11458. decimalplace:
  11459. description: 商品报价小数位
  11460. type: integer
  11461. enumdicname:
  11462. description: 单位名称
  11463. type: string
  11464. goodscode:
  11465. description: 商品代码
  11466. type: string
  11467. goodsid:
  11468. description: 商品ID [5:融资单]
  11469. type: integer
  11470. goodsname:
  11471. description: 商品名称
  11472. type: string
  11473. goodunitid:
  11474. description: 商品单位id
  11475. type: integer
  11476. initmargin:
  11477. description: 初始保证金(首付款)
  11478. type: number
  11479. lenderamount:
  11480. description: 贷款金额(总额|订单总额)
  11481. type: number
  11482. logincode:
  11483. description: 账号(登录代码)
  11484. type: string
  11485. marginratio:
  11486. description: 保证金比率(首付比例)
  11487. type: number
  11488. mobile:
  11489. description: 电话号码(用户资料里的电话)
  11490. type: string
  11491. payamount:
  11492. description: 已付(已付货款)
  11493. type: number
  11494. reckonrecovermargin:
  11495. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  11496. type: number
  11497. recoveredmargin:
  11498. description: 已追缴保证金
  11499. type: number
  11500. remainamount:
  11501. description: 合同剩余金额(融资额)
  11502. type: number
  11503. scfcontractid:
  11504. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  11505. type: string
  11506. scfcontractstatus:
  11507. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  11508. 9:违约结束 10:已注销 11:已关闭 99:未提交
  11509. type: integer
  11510. scfcontracttype:
  11511. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  11512. type: integer
  11513. totalinterest:
  11514. description: 已计总利息(利息)
  11515. type: number
  11516. tradedate:
  11517. description: 交易日
  11518. type: string
  11519. tradeprice:
  11520. description: 成交价格(成本价格)
  11521. type: number
  11522. userid:
  11523. description: 用户ID
  11524. type: integer
  11525. userinfotype:
  11526. description: 用户类型 1-个人 2-企业
  11527. type: integer
  11528. username:
  11529. description: 用户名称
  11530. type: string
  11531. wrqty:
  11532. description: 仓单数量(数量)
  11533. type: number
  11534. type: object
  11535. models.QhjMgrCustomer:
  11536. properties:
  11537. address:
  11538. description: 通讯地址
  11539. type: string
  11540. attachment1:
  11541. description: 附件1
  11542. type: string
  11543. audittime:
  11544. description: 审核时间
  11545. type: string
  11546. birthday:
  11547. description: 生日
  11548. type: string
  11549. brokerid:
  11550. description: 所属客户经理id
  11551. type: integer
  11552. brokername:
  11553. description: 所属客户经理名称
  11554. type: string
  11555. cardbackphotourl:
  11556. description: 证件反面图片地址
  11557. type: string
  11558. cardfrontphotourl:
  11559. description: 证件正面图片地址
  11560. type: string
  11561. cardnum:
  11562. description: 证件号码
  11563. type: string
  11564. cardtype:
  11565. description: 证件类型
  11566. type: integer
  11567. cardtypename:
  11568. description: 证件类型名称
  11569. type: string
  11570. cityid:
  11571. description: 市
  11572. type: integer
  11573. cityname:
  11574. description: 城市名称
  11575. type: string
  11576. contactname:
  11577. description: 联系人
  11578. type: string
  11579. countryid:
  11580. description: 国家
  11581. type: integer
  11582. countryname:
  11583. description: 国家名称
  11584. type: string
  11585. createtime:
  11586. description: 创建时间
  11587. type: string
  11588. customername:
  11589. description: 客户名称
  11590. type: string
  11591. districtid:
  11592. description: 区域
  11593. type: integer
  11594. districtname:
  11595. description: 地区名称
  11596. type: string
  11597. email:
  11598. description: 邮件
  11599. type: string
  11600. legalpersonname:
  11601. description: 法人姓名(企业)
  11602. type: string
  11603. logincode:
  11604. description: 登录账号(代码)
  11605. type: string
  11606. memberuserid:
  11607. description: 所属机构ID(所属会员)
  11608. type: integer
  11609. memberusername:
  11610. description: 所属会员名称
  11611. type: string
  11612. mobile:
  11613. description: 手机号码
  11614. type: string
  11615. modifytime:
  11616. description: 修改时间
  11617. type: string
  11618. nickname:
  11619. description: 昵称
  11620. type: string
  11621. parentuserid:
  11622. description: 上级机构(所属机构)
  11623. type: integer
  11624. parentusername:
  11625. description: 所属机构名称
  11626. type: string
  11627. provinceid:
  11628. description: 省
  11629. type: integer
  11630. provincename:
  11631. description: 省名称
  11632. type: string
  11633. proxystatementurl:
  11634. description: 授权委托书
  11635. type: string
  11636. querytype:
  11637. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  11638. type: integer
  11639. remark:
  11640. description: 备注
  11641. type: string
  11642. sex:
  11643. description: 性别 0-女 1-男
  11644. type: integer
  11645. status:
  11646. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  11647. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  11648. type: integer
  11649. statusdesc:
  11650. description: 账户状态中文描述
  11651. type: string
  11652. taxpayernum:
  11653. description: 纳税人识别号
  11654. type: string
  11655. telphone:
  11656. description: 联系电话
  11657. type: string
  11658. userid:
  11659. description: 用户ID
  11660. type: integer
  11661. userinfotype:
  11662. description: 客户类型 1-个人 2-企业
  11663. type: integer
  11664. username:
  11665. description: 用户名称
  11666. type: string
  11667. type: object
  11668. models.QhjMgrPickGoods:
  11669. properties:
  11670. enumdicname:
  11671. description: 单位名称(提货商品)
  11672. type: string
  11673. goodsid:
  11674. description: 商品id
  11675. type: integer
  11676. imageaddress:
  11677. description: 图片
  11678. type: string
  11679. modifierid:
  11680. description: 修改人
  11681. type: integer
  11682. modifiername:
  11683. description: 修改人名称
  11684. type: string
  11685. modifysrc:
  11686. description: 修改来源 - 1:管理端 2:终端
  11687. type: integer
  11688. pickupgoodsagreeunit:
  11689. description: 合约乘数
  11690. type: number
  11691. pickupgoodsdesc:
  11692. description: 描述
  11693. type: string
  11694. pickupgoodsid:
  11695. description: 提货商品ID
  11696. type: string
  11697. pickupgoodsname:
  11698. description: 提货商品名称
  11699. type: string
  11700. pickupgoodsstatus:
  11701. description: 状态 - 1:正常 2:停用 3:注销
  11702. type: integer
  11703. pickupgoodsunitid:
  11704. description: 单位ID
  11705. type: integer
  11706. pickupratio:
  11707. description: 提货系数
  11708. type: number
  11709. preparedays:
  11710. description: 备货期(天)
  11711. type: integer
  11712. remark:
  11713. description: 备注
  11714. type: string
  11715. updatetime:
  11716. description: 更新时间
  11717. type: string
  11718. type: object
  11719. models.QhjMgrPositionRsp:
  11720. properties:
  11721. accountid:
  11722. description: 账号Id
  11723. type: integer
  11724. accountname:
  11725. description: 用户名称
  11726. type: string
  11727. agreeunit:
  11728. description: 合约乘数
  11729. type: number
  11730. averageprice:
  11731. description: 均价
  11732. type: number
  11733. avialqty:
  11734. description: 可用数量
  11735. type: number
  11736. decimalplace:
  11737. description: 报价小数位
  11738. type: integer
  11739. enumdicname:
  11740. description: 单位名称(商品)
  11741. type: string
  11742. frozenqty:
  11743. description: 冻结数量
  11744. type: number
  11745. goodscode:
  11746. description: 商品代码(内部)
  11747. type: string
  11748. goodsid:
  11749. description: 商品Id
  11750. type: integer
  11751. goodsname:
  11752. description: 商品名称
  11753. type: string
  11754. goodunitid:
  11755. description: 报价单位ID
  11756. type: integer
  11757. holderamount:
  11758. description: 金额
  11759. type: number
  11760. holderqty:
  11761. description: 持有数量
  11762. type: number
  11763. holdertype:
  11764. description: 持仓类别 - 1:单边持仓 2:双边持仓
  11765. type: integer
  11766. logincode:
  11767. description: 登录代码(账户)
  11768. type: string
  11769. marketid:
  11770. description: 市场id
  11771. type: integer
  11772. qtydecimalplace:
  11773. description: 成交量小数位
  11774. type: integer
  11775. trademode:
  11776. description: 交易模式
  11777. type: integer
  11778. userid:
  11779. description: 用户id
  11780. type: integer
  11781. userinfotype:
  11782. description: 账户类型 1-个人 2-企业
  11783. type: integer
  11784. type: object
  11785. models.QhjMgrSubArea:
  11786. properties:
  11787. accountname:
  11788. description: 账户名称(机构名称)
  11789. type: string
  11790. memberuserid:
  11791. description: 所属会员ID
  11792. type: integer
  11793. parenttopuser:
  11794. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  11795. type: string
  11796. parentuserid:
  11797. description: 所属机构ID
  11798. type: integer
  11799. rootuserid:
  11800. description: 根用户ID
  11801. type: string
  11802. subaccountlevel:
  11803. description: 子账户层数
  11804. type: integer
  11805. subarealevelpath:
  11806. description: 子机构层级路径(逗号分隔,首尾加逗号)
  11807. type: string
  11808. userid:
  11809. description: 用户ID
  11810. type: integer
  11811. usertype:
  11812. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11813. type: integer
  11814. type: object
  11815. models.QhjMgrTradeDetailRsp:
  11816. properties:
  11817. accountid:
  11818. description: 资金账号
  11819. type: integer
  11820. accountname:
  11821. description: 用户名称
  11822. type: string
  11823. agreeunit:
  11824. description: 合约乘数
  11825. type: number
  11826. buyorsell:
  11827. description: 成交类型(方向) 0:买 1:卖
  11828. type: integer
  11829. decimalplace:
  11830. description: 报价小数位
  11831. type: integer
  11832. enumdicname:
  11833. description: 单位名称(商品)
  11834. type: string
  11835. goodscode:
  11836. description: 商品代码(内部)
  11837. type: string
  11838. goodsid:
  11839. description: 商品id
  11840. type: integer
  11841. goodsname:
  11842. description: 商品名称
  11843. type: string
  11844. goodunitid:
  11845. description: 报价单位ID
  11846. type: integer
  11847. logincode:
  11848. description: 登录代码(账户)
  11849. type: string
  11850. marketid:
  11851. description: 市场id
  11852. type: integer
  11853. orderid:
  11854. description: 关联委托单号
  11855. type: string
  11856. qtydecimalplace:
  11857. description: 成交量小数位
  11858. type: integer
  11859. tradeamount:
  11860. description: 金额
  11861. type: number
  11862. tradedate:
  11863. description: 交易日
  11864. type: string
  11865. tradeid:
  11866. description: 成交单号
  11867. type: string
  11868. trademode:
  11869. description: 交易模式
  11870. type: integer
  11871. tradeprice:
  11872. description: 价格
  11873. type: number
  11874. tradeqty:
  11875. description: 数量
  11876. type: number
  11877. tradetime:
  11878. description: 成交时间
  11879. type: string
  11880. userid:
  11881. description: 用户id
  11882. type: integer
  11883. userinfotype:
  11884. description: 账户类型 1-个人 2-企业
  11885. type: integer
  11886. type: object
  11887. models.QhjMgrTradeOrderDetailRsp:
  11888. properties:
  11889. accountid:
  11890. description: 资金账号
  11891. type: integer
  11892. accountname:
  11893. description: 用户名称
  11894. type: string
  11895. agreeunit:
  11896. description: 合约乘数
  11897. type: number
  11898. amount:
  11899. description: 金额
  11900. type: number
  11901. decimalplace:
  11902. description: 报价小数位
  11903. type: integer
  11904. enumdicname:
  11905. description: 单位名称(商品)
  11906. type: string
  11907. goodscode:
  11908. description: 商品代码(内部)
  11909. type: string
  11910. goodsid:
  11911. description: 商品id
  11912. type: integer
  11913. goodsname:
  11914. description: 商品名称
  11915. type: string
  11916. goodunitid:
  11917. description: 报价单位ID
  11918. type: integer
  11919. logincode:
  11920. description: 登录代码(账户)
  11921. type: string
  11922. marketid:
  11923. description: 市场id
  11924. type: integer
  11925. orderid:
  11926. description: 关联委托单号
  11927. type: string
  11928. orderprice:
  11929. description: 价格
  11930. type: number
  11931. orderqty:
  11932. description: 数量
  11933. type: number
  11934. orderstatus:
  11935. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11936. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11937. 16:成交失败违约(荷兰式竞拍专用)
  11938. type: integer
  11939. ordertime:
  11940. description: 委托时间
  11941. type: string
  11942. qtydecimalplace:
  11943. description: 成交量小数位
  11944. type: integer
  11945. tradedate:
  11946. description: 交易日
  11947. type: string
  11948. trademode:
  11949. description: 交易模式
  11950. type: integer
  11951. userid:
  11952. description: 用户id
  11953. type: integer
  11954. userinfotype:
  11955. description: 账户类型 1-个人 2-企业
  11956. type: integer
  11957. type: object
  11958. models.QhjMgrTradePayOrder:
  11959. properties:
  11960. accountname:
  11961. description: 用户名称
  11962. type: string
  11963. advanceratio:
  11964. description: 首付比率
  11965. type: number
  11966. agreeunit:
  11967. description: 合约乘数
  11968. type: number
  11969. buyaccountid:
  11970. description: 买方账号ID[报价币种]
  11971. type: integer
  11972. buyorderid:
  11973. description: 买方委托单号(关联单号)
  11974. type: string
  11975. createtime:
  11976. description: 创建时间
  11977. type: string
  11978. decimalplace:
  11979. description: 报价小数位
  11980. type: integer
  11981. enumdicname:
  11982. description: 单位名称(商品)
  11983. type: string
  11984. goodscode:
  11985. description: 商品代码(内部)
  11986. type: string
  11987. goodsid:
  11988. description: 商品ID
  11989. type: integer
  11990. goodsname:
  11991. description: 商品名称
  11992. type: string
  11993. goodunitid:
  11994. description: 报价单位ID
  11995. type: integer
  11996. logincode:
  11997. description: 登录代码(账户)
  11998. type: string
  11999. marketid:
  12000. description: 市场id
  12001. type: integer
  12002. offamount:
  12003. description: 优惠金额
  12004. type: number
  12005. operatetype:
  12006. description: 买委托操作类型 - 1:正常下单 16:融资买入
  12007. type: integer
  12008. payamount:
  12009. description: 支付金额(金额)
  12010. type: number
  12011. payflag:
  12012. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  12013. type: integer
  12014. paylimitedtime:
  12015. description: 支付期限
  12016. type: string
  12017. paytime:
  12018. description: 付款时间
  12019. type: string
  12020. qtydecimalplace:
  12021. description: 成交量小数位
  12022. type: integer
  12023. sellaccountid:
  12024. description: 卖方账号ID[报价币种]
  12025. type: integer
  12026. sellorderid:
  12027. description: 卖方委托单号
  12028. type: string
  12029. tradeamount:
  12030. description: 成交金额(优惠后金额)
  12031. type: number
  12032. tradecharge:
  12033. description: 成交手续费(买方)
  12034. type: number
  12035. tradedate:
  12036. description: 交易日(yyyyMMdd)
  12037. type: string
  12038. tradeid:
  12039. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12040. type: string
  12041. trademode:
  12042. description: 交易模式
  12043. type: integer
  12044. tradeprice:
  12045. description: 成交价格(价格)
  12046. type: number
  12047. tradeqty:
  12048. description: 成交数量(数量)
  12049. type: number
  12050. tradetime:
  12051. description: 成交时间
  12052. type: string
  12053. userid:
  12054. description: 用户id
  12055. type: integer
  12056. userinfotype:
  12057. description: 账户类型 1-个人 2-企业
  12058. type: integer
  12059. type: object
  12060. models.QhjMyTeamEx:
  12061. properties:
  12062. accountname:
  12063. description: 用户名称
  12064. type: string
  12065. accountstatus:
  12066. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  12067. type: integer
  12068. createtime:
  12069. description: 创建时间
  12070. type: string
  12071. mobile:
  12072. description: 手机号码
  12073. type: string
  12074. refereeuserid:
  12075. description: 推荐人id
  12076. type: integer
  12077. refernum:
  12078. description: 推荐码
  12079. type: string
  12080. subList:
  12081. items:
  12082. $ref: '#/definitions/models.QhjMyTeamEx'
  12083. type: array
  12084. userid:
  12085. description: 用户id
  12086. type: integer
  12087. userinfotype:
  12088. description: 用户类型 1-个人 2-企业
  12089. type: integer
  12090. type: object
  12091. models.QhjNodeAgreementConfig:
  12092. properties:
  12093. agreementcontent:
  12094. description: 协议内容
  12095. type: string
  12096. agreementid:
  12097. description: 协议ID
  12098. type: integer
  12099. agreementname:
  12100. description: 协议名称
  12101. type: string
  12102. agreementno:
  12103. description: 协议编号
  12104. type: string
  12105. agreementtype:
  12106. description: 协议类型 - 1:注册 2:登录 3:交易
  12107. type: integer
  12108. agreementversion:
  12109. description: 协议版本号
  12110. type: integer
  12111. configid:
  12112. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12113. type: integer
  12114. createtime:
  12115. description: 创建时间
  12116. type: string
  12117. goodsid:
  12118. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12119. type: integer
  12120. nodetype:
  12121. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12122. type: integer
  12123. type: object
  12124. models.QhjParentAreaList:
  12125. properties:
  12126. accountname:
  12127. description: 账户名称(机构名称)
  12128. type: string
  12129. userid:
  12130. description: 用户ID
  12131. type: integer
  12132. usertype:
  12133. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  12134. type: integer
  12135. type: object
  12136. models.QhjPayOrder:
  12137. properties:
  12138. advanceratio:
  12139. description: 首付比率
  12140. type: number
  12141. buyaccountid:
  12142. description: 买方账号ID[报价币种]
  12143. type: integer
  12144. buyorderid:
  12145. description: 买方委托单号
  12146. type: string
  12147. createtime:
  12148. description: 创建时间
  12149. type: string
  12150. decimalplace:
  12151. description: 商品报价小数位
  12152. type: integer
  12153. enumdicname:
  12154. description: 单位名称
  12155. type: string
  12156. goodscode:
  12157. description: 商品代码
  12158. type: string
  12159. goodsid:
  12160. description: 商品ID
  12161. type: integer
  12162. goodsname:
  12163. description: 商品名称
  12164. type: string
  12165. goodunitid:
  12166. description: 商品单位id
  12167. type: integer
  12168. marketid:
  12169. description: 市场ID
  12170. type: integer
  12171. offamount:
  12172. description: 优惠金额
  12173. type: number
  12174. operatetype:
  12175. description: 买委托操作类型 - 1:正常下单 16:融资买入
  12176. type: integer
  12177. payamount:
  12178. description: 支付金额
  12179. type: number
  12180. payflag:
  12181. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  12182. type: integer
  12183. paylimitedtime:
  12184. description: 支付期限
  12185. type: string
  12186. paytime:
  12187. description: 付款时间
  12188. type: string
  12189. qtydecimalplace:
  12190. description: 成交量小数位
  12191. type: integer
  12192. sellaccountid:
  12193. description: 卖方账号ID[报价币种]
  12194. type: integer
  12195. sellorderid:
  12196. description: 卖方委托单号
  12197. type: string
  12198. tradeamount:
  12199. description: 成交金额(优惠后金额)
  12200. type: number
  12201. tradecharge:
  12202. description: 成交手续费(买方)
  12203. type: number
  12204. tradedate:
  12205. description: 交易日(yyyyMMdd)
  12206. type: string
  12207. tradeid:
  12208. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12209. type: string
  12210. tradeprice:
  12211. description: 成交价格
  12212. type: number
  12213. tradeqty:
  12214. description: 成交数量
  12215. type: number
  12216. type: object
  12217. models.QhjPickArea:
  12218. properties:
  12219. address:
  12220. description: 详细地址
  12221. type: string
  12222. cityid:
  12223. description: 市
  12224. type: integer
  12225. cityname:
  12226. description: 城市名称
  12227. type: string
  12228. countryid:
  12229. description: 国家
  12230. type: integer
  12231. countryname:
  12232. description: 国家名称
  12233. type: string
  12234. districtid:
  12235. description: 地区
  12236. type: integer
  12237. districtname:
  12238. description: 地区名称
  12239. type: string
  12240. fromuserid:
  12241. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  12242. type: integer
  12243. fromusername:
  12244. description: 所属机构名称
  12245. type: string
  12246. provinceid:
  12247. description: 省
  12248. type: integer
  12249. provincename:
  12250. description: 省名称
  12251. type: string
  12252. suborgtype:
  12253. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  12254. type: integer
  12255. userid:
  12256. description: 机构用户ID 其他做市关系,都设置为 1
  12257. type: integer
  12258. username:
  12259. description: 机构用户名称(门店门称)
  12260. type: string
  12261. type: object
  12262. models.QhjPickGoods:
  12263. properties:
  12264. enumdicname:
  12265. description: 单位名称(提货商品)
  12266. type: string
  12267. goodsid:
  12268. description: 商品id
  12269. type: integer
  12270. imageaddress:
  12271. description: 图片
  12272. type: string
  12273. modifierid:
  12274. description: 修改人
  12275. type: integer
  12276. modifiername:
  12277. description: 修改人名称
  12278. type: string
  12279. modifysrc:
  12280. description: 修改来源 - 1:管理端 2:终端
  12281. type: integer
  12282. pickupgoodsagreeunit:
  12283. description: 合约乘数
  12284. type: number
  12285. pickupgoodsdesc:
  12286. description: 描述
  12287. type: string
  12288. pickupgoodsid:
  12289. description: 提货商品ID
  12290. type: string
  12291. pickupgoodsname:
  12292. description: 提货商品名称
  12293. type: string
  12294. pickupgoodsstatus:
  12295. description: 状态 - 1:正常 2:停用 3:注销
  12296. type: integer
  12297. pickupgoodsunitid:
  12298. description: 单位ID
  12299. type: integer
  12300. pickupratio:
  12301. description: 提货系数
  12302. type: number
  12303. preparedays:
  12304. description: 备货期(天)
  12305. type: integer
  12306. remark:
  12307. description: 备注
  12308. type: string
  12309. updatetime:
  12310. description: 更新时间
  12311. type: string
  12312. type: object
  12313. models.QhjRSTriggerLog:
  12314. properties:
  12315. accountid:
  12316. description: 用户资金账户
  12317. type: integer
  12318. accountname:
  12319. description: 账号名称(ACCOUNTID对应的名称)
  12320. type: string
  12321. currencyid:
  12322. description: 币种id
  12323. type: integer
  12324. currencyname:
  12325. description: 币种名称
  12326. type: string
  12327. decimalplace:
  12328. description: 商品报价小数位
  12329. type: integer
  12330. enumdicname:
  12331. description: 单位名称
  12332. type: string
  12333. goodscode:
  12334. description: 定投商品代码
  12335. type: string
  12336. goodsid:
  12337. description: 定投商品ID
  12338. type: integer
  12339. goodsname:
  12340. description: 定投商品名称
  12341. type: string
  12342. goodunitid:
  12343. description: 定投商品单位id
  12344. type: integer
  12345. logid:
  12346. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  12347. type: string
  12348. logincode:
  12349. description: 账号(登录代码)
  12350. type: string
  12351. qtydecimalplace:
  12352. description: 成交量小数位
  12353. type: integer
  12354. regularlycycle:
  12355. description: 定投频率 - 1:每周 2:每月
  12356. type: integer
  12357. regularlycyclevalue:
  12358. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  12359. type: string
  12360. regularlymode:
  12361. description: 定投方式 - 1:按数量 2:按金额
  12362. type: integer
  12363. regularlymodevalue:
  12364. description: 定投方式值 - 数量或金额
  12365. type: number
  12366. regularlystrategyid:
  12367. description: 定投策略ID
  12368. type: integer
  12369. retcode:
  12370. description: 错误码
  12371. type: string
  12372. tradeid:
  12373. description: 成交单ID
  12374. type: string
  12375. triggeramount:
  12376. description: 触发金额
  12377. type: number
  12378. triggerqty:
  12379. description: 触发数量
  12380. type: number
  12381. triggerstatus:
  12382. description: 触发状态 - 1:成功 2:失败
  12383. type: integer
  12384. triggertime:
  12385. description: 触发时间
  12386. type: string
  12387. triggertradedate:
  12388. description: 触发交易日
  12389. type: string
  12390. userid:
  12391. description: 所属用户ID
  12392. type: integer
  12393. userinfotype:
  12394. description: 用户类型 1-个人 2-企业
  12395. type: integer
  12396. username:
  12397. description: 用户名称(userid对应的名称)
  12398. type: string
  12399. type: object
  12400. models.QhjRStrategy:
  12401. properties:
  12402. accountid:
  12403. description: 用户资金账户
  12404. type: integer
  12405. accountname:
  12406. description: 账号名称(ACCOUNTID对应的名称)
  12407. type: string
  12408. currencyid:
  12409. description: 币种id
  12410. type: integer
  12411. currencyname:
  12412. description: 币种名称
  12413. type: string
  12414. decimalplace:
  12415. description: 商品报价小数位
  12416. type: integer
  12417. enumdicname:
  12418. description: 单位名称
  12419. type: string
  12420. goodscode:
  12421. description: 定投商品代码
  12422. type: string
  12423. goodsid:
  12424. description: 定投商品ID
  12425. type: integer
  12426. goodsname:
  12427. description: 定投商品名称
  12428. type: string
  12429. goodunitid:
  12430. description: 定投商品单位id
  12431. type: integer
  12432. lasteffecttradedate:
  12433. description: 最新生效交易日
  12434. type: string
  12435. laststoptradedate:
  12436. description: 最新暂停交易日
  12437. type: string
  12438. lasttriggertradedate:
  12439. description: 最新触发交易日
  12440. type: string
  12441. logincode:
  12442. description: 账号(登录代码)
  12443. type: string
  12444. nexttriggeramount:
  12445. description: 下次触发金额
  12446. type: number
  12447. nexttriggerdate:
  12448. description: 下次触发日期
  12449. type: string
  12450. nexttriggerqty:
  12451. description: 下次触发数量 [按小数位放大值]
  12452. type: number
  12453. qtydecimalplace:
  12454. description: 成交量小数位
  12455. type: integer
  12456. regularlycycle:
  12457. description: 定投频率 - 1:每周 2:每月
  12458. type: integer
  12459. regularlycyclevalue:
  12460. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  12461. type: string
  12462. regularlymode:
  12463. description: 定投方式 - 1:按数量 2:按金额
  12464. type: integer
  12465. regularlymodevalue:
  12466. description: 定投方式值 - 数量或金额
  12467. type: number
  12468. regularlystrategyid:
  12469. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  12470. type: integer
  12471. regularlystrategystatus:
  12472. description: 策略状态 - 1:正常 2:暂停 3:终止
  12473. type: integer
  12474. remark:
  12475. description: 备注
  12476. type: string
  12477. triggersuccesstimes:
  12478. description: 累计定投成功次数
  12479. type: string
  12480. triggertotalamount:
  12481. description: 累计定投金额(成功)
  12482. type: number
  12483. triggertotalqty:
  12484. description: 累计定投数量(成功) [按小数位放大值]
  12485. type: number
  12486. triggertotaltimes:
  12487. description: 累计定投总次数
  12488. type: string
  12489. updatesrc:
  12490. description: 更新来源 - 1:管理端 2:终端
  12491. type: integer
  12492. updatetime:
  12493. description: 更新时间
  12494. type: string
  12495. updatorid:
  12496. description: 更新人
  12497. type: string
  12498. userid:
  12499. description: 所属用户ID
  12500. type: integer
  12501. userinfotype:
  12502. description: 用户类型 1-个人 2-企业
  12503. type: integer
  12504. username:
  12505. description: 用户名称(userid对应的名称)
  12506. type: string
  12507. type: object
  12508. models.QhjReckonPriceLog:
  12509. properties:
  12510. decimalplace:
  12511. description: 商品报价小数位
  12512. type: integer
  12513. goodscode:
  12514. description: 商品代码
  12515. type: string
  12516. goodsid:
  12517. description: 商品ID
  12518. type: integer
  12519. goodsname:
  12520. description: 商品名称
  12521. type: string
  12522. lastreckonprice:
  12523. description: 上日结算价
  12524. type: number
  12525. nextdnlimitprice:
  12526. description: 下个交易日跌停价
  12527. type: number
  12528. nexttrade:
  12529. description: 下个交易日
  12530. type: string
  12531. nextuplimitprice:
  12532. description: 下个交易日涨停价
  12533. type: number
  12534. reckonprice:
  12535. description: 今日结算价(定投价)
  12536. type: number
  12537. reckontime:
  12538. description: 结算时间
  12539. type: string
  12540. totalholderqty:
  12541. description: 总持仓数
  12542. type: integer
  12543. totalstock:
  12544. description: 总库存
  12545. type: integer
  12546. tradedate:
  12547. description: 交易日
  12548. type: string
  12549. updowncount:
  12550. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  12551. type: integer
  12552. updownflag:
  12553. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  12554. type: integer
  12555. updownrate:
  12556. description: 今日涨跌幅
  12557. type: number
  12558. updownrate_2d:
  12559. description: 连续两日涨跌幅
  12560. type: number
  12561. updownrate_3d:
  12562. description: 连续三日涨跌幅
  12563. type: number
  12564. type: object
  12565. models.QhjScoreLog:
  12566. properties:
  12567. accountid:
  12568. description: 账户ID
  12569. type: integer
  12570. createtime:
  12571. description: 创建时间(时间)
  12572. type: string
  12573. goodsid:
  12574. description: 商品ID
  12575. type: integer
  12576. hasuploaded:
  12577. description: 是否已同步(千海金) 0:未同步 1;已同步
  12578. type: integer
  12579. logid:
  12580. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12581. type: string
  12582. marketid:
  12583. description: 市场ID
  12584. type: integer
  12585. relatedamount:
  12586. description: 关联金额
  12587. type: number
  12588. relatedorderid:
  12589. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  12590. type: string
  12591. scoreconfigvalue1:
  12592. description: 积分配置1
  12593. type: integer
  12594. scoreconfigvalue2:
  12595. description: 积分配置1
  12596. type: integer
  12597. scoretype:
  12598. description: 积分类型 - 1:提货积分
  12599. type: integer
  12600. scorevalue:
  12601. description: 积分
  12602. type: number
  12603. tradedate:
  12604. description: 交易日(yyyyMMdd)
  12605. type: string
  12606. uploadedtime:
  12607. description: 同步时间
  12608. type: string
  12609. userid:
  12610. description: 用户ID
  12611. type: integer
  12612. type: object
  12613. models.QhjSiteColumnDetail:
  12614. properties:
  12615. author:
  12616. description: 作者
  12617. type: string
  12618. brief:
  12619. description: 简介
  12620. type: string
  12621. columnid:
  12622. description: 所属栏目
  12623. type: integer
  12624. context:
  12625. description: 内容
  12626. type: string
  12627. coverimage:
  12628. description: 封面图片
  12629. type: string
  12630. creaedate:
  12631. description: 创建时间
  12632. type: string
  12633. creatorid:
  12634. description: 创建人
  12635. type: integer
  12636. hits:
  12637. description: 点击数
  12638. type: integer
  12639. id:
  12640. description: ID(SEQ_SITE_COLUMNDETAIL)
  12641. type: integer
  12642. isshow:
  12643. description: 是否展示 - 0:不展示 1:展示
  12644. type: integer
  12645. istop:
  12646. description: 是否置顶 - 0:不置 1:置顶
  12647. type: integer
  12648. modifierid:
  12649. description: 操作人
  12650. type: integer
  12651. publishdate:
  12652. description: 发布日期
  12653. type: string
  12654. status:
  12655. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  12656. type: integer
  12657. title:
  12658. description: 标题
  12659. type: string
  12660. updatedate:
  12661. description: 修改时间
  12662. type: string
  12663. userid:
  12664. description: 用户ID(默认为0, 核心为为机构用户ID)
  12665. type: integer
  12666. username:
  12667. description: 用户名称
  12668. type: string
  12669. type: object
  12670. models.QhjTeamOrder:
  12671. properties:
  12672. accountid:
  12673. description: 账户ID[报价币种]
  12674. type: integer
  12675. accountname:
  12676. description: 账户名称
  12677. type: string
  12678. agreeunit:
  12679. description: 合约乘数
  12680. type: number
  12681. buyorsell:
  12682. description: 方向 - 0:买 1:卖
  12683. type: integer
  12684. decimalplace:
  12685. description: 报价小数位
  12686. type: integer
  12687. enumdicname:
  12688. description: 单位名称
  12689. type: string
  12690. goodscode:
  12691. description: 商品代码(内部)
  12692. type: string
  12693. goodsid:
  12694. description: 商品ID
  12695. type: integer
  12696. goodsname:
  12697. description: 商品名称
  12698. type: string
  12699. goodunitid:
  12700. description: 报价单位ID
  12701. type: integer
  12702. marketid:
  12703. description: 市场ID
  12704. type: integer
  12705. marketname:
  12706. description: 市场名称
  12707. type: string
  12708. qtydecimalplace:
  12709. description: 成交量小数位
  12710. type: integer
  12711. refereeuserid:
  12712. description: 推荐人ID
  12713. type: integer
  12714. tradeamount:
  12715. description: 成交金额[账户币种,用于所有权]
  12716. type: number
  12717. tradedate:
  12718. description: 交易日(yyyyMMdd)
  12719. type: string
  12720. trademode:
  12721. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12722. 21:竞拍-大宗式 22:受托竞价
  12723. type: integer
  12724. tradeprice:
  12725. description: 成交价格
  12726. type: number
  12727. tradeqty:
  12728. description: 成交数量
  12729. type: number
  12730. tradetime:
  12731. description: 成交时间
  12732. type: string
  12733. userid:
  12734. description: 用户ID
  12735. type: integer
  12736. type: object
  12737. models.QhjTradeGoodsPickup:
  12738. properties:
  12739. accountid:
  12740. description: 账户ID
  12741. type: integer
  12742. address:
  12743. description: 提货人详细地址
  12744. type: string
  12745. amount:
  12746. description: 提货金额
  12747. type: number
  12748. artradedate:
  12749. description: 自动收货交易日(yyyyMMdd)
  12750. type: string
  12751. auditer:
  12752. description: 审核人
  12753. type: integer
  12754. auditsrc:
  12755. description: 更新来源 - 1:管理端 2:终端
  12756. type: integer
  12757. audittime:
  12758. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  12759. type: string
  12760. audittradedate:
  12761. description: 审核交易日(yyyyMMdd)
  12762. type: string
  12763. cardnum:
  12764. description: 提货人证件号码
  12765. type: string
  12766. cardtypeid:
  12767. description: 提货人证件类型
  12768. type: integer
  12769. checkremark:
  12770. description: 审核备注
  12771. type: string
  12772. cityid:
  12773. description: 市
  12774. type: integer
  12775. cityname:
  12776. description: 城市名称
  12777. type: string
  12778. confirmtime:
  12779. description: 取货时间 或 收货时间
  12780. type: string
  12781. countryid:
  12782. description: 国家
  12783. type: integer
  12784. countryname:
  12785. description: 国家名称
  12786. type: string
  12787. decimalplace:
  12788. description: 商品报价小数位
  12789. type: integer
  12790. districtid:
  12791. description: 地区
  12792. type: integer
  12793. districtname:
  12794. description: 地区名称
  12795. type: string
  12796. enumdicname:
  12797. description: 单位名称(提货商品)
  12798. type: string
  12799. expresscompany:
  12800. description: 物流公司
  12801. type: string
  12802. expressnum:
  12803. description: 物流单号
  12804. type: string
  12805. goodsagreeunit:
  12806. description: 交易商品乘数
  12807. type: number
  12808. goodscode:
  12809. description: 商品代码
  12810. type: string
  12811. goodsid:
  12812. description: 商品ID
  12813. type: integer
  12814. goodsname:
  12815. description: 商品名称
  12816. type: string
  12817. goodsqty:
  12818. description: 交易商品手数(69模式按成交量小数位放大取整)
  12819. type: number
  12820. handlestatus:
  12821. description: 处理状态
  12822. type: integer
  12823. logincode:
  12824. description: 账号(登录代码, 有可能为空)
  12825. type: string
  12826. marketid:
  12827. description: 市场ID
  12828. type: integer
  12829. phonenum:
  12830. description: 提货人联系方式
  12831. type: string
  12832. pickupgoodsagreeunit:
  12833. description: 提货商品合约乘数
  12834. type: number
  12835. pickupgoodsid:
  12836. description: 提货商品ID
  12837. type: string
  12838. pickupgoodsname:
  12839. description: 提货商品名称
  12840. type: string
  12841. pickupgoodsqty:
  12842. description: 提货商品手数(数量)
  12843. type: number
  12844. pickupgoodsunitid:
  12845. description: 单位ID(提货商品)
  12846. type: integer
  12847. pickupratio:
  12848. description: 提货系数
  12849. type: number
  12850. preparedays:
  12851. description: 备货期(天)-提货单明细表
  12852. type: integer
  12853. provinceid:
  12854. description: 省
  12855. type: integer
  12856. provincename:
  12857. description: 省名称
  12858. type: string
  12859. qty:
  12860. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  12861. type: number
  12862. qtydecimalplace:
  12863. description: 商品数量小数位
  12864. type: integer
  12865. recivername:
  12866. description: 提货人姓名
  12867. type: string
  12868. reqtime:
  12869. description: 提货申请时间
  12870. type: string
  12871. storeuserid:
  12872. description: 门店用户ID (千海金)
  12873. type: integer
  12874. storeusername:
  12875. description: 门店用户名称
  12876. type: string
  12877. takemode:
  12878. description: 提货方式 - 2:自提 3:配送(邮寄)
  12879. type: integer
  12880. takeorderid:
  12881. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  12882. type: string
  12883. takeorderstatus:
  12884. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  12885. 7:已拒绝 8:已撤销
  12886. type: integer
  12887. takeremark:
  12888. description: 提货备注
  12889. type: string
  12890. tradedate:
  12891. description: 交易日(yyyyMMdd)
  12892. type: string
  12893. updatetime:
  12894. description: 更新时间
  12895. type: string
  12896. userid:
  12897. description: 用户ID
  12898. type: integer
  12899. userinfotype:
  12900. description: 客户类型 1-个人 2-企业
  12901. type: integer
  12902. username:
  12903. description: 用户名称
  12904. type: string
  12905. type: object
  12906. models.QhjUserNodeCfgAndStatus:
  12907. properties:
  12908. agreementcontent:
  12909. description: 协议内容
  12910. type: string
  12911. agreementid:
  12912. description: 协议ID
  12913. type: integer
  12914. agreementname:
  12915. description: 协议名称
  12916. type: string
  12917. agreementno:
  12918. description: 协议编号
  12919. type: string
  12920. agreementtype:
  12921. description: 协议类型 - 1:注册 2:登录 3:交易
  12922. type: integer
  12923. agreementversion:
  12924. description: 协议版本号
  12925. type: integer
  12926. configid:
  12927. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12928. type: integer
  12929. createtime:
  12930. description: 创建时间
  12931. type: string
  12932. goodsid:
  12933. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12934. type: integer
  12935. nodetype:
  12936. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12937. type: integer
  12938. signtimestamp:
  12939. description: 签约状态时间戳(最近一次)
  12940. type: string
  12941. tradedate:
  12942. description: 签约交易日(yyyyMMdd)
  12943. type: string
  12944. userid:
  12945. description: 客户ID
  12946. type: integer
  12947. type: object
  12948. models.Qhjgoodsex:
  12949. properties:
  12950. canfinance:
  12951. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  12952. type: integer
  12953. canregularlybuy:
  12954. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  12955. type: integer
  12956. defaulttradeuserid:
  12957. description: 默认交易用户ID
  12958. type: integer
  12959. deliverygoodsid:
  12960. description: 现货品种ID
  12961. type: integer
  12962. goodsid:
  12963. description: 商品ID(自增ID SEQ_GOODS)
  12964. type: integer
  12965. minamount:
  12966. description: 最小购买金额
  12967. type: number
  12968. regularlybuyminamount:
  12969. description: 定投最小金额
  12970. type: number
  12971. regularlybuyminqty:
  12972. description: 定投最小数量
  12973. type: number
  12974. spotgoodsbrandid:
  12975. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  12976. type: integer
  12977. visibilityforenterprise:
  12978. description: 企业客户是否可见 - 0:不可见 1:可见
  12979. type: integer
  12980. visibilityforpersonal:
  12981. description: 个人客户是否可见 - 0:不可见 1:可见
  12982. type: integer
  12983. wrstandardid:
  12984. description: 现货商品ID
  12985. type: integer
  12986. type: object
  12987. models.QueryErrorInfosRsp:
  12988. properties:
  12989. description:
  12990. description: 异常描述
  12991. type: string
  12992. errorcode:
  12993. description: 异常代码
  12994. type: string
  12995. errorid:
  12996. description: 异常ID
  12997. type: integer
  12998. modulecode:
  12999. description: 所属模块
  13000. type: string
  13001. operatecode:
  13002. description: 所属操作
  13003. type: string
  13004. rownumber:
  13005. description: 行号
  13006. type: string
  13007. required:
  13008. - errorid
  13009. type: object
  13010. models.QueryHedgeOrderDetailRsp:
  13011. properties:
  13012. accountid:
  13013. description: 账户ID
  13014. type: integer
  13015. buyorsell:
  13016. description: 买卖 - 0:买 1:卖
  13017. type: integer
  13018. cancellogincode:
  13019. description: 撤单人
  13020. type: string
  13021. channelbuildtype:
  13022. description: 开平标志 - 0:无 1:建仓 2:平仓
  13023. type: integer
  13024. channelinnerorderstatus:
  13025. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:部分成交 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  13026. 9:全部成交
  13027. type: integer
  13028. channeloperatetype:
  13029. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  13030. type: integer
  13031. closetype:
  13032. description: 平仓方式 - 0:无 1:平今 2:平昨
  13033. type: integer
  13034. curexchangerate:
  13035. description: 当前汇率
  13036. type: number
  13037. decimalplace:
  13038. description: 商品报价小数位
  13039. type: integer
  13040. exchangefullname:
  13041. description: 外部交易所全称
  13042. type: string
  13043. goodscode:
  13044. description: 商品代码(内部)
  13045. type: string
  13046. goodsid:
  13047. description: 商品ID
  13048. type: integer
  13049. goodsname:
  13050. description: 商品名称
  13051. type: string
  13052. marketid:
  13053. description: 市场ID
  13054. type: integer
  13055. openfreezemargin:
  13056. description: 冻结保证金(冻结交易金额)
  13057. type: number
  13058. orderid:
  13059. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13060. type: string
  13061. orderlogincode:
  13062. description: 委托人
  13063. type: string
  13064. orderprice:
  13065. description: 委托价格(账户)
  13066. type: number
  13067. orderqty:
  13068. description: 委托数量
  13069. type: integer
  13070. ordertime:
  13071. description: 委托时间
  13072. type: string
  13073. pricemode:
  13074. description: '取价方式 - 1:市价 2: 限价'
  13075. type: integer
  13076. tradedate:
  13077. description: 交易日(yyyyMMdd)
  13078. type: string
  13079. tradeqty:
  13080. description: 成交数量
  13081. type: integer
  13082. type: object
  13083. models.QueryHedgeTradeDetailRsp:
  13084. properties:
  13085. accountid:
  13086. description: 账号ID
  13087. type: integer
  13088. buyorsell:
  13089. description: 方向 - 0:买 1:卖
  13090. type: integer
  13091. channelbuildtype:
  13092. description: 委托单据类型 0:无 1:建仓 2:平仓
  13093. type: integer
  13094. closecharge:
  13095. description: 平仓手续费(账户)
  13096. type: number
  13097. closecharge2:
  13098. description: 平仓手续费(商品)
  13099. type: number
  13100. closepl:
  13101. description: 平仓盈亏(账户)
  13102. type: number
  13103. closepl2:
  13104. description: 平仓盈亏(商品)
  13105. type: number
  13106. closepl3:
  13107. description: 平仓盈亏(账户)(逐笔)
  13108. type: number
  13109. closepl4:
  13110. description: 平仓盈亏(商品)(逐笔)
  13111. type: number
  13112. closetype:
  13113. description: 平仓方式 - 0:无 1:平今 2:平昨
  13114. type: integer
  13115. curexchangerate:
  13116. description: 当前汇率
  13117. type: number
  13118. decimalplace:
  13119. description: 商品报价小数位
  13120. type: integer
  13121. exchangefullname:
  13122. description: 外部交易所全称
  13123. type: string
  13124. goodscode:
  13125. description: 商品代码(内部)
  13126. type: string
  13127. goodsid:
  13128. description: 商品ID
  13129. type: integer
  13130. goodsname:
  13131. description: 商品名称
  13132. type: string
  13133. marketid:
  13134. description: 市场ID
  13135. type: integer
  13136. opencharge:
  13137. description: 建仓手续费(账户)
  13138. type: number
  13139. opencharge2:
  13140. description: 建仓手续费(商品)
  13141. type: number
  13142. orderid:
  13143. description: 委托单号
  13144. type: string
  13145. orderlogincode:
  13146. description: 委托人
  13147. type: string
  13148. tradeamount:
  13149. description: 成交金额(账户)
  13150. type: number
  13151. tradedate:
  13152. description: 交易日(yyyyMMdd)
  13153. type: string
  13154. tradeid:
  13155. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13156. type: string
  13157. tradeprice:
  13158. description: 成交价格
  13159. type: number
  13160. tradeqty:
  13161. description: 成交数量
  13162. type: integer
  13163. tradetime:
  13164. description: 成交时间
  13165. type: string
  13166. tradetype:
  13167. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  13168. type: integer
  13169. type: object
  13170. models.QuotePrimaryMenu:
  13171. properties:
  13172. Index:
  13173. description: 序号
  13174. type: integer
  13175. Key:
  13176. description: 键名
  13177. type: string
  13178. Name:
  13179. description: 菜单名称
  13180. type: string
  13181. SubMenus:
  13182. description: 子菜单
  13183. items:
  13184. $ref: '#/definitions/models.QuoteSecondaryMenu'
  13185. type: array
  13186. SubTitleType:
  13187. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  13188. type: integer
  13189. TradeModes:
  13190. description: 包含市场交易类型
  13191. type: string
  13192. type: object
  13193. models.QuoteSecondaryMenu:
  13194. properties:
  13195. ExExchangeCode:
  13196. description: 外部交易所代码
  13197. type: string
  13198. ExExchangeID:
  13199. description: 外部交易所ID
  13200. type: integer
  13201. GoodsGroupIDs:
  13202. description: 商品组ID列表
  13203. items:
  13204. type: integer
  13205. type: array
  13206. Index:
  13207. description: 序号
  13208. type: integer
  13209. MarketID:
  13210. description: 市场ID
  13211. type: integer
  13212. MenuTitle:
  13213. description: 菜单标题(市场名称或外部交易所名称)
  13214. type: string
  13215. TradeMode:
  13216. description: 交易模式
  13217. type: integer
  13218. type: object
  13219. models.RoleMenu:
  13220. properties:
  13221. hasright:
  13222. description: 是否有权限 0-没有权限 1-有权限
  13223. type: integer
  13224. iconame:
  13225. description: 菜单图标
  13226. type: string
  13227. menutype:
  13228. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  13229. type: integer
  13230. parentcode:
  13231. description: 上级资源代码
  13232. type: string
  13233. remark:
  13234. description: 菜单备注
  13235. type: string
  13236. resourcecode:
  13237. description: 菜单代码
  13238. type: string
  13239. resourcelevel:
  13240. description: 级别
  13241. type: integer
  13242. resourcename:
  13243. description: 菜单名称
  13244. type: string
  13245. roleid:
  13246. description: 角色id
  13247. type: integer
  13248. sort:
  13249. description: 排序
  13250. type: integer
  13251. subMenu:
  13252. description: 子级菜单(结构同上层一样, swag解析不出来)
  13253. items:
  13254. $ref: '#/definitions/models.RoleMenu'
  13255. type: array
  13256. url:
  13257. description: URL
  13258. type: string
  13259. userid:
  13260. description: 用户id
  13261. type: integer
  13262. type: object
  13263. models.SearchGoods:
  13264. properties:
  13265. goodscode:
  13266. description: 商品代码(内部)
  13267. type: string
  13268. goodsid:
  13269. description: 商品ID(自增ID SEQ_GOODS)
  13270. type: integer
  13271. goodsname:
  13272. description: 商品名称
  13273. type: string
  13274. marketid:
  13275. description: 所属市场ID
  13276. type: integer
  13277. marketname:
  13278. description: 市场名称
  13279. type: string
  13280. trademode:
  13281. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  13282. 21:竞拍-大宗式 22:受托竞价
  13283. type: integer
  13284. required:
  13285. - goodscode
  13286. - goodsid
  13287. - goodsname
  13288. - marketid
  13289. - trademode
  13290. type: object
  13291. models.Systemparam:
  13292. properties:
  13293. loginid:
  13294. description: 更新用户账号,登录账号
  13295. type: string
  13296. modifyflag:
  13297. description: 修改标志0 不允许修改 1 允许修改
  13298. type: integer
  13299. paramcode:
  13300. description: 参数代码
  13301. type: string
  13302. paramname:
  13303. description: 参数名
  13304. type: string
  13305. paramtype:
  13306. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  13307. type: integer
  13308. paramvalue:
  13309. description: 参数值
  13310. type: string
  13311. paramvalue2:
  13312. description: 参数值(CLOB)
  13313. type: string
  13314. regexpress:
  13315. description: 正则表达式
  13316. type: string
  13317. remark:
  13318. description: 备注
  13319. type: string
  13320. serverip:
  13321. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  13322. type: string
  13323. showflag:
  13324. description: 是否显示0 不显示 1 显示
  13325. type: integer
  13326. updatetime:
  13327. description: 更新时间
  13328. type: string
  13329. userid:
  13330. description: 更新用户ID
  13331. type: integer
  13332. required:
  13333. - paramcode
  13334. type: object
  13335. models.Szdz3convertconfig:
  13336. properties:
  13337. canin:
  13338. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  13339. type: integer
  13340. canout:
  13341. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  13342. type: integer
  13343. converttype:
  13344. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  13345. 6:交易转花生米(不设置)
  13346. type: integer
  13347. createtime:
  13348. description: 创建时间
  13349. type: string
  13350. creatorid:
  13351. description: 创建人
  13352. type: integer
  13353. daymaxvalue:
  13354. description: 当日最大转入限制
  13355. type: number
  13356. freezedays:
  13357. description: 冻结天数 [5:花生米转交易]
  13358. type: integer
  13359. innergoodsid:
  13360. description: 内部商品ID[交易]
  13361. type: integer
  13362. inratio:
  13363. description: 目标值
  13364. type: integer
  13365. modifierid:
  13366. description: 修改人
  13367. type: integer
  13368. modifytime:
  13369. description: 修改时间
  13370. type: string
  13371. outergoodscode:
  13372. description: 外部商品代码[JD\PD]
  13373. type: string
  13374. outratio:
  13375. description: 源值
  13376. type: integer
  13377. pddecimalplace:
  13378. description: PD小数位
  13379. type: integer
  13380. timemaxvalue:
  13381. description: 单次最大转入限制
  13382. type: number
  13383. timeminvalue:
  13384. description: 单次最小转入限制
  13385. type: number
  13386. required:
  13387. - converttype
  13388. - innergoodsid
  13389. - outergoodscode
  13390. type: object
  13391. models.Szdz3searchwhitelist:
  13392. properties:
  13393. createtime:
  13394. description: 创建时间
  13395. type: string
  13396. creatorid:
  13397. description: 创建人
  13398. type: integer
  13399. modifierid:
  13400. description: 修改人
  13401. type: integer
  13402. modifytime:
  13403. description: 修改时间
  13404. type: string
  13405. userid:
  13406. description: 用户ID
  13407. type: integer
  13408. required:
  13409. - userid
  13410. type: object
  13411. models.TBGoods:
  13412. properties:
  13413. agreeunit:
  13414. description: 合约乘数
  13415. type: number
  13416. enumdicname:
  13417. description: 单位名称
  13418. type: string
  13419. goodscode:
  13420. description: 商品代码(内部)
  13421. type: string
  13422. goodsid:
  13423. description: 商品ID(自增ID SEQ_GOODS)
  13424. type: integer
  13425. goodsname:
  13426. description: 商品名称
  13427. type: string
  13428. type: object
  13429. models.TBGoodsGroup:
  13430. properties:
  13431. GDLST:
  13432. description: 商品列表
  13433. items:
  13434. $ref: '#/definitions/models.TBGoods'
  13435. type: array
  13436. convertratio:
  13437. description: 折算系数
  13438. type: number
  13439. enumdicname:
  13440. description: 单位名称
  13441. type: string
  13442. exexchangecode:
  13443. description: 交易所代码
  13444. type: string
  13445. exexchangename:
  13446. description: 交易所名称
  13447. type: string
  13448. goodsgroupid:
  13449. description: 商品组ID(自增ID)
  13450. type: integer
  13451. goodsgroupname:
  13452. description: 商品组名称
  13453. type: string
  13454. goodunitid:
  13455. description: 报价单位ID
  13456. type: integer
  13457. type: object
  13458. models.TBMiddleGoods:
  13459. properties:
  13460. GPLST:
  13461. description: 期货品种列表
  13462. items:
  13463. $ref: '#/definitions/models.TBGoodsGroup'
  13464. type: array
  13465. WDLST:
  13466. description: 商品信息列表(现货品类)
  13467. items:
  13468. $ref: '#/definitions/models.TBWrstandard'
  13469. type: array
  13470. areauserid:
  13471. description: 机构用户ID
  13472. type: integer
  13473. enumdicname:
  13474. description: 单位名称
  13475. type: string
  13476. goodsunitid:
  13477. description: 套保品种单位id
  13478. type: integer
  13479. middlegoodscode:
  13480. description: 套保品种代码
  13481. type: string
  13482. middlegoodsid:
  13483. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  13484. type: integer
  13485. middlegoodsname:
  13486. description: 套保品种名称
  13487. type: string
  13488. needarbitrageratio:
  13489. description: 套利比率
  13490. type: number
  13491. needhedgeratio:
  13492. description: 套保比率
  13493. type: number
  13494. type: object
  13495. models.TBWrstandard:
  13496. properties:
  13497. convertratio:
  13498. description: 折算系数
  13499. type: number
  13500. deliverygoodsname:
  13501. description: 品种名称
  13502. type: string
  13503. enumdicname:
  13504. description: 单位名称
  13505. type: string
  13506. vatrate:
  13507. description: 增值税率
  13508. type: number
  13509. wrstandardcode:
  13510. description: 现货商品代码
  13511. type: string
  13512. wrstandardid:
  13513. description: 现货商品ID(SEQ_WRSTANDARD)
  13514. type: integer
  13515. wrstandardname:
  13516. description: 现货商品名称
  13517. type: string
  13518. type: object
  13519. models.Taaccount:
  13520. properties:
  13521. accountflag:
  13522. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  13523. type: integer
  13524. accountid:
  13525. description: 资金账户ID
  13526. type: integer
  13527. accountname:
  13528. description: 账户名称
  13529. type: string
  13530. balance:
  13531. description: 期初余额
  13532. type: number
  13533. capitalbalance:
  13534. description: 本金余额[外部子账户实际出入金余额]
  13535. type: number
  13536. changeflag:
  13537. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  13538. type: integer
  13539. changetime:
  13540. description: 账户状态变更时间
  13541. type: string
  13542. closepl:
  13543. description: 今日平仓盈亏
  13544. type: number
  13545. creditdecrease:
  13546. description: 今日授信减少
  13547. type: number
  13548. creditincrease:
  13549. description: 今日授信增加
  13550. type: number
  13551. curamount:
  13552. description: 总市值(从持仓中统计)
  13553. type: number
  13554. currencyid:
  13555. description: 货币ID
  13556. type: integer
  13557. currentbalance:
  13558. description: 期末余额
  13559. type: number
  13560. freezecharge:
  13561. description: 手续费冻结
  13562. type: number
  13563. freezemargin:
  13564. description: 冻结保证金
  13565. type: number
  13566. fromaccountid:
  13567. description: 所属上级账户
  13568. type: integer
  13569. inamount:
  13570. description: 今日入金金额(包括三方入金)
  13571. type: number
  13572. ismain:
  13573. description: 是否母账号 0:不是母账户 1:是母账户
  13574. type: integer
  13575. ismarketaccount:
  13576. description: 是否机构接单账号 0:不是 1:是
  13577. type: integer
  13578. isreckonaccount:
  13579. description: 是否机构分润账号 0:不是 1:是
  13580. type: integer
  13581. mortgagecredit:
  13582. description: 授信金额
  13583. type: number
  13584. orifreezecharge:
  13585. description: 期初手续费冻结
  13586. type: number
  13587. orifreezemargin:
  13588. description: 期初冻结保证金
  13589. type: number
  13590. orimortgagecredit:
  13591. description: 期初授信金额
  13592. type: number
  13593. oriothercredit:
  13594. description: 期初其它授信金额
  13595. type: number
  13596. oriotherfreezemargin:
  13597. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  13598. type: number
  13599. orioutamountfreeze:
  13600. description: 期初出金冻结
  13601. type: number
  13602. oriusedmargin:
  13603. description: 期初占用保证金
  13604. type: number
  13605. othercredit:
  13606. description: 其它授信金额
  13607. type: number
  13608. othercreditdecrease:
  13609. description: 今日其它授信减少
  13610. type: number
  13611. othercreditincrease:
  13612. description: 今日其它授信增加
  13613. type: number
  13614. otherfreezemargin:
  13615. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  13616. type: number
  13617. otherincome:
  13618. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  13619. type: number
  13620. otherpay:
  13621. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  13622. type: number
  13623. outamount:
  13624. description: 今日出金金额(包括三方出金)
  13625. type: number
  13626. outamountfreeze:
  13627. description: 出金冻结
  13628. type: number
  13629. outthreshold:
  13630. description: 出金阈值
  13631. type: number
  13632. parentaccountid:
  13633. description: 所属根账号
  13634. type: integer
  13635. paycharge:
  13636. description: 今日手续费支出
  13637. type: number
  13638. relatedaccountstatus:
  13639. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  13640. type: integer
  13641. relateduserid:
  13642. description: 关联用户
  13643. type: integer
  13644. remainamount:
  13645. description: 融资额(从融资合同中统计)
  13646. type: number
  13647. serivcegroup:
  13648. description: 服务分组
  13649. type: integer
  13650. signstatus:
  13651. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  13652. type: integer
  13653. sublevelpath:
  13654. description: 账号层级路径(逗号分隔,首尾加逗号)
  13655. type: string
  13656. taaccounttype:
  13657. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  13658. type: integer
  13659. thirdinamount:
  13660. description: 今日三方入金
  13661. type: number
  13662. thirdoutamount:
  13663. description: 今日三方出金
  13664. type: number
  13665. tradestatus:
  13666. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  13667. type: integer
  13668. tradestatuschangetime:
  13669. description: 激活时间
  13670. type: string
  13671. transferamount:
  13672. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  13673. type: number
  13674. usedmargin:
  13675. description: 占用保证金
  13676. type: number
  13677. userid:
  13678. description: 用户ID
  13679. type: integer
  13680. required:
  13681. - accountid
  13682. - userid
  13683. type: object
  13684. models.Tablecolumnconfig:
  13685. properties:
  13686. aligntype:
  13687. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  13688. type: integer
  13689. autoid:
  13690. description: AutoID
  13691. type: integer
  13692. columnfield:
  13693. description: 列字段
  13694. type: string
  13695. columntitle:
  13696. description: 列Title
  13697. type: string
  13698. columnwidth:
  13699. description: 列宽
  13700. type: string
  13701. formatterstring:
  13702. description: 格式化字符
  13703. type: string
  13704. formattertype:
  13705. description: 格式化类型
  13706. type: string
  13707. groupname:
  13708. description: 表头分组名称
  13709. type: string
  13710. isshow:
  13711. description: 是否显示 - 0:不显示 1:显示
  13712. type: integer
  13713. needsummary:
  13714. description: 是否需要汇总 - 0:不需要 1:需要
  13715. type: integer
  13716. orderindex:
  13717. description: 顺序
  13718. type: integer
  13719. remark:
  13720. description: 备注
  13721. type: string
  13722. summarytype:
  13723. description: 汇总类型 - 1:加总 2:最后一个
  13724. type: integer
  13725. tablekey:
  13726. description: 列表Key
  13727. type: string
  13728. required:
  13729. - autoid
  13730. type: object
  13731. models.TjmdMarketSection:
  13732. properties:
  13733. marketsectionid:
  13734. description: 市场版块ID(SEQ_MARKETSECTION)
  13735. type: integer
  13736. marketsectionname:
  13737. description: 市场版块名称
  13738. type: string
  13739. mlist:
  13740. description: 市场列表(板块下面有多少个市场)
  13741. items:
  13742. $ref: '#/definitions/models.TjmdMarketSectionConfig'
  13743. type: array
  13744. orderindex:
  13745. description: 排序
  13746. type: integer
  13747. pictureurl:
  13748. description: 图片url, 规格(90*90)
  13749. type: string
  13750. remark:
  13751. description: 备注
  13752. type: string
  13753. type: object
  13754. models.TjmdMarketSectionConfig:
  13755. properties:
  13756. auctionwrtype:
  13757. description: 仓单类型(现货交易) - 1:无仓单 2:有仓单 3;有无仓单均可
  13758. type: integer
  13759. canacceptquote:
  13760. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  13761. type: integer
  13762. cangoodsexercise:
  13763. description: '[期权]是否可现货行权- 0:否 1:是'
  13764. type: integer
  13765. cangoodsexercisetype:
  13766. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  13767. type: integer
  13768. canmanualquotestrike:
  13769. description: 是否可手动报行权价- 0:否 1:是 [期权]
  13770. type: integer
  13771. canmutistage:
  13772. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  13773. type: integer
  13774. canpreexercise:
  13775. description: '[期权]是否可预申报- 0:否 1:是'
  13776. type: integer
  13777. clearinterval:
  13778. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  13779. type: integer
  13780. contracttmp:
  13781. description: 合同模板[荷兰式][竞价式][仓单贸易]
  13782. type: string
  13783. exchareaid:
  13784. description: 所属交易所,可以没有
  13785. type: integer
  13786. financemarketid:
  13787. description: 融资回购市场ID [仓单贸易]
  13788. type: integer
  13789. goodstype:
  13790. description: 商品类型 - 1:交易商品 2:仓单商品
  13791. type: integer
  13792. hasrebate:
  13793. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  13794. type: integer
  13795. hastradecredit:
  13796. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  13797. type: integer
  13798. haswr:
  13799. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  13800. type: integer
  13801. isdeductmargin:
  13802. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  13803. type: integer
  13804. isrecordsource:
  13805. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  13806. type: integer
  13807. isreleasemargin:
  13808. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  13809. type: integer
  13810. isupdatereckonprice:
  13811. description: 输入结算价标识 - 0:系统生成 1:手工输入(自动) 2:手工输入(手动)
  13812. type: integer
  13813. listingmode:
  13814. description: 挂牌方式 1:一口价 2:浮动价 3:贸易圈 4:协议指定
  13815. type: integer
  13816. marginformula:
  13817. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  13818. type: integer
  13819. marginformula2:
  13820. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  13821. type: integer
  13822. marketid:
  13823. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  13824. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  13825. type: integer
  13826. marketname:
  13827. description: 市场名称
  13828. type: string
  13829. marketsectionid:
  13830. description: 市场版块ID(SEQ_MARKETSECTION)
  13831. type: integer
  13832. marketserviceid:
  13833. description: 市场服务ID
  13834. type: integer
  13835. marketstatus:
  13836. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  13837. type: integer
  13838. markettype:
  13839. description: 市场类型- 1:非交易服务 2:交易服务
  13840. type: integer
  13841. matchermode:
  13842. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手 - 作废
  13843. type: integer
  13844. nowrquotaflag:
  13845. description: 是否校验无仓单额度(仓单贸易) 0:否 1:是
  13846. type: integer
  13847. openmethod:
  13848. description: 开盘模式 - 0 自动 1手动
  13849. type: integer
  13850. orderindex:
  13851. description: 排序
  13852. type: integer
  13853. otcuserid:
  13854. description: 场外期权做市商[场外期权]
  13855. type: integer
  13856. outersynctime:
  13857. description: 外部同步时间点(h24:mi:ss)[场外期权]
  13858. type: string
  13859. paylaterflag:
  13860. description: 是否支持后付 - 0:不支持 1;支持 - [挂牌点选 所有权、预售挂牌支持]
  13861. type: integer
  13862. pendingflag:
  13863. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  13864. type: integer
  13865. pendingtime:
  13866. description: 待开市时间[通道交易-对冲](HH:mm)
  13867. type: string
  13868. performancetempid:
  13869. description: 履约计划模板ID - 作废
  13870. type: integer
  13871. premiumquotemode:
  13872. description: 权利金报价方式 - 1:自动 2:手动
  13873. type: integer
  13874. rebateratio:
  13875. description: 返利比率[竞价式]
  13876. type: number
  13877. reckonorder:
  13878. description: 结算顺序
  13879. type: integer
  13880. reckonpricealgorithm:
  13881. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  13882. 6.卖一价 7.买一卖一均价 8.外部结算价'
  13883. type: integer
  13884. reckonpriceparam:
  13885. description: 结算价参数
  13886. type: integer
  13887. reckontime:
  13888. description: 结算时间[通道交易-对冲](HH:mm)
  13889. type: string
  13890. roleprioritytype:
  13891. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  13892. type: integer
  13893. selllistingauditflag:
  13894. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  13895. type: integer
  13896. trademarkettype:
  13897. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  13898. type: integer
  13899. trademode:
  13900. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  13901. 21:竞拍-大宗式 22:受托竞价
  13902. type: integer
  13903. tradeproperty:
  13904. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  13905. 8:场外期权
  13906. type: integer
  13907. tradetype:
  13908. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  13909. type: integer
  13910. updatereckonpriceinterval:
  13911. description: 输入结算价时长(分钟) [1:手工输入(自动)]
  13912. type: integer
  13913. type: object
  13914. models.TjmdQuoteGoods:
  13915. properties:
  13916. buyqty:
  13917. description: 买量(暂不做, 无值, 保留字段)
  13918. type: number
  13919. decimalplace:
  13920. description: 报价小数位
  13921. type: integer
  13922. goodscode:
  13923. description: 合约代码
  13924. type: string
  13925. goodsgroupid:
  13926. description: 商品组ID(自增ID)
  13927. type: integer
  13928. goodsgroupname:
  13929. description: 商品组名称
  13930. type: string
  13931. goodsid:
  13932. description: 合约id
  13933. type: integer
  13934. goodsname:
  13935. description: 合约名称
  13936. type: string
  13937. refgoodscode:
  13938. description: 标的合约代码
  13939. type: string
  13940. refgoodsid:
  13941. description: 标的合约id
  13942. type: integer
  13943. refgoodsname:
  13944. description: 标的合约名称
  13945. type: string
  13946. sellqty:
  13947. description: 卖量(暂不做, 无值, 保留字段)
  13948. type: number
  13949. type: object
  13950. models.TjmdTodayAccountMargin:
  13951. properties:
  13952. accountid:
  13953. description: 账号ID
  13954. type: integer
  13955. goodsid:
  13956. description: 商品ID
  13957. type: integer
  13958. infoc:
  13959. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  13960. description: 配置参数
  13961. marketid:
  13962. description: 市场ID
  13963. type: integer
  13964. type: object
  13965. models.TjmdTradeOrderDetail:
  13966. properties:
  13967. buyorsell:
  13968. description: 买卖方向 0-买 1-卖
  13969. type: integer
  13970. goodsid:
  13971. description: 商品id
  13972. type: integer
  13973. marketmaxsub:
  13974. description: 市价最大偏移范围 [浮动价 - 点差]
  13975. type: number
  13976. orderid:
  13977. description: 委托单号
  13978. type: string
  13979. orderprice:
  13980. description: 委托价格
  13981. type: number
  13982. orderqty:
  13983. description: 委托数量
  13984. type: integer
  13985. pricemode:
  13986. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  13987. type: integer
  13988. userid:
  13989. description: 用户id
  13990. type: integer
  13991. username:
  13992. description: 用户名称(已脱敏)
  13993. type: string
  13994. type: object
  13995. models.TjmdTransferApply:
  13996. properties:
  13997. applyid:
  13998. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  13999. type: integer
  14000. applystatus:
  14001. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  14002. type: integer
  14003. applytime:
  14004. description: 申请时间(时间)
  14005. type: string
  14006. auditremark:
  14007. description: 审核备注(拒绝原因?)
  14008. type: string
  14009. begindate:
  14010. description: 开始交易日(yyyymmdd)
  14011. type: string
  14012. buyorsell:
  14013. description: 买卖 - 0:买 1:卖
  14014. type: integer
  14015. enddate:
  14016. description: 结束交易日(yyyymmdd)
  14017. type: string
  14018. goodscode:
  14019. description: 商品代码
  14020. type: string
  14021. goodsid:
  14022. description: 商品ID
  14023. type: integer
  14024. goodsname:
  14025. description: 商品名称
  14026. type: string
  14027. marketid:
  14028. description: 市场ID
  14029. type: integer
  14030. qty:
  14031. description: 转让数量(数量)
  14032. type: number
  14033. tradeid:
  14034. description: 成交单号(关联持仓)
  14035. type: string
  14036. transferamount:
  14037. description: 转让总金额(金额)
  14038. type: number
  14039. transferprice:
  14040. description: 转让价格(协议价格)
  14041. type: number
  14042. type: object
  14043. models.TradeHolderDetail:
  14044. properties:
  14045. accountid:
  14046. description: 账号ID
  14047. type: integer
  14048. agreeunit:
  14049. description: 合约乘数
  14050. type: number
  14051. buyorsell:
  14052. description: 方向 - 0:买 1:卖
  14053. type: integer
  14054. currencyid:
  14055. description: 商品币种id
  14056. type: integer
  14057. currencyname:
  14058. description: 币种名称
  14059. type: string
  14060. decimalplace:
  14061. description: 商品价格小数位
  14062. type: integer
  14063. enumdicname:
  14064. description: 商品单位名称
  14065. type: string
  14066. expirecycle:
  14067. description: 行权周期(天) - 1:滚动行权时填写
  14068. type: integer
  14069. expiredate:
  14070. description: 行权日(yyyyMMdd) - 到期日
  14071. type: string
  14072. expiretype:
  14073. description: 行权日类型 - 1:滚动行权 2:固定日行权
  14074. type: integer
  14075. freezeqty:
  14076. description: 冻结数量
  14077. type: number
  14078. goodscode:
  14079. description: 商品代码
  14080. type: string
  14081. goodsid:
  14082. description: 商品ID
  14083. type: integer
  14084. goodsname:
  14085. description: 商品名称
  14086. type: string
  14087. goodunitid:
  14088. description: 商品单位id
  14089. type: integer
  14090. holderamount:
  14091. description: 持仓金额
  14092. type: number
  14093. holdercredit:
  14094. description: 持仓授信金额
  14095. type: number
  14096. holderdays:
  14097. description: 剩余冻结天数
  14098. type: integer
  14099. holderprice:
  14100. description: 持仓价格
  14101. type: number
  14102. holderqty:
  14103. description: 持仓数量
  14104. type: number
  14105. isconfirmexercise:
  14106. description: 是否确认行权- 0:否 1:是
  14107. type: integer
  14108. ispreexercise:
  14109. description: 是否预申报- 0:否 1:是 2:不可行权
  14110. type: integer
  14111. marketid:
  14112. description: 市场id
  14113. type: integer
  14114. marketname:
  14115. description: 市场名称
  14116. type: string
  14117. openprice:
  14118. description: 建仓价格
  14119. type: number
  14120. openqty:
  14121. description: 建仓数量
  14122. type: number
  14123. optiontype:
  14124. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  14125. type: integer
  14126. preexerciseprice:
  14127. description: 预申报价格
  14128. type: number
  14129. premium:
  14130. description: 权利金
  14131. type: number
  14132. qtydecimalplace:
  14133. description: 商品成交量小数位
  14134. type: integer
  14135. refgoodscode:
  14136. description: 标的合约代码
  14137. type: string
  14138. refgoodsid:
  14139. description: 标的合约id
  14140. type: integer
  14141. releaseamount:
  14142. description: 释放持仓金额
  14143. type: number
  14144. releaseholdercredit:
  14145. description: 释放持仓授信金额
  14146. type: number
  14147. taname:
  14148. description: 资金账号名称
  14149. type: string
  14150. tradeamount:
  14151. description: 成交金额
  14152. type: number
  14153. tradedate:
  14154. description: 交易日(yyyyMMdd)
  14155. type: string
  14156. tradeid:
  14157. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14158. type: string
  14159. trademode:
  14160. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  14161. 21:竞拍-大宗式 22:受托竞价 46:掉期
  14162. type: integer
  14163. tradeproperty:
  14164. description: 交易属性
  14165. type: integer
  14166. tradetime:
  14167. description: 交易时间
  14168. type: string
  14169. userid:
  14170. description: 用户id
  14171. type: integer
  14172. username:
  14173. description: 用户名称
  14174. type: string
  14175. type: object
  14176. models.UserCollectConfig:
  14177. properties:
  14178. accountstatus:
  14179. description: 账户状态 - 1:正常 2:停用 3:注销
  14180. type: integer
  14181. collectaccountname:
  14182. description: 收款人账户名称
  14183. type: string
  14184. collectaccountno:
  14185. description: 收款人账户
  14186. type: string
  14187. collectbankname:
  14188. description: 收款人开户行
  14189. type: string
  14190. collectbranchbankname:
  14191. description: 收款人开户支行
  14192. type: string
  14193. collectconfigid:
  14194. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  14195. type: string
  14196. remark:
  14197. description: 备注
  14198. type: string
  14199. userid:
  14200. description: 收款人用户ID
  14201. type: integer
  14202. type: object
  14203. models.UserReceiveInfo:
  14204. properties:
  14205. address:
  14206. description: 提货人详细地址
  14207. type: string
  14208. autoid:
  14209. description: AutoID
  14210. type: integer
  14211. cardnum:
  14212. description: 证件号码(加密存储)
  14213. type: string
  14214. cardtypeid:
  14215. description: 证件类型
  14216. type: integer
  14217. cityid:
  14218. description: 市
  14219. type: integer
  14220. cityname:
  14221. description: 城市名称
  14222. type: string
  14223. countryid:
  14224. description: 国家
  14225. type: integer
  14226. countryname:
  14227. description: 国家名称
  14228. type: string
  14229. districtid:
  14230. description: 地区
  14231. type: integer
  14232. districtname:
  14233. description: 地区名称
  14234. type: string
  14235. hasencrypt:
  14236. description: 数据是否已加密 - 0:未加密 1:已加密
  14237. type: integer
  14238. isdefault:
  14239. description: 是否默认地址 - 0:否 1:是
  14240. type: integer
  14241. phonenum:
  14242. description: 提货人联系方式(加密存储)
  14243. type: string
  14244. provinceid:
  14245. description: 省
  14246. type: integer
  14247. provincename:
  14248. description: 省名称
  14249. type: string
  14250. receivername:
  14251. description: 提货人姓名
  14252. type: string
  14253. takeremark:
  14254. description: 提货备注
  14255. type: string
  14256. userid:
  14257. description: 用户ID
  14258. type: integer
  14259. type: object
  14260. models.Useraccount:
  14261. properties:
  14262. accountname:
  14263. description: 账户名称(机构名称)
  14264. type: string
  14265. accountstatus:
  14266. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  14267. type: integer
  14268. applysrc:
  14269. description: 申请来源 - 1:管理端 2:终端
  14270. type: integer
  14271. auditremark:
  14272. description: 审核备注
  14273. type: string
  14274. auditsrc:
  14275. description: 审核来源 - 1:管理端 2:终端
  14276. type: integer
  14277. audittime:
  14278. description: 审核时间
  14279. type: string
  14280. audituserid:
  14281. description: 审核人
  14282. type: integer
  14283. broker:
  14284. description: 所属经纪人ID
  14285. type: integer
  14286. canceltime:
  14287. description: 销户时间
  14288. type: string
  14289. canceluserid:
  14290. description: 销户人
  14291. type: integer
  14292. canrecommend:
  14293. description: 是否可推荐 - 0:不可 1;可
  14294. type: integer
  14295. createtime:
  14296. description: 创建时间
  14297. type: string
  14298. creatorid:
  14299. description: 创建人
  14300. type: integer
  14301. hasauth:
  14302. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  14303. type: integer
  14304. isanonymous:
  14305. description: 是否匿名下单 - 0:否 1:是
  14306. type: integer
  14307. maxinvestornum:
  14308. description: 最大用户数(经纪会员下投资者个数)
  14309. type: integer
  14310. memberuserid:
  14311. description: 所属会员ID
  14312. type: integer
  14313. modifierid:
  14314. description: 修改人
  14315. type: integer
  14316. modifyremark:
  14317. description: 变更备注
  14318. type: string
  14319. modifystatus:
  14320. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  14321. type: integer
  14322. modifytime:
  14323. description: 修改时间
  14324. type: string
  14325. parenttopuser:
  14326. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  14327. type: string
  14328. parentuserid:
  14329. description: 所属机构ID
  14330. type: integer
  14331. reckonaccountid:
  14332. description: 默认结算资金账号ID(机构分润使用) 作废
  14333. type: integer
  14334. refercount:
  14335. description: 推荐总人数
  14336. type: integer
  14337. refereeuserid:
  14338. description: 推荐人ID
  14339. type: integer
  14340. refernum:
  14341. description: 推荐码
  14342. type: string
  14343. rootuserid:
  14344. description: 根用户ID
  14345. type: integer
  14346. subaccountlevel:
  14347. description: 子账户层数
  14348. type: integer
  14349. subarealevelpath:
  14350. description: 子机构层级路径(逗号分隔,首尾加逗号)
  14351. type: string
  14352. userid:
  14353. description: 用户ID
  14354. type: integer
  14355. usertype:
  14356. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  14357. type: integer
  14358. required:
  14359. - userid
  14360. type: object
  14361. models.Userfavoritegoods:
  14362. properties:
  14363. goodsid:
  14364. description: 商品ID
  14365. type: integer
  14366. required:
  14367. - goodsid
  14368. type: object
  14369. models.Userinfo:
  14370. properties:
  14371. address:
  14372. description: 地址
  14373. type: string
  14374. attachment1:
  14375. description: 附件1
  14376. type: string
  14377. attachment2:
  14378. description: 附件2
  14379. type: string
  14380. bankaccount:
  14381. description: 银行帐号 (加密存储)
  14382. type: string
  14383. bankaccountname:
  14384. description: 收款人名称
  14385. type: string
  14386. bankcardfrontphotourl:
  14387. description: 银行卡正面照地址
  14388. type: string
  14389. bankid:
  14390. description: 银行编码
  14391. type: string
  14392. bankname:
  14393. description: 银行名称
  14394. type: string
  14395. biznature:
  14396. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  14397. type: integer
  14398. bizscope:
  14399. description: 企业经营范围(企业)
  14400. type: string
  14401. cardbackphotourl:
  14402. description: 证件背面图片地址
  14403. type: string
  14404. cardfrontphotourl:
  14405. description: 证件正面图片地址
  14406. type: string
  14407. cardnum:
  14408. description: 证件号码(加密存储)
  14409. type: string
  14410. cardtypeid:
  14411. description: 证件类型ID
  14412. type: integer
  14413. cityid:
  14414. description: 市
  14415. type: integer
  14416. company:
  14417. description: 公司(个人)
  14418. type: string
  14419. contactname:
  14420. description: 联系人
  14421. type: string
  14422. countryid:
  14423. description: 国家
  14424. type: integer
  14425. createtime:
  14426. description: 创建时间
  14427. type: string
  14428. creatorid:
  14429. description: 创建人
  14430. type: integer
  14431. customername:
  14432. description: 客户名称(企业名称)
  14433. type: string
  14434. districtid:
  14435. description: 地区
  14436. type: integer
  14437. email:
  14438. description: 邮件(加密存储)
  14439. type: string
  14440. fax:
  14441. description: 传真(加密存储)
  14442. type: string
  14443. halfbodyphotourl:
  14444. description: 半身照地址
  14445. type: string
  14446. hasencrypt:
  14447. description: 数据是否已加密 - 0:未加密 1:已加密
  14448. type: integer
  14449. headurl:
  14450. description: 头像地址
  14451. type: string
  14452. legalcardbackphotourl:
  14453. description: 法人身份证背面照地址
  14454. type: string
  14455. legalcardfrontphotourl:
  14456. description: 法人身份证正面照地址
  14457. type: string
  14458. legalpersonname:
  14459. description: 法人姓名(企业)
  14460. type: string
  14461. mobile:
  14462. description: 手机号码(加密存储)
  14463. type: string
  14464. mobile2:
  14465. description: 手机号码[明文-尚志]
  14466. type: string
  14467. modifierid:
  14468. description: 修改人
  14469. type: integer
  14470. modifiertime:
  14471. description: 修改时间
  14472. type: string
  14473. needinvoice:
  14474. description: 是否需要发票 - 0:不需要 1:需要
  14475. type: integer
  14476. nickname:
  14477. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  14478. type: string
  14479. openmode:
  14480. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  14481. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  14482. type: integer
  14483. otherurl:
  14484. description: 其它图片地址[使用分号分隔]
  14485. type: string
  14486. postalcode:
  14487. description: 邮政编码
  14488. type: string
  14489. provinceid:
  14490. description: 省
  14491. type: integer
  14492. qq:
  14493. description: QQ(加密存储
  14494. type: string
  14495. remark:
  14496. description: 备注
  14497. type: string
  14498. sex:
  14499. description: '用户性别 0: 女 1: 男'
  14500. type: integer
  14501. signpdfurl:
  14502. description: 签约pdf文件
  14503. type: string
  14504. telphone:
  14505. description: 联系电话(加密存储)
  14506. type: string
  14507. userid:
  14508. description: 用户ID
  14509. type: integer
  14510. userinfotype:
  14511. description: 用户信息类型 - 1:个人 2:企业
  14512. type: integer
  14513. userstatus:
  14514. description: 用户状态 - 1:正常 2:注销
  14515. type: integer
  14516. usertype:
  14517. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  14518. type: integer
  14519. wechat:
  14520. description: 微信(加密存储)
  14521. type: string
  14522. wskhinfo:
  14523. description: 开户申请信息(JSON)
  14524. type: string
  14525. required:
  14526. - userid
  14527. type: object
  14528. models.WRSConverTDetail:
  14529. properties:
  14530. convertratio:
  14531. description: 套保系数
  14532. type: number
  14533. deliverygoodscode:
  14534. description: 现货商品代码
  14535. type: string
  14536. deliverygoodsid:
  14537. description: 现货品种ID
  14538. type: integer
  14539. deliverygoodsname:
  14540. description: 现货商品名称
  14541. type: string
  14542. enumdicname:
  14543. description: 单位名称
  14544. type: string
  14545. goodsunitid:
  14546. description: 套保品种单位id
  14547. type: integer
  14548. middlegoodscode:
  14549. description: 套保品种代码
  14550. type: string
  14551. middlegoodsid:
  14552. description: 套保品种ID
  14553. type: integer
  14554. middlegoodsname:
  14555. description: 套保品种名称
  14556. type: string
  14557. modifytime:
  14558. description: 修改时间
  14559. type: string
  14560. wrstandardid:
  14561. description: 品类ID
  14562. type: integer
  14563. type: object
  14564. models.WRStandardInfo:
  14565. properties:
  14566. areauserid:
  14567. description: 所属机构
  14568. type: integer
  14569. convertfactor:
  14570. description: 标仓系数
  14571. type: number
  14572. createtime:
  14573. description: 创建时间
  14574. type: string
  14575. creatorid:
  14576. description: 创建人
  14577. type: integer
  14578. deliverygoodsid:
  14579. description: 品种ID
  14580. type: integer
  14581. deliverygoodsname:
  14582. description: 交割商品名称
  14583. type: string
  14584. factoryitemjson:
  14585. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  14586. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  14587. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  14588. 逗号分隔'
  14589. type: string
  14590. isvalid:
  14591. description: 是否有效 - 0:无效 1:有效
  14592. type: integer
  14593. minivalue:
  14594. description: 最小变动值
  14595. type: integer
  14596. minivaluedp:
  14597. description: 最小变动值小数位
  14598. type: integer
  14599. realminivalue:
  14600. description: 实际最小变动值
  14601. type: integer
  14602. realminivaluedp:
  14603. description: 实际最小变动值小数位
  14604. type: integer
  14605. remark:
  14606. description: 备注
  14607. type: string
  14608. unitid:
  14609. description: 单位ID
  14610. type: integer
  14611. unitname:
  14612. description: 单位
  14613. type: string
  14614. updatetime:
  14615. description: 更新时间
  14616. type: string
  14617. updatorid:
  14618. description: 更新人
  14619. type: integer
  14620. wrsstatus:
  14621. description: 状态 - 作废 - 0:未激活 1:正常
  14622. type: integer
  14623. wrstandardcode:
  14624. description: 现货品类代码
  14625. type: string
  14626. wrstandardid:
  14627. description: 现货品类ID(SEQ_WRSTANDARD)
  14628. type: integer
  14629. wrstandardname:
  14630. description: 现货品类名称
  14631. type: string
  14632. required:
  14633. - wrstandardid
  14634. type: object
  14635. models.WRTradeBargainApply:
  14636. properties:
  14637. accountid:
  14638. description: 摘牌资金账号
  14639. type: integer
  14640. applyprice:
  14641. description: 申请价格(议价价格)
  14642. type: string
  14643. applyqty:
  14644. description: 摘牌数量(议价数量)
  14645. type: number
  14646. applyremark:
  14647. description: 申请备注
  14648. type: string
  14649. applystatus:
  14650. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  14651. type: integer
  14652. applytime:
  14653. description: 申请时间(议价时间)
  14654. type: string
  14655. begindate:
  14656. description: 开始交易日(yyyymmdd)
  14657. type: string
  14658. buyorsell:
  14659. description: 买卖(挂牌类型) - 0:买 1:卖
  14660. type: integer
  14661. confirmremark:
  14662. description: 确认备注
  14663. type: string
  14664. confirmtime:
  14665. description: 确认时间
  14666. type: string
  14667. confirmuserid:
  14668. description: 确认人
  14669. type: integer
  14670. deliverygoodscode:
  14671. description: 品种代码
  14672. type: string
  14673. deliverygoodsid:
  14674. description: 品种ID
  14675. type: integer
  14676. deliverygoodsname:
  14677. description: 品种名称
  14678. type: string
  14679. deliverymonth:
  14680. description: 交收月
  14681. type: string
  14682. enddate:
  14683. description: 结束交易日(yyyymmdd)
  14684. type: string
  14685. enumdicname:
  14686. description: 单位名称
  14687. type: string
  14688. fixedprice:
  14689. description: 挂牌价格
  14690. type: number
  14691. handlestatus:
  14692. description: 处理状态
  14693. type: integer
  14694. marginvalue:
  14695. description: 履约保证金比例
  14696. type: number
  14697. marketid:
  14698. description: 市场ID
  14699. type: integer
  14700. matchaccountid:
  14701. description: 挂牌方资金账号
  14702. type: integer
  14703. matchuserid:
  14704. description: 挂牌方用户id
  14705. type: integer
  14706. matchusername:
  14707. description: 挂牌方用户名称(已脱敏)
  14708. type: string
  14709. minivalue:
  14710. description: 现货商品最小变动值
  14711. type: integer
  14712. optioncompare:
  14713. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14714. type: string
  14715. orderqty:
  14716. description: 挂牌数量
  14717. type: integer
  14718. refprice:
  14719. description: 参考价格
  14720. type: string
  14721. retcode:
  14722. description: 委托返回代码
  14723. type: integer
  14724. templatename:
  14725. description: 履约方式(履约模板名称)
  14726. type: string
  14727. tradedate:
  14728. description: 交易日(yyyyMMdd)
  14729. type: string
  14730. userid:
  14731. description: 摘牌人用户ID(议价人ID)
  14732. type: integer
  14733. username:
  14734. description: 议价人名字(已脱敏)
  14735. type: string
  14736. validtime:
  14737. description: 有效期限
  14738. type: string
  14739. warehouseid:
  14740. description: 仓库ID
  14741. type: integer
  14742. warehousename:
  14743. description: 仓库名称
  14744. type: string
  14745. wrbargainid:
  14746. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  14747. type: string
  14748. wrfactortypeid:
  14749. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14750. type: string
  14751. wrfactortypename:
  14752. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14753. type: string
  14754. wrstandardcode:
  14755. description: 现货商品代码
  14756. type: string
  14757. wrstandardid:
  14758. description: 现货商品ID
  14759. type: integer
  14760. wrstandardname:
  14761. description: 商品名称
  14762. type: string
  14763. wrtradeorderid:
  14764. description: 关联委托单ID
  14765. type: string
  14766. wrtypename:
  14767. description: 商品
  14768. type: string
  14769. type: object
  14770. models.Warehouseinfo:
  14771. properties:
  14772. address:
  14773. description: 详细地址
  14774. type: string
  14775. areauserid:
  14776. description: 所属机构
  14777. type: integer
  14778. autoid:
  14779. description: 自增ID
  14780. type: integer
  14781. cityid:
  14782. description: 市
  14783. type: integer
  14784. contactname:
  14785. description: 联系人
  14786. type: string
  14787. contactnum:
  14788. description: 联系电话
  14789. type: string
  14790. countryid:
  14791. description: 国家
  14792. type: integer
  14793. createtime:
  14794. description: 创建时间
  14795. type: string
  14796. districtid:
  14797. description: 区
  14798. type: integer
  14799. hasvideo:
  14800. description: 是否有视频 - 0:无 1:有
  14801. type: integer
  14802. provinceid:
  14803. description: 省
  14804. type: integer
  14805. remark:
  14806. description: 审核备注
  14807. type: string
  14808. videourl:
  14809. description: 视频地址
  14810. type: string
  14811. warehousecode:
  14812. description: 仓库代码
  14813. type: string
  14814. warehousename:
  14815. description: 仓库名称
  14816. type: string
  14817. warehousestatus:
  14818. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  14819. type: integer
  14820. warehousetype:
  14821. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  14822. type: integer
  14823. required:
  14824. - autoid
  14825. - warehousecode
  14826. type: object
  14827. models.WrAverageTradePrice:
  14828. properties:
  14829. averageprice:
  14830. description: 成交均价
  14831. type: number
  14832. tradedate:
  14833. description: 交易日yyyymm
  14834. type: string
  14835. type: object
  14836. models.WrBsGoodsInfo:
  14837. properties:
  14838. buyorsell:
  14839. description: 买卖方向 0-买 1-卖
  14840. type: integer
  14841. goodsid:
  14842. description: 交易合约ID
  14843. type: integer
  14844. lstitem:
  14845. description: 商品信息项
  14846. items:
  14847. $ref: '#/definitions/models.WrTypeItem'
  14848. type: array
  14849. lststep:
  14850. description: 履约规则
  14851. items:
  14852. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  14853. type: array
  14854. type: object
  14855. models.WrBuybackDetail:
  14856. properties:
  14857. buybackamount:
  14858. description: 回购金额
  14859. type: number
  14860. buybackqty:
  14861. description: 回购数量
  14862. type: number
  14863. buybackreleasemargin:
  14864. description: 回购释放保证金
  14865. type: number
  14866. buybacktime:
  14867. description: 回购时间
  14868. type: string
  14869. errordesc:
  14870. description: 错误描述
  14871. type: string
  14872. handlestatus:
  14873. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  14874. type: integer
  14875. relatedwrid:
  14876. description: 关联仓单ID
  14877. type: integer
  14878. scfcontractid:
  14879. description: SCF合同ID
  14880. type: string
  14881. scfwrbuybackid:
  14882. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  14883. type: integer
  14884. tradedate:
  14885. description: 交易日(yyyyMMdd)
  14886. type: string
  14887. type: object
  14888. models.WrDeliveryAvalidHoldLB:
  14889. properties:
  14890. accountid:
  14891. description: 资金账号
  14892. type: integer
  14893. avalidqty:
  14894. description: 数量(可点选数量)
  14895. type: number
  14896. deliverygoodsid:
  14897. description: 品种id
  14898. type: integer
  14899. enumdicname:
  14900. description: 单位名称
  14901. type: string
  14902. goodsid:
  14903. description: x合约商品id
  14904. type: integer
  14905. ladingbillid:
  14906. description: 提单id
  14907. type: string
  14908. pgoodscode:
  14909. description: p商品代码(点价合约)
  14910. type: string
  14911. pgoodsid:
  14912. description: p商品id(点价合约)
  14913. type: integer
  14914. pgoodsname:
  14915. description: p商品名称(点价合约)
  14916. type: string
  14917. pricemove:
  14918. description: 升贴水
  14919. type: number
  14920. subnum:
  14921. description: 提单子id
  14922. type: integer
  14923. userid:
  14924. description: 用户id
  14925. type: integer
  14926. username:
  14927. description: 仓单持有人
  14928. type: string
  14929. warehousecode:
  14930. description: 仓库代码
  14931. type: string
  14932. warehouseid:
  14933. description: 仓库id
  14934. type: integer
  14935. warehousename:
  14936. description: 仓库名称
  14937. type: string
  14938. wrfactortypeid:
  14939. description: 仓单要素id
  14940. type: string
  14941. wrstandardcode:
  14942. description: 品代码
  14943. type: string
  14944. wrstandardid:
  14945. description: 品类d
  14946. type: integer
  14947. wrstandardname:
  14948. description: 品类名称
  14949. type: string
  14950. wrtypename:
  14951. description: 商品
  14952. type: string
  14953. xgoodscode:
  14954. description: x合约代码
  14955. type: string
  14956. xgoodsname:
  14957. description: x合约名称
  14958. type: string
  14959. type: object
  14960. models.WrDeliveryDetail:
  14961. properties:
  14962. accountid:
  14963. description: 账号ID
  14964. type: integer
  14965. averageprice:
  14966. description: 交割均价 = 交割金额 / 交割数量
  14967. type: number
  14968. begindate:
  14969. description: 开始交易日(yyyymmdd)
  14970. type: string
  14971. buyorsell:
  14972. description: 方向 - 0:买 1:卖
  14973. type: integer
  14974. deliveryamount:
  14975. description: 货款金额(X总货款+P总货款)
  14976. type: number
  14977. deliveryid:
  14978. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  14979. type: string
  14980. deliveryorderid:
  14981. description: 申报单号
  14982. type: string
  14983. deliverypricemove:
  14984. description: 升贴水(升贴水总额)
  14985. type: number
  14986. deliveryqty:
  14987. description: 交收数量(点选数量)
  14988. type: number
  14989. deliverystatus:
  14990. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  14991. type: integer
  14992. deliverytime:
  14993. description: 交割时间
  14994. type: string
  14995. deliverytotalamount:
  14996. description: 交收金额
  14997. type: number
  14998. enddate:
  14999. description: 结束交易日(yyyymmdd)
  15000. type: string
  15001. enumdicname:
  15002. description: 单位名称
  15003. type: string
  15004. matchaccountid:
  15005. description: 对手账号ID
  15006. type: integer
  15007. matchusername:
  15008. description: 对手方名称(仓单持有人)
  15009. type: string
  15010. p1goodsremainamount:
  15011. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  15012. type: number
  15013. pdeliverycloseqty:
  15014. description: p合约平仓数量
  15015. type: number
  15016. pdeliveryprice:
  15017. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  15018. type: number
  15019. pgoodscode:
  15020. description: 商品代码
  15021. type: string
  15022. pgoodsid:
  15023. description: p点选合约id
  15024. type: integer
  15025. pgoodsname:
  15026. description: 商品名称
  15027. type: string
  15028. ppricemode:
  15029. description: 点价价格方式 - 1:商品价 2:固定值
  15030. type: integer
  15031. tradedate:
  15032. description: 交易日(yyyymmdd)
  15033. type: string
  15034. userid:
  15035. description: 用户id
  15036. type: integer
  15037. username:
  15038. description: 用户名称
  15039. type: string
  15040. warehousename:
  15041. description: 仓库名称
  15042. type: string
  15043. wrfactortypeid:
  15044. description: 仓单要素类型ID
  15045. type: string
  15046. wrtypename:
  15047. description: 商品
  15048. type: string
  15049. xdeliverycloseqty:
  15050. description: 合约数量
  15051. type: number
  15052. xgoodsamount:
  15053. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  15054. type: number
  15055. xgoodscode:
  15056. description: 商品代码
  15057. type: string
  15058. xgoodsid:
  15059. description: x交易合约ID
  15060. type: integer
  15061. xgoodsname:
  15062. description: 商品名称
  15063. type: string
  15064. type: object
  15065. models.WrDeliveryGoodsSection:
  15066. properties:
  15067. dglst:
  15068. description: 板块商品列表
  15069. items:
  15070. $ref: '#/definitions/models.WrDeliveryGoodsSectionConfig'
  15071. type: array
  15072. imagepath:
  15073. description: 图片地址
  15074. type: string
  15075. orderindex:
  15076. description: 排序
  15077. type: integer
  15078. sectionid:
  15079. description: 版块ID (SEQ_DELIVERYGOODSSECTION) - 自增100开始, 前面ID预留给SectionType
  15080. = 1的版块1 - 云融指数
  15081. type: integer
  15082. sectionname:
  15083. description: 版块名称
  15084. type: string
  15085. sectiontype:
  15086. description: 版块类型 - 1:指数版块 2:普通版块
  15087. type: integer
  15088. type: object
  15089. models.WrDeliveryGoodsSectionConfig:
  15090. properties:
  15091. deliverygoodscode:
  15092. description: 现货商品代码
  15093. type: string
  15094. deliverygoodsid:
  15095. description: 现货品种ID(SEQ_DELIVERYGOODS)
  15096. type: integer
  15097. deliverygoodsname:
  15098. description: 现货商品名称
  15099. type: string
  15100. orderindex:
  15101. description: 排序
  15102. type: integer
  15103. type: object
  15104. models.WrFAProductDetail:
  15105. properties:
  15106. accountid:
  15107. description: 资金账号
  15108. type: integer
  15109. areauserid:
  15110. description: 金融机构ID
  15111. type: integer
  15112. financingdays:
  15113. description: 天数(天)
  15114. type: integer
  15115. interestminlen:
  15116. description: 最小起息天数
  15117. type: integer
  15118. interestrate:
  15119. description: 利率
  15120. type: number
  15121. interestratemode:
  15122. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  15123. type: integer
  15124. interestsettlemode:
  15125. description: 结息方式 - 1:按日结息 3:按月结息
  15126. type: integer
  15127. interestsettlevalue:
  15128. description: 结息方式值
  15129. type: integer
  15130. isautoloan:
  15131. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  15132. type: integer
  15133. loantag:
  15134. description: '放款标识: "放款快" 或者为空'
  15135. type: string
  15136. marginratio:
  15137. description: 保证金比率质押率 - [仓单质押]
  15138. type: number
  15139. productdetailid:
  15140. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  15141. type: integer
  15142. productid:
  15143. description: 金融产品ID
  15144. type: integer
  15145. productname:
  15146. description: 产品名称
  15147. type: string
  15148. updatetime:
  15149. description: 更新时间
  15150. type: string
  15151. username:
  15152. description: 融出方
  15153. type: string
  15154. type: object
  15155. models.WrFactorTypeInfo:
  15156. properties:
  15157. deliverygoodscode:
  15158. description: 品种代码
  15159. type: string
  15160. deliverygoodsname:
  15161. description: 品种名称
  15162. type: string
  15163. dgfactoryitemid:
  15164. description: 选择项id
  15165. type: integer
  15166. dgfactoryitemtypeid:
  15167. description: 要素选择项ID (1-仓库 2-品牌)
  15168. type: integer
  15169. dgfactoryitemvalue:
  15170. description: 要素项值
  15171. type: string
  15172. itemtypename:
  15173. description: 要素项名称
  15174. type: string
  15175. optioncompare:
  15176. description: 选择比较串
  15177. type: string
  15178. warehouseid:
  15179. description: 仓库id
  15180. type: integer
  15181. wrfactortypeid:
  15182. description: 仓单要素ID
  15183. type: string
  15184. wrfactortypename:
  15185. description: 要素名称
  15186. type: string
  15187. wrfactortypename2:
  15188. description: 要素名称(不含仓库)
  15189. type: string
  15190. wrstandardcode:
  15191. description: 品类代码
  15192. type: string
  15193. wrstandardid:
  15194. description: 品类id
  15195. type: integer
  15196. wrstandardname:
  15197. description: 品类名称
  15198. type: string
  15199. type: object
  15200. models.WrFilterItem:
  15201. properties:
  15202. itemcode:
  15203. description: 代码
  15204. type: string
  15205. itemid:
  15206. description: 项id
  15207. type: integer
  15208. itemname:
  15209. description: 名称
  15210. type: string
  15211. itemtype:
  15212. description: 类型 1-品种 2-品类(商品) 3-仓库
  15213. type: integer
  15214. type: object
  15215. models.WrFinanceBuyApply:
  15216. properties:
  15217. applydate:
  15218. description: 申请时间
  15219. type: string
  15220. applystatus:
  15221. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  15222. type: integer
  15223. applyuserid:
  15224. description: 申请人
  15225. type: integer
  15226. auditdate:
  15227. description: 审核时间
  15228. type: string
  15229. auditremark:
  15230. description: 审核备注
  15231. type: string
  15232. audituserid:
  15233. description: 审核人
  15234. type: integer
  15235. buyaccountid:
  15236. description: 买方资金账号
  15237. type: integer
  15238. buyorsell:
  15239. description: 买卖 - 0:买 1:卖
  15240. type: integer
  15241. buyuserid:
  15242. description: 买方用户ID
  15243. type: integer
  15244. buyusername:
  15245. description: 买方名称
  15246. type: string
  15247. buywrtradeorderid:
  15248. description: 融资方买委托单ID
  15249. type: string
  15250. deliverygoodscode:
  15251. description: 品种代码
  15252. type: string
  15253. deliverygoodsid:
  15254. description: 品种ID
  15255. type: integer
  15256. deliverygoodsname:
  15257. description: 品种名称
  15258. type: string
  15259. deliverymonth:
  15260. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  15261. type: string
  15262. enumdicname:
  15263. description: 单位名称
  15264. type: string
  15265. financeaccountid:
  15266. description: 融资方资金帐户ID
  15267. type: integer
  15268. financeapplyid:
  15269. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15270. type: string
  15271. financeareauserid:
  15272. description: 融资方用户ID
  15273. type: string
  15274. financename:
  15275. description: 融出方名称
  15276. type: string
  15277. financetype:
  15278. description: 融资类型 1-融资回购
  15279. type: integer
  15280. financingdays:
  15281. description: 天数(天)
  15282. type: integer
  15283. freezebuymargin:
  15284. description: 冻结融资保证金(买方)
  15285. type: number
  15286. handleremark:
  15287. description: 处理备注
  15288. type: string
  15289. handlestatus:
  15290. description: 处理状态
  15291. type: integer
  15292. interestminlen:
  15293. description: 最小起息天数
  15294. type: integer
  15295. interestrate:
  15296. description: 利率
  15297. type: number
  15298. interestratemode:
  15299. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  15300. type: integer
  15301. interestsettlemode:
  15302. description: 结息方式 - 1:按日结息 3:按月结息
  15303. type: integer
  15304. interestsettlevalue:
  15305. description: 结息方式值
  15306. type: integer
  15307. isautoloan:
  15308. description: 是否自动放款 - 0:手动 1:自动
  15309. type: integer
  15310. marginratio:
  15311. description: 保证金比率质押率 - [仓单质押]
  15312. type: number
  15313. marketid:
  15314. description: 市场ID
  15315. type: integer
  15316. minivalue:
  15317. description: 现货商品最小变动值
  15318. type: integer
  15319. optioncompare:
  15320. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15321. type: string
  15322. orderqty:
  15323. description: 委托数量(商品数量)
  15324. type: number
  15325. productdetailid:
  15326. description: 产品组合ID
  15327. type: integer
  15328. productid:
  15329. description: 金融产品ID
  15330. type: integer
  15331. productname:
  15332. description: 产品名称
  15333. type: string
  15334. remark:
  15335. description: 备注
  15336. type: string
  15337. scfcontractid:
  15338. description: 仓单回购合同ID
  15339. type: string
  15340. sellaccountid:
  15341. description: 卖方资金账号
  15342. type: integer
  15343. selluserid:
  15344. description: 卖方用户ID
  15345. type: integer
  15346. sellwrtradeorderid:
  15347. description: 卖方委托单ID
  15348. type: string
  15349. tradeamount:
  15350. description: 成交金额(借款金额)
  15351. type: number
  15352. tradedate:
  15353. description: 交易日(yyyyMMdd)
  15354. type: string
  15355. tradeprice:
  15356. description: 成交价格
  15357. type: number
  15358. warehouseid:
  15359. description: 仓库ID
  15360. type: integer
  15361. warehousename:
  15362. description: 仓库名称
  15363. type: string
  15364. wrfactortypeid:
  15365. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15366. type: string
  15367. wrfactortypename:
  15368. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15369. type: string
  15370. wrpricetype:
  15371. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  15372. type: integer
  15373. wrstandardcode:
  15374. description: 现货商品代码
  15375. type: string
  15376. wrstandardid:
  15377. description: 现货商品ID
  15378. type: integer
  15379. wrstandardname:
  15380. description: 商品名称
  15381. type: string
  15382. wrtypename:
  15383. description: 商品
  15384. type: string
  15385. type: object
  15386. models.WrFriendApply:
  15387. properties:
  15388. applicantid:
  15389. description: 申请人
  15390. type: integer
  15391. applyname:
  15392. description: 申请人名称
  15393. type: string
  15394. applysrc:
  15395. description: 申请来源 - 1:管理端 2:终端
  15396. type: integer
  15397. applystatus:
  15398. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  15399. type: integer
  15400. applytime:
  15401. description: 申请时间
  15402. type: string
  15403. auditname:
  15404. description: 审核人名称
  15405. type: string
  15406. auditorid:
  15407. description: 审核人
  15408. type: integer
  15409. auditremark:
  15410. description: 审核备注
  15411. type: string
  15412. auditsrc:
  15413. description: 审核来源 - 1:管理端 2:终端
  15414. type: integer
  15415. audittime:
  15416. description: 审核时间
  15417. type: string
  15418. friendapplyid:
  15419. description: 申请ID(SEQ_FRIENDAPPLY)
  15420. type: string
  15421. friendname:
  15422. description: 好友名字(已脱敏)
  15423. type: string
  15424. frienduserid:
  15425. description: 好友用户ID
  15426. type: string
  15427. remark:
  15428. description: 备注
  15429. type: string
  15430. userid:
  15431. description: 申请人用户ID
  15432. type: integer
  15433. type: object
  15434. models.WrFtDeliveryGoods:
  15435. properties:
  15436. deliverygoodscode:
  15437. description: 品种代码
  15438. type: string
  15439. deliverygoodsid:
  15440. description: 品种ID
  15441. type: integer
  15442. deliverygoodsname:
  15443. description: 品种名称
  15444. type: string
  15445. wdlst:
  15446. description: 商品列表
  15447. items:
  15448. $ref: '#/definitions/models.WrFtWrstandard'
  15449. type: array
  15450. type: object
  15451. models.WrFtWrstandard:
  15452. properties:
  15453. enumdicname:
  15454. description: 单位名称
  15455. type: string
  15456. minivalue:
  15457. description: 最小变动值
  15458. type: integer
  15459. wrstandardcode:
  15460. description: 现货商品代码
  15461. type: string
  15462. wrstandardid:
  15463. description: 现货商品ID
  15464. type: integer
  15465. wrstandardname:
  15466. description: 商品名称
  15467. type: string
  15468. type: object
  15469. models.WrGoodsInfo:
  15470. properties:
  15471. haswr:
  15472. description: 0:仓单预售 1:仓单贸易
  15473. type: integer
  15474. lstitem:
  15475. description: 商品信息项
  15476. items:
  15477. $ref: '#/definitions/models.WrTypeItem'
  15478. type: array
  15479. lststep:
  15480. description: 履约规则
  15481. items:
  15482. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  15483. type: array
  15484. marketid:
  15485. description: 市场id
  15486. type: integer
  15487. type: object
  15488. models.WrGoodsPerformanceStep:
  15489. properties:
  15490. autoid:
  15491. description: AutoID
  15492. type: integer
  15493. isauto:
  15494. description: 是否自动 - 0:不自动 1:自动
  15495. type: integer
  15496. remark:
  15497. description: 备注
  15498. type: string
  15499. stepdate:
  15500. description: 天数信息(T+N)
  15501. type: string
  15502. stepdays:
  15503. description: 距离上一步天数
  15504. type: integer
  15505. stepindex:
  15506. description: 步骤序号
  15507. type: integer
  15508. stepinfo:
  15509. description: 步骤信息(步骤名称+步骤值)
  15510. type: string
  15511. steptypeid:
  15512. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  15513. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15514. type: integer
  15515. steptypename:
  15516. description: 步骤名称
  15517. type: string
  15518. stepvalue:
  15519. description: 步骤值
  15520. type: number
  15521. templateid:
  15522. description: 履约计划模板ID
  15523. type: integer
  15524. type: object
  15525. models.WrHoldLB:
  15526. properties:
  15527. accountid:
  15528. description: 持有人帐户ID
  15529. type: integer
  15530. createtime:
  15531. description: 创建时间(过户时间)
  15532. type: string
  15533. deliverygoodscode:
  15534. description: 品种代码
  15535. type: string
  15536. deliverygoodsid:
  15537. description: 品种ID
  15538. type: integer
  15539. deliverygoodsname:
  15540. description: 品种名称
  15541. type: string
  15542. enableqty:
  15543. description: 可用数量
  15544. type: number
  15545. enumdicname:
  15546. description: 单位名称
  15547. type: string
  15548. freezerqty:
  15549. description: 冻结数量
  15550. type: number
  15551. ladingbillid:
  15552. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15553. type: string
  15554. minivalue:
  15555. description: 现货商品最小变动值
  15556. type: integer
  15557. optioncompare:
  15558. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15559. type: string
  15560. parentsubnum:
  15561. description: 拆分父子单号
  15562. type: integer
  15563. pledgeqty:
  15564. description: 质押数量
  15565. type: number
  15566. qty:
  15567. description: 数量
  15568. type: number
  15569. subnum:
  15570. description: 提单子单号
  15571. type: integer
  15572. tradedate:
  15573. description: 交易日(yyyyMMdd)
  15574. type: string
  15575. userid:
  15576. description: 持有人ID
  15577. type: integer
  15578. warehouseid:
  15579. description: 仓库ID
  15580. type: integer
  15581. warehousename:
  15582. description: 仓库名称
  15583. type: string
  15584. wrfactortypeid:
  15585. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15586. type: string
  15587. wrfactortypename:
  15588. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15589. type: string
  15590. wrholdeno:
  15591. description: 仓单编号
  15592. type: string
  15593. wrid:
  15594. description: 仓单变更ID
  15595. type: string
  15596. wrstandardcode:
  15597. description: 现货商品代码
  15598. type: string
  15599. wrstandardid:
  15600. description: 现货商品ID
  15601. type: integer
  15602. wrstandardname:
  15603. description: 商品名称
  15604. type: string
  15605. wrtypename:
  15606. description: 商品
  15607. type: string
  15608. type: object
  15609. models.WrMarketTradeConfig:
  15610. properties:
  15611. basisdownratio:
  15612. description: 浮动价基差下限比例(仓单贸易)
  15613. type: number
  15614. basisupratio:
  15615. description: 浮动价基差上限比例(仓单贸易)
  15616. type: number
  15617. buychargealgorithm:
  15618. description: 买方手续费收取方式 1:比率 2:固定
  15619. type: integer
  15620. buychargealgorithm2:
  15621. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  15622. type: integer
  15623. buychargealgorithmvalue:
  15624. description: 买方手续费设置值(交易所部分)
  15625. type: number
  15626. buychargealgorithmvalue2:
  15627. description: 买方手续费设置值(会员部分)
  15628. type: number
  15629. buychargealgorithmvalue3:
  15630. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  15631. type: number
  15632. buychargealgorithmvalue4:
  15633. description: 回购买方手续费设置值(会员部分) --77:现货商城
  15634. type: number
  15635. buyfirstmarginalgorithm:
  15636. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  15637. type: integer
  15638. buyfirstmarginvalue:
  15639. description: 买方出价保证金设置值 - [竞拍]
  15640. type: number
  15641. buymarginalgorithm:
  15642. description: 买方保证金方式 - 1:比率 2:固定
  15643. type: integer
  15644. buymarginvalue:
  15645. description: 买方保证金设置值
  15646. type: number
  15647. buyreleaseratio:
  15648. description: 买方释放比率[2:分步履约]
  15649. type: number
  15650. executemode:
  15651. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  15652. type: integer
  15653. executeside:
  15654. description: 执行方[2:分步履约] - 1:买方 2:卖方
  15655. type: integer
  15656. failedchargealgorithm:
  15657. description: 流拍手续费收取方式 1:比率 2:固定
  15658. type: integer
  15659. failedchargevalue:
  15660. description: 流拍手续费设置值
  15661. type: number
  15662. failedchargevalue2:
  15663. description: 流拍卖方手续费设置值
  15664. type: number
  15665. holddays:
  15666. description: 合同期限[2:分步履约]
  15667. type: integer
  15668. marketid:
  15669. description: 市场ID-仓单贸易、竞拍、预售
  15670. type: integer
  15671. minqty:
  15672. description: 最小执行量[2:分步履约]
  15673. type: number
  15674. modifierid:
  15675. description: 修改人
  15676. type: integer
  15677. performancetempid:
  15678. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  15679. 立即执行(-1)
  15680. type: integer
  15681. performancetempid2:
  15682. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式:
  15683. 立即执行
  15684. type: integer
  15685. performancetempid2s:
  15686. description: 履约计划模板IDs(无仓单) - 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  15687. - 履约方式: 立即执行
  15688. type: string
  15689. performancetempids:
  15690. description: 履约计划模板IDs(有仓单)- 根据交货模式, 多个逗号分隔:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货
  15691. - 履约方式: 立即执行(-1)
  15692. type: string
  15693. performanceway:
  15694. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  15695. type: integer
  15696. sellchargealgorithm:
  15697. description: 卖方手续费收取方式 1:比率 2:固定
  15698. type: integer
  15699. sellchargealgorithm2:
  15700. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  15701. type: integer
  15702. sellchargealgorithmvalue:
  15703. description: 卖方手续费设置值(交易所部分)
  15704. type: number
  15705. sellchargealgorithmvalue2:
  15706. description: 卖方手续费设置值(会员部分)
  15707. type: number
  15708. sellchargealgorithmvalue3:
  15709. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  15710. type: number
  15711. sellchargealgorithmvalue4:
  15712. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  15713. type: number
  15714. sellmarginalgorithm:
  15715. description: 卖方保证金方式 - 1:比率 2:固定
  15716. type: integer
  15717. sellmarginvalue:
  15718. description: 卖方保证金设置值
  15719. type: number
  15720. sellmarginvalue2:
  15721. description: 卖方保证金设置值(无仓单)
  15722. type: number
  15723. sellreleaseratio:
  15724. description: 卖方释放比率[2:分步履约]
  15725. type: number
  15726. updatetime:
  15727. description: 更新时间
  15728. type: string
  15729. type: object
  15730. models.WrOrderDetail:
  15731. properties:
  15732. accountid:
  15733. description: 交易账号(资金账号)
  15734. type: integer
  15735. allfriendsflag:
  15736. description: 是否全好友可见 - 0:否 1:是
  15737. type: integer
  15738. amount:
  15739. description: 挂牌金额 = 委托数量 * 固定价或升贴水
  15740. type: number
  15741. begindate:
  15742. description: 开始交易日(yyyymmdd)
  15743. type: string
  15744. buyorsell:
  15745. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  15746. type: integer
  15747. canbargain:
  15748. description: 是否可议价 - 0:不可 1:可
  15749. type: integer
  15750. cancelqty:
  15751. description: 撤销数量
  15752. type: number
  15753. canpart:
  15754. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  15755. type: integer
  15756. delistminqty:
  15757. description: 起摘数量
  15758. type: integer
  15759. deliverygoodscode:
  15760. description: 品种代码
  15761. type: string
  15762. deliverygoodsid:
  15763. description: 品种ID
  15764. type: integer
  15765. deliverygoodsname:
  15766. description: 品种名称
  15767. type: string
  15768. deliverymonth:
  15769. description: 交收月
  15770. type: string
  15771. enddate:
  15772. description: 结束交易日(yyyymmdd)
  15773. type: string
  15774. enumdicname:
  15775. description: 单位名称
  15776. type: string
  15777. fixedprice:
  15778. description: 固定价格 - [挂牌]
  15779. type: number
  15780. freezecharge:
  15781. description: 冻结手续费
  15782. type: number
  15783. freezemargin:
  15784. description: 冻结保证金(保证金)
  15785. type: number
  15786. futupricemove:
  15787. description: 期货升贴水
  15788. type: number
  15789. futushow:
  15790. description: 期货合约/升贴水
  15791. type: string
  15792. goodscode:
  15793. description: 期货合约
  15794. type: string
  15795. goodsid:
  15796. description: 期货商品id
  15797. type: integer
  15798. goodsname:
  15799. description: 商品名称
  15800. type: string
  15801. haswr:
  15802. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15803. type: integer
  15804. isspecified:
  15805. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  15806. type: integer
  15807. ladingbillid:
  15808. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15809. type: string
  15810. marginvalue:
  15811. description: 保证金设置值(履约保证金)
  15812. type: number
  15813. marketid:
  15814. description: 市场ID
  15815. type: integer
  15816. matchusername:
  15817. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  15818. type: string
  15819. minivalue:
  15820. description: 现货商品最小变动值
  15821. type: integer
  15822. optioncompare:
  15823. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15824. type: string
  15825. orderqty:
  15826. description: 委托数量
  15827. type: number
  15828. ordertime:
  15829. description: 委托时间(挂牌时间)
  15830. type: string
  15831. performancetemplateid:
  15832. description: 履约模板id
  15833. type: integer
  15834. pricemove:
  15835. description: 升贴水(浮动价时填写) - [挂牌]
  15836. type: number
  15837. taname:
  15838. description: 交易用户名称(资金账号名称)
  15839. type: string
  15840. tradedate:
  15841. description: 交易日(yyyyMMdd)
  15842. type: string
  15843. tradeprice:
  15844. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  15845. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  15846. type: number
  15847. tradeqty:
  15848. description: 成交数量
  15849. type: number
  15850. userid:
  15851. description: 用户ID
  15852. type: integer
  15853. validtime:
  15854. description: 挂牌有效期
  15855. type: string
  15856. validtype:
  15857. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  15858. type: integer
  15859. warehouseid:
  15860. description: 仓库ID
  15861. type: integer
  15862. warehousename:
  15863. description: 仓库名称
  15864. type: string
  15865. wrfactortypeid:
  15866. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15867. type: string
  15868. wrfactortypename:
  15869. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15870. type: string
  15871. wrpricetype:
  15872. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  15873. type: integer
  15874. wrstandardcode:
  15875. description: 现货商品代码
  15876. type: string
  15877. wrstandardid:
  15878. description: 现货商品ID
  15879. type: integer
  15880. wrstandardname:
  15881. description: 商品名称
  15882. type: string
  15883. wrtradeorderid:
  15884. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15885. type: string
  15886. wrtradeorderstatus:
  15887. 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:撤单解冻贷款失败
  15888. type: integer
  15889. wrtradetype:
  15890. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15891. type: integer
  15892. wrtypename:
  15893. description: 商品
  15894. type: string
  15895. type: object
  15896. models.WrOrderQuote:
  15897. properties:
  15898. bannerpicurl:
  15899. description: Banner图
  15900. type: string
  15901. buyprice:
  15902. description: 买价
  15903. type: number
  15904. buypricemove:
  15905. description: 买升贴水(基差)
  15906. type: number
  15907. buyqty:
  15908. description: 买量
  15909. type: number
  15910. deliverygoodscode:
  15911. description: 品种代码
  15912. type: string
  15913. deliverygoodsid:
  15914. description: 品种id
  15915. type: integer
  15916. deliverygoodsname:
  15917. description: 品种名称
  15918. type: string
  15919. deliverymonth:
  15920. description: 交收月
  15921. type: string
  15922. enumdicname:
  15923. description: 单位名称
  15924. type: string
  15925. goodscode:
  15926. description: 商品合约(浮动价列表才有)
  15927. type: string
  15928. goodsid:
  15929. description: 商品id(浮动价列表才有)
  15930. type: integer
  15931. minivalue:
  15932. description: 现货商品最小变动值
  15933. type: integer
  15934. pictureurls:
  15935. description: 详情图片(逗号分隔)
  15936. type: string
  15937. sellprice:
  15938. description: 卖价
  15939. type: number
  15940. sellpricemove:
  15941. description: 卖升贴水(基差)
  15942. type: number
  15943. sellqty:
  15944. description: 卖量
  15945. type: number
  15946. warehousecode:
  15947. description: 仓库代码
  15948. type: string
  15949. warehouseid:
  15950. description: 仓库id
  15951. type: integer
  15952. warehousename:
  15953. description: 仓库名称
  15954. type: string
  15955. wrfactortypeid:
  15956. description: 仓单要素id
  15957. type: string
  15958. wrfactortypename:
  15959. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15960. type: string
  15961. wrgoodsname:
  15962. description: 商品(商品名称+仓库要素名称 拼接)
  15963. type: string
  15964. wrstandardcode:
  15965. description: 商品代码
  15966. type: string
  15967. wrstandardid:
  15968. description: 商品id
  15969. type: integer
  15970. wrstandardname:
  15971. description: 商品名称
  15972. type: string
  15973. type: object
  15974. models.WrOrderQuoteDetail:
  15975. properties:
  15976. buyorsell:
  15977. description: 买卖 - 0:买 1:卖
  15978. type: integer
  15979. delistminqty:
  15980. description: 起摘数量
  15981. type: number
  15982. deliverymonth:
  15983. description: 交收月
  15984. type: string
  15985. enumdicname:
  15986. description: 单位名称
  15987. type: string
  15988. fixedprice:
  15989. description: 买(卖)价
  15990. type: number
  15991. marketid:
  15992. description: 市场id
  15993. type: integer
  15994. minivalue:
  15995. description: 现货商品最小变动值
  15996. type: integer
  15997. orderqty:
  15998. description: 买(卖)量(=委托量-成交量)
  15999. type: number
  16000. ordertime:
  16001. description: 委托时间
  16002. type: string
  16003. pricemove:
  16004. description: 买(卖)升贴水- 基差
  16005. type: number
  16006. userid:
  16007. description: 购买方(销售方)用户ID
  16008. type: integer
  16009. username:
  16010. description: 购买方(销售方)
  16011. type: string
  16012. wrtradeorderid:
  16013. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16014. type: string
  16015. type: object
  16016. models.WrOutInApply:
  16017. properties:
  16018. applyid:
  16019. description: 申请单id
  16020. type: string
  16021. applystatus:
  16022. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败
  16023. 8:已撤销
  16024. type: integer
  16025. applytime:
  16026. description: 申请时间
  16027. type: string
  16028. applytype:
  16029. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  16030. type: integer
  16031. begindate:
  16032. description: 开始交易日(yyyymmdd)
  16033. type: string
  16034. deliverygoodscode:
  16035. description: 品种代码
  16036. type: string
  16037. deliverygoodsid:
  16038. description: 品种ID
  16039. type: integer
  16040. deliverygoodsname:
  16041. description: 品种名称
  16042. type: string
  16043. enddate:
  16044. description: 结束交易日(yyyymmdd)
  16045. type: string
  16046. enumdicname:
  16047. description: 单位名称
  16048. type: string
  16049. expresscompany:
  16050. description: 物流公司
  16051. type: string
  16052. expressnum:
  16053. description: 物流单号
  16054. type: string
  16055. minivalue:
  16056. description: 现货商品最小变动值
  16057. type: integer
  16058. optioncompare:
  16059. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16060. type: string
  16061. qty:
  16062. description: 数量
  16063. type: integer
  16064. userid:
  16065. description: 用户id
  16066. type: integer
  16067. warehouseid:
  16068. description: 仓库ID
  16069. type: integer
  16070. warehousename:
  16071. description: 仓库名称
  16072. type: string
  16073. wrfactortypeid:
  16074. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16075. type: string
  16076. wrfactortypename:
  16077. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16078. type: string
  16079. wrstandardcode:
  16080. description: 现货商品代码
  16081. type: string
  16082. wrstandardid:
  16083. description: 现货商品ID
  16084. type: integer
  16085. wrstandardname:
  16086. description: 商品名称
  16087. type: string
  16088. wrtypename:
  16089. description: 商品
  16090. type: string
  16091. type: object
  16092. models.WrPerformancePlan:
  16093. properties:
  16094. activatemonth:
  16095. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  16096. type: string
  16097. amount:
  16098. description: 履约金额(总金额)
  16099. type: number
  16100. begindate:
  16101. description: 开始交易日(yyyymmdd)
  16102. type: string
  16103. buyaccountid:
  16104. description: 买方账号
  16105. type: integer
  16106. buyerfreezeamount:
  16107. description: 履约冻结(买履约)
  16108. type: number
  16109. buyerfreezeamountremain:
  16110. description: 履约冻结剩余(买履约)
  16111. type: number
  16112. buyorsell:
  16113. description: 买卖方向 0-买 1-卖
  16114. type: integer
  16115. buypaidamount:
  16116. description: 买方已冻/已扣金额 (已付金额)
  16117. type: number
  16118. buyusername:
  16119. description: 买方名字
  16120. type: string
  16121. contractid:
  16122. description: 合同ID
  16123. type: integer
  16124. createtime:
  16125. description: 创建时间
  16126. type: string
  16127. creatorid:
  16128. description: 创建人
  16129. type: integer
  16130. curstepdeadline:
  16131. description: 当前步骤到期时间
  16132. type: string
  16133. curstepid:
  16134. description: 当前步骤ID
  16135. type: string
  16136. curstepname:
  16137. description: 当前步骤名称
  16138. type: string
  16139. deliverygoodscode:
  16140. description: 品种代码
  16141. type: string
  16142. deliverygoodsid:
  16143. description: 品种ID
  16144. type: integer
  16145. deliverygoodsname:
  16146. description: 品种名称
  16147. type: string
  16148. enddate:
  16149. description: 结束交易日(yyyymmdd)
  16150. type: string
  16151. enumdicname:
  16152. description: 单位名称
  16153. type: string
  16154. expressfee:
  16155. description: 运费
  16156. type: number
  16157. expressfeeconfirmed:
  16158. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  16159. type: integer
  16160. hasovershort:
  16161. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  16162. type: integer
  16163. haswr:
  16164. description: 类型 0-仓单预售 1-仓单贸易
  16165. type: integer
  16166. marketid:
  16167. description: 市场ID
  16168. type: integer
  16169. middleaccountid:
  16170. description: 中间商资金账号ID
  16171. type: integer
  16172. middleuserid:
  16173. description: 中间商用户ID
  16174. type: integer
  16175. minivalue:
  16176. description: 现货商品最小变动值
  16177. type: integer
  16178. optioncompare:
  16179. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16180. type: string
  16181. overshortamount:
  16182. description: 溢短金额
  16183. type: number
  16184. overshortqty:
  16185. description: 溢短数量
  16186. type: number
  16187. paymenttype:
  16188. description: 付款方式 - 1:冻结 2:扣款
  16189. type: integer
  16190. performanceplanid:
  16191. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  16192. type: string
  16193. performancestatus:
  16194. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  16195. 9:超时待处理 10:超时关闭
  16196. type: integer
  16197. performancetype:
  16198. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  16199. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  16200. type: integer
  16201. qty:
  16202. description: 履约数量
  16203. type: number
  16204. relatedorderid:
  16205. description: 关联单号(履约类型的关联单号)
  16206. type: string
  16207. remark:
  16208. description: 备注
  16209. type: string
  16210. sellaccountid:
  16211. description: 卖方账号
  16212. type: integer
  16213. sellerfreezeamount:
  16214. description: 履约冻结(卖履约)
  16215. type: number
  16216. sellerfreezeamountremain:
  16217. description: 履约冻结剩余(卖履约)
  16218. type: number
  16219. sellreceivedamount:
  16220. description: 卖方已收金额
  16221. type: number
  16222. sellusername:
  16223. description: 卖方名字
  16224. type: string
  16225. shipremark:
  16226. description: 发货备注[物流单号]
  16227. type: string
  16228. starttime:
  16229. description: 开始时间
  16230. type: string
  16231. steptypeid:
  16232. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  16233. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  16234. type: integer
  16235. typename:
  16236. description: 履约类型 名称
  16237. type: string
  16238. unpaidamount:
  16239. description: 剩余款(待支付金额)
  16240. type: number
  16241. userid:
  16242. description: 用户id
  16243. type: integer
  16244. warehouseid:
  16245. description: 仓库ID
  16246. type: integer
  16247. warehousename:
  16248. description: 仓库名称
  16249. type: string
  16250. wrfactortypeid:
  16251. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16252. type: string
  16253. wrfactortypename:
  16254. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16255. type: string
  16256. wrstandardcode:
  16257. description: 现货商品代码
  16258. type: string
  16259. wrstandardid:
  16260. description: 现货商品ID
  16261. type: integer
  16262. wrstandardname:
  16263. description: 商品名称
  16264. type: string
  16265. wrtransferuserid:
  16266. description: 仓单受让用户
  16267. type: integer
  16268. wrtypename:
  16269. description: 商品
  16270. type: string
  16271. required:
  16272. - userid
  16273. type: object
  16274. models.WrPerformancePlanStep:
  16275. properties:
  16276. delaydays:
  16277. description: 延期申请天数
  16278. type: integer
  16279. deliverygoodscode:
  16280. description: 品种代码
  16281. type: string
  16282. deliverygoodsid:
  16283. description: 品种ID
  16284. type: integer
  16285. deliverygoodsname:
  16286. description: 品种名称
  16287. type: string
  16288. endtime:
  16289. description: 结束日期
  16290. type: string
  16291. enumdicname:
  16292. description: 单位名称
  16293. type: string
  16294. executeside:
  16295. description: 步骤执行方 - 1:买方 2:卖方
  16296. type: integer
  16297. handlestatus:
  16298. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败
  16299. 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求
  16300. 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  16301. type: integer
  16302. isauto:
  16303. description: 是否自动 - 0:不自动 1:自动
  16304. type: integer
  16305. islastreceivestep:
  16306. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  16307. type: integer
  16308. minivalue:
  16309. description: 现货商品最小变动值
  16310. type: integer
  16311. optioncompare:
  16312. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16313. type: string
  16314. overdays:
  16315. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  16316. type: integer
  16317. performancestepid:
  16318. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  16319. type: string
  16320. planid:
  16321. description: 所属履约计划ID
  16322. type: string
  16323. realamount:
  16324. description: 实际完成金额
  16325. type: number
  16326. relatedorderid:
  16327. description: 关联单号
  16328. type: string
  16329. remaindays:
  16330. description: 剩余天数
  16331. type: integer
  16332. remark:
  16333. description: 错误备注
  16334. type: string
  16335. starttime:
  16336. description: 开始日期
  16337. type: string
  16338. stepamount:
  16339. description: 步骤金额
  16340. type: number
  16341. stepdays:
  16342. description: 距离上一步天数(分钟)
  16343. type: integer
  16344. stepindex:
  16345. description: 步骤序号
  16346. type: integer
  16347. steplanchtype:
  16348. description: 步骤启动类型 - 1:系统自动 2:手动
  16349. type: integer
  16350. stepremark:
  16351. description: 步骤备注
  16352. type: string
  16353. stepstatus:
  16354. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  16355. type: integer
  16356. steptypeid:
  16357. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  16358. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  16359. type: integer
  16360. steptypename:
  16361. description: 步骤名称
  16362. type: string
  16363. stepvalue:
  16364. description: 步骤值
  16365. type: number
  16366. warehouseid:
  16367. description: 仓库ID
  16368. type: integer
  16369. warehousename:
  16370. description: 仓库名称
  16371. type: string
  16372. wrfactortypeid:
  16373. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16374. type: string
  16375. wrfactortypename:
  16376. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16377. type: string
  16378. wrstandardcode:
  16379. description: 现货商品代码
  16380. type: string
  16381. wrstandardid:
  16382. description: 现货商品ID
  16383. type: integer
  16384. wrstandardname:
  16385. description: 商品名称
  16386. type: string
  16387. wrtypename:
  16388. description: 商品
  16389. type: string
  16390. type: object
  16391. models.WrPerformanceStepType:
  16392. properties:
  16393. canauto:
  16394. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  16395. type: integer
  16396. steptypeid:
  16397. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  16398. type: integer
  16399. steptypename:
  16400. description: 步骤类型名称
  16401. type: string
  16402. type: object
  16403. models.WrPerformanceTemplateEx:
  16404. properties:
  16405. autoid:
  16406. description: AutoID 模板id
  16407. type: integer
  16408. createtime:
  16409. description: 创建时间
  16410. type: string
  16411. creatorid:
  16412. description: 创建人
  16413. type: integer
  16414. lstStep:
  16415. description: 步骤信息列表
  16416. items:
  16417. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  16418. type: array
  16419. paymenttype:
  16420. description: 支付方式 - 1:冻结 2:扣款
  16421. type: integer
  16422. takemode:
  16423. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  16424. type: integer
  16425. templatename:
  16426. description: 模板名称
  16427. type: string
  16428. templatetype:
  16429. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  16430. (无仓单) 5:挂牌期权 6:竞拍-降价式
  16431. type: integer
  16432. userid:
  16433. description: 所属用户
  16434. type: integer
  16435. type: object
  16436. models.WrPosition:
  16437. properties:
  16438. accountid:
  16439. description: 帐户ID
  16440. type: integer
  16441. buyexcuteqty:
  16442. description: 采购履约中数量
  16443. type: number
  16444. creditcurqty:
  16445. description: 授信当前数量(预售仓单:预售当前量)
  16446. type: number
  16447. creditenableqty:
  16448. description: '授信可用数量(预售仓单: 可用数量)'
  16449. type: number
  16450. creditfreezeqty:
  16451. description: '授信冻结数量(预售仓单: 当前数量)'
  16452. type: number
  16453. credittotalqty:
  16454. description: 授信总数量(预售仓单:预售总量)
  16455. type: number
  16456. credittradeqty:
  16457. description: 授信成交数量(预售仓单:成交总量)
  16458. type: number
  16459. deliverygoodscode:
  16460. description: 品种代码
  16461. type: string
  16462. deliverygoodsid:
  16463. description: 品种ID
  16464. type: integer
  16465. deliverygoodsname:
  16466. description: 品种名称
  16467. type: string
  16468. enalbeqty:
  16469. description: 可用数量
  16470. type: number
  16471. enumdicname:
  16472. description: 单位名称
  16473. type: string
  16474. freezeqty:
  16475. description: 总冻结数量
  16476. type: number
  16477. haswr:
  16478. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16479. type: integer
  16480. minivalue:
  16481. description: 现货商品最小变动值
  16482. type: integer
  16483. modifytime:
  16484. description: 修改时间(过户时间)
  16485. type: string
  16486. optioncompare:
  16487. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16488. type: string
  16489. pledgeqty:
  16490. description: 质押数量
  16491. type: number
  16492. querytype:
  16493. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  16494. type: integer
  16495. sellexcuteqty:
  16496. description: 销售履约中数量
  16497. type: number
  16498. totalqty:
  16499. description: 总数量(库存数量)
  16500. type: number
  16501. warehouseid:
  16502. description: 仓库ID
  16503. type: integer
  16504. warehousename:
  16505. description: 仓库名称
  16506. type: string
  16507. wrfactortypeid:
  16508. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16509. type: string
  16510. wrfactortypename:
  16511. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16512. type: string
  16513. wrpositionid:
  16514. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  16515. type: string
  16516. wrpositionno:
  16517. description: 仓单编号
  16518. type: string
  16519. wrstandardcode:
  16520. description: 现货商品代码
  16521. type: string
  16522. wrstandardid:
  16523. description: 现货商品ID
  16524. type: integer
  16525. wrstandardname:
  16526. description: 商品名称
  16527. type: string
  16528. wrtypename:
  16529. description: 商品
  16530. type: string
  16531. wruserid:
  16532. description: 持有人ID
  16533. type: integer
  16534. type: object
  16535. models.WrPreSaleInfo:
  16536. properties:
  16537. bannerpicurl:
  16538. description: Banner图
  16539. type: string
  16540. baseqty:
  16541. description: 中签基数
  16542. type: number
  16543. createtime:
  16544. description: 创建时间
  16545. type: string
  16546. deliverygoodsid:
  16547. description: 现货品种ID
  16548. type: integer
  16549. enddate:
  16550. description: 预售结束日期
  16551. type: string
  16552. enumdicname:
  16553. description: 单位名称
  16554. type: string
  16555. lotteryflag:
  16556. description: 摇号标识 - 0:未摇号 1:已摇号
  16557. type: integer
  16558. lotteryqty:
  16559. description: 摇号总量
  16560. type: number
  16561. luckyqty:
  16562. description: 已中签量
  16563. type: number
  16564. marketid:
  16565. description: 市场ID
  16566. type: integer
  16567. maxbuyqty:
  16568. description: 单人最大申购量
  16569. type: number
  16570. maxluckyqty:
  16571. description: 单人最大中签量
  16572. type: number
  16573. pictureurls:
  16574. description: 详情图片(逗号分隔)
  16575. type: string
  16576. placeqty:
  16577. description: 已配售量
  16578. type: number
  16579. presaleapplyid:
  16580. description: 预售申请ID(184+Unix秒时间戳(10位)+xxxxxx)
  16581. type: integer
  16582. presaleqty:
  16583. description: 预售总量
  16584. type: number
  16585. presalestatus:
  16586. description: 预售状态 - 1:未开始 2:进行中 3:已结束 4:已关闭
  16587. type: integer
  16588. sellaccountid:
  16589. description: 发行方资金账户ID
  16590. type: integer
  16591. selluserid:
  16592. description: 发行方用户ID
  16593. type: integer
  16594. sellwrtradeorderid:
  16595. description: 发行方卖委托单ID
  16596. type: string
  16597. startdate:
  16598. description: 预售开始日期
  16599. type: string
  16600. takestartdate:
  16601. description: 提货开始日期
  16602. type: string
  16603. thumurls:
  16604. description: 缩略图片(1:1)(逗号分隔)
  16605. type: string
  16606. tradedate:
  16607. description: 交易日
  16608. type: string
  16609. unitid:
  16610. description: 单位ID
  16611. type: integer
  16612. unitprice:
  16613. description: 商品单价
  16614. type: number
  16615. username:
  16616. description: 发行方用户名称
  16617. type: string
  16618. warehousecode:
  16619. description: 仓库代码(仓库简称)
  16620. type: string
  16621. warehouseid:
  16622. description: 仓库ID
  16623. type: integer
  16624. warehousename:
  16625. description: 仓库名称
  16626. type: string
  16627. wrfactortypeid:
  16628. description: 仓单要素类型ID - 根据现货商品\仓库生成
  16629. type: integer
  16630. wrstandardid:
  16631. description: 现货商品ID
  16632. type: integer
  16633. wrstandardname:
  16634. description: 现货商品名称
  16635. type: string
  16636. type: object
  16637. models.WrQuoteOrderMyq:
  16638. properties:
  16639. buyorsell:
  16640. description: 买卖 - 0:买 1:卖
  16641. type: integer
  16642. canbargain:
  16643. description: 是否可议价 - 0:不可 1:可
  16644. type: integer
  16645. canpart:
  16646. description: 是否允许部份摘牌 - 0:不允许 1:允许
  16647. type: integer
  16648. delistminqty:
  16649. description: 起摘数量
  16650. type: number
  16651. deliverygoodscode:
  16652. description: 品种代码
  16653. type: string
  16654. deliverygoodsid:
  16655. description: 品种ID
  16656. type: integer
  16657. deliverygoodsname:
  16658. description: 品种名称
  16659. type: string
  16660. deliverymonth:
  16661. description: 交收月
  16662. type: string
  16663. enumdicname:
  16664. description: 单位名称
  16665. type: string
  16666. fixedprice:
  16667. description: 买(卖)价
  16668. type: number
  16669. goodscode:
  16670. description: 商品合约代码
  16671. type: string
  16672. marginflag:
  16673. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  16674. type: integer
  16675. marginvalue:
  16676. description: 保证金设置值
  16677. type: number
  16678. minivalue:
  16679. description: 现货商品最小变动值
  16680. type: integer
  16681. orderqty:
  16682. description: 买(卖)量(=委托量-成交量)
  16683. type: number
  16684. ordertime:
  16685. description: 委托时间
  16686. type: string
  16687. performancetemplateid:
  16688. description: 履约模板id
  16689. type: integer
  16690. pricemove:
  16691. description: 买(卖)升贴水- 基差
  16692. type: number
  16693. templatename:
  16694. description: 履约模板名称
  16695. type: string
  16696. userid:
  16697. description: 购买方(销售方)用户ID
  16698. type: integer
  16699. username:
  16700. description: 购买方(销售方)
  16701. type: string
  16702. validtime:
  16703. description: 有效期限
  16704. type: string
  16705. validtype:
  16706. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  16707. type: integer
  16708. warehousename:
  16709. description: 仓库名称
  16710. type: string
  16711. wrfactortypeid:
  16712. description: 仓单要素id
  16713. type: string
  16714. wrstandardcode:
  16715. description: 现货商品代码
  16716. type: string
  16717. wrstandardid:
  16718. description: 现货商品ID
  16719. type: integer
  16720. wrstandardname:
  16721. description: 商品名称
  16722. type: string
  16723. wrtradeorderid:
  16724. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16725. type: string
  16726. wrtypename:
  16727. description: 商品
  16728. type: string
  16729. type: object
  16730. models.WrReckonSpotGoodsTradeSum:
  16731. properties:
  16732. begindate:
  16733. description: 开始日期(结果含开始日期) yyyymmdd
  16734. type: string
  16735. enddate:
  16736. description: 结束日期(结果含结束日期) yyyymmdd
  16737. type: string
  16738. marketid:
  16739. description: 市场ID
  16740. type: integer
  16741. price:
  16742. description: 价格 = 日成交金额 / 日成交数量
  16743. type: string
  16744. reckondate:
  16745. description: 日期 格式 yyyymmdd
  16746. type: string
  16747. tradeamount:
  16748. description: 日成交金额(当日单方向成交金额)
  16749. type: number
  16750. tradeqty:
  16751. description: 日成交数量(当日单方向成交数量)
  16752. type: number
  16753. wrstandardid:
  16754. description: 现货商品ID
  16755. type: integer
  16756. type: object
  16757. models.WrScfContract:
  16758. properties:
  16759. borroweruserid:
  16760. description: 借款用户ID
  16761. type: integer
  16762. buybackwrpositionqty:
  16763. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  16764. type: number
  16765. closeinterest:
  16766. description: 已结利息 -> 已结费用
  16767. type: number
  16768. currisklevel:
  16769. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  16770. type: integer
  16771. deadline:
  16772. description: 截止日期(yyyyMMdd) -> 借款到期时间
  16773. type: string
  16774. deliverygoodscode:
  16775. description: 品种代码
  16776. type: string
  16777. deliverygoodsid:
  16778. description: 品种ID
  16779. type: integer
  16780. deliverygoodsname:
  16781. description: 品种名称
  16782. type: string
  16783. enumdicname:
  16784. description: 单位名称
  16785. type: string
  16786. financingdays:
  16787. description: 天数(天)
  16788. type: integer
  16789. initmargin:
  16790. description: 保证金 - [仓单回购]
  16791. type: number
  16792. interestamount:
  16793. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  16794. type: number
  16795. interestdebt:
  16796. description: 利息欠款(记录负数) -> 费用欠款
  16797. type: number
  16798. interestminlen:
  16799. description: 最小起息天数
  16800. type: integer
  16801. interestrate:
  16802. description: 利率
  16803. type: number
  16804. interestratemode:
  16805. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  16806. type: integer
  16807. interestsettlemode:
  16808. description: 结息方式 - 1:按日结息 3:按月结息
  16809. type: integer
  16810. interestsettlevalue:
  16811. description: 结息方式值
  16812. type: integer
  16813. isautoloan:
  16814. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  16815. type: integer
  16816. lastcloseinterestday:
  16817. description: 最近结息日(yyyyMMdd)
  16818. type: string
  16819. lenderamount:
  16820. description: 贷款金额 -> 借款金额
  16821. type: number
  16822. lenderuserid:
  16823. description: 贷款方用户ID -> 融出方用户ID
  16824. type: integer
  16825. lenderusername:
  16826. description: 融出方
  16827. type: string
  16828. marginratio:
  16829. description: 保证金比率质押率 - [仓单质押]
  16830. type: number
  16831. marketid:
  16832. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  16833. type: integer
  16834. minivalue:
  16835. description: 现货商品最小变动值
  16836. type: integer
  16837. optioncompare:
  16838. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16839. type: string
  16840. pricemove:
  16841. description: 估值升贴水值
  16842. type: number
  16843. productdetailid:
  16844. description: 产品组合ID
  16845. type: integer
  16846. productid:
  16847. description: 金融产品ID
  16848. type: integer
  16849. productname:
  16850. description: 产品名称
  16851. type: string
  16852. remainamount:
  16853. description: 合同剩余金额 -> 剩余金额
  16854. type: number
  16855. remainwrpositionqty:
  16856. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  16857. type: number
  16858. remark:
  16859. description: 备注
  16860. type: string
  16861. scfcontractid:
  16862. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  16863. type: string
  16864. scfcontractstatus:
  16865. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  16866. 9:违约结束 10:已注销 11:已关闭 99:未提交
  16867. type: integer
  16868. scfcontracttype:
  16869. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  16870. type: integer
  16871. startinterestday:
  16872. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  16873. type: string
  16874. totalinterest:
  16875. description: 已计利息 -> 已计费用
  16876. type: number
  16877. unpaidinterest:
  16878. description: 未结费用
  16879. type: number
  16880. updatetime:
  16881. description: 更新时间
  16882. type: string
  16883. warehouseid:
  16884. description: 仓库ID
  16885. type: integer
  16886. warehousename:
  16887. description: 仓库名称
  16888. type: string
  16889. wrfactortypeid:
  16890. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16891. type: string
  16892. wrfactortypename:
  16893. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16894. type: string
  16895. wrqty:
  16896. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  16897. type: number
  16898. wrstandardcode:
  16899. description: 现货商品代码
  16900. type: string
  16901. wrstandardid:
  16902. description: 现货商品ID
  16903. type: integer
  16904. wrstandardname:
  16905. description: 商品名称
  16906. type: string
  16907. wrtypename:
  16908. description: 商品
  16909. type: string
  16910. type: object
  16911. models.WrScfContractInterest:
  16912. properties:
  16913. closeinterest:
  16914. description: 已结利息
  16915. type: number
  16916. closeintereststatus:
  16917. description: 结息状态 - 1:未结 2:已结
  16918. type: integer
  16919. closetime:
  16920. description: 结息时间
  16921. type: string
  16922. closetradedate:
  16923. description: 结息交易日
  16924. type: string
  16925. creatorid:
  16926. description: 操作人ID
  16927. type: integer
  16928. dayrate:
  16929. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  16930. type: number
  16931. interest:
  16932. description: 利息
  16933. type: number
  16934. interestamount:
  16935. description: 计息金额
  16936. type: number
  16937. interestday:
  16938. description: 计息日(yyyyMMdd)
  16939. type: string
  16940. scfcontractid:
  16941. description: SCF合同ID
  16942. type: string
  16943. scfcontractinterestid:
  16944. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  16945. type: integer
  16946. updatetime:
  16947. description: 更新时间
  16948. type: string
  16949. type: object
  16950. models.WrSiteColumnDetail:
  16951. properties:
  16952. brief:
  16953. description: 简介
  16954. type: string
  16955. context:
  16956. description: 内容
  16957. type: string
  16958. coverimage:
  16959. description: 封面图片
  16960. type: string
  16961. creaedate:
  16962. description: 创建时间
  16963. type: string
  16964. id:
  16965. description: ID(SEQ_SITE_COLUMNDETAIL)
  16966. type: integer
  16967. istop:
  16968. description: 是否置顶 - 0:不置 1:置顶
  16969. type: integer
  16970. publishdate:
  16971. description: 发布日期
  16972. type: string
  16973. title:
  16974. description: 标题
  16975. type: string
  16976. updatedate:
  16977. description: 修改时间
  16978. type: string
  16979. type: object
  16980. models.WrSpecialMatchOrder:
  16981. properties:
  16982. amount:
  16983. description: 金额 = 数量 * 价格
  16984. type: number
  16985. buyorsell:
  16986. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16987. type: integer
  16988. cancelqty:
  16989. description: 撤销数量
  16990. type: number
  16991. deliverygoodscode:
  16992. description: 品种代码
  16993. type: string
  16994. deliverygoodsid:
  16995. description: 品种ID
  16996. type: integer
  16997. deliverygoodsname:
  16998. description: 品种名称
  16999. type: string
  17000. enumdicname:
  17001. description: 单位名称
  17002. type: string
  17003. fixedprice:
  17004. description: 固定价格(价格)
  17005. type: number
  17006. haswr:
  17007. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  17008. type: integer
  17009. isspecified:
  17010. description: 是否指定对手 - 0:不指定 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  17011. type: integer
  17012. marketid:
  17013. description: 市场ID
  17014. type: integer
  17015. matchuserid:
  17016. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  17017. type: integer
  17018. matchusername:
  17019. description: 指定方
  17020. type: string
  17021. minivalue:
  17022. description: 现货商品最小变动值
  17023. type: integer
  17024. optioncompare:
  17025. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17026. type: string
  17027. orderqty:
  17028. description: 委托数量
  17029. type: number
  17030. ordertime:
  17031. description: 委托时间
  17032. type: string
  17033. pricemove:
  17034. description: 升贴水(浮动价时填写) - [挂牌]
  17035. type: number
  17036. tradedate:
  17037. description: 交易日(yyyyMMdd)
  17038. type: string
  17039. tradeprice:
  17040. description: 成交价格
  17041. type: number
  17042. tradeqty:
  17043. description: 成交数量
  17044. type: number
  17045. userid:
  17046. description: 用户ID
  17047. type: integer
  17048. username:
  17049. description: 发起方
  17050. type: string
  17051. warehouseid:
  17052. description: 仓库ID
  17053. type: integer
  17054. warehousename:
  17055. description: 仓库名称
  17056. type: string
  17057. wrfactortypeid:
  17058. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17059. type: string
  17060. wrfactortypename:
  17061. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17062. type: string
  17063. wrpricetype:
  17064. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  17065. type: integer
  17066. wrstandardcode:
  17067. description: 现货商品代码
  17068. type: string
  17069. wrstandardid:
  17070. description: 现货商品ID
  17071. type: integer
  17072. wrstandardname:
  17073. description: 商品名称
  17074. type: string
  17075. wrtradeorderid:
  17076. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  17077. type: string
  17078. wrtradeorderstatus:
  17079. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  17080. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  17081. type: integer
  17082. wrtradetype:
  17083. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  17084. type: integer
  17085. wrtypename:
  17086. description: 商品
  17087. type: string
  17088. type: object
  17089. models.WrSpotGroupTradeSum:
  17090. properties:
  17091. deliverygoodscode:
  17092. description: 现货品种代码
  17093. type: string
  17094. deliverygoodsid:
  17095. description: 现货品种ID(SEQ_DELIVERYGOODS)
  17096. type: integer
  17097. deliverygoodsname:
  17098. description: 现货品种名称
  17099. type: string
  17100. lastavgprice:
  17101. description: 上上个交易日价格(前2天价格)
  17102. type: string
  17103. lastreckondate:
  17104. description: 上上个交易日(前2天交易日)
  17105. type: string
  17106. reckondate:
  17107. description: 上个交易日(前1天交易日)
  17108. type: string
  17109. todayavgprice:
  17110. description: 上个交易日价格(前1天价格)
  17111. type: string
  17112. updown:
  17113. description: 涨跌
  17114. type: string
  17115. updownratio:
  17116. description: 涨幅(已格式化, 直接显示即可)
  17117. type: string
  17118. type: object
  17119. models.WrSpotGroupTradeSumDetail:
  17120. properties:
  17121. deliverygoodsid:
  17122. description: 现货商品id
  17123. type: integer
  17124. price:
  17125. description: 价格
  17126. type: number
  17127. reckondate:
  17128. description: 日期(yyymmdd, 如:20211031)
  17129. type: string
  17130. type: object
  17131. models.WrSpotGroupTradeSumEx:
  17132. properties:
  17133. lst:
  17134. description: 指数列表
  17135. items:
  17136. $ref: '#/definitions/models.WrSpotGroupTradeSum'
  17137. type: array
  17138. prereckondate:
  17139. description: 上上个交易日(yyymmdd)
  17140. type: string
  17141. reckondate:
  17142. description: 上个交易日(yyyymmdd)
  17143. type: string
  17144. type: object
  17145. models.WrStandardFactoryItem:
  17146. properties:
  17147. dgfactoryitemid:
  17148. description: 选择项id
  17149. type: integer
  17150. dgfactoryitemvalue:
  17151. description: 要素项值
  17152. type: string
  17153. warehouseid:
  17154. description: 仓库id
  17155. type: integer
  17156. type: object
  17157. models.WrStandardFactoryItemEx:
  17158. properties:
  17159. dgfactoryitemtypeid:
  17160. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  17161. type: integer
  17162. itemlst:
  17163. description: 要素项列表
  17164. items:
  17165. $ref: '#/definitions/models.WrStandardFactoryItem'
  17166. type: array
  17167. itemtypename:
  17168. description: 要素项类型名称
  17169. type: string
  17170. wrstandardid:
  17171. description: 品类
  17172. type: integer
  17173. type: object
  17174. models.WrTradeDetail:
  17175. properties:
  17176. accountid:
  17177. description: 资金账号
  17178. type: integer
  17179. begindate:
  17180. description: 开始交易日(yyyymmdd)
  17181. type: string
  17182. buyorsell:
  17183. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  17184. type: integer
  17185. chargevalue:
  17186. description: 手续费
  17187. type: number
  17188. deliverygoodscode:
  17189. description: 品种代码
  17190. type: string
  17191. deliverygoodsid:
  17192. description: 品种ID
  17193. type: integer
  17194. deliverygoodsname:
  17195. description: 品种名称
  17196. type: string
  17197. deliverymonth:
  17198. description: 交收月
  17199. type: string
  17200. enddate:
  17201. description: 结束交易日(yyyymmdd)
  17202. type: string
  17203. enumdicname:
  17204. description: 单位名称
  17205. type: string
  17206. haswr:
  17207. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  17208. type: integer
  17209. marketid:
  17210. description: 市场ID
  17211. type: integer
  17212. matchaccountid:
  17213. description: 对手账号
  17214. type: integer
  17215. matchusername:
  17216. description: 对手方
  17217. type: string
  17218. minivalue:
  17219. description: 现货商品最小变动值
  17220. type: integer
  17221. optioncompare:
  17222. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  17223. type: string
  17224. tradedate:
  17225. description: 交易日(yyyyMMdd)
  17226. type: string
  17227. tradeprice:
  17228. description: 成交价格
  17229. type: number
  17230. tradeqty:
  17231. description: 成交数量
  17232. type: number
  17233. tradetime:
  17234. description: 成交时间
  17235. type: string
  17236. userid:
  17237. description: 用户ID
  17238. type: integer
  17239. warehouseid:
  17240. description: 仓库ID
  17241. type: integer
  17242. warehousename:
  17243. description: 仓库名称
  17244. type: string
  17245. wrfactortypeid:
  17246. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  17247. type: string
  17248. wrfactortypename:
  17249. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  17250. type: string
  17251. wrstandardcode:
  17252. description: 现货商品代码
  17253. type: string
  17254. wrstandardid:
  17255. description: 现货商品ID
  17256. type: integer
  17257. wrstandardname:
  17258. description: 商品名称
  17259. type: string
  17260. wrtradedetailid:
  17261. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  17262. type: string
  17263. wrtradetype:
  17264. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  17265. type: integer
  17266. wrtypename:
  17267. description: 商品
  17268. type: string
  17269. type: object
  17270. models.WrTradeOrderDetail:
  17271. properties:
  17272. buyorsell:
  17273. description: 买卖方向 0-买 1-卖
  17274. type: integer
  17275. goodsid:
  17276. description: 商品id
  17277. type: integer
  17278. orderid:
  17279. description: 委托单号
  17280. type: string
  17281. orderprice:
  17282. description: 委托价格
  17283. type: number
  17284. orderqty:
  17285. description: 委托数量
  17286. type: integer
  17287. userid:
  17288. description: 用户id
  17289. type: integer
  17290. username:
  17291. description: 用户名称(已脱敏)
  17292. type: string
  17293. type: object
  17294. models.WrTypeItem:
  17295. properties:
  17296. name:
  17297. description: 名称
  17298. type: string
  17299. value:
  17300. description: 值
  17301. type: string
  17302. type: object
  17303. models.WrUserFriend:
  17304. properties:
  17305. friendname:
  17306. description: 朋友名称(已脱敏)
  17307. type: string
  17308. frienduserid:
  17309. description: 朋友id
  17310. type: integer
  17311. isfriend:
  17312. description: 是否好友 0-不是 1-是
  17313. type: integer
  17314. userid:
  17315. description: 用户id
  17316. type: integer
  17317. type: object
  17318. models.WrUserReceiptInfo:
  17319. properties:
  17320. address:
  17321. description: 地址[发票类型:企业]
  17322. type: string
  17323. autoid:
  17324. description: AutoID
  17325. type: integer
  17326. contactinfo:
  17327. description: 联系方式
  17328. type: string
  17329. idnum:
  17330. description: 身份证号码[发票类型:个人]
  17331. type: string
  17332. isdefault:
  17333. description: 是否默认地址 - 0:否 1:是
  17334. type: integer
  17335. receiptaccount:
  17336. description: 发票帐号[发票类型:企业]
  17337. type: string
  17338. receiptbank:
  17339. description: 发票开户行[发票类型:企业]
  17340. type: string
  17341. receipttype:
  17342. description: 发票类型 - 1:个人 2:企业
  17343. type: integer
  17344. taxpayerid:
  17345. description: 纳税人识别号
  17346. type: string
  17347. userid:
  17348. description: 用户ID
  17349. type: integer
  17350. username:
  17351. description: 户名(个人姓名或企业名称)
  17352. type: string
  17353. type: object
  17354. models.XHBRAND:
  17355. properties:
  17356. brandid:
  17357. description: 品牌id
  17358. type: integer
  17359. brandname:
  17360. description: 品牌名称
  17361. type: string
  17362. isvalid:
  17363. description: 是否有效 0-无效 1-有效
  17364. type: integer
  17365. type: object
  17366. models.XHDeliveryGoods:
  17367. properties:
  17368. areauserid:
  17369. description: 所属机构
  17370. type: integer
  17371. bdlst:
  17372. description: 品牌列表
  17373. items:
  17374. $ref: '#/definitions/models.XHBRAND'
  17375. type: array
  17376. deliverygoodscode:
  17377. description: 现货品种代码
  17378. type: string
  17379. deliverygoodsid:
  17380. description: 现货品种ID(SEQ_DELIVERYGOODS)
  17381. type: integer
  17382. deliverygoodsname:
  17383. description: 现货品种名称
  17384. type: string
  17385. dgstatus:
  17386. description: 品种状态 - 作废 - 0:未激活 1:正常
  17387. type: integer
  17388. filterSubEmpty:
  17389. description: 过滤下级为空的
  17390. type: integer
  17391. isvalid:
  17392. description: 是否有效 - 0:无效 1:有效
  17393. type: integer
  17394. remark:
  17395. description: 备注
  17396. type: string
  17397. unitid:
  17398. description: 单位id(目前看,数据库中是空值)
  17399. type: integer
  17400. wdlst:
  17401. description: 品类(现货商品)列表
  17402. items:
  17403. $ref: '#/definitions/models.XHWrstandard'
  17404. type: array
  17405. type: object
  17406. models.XHMiddleGoods:
  17407. properties:
  17408. GPLST:
  17409. description: 期货品种列表
  17410. items:
  17411. $ref: '#/definitions/models.TBGoodsGroup'
  17412. type: array
  17413. convertratio:
  17414. description: 拆算系数
  17415. type: number
  17416. costratio:
  17417. description: 成本权重
  17418. type: number
  17419. deliverygoodsid:
  17420. description: 现货商品id
  17421. type: integer
  17422. enumdicname:
  17423. description: 单位名称
  17424. type: string
  17425. middlegoodscode:
  17426. description: 套保品种代码
  17427. type: string
  17428. middlegoodsid:
  17429. description: 套保品种id
  17430. type: integer
  17431. middlegoodsname:
  17432. description: 套保品种名称
  17433. type: string
  17434. unitid:
  17435. description: 单位id
  17436. type: integer
  17437. type: object
  17438. models.XHWrstandard:
  17439. properties:
  17440. bannerpicurl:
  17441. description: banner图
  17442. type: string
  17443. deliverygoodsid:
  17444. description: 品种ID
  17445. type: integer
  17446. enumdicname:
  17447. description: 单位名称
  17448. type: string
  17449. mglst:
  17450. description: 套保品列表
  17451. items:
  17452. $ref: '#/definitions/models.XHMiddleGoods'
  17453. type: array
  17454. pictureurls:
  17455. description: 详情图片(逗号分隔)
  17456. type: string
  17457. thumurls:
  17458. description: 缩略图片(1:1)(逗号分隔)
  17459. type: string
  17460. unitid:
  17461. description: 单位id
  17462. type: integer
  17463. vatrate:
  17464. description: 增值税率
  17465. type: number
  17466. wrstandardcode:
  17467. description: 现货商品代码
  17468. type: string
  17469. wrstandardid:
  17470. description: 现货商品ID(SEQ_WRSTANDARD)
  17471. type: integer
  17472. wrstandardname:
  17473. description: 现货商品名称
  17474. type: string
  17475. type: object
  17476. order.QueryHisTradeDetailRsp:
  17477. properties:
  17478. accountid:
  17479. description: 账户ID[报价币种]
  17480. type: integer
  17481. advanceratio:
  17482. description: 首付比率
  17483. type: number
  17484. buildtype:
  17485. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  17486. type: integer
  17487. buyorsell:
  17488. description: 方向 - 0:买 1:卖
  17489. type: integer
  17490. charge:
  17491. description: 手续费
  17492. type: number
  17493. closecharge:
  17494. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17495. type: number
  17496. closeexchagechargevalue:
  17497. description: 平仓交易所手续费设置值
  17498. type: number
  17499. closefeealgorithm:
  17500. description: 平仓手续费收取方式 1:比率 2:固定
  17501. type: integer
  17502. closememberchargevalue:
  17503. description: 平仓会员手续费设置值
  17504. type: number
  17505. closepl:
  17506. description: 平仓盈亏
  17507. type: number
  17508. closepl2:
  17509. description: 平仓盈亏[逐笔]
  17510. type: number
  17511. closeqty:
  17512. description: 平仓数量(先建后平操作 需要记录)
  17513. type: number
  17514. creditamount:
  17515. description: 授信金额
  17516. type: number
  17517. decimalplace:
  17518. description: 商品报价小数位
  17519. type: integer
  17520. enumdicname:
  17521. description: 单位名称
  17522. type: string
  17523. gcaccountid:
  17524. description: 账户ID[合约币种]
  17525. type: integer
  17526. goodscode:
  17527. description: 商品代码
  17528. type: string
  17529. goodsid:
  17530. description: 商品ID
  17531. type: integer
  17532. goodsname:
  17533. description: 商品名称
  17534. type: string
  17535. goodunitid:
  17536. description: 商品单位id
  17537. type: integer
  17538. histradedate:
  17539. description: 历史交易日
  17540. type: string
  17541. intclosepl:
  17542. description: 整型盈亏(用于交易结算试算平衡-收益权)
  17543. type: integer
  17544. isconfirmexercise:
  17545. description: 是否确认行权- 0:否 1:是
  17546. type: integer
  17547. ismain:
  17548. description: 是否主单 - 0:不是 1:是
  17549. type: integer
  17550. ispreexercise:
  17551. description: 是否预申报- 0:否 1:是
  17552. type: integer
  17553. isreckoned:
  17554. description: 是否结算 - 0:未结算 1:已结算
  17555. type: integer
  17556. isvaliddata:
  17557. description: 是否有效 - 0:无效 1:有效
  17558. type: integer
  17559. listingselecttype:
  17560. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17561. type: integer
  17562. marketid:
  17563. description: 市场ID
  17564. type: integer
  17565. marketname:
  17566. description: 市场名称
  17567. type: string
  17568. matchaccountid:
  17569. description: 对手账号id
  17570. type: integer
  17571. memberuserid:
  17572. description: 会员id 个人投资者 需要填写
  17573. type: integer
  17574. opencharge:
  17575. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17576. type: number
  17577. openexchagechargevalue:
  17578. description: 建仓交易所手续费设置值
  17579. type: number
  17580. openfeealgorithm:
  17581. description: 建仓手续费收取方式 1:比率 2:固定
  17582. type: integer
  17583. openmemberchargevalue:
  17584. description: 建仓会员手续费设置值
  17585. type: number
  17586. openqty:
  17587. description: 开仓数量(先建后平操作 需要记录)
  17588. type: number
  17589. optiontype:
  17590. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17591. type: integer
  17592. orderid:
  17593. description: 委托单号
  17594. type: string
  17595. payamount:
  17596. description: 支付金额(付款金额)
  17597. type: number
  17598. performanceplanid:
  17599. description: 履约计划ID[期权]
  17600. type: integer
  17601. performancestatus:
  17602. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  17603. type: integer
  17604. preexerciseprice:
  17605. description: 预申报价格
  17606. type: number
  17607. premium:
  17608. description: 权利金 - [持仓单的权利金]
  17609. type: number
  17610. qtydecimalplace:
  17611. description: 商品报价小数位
  17612. type: integer
  17613. recvamount:
  17614. description: 到账金额 = 成交金额 - 手续费
  17615. type: number
  17616. relatedouttradeid:
  17617. description: 关联外部成交单ID
  17618. type: integer
  17619. status:
  17620. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  17621. type: integer
  17622. totalamount:
  17623. description: 订单总额 = 成交金额 + 手续费
  17624. type: number
  17625. tradeamount:
  17626. description: 成交金额[账户币种,用于所有权]
  17627. type: number
  17628. tradedate:
  17629. description: 交易日(yyyyMMdd)
  17630. type: string
  17631. tradeid:
  17632. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17633. type: string
  17634. trademode:
  17635. description: 交易模式
  17636. type: integer
  17637. tradeprice:
  17638. description: 成交价格
  17639. type: number
  17640. tradeproperty:
  17641. description: 交易属性
  17642. type: integer
  17643. tradeqty:
  17644. description: 成交数量
  17645. type: number
  17646. tradetime:
  17647. description: 成交时间
  17648. type: string
  17649. tradetype:
  17650. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  17651. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  17652. type: integer
  17653. required:
  17654. - accountid
  17655. - buyorsell
  17656. - goodsid
  17657. - histradedate
  17658. - marketid
  17659. - memberuserid
  17660. - orderid
  17661. - tradeamount
  17662. - tradedate
  17663. - tradeid
  17664. - tradeprice
  17665. - tradeqty
  17666. - tradetime
  17667. type: object
  17668. order.QueryHisTradeOrderDetailRsp:
  17669. properties:
  17670. accountid:
  17671. description: 账户ID[报价币种]
  17672. type: integer
  17673. buildtype:
  17674. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  17675. type: integer
  17676. buyorsell:
  17677. description: 买卖 - 0:买 1:卖
  17678. type: integer
  17679. cancelorderid:
  17680. description: 撤单单号(撤单时填写)
  17681. type: string
  17682. cancelqty:
  17683. description: 撤单数量
  17684. type: number
  17685. clientordertime:
  17686. description: 客户端委托时间
  17687. type: string
  17688. clientticket:
  17689. description: 客户端流水号
  17690. type: string
  17691. clienttype:
  17692. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  17693. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  17694. type: integer
  17695. closeexchagechargevalue:
  17696. description: 平仓交易所手续费设置值
  17697. type: number
  17698. closefeealgorithm:
  17699. description: 平仓手续费收取方式 1:比率 2:固定
  17700. type: integer
  17701. closefreezecharge:
  17702. description: 平仓冻结手续费(先建后平操作,需要记录)
  17703. type: number
  17704. closememberchargevalue:
  17705. description: 平仓会员手续费设置值
  17706. type: number
  17707. closeqty:
  17708. description: 平仓数量(先建后平操作 需要记录)
  17709. type: number
  17710. closetradeqty:
  17711. description: 平仓成交数量(先建后平操作,需要记录)
  17712. type: number
  17713. closeunfreezecharge:
  17714. description: 平仓解冻手续费(先建后平操作,需要记录)
  17715. type: number
  17716. decimalplace:
  17717. description: 商品报价小数位
  17718. type: integer
  17719. delistingtype:
  17720. description: 摘牌类型 - 1:价格最优 2:点选成交
  17721. type: integer
  17722. enumdicname:
  17723. description: 单位名称
  17724. type: string
  17725. freezecharge:
  17726. description: 冻结手续费
  17727. type: number
  17728. freezemargin:
  17729. description: 冻结保证金(冻结交易金额)
  17730. type: number
  17731. gcaccountid:
  17732. description: 账户ID[合约币种]
  17733. type: integer
  17734. goodscode:
  17735. description: 商品代码
  17736. type: string
  17737. goodsid:
  17738. description: 商品ID
  17739. type: integer
  17740. goodsname:
  17741. description: 商品名称
  17742. type: string
  17743. goodunitid:
  17744. description: 商品单位id
  17745. type: integer
  17746. histradedate:
  17747. description: 历史交易日
  17748. type: string
  17749. isconfirmexercise:
  17750. description: 是否确认行权- 0:否 1:是
  17751. type: integer
  17752. ispreexercise:
  17753. description: 是否预申报- 0:否 1:是
  17754. type: integer
  17755. isvaliddata:
  17756. description: 是否有效 - 0:无效 1:有效
  17757. type: integer
  17758. listingselecttype:
  17759. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17760. type: integer
  17761. marginalgorithm:
  17762. description: 保证金收取方式 1:比率 2:固定
  17763. type: integer
  17764. marginvalue:
  17765. description: 即市保证金设置值
  17766. type: number
  17767. marketid:
  17768. description: 市场ID
  17769. type: integer
  17770. marketmaxsub:
  17771. description: 市价最大偏移范围
  17772. type: number
  17773. marketname:
  17774. description: 市场名称
  17775. type: string
  17776. memberuserid:
  17777. description: 所属会员UserID
  17778. type: integer
  17779. openexchagechargevalue:
  17780. description: 建仓交易所手续费设置值
  17781. type: number
  17782. openfeealgorithm:
  17783. description: 建仓手续费收取方式 1:比率 2:固定
  17784. type: integer
  17785. openfreezecharge:
  17786. description: 开仓冻结手续费(先建后平操作,需要记录)
  17787. type: number
  17788. openmemberchargevalue:
  17789. description: 建仓会员手续费设置值
  17790. type: number
  17791. openqty:
  17792. description: 开仓数量(先建后平操作,需要记录)
  17793. type: number
  17794. opentradeqty:
  17795. description: 开仓成交数量(先建后平操作,需要记录)
  17796. type: number
  17797. openunfreezecharge:
  17798. description: 开仓解冻手续费(先建后平操作,需要记录)
  17799. type: number
  17800. operatetype:
  17801. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  17802. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  17803. 15:管理端协议转让
  17804. type: integer
  17805. operatorid:
  17806. description: 登录账号(LoginID)
  17807. type: integer
  17808. optiontype:
  17809. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  17810. type: integer
  17811. orderid:
  17812. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17813. type: string
  17814. orderprice:
  17815. description: 委托价格
  17816. type: number
  17817. orderqty:
  17818. description: 委托数量
  17819. type: number
  17820. ordersrc:
  17821. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  17822. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  17823. type: integer
  17824. orderstatus:
  17825. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  17826. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  17827. 16:成交失败违约(荷兰式竞拍专用)
  17828. type: integer
  17829. ordertime:
  17830. description: 委托时间
  17831. type: string
  17832. preexerciseprice:
  17833. description: 预申报价格
  17834. type: number
  17835. premium:
  17836. description: 权利金
  17837. type: number
  17838. preorderid:
  17839. description: 关联预埋单号(止盈止损单时填写)
  17840. type: string
  17841. pricemode:
  17842. description: '取价方式 - 1:市价 2: 限价'
  17843. type: integer
  17844. qtydecimalplace:
  17845. description: 成交量小数位
  17846. type: integer
  17847. quoteid:
  17848. description: 报价单ID
  17849. type: integer
  17850. relatedid:
  17851. description: 关联单号(交割单)
  17852. type: string
  17853. retcode:
  17854. description: 错误代码
  17855. type: integer
  17856. sessionid:
  17857. description: 会话ID
  17858. type: integer
  17859. tradedate:
  17860. description: 交易日(yyyyMMdd)
  17861. type: string
  17862. trademode:
  17863. description: 交易模式
  17864. type: integer
  17865. tradeproperty:
  17866. description: 交易属性
  17867. type: integer
  17868. tradeqty:
  17869. description: 成交数量
  17870. type: number
  17871. unfreezecharge:
  17872. description: 解冻手续费
  17873. type: number
  17874. unfreezemargin:
  17875. description: 解冻保证金
  17876. type: number
  17877. updatetime:
  17878. description: 更新时间
  17879. type: string
  17880. uuid:
  17881. description: 发起端唯一id
  17882. type: string
  17883. validtime:
  17884. description: 有效期限
  17885. type: string
  17886. validtype:
  17887. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  17888. type: integer
  17889. volumetype:
  17890. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  17891. type: integer
  17892. required:
  17893. - accountid
  17894. - buildtype
  17895. - buyorsell
  17896. - goodsid
  17897. - histradedate
  17898. - marketid
  17899. - memberuserid
  17900. - operatetype
  17901. - orderid
  17902. - orderqty
  17903. - ordertime
  17904. - pricemode
  17905. - tradedate
  17906. - validtype
  17907. type: object
  17908. order.QueryTradeDetailRsp:
  17909. properties:
  17910. accountid:
  17911. description: 账户ID[报价币种]
  17912. type: integer
  17913. advanceratio:
  17914. description: 首付比率
  17915. type: number
  17916. buildtype:
  17917. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  17918. type: integer
  17919. buyorsell:
  17920. description: 方向 - 0:买 1:卖
  17921. type: integer
  17922. charge:
  17923. description: 手续费
  17924. type: number
  17925. closecharge:
  17926. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  17927. type: number
  17928. closeexchagechargevalue:
  17929. description: 平仓交易所手续费设置值
  17930. type: number
  17931. closefeealgorithm:
  17932. description: 平仓手续费收取方式 1:比率 2:固定
  17933. type: integer
  17934. closememberchargevalue:
  17935. description: 平仓会员手续费设置值
  17936. type: number
  17937. closepl:
  17938. description: 平仓盈亏
  17939. type: number
  17940. closepl2:
  17941. description: 平仓盈亏[逐笔]
  17942. type: number
  17943. closeqty:
  17944. description: 平仓数量(先建后平操作 需要记录)
  17945. type: number
  17946. creditamount:
  17947. description: 授信金额
  17948. type: number
  17949. decimalplace:
  17950. description: 商品报价小数位
  17951. type: integer
  17952. enumdicname:
  17953. description: 单位名称
  17954. type: string
  17955. gcaccountid:
  17956. description: 账户ID[合约币种]
  17957. type: integer
  17958. goodscode:
  17959. description: 商品代码
  17960. type: string
  17961. goodsid:
  17962. description: 商品ID
  17963. type: integer
  17964. goodsname:
  17965. description: 商品名称
  17966. type: string
  17967. goodunitid:
  17968. description: 商品单位id
  17969. type: integer
  17970. intclosepl:
  17971. description: 整型盈亏(用于交易结算试算平衡-收益权)
  17972. type: integer
  17973. isconfirmexercise:
  17974. description: 是否确认行权- 0:否 1:是
  17975. type: integer
  17976. ismain:
  17977. description: 是否主单 - 0:不是 1:是
  17978. type: integer
  17979. ispreexercise:
  17980. description: 是否预申报- 0:否 1:是
  17981. type: integer
  17982. isreckoned:
  17983. description: 是否结算 - 0:未结算 1:已结算
  17984. type: integer
  17985. listingselecttype:
  17986. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17987. type: integer
  17988. marketid:
  17989. description: 市场ID
  17990. type: integer
  17991. marketname:
  17992. description: 市场名称
  17993. type: string
  17994. matchaccountid:
  17995. description: 对手账号id
  17996. type: integer
  17997. memberuserid:
  17998. description: 会员id 个人投资者 需要填写
  17999. type: integer
  18000. opencharge:
  18001. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  18002. type: number
  18003. openexchagechargevalue:
  18004. description: 建仓交易所手续费设置值
  18005. type: number
  18006. openfeealgorithm:
  18007. description: 建仓手续费收取方式 1:比率 2:固定
  18008. type: integer
  18009. openmemberchargevalue:
  18010. description: 建仓会员手续费设置值
  18011. type: number
  18012. openqty:
  18013. description: 开仓数量(先建后平操作 需要记录)
  18014. type: number
  18015. optiontype:
  18016. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  18017. type: integer
  18018. orderid:
  18019. description: 委托单号
  18020. type: string
  18021. payamount:
  18022. description: 支付金额(付款金额)
  18023. type: number
  18024. performanceplanid:
  18025. description: 履约计划ID[期权]
  18026. type: integer
  18027. performancestatus:
  18028. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  18029. type: integer
  18030. preexerciseprice:
  18031. description: 预申报价格
  18032. type: number
  18033. premium:
  18034. description: 权利金 - [持仓单的权利金]
  18035. type: number
  18036. qtydecimalplace:
  18037. description: 商品报价小数位
  18038. type: integer
  18039. recvamount:
  18040. description: 到账金额 = 成交金额 - 手续费
  18041. type: number
  18042. relatedouttradeid:
  18043. description: 关联外部成交单ID
  18044. type: integer
  18045. status:
  18046. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  18047. type: integer
  18048. totalamount:
  18049. description: 订单总额 = 成交金额 + 手续费
  18050. type: number
  18051. tradeamount:
  18052. description: 成交金额[账户币种,用于所有权]
  18053. type: number
  18054. tradedate:
  18055. description: 交易日(yyyyMMdd)
  18056. type: string
  18057. tradeid:
  18058. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18059. type: string
  18060. trademode:
  18061. description: 交易模式
  18062. type: integer
  18063. tradeprice:
  18064. description: 成交价格
  18065. type: number
  18066. tradeproperty:
  18067. description: 交易属性
  18068. type: integer
  18069. tradeqty:
  18070. description: 成交数量
  18071. type: number
  18072. tradetime:
  18073. description: 成交时间
  18074. type: string
  18075. tradetype:
  18076. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  18077. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  18078. type: integer
  18079. required:
  18080. - accountid
  18081. - buyorsell
  18082. - goodsid
  18083. - marketid
  18084. - memberuserid
  18085. - orderid
  18086. - tradeamount
  18087. - tradedate
  18088. - tradeid
  18089. - tradeprice
  18090. - tradeqty
  18091. - tradetime
  18092. type: object
  18093. order.QueryTradeOrderDetailRsp:
  18094. properties:
  18095. accountid:
  18096. description: 账户ID[报价币种]
  18097. type: integer
  18098. buildtype:
  18099. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  18100. type: integer
  18101. buyorsell:
  18102. description: 买卖 - 0:买 1:卖
  18103. type: integer
  18104. cancelorderid:
  18105. description: 撤单单号(撤单时填写)
  18106. type: string
  18107. cancelqty:
  18108. description: 撤单数量
  18109. type: number
  18110. clienttype:
  18111. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  18112. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  18113. type: integer
  18114. closefreezecharge:
  18115. description: 平仓冻结手续费(先建后平操作,需要记录)
  18116. type: number
  18117. closeqty:
  18118. description: 平仓数量(先建后平操作 需要记录)
  18119. type: number
  18120. closetradeqty:
  18121. description: 平仓成交数量(先建后平操作,需要记录)
  18122. type: number
  18123. closeunfreezecharge:
  18124. description: 平仓解冻手续费(先建后平操作,需要记录)
  18125. type: number
  18126. decimalplace:
  18127. description: 商品报价小数位
  18128. type: integer
  18129. delistingtype:
  18130. description: 摘牌类型 - 1:价格最优 2:点选成交
  18131. type: integer
  18132. enableqty:
  18133. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  18134. type: number
  18135. enumdicname:
  18136. description: 单位名称
  18137. type: string
  18138. freezecharge:
  18139. description: 冻结手续费
  18140. type: number
  18141. freezemargin:
  18142. description: 冻结保证金(冻结交易金额)
  18143. type: number
  18144. goodscode:
  18145. description: 商品代码
  18146. type: string
  18147. goodsid:
  18148. description: 商品ID
  18149. type: integer
  18150. goodsname:
  18151. description: 商品名称
  18152. type: string
  18153. goodunitid:
  18154. description: 商品单位id
  18155. type: integer
  18156. listingselecttype:
  18157. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  18158. type: integer
  18159. marketid:
  18160. description: 市场ID
  18161. type: integer
  18162. marketname:
  18163. description: 市场名称
  18164. type: string
  18165. openfreezecharge:
  18166. description: 开仓冻结手续费(先建后平操作,需要记录)
  18167. type: number
  18168. openqty:
  18169. description: 开仓数量(先建后平操作,需要记录)
  18170. type: number
  18171. opentradeqty:
  18172. description: 开仓成交数量(先建后平操作,需要记录)
  18173. type: number
  18174. openunfreezecharge:
  18175. description: 开仓解冻手续费(先建后平操作,需要记录)
  18176. type: number
  18177. operatetype:
  18178. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  18179. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  18180. 15:管理端协议转让
  18181. type: integer
  18182. operatorid:
  18183. description: 登录账号(LoginID)
  18184. type: integer
  18185. orderid:
  18186. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18187. type: string
  18188. orderprice:
  18189. description: 委托价格
  18190. type: number
  18191. orderqty:
  18192. description: 委托数量
  18193. type: number
  18194. ordersrc:
  18195. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  18196. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  18197. type: integer
  18198. orderstatus:
  18199. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  18200. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  18201. 16:成交失败违约(荷兰式竞拍专用)
  18202. type: integer
  18203. ordertime:
  18204. description: 委托时间
  18205. type: string
  18206. preorderid:
  18207. description: 关联预埋单号(止盈止损单时填写)
  18208. type: string
  18209. pricemode:
  18210. description: '取价方式 - 1:市价 2: 限价'
  18211. type: integer
  18212. qtydecimalplace:
  18213. description: 商品报价小数位
  18214. type: integer
  18215. relatedid:
  18216. description: 关联单号(交割单)
  18217. type: string
  18218. tradedate:
  18219. description: 交易日(yyyyMMdd)
  18220. type: string
  18221. trademode:
  18222. description: 交易模式
  18223. type: integer
  18224. tradeqty:
  18225. description: 成交数量
  18226. type: number
  18227. unfreezecharge:
  18228. description: 解冻手续费
  18229. type: number
  18230. unfreezemargin:
  18231. description: 解冻保证金
  18232. type: number
  18233. validtime:
  18234. description: 有效期限
  18235. type: string
  18236. validtype:
  18237. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  18238. type: integer
  18239. volumetype:
  18240. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  18241. type: integer
  18242. required:
  18243. - accountid
  18244. - buildtype
  18245. - buyorsell
  18246. - goodsid
  18247. - marketid
  18248. - operatetype
  18249. - orderqty
  18250. - ordertime
  18251. - pricemode
  18252. - tradedate
  18253. - validtype
  18254. type: object
  18255. order.QueryTradePositionRsp:
  18256. properties:
  18257. accountid:
  18258. description: 资金账户
  18259. type: integer
  18260. agreeunit:
  18261. description: 合约单位
  18262. type: number
  18263. averageprice:
  18264. description: 持仓均价
  18265. type: number
  18266. buyorsell:
  18267. description: 方向 - 0:买 1:卖
  18268. type: integer
  18269. closetotalqty:
  18270. description: 平仓总数量
  18271. type: number
  18272. curholderamount:
  18273. description: 当前持仓总金额[商品币种]
  18274. type: number
  18275. curpositionqty:
  18276. description: 当前持仓总数量
  18277. type: number
  18278. currencyid:
  18279. description: 报价货币ID
  18280. type: integer
  18281. curtdposition:
  18282. description: 期末今日头寸
  18283. type: number
  18284. decimalplace:
  18285. description: 报价小数位
  18286. type: integer
  18287. enableqty:
  18288. description: 可用量
  18289. type: number
  18290. fretdposition:
  18291. description: 冻结今日头寸
  18292. type: number
  18293. frozenqty:
  18294. description: 持仓冻结数量
  18295. type: number
  18296. goodscode:
  18297. description: 商品代码
  18298. type: string
  18299. goodsid:
  18300. description: 商品Id
  18301. type: integer
  18302. goodsname:
  18303. description: 商品名称
  18304. type: string
  18305. goodunit:
  18306. description: 报价单位
  18307. type: string
  18308. goodunitid:
  18309. description: 报价单位ID
  18310. type: integer
  18311. holderamount:
  18312. description: 期初持仓总金额[商品币种]
  18313. type: number
  18314. lastprice:
  18315. description: 最新价
  18316. type: number
  18317. marketamount:
  18318. description: 市值
  18319. type: number
  18320. marketid:
  18321. description: 所属市场ID
  18322. type: integer
  18323. openreqqty:
  18324. description: 开仓申请数量(用于比较最大持仓数量)
  18325. type: number
  18326. opentotalqty:
  18327. description: 开仓总数量
  18328. type: number
  18329. otherfrozenqty:
  18330. description: 持仓其他冻结数量(交割冻结)
  18331. type: number
  18332. positionpl:
  18333. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  18334. * 合约单位
  18335. type: number
  18336. positionplrate:
  18337. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  18338. type: number
  18339. positionqty:
  18340. description: 期初持仓数量
  18341. type: number
  18342. qtydecimalplace:
  18343. description: 成交量小数位
  18344. type: integer
  18345. refgoodscode:
  18346. description: 参考商品代码
  18347. type: string
  18348. refgoodsid:
  18349. description: 参考商品ID
  18350. type: integer
  18351. tnqty:
  18352. description: T+N冻结总量
  18353. type: number
  18354. tnusedqty:
  18355. description: T+N使用量(可以使用T+N的冻结数量)
  18356. type: number
  18357. trademode:
  18358. description: 交易模式
  18359. type: integer
  18360. tradeproperty:
  18361. description: 交易属性
  18362. type: integer
  18363. usedmargin:
  18364. description: 占用保证金[商品币种]
  18365. type: number
  18366. required:
  18367. - goodsid
  18368. type: object
  18369. pb.GoodsMarginCfgStruct:
  18370. properties:
  18371. CustomerTypeID:
  18372. description: 投资者客户类型
  18373. type: integer
  18374. GoodsID:
  18375. description: 商品ID
  18376. type: integer
  18377. IsDefault:
  18378. description: 是否默认标志位
  18379. type: integer
  18380. LockMarginValue:
  18381. description: 锁仓保证金
  18382. type: number
  18383. MarginAlgorithm:
  18384. description: 保证金计算方式
  18385. type: integer
  18386. MarketMarginValue:
  18387. description: 即市保证金值
  18388. type: number
  18389. RealMarginAlgorithm:
  18390. description: 实付保证金计算方式
  18391. type: integer
  18392. RealMarginValue:
  18393. description: 实付比例
  18394. type: number
  18395. ReckonMarginValue:
  18396. description: 结算保证金值
  18397. type: number
  18398. type: object
  18399. quote.HistoryData:
  18400. properties:
  18401. c:
  18402. description: 收盘价
  18403. type: number
  18404. f:
  18405. description: 是否补充数据
  18406. type: boolean
  18407. h:
  18408. description: 最高价
  18409. type: number
  18410. hv:
  18411. description: 持仓量
  18412. type: integer
  18413. l:
  18414. description: 最低价
  18415. type: number
  18416. o:
  18417. description: 开盘价
  18418. type: number
  18419. s:
  18420. description: 结算价,日线周期(包括)以上才有
  18421. type: number
  18422. ts:
  18423. description: 时间
  18424. type: string
  18425. tt:
  18426. description: 总金额
  18427. type: number
  18428. tv:
  18429. description: 总量(成交量)
  18430. type: integer
  18431. type: object
  18432. quote.HistoryTikData:
  18433. properties:
  18434. AV:
  18435. description: 卖量
  18436. type: integer
  18437. Ask:
  18438. description: 卖价
  18439. type: number
  18440. BV:
  18441. description: 买量
  18442. type: integer
  18443. Bid:
  18444. description: 买价
  18445. type: number
  18446. HI:
  18447. description: 单笔持仓
  18448. type: integer
  18449. HV:
  18450. description: 持仓量
  18451. type: integer
  18452. PE:
  18453. description: 现价
  18454. type: number
  18455. TDR:
  18456. description: 交易方向,0:买 1:卖
  18457. type: integer
  18458. TK:
  18459. description: 交易类型
  18460. type: integer
  18461. TS:
  18462. description: 行情时间文本
  18463. type: string
  18464. TT:
  18465. description: 现金额
  18466. type: number
  18467. Vol:
  18468. description: 现量
  18469. type: integer
  18470. type: object
  18471. quote.QueryQuoteDayRsp:
  18472. properties:
  18473. ask:
  18474. description: 卖1
  18475. type: number
  18476. ask2:
  18477. description: 卖2
  18478. type: number
  18479. ask3:
  18480. description: 卖3
  18481. type: number
  18482. ask4:
  18483. description: 卖4
  18484. type: number
  18485. ask5:
  18486. description: 卖5
  18487. type: number
  18488. ask6:
  18489. description: 卖6
  18490. type: number
  18491. ask7:
  18492. description: 卖7
  18493. type: number
  18494. ask8:
  18495. description: 卖8
  18496. type: number
  18497. ask9:
  18498. description: 卖9
  18499. type: number
  18500. ask10:
  18501. description: 卖10
  18502. type: number
  18503. askorderid:
  18504. description: 卖单号1
  18505. type: integer
  18506. askorderid2:
  18507. description: 卖单号2
  18508. type: integer
  18509. askorderid3:
  18510. description: 卖单号3
  18511. type: integer
  18512. askorderid4:
  18513. description: 卖单号4
  18514. type: integer
  18515. askorderid5:
  18516. description: 卖单号5
  18517. type: integer
  18518. askordervolume:
  18519. description: 卖单量1
  18520. type: integer
  18521. askordervolume2:
  18522. description: 卖单量2
  18523. type: integer
  18524. askordervolume3:
  18525. description: 卖单量3
  18526. type: integer
  18527. askordervolume4:
  18528. description: 卖单量4
  18529. type: integer
  18530. askordervolume5:
  18531. description: 卖单量5
  18532. type: integer
  18533. askordervolume6:
  18534. description: 卖单量6
  18535. type: integer
  18536. askordervolume7:
  18537. description: 卖单量7
  18538. type: integer
  18539. askordervolume8:
  18540. description: 卖单量8
  18541. type: integer
  18542. askordervolume9:
  18543. description: 卖单量9
  18544. type: integer
  18545. askordervolume10:
  18546. description: 卖单量10
  18547. type: integer
  18548. askqueueinfo:
  18549. description: 大利市卖港股用
  18550. type: string
  18551. askvolume:
  18552. description: 卖量1
  18553. type: integer
  18554. askvolume2:
  18555. description: 卖量2
  18556. type: integer
  18557. askvolume3:
  18558. description: 卖量3
  18559. type: integer
  18560. askvolume4:
  18561. description: 卖量4
  18562. type: integer
  18563. askvolume5:
  18564. description: 卖量5
  18565. type: integer
  18566. askvolume6:
  18567. description: 卖量6
  18568. type: integer
  18569. askvolume7:
  18570. description: 卖量7
  18571. type: integer
  18572. askvolume8:
  18573. description: 卖量8
  18574. type: integer
  18575. askvolume9:
  18576. description: 卖量9
  18577. type: integer
  18578. askvolume10:
  18579. description: 卖量10
  18580. type: integer
  18581. averageprice:
  18582. description: 均价
  18583. type: number
  18584. bid:
  18585. description: 买1
  18586. type: number
  18587. bid2:
  18588. description: 买2
  18589. type: number
  18590. bid3:
  18591. description: 买3
  18592. type: number
  18593. bid4:
  18594. description: 买4
  18595. type: number
  18596. bid5:
  18597. description: 买5
  18598. type: number
  18599. bid6:
  18600. description: 买6
  18601. type: number
  18602. bid7:
  18603. description: 买7
  18604. type: number
  18605. bid8:
  18606. description: 买8
  18607. type: number
  18608. bid9:
  18609. description: 买9
  18610. type: number
  18611. bid10:
  18612. description: 买10
  18613. type: number
  18614. bidorderid:
  18615. description: 买单号1
  18616. type: integer
  18617. bidorderid2:
  18618. description: 买单号2
  18619. type: integer
  18620. bidorderid3:
  18621. description: 买单号3
  18622. type: integer
  18623. bidorderid4:
  18624. description: 买单号4
  18625. type: integer
  18626. bidorderid5:
  18627. description: 买单号5
  18628. type: integer
  18629. bidordervolume:
  18630. description: 买单量1
  18631. type: integer
  18632. bidordervolume2:
  18633. description: 买单量2
  18634. type: integer
  18635. bidordervolume3:
  18636. description: 买单量3
  18637. type: integer
  18638. bidordervolume4:
  18639. description: 买单量4
  18640. type: integer
  18641. bidordervolume5:
  18642. description: 买单量5
  18643. type: integer
  18644. bidordervolume6:
  18645. description: 买单量6
  18646. type: integer
  18647. bidordervolume7:
  18648. description: 买单量7
  18649. type: integer
  18650. bidordervolume8:
  18651. description: 买单量8
  18652. type: integer
  18653. bidordervolume9:
  18654. description: 买单量9
  18655. type: integer
  18656. bidordervolume10:
  18657. description: 买单量10
  18658. type: integer
  18659. bidqueueinfo:
  18660. description: 大利市买港股用
  18661. type: string
  18662. bidvolume:
  18663. description: 买量1
  18664. type: integer
  18665. bidvolume2:
  18666. description: 买量2
  18667. type: integer
  18668. bidvolume3:
  18669. description: 买量3
  18670. type: integer
  18671. bidvolume4:
  18672. description: 买量4
  18673. type: integer
  18674. bidvolume5:
  18675. description: 买量5
  18676. type: integer
  18677. bidvolume6:
  18678. description: 买量6
  18679. type: integer
  18680. bidvolume7:
  18681. description: 买量7
  18682. type: integer
  18683. bidvolume8:
  18684. description: 买量8
  18685. type: integer
  18686. bidvolume9:
  18687. description: 买量9
  18688. type: integer
  18689. bidvolume10:
  18690. description: 买量10
  18691. type: integer
  18692. calloptionpremiums:
  18693. description: 认购期权1
  18694. type: integer
  18695. calloptionpremiums2:
  18696. description: 认购期权2
  18697. type: integer
  18698. calloptionpremiums3:
  18699. description: 认购期权3
  18700. type: integer
  18701. calloptionpremiums4:
  18702. description: 认购期权4
  18703. type: integer
  18704. calloptionpremiums5:
  18705. description: 认购期权5
  18706. type: integer
  18707. cleartime:
  18708. description: 清盘时间
  18709. type: integer
  18710. exchangecode:
  18711. description: 交易所代码
  18712. type: integer
  18713. exchangedate:
  18714. description: 交易日
  18715. type: integer
  18716. goodscode:
  18717. description: 商品代码
  18718. type: string
  18719. grepmarketprice:
  18720. description: 暗盘价 港股专用
  18721. type: number
  18722. highest:
  18723. description: 最高价
  18724. type: number
  18725. holdincrement:
  18726. description: 单笔持仓
  18727. type: integer
  18728. holdvolume:
  18729. description: 持仓
  18730. type: integer
  18731. iep:
  18732. description: 平衡价 港股专用
  18733. type: number
  18734. iev:
  18735. description: 平衡量 港股专用
  18736. type: number
  18737. inventory:
  18738. description: 库存
  18739. type: integer
  18740. iscleared:
  18741. description: 是否清盘标志
  18742. type: integer
  18743. issettled:
  18744. description: 是否结算标志
  18745. type: integer
  18746. last:
  18747. description: 最新价
  18748. type: number
  18749. lastlot:
  18750. description: 最新成交手数
  18751. type: integer
  18752. lasttime:
  18753. description: 行情时间(只有现价变化行情时间才变化)
  18754. type: string
  18755. lastturnover:
  18756. description: 最新成交金额
  18757. type: number
  18758. lastvolume:
  18759. description: 最新成交量
  18760. type: integer
  18761. limitdown:
  18762. description: 跌停价
  18763. type: number
  18764. limitup:
  18765. description: 涨停价
  18766. type: number
  18767. lowest:
  18768. description: 最低价
  18769. type: number
  18770. nontotalholdervolume:
  18771. description: 非交易持仓量
  18772. type: integer
  18773. nontotallot:
  18774. description: 非交易总手数
  18775. type: integer
  18776. nontotalturnover:
  18777. description: 非交易总金额
  18778. type: integer
  18779. nontotalvolume:
  18780. description: 非交易总量
  18781. type: integer
  18782. opened:
  18783. description: 开盘价
  18784. type: number
  18785. opentime:
  18786. description: 开盘时间
  18787. type: string
  18788. orderid:
  18789. description: 序号
  18790. type: integer
  18791. preclose:
  18792. description: 昨收
  18793. type: number
  18794. preholdvolume:
  18795. description: 昨持仓
  18796. type: integer
  18797. presettle:
  18798. description: 昨结价
  18799. type: number
  18800. publictradetype:
  18801. description: 公共交易标志类型 港股专用
  18802. type: string
  18803. putoptionpremiums:
  18804. description: 认沽期权1
  18805. type: integer
  18806. putoptionpremiums2:
  18807. description: 认沽期权2
  18808. type: integer
  18809. putoptionpremiums3:
  18810. description: 认沽期权3
  18811. type: integer
  18812. putoptionpremiums4:
  18813. description: 认沽期权4
  18814. type: integer
  18815. putoptionpremiums5:
  18816. description: 认沽期权5
  18817. type: integer
  18818. settle:
  18819. description: 结算价
  18820. type: number
  18821. strikeprice:
  18822. description: 发行价
  18823. type: number
  18824. totalaskvolume:
  18825. description: 内盘
  18826. type: integer
  18827. totalbidvolume:
  18828. description: 外盘
  18829. type: integer
  18830. totallot:
  18831. description: 总手数
  18832. type: integer
  18833. totalturnover:
  18834. description: 总金额
  18835. type: number
  18836. totalvolume:
  18837. description: 总量
  18838. type: integer
  18839. utclasttime:
  18840. description: utc的行情时间
  18841. type: string
  18842. type: object
  18843. quote.QueryTSDataRsp:
  18844. properties:
  18845. Count:
  18846. description: 交易日应有数据个数
  18847. type: integer
  18848. decimalPlace:
  18849. description: 小数位
  18850. type: integer
  18851. endTime:
  18852. description: 结束时间
  18853. type: string
  18854. goodsCode:
  18855. description: 商品代码
  18856. type: string
  18857. historyDatas:
  18858. description: 历史数据
  18859. items:
  18860. $ref: '#/definitions/quote.HistoryData'
  18861. type: array
  18862. outGoodsCode:
  18863. description: 外部商品代码
  18864. type: string
  18865. preSettle:
  18866. description: 昨结价
  18867. type: number
  18868. runSteps:
  18869. description: 交易日开休市计划
  18870. items:
  18871. $ref: '#/definitions/quote.TSDataRunStep'
  18872. type: array
  18873. startTime:
  18874. description: 开始时间
  18875. type: string
  18876. tradeDate:
  18877. description: 交易日
  18878. type: string
  18879. type: object
  18880. quote.TSDataRunStep:
  18881. properties:
  18882. end:
  18883. description: 真实结束时间
  18884. type: string
  18885. endflag:
  18886. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  18887. type: integer
  18888. endtime:
  18889. description: 结束时间(HH:mm)
  18890. type: string
  18891. endweekday:
  18892. description: 结束周几
  18893. type: integer
  18894. groupid:
  18895. description: 分组ID
  18896. type: integer
  18897. runstep:
  18898. description: 运行阶段 - 2:连续交易
  18899. type: integer
  18900. sectionid:
  18901. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  18902. 结束时间=结算时间 结束周几=结算周几
  18903. type: integer
  18904. start:
  18905. description: 真实开始时间
  18906. type: string
  18907. startflag:
  18908. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  18909. type: integer
  18910. starttime:
  18911. description: 起始时间(HH:mm)
  18912. type: string
  18913. startweekday:
  18914. description: 起始周几
  18915. type: integer
  18916. tradeweekday:
  18917. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  18918. type: integer
  18919. type: object
  18920. szdz.QueryConvertLogRsp:
  18921. properties:
  18922. accountid:
  18923. description: 资金账户ID
  18924. type: integer
  18925. clientticket:
  18926. description: 客户端流水号
  18927. type: string
  18928. converttype:
  18929. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  18930. type: integer
  18931. createtime:
  18932. description: 记账时间
  18933. type: string
  18934. daymaxvalue:
  18935. description: 配置当日最大转入限制
  18936. type: number
  18937. daymaxvalue2:
  18938. description: 配置当日最大转入限制(转入)
  18939. type: number
  18940. goodscode:
  18941. description: 商品代码
  18942. type: string
  18943. goodsname:
  18944. description: 商品名称
  18945. type: string
  18946. handlestatus:
  18947. description: 处理状态
  18948. type: integer
  18949. innergoodsid:
  18950. description: 内部商品ID
  18951. type: integer
  18952. inratio:
  18953. description: 配置转入比值
  18954. type: integer
  18955. invalue:
  18956. description: 目标值
  18957. type: number
  18958. logid:
  18959. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  18960. type: integer
  18961. mobile:
  18962. description: 手机号码(加密存储)
  18963. type: string
  18964. outergoodscode:
  18965. description: 外部商品代码[JD\PD]
  18966. type: string
  18967. outratio:
  18968. description: 配置转出比值
  18969. type: integer
  18970. outvalue:
  18971. description: 源值
  18972. type: number
  18973. pddecimalplace:
  18974. description: PD小数位
  18975. type: integer
  18976. qty:
  18977. description: 数量
  18978. type: string
  18979. remark:
  18980. description: 备注
  18981. type: string
  18982. sessionid:
  18983. description: 会话ID
  18984. type: integer
  18985. timemaxvalue:
  18986. description: 配置单次最大转入限制
  18987. type: number
  18988. timemaxvalue2:
  18989. description: 配置单次最大转入限制(转入)
  18990. type: number
  18991. timeminvalue:
  18992. description: 配置单次最小数量限制
  18993. type: number
  18994. timeminvalue2:
  18995. description: 配置单次最小数量限制(转入)
  18996. type: number
  18997. tradedate:
  18998. description: 交易日(yyyyMMdd)
  18999. type: string
  19000. userid:
  19001. description: 用户ID
  19002. type: integer
  19003. required:
  19004. - logid
  19005. type: object
  19006. szdz.QueryGoodsPickupRsp:
  19007. properties:
  19008. accountid:
  19009. description: 账户ID
  19010. type: integer
  19011. address:
  19012. description: 提货人详细地址
  19013. type: string
  19014. auditer:
  19015. description: 审核人
  19016. type: integer
  19017. audittime:
  19018. description: 审核时间
  19019. type: string
  19020. cardnum:
  19021. description: 提货人证件号码
  19022. type: string
  19023. cardtypeid:
  19024. description: 提货人证件类型
  19025. type: integer
  19026. checkremark:
  19027. description: 审核备注
  19028. type: string
  19029. goodscode:
  19030. description: 商品代码
  19031. type: string
  19032. goodsid:
  19033. description: 商品ID
  19034. type: integer
  19035. goodsname:
  19036. description: 商品名称
  19037. type: string
  19038. handlestatus:
  19039. description: 处理状态
  19040. type: integer
  19041. marketid:
  19042. description: 市场ID
  19043. type: integer
  19044. phonenum:
  19045. description: 提货人联系方式
  19046. type: string
  19047. qty:
  19048. description: 提货数量
  19049. type: number
  19050. recivername:
  19051. description: 提货人姓名
  19052. type: string
  19053. reqtime:
  19054. description: 更新时间
  19055. type: string
  19056. takemode:
  19057. description: 提货方式 - 2:自提 3:配送
  19058. type: integer
  19059. takeorderid:
  19060. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  19061. type: string
  19062. takeorderstatus:
  19063. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  19064. type: integer
  19065. takeremark:
  19066. description: 提货备注
  19067. type: string
  19068. tradedate:
  19069. description: 交易日(yyyyMMdd)
  19070. type: string
  19071. userid:
  19072. description: 用户ID
  19073. type: integer
  19074. required:
  19075. - takeorderid
  19076. type: object
  19077. szdz.QueryRecieptOrderRsp:
  19078. properties:
  19079. accountName:
  19080. description: 所属账号名称(已脱敏)
  19081. type: string
  19082. accountid:
  19083. description: 资金账号
  19084. type: integer
  19085. buyorsell:
  19086. description: 方向 - 0:买 1:卖
  19087. type: integer
  19088. enableqty:
  19089. description: 可摘数量
  19090. type: integer
  19091. goodscode:
  19092. description: 商品代码
  19093. type: string
  19094. goodsid:
  19095. description: 商品ID
  19096. type: integer
  19097. goodsname:
  19098. description: 商品名称
  19099. type: string
  19100. orderid:
  19101. description: 委托单号
  19102. type: string
  19103. orderprice:
  19104. description: 委托价格
  19105. type: number
  19106. ordertime:
  19107. description: 委托时间
  19108. type: string
  19109. tradedate:
  19110. description: 交易日(yyyyMMdd)
  19111. type: string
  19112. required:
  19113. - ordertime
  19114. type: object
  19115. szdz.QuerySZDZTradePositionRsp:
  19116. properties:
  19117. accountid:
  19118. description: 账号Id
  19119. type: integer
  19120. agreeunit:
  19121. description: 合约单位
  19122. type: number
  19123. averageprice:
  19124. description: 持仓均价
  19125. type: number
  19126. buyorsell:
  19127. description: 方向 - 0:买 1:卖
  19128. type: integer
  19129. closetotalqty:
  19130. description: 平仓总数量
  19131. type: integer
  19132. curholderamount:
  19133. description: 当前持仓总金额
  19134. type: number
  19135. curpositionqty:
  19136. description: 当前持仓总数量
  19137. type: integer
  19138. currencyid:
  19139. description: 报价货币ID
  19140. type: integer
  19141. curtdposition:
  19142. description: 期末今日头寸
  19143. type: integer
  19144. decimalplace:
  19145. description: 报价小数位
  19146. type: integer
  19147. enableqty:
  19148. description: 可用量
  19149. type: integer
  19150. fretdposition:
  19151. description: 冻结今日头寸
  19152. type: integer
  19153. frozenqty:
  19154. description: 持仓冻结数量
  19155. type: integer
  19156. goodscode:
  19157. description: 商品代码(内部)
  19158. type: string
  19159. goodsid:
  19160. description: 商品Id
  19161. type: integer
  19162. goodsname:
  19163. description: 商品名称
  19164. type: string
  19165. goodunit:
  19166. description: 报价单位
  19167. type: string
  19168. goodunitid:
  19169. description: 报价单位ID
  19170. type: integer
  19171. holderamount:
  19172. description: 期初持仓总金额
  19173. type: number
  19174. marketid:
  19175. description: 市场ID
  19176. type: integer
  19177. openreqqty:
  19178. description: 开仓申请数量
  19179. type: integer
  19180. opentotalqty:
  19181. description: 开仓总数量
  19182. type: integer
  19183. otherfrozenqty:
  19184. description: 持仓其他冻结数量(交割冻结)
  19185. type: integer
  19186. positionqty:
  19187. description: 期初持仓数量
  19188. type: integer
  19189. szdz3freezqty:
  19190. description: 尚志大宗转换冻结总数量
  19191. type: integer
  19192. tnqty:
  19193. description: T+N冻结总量
  19194. type: integer
  19195. tnusedqty:
  19196. description: T+N使用量
  19197. type: integer
  19198. trademode:
  19199. description: 交易模式
  19200. type: integer
  19201. usedmargin:
  19202. description: 占用保证金
  19203. type: number
  19204. type: object
  19205. taaccount.QueryAmountLogRsp:
  19206. properties:
  19207. OPERATETYPENAME:
  19208. description: 资金操作类型名称
  19209. type: string
  19210. accountid:
  19211. description: 资金账户ID
  19212. type: integer
  19213. agoodscode:
  19214. description: 竞拍商品代码
  19215. type: string
  19216. agoodsname:
  19217. description: 竞拍商品名称
  19218. type: string
  19219. amount:
  19220. description: 资金金额
  19221. type: number
  19222. amountadjusttype:
  19223. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  19224. type: integer
  19225. autoid:
  19226. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  19227. type: integer
  19228. balance:
  19229. description: 期初余额
  19230. type: number
  19231. businesscode:
  19232. description: 业务编号
  19233. type: integer
  19234. createtime:
  19235. description: 发生时间
  19236. type: string
  19237. currencyid:
  19238. description: 币种ID
  19239. type: integer
  19240. currentbalance:
  19241. description: 期末余额(变动后金额)
  19242. type: number
  19243. dgoodscode:
  19244. description: 交割商品代码
  19245. type: string
  19246. dgoodsname:
  19247. description: 交割商品名称
  19248. type: string
  19249. goodscode:
  19250. description: 商品代码
  19251. type: string
  19252. goodsid:
  19253. description: 商品ID
  19254. type: integer
  19255. goodsname:
  19256. description: 商品名称
  19257. type: string
  19258. marketid:
  19259. description: 市场ID
  19260. type: integer
  19261. marketname:
  19262. description: 市场名称
  19263. type: string
  19264. moneyticket:
  19265. description: 资金流水号:银行端流水号
  19266. type: integer
  19267. operatetype:
  19268. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  19269. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  19270. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  19271. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  19272. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  19273. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  19274. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  19275. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  19276. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  19277. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  19278. type: integer
  19279. relationorderid:
  19280. description: 关联单号
  19281. type: string
  19282. remark:
  19283. description: 备注
  19284. type: string
  19285. trademode:
  19286. description: 交易模式
  19287. type: integer
  19288. required:
  19289. - accountid
  19290. - amount
  19291. - amountadjusttype
  19292. - autoid
  19293. - balance
  19294. - createtime
  19295. - currentbalance
  19296. - operatetype
  19297. type: object
  19298. taaccount.QueryHisAmountLogRsp:
  19299. properties:
  19300. OPERATETYPENAME:
  19301. description: 资金操作类型名称
  19302. type: string
  19303. accountid:
  19304. description: 资金账户ID
  19305. type: integer
  19306. agoodscode:
  19307. description: 竞拍商品代码
  19308. type: string
  19309. agoodsname:
  19310. description: 竞拍商品名称
  19311. type: string
  19312. amount:
  19313. description: 资金金额
  19314. type: number
  19315. amountadjusttype:
  19316. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  19317. type: integer
  19318. autoid:
  19319. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  19320. type: integer
  19321. balance:
  19322. description: 期初余额
  19323. type: number
  19324. businesscode:
  19325. description: 业务编号
  19326. type: integer
  19327. createtime:
  19328. description: 发生时间
  19329. type: string
  19330. currencyid:
  19331. description: 币种ID
  19332. type: integer
  19333. currentbalance:
  19334. description: 期末余额(变动后金额)
  19335. type: number
  19336. dgoodscode:
  19337. description: 交割商品代码
  19338. type: string
  19339. dgoodsname:
  19340. description: 交割商品名称
  19341. type: string
  19342. goodscode:
  19343. description: 商品代码
  19344. type: string
  19345. goodsid:
  19346. description: 商品ID
  19347. type: integer
  19348. goodsname:
  19349. description: 商品名称
  19350. type: string
  19351. histradedate:
  19352. description: 历史交易日
  19353. type: string
  19354. isvaliddata:
  19355. description: 是否有效 - 0:无效 1:有效
  19356. type: integer
  19357. marketid:
  19358. description: 市场ID
  19359. type: integer
  19360. marketname:
  19361. description: 市场名称
  19362. type: string
  19363. moneyticket:
  19364. description: 资金流水号:银行端流水号
  19365. type: integer
  19366. operatetype:
  19367. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  19368. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  19369. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  19370. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  19371. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  19372. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  19373. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  19374. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  19375. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  19376. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  19377. type: integer
  19378. relationorderid:
  19379. description: 关联单号
  19380. type: string
  19381. remark:
  19382. description: 备注
  19383. type: string
  19384. trademode:
  19385. description: 交易模式
  19386. type: integer
  19387. required:
  19388. - accountid
  19389. - amount
  19390. - amountadjusttype
  19391. - autoid
  19392. - balance
  19393. - createtime
  19394. - currentbalance
  19395. - histradedate
  19396. - operatetype
  19397. type: object
  19398. trade.QueryRecieptOrderRsp:
  19399. properties:
  19400. accountName:
  19401. description: 所属账号名称(已脱敏)
  19402. type: string
  19403. accountid:
  19404. description: 资金账号
  19405. type: integer
  19406. buyorsell:
  19407. description: 方向 - 0:买 1:卖
  19408. type: integer
  19409. enableqty:
  19410. description: 可摘数量
  19411. type: integer
  19412. goodscode:
  19413. description: 商品代码
  19414. type: string
  19415. goodsid:
  19416. description: 商品ID
  19417. type: integer
  19418. goodsname:
  19419. description: 商品名称
  19420. type: string
  19421. orderid:
  19422. description: 委托单号
  19423. type: string
  19424. orderprice:
  19425. description: 委托价格
  19426. type: number
  19427. ordertime:
  19428. description: 委托时间
  19429. type: string
  19430. tradedate:
  19431. description: 交易日(yyyyMMdd)
  19432. type: string
  19433. required:
  19434. - ordertime
  19435. type: object
  19436. user.LoginQueryRsp:
  19437. properties:
  19438. areaRoles:
  19439. description: 所属角色信息
  19440. items:
  19441. $ref: '#/definitions/models.Arearole'
  19442. type: array
  19443. externalExchanges:
  19444. description: 外部交易所
  19445. items:
  19446. $ref: '#/definitions/models.Externalexchange'
  19447. type: array
  19448. goodsgroups:
  19449. description: 商品组
  19450. items:
  19451. $ref: '#/definitions/models.Goodsgroup'
  19452. type: array
  19453. loginAccount:
  19454. $ref: '#/definitions/models.Loginaccount'
  19455. description: 登录账号
  19456. markets:
  19457. description: 市场
  19458. items:
  19459. $ref: '#/definitions/models.Market'
  19460. type: array
  19461. systemParams:
  19462. description: 系统参数
  19463. items:
  19464. $ref: '#/definitions/models.Systemparam'
  19465. type: array
  19466. userAccount:
  19467. $ref: '#/definitions/models.Useraccount'
  19468. description: 用户账号
  19469. userInfo:
  19470. $ref: '#/definitions/models.Userinfo'
  19471. description: 用户信息
  19472. username:
  19473. description: 用户姓名
  19474. type: string
  19475. type: object
  19476. info:
  19477. contact: {}
  19478. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  19479. termsOfService: http://www.muchinfo.cn
  19480. title: MTP2.0 查询服务 API
  19481. version: "1.0"
  19482. paths:
  19483. /CPTrade/QueryCPTradeMyBidInfos:
  19484. get:
  19485. parameters:
  19486. - description: 资金账户
  19487. in: query
  19488. name: accountid
  19489. required: true
  19490. type: integer
  19491. - description: 预售市场ID
  19492. in: query
  19493. name: marketid
  19494. type: integer
  19495. - description: 预售商品ID
  19496. in: query
  19497. name: goodsid
  19498. type: integer
  19499. produces:
  19500. - application/json
  19501. responses:
  19502. "200":
  19503. description: OK
  19504. schema:
  19505. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  19506. "500":
  19507. description: Internal Server Error
  19508. schema:
  19509. $ref: '#/definitions/app.Response'
  19510. security:
  19511. - ApiKeyAuth: []
  19512. summary: 查询产能预售我的出价信息
  19513. tags:
  19514. - 产能预售
  19515. /CPTrade/QueryCPTradeOrderDetail:
  19516. get:
  19517. parameters:
  19518. - description: 预售商品ID
  19519. in: query
  19520. name: goodsid
  19521. type: integer
  19522. - description: 预售市场ID
  19523. in: query
  19524. name: marketid
  19525. type: integer
  19526. - description: 预售商品ID列表 - 格式:1,2,3
  19527. in: query
  19528. name: goodsids
  19529. type: string
  19530. produces:
  19531. - application/json
  19532. responses:
  19533. "200":
  19534. description: OK
  19535. schema:
  19536. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  19537. "500":
  19538. description: Internal Server Error
  19539. schema:
  19540. $ref: '#/definitions/app.Response'
  19541. security:
  19542. - ApiKeyAuth: []
  19543. summary: 查询产能预售委托单信息
  19544. tags:
  19545. - 产能预售
  19546. /CPTrade/QueryMyCPTradeGoods:
  19547. get:
  19548. parameters:
  19549. - description: 资金账户
  19550. in: query
  19551. name: accountid
  19552. required: true
  19553. type: integer
  19554. produces:
  19555. - application/json
  19556. responses:
  19557. "200":
  19558. description: OK
  19559. schema:
  19560. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  19561. "500":
  19562. description: Internal Server Error
  19563. schema:
  19564. $ref: '#/definitions/app.Response'
  19565. security:
  19566. - ApiKeyAuth: []
  19567. summary: 查询我的预售信息
  19568. tags:
  19569. - 产能预售
  19570. /CPTrade/QueryPositionCancel:
  19571. get:
  19572. parameters:
  19573. - description: 账户ID
  19574. in: query
  19575. name: userid
  19576. required: true
  19577. type: integer
  19578. - description: 注销ID
  19579. in: query
  19580. name: cancelid
  19581. type: integer
  19582. - description: 资金账户ID
  19583. in: query
  19584. name: accountid
  19585. type: integer
  19586. produces:
  19587. - application/json
  19588. responses:
  19589. "200":
  19590. description: OK
  19591. schema:
  19592. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  19593. "500":
  19594. description: Internal Server Error
  19595. schema:
  19596. $ref: '#/definitions/app.Response'
  19597. security:
  19598. - ApiKeyAuth: []
  19599. summary: 查询远期订单注销申请信息
  19600. tags:
  19601. - 产能预售
  19602. /CPTrade/QueryPreasleApply:
  19603. get:
  19604. parameters:
  19605. - description: 账户ID
  19606. in: query
  19607. name: userid
  19608. required: true
  19609. type: integer
  19610. - description: 申请ID
  19611. in: query
  19612. name: applyid
  19613. type: integer
  19614. - description: 资金账户ID
  19615. in: query
  19616. name: accountid
  19617. type: integer
  19618. produces:
  19619. - application/json
  19620. responses:
  19621. "200":
  19622. description: OK
  19623. schema:
  19624. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  19625. "500":
  19626. description: Internal Server Error
  19627. schema:
  19628. $ref: '#/definitions/app.Response'
  19629. security:
  19630. - ApiKeyAuth: []
  19631. summary: 查询产能预售申请信息
  19632. tags:
  19633. - 产能预售
  19634. /CPTrade/QueryPresaleGoodsEx:
  19635. get:
  19636. parameters:
  19637. - description: 预售商品ID
  19638. in: query
  19639. name: goodsid
  19640. type: integer
  19641. - description: 预售市场ID
  19642. in: query
  19643. name: marketid
  19644. type: integer
  19645. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  19646. in: query
  19647. name: presalemode
  19648. type: integer
  19649. - description: 预售商品ID列表 - 格式:1,2,3
  19650. in: query
  19651. name: goodsids
  19652. type: string
  19653. - description: 预售商品代码
  19654. in: query
  19655. name: goodscode
  19656. type: string
  19657. produces:
  19658. - application/json
  19659. responses:
  19660. "200":
  19661. description: OK
  19662. schema:
  19663. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  19664. "500":
  19665. description: Internal Server Error
  19666. schema:
  19667. $ref: '#/definitions/app.Response'
  19668. security:
  19669. - ApiKeyAuth: []
  19670. summary: 查询产能预售商品扩展信息
  19671. tags:
  19672. - 产能预售
  19673. /CPTrade/QueryUserGoodsData:
  19674. get:
  19675. parameters:
  19676. - description: 资金账户ID
  19677. in: query
  19678. name: accountid
  19679. required: true
  19680. type: integer
  19681. produces:
  19682. - application/json
  19683. responses:
  19684. "200":
  19685. description: OK
  19686. schema:
  19687. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  19688. "500":
  19689. description: Internal Server Error
  19690. schema:
  19691. $ref: '#/definitions/app.Response'
  19692. security:
  19693. - ApiKeyAuth: []
  19694. summary: 查询远期订单信息
  19695. tags:
  19696. - 产能预售
  19697. /Common/GetAllEnums:
  19698. get:
  19699. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  19700. parameters:
  19701. - description: 起始自增ID
  19702. in: query
  19703. name: autoid
  19704. type: integer
  19705. produces:
  19706. - application/json
  19707. responses:
  19708. "200":
  19709. description: OK
  19710. schema:
  19711. $ref: '#/definitions/models.Enumdicitem'
  19712. "500":
  19713. description: Internal Server Error
  19714. schema:
  19715. $ref: '#/definitions/app.Response'
  19716. summary: 获取所有枚举信息
  19717. tags:
  19718. - 通用服务
  19719. /Common/GetClientMenus:
  19720. get:
  19721. parameters:
  19722. - description: 登录账号
  19723. in: query
  19724. name: loginID
  19725. required: true
  19726. type: integer
  19727. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  19728. in: query
  19729. name: clientType
  19730. type: integer
  19731. - description: 分支名称,ermcp-风管云平台;pingan-平安期货;trader-交易所;不传默认返回风管云平台
  19732. in: query
  19733. name: name
  19734. type: string
  19735. produces:
  19736. - application/json
  19737. responses:
  19738. "200":
  19739. description: OK
  19740. schema:
  19741. items:
  19742. $ref: '#/definitions/common.ClientMenu'
  19743. type: array
  19744. "500":
  19745. description: Internal Server Error
  19746. schema:
  19747. $ref: '#/definitions/app.Response'
  19748. security:
  19749. - ApiKeyAuth: []
  19750. summary: 获取交易端菜单
  19751. tags:
  19752. - 通用服务
  19753. /Common/GetDivisions:
  19754. get:
  19755. produces:
  19756. - application/json
  19757. responses:
  19758. "200":
  19759. description: OK
  19760. schema:
  19761. $ref: '#/definitions/models.Division'
  19762. "500":
  19763. description: Internal Server Error
  19764. schema:
  19765. $ref: '#/definitions/app.Response'
  19766. summary: 查询区域信息
  19767. tags:
  19768. - 通用服务
  19769. /Common/GetPCWebMenus:
  19770. get:
  19771. parameters:
  19772. - description: 登录账号
  19773. in: query
  19774. name: loginID
  19775. required: true
  19776. type: integer
  19777. - description: 分支名称,ermcp:风管云平台,不传默认返回ermcp
  19778. in: query
  19779. name: name
  19780. type: string
  19781. produces:
  19782. - application/json
  19783. responses:
  19784. "200":
  19785. description: OK
  19786. schema:
  19787. items:
  19788. $ref: '#/definitions/common.PCWebMenu'
  19789. type: array
  19790. "500":
  19791. description: Internal Server Error
  19792. schema:
  19793. $ref: '#/definitions/app.Response'
  19794. security:
  19795. - ApiKeyAuth: []
  19796. summary: 获取PCWeb交易端菜单
  19797. tags:
  19798. - 通用服务
  19799. /Common/GetServerTime:
  19800. get:
  19801. produces:
  19802. - application/json
  19803. responses:
  19804. "200":
  19805. description: OK
  19806. schema:
  19807. $ref: '#/definitions/app.Response'
  19808. "500":
  19809. description: Internal Server Error
  19810. schema:
  19811. $ref: '#/definitions/app.Response'
  19812. summary: 获取服务器时间
  19813. tags:
  19814. - 通用服务
  19815. /Common/NoticeReaded:
  19816. post:
  19817. parameters:
  19818. - description: 登录账号
  19819. in: query
  19820. name: loginID
  19821. required: true
  19822. type: integer
  19823. - description: 通知公告ID
  19824. in: query
  19825. name: noticeID
  19826. required: true
  19827. type: integer
  19828. produces:
  19829. - application/json
  19830. responses:
  19831. "200":
  19832. description: OK
  19833. schema:
  19834. $ref: '#/definitions/app.Response'
  19835. "500":
  19836. description: Internal Server Error
  19837. schema:
  19838. $ref: '#/definitions/app.Response'
  19839. security:
  19840. - ApiKeyAuth: []
  19841. summary: 通知公告设置已读请求
  19842. tags:
  19843. - 通用服务
  19844. /Common/QueryErrorInfos:
  19845. get:
  19846. description: 如果传入rowNumber,则返回此rowNumber后的数据
  19847. parameters:
  19848. - description: 起始行号前索引
  19849. in: query
  19850. name: rowNumber
  19851. type: string
  19852. produces:
  19853. - application/json
  19854. responses:
  19855. "200":
  19856. description: OK
  19857. schema:
  19858. $ref: '#/definitions/models.QueryErrorInfosRsp'
  19859. "500":
  19860. description: Internal Server Error
  19861. schema:
  19862. $ref: '#/definitions/app.Response'
  19863. summary: 获取数据库错误信息
  19864. tags:
  19865. - 通用服务
  19866. /Common/QueryImageConfigs:
  19867. get:
  19868. parameters:
  19869. - description: 用户id
  19870. in: query
  19871. name: userId
  19872. type: integer
  19873. - description: 类型 - 1:App首页轮播 2:我的 3:首页(PC) 4:首页推广(移动-新会)
  19874. in: query
  19875. name: imageType
  19876. type: integer
  19877. produces:
  19878. - application/json
  19879. responses:
  19880. "200":
  19881. description: OK
  19882. schema:
  19883. $ref: '#/definitions/common.QueryImageConfigsRsp'
  19884. "500":
  19885. description: Internal Server Error
  19886. schema:
  19887. $ref: '#/definitions/app.Response'
  19888. summary: 查询轮播图配置信息
  19889. tags:
  19890. - 通用服务
  19891. /Common/QueryNotice:
  19892. get:
  19893. parameters:
  19894. - description: 页码
  19895. in: query
  19896. name: page
  19897. type: integer
  19898. - description: 每页条数
  19899. in: query
  19900. name: pagesize
  19901. type: integer
  19902. - description: 登录账号
  19903. in: query
  19904. name: loginID
  19905. required: true
  19906. type: integer
  19907. - description: 消息类型 - 1:公告通知 2:系统消息
  19908. in: query
  19909. name: msgType
  19910. type: integer
  19911. - description: 是否只获取未读信息
  19912. in: query
  19913. name: onlyUnRead
  19914. type: boolean
  19915. - description: 自增ID,传入后会返回这个ID后面的记录
  19916. in: query
  19917. name: lastID
  19918. type: integer
  19919. produces:
  19920. - application/json
  19921. responses:
  19922. "200":
  19923. description: OK
  19924. schema:
  19925. $ref: '#/definitions/common.QueryNoticeRsp'
  19926. "500":
  19927. description: Internal Server Error
  19928. schema:
  19929. $ref: '#/definitions/app.Response'
  19930. security:
  19931. - ApiKeyAuth: []
  19932. summary: 通知公告系统消息查询
  19933. tags:
  19934. - 通用服务
  19935. /Common/QueryProvincesAndCities:
  19936. get:
  19937. parameters:
  19938. - description: 省ID
  19939. in: query
  19940. name: provinceID
  19941. type: integer
  19942. produces:
  19943. - application/json
  19944. responses:
  19945. "200":
  19946. description: OK
  19947. schema:
  19948. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  19949. "500":
  19950. description: Internal Server Error
  19951. schema:
  19952. $ref: '#/definitions/app.Response'
  19953. summary: 查询省市信息(不包括区)
  19954. tags:
  19955. - 通用服务
  19956. /Common/QueryTableDefine:
  19957. get:
  19958. parameters:
  19959. - description: 表key
  19960. in: query
  19961. name: tableKey
  19962. type: string
  19963. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  19964. in: query
  19965. name: tableType
  19966. type: integer
  19967. produces:
  19968. - application/json
  19969. responses:
  19970. "200":
  19971. description: OK
  19972. schema:
  19973. $ref: '#/definitions/common.QueryTableDefineRsp'
  19974. "500":
  19975. description: Internal Server Error
  19976. schema:
  19977. $ref: '#/definitions/app.Response'
  19978. summary: 查询交易端列表头信息
  19979. tags:
  19980. - 通用服务
  19981. /Common/QueryTraderMenu:
  19982. get:
  19983. parameters:
  19984. - description: 登录账号
  19985. in: query
  19986. name: loginid
  19987. required: true
  19988. type: integer
  19989. produces:
  19990. - application/json
  19991. responses:
  19992. "200":
  19993. description: OK
  19994. schema:
  19995. $ref: '#/definitions/common.QueryTraderMenuRsp'
  19996. "500":
  19997. description: Internal Server Error
  19998. schema:
  19999. $ref: '#/definitions/app.Response'
  20000. summary: 查询交易端菜单
  20001. tags:
  20002. - 通用服务
  20003. /Delivery/QueryDeliveryRelation:
  20004. get:
  20005. parameters:
  20006. - description: 商品ID
  20007. in: query
  20008. name: goodsid
  20009. type: integer
  20010. - description: 品种ID
  20011. in: query
  20012. name: deliverygoodsid
  20013. type: integer
  20014. - description: 市场ID
  20015. in: query
  20016. name: marketid
  20017. type: integer
  20018. produces:
  20019. - application/json
  20020. responses:
  20021. "200":
  20022. description: OK
  20023. schema:
  20024. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  20025. "500":
  20026. description: Internal Server Error
  20027. schema:
  20028. $ref: '#/definitions/app.Response'
  20029. security:
  20030. - ApiKeyAuth: []
  20031. summary: 查询商品交割关系表
  20032. tags:
  20033. - 交割服务
  20034. /Ermcp/GetErmcpGoods:
  20035. get:
  20036. parameters:
  20037. - description: 用户id(风管云平台版本传值, 只显示用户下设置了套保关联的品种)
  20038. in: query
  20039. name: userid
  20040. type: integer
  20041. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  20042. in: query
  20043. name: lastUpdateTime
  20044. type: string
  20045. produces:
  20046. - application/json
  20047. responses:
  20048. "200":
  20049. description: OK
  20050. schema:
  20051. $ref: '#/definitions/models.ErmcpGoods'
  20052. "500":
  20053. description: Internal Server Error
  20054. schema:
  20055. $ref: '#/definitions/app.Response'
  20056. security:
  20057. - ApiKeyAuth: []
  20058. summary: 查询企业风管期货商品信息
  20059. tags:
  20060. - 企业风险管理(app)
  20061. /Ermcp/GetErmcpGoodsSortByPosition:
  20062. get:
  20063. parameters:
  20064. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  20065. in: query
  20066. name: sortIndex
  20067. type: string
  20068. produces:
  20069. - application/json
  20070. responses:
  20071. "200":
  20072. description: OK
  20073. schema:
  20074. $ref: '#/definitions/models.Goodssortbypreposition'
  20075. "500":
  20076. description: Internal Server Error
  20077. schema:
  20078. $ref: '#/definitions/app.Response'
  20079. security:
  20080. - ApiKeyAuth: []
  20081. summary: 查询企业风管期货主力、次主力商品信息
  20082. tags:
  20083. - 企业风险管理(app)
  20084. /Ermcp/GetErmcpOutAccountStatus:
  20085. get:
  20086. parameters:
  20087. - description: 登录账号
  20088. in: query
  20089. name: loginID
  20090. required: true
  20091. type: integer
  20092. produces:
  20093. - application/json
  20094. responses:
  20095. "200":
  20096. description: OK
  20097. schema:
  20098. $ref: '#/definitions/models.Hedgemarketopenlog'
  20099. "500":
  20100. description: Internal Server Error
  20101. schema:
  20102. $ref: '#/definitions/app.Response'
  20103. security:
  20104. - ApiKeyAuth: []
  20105. summary: 获取目标登录账号当前对冲账号在线状态
  20106. tags:
  20107. - 企业风险管理(app)
  20108. /Ermcp/GetErmcpRoleFuncMenuLists:
  20109. get:
  20110. parameters:
  20111. - description: 登录账号
  20112. in: query
  20113. name: loginID
  20114. required: true
  20115. type: integer
  20116. produces:
  20117. - application/json
  20118. responses:
  20119. "200":
  20120. description: OK
  20121. schema:
  20122. $ref: '#/definitions/models.Funcmenulist'
  20123. "500":
  20124. description: Internal Server Error
  20125. schema:
  20126. $ref: '#/definitions/app.Response'
  20127. security:
  20128. - ApiKeyAuth: []
  20129. summary: 获取企业风管终端权限
  20130. tags:
  20131. - 企业风险管理(app)
  20132. /Ermcp/QueryAccMgrBizGroupSet:
  20133. get:
  20134. parameters:
  20135. - description: 用户ID
  20136. in: query
  20137. name: userid
  20138. required: true
  20139. type: integer
  20140. - description: 现货商品id
  20141. in: query
  20142. name: deliverygoodsid
  20143. type: integer
  20144. produces:
  20145. - application/json
  20146. responses:
  20147. "200":
  20148. description: OK
  20149. schema:
  20150. items:
  20151. $ref: '#/definitions/models.ErmcpBizGroupEx'
  20152. type: array
  20153. "500":
  20154. description: Internal Server Error
  20155. schema:
  20156. $ref: '#/definitions/app.Response'
  20157. security:
  20158. - ApiKeyAuth: []
  20159. summary: 查询业务类型分组(账户管理/账户设置)
  20160. tags:
  20161. - 企业风险管理(app)
  20162. /Ermcp/QueryAccMgrLoginUser:
  20163. get:
  20164. parameters:
  20165. - description: 用户ID
  20166. in: query
  20167. name: userid
  20168. required: true
  20169. type: integer
  20170. - description: 用户类型 2-机构 7-企业成员
  20171. in: query
  20172. name: usertype
  20173. type: integer
  20174. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  20175. in: query
  20176. name: querytype
  20177. required: true
  20178. type: integer
  20179. produces:
  20180. - application/json
  20181. responses:
  20182. "200":
  20183. description: OK
  20184. schema:
  20185. items:
  20186. $ref: '#/definitions/models.ErmcpLoginUserEx'
  20187. type: array
  20188. "500":
  20189. description: Internal Server Error
  20190. schema:
  20191. $ref: '#/definitions/app.Response'
  20192. security:
  20193. - ApiKeyAuth: []
  20194. summary: 查询账户管理登录账号(账户管理/登录账号)
  20195. tags:
  20196. - 企业风险管理(app)
  20197. /Ermcp/QueryAccMgrMainAccountInfo:
  20198. get:
  20199. parameters:
  20200. - description: 用户ID
  20201. in: query
  20202. name: userid
  20203. type: integer
  20204. - description: 主账号id
  20205. in: query
  20206. name: accountid
  20207. type: integer
  20208. produces:
  20209. - application/json
  20210. responses:
  20211. "200":
  20212. description: OK
  20213. schema:
  20214. items:
  20215. $ref: '#/definitions/models.MainAccountInfo'
  20216. type: array
  20217. "500":
  20218. description: Internal Server Error
  20219. schema:
  20220. $ref: '#/definitions/app.Response'
  20221. security:
  20222. - ApiKeyAuth: []
  20223. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  20224. tags:
  20225. - 企业风险管理(app)
  20226. /Ermcp/QueryAccMgrRole:
  20227. get:
  20228. parameters:
  20229. - description: 用户ID
  20230. in: query
  20231. name: userid
  20232. required: true
  20233. type: integer
  20234. produces:
  20235. - application/json
  20236. responses:
  20237. "200":
  20238. description: OK
  20239. schema:
  20240. items:
  20241. $ref: '#/definitions/models.ErmcpRole'
  20242. type: array
  20243. "500":
  20244. description: Internal Server Error
  20245. schema:
  20246. $ref: '#/definitions/app.Response'
  20247. security:
  20248. - ApiKeyAuth: []
  20249. summary: 查询账户管理角色设置(账户管理/角色设置)
  20250. tags:
  20251. - 企业风险管理(app)
  20252. /Ermcp/QueryAccMgrRoleMenu:
  20253. get:
  20254. parameters:
  20255. - description: 用户ID
  20256. in: query
  20257. name: userid
  20258. required: true
  20259. type: integer
  20260. - description: 角色id(可多个,逗号隔开)
  20261. in: query
  20262. name: roleid
  20263. type: string
  20264. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  20265. in: query
  20266. name: menutype
  20267. type: integer
  20268. produces:
  20269. - application/json
  20270. responses:
  20271. "200":
  20272. description: OK
  20273. schema:
  20274. items:
  20275. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  20276. type: array
  20277. "500":
  20278. description: Internal Server Error
  20279. schema:
  20280. $ref: '#/definitions/app.Response'
  20281. security:
  20282. - ApiKeyAuth: []
  20283. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  20284. tags:
  20285. - 企业风险管理(app)
  20286. /Ermcp/QueryAccMgrTaAccountInfo:
  20287. get:
  20288. parameters:
  20289. - description: 用户ID
  20290. in: query
  20291. name: userid
  20292. required: true
  20293. type: integer
  20294. - description: 账号id
  20295. in: query
  20296. name: accountid
  20297. type: integer
  20298. produces:
  20299. - application/json
  20300. responses:
  20301. "200":
  20302. description: OK
  20303. schema:
  20304. items:
  20305. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  20306. type: array
  20307. "500":
  20308. description: Internal Server Error
  20309. schema:
  20310. $ref: '#/definitions/app.Response'
  20311. security:
  20312. - ApiKeyAuth: []
  20313. summary: 查询账户管理授信(账户管理/账户设置/授信)
  20314. tags:
  20315. - 企业风险管理(app)
  20316. /Ermcp/QueryAccMgrTaaccount:
  20317. get:
  20318. parameters:
  20319. - description: 用户ID
  20320. in: query
  20321. name: userid
  20322. required: true
  20323. type: integer
  20324. produces:
  20325. - application/json
  20326. responses:
  20327. "200":
  20328. description: OK
  20329. schema:
  20330. items:
  20331. $ref: '#/definitions/models.ErmcpTaAccountEx'
  20332. type: array
  20333. "500":
  20334. description: Internal Server Error
  20335. schema:
  20336. $ref: '#/definitions/app.Response'
  20337. security:
  20338. - ApiKeyAuth: []
  20339. summary: 查询账户管理期货账号(账户管理/期货账号)
  20340. tags:
  20341. - 企业风险管理(app)
  20342. /Ermcp/QueryAvaildGoodsGroup:
  20343. get:
  20344. parameters:
  20345. - description: 所属机构ID
  20346. in: query
  20347. name: userid
  20348. required: true
  20349. type: integer
  20350. produces:
  20351. - application/json
  20352. responses:
  20353. "200":
  20354. description: OK
  20355. schema:
  20356. items:
  20357. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  20358. type: array
  20359. "500":
  20360. description: Internal Server Error
  20361. schema:
  20362. $ref: '#/definitions/app.Response'
  20363. security:
  20364. - ApiKeyAuth: []
  20365. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  20366. tags:
  20367. - 企业风险管理(app)
  20368. /Ermcp/QueryBusinessDj:
  20369. get:
  20370. parameters:
  20371. - description: 用户ID
  20372. in: query
  20373. name: UserId
  20374. required: true
  20375. type: integer
  20376. - description: 用户类型 2-机构 7-企业成员
  20377. in: query
  20378. name: usertype
  20379. type: integer
  20380. - description: 现货合同ID, 不填则查所有
  20381. in: query
  20382. name: relatedid
  20383. type: string
  20384. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20385. in: query
  20386. name: applystatus
  20387. type: string
  20388. produces:
  20389. - application/json
  20390. responses:
  20391. "200":
  20392. description: OK
  20393. schema:
  20394. items:
  20395. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  20396. type: array
  20397. "500":
  20398. description: Internal Server Error
  20399. schema:
  20400. $ref: '#/definitions/app.Response'
  20401. security:
  20402. - ApiKeyAuth: []
  20403. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  20404. tags:
  20405. - 企业风险管理(app)
  20406. /Ermcp/QueryBusinessFp:
  20407. get:
  20408. parameters:
  20409. - description: 用户ID
  20410. in: query
  20411. name: UserId
  20412. required: true
  20413. type: integer
  20414. - description: 用户类型 2-机构 7-企业成员
  20415. in: query
  20416. name: usertype
  20417. type: integer
  20418. - description: 现货合同ID, 不填则查所有
  20419. in: query
  20420. name: relatedid
  20421. type: string
  20422. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20423. in: query
  20424. name: applystatus
  20425. type: string
  20426. produces:
  20427. - application/json
  20428. responses:
  20429. "200":
  20430. description: OK
  20431. schema:
  20432. items:
  20433. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  20434. type: array
  20435. "500":
  20436. description: Internal Server Error
  20437. schema:
  20438. $ref: '#/definitions/app.Response'
  20439. security:
  20440. - ApiKeyAuth: []
  20441. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  20442. tags:
  20443. - 企业风险管理(app)
  20444. /Ermcp/QueryBusinessJs:
  20445. get:
  20446. parameters:
  20447. - description: 用户ID
  20448. in: query
  20449. name: UserId
  20450. required: true
  20451. type: integer
  20452. - description: 用户类型 2-机构 7-企业成员
  20453. in: query
  20454. name: usertype
  20455. type: integer
  20456. - description: 现货合同ID, 不填则查所有
  20457. in: query
  20458. name: relatedid
  20459. type: string
  20460. - description: 操作申请id
  20461. in: query
  20462. name: operateapplyid
  20463. type: string
  20464. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20465. in: query
  20466. name: applystatus
  20467. type: string
  20468. produces:
  20469. - application/json
  20470. responses:
  20471. "200":
  20472. description: OK
  20473. schema:
  20474. items:
  20475. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  20476. type: array
  20477. "500":
  20478. description: Internal Server Error
  20479. schema:
  20480. $ref: '#/definitions/app.Response'
  20481. security:
  20482. - ApiKeyAuth: []
  20483. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  20484. tags:
  20485. - 企业风险管理(app)
  20486. /Ermcp/QueryBusinessJsEx:
  20487. get:
  20488. parameters:
  20489. - description: 用户ID
  20490. in: query
  20491. name: UserId
  20492. required: true
  20493. type: integer
  20494. - description: 用户类型 2-机构 7-企业成员
  20495. in: query
  20496. name: usertype
  20497. type: integer
  20498. - description: 现货合同ID, 不填则查所有
  20499. in: query
  20500. name: relatedid
  20501. type: string
  20502. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20503. in: query
  20504. name: applystatus
  20505. type: string
  20506. produces:
  20507. - application/json
  20508. responses:
  20509. "200":
  20510. description: OK
  20511. schema:
  20512. items:
  20513. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  20514. type: array
  20515. "500":
  20516. description: Internal Server Error
  20517. schema:
  20518. $ref: '#/definitions/app.Response'
  20519. security:
  20520. - ApiKeyAuth: []
  20521. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  20522. tags:
  20523. - 企业风险管理(app)
  20524. /Ermcp/QueryBusinessKx:
  20525. get:
  20526. parameters:
  20527. - description: 用户ID
  20528. in: query
  20529. name: UserId
  20530. required: true
  20531. type: integer
  20532. - description: 用户类型 2-机构 7-企业成员
  20533. in: query
  20534. name: usertype
  20535. type: integer
  20536. - description: 现货合同ID, 不填则查所有
  20537. in: query
  20538. name: relatedid
  20539. type: string
  20540. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20541. in: query
  20542. name: applystatus
  20543. type: string
  20544. produces:
  20545. - application/json
  20546. responses:
  20547. "200":
  20548. description: OK
  20549. schema:
  20550. items:
  20551. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  20552. type: array
  20553. "500":
  20554. description: Internal Server Error
  20555. schema:
  20556. $ref: '#/definitions/app.Response'
  20557. security:
  20558. - ApiKeyAuth: []
  20559. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  20560. tags:
  20561. - 企业风险管理(app)
  20562. /Ermcp/QueryChangeLog:
  20563. get:
  20564. parameters:
  20565. - description: 合同ID
  20566. in: query
  20567. name: RelatedId
  20568. required: true
  20569. type: string
  20570. produces:
  20571. - application/json
  20572. responses:
  20573. "200":
  20574. description: OK
  20575. schema:
  20576. items:
  20577. $ref: '#/definitions/ermcp.QryOPLogRsp'
  20578. type: array
  20579. "500":
  20580. description: Internal Server Error
  20581. schema:
  20582. $ref: '#/definitions/app.Response'
  20583. security:
  20584. - ApiKeyAuth: []
  20585. summary: 查询变更记录
  20586. tags:
  20587. - 企业风险管理(app)
  20588. /Ermcp/QueryErmcpHisOrderDetails:
  20589. get:
  20590. parameters:
  20591. - description: 资金账户ID
  20592. in: query
  20593. name: accountID
  20594. required: true
  20595. type: integer
  20596. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20597. in: query
  20598. name: startDate
  20599. type: string
  20600. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20601. in: query
  20602. name: endDate
  20603. type: string
  20604. produces:
  20605. - application/json
  20606. responses:
  20607. "200":
  20608. description: OK
  20609. schema:
  20610. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  20611. "500":
  20612. description: Internal Server Error
  20613. schema:
  20614. $ref: '#/definitions/app.Response'
  20615. security:
  20616. - ApiKeyAuth: []
  20617. summary: 获取企业风管期货历史委托单信息
  20618. tags:
  20619. - 企业风险管理(app)
  20620. /Ermcp/QueryErmcpHisTradeDetails:
  20621. get:
  20622. parameters:
  20623. - description: 资金账户ID
  20624. in: query
  20625. name: accountID
  20626. required: true
  20627. type: integer
  20628. - description: 商品ID
  20629. in: query
  20630. name: goodsID
  20631. type: integer
  20632. - description: 买卖方向,0:买 1:卖
  20633. in: query
  20634. name: buyOrSell
  20635. type: integer
  20636. - description: 关联委托单号
  20637. in: query
  20638. name: orderID
  20639. type: integer
  20640. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20641. in: query
  20642. name: startDate
  20643. type: string
  20644. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20645. in: query
  20646. name: endDate
  20647. type: string
  20648. produces:
  20649. - application/json
  20650. responses:
  20651. "200":
  20652. description: OK
  20653. schema:
  20654. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  20655. "500":
  20656. description: Internal Server Error
  20657. schema:
  20658. $ref: '#/definitions/app.Response'
  20659. security:
  20660. - ApiKeyAuth: []
  20661. summary: 获取企业风管期货历史成交单信息
  20662. tags:
  20663. - 企业风险管理(app)
  20664. /Ermcp/QueryErmcpInnerHolderDetails:
  20665. get:
  20666. parameters:
  20667. - description: 资金账户ID
  20668. in: query
  20669. name: accountID
  20670. required: true
  20671. type: integer
  20672. - description: 商品ID
  20673. in: query
  20674. name: goodsID
  20675. type: integer
  20676. - description: 买卖方向,0:买 1:卖
  20677. in: query
  20678. name: buyOrSell
  20679. type: integer
  20680. produces:
  20681. - application/json
  20682. responses:
  20683. "200":
  20684. description: OK
  20685. schema:
  20686. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  20687. "500":
  20688. description: Internal Server Error
  20689. schema:
  20690. $ref: '#/definitions/app.Response'
  20691. security:
  20692. - ApiKeyAuth: []
  20693. summary: 获取企业风管期货内部持仓单信息
  20694. tags:
  20695. - 企业风险管理(app)
  20696. /Ermcp/QueryErmcpOrderDetails:
  20697. get:
  20698. parameters:
  20699. - description: 资金账户ID
  20700. in: query
  20701. name: accountID
  20702. required: true
  20703. type: integer
  20704. produces:
  20705. - application/json
  20706. responses:
  20707. "200":
  20708. description: OK
  20709. schema:
  20710. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  20711. "500":
  20712. description: Internal Server Error
  20713. schema:
  20714. $ref: '#/definitions/app.Response'
  20715. security:
  20716. - ApiKeyAuth: []
  20717. summary: 获取企业风管期货委托单信息
  20718. tags:
  20719. - 企业风险管理(app)
  20720. /Ermcp/QueryErmcpTradeDetails:
  20721. get:
  20722. parameters:
  20723. - description: 资金账户ID
  20724. in: query
  20725. name: accountID
  20726. required: true
  20727. type: integer
  20728. - description: 商品ID
  20729. in: query
  20730. name: goodsID
  20731. type: integer
  20732. - description: 买卖方向,0:买 1:卖
  20733. in: query
  20734. name: buyOrSell
  20735. type: integer
  20736. - description: 关联委托单号
  20737. in: query
  20738. name: orderID
  20739. type: integer
  20740. produces:
  20741. - application/json
  20742. responses:
  20743. "200":
  20744. description: OK
  20745. schema:
  20746. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  20747. "500":
  20748. description: Internal Server Error
  20749. schema:
  20750. $ref: '#/definitions/app.Response'
  20751. security:
  20752. - ApiKeyAuth: []
  20753. summary: 获取企业风管期货成交单信息
  20754. tags:
  20755. - 企业风险管理(app)
  20756. /Ermcp/QueryErmcpTradePosition:
  20757. get:
  20758. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  20759. parameters:
  20760. - description: 资金账户ID
  20761. in: query
  20762. name: accountID
  20763. required: true
  20764. type: integer
  20765. - description: 所属市场ID
  20766. in: query
  20767. name: marketID
  20768. type: integer
  20769. produces:
  20770. - application/json
  20771. responses:
  20772. "200":
  20773. description: OK
  20774. schema:
  20775. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  20776. "500":
  20777. description: Internal Server Error
  20778. schema:
  20779. $ref: '#/definitions/app.Response'
  20780. security:
  20781. - ApiKeyAuth: []
  20782. summary: 获取企业风管期货持仓头寸信息
  20783. tags:
  20784. - 企业风险管理(app)
  20785. /Ermcp/QueryExposureDetail:
  20786. get:
  20787. parameters:
  20788. - description: 所属机构ID
  20789. in: query
  20790. name: areaUserId
  20791. required: true
  20792. type: integer
  20793. - description: 套保商品
  20794. in: query
  20795. name: middleGoodsId
  20796. required: true
  20797. type: integer
  20798. produces:
  20799. - application/json
  20800. responses:
  20801. "200":
  20802. description: OK
  20803. schema:
  20804. items:
  20805. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  20806. type: array
  20807. "500":
  20808. description: Internal Server Error
  20809. schema:
  20810. $ref: '#/definitions/app.Response'
  20811. security:
  20812. - ApiKeyAuth: []
  20813. summary: 查询敞口现货明细
  20814. tags:
  20815. - 企业风险管理(app)
  20816. /Ermcp/QueryExposureGoods:
  20817. get:
  20818. parameters:
  20819. - description: 套保商品id
  20820. in: query
  20821. name: middlegoodsid
  20822. required: true
  20823. type: integer
  20824. produces:
  20825. - application/json
  20826. responses:
  20827. "200":
  20828. description: OK
  20829. schema:
  20830. items:
  20831. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  20832. type: array
  20833. "500":
  20834. description: Internal Server Error
  20835. schema:
  20836. $ref: '#/definitions/app.Response'
  20837. security:
  20838. - ApiKeyAuth: []
  20839. summary: 查询敞口主力合约
  20840. tags:
  20841. - 企业风险管理(app)
  20842. /Ermcp/QueryExposureHedgePosition:
  20843. get:
  20844. parameters:
  20845. - description: 用户id
  20846. in: query
  20847. name: userid
  20848. required: true
  20849. type: integer
  20850. produces:
  20851. - application/json
  20852. responses:
  20853. "200":
  20854. description: OK
  20855. schema:
  20856. items:
  20857. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  20858. type: array
  20859. "500":
  20860. description: Internal Server Error
  20861. schema:
  20862. $ref: '#/definitions/app.Response'
  20863. security:
  20864. - ApiKeyAuth: []
  20865. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  20866. tags:
  20867. - 企业风险管理(app)
  20868. /Ermcp/QueryExposureHedgePositionDetail:
  20869. get:
  20870. parameters:
  20871. - description: 所属机构ID
  20872. in: query
  20873. name: userid
  20874. required: true
  20875. type: integer
  20876. - description: 商品id
  20877. in: query
  20878. name: goodsId
  20879. required: true
  20880. type: integer
  20881. produces:
  20882. - application/json
  20883. responses:
  20884. "200":
  20885. description: OK
  20886. schema:
  20887. items:
  20888. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  20889. type: array
  20890. "500":
  20891. description: Internal Server Error
  20892. schema:
  20893. $ref: '#/definitions/app.Response'
  20894. security:
  20895. - ApiKeyAuth: []
  20896. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  20897. tags:
  20898. - 企业风险管理(app)
  20899. /Ermcp/QueryExposureSpot:
  20900. get:
  20901. parameters:
  20902. - description: 所属机构ID
  20903. in: query
  20904. name: areaUserId
  20905. required: true
  20906. type: integer
  20907. produces:
  20908. - application/json
  20909. responses:
  20910. "200":
  20911. description: OK
  20912. schema:
  20913. items:
  20914. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  20915. type: array
  20916. "500":
  20917. description: Internal Server Error
  20918. schema:
  20919. $ref: '#/definitions/app.Response'
  20920. security:
  20921. - ApiKeyAuth: []
  20922. summary: 查询敞口现货头寸(敞口/现货头寸)
  20923. tags:
  20924. - 企业风险管理(app)
  20925. /Ermcp/QueryExposureSpotDetail:
  20926. get:
  20927. parameters:
  20928. - description: 所属机构ID
  20929. in: query
  20930. name: areaUserId
  20931. required: true
  20932. type: integer
  20933. - description: 现货品种ID
  20934. in: query
  20935. name: wrstandardId
  20936. required: true
  20937. type: integer
  20938. produces:
  20939. - application/json
  20940. responses:
  20941. "200":
  20942. description: OK
  20943. schema:
  20944. items:
  20945. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  20946. type: array
  20947. "500":
  20948. description: Internal Server Error
  20949. schema:
  20950. $ref: '#/definitions/app.Response'
  20951. security:
  20952. - ApiKeyAuth: []
  20953. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  20954. tags:
  20955. - 企业风险管理(app)
  20956. /Ermcp/QueryFuturesCompany:
  20957. get:
  20958. produces:
  20959. - application/json
  20960. responses:
  20961. "200":
  20962. description: OK
  20963. schema:
  20964. items:
  20965. $ref: '#/definitions/models.ErmcpFuturesCompany'
  20966. type: array
  20967. "500":
  20968. description: Internal Server Error
  20969. schema:
  20970. $ref: '#/definitions/app.Response'
  20971. security:
  20972. - ApiKeyAuth: []
  20973. summary: 查询期货公司
  20974. tags:
  20975. - 企业风险管理(app)
  20976. /Ermcp/QueryGGConvertConfig:
  20977. get:
  20978. parameters:
  20979. - description: 品种id(不填则查所有)
  20980. in: query
  20981. name: goodsgroupid
  20982. type: integer
  20983. produces:
  20984. - application/json
  20985. responses:
  20986. "200":
  20987. description: OK
  20988. schema:
  20989. items:
  20990. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  20991. type: array
  20992. "500":
  20993. description: Internal Server Error
  20994. schema:
  20995. $ref: '#/definitions/app.Response'
  20996. security:
  20997. - ApiKeyAuth: []
  20998. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  20999. tags:
  21000. - 企业风险管理(app)
  21001. /Ermcp/QueryGoodsBrand:
  21002. get:
  21003. parameters:
  21004. - description: 用户ID
  21005. in: query
  21006. name: userid
  21007. required: true
  21008. type: integer
  21009. - description: 现货商品ID
  21010. in: query
  21011. name: wrstandardid
  21012. type: integer
  21013. produces:
  21014. - application/json
  21015. responses:
  21016. "200":
  21017. description: OK
  21018. schema:
  21019. items:
  21020. $ref: '#/definitions/models.ErmcpGoodsBrand'
  21021. type: array
  21022. "500":
  21023. description: Internal Server Error
  21024. schema:
  21025. $ref: '#/definitions/app.Response'
  21026. security:
  21027. - ApiKeyAuth: []
  21028. summary: 查询商品品牌
  21029. tags:
  21030. - 企业风险管理(app)
  21031. /Ermcp/QueryGoodsModel:
  21032. get:
  21033. parameters:
  21034. - description: 用户ID
  21035. in: query
  21036. name: userid
  21037. required: true
  21038. type: integer
  21039. produces:
  21040. - application/json
  21041. responses:
  21042. "200":
  21043. description: OK
  21044. schema:
  21045. items:
  21046. $ref: '#/definitions/models.ErmcpGoodsModel'
  21047. type: array
  21048. "500":
  21049. description: Internal Server Error
  21050. schema:
  21051. $ref: '#/definitions/app.Response'
  21052. security:
  21053. - ApiKeyAuth: []
  21054. summary: 查询商品型号
  21055. tags:
  21056. - 企业风险管理(app)
  21057. /Ermcp/QueryHisExposure:
  21058. get:
  21059. parameters:
  21060. - description: 用户id
  21061. in: query
  21062. name: userid
  21063. required: true
  21064. type: integer
  21065. - description: 每个品种记录数
  21066. in: query
  21067. name: lastNum
  21068. required: true
  21069. type: integer
  21070. produces:
  21071. - application/json
  21072. responses:
  21073. "200":
  21074. description: OK
  21075. schema:
  21076. items:
  21077. $ref: '#/definitions/ermcp.HisExposureRsp'
  21078. type: array
  21079. "500":
  21080. description: Internal Server Error
  21081. schema:
  21082. $ref: '#/definitions/app.Response'
  21083. security:
  21084. - ApiKeyAuth: []
  21085. summary: 查询历史敞口(菜单:敞口/历史敞口)
  21086. tags:
  21087. - 企业风险管理(app)
  21088. /Ermcp/QueryMiddleGoods:
  21089. get:
  21090. parameters:
  21091. - description: 所属机构ID
  21092. in: query
  21093. name: userid
  21094. required: true
  21095. type: integer
  21096. - description: 状态 0-停用 1-正常
  21097. in: query
  21098. name: status
  21099. required: true
  21100. type: integer
  21101. produces:
  21102. - application/json
  21103. responses:
  21104. "200":
  21105. description: OK
  21106. schema:
  21107. items:
  21108. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  21109. type: array
  21110. "500":
  21111. description: Internal Server Error
  21112. schema:
  21113. $ref: '#/definitions/app.Response'
  21114. security:
  21115. - ApiKeyAuth: []
  21116. summary: 查询套保品种(菜单:套保品种)
  21117. tags:
  21118. - 企业风险管理(app)
  21119. /Ermcp/QueryMiddleGoodsChangeLog:
  21120. get:
  21121. parameters:
  21122. - description: 所属机构ID
  21123. in: query
  21124. name: userid
  21125. required: true
  21126. type: integer
  21127. - description: 套保品种id
  21128. in: query
  21129. name: middlegoodsid
  21130. required: true
  21131. type: integer
  21132. produces:
  21133. - application/json
  21134. responses:
  21135. "200":
  21136. description: OK
  21137. schema:
  21138. items:
  21139. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  21140. type: array
  21141. "500":
  21142. description: Internal Server Error
  21143. schema:
  21144. $ref: '#/definitions/app.Response'
  21145. security:
  21146. - ApiKeyAuth: []
  21147. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  21148. tags:
  21149. - 企业风险管理(app)
  21150. /Ermcp/QueryMiddleGoodsDetail:
  21151. get:
  21152. parameters:
  21153. - description: 所属机构ID
  21154. in: query
  21155. name: userid
  21156. required: true
  21157. type: integer
  21158. - description: 套保品种id
  21159. in: query
  21160. name: middlegoodsid
  21161. type: integer
  21162. produces:
  21163. - application/json
  21164. responses:
  21165. "200":
  21166. description: OK
  21167. schema:
  21168. items:
  21169. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  21170. type: array
  21171. "500":
  21172. description: Internal Server Error
  21173. schema:
  21174. $ref: '#/definitions/app.Response'
  21175. security:
  21176. - ApiKeyAuth: []
  21177. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  21178. tags:
  21179. - 企业风险管理(app)
  21180. /Ermcp/QueryPendingAuditInfo:
  21181. get:
  21182. parameters:
  21183. - description: 用户ID
  21184. in: query
  21185. name: UserId
  21186. required: true
  21187. type: integer
  21188. produces:
  21189. - application/json
  21190. responses:
  21191. "200":
  21192. description: OK
  21193. schema:
  21194. items:
  21195. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  21196. type: array
  21197. "500":
  21198. description: Internal Server Error
  21199. schema:
  21200. $ref: '#/definitions/app.Response'
  21201. security:
  21202. - ApiKeyAuth: []
  21203. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  21204. tags:
  21205. - 企业风险管理(app)
  21206. /Ermcp/QueryRealtimeExposure:
  21207. get:
  21208. parameters:
  21209. - description: 所属机构ID
  21210. in: query
  21211. name: userid
  21212. required: true
  21213. type: integer
  21214. produces:
  21215. - application/json
  21216. responses:
  21217. "200":
  21218. description: OK
  21219. schema:
  21220. items:
  21221. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  21222. type: array
  21223. "500":
  21224. description: Internal Server Error
  21225. schema:
  21226. $ref: '#/definitions/app.Response'
  21227. security:
  21228. - ApiKeyAuth: []
  21229. summary: 查询实时敞口
  21230. tags:
  21231. - 企业风险管理(app)
  21232. /Ermcp/QueryRealtimeExposurePosition:
  21233. get:
  21234. parameters:
  21235. - description: 用户id
  21236. in: query
  21237. name: userid
  21238. required: true
  21239. type: integer
  21240. - description: 套保商品ID
  21241. in: query
  21242. name: middleGoodsId
  21243. required: true
  21244. type: integer
  21245. produces:
  21246. - application/json
  21247. responses:
  21248. "200":
  21249. description: OK
  21250. schema:
  21251. items:
  21252. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  21253. type: array
  21254. "500":
  21255. description: Internal Server Error
  21256. schema:
  21257. $ref: '#/definitions/app.Response'
  21258. security:
  21259. - ApiKeyAuth: []
  21260. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  21261. tags:
  21262. - 企业风险管理(app)
  21263. /Ermcp/QueryRoleMenu:
  21264. get:
  21265. parameters:
  21266. - description: 登录ID
  21267. in: query
  21268. name: loginid
  21269. required: true
  21270. type: integer
  21271. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  21272. in: query
  21273. name: menutype
  21274. type: integer
  21275. produces:
  21276. - application/json
  21277. responses:
  21278. "200":
  21279. description: OK
  21280. schema:
  21281. items:
  21282. $ref: '#/definitions/models.RoleMenu'
  21283. type: array
  21284. "500":
  21285. description: Internal Server Error
  21286. schema:
  21287. $ref: '#/definitions/app.Response'
  21288. security:
  21289. - ApiKeyAuth: []
  21290. summary: 查询角色菜单和权限
  21291. tags:
  21292. - 企业风险管理(app)
  21293. /Ermcp/QueryTradeConfigTMP:
  21294. get:
  21295. parameters:
  21296. - description: 所属机构id
  21297. in: query
  21298. name: areauserid
  21299. type: integer
  21300. produces:
  21301. - application/json
  21302. responses:
  21303. "200":
  21304. description: OK
  21305. schema:
  21306. items:
  21307. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  21308. type: array
  21309. "500":
  21310. description: Internal Server Error
  21311. schema:
  21312. $ref: '#/definitions/app.Response'
  21313. security:
  21314. - ApiKeyAuth: []
  21315. summary: 查询交易模板配置
  21316. tags:
  21317. - 企业风险管理(app)
  21318. /Ermcp/QueryUserInfo:
  21319. get:
  21320. parameters:
  21321. - description: 所属机构用户ID
  21322. in: query
  21323. name: MemberUserID
  21324. required: true
  21325. type: integer
  21326. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  21327. in: query
  21328. name: queryType
  21329. required: true
  21330. type: integer
  21331. produces:
  21332. - application/json
  21333. responses:
  21334. "200":
  21335. description: OK
  21336. schema:
  21337. items:
  21338. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  21339. type: array
  21340. "500":
  21341. description: Internal Server Error
  21342. schema:
  21343. $ref: '#/definitions/app.Response'
  21344. security:
  21345. - ApiKeyAuth: []
  21346. summary: 查询客户资料
  21347. tags:
  21348. - 企业风险管理(app)
  21349. /Ermcp/QueryWarehouseInfo:
  21350. get:
  21351. parameters:
  21352. - description: 用户ID
  21353. in: query
  21354. name: userid
  21355. required: true
  21356. type: integer
  21357. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  21358. in: query
  21359. name: status
  21360. type: string
  21361. produces:
  21362. - application/json
  21363. responses:
  21364. "200":
  21365. description: OK
  21366. schema:
  21367. items:
  21368. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  21369. type: array
  21370. "500":
  21371. description: Internal Server Error
  21372. schema:
  21373. $ref: '#/definitions/app.Response'
  21374. security:
  21375. - ApiKeyAuth: []
  21376. summary: 查询仓库信息
  21377. tags:
  21378. - 企业风险管理(app)
  21379. /Ermcp3/QryAreaExpourseContractDetail:
  21380. get:
  21381. parameters:
  21382. - description: 用户ID
  21383. in: query
  21384. name: userid
  21385. required: true
  21386. type: integer
  21387. - description: 套保商品id
  21388. in: query
  21389. name: middlegoodsid
  21390. required: true
  21391. type: integer
  21392. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21393. in: query
  21394. name: cycletype
  21395. required: true
  21396. type: integer
  21397. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21398. 全(0)【原值】
  21399. in: query
  21400. name: cycletime
  21401. required: true
  21402. type: string
  21403. produces:
  21404. - application/json
  21405. responses:
  21406. "200":
  21407. description: OK
  21408. schema:
  21409. items:
  21410. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  21411. type: array
  21412. "500":
  21413. description: Internal Server Error
  21414. schema:
  21415. $ref: '#/definitions/app.Response'
  21416. security:
  21417. - ApiKeyAuth: []
  21418. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  21419. tags:
  21420. - 企业风险管理v3(app)
  21421. /Ermcp3/QryAreaExpourseFutuDetail:
  21422. get:
  21423. parameters:
  21424. - description: 用户ID
  21425. in: query
  21426. name: userid
  21427. required: true
  21428. type: integer
  21429. - description: 套保商品id
  21430. in: query
  21431. name: middlegoodsid
  21432. required: true
  21433. type: integer
  21434. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21435. in: query
  21436. name: cycletype
  21437. required: true
  21438. type: integer
  21439. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21440. 全(0)【原值】
  21441. in: query
  21442. name: cycletime
  21443. required: true
  21444. type: string
  21445. produces:
  21446. - application/json
  21447. responses:
  21448. "200":
  21449. description: OK
  21450. schema:
  21451. items:
  21452. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  21453. type: array
  21454. "500":
  21455. description: Internal Server Error
  21456. schema:
  21457. $ref: '#/definitions/app.Response'
  21458. security:
  21459. - ApiKeyAuth: []
  21460. summary: 查询敞口期货明细(敞口报表/期货明细)
  21461. tags:
  21462. - 企业风险管理v3(app)
  21463. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  21464. get:
  21465. parameters:
  21466. - description: 用户ID
  21467. in: query
  21468. name: userid
  21469. required: true
  21470. type: integer
  21471. - description: 套保商品id
  21472. in: query
  21473. name: middlegoodsid
  21474. required: true
  21475. type: integer
  21476. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21477. in: query
  21478. name: cycletype
  21479. required: true
  21480. type: integer
  21481. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21482. 全(0)【原值】
  21483. in: query
  21484. name: cycletime
  21485. required: true
  21486. type: string
  21487. produces:
  21488. - application/json
  21489. responses:
  21490. "200":
  21491. description: OK
  21492. schema:
  21493. items:
  21494. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  21495. type: array
  21496. "500":
  21497. description: Internal Server Error
  21498. schema:
  21499. $ref: '#/definitions/app.Response'
  21500. security:
  21501. - ApiKeyAuth: []
  21502. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  21503. tags:
  21504. - 企业风险管理v3(app)
  21505. /Ermcp3/QryAreaExpourseParamChLogDetail:
  21506. get:
  21507. parameters:
  21508. - description: 用户ID
  21509. in: query
  21510. name: userid
  21511. required: true
  21512. type: integer
  21513. - description: 套保商品id
  21514. in: query
  21515. name: middlegoodsid
  21516. required: true
  21517. type: integer
  21518. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21519. in: query
  21520. name: cycletype
  21521. required: true
  21522. type: integer
  21523. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21524. 全(0)【原值】
  21525. in: query
  21526. name: cycletime
  21527. required: true
  21528. type: string
  21529. produces:
  21530. - application/json
  21531. responses:
  21532. "200":
  21533. description: OK
  21534. schema:
  21535. items:
  21536. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  21537. type: array
  21538. "500":
  21539. description: Internal Server Error
  21540. schema:
  21541. $ref: '#/definitions/app.Response'
  21542. security:
  21543. - ApiKeyAuth: []
  21544. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  21545. tags:
  21546. - 企业风险管理v3(app)
  21547. /Ermcp3/QryAreaExpourseReport:
  21548. get:
  21549. parameters:
  21550. - description: 用户ID
  21551. in: query
  21552. name: userid
  21553. required: true
  21554. type: integer
  21555. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  21556. in: query
  21557. name: querytype
  21558. required: true
  21559. type: integer
  21560. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21561. in: query
  21562. name: cycletype
  21563. required: true
  21564. type: integer
  21565. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21566. 全(0)【原值】
  21567. in: query
  21568. name: cycletime
  21569. required: true
  21570. type: string
  21571. produces:
  21572. - application/json
  21573. responses:
  21574. "200":
  21575. description: OK
  21576. schema:
  21577. items:
  21578. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  21579. type: array
  21580. "500":
  21581. description: Internal Server Error
  21582. schema:
  21583. $ref: '#/definitions/app.Response'
  21584. security:
  21585. - ApiKeyAuth: []
  21586. summary: 查询敞口报表
  21587. tags:
  21588. - 企业风险管理v3(app)
  21589. /Ermcp3/QryAreaSpotplReport:
  21590. get:
  21591. description: 目前pcweb的日/周/月报表与手机端的汇总维度不同, 所以增加了可选参数sumflag参数, pcweb请填1
  21592. parameters:
  21593. - description: 用户ID
  21594. in: query
  21595. name: userid
  21596. required: true
  21597. type: integer
  21598. - description: 查询类型 1-报表 2-报表明细
  21599. in: query
  21600. name: querytype
  21601. required: true
  21602. type: integer
  21603. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21604. in: query
  21605. name: cycletype
  21606. required: true
  21607. type: integer
  21608. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21609. 全(0)【原值】
  21610. in: query
  21611. name: cycletime
  21612. required: true
  21613. type: string
  21614. - description: 现货品种id(明细必填)
  21615. in: query
  21616. name: deliverygoodsid
  21617. type: integer
  21618. - description: 币种id(明细必填)
  21619. in: query
  21620. name: currencyid
  21621. type: integer
  21622. - description: 日/周/月报表汇总维度 1:品种+品类
  21623. in: query
  21624. name: sumflag
  21625. type: integer
  21626. produces:
  21627. - application/json
  21628. responses:
  21629. "200":
  21630. description: OK
  21631. schema:
  21632. items:
  21633. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  21634. type: array
  21635. "500":
  21636. description: Internal Server Error
  21637. schema:
  21638. $ref: '#/definitions/app.Response'
  21639. security:
  21640. - ApiKeyAuth: []
  21641. summary: 查询现货报表
  21642. tags:
  21643. - 企业风险管理v3(app)
  21644. /Ermcp3/QryAreaStockReport:
  21645. get:
  21646. parameters:
  21647. - description: 用户ID
  21648. in: query
  21649. name: userid
  21650. required: true
  21651. type: integer
  21652. - description: 查询类型 1-报表 2-报表明细
  21653. in: query
  21654. name: querytype
  21655. required: true
  21656. type: integer
  21657. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21658. in: query
  21659. name: cycletype
  21660. required: true
  21661. type: integer
  21662. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21663. 全(0)【原值】
  21664. in: query
  21665. name: cycletime
  21666. required: true
  21667. type: string
  21668. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  21669. in: query
  21670. name: sumfields
  21671. type: string
  21672. - description: 品种ID
  21673. in: query
  21674. name: deliverygoodsid
  21675. type: integer
  21676. - description: 品类ID
  21677. in: query
  21678. name: wrstandardid
  21679. type: integer
  21680. - description: 品牌ID
  21681. in: query
  21682. name: spotgoodsbrandid
  21683. type: integer
  21684. - description: 仓库ID
  21685. in: query
  21686. name: warehouseinfoid
  21687. type: integer
  21688. produces:
  21689. - application/json
  21690. responses:
  21691. "200":
  21692. description: OK
  21693. schema:
  21694. items:
  21695. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  21696. type: array
  21697. "500":
  21698. description: Internal Server Error
  21699. schema:
  21700. $ref: '#/definitions/app.Response'
  21701. security:
  21702. - ApiKeyAuth: []
  21703. summary: 查询库存报表
  21704. tags:
  21705. - 企业风险管理v3(app)
  21706. /Ermcp3/QryAreaSumPL:
  21707. get:
  21708. parameters:
  21709. - description: 用户ID
  21710. in: query
  21711. name: userid
  21712. required: true
  21713. type: integer
  21714. - description: 查询类型 1-报表 2-报表明细
  21715. in: query
  21716. name: querytype
  21717. required: true
  21718. type: integer
  21719. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21720. in: query
  21721. name: cycletype
  21722. required: true
  21723. type: integer
  21724. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21725. 全(0)【原值】
  21726. in: query
  21727. name: cycletime
  21728. required: true
  21729. type: string
  21730. - description: 币种id(明细必填)
  21731. in: query
  21732. name: currencyid
  21733. type: integer
  21734. produces:
  21735. - application/json
  21736. responses:
  21737. "200":
  21738. description: OK
  21739. schema:
  21740. items:
  21741. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  21742. type: array
  21743. "500":
  21744. description: Internal Server Error
  21745. schema:
  21746. $ref: '#/definitions/app.Response'
  21747. security:
  21748. - ApiKeyAuth: []
  21749. summary: 查询汇总损益表
  21750. tags:
  21751. - 企业风险管理v3(app)
  21752. /Ermcp3/QryFinanceReport:
  21753. get:
  21754. parameters:
  21755. - description: 用户ID
  21756. in: query
  21757. name: userid
  21758. required: true
  21759. type: integer
  21760. - description: 查询类型 1-报表 2-报表明细
  21761. in: query
  21762. name: querytype
  21763. required: true
  21764. type: integer
  21765. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21766. in: query
  21767. name: cycletype
  21768. required: true
  21769. type: integer
  21770. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21771. 全(0)【原值】
  21772. in: query
  21773. name: cycletime
  21774. required: true
  21775. type: string
  21776. - description: 币种id(报表明细必填)
  21777. in: query
  21778. name: currencyid
  21779. type: integer
  21780. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  21781. in: query
  21782. name: sumfields
  21783. type: string
  21784. produces:
  21785. - application/json
  21786. responses:
  21787. "200":
  21788. description: OK
  21789. schema:
  21790. items:
  21791. $ref: '#/definitions/models.Ermcp3FinanceReport'
  21792. type: array
  21793. "500":
  21794. description: Internal Server Error
  21795. schema:
  21796. $ref: '#/definitions/app.Response'
  21797. security:
  21798. - ApiKeyAuth: []
  21799. summary: 查询财务报表
  21800. tags:
  21801. - 企业风险管理v3(app)
  21802. /Ermcp3/QrySCMiddleGoodsReport:
  21803. get:
  21804. parameters:
  21805. - description: 用户ID
  21806. in: query
  21807. name: userid
  21808. required: true
  21809. type: integer
  21810. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21811. in: query
  21812. name: cycletype
  21813. required: true
  21814. type: integer
  21815. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21816. 全(0)【原值】
  21817. in: query
  21818. name: cycletime
  21819. required: true
  21820. type: string
  21821. - description: 合同id
  21822. in: query
  21823. name: spotcontractid
  21824. type: integer
  21825. - description: 套保品种id
  21826. in: query
  21827. name: middlegoodsid
  21828. type: integer
  21829. - description: 现货品种id
  21830. in: query
  21831. name: deliverygoodsid
  21832. type: integer
  21833. - description: 现货商品id
  21834. in: query
  21835. name: wrstandardid
  21836. type: integer
  21837. - description: 合同编号(模糊匹配)
  21838. in: query
  21839. name: contractno
  21840. type: string
  21841. produces:
  21842. - application/json
  21843. responses:
  21844. "200":
  21845. description: OK
  21846. schema:
  21847. items:
  21848. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  21849. type: array
  21850. "500":
  21851. description: Internal Server Error
  21852. schema:
  21853. $ref: '#/definitions/app.Response'
  21854. security:
  21855. - ApiKeyAuth: []
  21856. summary: 查询定价报表
  21857. tags:
  21858. - 企业风险管理v3(app)
  21859. /Ermcp3/QryTaFutureDataReport:
  21860. get:
  21861. parameters:
  21862. - description: 用户ID
  21863. in: query
  21864. name: userid
  21865. required: true
  21866. type: integer
  21867. - description: 查询类型 1-报表 2-报表明细
  21868. in: query
  21869. name: querytype
  21870. required: true
  21871. type: integer
  21872. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21873. in: query
  21874. name: cycletype
  21875. required: true
  21876. type: integer
  21877. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  21878. 全(0)【原值】
  21879. in: query
  21880. name: cycletime
  21881. required: true
  21882. type: string
  21883. - description: 币种id(查明细必填)
  21884. in: query
  21885. name: currencyid
  21886. type: integer
  21887. - description: 品种id(查明细必填)
  21888. in: query
  21889. name: goodsgroupid
  21890. type: integer
  21891. - description: 商品id(查明细必填)
  21892. in: query
  21893. name: goodsid
  21894. type: integer
  21895. - description: 买卖方向(查明细必填)
  21896. in: query
  21897. name: buyorsell
  21898. type: integer
  21899. produces:
  21900. - application/json
  21901. responses:
  21902. "200":
  21903. description: OK
  21904. schema:
  21905. items:
  21906. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  21907. type: array
  21908. "500":
  21909. description: Internal Server Error
  21910. schema:
  21911. $ref: '#/definitions/app.Response'
  21912. security:
  21913. - ApiKeyAuth: []
  21914. summary: 查询期货报表
  21915. tags:
  21916. - 企业风险管理v3(app)
  21917. /Ermcp3/QueryAreaStock:
  21918. get:
  21919. parameters:
  21920. - description: 用户ID
  21921. in: query
  21922. name: userid
  21923. required: true
  21924. type: integer
  21925. produces:
  21926. - application/json
  21927. responses:
  21928. "200":
  21929. description: OK
  21930. schema:
  21931. items:
  21932. $ref: '#/definitions/models.Ermcp3AreaStock'
  21933. type: array
  21934. "500":
  21935. description: Internal Server Error
  21936. schema:
  21937. $ref: '#/definitions/app.Response'
  21938. security:
  21939. - ApiKeyAuth: []
  21940. summary: 查询机构库存(库存管理/当前库存)
  21941. tags:
  21942. - 企业风险管理v3(app)
  21943. /Ermcp3/QueryAreaStockApply:
  21944. get:
  21945. parameters:
  21946. - description: 用户ID
  21947. in: query
  21948. name: userid
  21949. required: true
  21950. type: integer
  21951. - description: 用户类型 2-机构 7-企业成员
  21952. in: query
  21953. name: usertype
  21954. type: integer
  21955. - description: 现货商品ID
  21956. in: query
  21957. name: deliverygoodsid
  21958. type: integer
  21959. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  21960. in: query
  21961. name: inouttype
  21962. type: string
  21963. - description: 合同ID
  21964. in: query
  21965. name: spotcontractid
  21966. type: integer
  21967. - description: 品类ID
  21968. in: query
  21969. name: wrstandardid
  21970. type: integer
  21971. - description: 品牌ID
  21972. in: query
  21973. name: spotgoodsbrandid
  21974. type: integer
  21975. - description: 仓库ID
  21976. in: query
  21977. name: warehouseinfoid
  21978. type: integer
  21979. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21980. in: query
  21981. name: applystatus
  21982. type: string
  21983. produces:
  21984. - application/json
  21985. responses:
  21986. "200":
  21987. description: OK
  21988. schema:
  21989. items:
  21990. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  21991. type: array
  21992. "500":
  21993. description: Internal Server Error
  21994. schema:
  21995. $ref: '#/definitions/app.Response'
  21996. security:
  21997. - ApiKeyAuth: []
  21998. summary: 查询库存申请(出入库记录|库存审核)
  21999. tags:
  22000. - 企业风险管理v3(app)
  22001. /Ermcp3/QueryAreaStockApplySum:
  22002. get:
  22003. parameters:
  22004. - description: 合同ID
  22005. in: query
  22006. name: spotcontractid
  22007. required: true
  22008. type: integer
  22009. produces:
  22010. - application/json
  22011. responses:
  22012. "200":
  22013. description: OK
  22014. schema:
  22015. items:
  22016. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  22017. type: array
  22018. "500":
  22019. description: Internal Server Error
  22020. schema:
  22021. $ref: '#/definitions/app.Response'
  22022. security:
  22023. - ApiKeyAuth: []
  22024. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  22025. tags:
  22026. - 企业风险管理v3(app)
  22027. /Ermcp3/QueryDGFactoryItem:
  22028. get:
  22029. parameters:
  22030. - description: 用户id
  22031. in: query
  22032. name: userid
  22033. type: integer
  22034. - description: 用户类型 2-机构 7-企业成员
  22035. in: query
  22036. name: usertype
  22037. type: integer
  22038. - description: 选择项ID(SEQ_DGFACTORYITEM)
  22039. in: query
  22040. name: dgfactoryitemid
  22041. type: integer
  22042. - description: 现货品种ID
  22043. in: query
  22044. name: deliverygoodsid
  22045. type: integer
  22046. - description: 要素项类型
  22047. in: query
  22048. name: dgfactoryitemtypeid
  22049. type: integer
  22050. - description: 顺序
  22051. in: query
  22052. name: orderindex
  22053. type: integer
  22054. produces:
  22055. - application/json
  22056. responses:
  22057. "200":
  22058. description: OK
  22059. schema:
  22060. items:
  22061. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  22062. type: array
  22063. "500":
  22064. description: Internal Server Error
  22065. schema:
  22066. $ref: '#/definitions/app.Response'
  22067. security:
  22068. - ApiKeyAuth: []
  22069. summary: 查询品种要素定义项
  22070. tags:
  22071. - 企业风险管理v3(app)
  22072. /Ermcp3/QueryDeliveryGoods:
  22073. get:
  22074. parameters:
  22075. - description: 用户id
  22076. in: query
  22077. name: userid
  22078. required: true
  22079. type: integer
  22080. - description: 用户类型 2-机构 7-企业成员
  22081. in: query
  22082. name: usertype
  22083. type: integer
  22084. - description: 排除已配置的业务类型商品 1-套保 2-套利
  22085. in: query
  22086. name: excludecfg
  22087. type: integer
  22088. produces:
  22089. - application/json
  22090. responses:
  22091. "200":
  22092. description: OK
  22093. schema:
  22094. items:
  22095. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  22096. type: array
  22097. "500":
  22098. description: Internal Server Error
  22099. schema:
  22100. $ref: '#/definitions/app.Response'
  22101. security:
  22102. - ApiKeyAuth: []
  22103. summary: 查询现货商品
  22104. tags:
  22105. - 企业风险管理v3(app)
  22106. /Ermcp3/QueryDeliveryGoodsDetail:
  22107. get:
  22108. parameters:
  22109. - description: 用户id
  22110. in: query
  22111. name: userid
  22112. required: true
  22113. type: integer
  22114. - description: 用户类型 2-机构 7-企业成员
  22115. in: query
  22116. name: usertype
  22117. type: integer
  22118. - description: 现货商品id
  22119. in: query
  22120. name: deliverygoodsid
  22121. type: integer
  22122. - description: 过滤下级为空, 1-过滤. 比如 品种大豆的下级品类列表为空, 则大豆不显示; 比如品类的下级套保品列表为空, 则该品类不显示
  22123. in: query
  22124. name: filtersubempty
  22125. type: integer
  22126. produces:
  22127. - application/json
  22128. responses:
  22129. "200":
  22130. description: OK
  22131. schema:
  22132. items:
  22133. $ref: '#/definitions/models.XHDeliveryGoods'
  22134. type: array
  22135. "500":
  22136. description: Internal Server Error
  22137. schema:
  22138. $ref: '#/definitions/app.Response'
  22139. security:
  22140. - ApiKeyAuth: []
  22141. summary: 查询现货商品详情
  22142. tags:
  22143. - 企业风险管理v3(app)
  22144. /Ermcp3/QueryExposureDetail:
  22145. get:
  22146. parameters:
  22147. - description: 用户id
  22148. in: query
  22149. name: userid
  22150. required: true
  22151. type: integer
  22152. - description: 用户类型 2-机构 7-企业成员
  22153. in: query
  22154. name: usertype
  22155. type: integer
  22156. - description: 套保商品
  22157. in: query
  22158. name: middlegoodsid
  22159. required: true
  22160. type: integer
  22161. produces:
  22162. - application/json
  22163. responses:
  22164. "200":
  22165. description: OK
  22166. schema:
  22167. items:
  22168. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  22169. type: array
  22170. "500":
  22171. description: Internal Server Error
  22172. schema:
  22173. $ref: '#/definitions/app.Response'
  22174. security:
  22175. - ApiKeyAuth: []
  22176. summary: 查询敞口现货明细
  22177. tags:
  22178. - 企业风险管理v3(app)
  22179. /Ermcp3/QueryExposureSpot:
  22180. get:
  22181. parameters:
  22182. - description: 用户id
  22183. in: query
  22184. name: userid
  22185. required: true
  22186. type: integer
  22187. - description: 用户类型 2-机构 7-企业成员
  22188. in: query
  22189. name: usertype
  22190. type: integer
  22191. produces:
  22192. - application/json
  22193. responses:
  22194. "200":
  22195. description: OK
  22196. schema:
  22197. items:
  22198. $ref: '#/definitions/models.Ermcp3AreaSpot'
  22199. type: array
  22200. "500":
  22201. description: Internal Server Error
  22202. schema:
  22203. $ref: '#/definitions/app.Response'
  22204. security:
  22205. - ApiKeyAuth: []
  22206. summary: 查询敞口现货头寸(敞口/现货头寸)
  22207. tags:
  22208. - 企业风险管理v3(app)
  22209. /Ermcp3/QueryExposureSpotDetail:
  22210. get:
  22211. parameters:
  22212. - description: 用户id
  22213. in: query
  22214. name: userid
  22215. required: true
  22216. type: integer
  22217. - description: 用户类型 2-机构 7-企业成员
  22218. in: query
  22219. name: usertype
  22220. type: integer
  22221. - description: 现货商品ID
  22222. in: query
  22223. name: wrstandardid
  22224. required: true
  22225. type: integer
  22226. produces:
  22227. - application/json
  22228. responses:
  22229. "200":
  22230. description: OK
  22231. schema:
  22232. items:
  22233. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  22234. type: array
  22235. "500":
  22236. description: Internal Server Error
  22237. schema:
  22238. $ref: '#/definitions/app.Response'
  22239. security:
  22240. - ApiKeyAuth: []
  22241. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  22242. tags:
  22243. - 企业风险管理v3(app)
  22244. /Ermcp3/QueryGoodsGroup:
  22245. get:
  22246. parameters:
  22247. - description: 用户id
  22248. in: query
  22249. name: userid
  22250. required: true
  22251. type: integer
  22252. - description: 用户类型 2-机构 7-企业成员
  22253. in: query
  22254. name: usertype
  22255. type: integer
  22256. - description: 排除套保品中已关联的商品组 1-排除
  22257. in: query
  22258. name: excludecfg
  22259. type: integer
  22260. produces:
  22261. - application/json
  22262. responses:
  22263. "200":
  22264. description: OK
  22265. schema:
  22266. items:
  22267. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  22268. type: array
  22269. "500":
  22270. description: Internal Server Error
  22271. schema:
  22272. $ref: '#/definitions/app.Response'
  22273. security:
  22274. - ApiKeyAuth: []
  22275. summary: 查询期货商品组
  22276. tags:
  22277. - 企业风险管理v3(app)
  22278. /Ermcp3/QueryGoodsWrstandard:
  22279. get:
  22280. parameters:
  22281. - description: 用户id
  22282. in: query
  22283. name: userid
  22284. required: true
  22285. type: integer
  22286. - description: 用户类型 2-机构 7-企业成员
  22287. in: query
  22288. name: usertype
  22289. type: integer
  22290. - description: 现货商品id
  22291. in: query
  22292. name: deliverygoodsid
  22293. type: integer
  22294. produces:
  22295. - application/json
  22296. responses:
  22297. "200":
  22298. description: OK
  22299. schema:
  22300. items:
  22301. $ref: '#/definitions/models.Ermcp3Wrstandard'
  22302. type: array
  22303. "500":
  22304. description: Internal Server Error
  22305. schema:
  22306. $ref: '#/definitions/app.Response'
  22307. security:
  22308. - ApiKeyAuth: []
  22309. summary: 查询商品品类
  22310. tags:
  22311. - 企业风险管理v3(app)
  22312. /Ermcp3/QueryGoodsbrand:
  22313. get:
  22314. parameters:
  22315. - description: 用户id
  22316. in: query
  22317. name: userid
  22318. required: true
  22319. type: integer
  22320. - description: 用户类型 2-机构 7-企业成员
  22321. in: query
  22322. name: usertype
  22323. type: integer
  22324. produces:
  22325. - application/json
  22326. responses:
  22327. "200":
  22328. description: OK
  22329. schema:
  22330. items:
  22331. $ref: '#/definitions/models.Ermcp3Brand'
  22332. type: array
  22333. "500":
  22334. description: Internal Server Error
  22335. schema:
  22336. $ref: '#/definitions/app.Response'
  22337. security:
  22338. - ApiKeyAuth: []
  22339. summary: 查询商品品牌
  22340. tags:
  22341. - 企业风险管理v3(app)
  22342. /Ermcp3/QueryHedgePlan:
  22343. get:
  22344. parameters:
  22345. - description: 用户ID
  22346. in: query
  22347. name: userid
  22348. required: true
  22349. type: integer
  22350. - description: 用户类型 2-机构 7-企业成员
  22351. in: query
  22352. name: usertype
  22353. type: integer
  22354. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22355. in: query
  22356. name: hedgeplanstatus
  22357. required: true
  22358. type: string
  22359. produces:
  22360. - application/json
  22361. responses:
  22362. "200":
  22363. description: OK
  22364. schema:
  22365. items:
  22366. $ref: '#/definitions/models.Ermcp3HedgePlan'
  22367. type: array
  22368. "500":
  22369. description: Internal Server Error
  22370. schema:
  22371. $ref: '#/definitions/app.Response'
  22372. security:
  22373. - ApiKeyAuth: []
  22374. summary: 查询套保计划
  22375. tags:
  22376. - 企业风险管理v3(app)
  22377. /Ermcp3/QueryInnerTradeLink:
  22378. get:
  22379. description: 页面 app 现货->期现关联->外部成交单关联->点"解除关联"按钮->解除外部关联的页面信息
  22380. parameters:
  22381. - description: 外部成交单号
  22382. in: query
  22383. name: outtradeid
  22384. required: true
  22385. type: integer
  22386. produces:
  22387. - application/json
  22388. responses:
  22389. "200":
  22390. description: OK
  22391. schema:
  22392. items:
  22393. $ref: '#/definitions/models.Ermcp3InnerTradeLink'
  22394. type: array
  22395. "500":
  22396. description: Internal Server Error
  22397. schema:
  22398. $ref: '#/definitions/app.Response'
  22399. security:
  22400. - ApiKeyAuth: []
  22401. summary: 查询外部成交单关联的内部单信息(在解除外部关联页面使用)
  22402. tags:
  22403. - 企业风险管理v3(app)
  22404. /Ermcp3/QueryMiddleGoodsDetail:
  22405. get:
  22406. parameters:
  22407. - description: 用户id
  22408. in: query
  22409. name: userid
  22410. required: true
  22411. type: integer
  22412. - description: 用户类型 2-机构 7-企业成员
  22413. in: query
  22414. name: usertype
  22415. type: integer
  22416. - description: 套保品种id
  22417. in: query
  22418. name: middlegoodsid
  22419. type: integer
  22420. produces:
  22421. - application/json
  22422. responses:
  22423. "200":
  22424. description: OK
  22425. schema:
  22426. items:
  22427. $ref: '#/definitions/models.TBMiddleGoods'
  22428. type: array
  22429. "500":
  22430. description: Internal Server Error
  22431. schema:
  22432. $ref: '#/definitions/app.Response'
  22433. security:
  22434. - ApiKeyAuth: []
  22435. summary: 查询套保品种详情(套保品种/商品详情)
  22436. tags:
  22437. - 企业风险管理v3(app)
  22438. /Ermcp3/QueryOutTradeLink:
  22439. get:
  22440. description: 页面 app 现货->期现关联->外部成交单关联
  22441. parameters:
  22442. - description: 用户ID(填登录用户的userid)
  22443. in: query
  22444. name: userid
  22445. required: true
  22446. type: integer
  22447. - description: 外部订单号(模糊匹配)
  22448. in: query
  22449. name: outtradeid
  22450. type: string
  22451. - description: 合约名称/代码(模糊匹配)
  22452. in: query
  22453. name: goodsname
  22454. type: string
  22455. - description: 关联状态 0-未关联 1-已关联
  22456. in: query
  22457. name: hasinnerorder
  22458. type: integer
  22459. produces:
  22460. - application/json
  22461. responses:
  22462. "200":
  22463. description: OK
  22464. schema:
  22465. items:
  22466. $ref: '#/definitions/models.Ermcp3OutTradeLink'
  22467. type: array
  22468. "500":
  22469. description: Internal Server Error
  22470. schema:
  22471. $ref: '#/definitions/app.Response'
  22472. security:
  22473. - ApiKeyAuth: []
  22474. summary: 查询外部成交单关联
  22475. tags:
  22476. - 企业风险管理v3(app)
  22477. /Ermcp3/QueryPaAreaAuditCfg:
  22478. get:
  22479. parameters:
  22480. - description: 用户id
  22481. in: query
  22482. name: userid
  22483. required: true
  22484. type: integer
  22485. produces:
  22486. - application/json
  22487. responses:
  22488. "200":
  22489. description: OK
  22490. schema:
  22491. items:
  22492. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  22493. type: array
  22494. "500":
  22495. description: Internal Server Error
  22496. schema:
  22497. $ref: '#/definitions/app.Response'
  22498. security:
  22499. - ApiKeyAuth: []
  22500. summary: 查询审核设置
  22501. tags:
  22502. - 企业风险管理v3(app)
  22503. /Ermcp3/QueryPaAreaSubject:
  22504. get:
  22505. parameters:
  22506. - description: 用户id
  22507. in: query
  22508. name: userid
  22509. required: true
  22510. type: integer
  22511. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  22512. in: query
  22513. name: subjectid
  22514. type: integer
  22515. - description: 主体类型 - 1:交易主体 2:业务部门
  22516. in: query
  22517. name: subjecttype
  22518. type: integer
  22519. - description: '主体状态 - 1:正常 2: 停用'
  22520. in: query
  22521. name: subjectstatus
  22522. type: integer
  22523. produces:
  22524. - application/json
  22525. responses:
  22526. "200":
  22527. description: OK
  22528. schema:
  22529. items:
  22530. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  22531. type: array
  22532. "500":
  22533. description: Internal Server Error
  22534. schema:
  22535. $ref: '#/definitions/app.Response'
  22536. security:
  22537. - ApiKeyAuth: []
  22538. summary: 查询交易主体
  22539. tags:
  22540. - 企业风险管理v3(app)
  22541. /Ermcp3/QueryPaTradeLink:
  22542. get:
  22543. description: 页面 app 现货->期现关联->期现单据关联
  22544. parameters:
  22545. - description: 用户ID
  22546. in: query
  22547. name: userid
  22548. required: true
  22549. type: integer
  22550. produces:
  22551. - application/json
  22552. responses:
  22553. "200":
  22554. description: OK
  22555. schema:
  22556. items:
  22557. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  22558. type: array
  22559. "500":
  22560. description: Internal Server Error
  22561. schema:
  22562. $ref: '#/definitions/app.Response'
  22563. security:
  22564. - ApiKeyAuth: []
  22565. summary: 查询期现单据关联
  22566. tags:
  22567. - 企业风险管理v3(app)
  22568. /Ermcp3/QueryPaTradeLinkDetail:
  22569. get:
  22570. description: 页面 app 现货->期现关联->关联记录
  22571. parameters:
  22572. - description: 用户ID(填登录用户的userid)
  22573. in: query
  22574. name: userid
  22575. required: true
  22576. type: integer
  22577. - description: 关联状态 1:成功 2:失败 3:解绑
  22578. in: query
  22579. name: linkstatus
  22580. type: integer
  22581. - description: 期货订单号(模糊匹配)
  22582. in: query
  22583. name: tradeid
  22584. type: string
  22585. - description: 现货编号(模糊匹配)
  22586. in: query
  22587. name: contractno
  22588. type: string
  22589. - description: 期货账户(模糊匹配)
  22590. in: query
  22591. name: taname
  22592. type: string
  22593. produces:
  22594. - application/json
  22595. responses:
  22596. "200":
  22597. description: OK
  22598. schema:
  22599. items:
  22600. $ref: '#/definitions/models.Ermcp3TradeLinkDetail'
  22601. type: array
  22602. "500":
  22603. description: Internal Server Error
  22604. schema:
  22605. $ref: '#/definitions/app.Response'
  22606. security:
  22607. - ApiKeyAuth: []
  22608. summary: 查询期现关联记录
  22609. tags:
  22610. - 企业风险管理v3(app)
  22611. /Ermcp3/QueryParamChangeApp:
  22612. get:
  22613. description: |-
  22614. 原型页面:
  22615. 1.商品信息->商品参数修改流水-> 增值税税率 | 折算系数 | 成本权重; 流水页面查申请状态为“审核通过”的记录
  22616. 2.风管审核->套保比例审核 | 折算系数审核 | 增值税税率审核 | 成本权重审核
  22617. parameters:
  22618. - description: 用户ID
  22619. in: query
  22620. name: userid
  22621. required: true
  22622. type: integer
  22623. - description: 现货品种id
  22624. in: query
  22625. name: deliverygoodsid
  22626. type: integer
  22627. - description: 现货商品id
  22628. in: query
  22629. name: wrstandardid
  22630. type: integer
  22631. - description: 套保商品id
  22632. in: query
  22633. name: middlegoodsid
  22634. type: integer
  22635. - description: 操作类型 1:新增 2:修改
  22636. in: query
  22637. name: operatetype
  22638. type: integer
  22639. - description: 参数变更类型 - 1:增值税率变更(现货商品) 2:折算系数变更(现货商品) 3:成本权重(现货商品) 4:套保比率变更(套保品种)
  22640. in: query
  22641. name: paramchangetype
  22642. type: integer
  22643. - description: 申请状态(逗号隔开,如1,2,3) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  22644. in: query
  22645. name: ftstatus
  22646. type: string
  22647. produces:
  22648. - application/json
  22649. responses:
  22650. "200":
  22651. description: OK
  22652. schema:
  22653. items:
  22654. $ref: '#/definitions/models.Ermcp3ParamChangeApp'
  22655. type: array
  22656. "500":
  22657. description: Internal Server Error
  22658. schema:
  22659. $ref: '#/definitions/app.Response'
  22660. security:
  22661. - ApiKeyAuth: []
  22662. summary: 查询现货商品参数变更申请(流水)
  22663. tags:
  22664. - 企业风险管理v3(app)
  22665. /Ermcp3/QueryRootUserAccount:
  22666. get:
  22667. parameters:
  22668. - description: 用户ID
  22669. in: query
  22670. name: userid
  22671. required: true
  22672. type: integer
  22673. produces:
  22674. - application/json
  22675. responses:
  22676. "200":
  22677. description: OK
  22678. schema:
  22679. items:
  22680. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  22681. type: array
  22682. "500":
  22683. description: Internal Server Error
  22684. schema:
  22685. $ref: '#/definitions/app.Response'
  22686. security:
  22687. - ApiKeyAuth: []
  22688. summary: 查询顶级用户信息
  22689. tags:
  22690. - 企业风险管理v3(app)
  22691. /Ermcp3/QuerySCMiddleGoods:
  22692. get:
  22693. description: |-
  22694. 页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单
  22695. 现货编号 即 合同编号
  22696. parameters:
  22697. - description: 用户ID(填登录用户的userid)
  22698. in: query
  22699. name: userid
  22700. required: true
  22701. type: integer
  22702. - description: 买卖方向 0-买 1-卖
  22703. in: query
  22704. name: buyorsell
  22705. required: true
  22706. type: integer
  22707. - description: 商品组id
  22708. in: query
  22709. name: goodsgroupid
  22710. required: true
  22711. type: integer
  22712. - description: 业务类型 1:套保 2:套利
  22713. in: query
  22714. name: biztype
  22715. type: integer
  22716. - description: 现货编号(模糊匹配)
  22717. in: query
  22718. name: contractno
  22719. type: string
  22720. - description: 对手方(模糊匹配)
  22721. in: query
  22722. name: customername
  22723. type: string
  22724. - description: 现货商品名称(模糊匹配)
  22725. in: query
  22726. name: wrstandardname
  22727. type: string
  22728. produces:
  22729. - application/json
  22730. responses:
  22731. "200":
  22732. description: OK
  22733. schema:
  22734. items:
  22735. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  22736. type: array
  22737. "500":
  22738. description: Internal Server Error
  22739. schema:
  22740. $ref: '#/definitions/app.Response'
  22741. security:
  22742. - ApiKeyAuth: []
  22743. summary: 查询现货订单
  22744. tags:
  22745. - 企业风险管理v3(app)
  22746. /Ermcp3/QuerySpotContract:
  22747. get:
  22748. parameters:
  22749. - description: 用户id(当指定contractid, userid可不填)
  22750. in: query
  22751. name: userid
  22752. required: true
  22753. type: integer
  22754. - description: 用户类型 2-机构 7-企业成员
  22755. in: query
  22756. name: usertype
  22757. type: integer
  22758. - description: 合同类型 1-采购, -1-销售
  22759. in: query
  22760. name: contracttype
  22761. type: integer
  22762. - description: 查询类型(逗号隔开, 如1,2,3) 1-未提交 2-待审核 3-履约中 4-已完成
  22763. in: query
  22764. name: querytype
  22765. type: string
  22766. - description: 合同ID(SpotContractId)
  22767. in: query
  22768. name: contractid
  22769. type: string
  22770. - description: 合同编号(模糊匹配)
  22771. in: query
  22772. name: contractno
  22773. type: string
  22774. - description: 商品名称(模糊匹配)
  22775. in: query
  22776. name: wrstandardname
  22777. type: string
  22778. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  22779. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22780. in: query
  22781. name: status
  22782. type: string
  22783. - description: 是否只查今日的合同 1-查今日合同
  22784. in: query
  22785. name: istoday
  22786. type: integer
  22787. produces:
  22788. - application/json
  22789. responses:
  22790. "200":
  22791. description: OK
  22792. schema:
  22793. items:
  22794. $ref: '#/definitions/models.Ermcp3Contract'
  22795. type: array
  22796. "500":
  22797. description: Internal Server Error
  22798. schema:
  22799. $ref: '#/definitions/app.Response'
  22800. security:
  22801. - ApiKeyAuth: []
  22802. summary: 查询现货合同
  22803. tags:
  22804. - 企业风险管理v3(app)
  22805. /Ermcp3/QuerySpotContractBS:
  22806. get:
  22807. parameters:
  22808. - description: 用户id
  22809. in: query
  22810. name: userid
  22811. required: true
  22812. type: integer
  22813. - description: 用户类型 2-机构 7-企业成员
  22814. in: query
  22815. name: usertype
  22816. type: integer
  22817. - description: 合同类型 1-采购, -1-销售
  22818. in: query
  22819. name: contracttype
  22820. required: true
  22821. type: integer
  22822. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  22823. in: query
  22824. name: querytype
  22825. type: integer
  22826. - description: 合同ID(SpotContractId)
  22827. in: query
  22828. name: contractid
  22829. type: string
  22830. - description: 合同状态(当填写此项时,将忽略querytype条件;可多个,逗号隔开,如0,1,2) 0:未提交 1:待审核 2:执行中
  22831. 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  22832. in: query
  22833. name: status
  22834. type: string
  22835. - description: 是否只查今日的合同 1-查今日合同
  22836. in: query
  22837. name: istoday
  22838. type: integer
  22839. produces:
  22840. - application/json
  22841. responses:
  22842. "200":
  22843. description: OK
  22844. schema:
  22845. items:
  22846. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  22847. type: array
  22848. "500":
  22849. description: Internal Server Error
  22850. schema:
  22851. $ref: '#/definitions/app.Response'
  22852. security:
  22853. - ApiKeyAuth: []
  22854. summary: 查询合同(采购/销售)
  22855. tags:
  22856. - 企业风险管理v3(app)
  22857. /Ermcp3/QuerySpotGoodsPrice:
  22858. get:
  22859. parameters:
  22860. - description: 用户ID
  22861. in: query
  22862. name: userid
  22863. required: true
  22864. type: integer
  22865. produces:
  22866. - application/json
  22867. responses:
  22868. "200":
  22869. description: OK
  22870. schema:
  22871. items:
  22872. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  22873. type: array
  22874. "500":
  22875. description: Internal Server Error
  22876. schema:
  22877. $ref: '#/definitions/app.Response'
  22878. security:
  22879. - ApiKeyAuth: []
  22880. summary: 查询现货市价(现货市价)
  22881. tags:
  22882. - 企业风险管理v3(app)
  22883. /Ermcp3/QuerySpotGoodsPriceLog:
  22884. get:
  22885. parameters:
  22886. - description: 用户ID
  22887. in: query
  22888. name: userid
  22889. required: true
  22890. type: integer
  22891. - description: 现货商品ID
  22892. in: query
  22893. name: deliverygoodsid
  22894. required: true
  22895. type: integer
  22896. - description: 品牌ID
  22897. in: query
  22898. name: brandid
  22899. type: integer
  22900. - description: 品类ID
  22901. in: query
  22902. name: wrstandardid
  22903. type: integer
  22904. produces:
  22905. - application/json
  22906. responses:
  22907. "200":
  22908. description: OK
  22909. schema:
  22910. items:
  22911. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  22912. type: array
  22913. "500":
  22914. description: Internal Server Error
  22915. schema:
  22916. $ref: '#/definitions/app.Response'
  22917. security:
  22918. - ApiKeyAuth: []
  22919. summary: 查询现货市价详情(现货市价/详情)
  22920. tags:
  22921. - 企业风险管理v3(app)
  22922. /Ermcp3/QuerySubTaaccount:
  22923. get:
  22924. description: 页面 app 现货->期现关联->外部成交单关联->点"关联"按钮->选择期货子账户
  22925. parameters:
  22926. - description: 母账号id
  22927. in: query
  22928. name: parentaccountid
  22929. type: integer
  22930. - description: 母账号代码
  22931. in: query
  22932. name: parentaccountcode
  22933. type: string
  22934. produces:
  22935. - application/json
  22936. responses:
  22937. "200":
  22938. description: OK
  22939. schema:
  22940. items:
  22941. $ref: '#/definitions/models.Ermcp3SubTaaccount'
  22942. type: array
  22943. "500":
  22944. description: Internal Server Error
  22945. schema:
  22946. $ref: '#/definitions/app.Response'
  22947. security:
  22948. - ApiKeyAuth: []
  22949. summary: 查询期货子账户
  22950. tags:
  22951. - 企业风险管理v3(app)
  22952. /Erms2/QueryArbitrageStrategy:
  22953. get:
  22954. parameters:
  22955. - description: 账户ID
  22956. in: query
  22957. name: userid
  22958. required: true
  22959. type: integer
  22960. - description: 商品组ID(品种ID)
  22961. in: query
  22962. name: goodsgroupid
  22963. type: string
  22964. produces:
  22965. - application/json
  22966. responses:
  22967. "200":
  22968. description: OK
  22969. schema:
  22970. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  22971. "500":
  22972. description: Internal Server Error
  22973. schema:
  22974. $ref: '#/definitions/app.Response'
  22975. security:
  22976. - ApiKeyAuth: []
  22977. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  22978. tags:
  22979. - 风险管理
  22980. /Erms2/QueryInnerTradeDetail:
  22981. get:
  22982. parameters:
  22983. - description: 资金账户
  22984. in: query
  22985. name: accountid
  22986. required: true
  22987. type: integer
  22988. produces:
  22989. - application/json
  22990. responses:
  22991. "200":
  22992. description: OK
  22993. schema:
  22994. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  22995. "500":
  22996. description: Internal Server Error
  22997. schema:
  22998. $ref: '#/definitions/app.Response'
  22999. security:
  23000. - ApiKeyAuth: []
  23001. summary: 查询内部成交单信息
  23002. tags:
  23003. - 风险管理
  23004. /Erms2/QuerySpotContract:
  23005. get:
  23006. parameters:
  23007. - description: 策略申请ID
  23008. in: query
  23009. name: asapplyid
  23010. required: true
  23011. type: integer
  23012. - description: 现货合同ID
  23013. in: query
  23014. name: spotcontractid
  23015. type: integer
  23016. produces:
  23017. - application/json
  23018. responses:
  23019. "200":
  23020. description: OK
  23021. schema:
  23022. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  23023. "500":
  23024. description: Internal Server Error
  23025. schema:
  23026. $ref: '#/definitions/app.Response'
  23027. security:
  23028. - ApiKeyAuth: []
  23029. summary: 查询现货合同表信息(指定策略ID、未结束的)
  23030. tags:
  23031. - 风险管理
  23032. /Erms3/AddErms2ASApply:
  23033. post:
  23034. parameters:
  23035. - description: 申请参数
  23036. in: body
  23037. name: jsonBody
  23038. required: true
  23039. schema:
  23040. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  23041. produces:
  23042. - application/json
  23043. responses:
  23044. "200":
  23045. description: OK
  23046. schema:
  23047. $ref: '#/definitions/app.Response'
  23048. "500":
  23049. description: Internal Server Error
  23050. schema:
  23051. $ref: '#/definitions/app.Response'
  23052. security:
  23053. - ApiKeyAuth: []
  23054. summary: 新增期现套利业务申请
  23055. tags:
  23056. - 风险管理v3
  23057. /Erms3/AddErms2SpotTradeApply:
  23058. post:
  23059. parameters:
  23060. - description: 申请参数
  23061. in: body
  23062. name: jsonBody
  23063. required: true
  23064. schema:
  23065. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  23066. produces:
  23067. - application/json
  23068. responses:
  23069. "200":
  23070. description: OK
  23071. schema:
  23072. $ref: '#/definitions/app.Response'
  23073. "500":
  23074. description: Internal Server Error
  23075. schema:
  23076. $ref: '#/definitions/app.Response'
  23077. security:
  23078. - ApiKeyAuth: []
  23079. summary: 新增现货贸易业务申请
  23080. tags:
  23081. - 风险管理v3
  23082. /Erms3/AddSpotContractApply:
  23083. post:
  23084. parameters:
  23085. - description: 申请参数
  23086. in: body
  23087. name: jsonBody
  23088. required: true
  23089. schema:
  23090. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  23091. produces:
  23092. - application/json
  23093. responses:
  23094. "200":
  23095. description: OK
  23096. schema:
  23097. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  23098. "500":
  23099. description: Internal Server Error
  23100. schema:
  23101. $ref: '#/definitions/app.Response'
  23102. security:
  23103. - ApiKeyAuth: []
  23104. summary: 新增现货合同申请
  23105. tags:
  23106. - 风险管理v3
  23107. /Erms3/AddUserInfoApply:
  23108. post:
  23109. parameters:
  23110. - description: 用户信息
  23111. in: body
  23112. name: jsonBody
  23113. required: true
  23114. schema:
  23115. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  23116. produces:
  23117. - application/json
  23118. responses:
  23119. "200":
  23120. description: OK
  23121. schema:
  23122. $ref: '#/definitions/app.Response'
  23123. "500":
  23124. description: Internal Server Error
  23125. schema:
  23126. $ref: '#/definitions/app.Response'
  23127. security:
  23128. - ApiKeyAuth: []
  23129. summary: 新增客户申请
  23130. tags:
  23131. - 风险管理v3
  23132. /Erms3/DeleteUserInfoApply:
  23133. get:
  23134. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  23135. parameters:
  23136. - description: 用户ID
  23137. in: query
  23138. name: userID
  23139. required: true
  23140. type: integer
  23141. produces:
  23142. - application/json
  23143. responses:
  23144. "200":
  23145. description: OK
  23146. schema:
  23147. $ref: '#/definitions/app.Response'
  23148. "500":
  23149. description: Internal Server Error
  23150. schema:
  23151. $ref: '#/definitions/app.Response'
  23152. security:
  23153. - ApiKeyAuth: []
  23154. summary: 删除客户申请
  23155. tags:
  23156. - 风险管理v3
  23157. /Erms3/ModifyUserInfoApply:
  23158. post:
  23159. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  23160. int, "userstate": 2 }'
  23161. parameters:
  23162. - description: 用户信息
  23163. in: body
  23164. name: jsonBody
  23165. required: true
  23166. schema:
  23167. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  23168. produces:
  23169. - application/json
  23170. responses:
  23171. "200":
  23172. description: OK
  23173. schema:
  23174. $ref: '#/definitions/app.Response'
  23175. "500":
  23176. description: Internal Server Error
  23177. schema:
  23178. $ref: '#/definitions/app.Response'
  23179. security:
  23180. - ApiKeyAuth: []
  23181. summary: 修改客户申请
  23182. tags:
  23183. - 风险管理v3
  23184. /Erms3/QueryBusinessInfo:
  23185. get:
  23186. parameters:
  23187. - description: 资金账号ID列表,用逗号分隔
  23188. in: query
  23189. name: accountids
  23190. required: true
  23191. type: string
  23192. - description: 状态,0为未结束 1为已结束
  23193. in: query
  23194. name: status
  23195. required: true
  23196. type: integer
  23197. produces:
  23198. - application/json
  23199. responses:
  23200. "200":
  23201. description: OK
  23202. schema:
  23203. items:
  23204. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  23205. type: array
  23206. "500":
  23207. description: Internal Server Error
  23208. schema:
  23209. $ref: '#/definitions/app.Response'
  23210. security:
  23211. - ApiKeyAuth: []
  23212. summary: 查询业务表单数据
  23213. tags:
  23214. - 风险管理v3
  23215. /Erms3/QueryPendingAuditContract:
  23216. get:
  23217. parameters:
  23218. - description: 资金账号ID列表,逗号隔开
  23219. in: query
  23220. name: accountids
  23221. required: true
  23222. type: string
  23223. - description: 合同类型 1-采购 -1-销售
  23224. in: query
  23225. name: contracttype
  23226. required: true
  23227. type: integer
  23228. - description: 合同模式 1-普通 2-回购
  23229. in: query
  23230. name: contractmode
  23231. required: true
  23232. type: integer
  23233. produces:
  23234. - application/json
  23235. responses:
  23236. "200":
  23237. description: OK
  23238. schema:
  23239. items:
  23240. $ref: '#/definitions/erms3.QryAuditContractRsp'
  23241. type: array
  23242. "500":
  23243. description: Internal Server Error
  23244. schema:
  23245. $ref: '#/definitions/app.Response'
  23246. security:
  23247. - ApiKeyAuth: []
  23248. summary: 查询待审核合同
  23249. tags:
  23250. - 风险管理v3
  23251. /Erms3/QueryPendingBusiness:
  23252. get:
  23253. parameters:
  23254. - description: 资金账号ID列表,逗号隔开
  23255. in: query
  23256. name: accountids
  23257. required: true
  23258. type: string
  23259. produces:
  23260. - application/json
  23261. responses:
  23262. "200":
  23263. description: OK
  23264. schema:
  23265. items:
  23266. $ref: '#/definitions/erms3.QryPendingBizRsp'
  23267. type: array
  23268. "500":
  23269. description: Internal Server Error
  23270. schema:
  23271. $ref: '#/definitions/app.Response'
  23272. security:
  23273. - ApiKeyAuth: []
  23274. summary: 查询待审核基差贸易业务
  23275. tags:
  23276. - 风险管理v3
  23277. /Erms3/QuerySpotContractAppleForm:
  23278. get:
  23279. parameters:
  23280. - description: 登录账号
  23281. in: query
  23282. name: loginID
  23283. required: true
  23284. type: integer
  23285. produces:
  23286. - application/json
  23287. responses:
  23288. "200":
  23289. description: OK
  23290. schema:
  23291. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  23292. "500":
  23293. description: Internal Server Error
  23294. schema:
  23295. $ref: '#/definitions/app.Response'
  23296. security:
  23297. - ApiKeyAuth: []
  23298. summary: 查询合同申请表单数据
  23299. tags:
  23300. - 风险管理v3
  23301. /Erms3/QuerySpotContractDetail:
  23302. get:
  23303. parameters:
  23304. - description: 资金账号ID列表,用逗号分隔
  23305. in: query
  23306. name: accountids
  23307. required: true
  23308. type: string
  23309. - description: 合同类型,1为采购合同 -1为销售合同
  23310. in: query
  23311. name: contracttype
  23312. required: true
  23313. type: integer
  23314. - description: 合同模式,1为普通合同 2为回购销售合同
  23315. in: query
  23316. name: contractmode
  23317. required: true
  23318. type: integer
  23319. - description: 状态,0为履约中 1为已完成
  23320. in: query
  23321. name: status
  23322. required: true
  23323. type: integer
  23324. produces:
  23325. - application/json
  23326. responses:
  23327. "200":
  23328. description: OK
  23329. schema:
  23330. items:
  23331. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  23332. type: array
  23333. "500":
  23334. description: Internal Server Error
  23335. schema:
  23336. $ref: '#/definitions/app.Response'
  23337. security:
  23338. - ApiKeyAuth: []
  23339. summary: 查询合同详细信息
  23340. tags:
  23341. - 风险管理v3
  23342. /Erms3/QueryUserInfoApplies:
  23343. get:
  23344. parameters:
  23345. - description: 页码
  23346. in: query
  23347. name: page
  23348. type: integer
  23349. - description: 每页条数
  23350. in: query
  23351. name: pagesize
  23352. type: integer
  23353. - description: 客户名称,支持模糊查询
  23354. in: query
  23355. name: userName
  23356. type: string
  23357. produces:
  23358. - application/json
  23359. responses:
  23360. "200":
  23361. description: OK
  23362. schema:
  23363. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  23364. "500":
  23365. description: Internal Server Error
  23366. schema:
  23367. $ref: '#/definitions/app.Response'
  23368. security:
  23369. - ApiKeyAuth: []
  23370. summary: 客户申请信息查询
  23371. tags:
  23372. - 风险管理v3
  23373. /Erms3/QueryUserInfos:
  23374. get:
  23375. parameters:
  23376. - description: 页码
  23377. in: query
  23378. name: page
  23379. type: integer
  23380. - description: 每页条数
  23381. in: query
  23382. name: pagesize
  23383. type: integer
  23384. - description: 客户名称,支持模糊查询
  23385. in: query
  23386. name: userName
  23387. type: string
  23388. produces:
  23389. - application/json
  23390. responses:
  23391. "200":
  23392. description: OK
  23393. schema:
  23394. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  23395. "500":
  23396. description: Internal Server Error
  23397. schema:
  23398. $ref: '#/definitions/app.Response'
  23399. security:
  23400. - ApiKeyAuth: []
  23401. summary: 客户信息查询
  23402. tags:
  23403. - 风险管理v3
  23404. /HSBY/GetHsbyMyCount:
  23405. get:
  23406. description: 说明: 不包括已完成的数量。
  23407. parameters:
  23408. - description: 资金账户列表,格式:1,2,3
  23409. in: query
  23410. name: accountIDs
  23411. required: true
  23412. type: string
  23413. produces:
  23414. - application/json
  23415. responses:
  23416. "200":
  23417. description: OK
  23418. schema:
  23419. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  23420. "500":
  23421. description: Internal Server Error
  23422. schema:
  23423. $ref: '#/definitions/app.Response'
  23424. security:
  23425. - ApiKeyAuth: []
  23426. summary: 获取我的订单与包裹数量
  23427. tags:
  23428. - 定制【海商报业】
  23429. /HSBY/QueryClientFixedADConfigs:
  23430. get:
  23431. produces:
  23432. - application/json
  23433. responses:
  23434. "200":
  23435. description: OK
  23436. schema:
  23437. $ref: '#/definitions/models.Clientfixedadconfig'
  23438. "500":
  23439. description: Internal Server Error
  23440. schema:
  23441. $ref: '#/definitions/app.Response'
  23442. security:
  23443. - ApiKeyAuth: []
  23444. summary: 获取终端固定广告配置
  23445. tags:
  23446. - 定制【海商报业】
  23447. /HSBY/QueryHsbyBuyMyTradeDetail:
  23448. get:
  23449. parameters:
  23450. - description: 页码
  23451. in: query
  23452. name: page
  23453. type: integer
  23454. - description: 每页条数
  23455. in: query
  23456. name: pagesize
  23457. type: integer
  23458. - description: 资金账户列表,格式:1,2,3
  23459. in: query
  23460. name: accountIDs
  23461. required: true
  23462. type: string
  23463. produces:
  23464. - application/json
  23465. responses:
  23466. "200":
  23467. description: OK
  23468. schema:
  23469. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  23470. "500":
  23471. description: Internal Server Error
  23472. schema:
  23473. $ref: '#/definitions/app.Response'
  23474. security:
  23475. - ApiKeyAuth: []
  23476. summary: 查询"我的订单 - 已完成"单据信息
  23477. tags:
  23478. - 定制【海商报业】
  23479. /HSBY/QueryHsbyGoodsOrderDetails:
  23480. get:
  23481. description: 说明:查询结果已按委托价格和委托时间排序
  23482. parameters:
  23483. - description: 商品ID
  23484. in: query
  23485. name: goodsID
  23486. required: true
  23487. type: integer
  23488. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  23489. in: query
  23490. name: accountIDs
  23491. type: string
  23492. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  23493. in: query
  23494. name: buyOrSell
  23495. type: integer
  23496. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  23497. in: query
  23498. name: price
  23499. type: number
  23500. - description: 档位,不传则默认为3档
  23501. in: query
  23502. name: speed
  23503. type: integer
  23504. produces:
  23505. - application/json
  23506. responses:
  23507. "200":
  23508. description: OK
  23509. schema:
  23510. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  23511. "500":
  23512. description: Internal Server Error
  23513. schema:
  23514. $ref: '#/definitions/app.Response'
  23515. security:
  23516. - ApiKeyAuth: []
  23517. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  23518. tags:
  23519. - 定制【海商报业】
  23520. /HSBY/QueryHsbyListingGoodsDetail:
  23521. get:
  23522. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  23523. parameters:
  23524. - description: 商品ID
  23525. in: query
  23526. name: goodsID
  23527. required: true
  23528. type: integer
  23529. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  23530. in: query
  23531. name: accountID
  23532. type: integer
  23533. produces:
  23534. - application/json
  23535. responses:
  23536. "200":
  23537. description: OK
  23538. schema:
  23539. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  23540. "500":
  23541. description: Internal Server Error
  23542. schema:
  23543. $ref: '#/definitions/app.Response'
  23544. security:
  23545. - ApiKeyAuth: []
  23546. summary: 查询二级市场(挂牌点选)商品信息详情
  23547. tags:
  23548. - 定制【海商报业】
  23549. /HSBY/QueryHsbyMarketGoodsDetail:
  23550. get:
  23551. parameters:
  23552. - description: 委托单号
  23553. in: query
  23554. name: orderID
  23555. required: true
  23556. type: integer
  23557. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  23558. in: query
  23559. name: accountID
  23560. type: integer
  23561. produces:
  23562. - application/json
  23563. responses:
  23564. "200":
  23565. description: OK
  23566. schema:
  23567. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  23568. "500":
  23569. description: Internal Server Error
  23570. schema:
  23571. $ref: '#/definitions/app.Response'
  23572. security:
  23573. - ApiKeyAuth: []
  23574. summary: 查询三级市场(商城)商品信息详情
  23575. tags:
  23576. - 定制【海商报业】
  23577. /HSBY/QueryHsbyMarketGoodses:
  23578. get:
  23579. parameters:
  23580. - description: 页码
  23581. in: query
  23582. name: page
  23583. type: integer
  23584. - description: 每页条数
  23585. in: query
  23586. name: pagesize
  23587. type: integer
  23588. - description: 市场ID列表,格式:1,2,3
  23589. in: query
  23590. name: marketIDs
  23591. required: true
  23592. type: string
  23593. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  23594. in: query
  23595. name: accountID
  23596. required: true
  23597. type: integer
  23598. - description: 类别ID
  23599. in: query
  23600. name: categoryID
  23601. type: integer
  23602. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  23603. in: query
  23604. name: goodsIDs
  23605. type: string
  23606. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  23607. in: query
  23608. name: couponTypeID
  23609. type: integer
  23610. produces:
  23611. - application/json
  23612. responses:
  23613. "200":
  23614. description: OK
  23615. schema:
  23616. $ref: '#/definitions/models.HsbyMarketGoods'
  23617. "500":
  23618. description: Internal Server Error
  23619. schema:
  23620. $ref: '#/definitions/app.Response'
  23621. security:
  23622. - ApiKeyAuth: []
  23623. summary: 查询特卖商品列表(三级商城)
  23624. tags:
  23625. - 定制【海商报业】
  23626. /HSBY/QueryHsbyMarkets:
  23627. get:
  23628. produces:
  23629. - application/json
  23630. responses:
  23631. "200":
  23632. description: OK
  23633. schema:
  23634. $ref: '#/definitions/models.HsbyMarketInfo'
  23635. "500":
  23636. description: Internal Server Error
  23637. schema:
  23638. $ref: '#/definitions/app.Response'
  23639. security:
  23640. - ApiKeyAuth: []
  23641. summary: 查询海商报业相关市场信息
  23642. tags:
  23643. - 定制【海商报业】
  23644. /HSBY/QueryHsbyMyBuyOrderDetails:
  23645. get:
  23646. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  23647. parameters:
  23648. - description: 资金账户列表,格式:1,2,3
  23649. in: query
  23650. name: accountIDs
  23651. required: true
  23652. type: string
  23653. produces:
  23654. - application/json
  23655. responses:
  23656. "200":
  23657. description: OK
  23658. schema:
  23659. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  23660. "500":
  23661. description: Internal Server Error
  23662. schema:
  23663. $ref: '#/definitions/app.Response'
  23664. security:
  23665. - ApiKeyAuth: []
  23666. summary: 查询“我的订单”信息
  23667. tags:
  23668. - 定制【海商报业】
  23669. /HSBY/QueryHsbyMyGoods:
  23670. get:
  23671. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  23672. parameters:
  23673. - description: 资金账户列表,格式:1,2,3
  23674. in: query
  23675. name: accountIDs
  23676. required: true
  23677. type: string
  23678. produces:
  23679. - application/json
  23680. responses:
  23681. "200":
  23682. description: OK
  23683. schema:
  23684. $ref: '#/definitions/models.HsbyMyGoods'
  23685. "500":
  23686. description: Internal Server Error
  23687. schema:
  23688. $ref: '#/definitions/app.Response'
  23689. security:
  23690. - ApiKeyAuth: []
  23691. summary: 查询“我的商品”信息
  23692. tags:
  23693. - 定制【海商报业】
  23694. /HSBY/QueryHsbyMyPackages:
  23695. get:
  23696. parameters:
  23697. - description: 资金账户列表,格式:1,2,3
  23698. in: query
  23699. name: accountIDs
  23700. required: true
  23701. type: string
  23702. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  23703. in: query
  23704. name: takeOrderStatus
  23705. type: integer
  23706. produces:
  23707. - application/json
  23708. responses:
  23709. "200":
  23710. description: OK
  23711. schema:
  23712. $ref: '#/definitions/models.HsbyMyPackage'
  23713. "500":
  23714. description: Internal Server Error
  23715. schema:
  23716. $ref: '#/definitions/app.Response'
  23717. security:
  23718. - ApiKeyAuth: []
  23719. summary: 查询我的包裹信息
  23720. tags:
  23721. - 定制【海商报业】
  23722. /HSBY/QueryHsbyPreGoodsDetail:
  23723. get:
  23724. parameters:
  23725. - description: 商品ID
  23726. in: query
  23727. name: goodsID
  23728. required: true
  23729. type: integer
  23730. - description: 资金账户,主要用于获取预售商品购买上限
  23731. in: query
  23732. name: accountID
  23733. type: integer
  23734. produces:
  23735. - application/json
  23736. responses:
  23737. "200":
  23738. description: OK
  23739. schema:
  23740. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  23741. "500":
  23742. description: Internal Server Error
  23743. schema:
  23744. $ref: '#/definitions/app.Response'
  23745. security:
  23746. - ApiKeyAuth: []
  23747. summary: 查询一级市场(预售)商品信息详情
  23748. tags:
  23749. - 定制【海商报业】
  23750. /HSBY/QueryHsbyPreGoodses:
  23751. get:
  23752. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  23753. parameters:
  23754. - description: 页码
  23755. in: query
  23756. name: page
  23757. type: integer
  23758. - description: 每页条数
  23759. in: query
  23760. name: pagesize
  23761. type: integer
  23762. - description: 市场ID列表,格式:1,2,3
  23763. in: query
  23764. name: marketIDs
  23765. required: true
  23766. type: string
  23767. - description: 目的地(省)ID
  23768. in: query
  23769. name: descProvinceID
  23770. type: integer
  23771. - description: 目的地(市)ID
  23772. in: query
  23773. name: descCityID
  23774. type: integer
  23775. produces:
  23776. - application/json
  23777. responses:
  23778. "200":
  23779. description: OK
  23780. schema:
  23781. $ref: '#/definitions/models.HsbyPreGoods'
  23782. "500":
  23783. description: Internal Server Error
  23784. schema:
  23785. $ref: '#/definitions/app.Response'
  23786. security:
  23787. - ApiKeyAuth: []
  23788. summary: 查询新品上市商品列表(一级市场预售)
  23789. tags:
  23790. - 定制【海商报业】
  23791. /HSBY/QueryHsbySellMyDetails:
  23792. get:
  23793. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  23794. parameters:
  23795. - description: 页码
  23796. in: query
  23797. name: page
  23798. type: integer
  23799. - description: 每页条数
  23800. in: query
  23801. name: pagesize
  23802. type: integer
  23803. - description: 资金账户列表,格式:1,2,3
  23804. in: query
  23805. name: accountIDs
  23806. required: true
  23807. type: string
  23808. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  23809. in: query
  23810. name: orderType
  23811. type: integer
  23812. produces:
  23813. - application/json
  23814. responses:
  23815. "200":
  23816. description: OK
  23817. schema:
  23818. $ref: '#/definitions/models.HsbySellMyDetail'
  23819. "500":
  23820. description: Internal Server Error
  23821. schema:
  23822. $ref: '#/definitions/app.Response'
  23823. security:
  23824. - ApiKeyAuth: []
  23825. summary: 查询"我的闲置"单据信息
  23826. tags:
  23827. - 定制【海商报业】
  23828. /HSBY/QueryHsbyTopGoodses:
  23829. get:
  23830. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  23831. parameters:
  23832. - description: 页码
  23833. in: query
  23834. name: page
  23835. type: integer
  23836. - description: 每页条数
  23837. in: query
  23838. name: pagesize
  23839. type: integer
  23840. - description: 市场ID列表,格式:1,2,3
  23841. in: query
  23842. name: marketIDs
  23843. required: true
  23844. type: string
  23845. - description: 目的地(省)ID
  23846. in: query
  23847. name: descProvinceID
  23848. type: integer
  23849. - description: 目的地(市)ID
  23850. in: query
  23851. name: descCityID
  23852. type: integer
  23853. produces:
  23854. - application/json
  23855. responses:
  23856. "200":
  23857. description: OK
  23858. schema:
  23859. $ref: '#/definitions/models.HsbyTopGoods'
  23860. "500":
  23861. description: Internal Server Error
  23862. schema:
  23863. $ref: '#/definitions/app.Response'
  23864. security:
  23865. - ApiKeyAuth: []
  23866. summary: 查询热卖商品列表(二级市场挂牌点选)
  23867. tags:
  23868. - 定制【海商报业】
  23869. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  23870. get:
  23871. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  23872. parameters:
  23873. - description: 商品ID
  23874. in: query
  23875. name: goodsID
  23876. required: true
  23877. type: integer
  23878. produces:
  23879. - application/json
  23880. responses:
  23881. "200":
  23882. description: OK
  23883. schema:
  23884. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  23885. "500":
  23886. description: Internal Server Error
  23887. schema:
  23888. $ref: '#/definitions/app.Response'
  23889. security:
  23890. - ApiKeyAuth: []
  23891. summary: 查询游客三级市场(商城)商品信息详情
  23892. tags:
  23893. - 定制【海商报业】
  23894. /HSBY/QueryHsbyVisitorMarketGoodses:
  23895. get:
  23896. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  23897. parameters:
  23898. - description: 页码
  23899. in: query
  23900. name: page
  23901. type: integer
  23902. - description: 每页条数
  23903. in: query
  23904. name: pagesize
  23905. type: integer
  23906. - description: 市场ID列表,格式:1,2,3
  23907. in: query
  23908. name: marketIDs
  23909. required: true
  23910. type: string
  23911. - description: 类别ID
  23912. in: query
  23913. name: categoryID
  23914. type: integer
  23915. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  23916. in: query
  23917. name: goodsIDs
  23918. type: string
  23919. produces:
  23920. - application/json
  23921. responses:
  23922. "200":
  23923. description: OK
  23924. schema:
  23925. $ref: '#/definitions/models.HsbyMarketGoods'
  23926. "500":
  23927. description: Internal Server Error
  23928. schema:
  23929. $ref: '#/definitions/app.Response'
  23930. security:
  23931. - ApiKeyAuth: []
  23932. summary: 查询游客特卖商品列表(三级商城)
  23933. tags:
  23934. - 定制【海商报业】
  23935. /HSBY/QueryMyCollectionOrders:
  23936. get:
  23937. parameters:
  23938. - description: 页码
  23939. in: query
  23940. name: page
  23941. type: integer
  23942. - description: 每页条数
  23943. in: query
  23944. name: pagesize
  23945. type: integer
  23946. - description: 资金账户,格式:1,2,3
  23947. in: query
  23948. name: accountIDs
  23949. required: true
  23950. type: string
  23951. produces:
  23952. - application/json
  23953. responses:
  23954. "200":
  23955. description: OK
  23956. schema:
  23957. $ref: '#/definitions/models.HsbySellCollectionOrder'
  23958. "500":
  23959. description: Internal Server Error
  23960. schema:
  23961. $ref: '#/definitions/app.Response'
  23962. security:
  23963. - ApiKeyAuth: []
  23964. summary: 我的闲置中收款信息查询
  23965. tags:
  23966. - 定制【海商报业】
  23967. /HSBY/QueryMyCouponHolds:
  23968. get:
  23969. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  23970. parameters:
  23971. - description: 资金账户列表,格式:1,2,3
  23972. in: query
  23973. name: accountIDs
  23974. required: true
  23975. type: string
  23976. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  23977. in: query
  23978. name: holdStatus
  23979. type: string
  23980. produces:
  23981. - application/json
  23982. responses:
  23983. "200":
  23984. description: OK
  23985. schema:
  23986. $ref: '#/definitions/models.MyCouponHold'
  23987. "500":
  23988. description: Internal Server Error
  23989. schema:
  23990. $ref: '#/definitions/app.Response'
  23991. security:
  23992. - ApiKeyAuth: []
  23993. summary: 我的优惠卷持仓查询
  23994. tags:
  23995. - 定制【海商报业】
  23996. /HSBY/QueryMyCoupons:
  23997. get:
  23998. parameters:
  23999. - description: 资金账户列表,格式:1,2,3
  24000. in: query
  24001. name: accountIDs
  24002. required: true
  24003. type: string
  24004. - description: 商品ID, 一般与sellUserID配套传入
  24005. in: query
  24006. name: goodsID
  24007. type: integer
  24008. - description: 卖方UserID
  24009. in: query
  24010. name: sellUserID
  24011. type: integer
  24012. produces:
  24013. - application/json
  24014. responses:
  24015. "200":
  24016. description: OK
  24017. schema:
  24018. $ref: '#/definitions/models.MyCoupon'
  24019. "500":
  24020. description: Internal Server Error
  24021. schema:
  24022. $ref: '#/definitions/app.Response'
  24023. security:
  24024. - ApiKeyAuth: []
  24025. summary: 我的优惠卷查询
  24026. tags:
  24027. - 定制【海商报业】
  24028. /HSBY/QueryMyPayOrders:
  24029. get:
  24030. parameters:
  24031. - description: 页码
  24032. in: query
  24033. name: page
  24034. type: integer
  24035. - description: 每页条数
  24036. in: query
  24037. name: pagesize
  24038. type: integer
  24039. - description: 资金账户列表,格式:1,2,3
  24040. in: query
  24041. name: accountIDs
  24042. required: true
  24043. type: string
  24044. - description: 买方委托单号
  24045. in: query
  24046. name: buyOrderID
  24047. type: integer
  24048. - description: 卖方委托单号
  24049. in: query
  24050. name: sellOrderID
  24051. type: integer
  24052. produces:
  24053. - application/json
  24054. responses:
  24055. "200":
  24056. description: OK
  24057. schema:
  24058. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  24059. "500":
  24060. description: Internal Server Error
  24061. schema:
  24062. $ref: '#/definitions/app.Response'
  24063. security:
  24064. - ApiKeyAuth: []
  24065. summary: 获取我的订单中待付款信息
  24066. tags:
  24067. - 定制【海商报业】
  24068. /HSBY/QueryMyUsedCoupon:
  24069. get:
  24070. parameters:
  24071. - description: 资金账户列表,格式:1,2,3
  24072. in: query
  24073. name: accountIDs
  24074. required: true
  24075. type: string
  24076. produces:
  24077. - application/json
  24078. responses:
  24079. "200":
  24080. description: OK
  24081. schema:
  24082. $ref: '#/definitions/models.MyUsedCoupon'
  24083. "500":
  24084. description: Internal Server Error
  24085. schema:
  24086. $ref: '#/definitions/app.Response'
  24087. security:
  24088. - ApiKeyAuth: []
  24089. summary: 已使用优惠卷查询
  24090. tags:
  24091. - 定制【海商报业】
  24092. /HSBY/QueryProvincesAndCities:
  24093. get:
  24094. description: 查询结果只包括二级市场商品已关连的省市信息。
  24095. parameters:
  24096. - description: 省ID
  24097. in: query
  24098. name: provinceID
  24099. type: integer
  24100. produces:
  24101. - application/json
  24102. responses:
  24103. "200":
  24104. description: OK
  24105. schema:
  24106. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  24107. "500":
  24108. description: Internal Server Error
  24109. schema:
  24110. $ref: '#/definitions/app.Response'
  24111. security:
  24112. - ApiKeyAuth: []
  24113. summary: 查询省市信息(不包括区)
  24114. tags:
  24115. - 定制【海商报业】
  24116. /HSBY/SetHsbyMyPackagesStatus:
  24117. post:
  24118. parameters:
  24119. - description: 提货单号
  24120. in: query
  24121. name: takeOrderID
  24122. required: true
  24123. type: string
  24124. - description: 资金账号
  24125. in: query
  24126. name: accountID
  24127. required: true
  24128. type: integer
  24129. produces:
  24130. - application/json
  24131. responses:
  24132. "200":
  24133. description: OK
  24134. schema:
  24135. $ref: '#/definitions/app.Response'
  24136. "500":
  24137. description: Internal Server Error
  24138. schema:
  24139. $ref: '#/definitions/app.Response'
  24140. security:
  24141. - ApiKeyAuth: []
  24142. summary: 设置我的包裹已收货状态
  24143. tags:
  24144. - 定制【海商报业】
  24145. /Market/GetAllExExchanges:
  24146. get:
  24147. produces:
  24148. - application/json
  24149. responses:
  24150. "200":
  24151. description: OK
  24152. schema:
  24153. $ref: '#/definitions/models.Goods'
  24154. "500":
  24155. description: Internal Server Error
  24156. schema:
  24157. $ref: '#/definitions/app.Response'
  24158. security:
  24159. - ApiKeyAuth: []
  24160. summary: 获取所有外部交易所信息
  24161. tags:
  24162. - 通用市场
  24163. /Market/QueryGoodsesByLoginID:
  24164. get:
  24165. parameters:
  24166. - description: 登录账号
  24167. in: query
  24168. name: loginID
  24169. required: true
  24170. type: integer
  24171. - description: 市场ID列表,格式:1,2,3
  24172. in: query
  24173. name: marketIDs
  24174. type: string
  24175. produces:
  24176. - application/json
  24177. responses:
  24178. "200":
  24179. description: OK
  24180. schema:
  24181. $ref: '#/definitions/models.Goods'
  24182. "500":
  24183. description: Internal Server Error
  24184. schema:
  24185. $ref: '#/definitions/app.Response'
  24186. security:
  24187. - ApiKeyAuth: []
  24188. summary: 获取登录账号有权限的商品信息
  24189. tags:
  24190. - 通用市场
  24191. /Market/QueryMarketRun:
  24192. get:
  24193. parameters:
  24194. - description: 市场ID,不传返回所有
  24195. in: query
  24196. name: marketID
  24197. type: integer
  24198. produces:
  24199. - application/json
  24200. responses:
  24201. "200":
  24202. description: OK
  24203. schema:
  24204. $ref: '#/definitions/models.Marketrun'
  24205. "500":
  24206. description: Internal Server Error
  24207. schema:
  24208. $ref: '#/definitions/app.Response'
  24209. security:
  24210. - ApiKeyAuth: []
  24211. summary: 查询市场运行信息
  24212. tags:
  24213. - 通用市场
  24214. /Market/QueryMarketsByLoginID:
  24215. get:
  24216. parameters:
  24217. - description: 登录账号
  24218. in: query
  24219. name: loginID
  24220. required: true
  24221. type: integer
  24222. produces:
  24223. - application/json
  24224. responses:
  24225. "200":
  24226. description: OK
  24227. schema:
  24228. $ref: '#/definitions/models.Market'
  24229. "500":
  24230. description: Internal Server Error
  24231. schema:
  24232. $ref: '#/definitions/app.Response'
  24233. security:
  24234. - ApiKeyAuth: []
  24235. summary: 获取登录账号有权限的市场信息
  24236. tags:
  24237. - 通用市场
  24238. /Order/QueryHisTradeDetail:
  24239. get:
  24240. parameters:
  24241. - description: 资金账户 - 格式:1,2,3
  24242. in: query
  24243. name: accountID
  24244. required: true
  24245. type: string
  24246. - description: 成交单号
  24247. in: query
  24248. name: tradeID
  24249. type: integer
  24250. - description: 委托单号
  24251. in: query
  24252. name: orderID
  24253. type: integer
  24254. - description: 商品ID
  24255. in: query
  24256. name: goodsID
  24257. type: integer
  24258. - description: 交易模式 - 格式:1,2,3
  24259. in: query
  24260. name: tradeMode
  24261. type: string
  24262. - description: 委托单据类型
  24263. in: query
  24264. name: buildType
  24265. type: integer
  24266. - description: 成交类别 - 格式:1,2,3
  24267. in: query
  24268. name: tradeType
  24269. type: string
  24270. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24271. in: query
  24272. name: startDate
  24273. type: string
  24274. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24275. in: query
  24276. name: endDate
  24277. type: string
  24278. produces:
  24279. - application/json
  24280. responses:
  24281. "200":
  24282. description: OK
  24283. schema:
  24284. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  24285. "500":
  24286. description: Internal Server Error
  24287. schema:
  24288. $ref: '#/definitions/app.Response'
  24289. security:
  24290. - ApiKeyAuth: []
  24291. summary: 历史成交单查询(合约市场)
  24292. tags:
  24293. - 通用单据
  24294. /Order/QueryHisTradeOrderDetail:
  24295. get:
  24296. parameters:
  24297. - description: 资金账户 - 格式:1,2,3
  24298. in: query
  24299. name: accountID
  24300. required: true
  24301. type: string
  24302. - description: 交易模式 - 格式:1,2,3
  24303. in: query
  24304. name: tradeMode
  24305. type: string
  24306. - description: 委托状态 - 格式:1,2,3
  24307. in: query
  24308. name: orderStatus
  24309. type: string
  24310. - description: 委托单号
  24311. in: query
  24312. name: orderID
  24313. type: integer
  24314. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  24315. in: query
  24316. name: startDate
  24317. type: string
  24318. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  24319. in: query
  24320. name: endDate
  24321. type: string
  24322. produces:
  24323. - application/json
  24324. responses:
  24325. "200":
  24326. description: OK
  24327. schema:
  24328. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  24329. "500":
  24330. description: Internal Server Error
  24331. schema:
  24332. $ref: '#/definitions/app.Response'
  24333. security:
  24334. - ApiKeyAuth: []
  24335. summary: 历史委托单查询请求(合约市场)
  24336. tags:
  24337. - 通用单据
  24338. /Order/QueryTradeDetail:
  24339. get:
  24340. parameters:
  24341. - description: 资金账户 - 格式:1,2,3
  24342. in: query
  24343. name: accountID
  24344. required: true
  24345. type: string
  24346. - description: 成交单号
  24347. in: query
  24348. name: tradeID
  24349. type: integer
  24350. - description: 委托单号
  24351. in: query
  24352. name: orderID
  24353. type: integer
  24354. - description: 交易模式 - 格式:1,2,3
  24355. in: query
  24356. name: tradeMode
  24357. type: string
  24358. - description: 委托单据类型
  24359. in: query
  24360. name: buildType
  24361. type: integer
  24362. - description: 成交类别 - 格式:1,2,3
  24363. in: query
  24364. name: tradeType
  24365. type: string
  24366. - description: 商品ID
  24367. in: query
  24368. name: goodsID
  24369. type: integer
  24370. produces:
  24371. - application/json
  24372. responses:
  24373. "200":
  24374. description: OK
  24375. schema:
  24376. $ref: '#/definitions/order.QueryTradeDetailRsp'
  24377. "500":
  24378. description: Internal Server Error
  24379. schema:
  24380. $ref: '#/definitions/app.Response'
  24381. security:
  24382. - ApiKeyAuth: []
  24383. summary: 成交单查询(合约市场)
  24384. tags:
  24385. - 通用单据
  24386. /Order/QueryTradeHolderDetail:
  24387. get:
  24388. parameters:
  24389. - description: 用户id
  24390. in: query
  24391. name: userid
  24392. type: integer
  24393. - description: 资金账号, 格式 1,2,3
  24394. in: query
  24395. name: accids
  24396. type: string
  24397. - description: 交易模式, 格式 1,2,3
  24398. in: query
  24399. name: trademodes
  24400. type: string
  24401. - description: 市场id, 格式 1,2,3
  24402. in: query
  24403. name: marketids
  24404. type: string
  24405. - description: 商品id
  24406. in: query
  24407. name: goodsid
  24408. type: integer
  24409. - description: 买卖方向 0-买 1-卖
  24410. in: query
  24411. name: buyorsell
  24412. type: integer
  24413. produces:
  24414. - application/json
  24415. responses:
  24416. "200":
  24417. description: OK
  24418. schema:
  24419. items:
  24420. $ref: '#/definitions/models.TradeHolderDetail'
  24421. type: array
  24422. "500":
  24423. description: Internal Server Error
  24424. schema:
  24425. $ref: '#/definitions/app.Response'
  24426. security:
  24427. - ApiKeyAuth: []
  24428. summary: 查询持仓明细
  24429. tags:
  24430. - 通用单据
  24431. /Order/QueryTradeOrderDetail:
  24432. get:
  24433. parameters:
  24434. - description: 资金账户 - 格式:1,2,3
  24435. in: query
  24436. name: accountID
  24437. required: true
  24438. type: string
  24439. - description: 交易模式 - 格式:1,2,3
  24440. in: query
  24441. name: tradeMode
  24442. type: string
  24443. - description: 委托状态 - 格式:1,2,3
  24444. in: query
  24445. name: orderStatus
  24446. type: string
  24447. - description: 委托单号
  24448. in: query
  24449. name: orderID
  24450. type: integer
  24451. produces:
  24452. - application/json
  24453. responses:
  24454. "200":
  24455. description: OK
  24456. schema:
  24457. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  24458. "500":
  24459. description: Internal Server Error
  24460. schema:
  24461. $ref: '#/definitions/app.Response'
  24462. security:
  24463. - ApiKeyAuth: []
  24464. summary: 委托单查询请求(合约市场)
  24465. tags:
  24466. - 通用单据
  24467. /Order/QueryTradePosition:
  24468. get:
  24469. parameters:
  24470. - description: 资金账户 - 格式:1,2,3
  24471. in: query
  24472. name: accountID
  24473. required: true
  24474. type: string
  24475. - description: 交易模式 - 格式:1,2,3
  24476. in: query
  24477. name: tradeMode
  24478. type: string
  24479. produces:
  24480. - application/json
  24481. responses:
  24482. "200":
  24483. description: OK
  24484. schema:
  24485. $ref: '#/definitions/order.QueryTradePositionRsp'
  24486. "500":
  24487. description: Internal Server Error
  24488. schema:
  24489. $ref: '#/definitions/app.Response'
  24490. security:
  24491. - ApiKeyAuth: []
  24492. summary: 持仓汇总查询(合约市场)
  24493. tags:
  24494. - 通用单据
  24495. /Qhj/QueryAccountInOutApply:
  24496. get:
  24497. parameters:
  24498. - description: 用户ID
  24499. in: query
  24500. name: userid
  24501. required: true
  24502. type: integer
  24503. - description: 申请起始日期(格式yyyymmdd)
  24504. in: query
  24505. name: begindate
  24506. type: string
  24507. - description: 申请截止日期(格式yyyymmdd)
  24508. in: query
  24509. name: enddate
  24510. type: string
  24511. - description: 模糊搜索名称
  24512. in: query
  24513. name: likename
  24514. type: string
  24515. produces:
  24516. - application/json
  24517. responses:
  24518. "200":
  24519. description: OK
  24520. schema:
  24521. items:
  24522. $ref: '#/definitions/models.QhjAccountOutInApply'
  24523. type: array
  24524. "500":
  24525. description: Internal Server Error
  24526. schema:
  24527. $ref: '#/definitions/app.Response'
  24528. security:
  24529. - ApiKeyAuth: []
  24530. summary: 查询充值提现
  24531. tags:
  24532. - 大连千海金
  24533. /Qhj/QueryAreaFinanceConfig:
  24534. get:
  24535. parameters:
  24536. - description: 机构用户ID 其他做市关系,都设置为 1
  24537. in: query
  24538. name: userid
  24539. type: integer
  24540. produces:
  24541. - application/json
  24542. responses:
  24543. "200":
  24544. description: OK
  24545. schema:
  24546. items:
  24547. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  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/QueryBankAccountSign:
  24559. get:
  24560. parameters:
  24561. - description: 用户ID
  24562. in: query
  24563. name: userid
  24564. required: true
  24565. type: integer
  24566. produces:
  24567. - application/json
  24568. responses:
  24569. "200":
  24570. description: OK
  24571. schema:
  24572. items:
  24573. $ref: '#/definitions/models.QhjBankAccountSign'
  24574. type: array
  24575. "500":
  24576. description: Internal Server Error
  24577. schema:
  24578. $ref: '#/definitions/app.Response'
  24579. security:
  24580. - ApiKeyAuth: []
  24581. summary: 查询签约银行信息(提现账户管理)
  24582. tags:
  24583. - 大连千海金
  24584. /Qhj/QueryBankInfo:
  24585. get:
  24586. produces:
  24587. - application/json
  24588. responses:
  24589. "200":
  24590. description: OK
  24591. schema:
  24592. items:
  24593. $ref: '#/definitions/models.QhjBankInfo'
  24594. type: array
  24595. "500":
  24596. description: Internal Server Error
  24597. schema:
  24598. $ref: '#/definitions/app.Response'
  24599. security:
  24600. - ApiKeyAuth: []
  24601. summary: 查询开户行
  24602. tags:
  24603. - 大连千海金
  24604. /Qhj/QueryBrokerApply:
  24605. get:
  24606. parameters:
  24607. - description: 所属机构ID
  24608. in: query
  24609. name: userid
  24610. type: integer
  24611. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  24612. in: query
  24613. name: filterstatus
  24614. type: string
  24615. produces:
  24616. - application/json
  24617. responses:
  24618. "200":
  24619. description: OK
  24620. schema:
  24621. items:
  24622. $ref: '#/definitions/models.QhjBrokerApply'
  24623. type: array
  24624. "500":
  24625. description: Internal Server Error
  24626. schema:
  24627. $ref: '#/definitions/app.Response'
  24628. security:
  24629. - ApiKeyAuth: []
  24630. summary: 查询经纪人申请
  24631. tags:
  24632. - 大连千海金
  24633. /Qhj/QueryBrokerApplyEx:
  24634. get:
  24635. parameters:
  24636. - description: 所属机构ID
  24637. in: query
  24638. name: userid
  24639. type: integer
  24640. produces:
  24641. - application/json
  24642. responses:
  24643. "200":
  24644. description: OK
  24645. schema:
  24646. items:
  24647. $ref: '#/definitions/models.QhjBrokerApplyEx'
  24648. type: array
  24649. "500":
  24650. description: Internal Server Error
  24651. schema:
  24652. $ref: '#/definitions/app.Response'
  24653. security:
  24654. - ApiKeyAuth: []
  24655. summary: 查询经纪人信息和申请记录
  24656. tags:
  24657. - 大连千海金
  24658. /Qhj/QueryBrokerRewardLog:
  24659. get:
  24660. parameters:
  24661. - description: 用户ID
  24662. in: query
  24663. name: userid
  24664. required: true
  24665. type: integer
  24666. - description: 开始交易日(yyyymmdd)
  24667. in: query
  24668. name: begindate
  24669. type: string
  24670. - description: 结束交易日(yyyymmdd)
  24671. in: query
  24672. name: enddate
  24673. type: string
  24674. produces:
  24675. - application/json
  24676. responses:
  24677. "200":
  24678. description: OK
  24679. schema:
  24680. items:
  24681. $ref: '#/definitions/models.QhjBrokerRewardLog'
  24682. type: array
  24683. "500":
  24684. description: Internal Server Error
  24685. schema:
  24686. $ref: '#/definitions/app.Response'
  24687. security:
  24688. - ApiKeyAuth: []
  24689. summary: 查询奖励流水(我的奖励)
  24690. tags:
  24691. - 大连千海金
  24692. /Qhj/QueryContract:
  24693. get:
  24694. parameters:
  24695. - description: 用户ID
  24696. in: query
  24697. name: userid
  24698. type: integer
  24699. - description: scf合同id
  24700. in: query
  24701. name: scfcontractid
  24702. type: integer
  24703. produces:
  24704. - application/json
  24705. responses:
  24706. "200":
  24707. description: OK
  24708. schema:
  24709. items:
  24710. $ref: '#/definitions/models.QhjContract'
  24711. type: array
  24712. "500":
  24713. description: Internal Server Error
  24714. schema:
  24715. $ref: '#/definitions/app.Response'
  24716. security:
  24717. - ApiKeyAuth: []
  24718. summary: 查询融资明细(合同)
  24719. tags:
  24720. - 大连千海金
  24721. /Qhj/QueryContractLog:
  24722. get:
  24723. parameters:
  24724. - description: scf合同id
  24725. in: query
  24726. name: scfcontractid
  24727. required: true
  24728. type: integer
  24729. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  24730. in: query
  24731. name: amounttype
  24732. type: string
  24733. produces:
  24734. - application/json
  24735. responses:
  24736. "200":
  24737. description: OK
  24738. schema:
  24739. items:
  24740. $ref: '#/definitions/models.QhjContractLog'
  24741. type: array
  24742. "500":
  24743. description: Internal Server Error
  24744. schema:
  24745. $ref: '#/definitions/app.Response'
  24746. security:
  24747. - ApiKeyAuth: []
  24748. summary: 查询融资明细流水(融资明细详情页中的流水)
  24749. tags:
  24750. - 大连千海金
  24751. /Qhj/QueryCusBankSignBank:
  24752. get:
  24753. produces:
  24754. - application/json
  24755. responses:
  24756. "200":
  24757. description: OK
  24758. schema:
  24759. items:
  24760. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  24761. type: array
  24762. "500":
  24763. description: Internal Server Error
  24764. schema:
  24765. $ref: '#/definitions/app.Response'
  24766. security:
  24767. - ApiKeyAuth: []
  24768. summary: 查询托管银行
  24769. tags:
  24770. - 大连千海金
  24771. /Qhj/QueryCustomerInfo:
  24772. get:
  24773. parameters:
  24774. - description: 用户ID
  24775. in: query
  24776. name: userid
  24777. required: true
  24778. type: integer
  24779. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  24780. in: query
  24781. name: querytype
  24782. required: true
  24783. type: integer
  24784. - description: 客户类型 1-个人 2-企业
  24785. in: query
  24786. name: userinfotype
  24787. type: integer
  24788. - description: 客户名称(模糊匹配)
  24789. in: query
  24790. name: customername
  24791. type: string
  24792. - description: 昵称(模糊匹配)
  24793. in: query
  24794. name: nickname
  24795. type: string
  24796. - description: 是否包含子级 1-包含
  24797. in: query
  24798. name: includesub
  24799. type: integer
  24800. produces:
  24801. - application/json
  24802. responses:
  24803. "200":
  24804. description: OK
  24805. schema:
  24806. items:
  24807. $ref: '#/definitions/models.QhjCustomer'
  24808. type: array
  24809. "500":
  24810. description: Internal Server Error
  24811. schema:
  24812. $ref: '#/definitions/app.Response'
  24813. security:
  24814. - ApiKeyAuth: []
  24815. summary: 查询客户资料
  24816. tags:
  24817. - 大连千海金
  24818. /Qhj/QueryGoodsEx:
  24819. get:
  24820. parameters:
  24821. - description: 商品id
  24822. in: query
  24823. name: goodsid
  24824. type: integer
  24825. produces:
  24826. - application/json
  24827. responses:
  24828. "200":
  24829. description: OK
  24830. schema:
  24831. items:
  24832. $ref: '#/definitions/models.Qhjgoodsex'
  24833. type: array
  24834. "500":
  24835. description: Internal Server Error
  24836. schema:
  24837. $ref: '#/definitions/app.Response'
  24838. security:
  24839. - ApiKeyAuth: []
  24840. summary: 交易商品扩展表
  24841. tags:
  24842. - 大连千海金
  24843. /Qhj/QueryMyTeam:
  24844. get:
  24845. parameters:
  24846. - description: 用户ID
  24847. in: query
  24848. name: userid
  24849. required: true
  24850. type: integer
  24851. produces:
  24852. - application/json
  24853. responses:
  24854. "200":
  24855. description: OK
  24856. schema:
  24857. items:
  24858. $ref: '#/definitions/models.QhjMyTeamEx'
  24859. type: array
  24860. "500":
  24861. description: Internal Server Error
  24862. schema:
  24863. $ref: '#/definitions/app.Response'
  24864. security:
  24865. - ApiKeyAuth: []
  24866. summary: 查询我的团队
  24867. tags:
  24868. - 大连千海金
  24869. /Qhj/QueryMyTeamOrder:
  24870. get:
  24871. parameters:
  24872. - description: 页码
  24873. in: query
  24874. name: page
  24875. type: integer
  24876. - description: 每页条数
  24877. in: query
  24878. name: pagesize
  24879. type: integer
  24880. - description: 用户ID
  24881. in: query
  24882. name: userid
  24883. required: true
  24884. type: integer
  24885. - description: 交易模式
  24886. in: query
  24887. name: trademode
  24888. type: integer
  24889. - description: 名称(模糊搜索账户)
  24890. in: query
  24891. name: filtername
  24892. type: string
  24893. produces:
  24894. - application/json
  24895. responses:
  24896. "200":
  24897. description: OK
  24898. schema:
  24899. items:
  24900. $ref: '#/definitions/models.QhjTeamOrder'
  24901. type: array
  24902. "500":
  24903. description: Internal Server Error
  24904. schema:
  24905. $ref: '#/definitions/app.Response'
  24906. security:
  24907. - ApiKeyAuth: []
  24908. summary: 查询团队订单(我的团队/团队订单)
  24909. tags:
  24910. - 大连千海金
  24911. /Qhj/QueryParentAreaList:
  24912. get:
  24913. parameters:
  24914. - description: 用户ID
  24915. in: query
  24916. name: userid
  24917. required: true
  24918. type: integer
  24919. produces:
  24920. - application/json
  24921. responses:
  24922. "200":
  24923. description: OK
  24924. schema:
  24925. items:
  24926. $ref: '#/definitions/models.QhjParentAreaList'
  24927. type: array
  24928. "500":
  24929. description: Internal Server Error
  24930. schema:
  24931. $ref: '#/definitions/app.Response'
  24932. security:
  24933. - ApiKeyAuth: []
  24934. summary: 查询所属机构列表
  24935. tags:
  24936. - 大连千海金
  24937. /Qhj/QueryPayOrder:
  24938. get:
  24939. parameters:
  24940. - description: 资金账号id
  24941. in: query
  24942. name: accountid
  24943. required: true
  24944. type: integer
  24945. - description: 成交单号
  24946. in: query
  24947. name: tradeid
  24948. type: integer
  24949. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  24950. in: query
  24951. name: payflag
  24952. type: string
  24953. produces:
  24954. - application/json
  24955. responses:
  24956. "200":
  24957. description: OK
  24958. schema:
  24959. items:
  24960. $ref: '#/definitions/models.QhjPayOrder'
  24961. type: array
  24962. "500":
  24963. description: Internal Server Error
  24964. schema:
  24965. $ref: '#/definitions/app.Response'
  24966. security:
  24967. - ApiKeyAuth: []
  24968. summary: 查询待付款单据
  24969. tags:
  24970. - 大连千海金
  24971. /Qhj/QueryPickArea:
  24972. get:
  24973. parameters:
  24974. - description: 用户ID
  24975. in: query
  24976. name: userid
  24977. type: integer
  24978. produces:
  24979. - application/json
  24980. responses:
  24981. "200":
  24982. description: OK
  24983. schema:
  24984. items:
  24985. $ref: '#/definitions/models.QhjPickArea'
  24986. type: array
  24987. "500":
  24988. description: Internal Server Error
  24989. schema:
  24990. $ref: '#/definitions/app.Response'
  24991. security:
  24992. - ApiKeyAuth: []
  24993. summary: 查询提货门店
  24994. tags:
  24995. - 大连千海金
  24996. /Qhj/QueryPickGoods:
  24997. get:
  24998. parameters:
  24999. - description: 交易商品id
  25000. in: query
  25001. name: goodsid
  25002. required: true
  25003. type: integer
  25004. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  25005. in: query
  25006. name: status
  25007. type: string
  25008. produces:
  25009. - application/json
  25010. responses:
  25011. "200":
  25012. description: OK
  25013. schema:
  25014. items:
  25015. $ref: '#/definitions/models.QhjPickGoods'
  25016. type: array
  25017. "500":
  25018. description: Internal Server Error
  25019. schema:
  25020. $ref: '#/definitions/app.Response'
  25021. security:
  25022. - ApiKeyAuth: []
  25023. summary: 查询提货商品
  25024. tags:
  25025. - 大连千海金
  25026. /Qhj/QueryRSTriggerLog:
  25027. get:
  25028. parameters:
  25029. - description: 用户ID
  25030. in: query
  25031. name: userid
  25032. type: integer
  25033. - description: 定投策略id
  25034. in: query
  25035. name: regularlystrategyid
  25036. type: integer
  25037. - description: 商品id
  25038. in: query
  25039. name: goodsid
  25040. type: integer
  25041. - description: 开始交易日(yyyymmdd)
  25042. in: query
  25043. name: begindate
  25044. type: string
  25045. - description: 结束交易日(yyyymmdd)
  25046. in: query
  25047. name: enddate
  25048. type: string
  25049. - description: 名称(模糊搜索账户)
  25050. in: query
  25051. name: filtername
  25052. type: string
  25053. produces:
  25054. - application/json
  25055. responses:
  25056. "200":
  25057. description: OK
  25058. schema:
  25059. items:
  25060. $ref: '#/definitions/models.QhjRSTriggerLog'
  25061. type: array
  25062. "500":
  25063. description: Internal Server Error
  25064. schema:
  25065. $ref: '#/definitions/app.Response'
  25066. security:
  25067. - ApiKeyAuth: []
  25068. summary: 查询定投记录(定投管理/详情/定投记录)
  25069. tags:
  25070. - 大连千海金
  25071. /Qhj/QueryRStrategy:
  25072. get:
  25073. parameters:
  25074. - description: 用户ID
  25075. in: query
  25076. name: userid
  25077. type: integer
  25078. - description: 商品id
  25079. in: query
  25080. name: goodsid
  25081. type: integer
  25082. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  25083. in: query
  25084. name: status
  25085. type: string
  25086. - description: 名称(模糊搜索账户)
  25087. in: query
  25088. name: filtername
  25089. type: string
  25090. produces:
  25091. - application/json
  25092. responses:
  25093. "200":
  25094. description: OK
  25095. schema:
  25096. items:
  25097. $ref: '#/definitions/models.QhjRStrategy'
  25098. type: array
  25099. "500":
  25100. description: Internal Server Error
  25101. schema:
  25102. $ref: '#/definitions/app.Response'
  25103. security:
  25104. - ApiKeyAuth: []
  25105. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  25106. tags:
  25107. - 大连千海金
  25108. /Qhj/QueryReckonPriceLog:
  25109. get:
  25110. parameters:
  25111. - description: 商品ID
  25112. in: query
  25113. name: goodsid
  25114. type: integer
  25115. - description: 交易日 格式(yyyymmdd)
  25116. in: query
  25117. name: tradedate
  25118. type: string
  25119. produces:
  25120. - application/json
  25121. responses:
  25122. "200":
  25123. description: OK
  25124. schema:
  25125. items:
  25126. $ref: '#/definitions/models.QhjReckonPriceLog'
  25127. type: array
  25128. "500":
  25129. description: Internal Server Error
  25130. schema:
  25131. $ref: '#/definitions/app.Response'
  25132. security:
  25133. - ApiKeyAuth: []
  25134. summary: 查询定投价(结算价)
  25135. tags:
  25136. - 大连千海金
  25137. /Qhj/QueryScoreLog:
  25138. get:
  25139. parameters:
  25140. - description: 用户ID
  25141. in: query
  25142. name: userid
  25143. required: true
  25144. type: integer
  25145. - description: 开始交易日(yyyymmdd)
  25146. in: query
  25147. name: begindate
  25148. type: string
  25149. - description: 结束交易日(yyyymmdd)
  25150. in: query
  25151. name: enddate
  25152. type: string
  25153. - description: 最近多少条
  25154. in: query
  25155. name: lastnum
  25156. type: integer
  25157. produces:
  25158. - application/json
  25159. responses:
  25160. "200":
  25161. description: OK
  25162. schema:
  25163. items:
  25164. $ref: '#/definitions/models.QhjScoreLog'
  25165. type: array
  25166. "500":
  25167. description: Internal Server Error
  25168. schema:
  25169. $ref: '#/definitions/app.Response'
  25170. security:
  25171. - ApiKeyAuth: []
  25172. summary: 查询积分流水(我的积分)
  25173. tags:
  25174. - 大连千海金
  25175. /Qhj/QuerySiteColumnDetail:
  25176. get:
  25177. parameters:
  25178. - description: 用户ID
  25179. in: query
  25180. name: userid
  25181. required: true
  25182. type: integer
  25183. produces:
  25184. - application/json
  25185. responses:
  25186. "200":
  25187. description: OK
  25188. schema:
  25189. items:
  25190. $ref: '#/definitions/models.QhjSiteColumnDetail'
  25191. type: array
  25192. "500":
  25193. description: Internal Server Error
  25194. schema:
  25195. $ref: '#/definitions/app.Response'
  25196. security:
  25197. - ApiKeyAuth: []
  25198. summary: 查询资讯
  25199. tags:
  25200. - 大连千海金
  25201. /Qhj/QueryTradeGoodsPickup:
  25202. get:
  25203. parameters:
  25204. - description: 用户ID
  25205. in: query
  25206. name: userid
  25207. required: true
  25208. type: integer
  25209. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  25210. 7:已拒绝 8:已撤销
  25211. in: query
  25212. name: takeorderstatus
  25213. type: integer
  25214. produces:
  25215. - application/json
  25216. responses:
  25217. "200":
  25218. description: OK
  25219. schema:
  25220. items:
  25221. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  25222. type: array
  25223. "500":
  25224. description: Internal Server Error
  25225. schema:
  25226. $ref: '#/definitions/app.Response'
  25227. security:
  25228. - ApiKeyAuth: []
  25229. summary: 查询提货
  25230. tags:
  25231. - 大连千海金
  25232. /Qhj/QueryUserCollectConfig:
  25233. get:
  25234. parameters:
  25235. - description: 用户ID
  25236. in: query
  25237. name: userid
  25238. required: true
  25239. type: integer
  25240. produces:
  25241. - application/json
  25242. responses:
  25243. "200":
  25244. description: OK
  25245. schema:
  25246. items:
  25247. $ref: '#/definitions/models.UserCollectConfig'
  25248. type: array
  25249. "500":
  25250. description: Internal Server Error
  25251. schema:
  25252. $ref: '#/definitions/app.Response'
  25253. security:
  25254. - ApiKeyAuth: []
  25255. summary: 查询提现账户设置
  25256. tags:
  25257. - 大连千海金
  25258. /Qhj/QueryUserReceiveInfo:
  25259. get:
  25260. parameters:
  25261. - description: 用户ID
  25262. in: query
  25263. name: userid
  25264. required: true
  25265. type: integer
  25266. produces:
  25267. - application/json
  25268. responses:
  25269. "200":
  25270. description: OK
  25271. schema:
  25272. items:
  25273. $ref: '#/definitions/models.UserReceiveInfo'
  25274. type: array
  25275. "500":
  25276. description: Internal Server Error
  25277. schema:
  25278. $ref: '#/definitions/app.Response'
  25279. security:
  25280. - ApiKeyAuth: []
  25281. summary: 查询收货地址信息
  25282. tags:
  25283. - 大连千海金
  25284. /QhjMgr/QueryAccountInOutApply:
  25285. get:
  25286. parameters:
  25287. - description: 查询类型 1-提现(出金) 2-充值(出金)
  25288. in: query
  25289. name: querytype
  25290. required: true
  25291. type: integer
  25292. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  25293. in: query
  25294. name: applystatus
  25295. type: integer
  25296. - description: 申请起始日期(格式yyyymmdd)
  25297. in: query
  25298. name: begindate
  25299. type: string
  25300. - description: 申请截止日期(格式yyyymmdd)
  25301. in: query
  25302. name: enddate
  25303. type: string
  25304. - description: 模糊搜索名称
  25305. in: query
  25306. name: likename
  25307. type: string
  25308. produces:
  25309. - application/json
  25310. responses:
  25311. "200":
  25312. description: OK
  25313. schema:
  25314. items:
  25315. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  25316. type: array
  25317. "500":
  25318. description: Internal Server Error
  25319. schema:
  25320. $ref: '#/definitions/app.Response'
  25321. security:
  25322. - ApiKeyAuth: []
  25323. summary: 查询充值提现
  25324. tags:
  25325. - 大连千海金(PCWeb)
  25326. /QhjMgr/QueryBrokerApply:
  25327. get:
  25328. parameters:
  25329. - description: 所属机构ID
  25330. in: query
  25331. name: userid
  25332. type: integer
  25333. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  25334. in: query
  25335. name: filterstatus
  25336. type: string
  25337. - description: 名称(模糊匹配)
  25338. in: query
  25339. name: filtername
  25340. type: string
  25341. - description: 是否包含子级 1-包含
  25342. in: query
  25343. name: includesub
  25344. type: integer
  25345. produces:
  25346. - application/json
  25347. responses:
  25348. "200":
  25349. description: OK
  25350. schema:
  25351. items:
  25352. $ref: '#/definitions/models.QhjMgrBrokerApply'
  25353. type: array
  25354. "500":
  25355. description: Internal Server Error
  25356. schema:
  25357. $ref: '#/definitions/app.Response'
  25358. security:
  25359. - ApiKeyAuth: []
  25360. summary: 查询经纪人申请
  25361. tags:
  25362. - 大连千海金(PCWeb)
  25363. /QhjMgr/QueryBrokerRewardReport:
  25364. get:
  25365. parameters:
  25366. - description: 所属机构ID
  25367. in: query
  25368. name: userid
  25369. required: true
  25370. type: integer
  25371. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  25372. in: query
  25373. name: cycletype
  25374. required: true
  25375. type: integer
  25376. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  25377. in: query
  25378. name: cycletime
  25379. required: true
  25380. type: string
  25381. - description: 名称(模糊匹配)
  25382. in: query
  25383. name: filtername
  25384. type: string
  25385. - description: 是否包含子级 1-包含
  25386. in: query
  25387. name: includesub
  25388. type: integer
  25389. produces:
  25390. - application/json
  25391. responses:
  25392. "200":
  25393. description: OK
  25394. schema:
  25395. items:
  25396. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  25397. type: array
  25398. "500":
  25399. description: Internal Server Error
  25400. schema:
  25401. $ref: '#/definitions/app.Response'
  25402. security:
  25403. - ApiKeyAuth: []
  25404. summary: 查询经纪人奖励报表(废弃)
  25405. tags:
  25406. - 大连千海金(PCWeb)
  25407. /QhjMgr/QueryContract:
  25408. get:
  25409. parameters:
  25410. - description: 用户ID
  25411. in: query
  25412. name: userid
  25413. type: integer
  25414. - description: 商品id
  25415. in: query
  25416. name: goodsid
  25417. type: integer
  25418. - description: 名称(模糊搜索账户)
  25419. in: query
  25420. name: filtername
  25421. type: string
  25422. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  25423. in: query
  25424. name: risklevel
  25425. type: string
  25426. - description: 开始交易日(yyyymmdd)
  25427. in: query
  25428. name: begindate
  25429. type: string
  25430. - description: 结束交易日(yyyymmdd)
  25431. in: query
  25432. name: enddate
  25433. type: string
  25434. produces:
  25435. - application/json
  25436. responses:
  25437. "200":
  25438. description: OK
  25439. schema:
  25440. items:
  25441. $ref: '#/definitions/models.QhjMgrContract'
  25442. type: array
  25443. "500":
  25444. description: Internal Server Error
  25445. schema:
  25446. $ref: '#/definitions/app.Response'
  25447. security:
  25448. - ApiKeyAuth: []
  25449. summary: 查询融资信息(合同)
  25450. tags:
  25451. - 大连千海金(PCWeb)
  25452. /QhjMgr/QueryCustomerInfo:
  25453. get:
  25454. parameters:
  25455. - description: 用户ID
  25456. in: query
  25457. name: userid
  25458. required: true
  25459. type: integer
  25460. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  25461. in: query
  25462. name: querytype
  25463. required: true
  25464. type: integer
  25465. - description: 客户类型 1-个人 2-企业
  25466. in: query
  25467. name: userinfotype
  25468. type: integer
  25469. - description: 客户名称(模糊匹配)
  25470. in: query
  25471. name: customername
  25472. type: string
  25473. - description: 昵称(模糊匹配)
  25474. in: query
  25475. name: nickname
  25476. type: string
  25477. - description: 所属客户经理(模糊匹配)
  25478. in: query
  25479. name: brokername
  25480. type: string
  25481. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd,
  25482. 如0503 -5月3日)
  25483. in: query
  25484. name: birthday
  25485. type: string
  25486. - description: 是否包含子级 1-包含
  25487. in: query
  25488. name: includesub
  25489. type: integer
  25490. produces:
  25491. - application/json
  25492. responses:
  25493. "200":
  25494. description: OK
  25495. schema:
  25496. items:
  25497. $ref: '#/definitions/models.QhjMgrCustomer'
  25498. type: array
  25499. "500":
  25500. description: Internal Server Error
  25501. schema:
  25502. $ref: '#/definitions/app.Response'
  25503. security:
  25504. - ApiKeyAuth: []
  25505. summary: 查询客户资料
  25506. tags:
  25507. - 大连千海金(PCWeb)
  25508. /QhjMgr/QueryPickGoods:
  25509. get:
  25510. parameters:
  25511. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  25512. in: query
  25513. name: status
  25514. type: string
  25515. produces:
  25516. - application/json
  25517. responses:
  25518. "200":
  25519. description: OK
  25520. schema:
  25521. items:
  25522. $ref: '#/definitions/models.QhjMgrPickGoods'
  25523. type: array
  25524. "500":
  25525. description: Internal Server Error
  25526. schema:
  25527. $ref: '#/definitions/app.Response'
  25528. security:
  25529. - ApiKeyAuth: []
  25530. summary: 查询提货商品
  25531. tags:
  25532. - 大连千海金(PCWeb)
  25533. /QhjMgr/QuerySubArea:
  25534. get:
  25535. parameters:
  25536. - description: 用户ID
  25537. in: query
  25538. name: userid
  25539. required: true
  25540. type: integer
  25541. produces:
  25542. - application/json
  25543. responses:
  25544. "200":
  25545. description: OK
  25546. schema:
  25547. items:
  25548. $ref: '#/definitions/models.QhjMgrSubArea'
  25549. type: array
  25550. "500":
  25551. description: Internal Server Error
  25552. schema:
  25553. $ref: '#/definitions/app.Response'
  25554. security:
  25555. - ApiKeyAuth: []
  25556. summary: 查询子机构列表
  25557. tags:
  25558. - 大连千海金(PCWeb)
  25559. /QhjMgr/QueryTradeDetail:
  25560. get:
  25561. parameters:
  25562. - description: 用户ID
  25563. in: query
  25564. name: userid
  25565. required: true
  25566. type: integer
  25567. - description: 用户类型 1-个人 2-企业
  25568. in: query
  25569. name: userinfotype
  25570. type: integer
  25571. - description: 交易模式
  25572. in: query
  25573. name: trademode
  25574. type: integer
  25575. - description: 商品id
  25576. in: query
  25577. name: goodsid
  25578. type: integer
  25579. - description: 名称(模糊搜索账户)
  25580. in: query
  25581. name: filtername
  25582. type: string
  25583. - description: 开始交易日(yyyymmdd)
  25584. in: query
  25585. name: begindate
  25586. type: string
  25587. - description: 结束交易日(yyyymmdd)
  25588. in: query
  25589. name: enddate
  25590. type: string
  25591. - description: 是否包含子级 1-包含
  25592. in: query
  25593. name: includesub
  25594. type: integer
  25595. produces:
  25596. - application/json
  25597. responses:
  25598. "200":
  25599. description: OK
  25600. schema:
  25601. items:
  25602. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  25603. type: array
  25604. "500":
  25605. description: Internal Server Error
  25606. schema:
  25607. $ref: '#/definitions/app.Response'
  25608. security:
  25609. - ApiKeyAuth: []
  25610. summary: 查询成交明细
  25611. tags:
  25612. - 大连千海金(PCWeb)
  25613. /QhjMgr/QueryTradeOrderDetail:
  25614. get:
  25615. parameters:
  25616. - description: 用户ID
  25617. in: query
  25618. name: userid
  25619. required: true
  25620. type: integer
  25621. - description: 用户类型 1-个人 2-企业
  25622. in: query
  25623. name: userinfotype
  25624. type: integer
  25625. - description: 交易模式
  25626. in: query
  25627. name: trademode
  25628. type: integer
  25629. - description: 商品id
  25630. in: query
  25631. name: goodsid
  25632. type: integer
  25633. - description: 名称(模糊搜索账户)
  25634. in: query
  25635. name: filtername
  25636. type: string
  25637. - description: 开始交易日(yyyymmdd)
  25638. in: query
  25639. name: begindate
  25640. type: string
  25641. - description: 结束交易日(yyyymmdd)
  25642. in: query
  25643. name: enddate
  25644. type: string
  25645. - description: 是否包含子级 1-包含
  25646. in: query
  25647. name: includesub
  25648. type: integer
  25649. produces:
  25650. - application/json
  25651. responses:
  25652. "200":
  25653. description: OK
  25654. schema:
  25655. items:
  25656. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  25657. type: array
  25658. "500":
  25659. description: Internal Server Error
  25660. schema:
  25661. $ref: '#/definitions/app.Response'
  25662. security:
  25663. - ApiKeyAuth: []
  25664. summary: 查询委托明细
  25665. tags:
  25666. - 大连千海金(PCWeb)
  25667. /QhjMgr/QueryTradePayOrder:
  25668. get:
  25669. parameters:
  25670. - description: 用户ID
  25671. in: query
  25672. name: userid
  25673. required: true
  25674. type: integer
  25675. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  25676. in: query
  25677. name: payflag
  25678. type: string
  25679. - description: 用户类型 1-个人 2-企业
  25680. in: query
  25681. name: userinfotype
  25682. type: integer
  25683. - description: 交易模式
  25684. in: query
  25685. name: trademode
  25686. type: integer
  25687. - description: 商品id
  25688. in: query
  25689. name: goodsid
  25690. type: integer
  25691. - description: 名称(模糊搜索账户)
  25692. in: query
  25693. name: filtername
  25694. type: string
  25695. - description: 开始交易日(yyyymmdd)
  25696. in: query
  25697. name: begindate
  25698. type: string
  25699. - description: 结束交易日(yyyymmdd)
  25700. in: query
  25701. name: enddate
  25702. type: string
  25703. - description: 是否包含子级 1-包含
  25704. in: query
  25705. name: includesub
  25706. type: integer
  25707. produces:
  25708. - application/json
  25709. responses:
  25710. "200":
  25711. description: OK
  25712. schema:
  25713. items:
  25714. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  25715. type: array
  25716. "500":
  25717. description: Internal Server Error
  25718. schema:
  25719. $ref: '#/definitions/app.Response'
  25720. security:
  25721. - ApiKeyAuth: []
  25722. summary: 查询待付款单
  25723. tags:
  25724. - 大连千海金(PCWeb)
  25725. /QhjMgr/QueryTradePosition:
  25726. get:
  25727. parameters:
  25728. - description: 用户ID
  25729. in: query
  25730. name: userid
  25731. required: true
  25732. type: integer
  25733. - description: 用户类型 1-个人 2-企业
  25734. in: query
  25735. name: userinfotype
  25736. type: integer
  25737. - description: 交易模式
  25738. in: query
  25739. name: trademode
  25740. type: integer
  25741. - description: 商品id
  25742. in: query
  25743. name: goodsid
  25744. type: integer
  25745. - description: 名称(模糊搜索账户)
  25746. in: query
  25747. name: filtername
  25748. type: string
  25749. - description: 是否包含子级 1-包含
  25750. in: query
  25751. name: includesub
  25752. type: integer
  25753. produces:
  25754. - application/json
  25755. responses:
  25756. "200":
  25757. description: OK
  25758. schema:
  25759. items:
  25760. $ref: '#/definitions/models.QhjMgrPositionRsp'
  25761. type: array
  25762. "500":
  25763. description: Internal Server Error
  25764. schema:
  25765. $ref: '#/definitions/app.Response'
  25766. security:
  25767. - ApiKeyAuth: []
  25768. summary: 查询持仓汇总
  25769. tags:
  25770. - 大连千海金(PCWeb)
  25771. /QhjSys/QueryAgreementChangeLog:
  25772. get:
  25773. parameters:
  25774. - description: 协议ID
  25775. in: query
  25776. name: agreementid
  25777. type: integer
  25778. - description: 协议版本号
  25779. in: query
  25780. name: agreementversion
  25781. type: integer
  25782. - description: 协议类型 - 1:注册 2:登录 3:交易
  25783. in: query
  25784. name: agreementtype
  25785. type: integer
  25786. - description: 协议编号(模糊匹配)
  25787. in: query
  25788. name: agreementno
  25789. type: string
  25790. - description: 协议名称(模糊匹配)
  25791. in: query
  25792. name: agreementname
  25793. type: string
  25794. produces:
  25795. - application/json
  25796. responses:
  25797. "200":
  25798. description: OK
  25799. schema:
  25800. items:
  25801. $ref: '#/definitions/models.QhjAgreementChangeLog'
  25802. type: array
  25803. "500":
  25804. description: Internal Server Error
  25805. schema:
  25806. $ref: '#/definitions/app.Response'
  25807. security:
  25808. - ApiKeyAuth: []
  25809. summary: 查询协议配置变更流水
  25810. tags:
  25811. - 大连千海金(协议和签约信息)
  25812. /QhjSys/QueryAgreementConfig:
  25813. get:
  25814. parameters:
  25815. - description: 协议ID
  25816. in: query
  25817. name: agreementid
  25818. type: integer
  25819. - description: 协议版本号
  25820. in: query
  25821. name: agreementversion
  25822. type: integer
  25823. - description: 协议类型 - 1:注册 2:登录 3:交易
  25824. in: query
  25825. name: agreementtype
  25826. type: integer
  25827. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  25828. in: query
  25829. name: isvalid
  25830. type: integer
  25831. - description: 协议编号(模糊匹配)
  25832. in: query
  25833. name: agreementno
  25834. type: string
  25835. - description: 协议名称(模糊匹配)
  25836. in: query
  25837. name: agreementname
  25838. type: string
  25839. produces:
  25840. - application/json
  25841. responses:
  25842. "200":
  25843. description: OK
  25844. schema:
  25845. items:
  25846. $ref: '#/definitions/models.QhjAgreementConfig'
  25847. type: array
  25848. "500":
  25849. description: Internal Server Error
  25850. schema:
  25851. $ref: '#/definitions/app.Response'
  25852. security:
  25853. - ApiKeyAuth: []
  25854. summary: 查询协议配置
  25855. tags:
  25856. - 大连千海金(协议和签约信息)
  25857. /QhjSys/QueryCustomerSignStatus:
  25858. get:
  25859. parameters:
  25860. - description: 客户ID
  25861. in: query
  25862. name: userid
  25863. type: integer
  25864. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  25865. in: query
  25866. name: nodetype
  25867. type: integer
  25868. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25869. in: query
  25870. name: goodsid
  25871. type: integer
  25872. - description: 创建交易日(yyyyMMdd)
  25873. in: query
  25874. name: tradedate
  25875. type: string
  25876. - description: 用户名称(模糊匹配)
  25877. in: query
  25878. name: username
  25879. type: string
  25880. produces:
  25881. - application/json
  25882. responses:
  25883. "200":
  25884. description: OK
  25885. schema:
  25886. items:
  25887. $ref: '#/definitions/models.QhjCustomerSignStatus'
  25888. type: array
  25889. "500":
  25890. description: Internal Server Error
  25891. schema:
  25892. $ref: '#/definitions/app.Response'
  25893. security:
  25894. - ApiKeyAuth: []
  25895. summary: 查询客户协议签约状态
  25896. tags:
  25897. - 大连千海金(协议和签约信息)
  25898. /QhjSys/QueryNodeAgreementConfig:
  25899. get:
  25900. parameters:
  25901. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  25902. in: query
  25903. name: configid
  25904. type: integer
  25905. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25906. in: query
  25907. name: nodetype
  25908. type: integer
  25909. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25910. in: query
  25911. name: goodsid
  25912. type: integer
  25913. - description: 协议ID
  25914. in: query
  25915. name: agreementid
  25916. type: integer
  25917. - description: 协议类型 - 1:注册 2:登录 3:交易
  25918. in: query
  25919. name: agreementtype
  25920. type: integer
  25921. - description: 协议版本号
  25922. in: query
  25923. name: agreementversion
  25924. type: integer
  25925. - description: 协议编号(模糊匹配)
  25926. in: query
  25927. name: agreementno
  25928. type: string
  25929. - description: 协议名称(模糊匹配)
  25930. in: query
  25931. name: agreementname
  25932. type: string
  25933. produces:
  25934. - application/json
  25935. responses:
  25936. "200":
  25937. description: OK
  25938. schema:
  25939. items:
  25940. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  25941. type: array
  25942. "500":
  25943. description: Internal Server Error
  25944. schema:
  25945. $ref: '#/definitions/app.Response'
  25946. security:
  25947. - ApiKeyAuth: []
  25948. summary: 查询协议节点配置
  25949. tags:
  25950. - 大连千海金(协议和签约信息)
  25951. /QhjSys/QueryQhjCustomerSignLog:
  25952. get:
  25953. parameters:
  25954. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  25955. in: query
  25956. name: logid
  25957. type: integer
  25958. - description: 客户ID
  25959. in: query
  25960. name: userid
  25961. type: integer
  25962. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  25963. in: query
  25964. name: nodetype
  25965. type: integer
  25966. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  25967. in: query
  25968. name: goodsid
  25969. type: integer
  25970. - description: 协议ID
  25971. in: query
  25972. name: agreementid
  25973. type: integer
  25974. - description: 用户名称(模糊匹配)
  25975. in: query
  25976. name: username
  25977. type: string
  25978. - description: 协议编号(模糊匹配)
  25979. in: query
  25980. name: agreementno
  25981. type: string
  25982. - description: 协议名称(模糊匹配)
  25983. in: query
  25984. name: agreementname
  25985. type: string
  25986. produces:
  25987. - application/json
  25988. responses:
  25989. "200":
  25990. description: OK
  25991. schema:
  25992. items:
  25993. $ref: '#/definitions/models.QhjCustomerSignLog'
  25994. type: array
  25995. "500":
  25996. description: Internal Server Error
  25997. schema:
  25998. $ref: '#/definitions/app.Response'
  25999. security:
  26000. - ApiKeyAuth: []
  26001. summary: 查询客户协议签约流水
  26002. tags:
  26003. - 大连千海金(协议和签约信息)
  26004. /QhjSys/QueryUserNodeCfgAndStatus:
  26005. get:
  26006. parameters:
  26007. - description: 客户ID
  26008. in: query
  26009. name: userid
  26010. type: integer
  26011. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  26012. in: query
  26013. name: configid
  26014. type: integer
  26015. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  26016. in: query
  26017. name: nodetype
  26018. type: string
  26019. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  26020. in: query
  26021. name: goodsid
  26022. type: integer
  26023. - description: 协议ID
  26024. in: query
  26025. name: agreementid
  26026. type: integer
  26027. - description: 协议类型 - 1:注册 2:登录 3:交易
  26028. in: query
  26029. name: agreementtype
  26030. type: integer
  26031. - description: 协议版本号
  26032. in: query
  26033. name: agreementversion
  26034. type: integer
  26035. - description: 协议编号(模糊匹配)
  26036. in: query
  26037. name: agreementno
  26038. type: string
  26039. - description: 协议名称(模糊匹配)
  26040. in: query
  26041. name: agreementname
  26042. type: string
  26043. produces:
  26044. - application/json
  26045. responses:
  26046. "200":
  26047. description: OK
  26048. schema:
  26049. items:
  26050. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  26051. type: array
  26052. "500":
  26053. description: Internal Server Error
  26054. schema:
  26055. $ref: '#/definitions/app.Response'
  26056. security:
  26057. - ApiKeyAuth: []
  26058. summary: 查询用户协议节点配置和状态
  26059. tags:
  26060. - 大连千海金(协议和签约信息)
  26061. /Quote/QueryHistoryDatas:
  26062. get:
  26063. parameters:
  26064. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  26065. 日线'
  26066. in: query
  26067. name: cycleType
  26068. required: true
  26069. type: integer
  26070. - description: 商品代码
  26071. in: query
  26072. name: goodsCode
  26073. required: true
  26074. type: string
  26075. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  26076. in: query
  26077. name: startTime
  26078. type: string
  26079. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  26080. in: query
  26081. name: endTime
  26082. type: string
  26083. - description: 条数
  26084. in: query
  26085. name: count
  26086. type: integer
  26087. - description: 是否按时间顺序排序(默认为时间倒序排序)
  26088. in: query
  26089. name: isAsc
  26090. type: boolean
  26091. produces:
  26092. - application/json
  26093. responses:
  26094. "200":
  26095. description: OK
  26096. schema:
  26097. $ref: '#/definitions/quote.HistoryData'
  26098. "500":
  26099. description: Internal Server Error
  26100. schema:
  26101. $ref: '#/definitions/app.Response'
  26102. security:
  26103. - ApiKeyAuth: []
  26104. summary: 查询行情历史数据
  26105. tags:
  26106. - 行情服务
  26107. /Quote/QueryHistoryTikDatas:
  26108. get:
  26109. parameters:
  26110. - description: 商品代码
  26111. in: query
  26112. name: goodsCode
  26113. required: true
  26114. type: string
  26115. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  26116. in: query
  26117. name: startTime
  26118. type: string
  26119. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  26120. in: query
  26121. name: endTime
  26122. type: string
  26123. - description: 条数
  26124. in: query
  26125. name: count
  26126. type: integer
  26127. - description: 是否按时间顺序排序(默认为时间倒序排序)
  26128. in: query
  26129. name: isAsc
  26130. type: boolean
  26131. produces:
  26132. - application/json
  26133. responses:
  26134. "200":
  26135. description: OK
  26136. schema:
  26137. $ref: '#/definitions/quote.HistoryTikData'
  26138. "500":
  26139. description: Internal Server Error
  26140. schema:
  26141. $ref: '#/definitions/app.Response'
  26142. security:
  26143. - ApiKeyAuth: []
  26144. summary: 查询行情Tik数据
  26145. tags:
  26146. - 行情服务
  26147. /Quote/QueryQuoteDay:
  26148. get:
  26149. parameters:
  26150. - description: 此参数不填则查所有;商品代码列表,格式:CU2102,CU2103,AL2107
  26151. in: query
  26152. name: goodsCodes
  26153. type: string
  26154. produces:
  26155. - application/json
  26156. responses:
  26157. "200":
  26158. description: OK
  26159. schema:
  26160. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  26161. "500":
  26162. description: Internal Server Error
  26163. schema:
  26164. $ref: '#/definitions/app.Response'
  26165. security:
  26166. - ApiKeyAuth: []
  26167. summary: 获取商品盘面信息
  26168. tags:
  26169. - 行情服务
  26170. /Quote/QueryTSData:
  26171. get:
  26172. parameters:
  26173. - description: 商品代码
  26174. in: query
  26175. name: goodsCode
  26176. required: true
  26177. type: string
  26178. produces:
  26179. - application/json
  26180. responses:
  26181. "200":
  26182. description: OK
  26183. schema:
  26184. $ref: '#/definitions/quote.QueryTSDataRsp'
  26185. "500":
  26186. description: Internal Server Error
  26187. schema:
  26188. $ref: '#/definitions/app.Response'
  26189. security:
  26190. - ApiKeyAuth: []
  26191. summary: 分时图数据查询
  26192. tags:
  26193. - 行情服务
  26194. /SZDZ/QueryConvertConfig:
  26195. get:
  26196. parameters:
  26197. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  26198. 6:交易转花生米(不设置)
  26199. in: query
  26200. name: convertType
  26201. type: integer
  26202. - description: 外部商品代码[JD\PD]
  26203. in: query
  26204. name: outerGoodsCode
  26205. type: string
  26206. - description: 内部商品ID列表[交易],格式:1,2,3
  26207. in: query
  26208. name: innerGoodsIDs
  26209. type: string
  26210. produces:
  26211. - application/json
  26212. responses:
  26213. "200":
  26214. description: OK
  26215. schema:
  26216. $ref: '#/definitions/models.Szdz3convertconfig'
  26217. "500":
  26218. description: Internal Server Error
  26219. schema:
  26220. $ref: '#/definitions/app.Response'
  26221. security:
  26222. - ApiKeyAuth: []
  26223. summary: 查询交易系统转换设置
  26224. tags:
  26225. - 定制【尚志大宗】
  26226. /SZDZ/QueryConvertLog:
  26227. get:
  26228. parameters:
  26229. - description: 资金账户 - 格式:1,2,3
  26230. in: query
  26231. name: accountID
  26232. required: true
  26233. type: string
  26234. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  26235. in: query
  26236. name: startDate
  26237. type: string
  26238. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  26239. in: query
  26240. name: endDate
  26241. type: string
  26242. produces:
  26243. - application/json
  26244. responses:
  26245. "200":
  26246. description: OK
  26247. schema:
  26248. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  26249. "500":
  26250. description: Internal Server Error
  26251. schema:
  26252. $ref: '#/definitions/app.Response'
  26253. security:
  26254. - ApiKeyAuth: []
  26255. summary: 交易系统转换流水查询
  26256. tags:
  26257. - 定制【尚志大宗】
  26258. /SZDZ/QueryGoodsPickup:
  26259. get:
  26260. parameters:
  26261. - description: 资金账户 - 格式:1,2,3
  26262. in: query
  26263. name: accountID
  26264. required: true
  26265. type: string
  26266. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  26267. in: query
  26268. name: takeOrderStatus
  26269. type: integer
  26270. produces:
  26271. - application/json
  26272. responses:
  26273. "200":
  26274. description: OK
  26275. schema:
  26276. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  26277. "500":
  26278. description: Internal Server Error
  26279. schema:
  26280. $ref: '#/definitions/app.Response'
  26281. security:
  26282. - ApiKeyAuth: []
  26283. summary: 商品提货单查询
  26284. tags:
  26285. - 定制【尚志大宗】
  26286. /SZDZ/QueryRecieptOrder:
  26287. get:
  26288. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  26289. parameters:
  26290. - description: 页码
  26291. in: query
  26292. name: page
  26293. type: integer
  26294. - description: 每页条数
  26295. in: query
  26296. name: pagesize
  26297. type: integer
  26298. - description: 商品ID
  26299. in: query
  26300. name: goodsID
  26301. required: true
  26302. type: integer
  26303. - description: 所属账户名称
  26304. in: query
  26305. name: accountName
  26306. type: string
  26307. - description: 市场ID
  26308. in: query
  26309. name: marketID
  26310. type: integer
  26311. - description: 方向 - 0:买 1:卖
  26312. in: query
  26313. name: buyorsell
  26314. required: true
  26315. type: integer
  26316. produces:
  26317. - application/json
  26318. responses:
  26319. "200":
  26320. description: OK
  26321. schema:
  26322. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  26323. "500":
  26324. description: Internal Server Error
  26325. schema:
  26326. $ref: '#/definitions/app.Response'
  26327. security:
  26328. - ApiKeyAuth: []
  26329. summary: 点选挂牌委托单据查询(摘牌大厅)
  26330. tags:
  26331. - 定制【尚志大宗】
  26332. /SZDZ/QuerySZDZTradePosition:
  26333. get:
  26334. parameters:
  26335. - description: 资金账户
  26336. in: query
  26337. name: accountID
  26338. required: true
  26339. type: integer
  26340. produces:
  26341. - application/json
  26342. responses:
  26343. "200":
  26344. description: OK
  26345. schema:
  26346. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  26347. "500":
  26348. description: Internal Server Error
  26349. schema:
  26350. $ref: '#/definitions/app.Response'
  26351. security:
  26352. - ApiKeyAuth: []
  26353. summary: 持仓汇总查询(尚志大宗)
  26354. tags:
  26355. - 定制【尚志大宗】
  26356. /SZDZ/SearchWhite:
  26357. get:
  26358. parameters:
  26359. - description: 用户ID
  26360. in: query
  26361. name: userID
  26362. required: true
  26363. type: integer
  26364. produces:
  26365. - application/json
  26366. responses:
  26367. "200":
  26368. description: OK
  26369. schema:
  26370. $ref: '#/definitions/models.Szdz3searchwhitelist'
  26371. "500":
  26372. description: Internal Server Error
  26373. schema:
  26374. $ref: '#/definitions/app.Response'
  26375. security:
  26376. - ApiKeyAuth: []
  26377. summary: 搜索白名单
  26378. tags:
  26379. - 定制【尚志大宗】
  26380. /Search/SearchGoodses:
  26381. get:
  26382. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  26383. parameters:
  26384. - description: 检索内容
  26385. in: query
  26386. name: content
  26387. required: true
  26388. type: string
  26389. - description: 交易模式,格式:1,2,3
  26390. in: query
  26391. name: tradeModes
  26392. type: string
  26393. produces:
  26394. - application/json
  26395. responses:
  26396. "200":
  26397. description: OK
  26398. schema:
  26399. $ref: '#/definitions/models.SearchGoods'
  26400. "500":
  26401. description: Internal Server Error
  26402. schema:
  26403. $ref: '#/definitions/app.Response'
  26404. summary: 检索商品信息
  26405. tags:
  26406. - 检索服务
  26407. /TaAccount/GetTaAccounts:
  26408. get:
  26409. parameters:
  26410. - description: 登录账户
  26411. in: query
  26412. name: loginID
  26413. required: true
  26414. type: integer
  26415. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  26416. in: query
  26417. name: taAccountType
  26418. type: integer
  26419. produces:
  26420. - application/json
  26421. responses:
  26422. "200":
  26423. description: OK
  26424. schema:
  26425. $ref: '#/definitions/models.Taaccount'
  26426. "500":
  26427. description: Internal Server Error
  26428. schema:
  26429. $ref: '#/definitions/app.Response'
  26430. security:
  26431. - ApiKeyAuth: []
  26432. summary: 获取资金账户信息
  26433. tags:
  26434. - 资金账户
  26435. /TaAccount/QueryAmountLog:
  26436. get:
  26437. parameters:
  26438. - description: 页码
  26439. in: query
  26440. name: page
  26441. type: integer
  26442. - description: 每页条数
  26443. in: query
  26444. name: pagesize
  26445. type: integer
  26446. - description: 资金账户 - 格式:1,2,3
  26447. in: query
  26448. name: accountID
  26449. required: true
  26450. type: string
  26451. - description: 资金操作类型 - 格式:1,2,3
  26452. in: query
  26453. name: OperateType
  26454. type: string
  26455. produces:
  26456. - application/json
  26457. responses:
  26458. "200":
  26459. description: OK
  26460. schema:
  26461. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  26462. "500":
  26463. description: Internal Server Error
  26464. schema:
  26465. $ref: '#/definitions/app.Response'
  26466. security:
  26467. - ApiKeyAuth: []
  26468. summary: 资金流水查询(当前)
  26469. tags:
  26470. - 资金账户
  26471. /TaAccount/QueryHisAmountLog:
  26472. get:
  26473. parameters:
  26474. - description: 页码
  26475. in: query
  26476. name: page
  26477. type: integer
  26478. - description: 每页条数
  26479. in: query
  26480. name: pagesize
  26481. type: integer
  26482. - description: 资金账户 - 格式:1,2,3
  26483. in: query
  26484. name: accountID
  26485. required: true
  26486. type: string
  26487. - description: 资金操作类型 - 格式:1,2,3
  26488. in: query
  26489. name: OperateType
  26490. type: string
  26491. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  26492. in: query
  26493. name: startDate
  26494. type: string
  26495. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  26496. in: query
  26497. name: endDate
  26498. type: string
  26499. produces:
  26500. - application/json
  26501. responses:
  26502. "200":
  26503. description: OK
  26504. schema:
  26505. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  26506. "500":
  26507. description: Internal Server Error
  26508. schema:
  26509. $ref: '#/definitions/app.Response'
  26510. security:
  26511. - ApiKeyAuth: []
  26512. summary: 资金流水查询(历史)
  26513. tags:
  26514. - 资金账户
  26515. /Tjmd/QueryQuoteGoodsList:
  26516. get:
  26517. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  26518. parameters:
  26519. - description: 用户类型
  26520. in: query
  26521. name: usertype
  26522. required: true
  26523. type: integer
  26524. - description: 市场id, 格式 1,2,3
  26525. in: query
  26526. name: marketids
  26527. type: string
  26528. - description: 商品组id
  26529. in: query
  26530. name: goodsgroupid
  26531. type: integer
  26532. - description: 商品id
  26533. in: query
  26534. name: goodsid
  26535. type: integer
  26536. produces:
  26537. - application/json
  26538. responses:
  26539. "200":
  26540. description: OK
  26541. schema:
  26542. items:
  26543. $ref: '#/definitions/models.TjmdQuoteGoods'
  26544. type: array
  26545. "500":
  26546. description: Internal Server Error
  26547. schema:
  26548. $ref: '#/definitions/app.Response'
  26549. security:
  26550. - ApiKeyAuth: []
  26551. summary: 查询掉期报价列表
  26552. tags:
  26553. - 天津麦顿
  26554. /Tjmd/QueryTjmdMarketSection:
  26555. get:
  26556. produces:
  26557. - application/json
  26558. responses:
  26559. "200":
  26560. description: OK
  26561. schema:
  26562. items:
  26563. $ref: '#/definitions/models.TjmdMarketSection'
  26564. type: array
  26565. "500":
  26566. description: Internal Server Error
  26567. schema:
  26568. $ref: '#/definitions/app.Response'
  26569. security:
  26570. - ApiKeyAuth: []
  26571. summary: 查询市场板块
  26572. tags:
  26573. - 天津麦顿
  26574. /Tjmd/QueryTjmdTodayAccountMargin:
  26575. get:
  26576. parameters:
  26577. - description: 市场id
  26578. in: query
  26579. name: marketid
  26580. type: string
  26581. - description: 商品id
  26582. in: query
  26583. name: goodsid
  26584. type: string
  26585. - description: 资金账号
  26586. in: query
  26587. name: accountid
  26588. type: string
  26589. produces:
  26590. - application/json
  26591. responses:
  26592. "200":
  26593. description: OK
  26594. schema:
  26595. items:
  26596. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  26597. type: array
  26598. "500":
  26599. description: Internal Server Error
  26600. schema:
  26601. $ref: '#/definitions/app.Response'
  26602. security:
  26603. - ApiKeyAuth: []
  26604. summary: 查询今日账户保证金配置
  26605. tags:
  26606. - 天津麦顿
  26607. /Tjmd/QueryTjmdTradeOrderDetail:
  26608. get:
  26609. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  26610. parameters:
  26611. - description: 页码
  26612. in: query
  26613. name: page
  26614. type: integer
  26615. - description: 每页条数
  26616. in: query
  26617. name: pagesize
  26618. type: integer
  26619. - description: 用户id
  26620. in: query
  26621. name: userid
  26622. required: true
  26623. type: integer
  26624. - description: 用户类型
  26625. in: query
  26626. name: usertype
  26627. required: true
  26628. type: integer
  26629. - description: 市场id, 格式 1,2,3
  26630. in: query
  26631. name: marketids
  26632. type: string
  26633. - description: 商品id
  26634. in: query
  26635. name: goodsid
  26636. required: true
  26637. type: integer
  26638. - description: 买卖方向 0-买 1-卖
  26639. in: query
  26640. name: buyorsell
  26641. required: true
  26642. type: integer
  26643. produces:
  26644. - application/json
  26645. responses:
  26646. "200":
  26647. description: OK
  26648. schema:
  26649. items:
  26650. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  26651. type: array
  26652. "500":
  26653. description: Internal Server Error
  26654. schema:
  26655. $ref: '#/definitions/app.Response'
  26656. security:
  26657. - ApiKeyAuth: []
  26658. summary: 查询掉期买卖大厅
  26659. tags:
  26660. - 天津麦顿
  26661. /Tjmd/QueryTjmdTransferApply:
  26662. get:
  26663. parameters:
  26664. - description: 类型 1-我的申请 2-对方申请
  26665. in: query
  26666. name: applytype
  26667. required: true
  26668. type: integer
  26669. - description: 市场id, 格式 1,2,3
  26670. in: query
  26671. name: marketids
  26672. type: string
  26673. - description: 资金账号, 格式 25000000001,25000000003
  26674. in: query
  26675. name: accountids
  26676. type: string
  26677. - description: 开始交易日(yyyymmdd)
  26678. in: query
  26679. name: begindate
  26680. type: string
  26681. - description: 结束交易日(yyyymmdd)
  26682. in: query
  26683. name: enddate
  26684. type: string
  26685. produces:
  26686. - application/json
  26687. responses:
  26688. "200":
  26689. description: OK
  26690. schema:
  26691. items:
  26692. $ref: '#/definitions/models.TjmdTransferApply'
  26693. type: array
  26694. "500":
  26695. description: Internal Server Error
  26696. schema:
  26697. $ref: '#/definitions/app.Response'
  26698. security:
  26699. - ApiKeyAuth: []
  26700. summary: 查询掉期协议单
  26701. tags:
  26702. - 天津麦顿
  26703. /Trade/QueryRecieptOrder:
  26704. get:
  26705. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  26706. parameters:
  26707. - description: 页码
  26708. in: query
  26709. name: page
  26710. type: integer
  26711. - description: 每页条数
  26712. in: query
  26713. name: pagesize
  26714. type: integer
  26715. - description: 商品ID
  26716. in: query
  26717. name: goodsID
  26718. required: true
  26719. type: integer
  26720. - description: 所属账户名称
  26721. in: query
  26722. name: accountName
  26723. type: string
  26724. - description: 市场ID
  26725. in: query
  26726. name: marketID
  26727. type: integer
  26728. - description: 方向 - 0:买 1:卖
  26729. in: query
  26730. name: buyorsell
  26731. required: true
  26732. type: integer
  26733. produces:
  26734. - application/json
  26735. responses:
  26736. "200":
  26737. description: OK
  26738. schema:
  26739. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  26740. "500":
  26741. description: Internal Server Error
  26742. schema:
  26743. $ref: '#/definitions/app.Response'
  26744. security:
  26745. - ApiKeyAuth: []
  26746. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  26747. tags:
  26748. - 通用交易
  26749. /User/AddMessageBoard:
  26750. post:
  26751. parameters:
  26752. - description: 用户ID
  26753. in: query
  26754. name: userID
  26755. required: true
  26756. type: integer
  26757. - description: 留言信息
  26758. in: query
  26759. name: message
  26760. required: true
  26761. type: string
  26762. - description: 联系电话
  26763. in: query
  26764. name: contactNum
  26765. required: true
  26766. type: string
  26767. produces:
  26768. - application/json
  26769. responses:
  26770. "200":
  26771. description: OK
  26772. schema:
  26773. $ref: '#/definitions/app.Response'
  26774. "500":
  26775. description: Internal Server Error
  26776. schema:
  26777. $ref: '#/definitions/app.Response'
  26778. security:
  26779. - ApiKeyAuth: []
  26780. summary: 添加用户留言板信息
  26781. tags:
  26782. - 用户信息
  26783. /User/AddUserFavoriteGoods:
  26784. post:
  26785. parameters:
  26786. - description: 用户ID
  26787. in: query
  26788. name: userID
  26789. required: true
  26790. type: integer
  26791. - description: 商品ID
  26792. in: query
  26793. name: goodsID
  26794. required: true
  26795. type: integer
  26796. produces:
  26797. - application/json
  26798. responses:
  26799. "200":
  26800. description: OK
  26801. schema:
  26802. $ref: '#/definitions/app.Response'
  26803. "500":
  26804. description: Internal Server Error
  26805. schema:
  26806. $ref: '#/definitions/app.Response'
  26807. security:
  26808. - ApiKeyAuth: []
  26809. summary: 添加用户商品收藏信息
  26810. tags:
  26811. - 用户信息
  26812. /User/GetLoginID:
  26813. get:
  26814. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  26815. parameters:
  26816. - description: 登录代码
  26817. in: query
  26818. name: username
  26819. required: true
  26820. type: string
  26821. produces:
  26822. - application/json
  26823. responses:
  26824. "200":
  26825. description: OK
  26826. schema:
  26827. $ref: '#/definitions/app.Response'
  26828. "500":
  26829. description: Internal Server Error
  26830. schema:
  26831. $ref: '#/definitions/app.Response'
  26832. summary: 获取登录ID
  26833. tags:
  26834. - 用户信息
  26835. /User/GetUserAccount:
  26836. get:
  26837. parameters:
  26838. - description: 用户ID
  26839. in: query
  26840. name: userID
  26841. required: true
  26842. type: integer
  26843. produces:
  26844. - application/json
  26845. responses:
  26846. "200":
  26847. description: OK
  26848. schema:
  26849. $ref: '#/definitions/models.Useraccount'
  26850. "500":
  26851. description: Internal Server Error
  26852. schema:
  26853. $ref: '#/definitions/app.Response'
  26854. security:
  26855. - ApiKeyAuth: []
  26856. summary: 获取用户账号信息
  26857. tags:
  26858. - 用户信息
  26859. /User/GetUserAuthStatus:
  26860. get:
  26861. parameters:
  26862. - description: 用户ID
  26863. in: query
  26864. name: userID
  26865. required: true
  26866. type: integer
  26867. produces:
  26868. - application/json
  26869. responses:
  26870. "200":
  26871. description: OK
  26872. schema:
  26873. $ref: '#/definitions/app.Response'
  26874. "500":
  26875. description: Internal Server Error
  26876. schema:
  26877. $ref: '#/definitions/app.Response'
  26878. security:
  26879. - ApiKeyAuth: []
  26880. summary: 获取用户实名认证状态
  26881. tags:
  26882. - 用户信息
  26883. /User/LoginQuery:
  26884. get:
  26885. parameters:
  26886. - description: 登录账号
  26887. in: query
  26888. name: loginID
  26889. required: true
  26890. type: integer
  26891. produces:
  26892. - application/json
  26893. responses:
  26894. "200":
  26895. description: OK
  26896. schema:
  26897. $ref: '#/definitions/user.LoginQueryRsp'
  26898. "500":
  26899. description: Internal Server Error
  26900. schema:
  26901. $ref: '#/definitions/app.Response'
  26902. security:
  26903. - ApiKeyAuth: []
  26904. summary: 账户登录后信息查询
  26905. tags:
  26906. - 用户信息
  26907. /User/QueryMessageBoard:
  26908. get:
  26909. parameters:
  26910. - description: 用户ID
  26911. in: query
  26912. name: userID
  26913. required: true
  26914. type: integer
  26915. produces:
  26916. - application/json
  26917. responses:
  26918. "200":
  26919. description: OK
  26920. schema:
  26921. $ref: '#/definitions/models.Messageboard'
  26922. "500":
  26923. description: Internal Server Error
  26924. schema:
  26925. $ref: '#/definitions/app.Response'
  26926. security:
  26927. - ApiKeyAuth: []
  26928. summary: 获取用户留言板信息
  26929. tags:
  26930. - 用户信息
  26931. /User/QueryUserFavoriteGoodses:
  26932. get:
  26933. parameters:
  26934. - description: 用户ID
  26935. in: query
  26936. name: userID
  26937. required: true
  26938. type: integer
  26939. produces:
  26940. - application/json
  26941. responses:
  26942. "200":
  26943. description: OK
  26944. schema:
  26945. $ref: '#/definitions/models.Userfavoritegoods'
  26946. "500":
  26947. description: Internal Server Error
  26948. schema:
  26949. $ref: '#/definitions/app.Response'
  26950. security:
  26951. - ApiKeyAuth: []
  26952. summary: 获取用户商品收藏信息
  26953. tags:
  26954. - 用户信息
  26955. /User/QueryUserInfo:
  26956. get:
  26957. parameters:
  26958. - description: 用户ID
  26959. in: query
  26960. name: userID
  26961. required: true
  26962. type: integer
  26963. - description: 是否解密
  26964. in: query
  26965. name: isDecrypt
  26966. type: boolean
  26967. produces:
  26968. - application/json
  26969. responses:
  26970. "200":
  26971. description: OK
  26972. schema:
  26973. $ref: '#/definitions/models.Userinfo'
  26974. "500":
  26975. description: Internal Server Error
  26976. schema:
  26977. $ref: '#/definitions/app.Response'
  26978. security:
  26979. - ApiKeyAuth: []
  26980. summary: 获取用户信息
  26981. tags:
  26982. - 用户信息
  26983. /User/QueryUserReferNum:
  26984. get:
  26985. parameters:
  26986. - description: 用户ID
  26987. in: query
  26988. name: userID
  26989. required: true
  26990. type: integer
  26991. produces:
  26992. - application/json
  26993. responses:
  26994. "200":
  26995. description: OK
  26996. schema:
  26997. $ref: '#/definitions/app.Response'
  26998. "500":
  26999. description: Internal Server Error
  27000. schema:
  27001. $ref: '#/definitions/app.Response'
  27002. summary: 获取用户邀请码
  27003. tags:
  27004. - 用户信息
  27005. /User/RemoveUserFavoriteGoods:
  27006. post:
  27007. parameters:
  27008. - description: 用户ID
  27009. in: query
  27010. name: userID
  27011. required: true
  27012. type: integer
  27013. - description: 商品ID
  27014. in: query
  27015. name: goodsID
  27016. required: true
  27017. type: integer
  27018. produces:
  27019. - application/json
  27020. responses:
  27021. "200":
  27022. description: OK
  27023. schema:
  27024. $ref: '#/definitions/app.Response'
  27025. "500":
  27026. description: Internal Server Error
  27027. schema:
  27028. $ref: '#/definitions/app.Response'
  27029. security:
  27030. - ApiKeyAuth: []
  27031. summary: 移除用户商品收藏信息
  27032. tags:
  27033. - 用户信息
  27034. /User/UpdateUserAccountStatus:
  27035. post:
  27036. parameters:
  27037. - description: 用户ID
  27038. in: query
  27039. name: userID
  27040. required: true
  27041. type: integer
  27042. - description: 账户状态 - 4:正常 6:注销(停用)
  27043. in: query
  27044. name: accountStatus
  27045. required: true
  27046. type: integer
  27047. produces:
  27048. - application/json
  27049. responses:
  27050. "200":
  27051. description: OK
  27052. schema:
  27053. $ref: '#/definitions/app.Response'
  27054. "500":
  27055. description: Internal Server Error
  27056. schema:
  27057. $ref: '#/definitions/app.Response'
  27058. security:
  27059. - ApiKeyAuth: []
  27060. summary: 更新用户状态
  27061. tags:
  27062. - 用户信息
  27063. /WRTrade/GetAllDeliveryGoods:
  27064. get:
  27065. produces:
  27066. - application/json
  27067. responses:
  27068. "200":
  27069. description: OK
  27070. schema:
  27071. $ref: '#/definitions/app.Response'
  27072. "500":
  27073. description: Internal Server Error
  27074. schema:
  27075. $ref: '#/definitions/app.Response'
  27076. security:
  27077. - ApiKeyAuth: []
  27078. summary: 获取带仓单分类的种类信息
  27079. tags:
  27080. - 仓单贸易
  27081. - 仓单贸易
  27082. /WrTrade2/QueryDeliveryGoodsSection:
  27083. get:
  27084. produces:
  27085. - application/json
  27086. responses:
  27087. "200":
  27088. description: OK
  27089. schema:
  27090. items:
  27091. $ref: '#/definitions/models.WrDeliveryGoodsSection'
  27092. type: array
  27093. "500":
  27094. description: Internal Server Error
  27095. schema:
  27096. $ref: '#/definitions/app.Response'
  27097. security:
  27098. - ApiKeyAuth: []
  27099. summary: 查询板块(分类)
  27100. tags:
  27101. - 仓单贸易v2
  27102. /WrTrade2/QueryFaProductDetail:
  27103. get:
  27104. description: 页面 买卖大厅 -> 选择融资方案
  27105. parameters:
  27106. - description: 仓单要素id
  27107. in: query
  27108. name: wrfactortypeid
  27109. required: true
  27110. type: integer
  27111. produces:
  27112. - application/json
  27113. responses:
  27114. "200":
  27115. description: OK
  27116. schema:
  27117. items:
  27118. $ref: '#/definitions/models.WrFAProductDetail'
  27119. type: array
  27120. "500":
  27121. description: Internal Server Error
  27122. schema:
  27123. $ref: '#/definitions/app.Response'
  27124. security:
  27125. - ApiKeyAuth: []
  27126. summary: 查询融资产品列表
  27127. tags:
  27128. - 仓单贸易v2
  27129. /WrTrade2/QueryFilterItem:
  27130. get:
  27131. parameters:
  27132. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  27133. in: query
  27134. name: itype
  27135. required: true
  27136. type: string
  27137. produces:
  27138. - application/json
  27139. responses:
  27140. "200":
  27141. description: OK
  27142. schema:
  27143. items:
  27144. $ref: '#/definitions/models.WrFilterItem'
  27145. type: array
  27146. "500":
  27147. description: Internal Server Error
  27148. schema:
  27149. $ref: '#/definitions/app.Response'
  27150. security:
  27151. - ApiKeyAuth: []
  27152. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  27153. tags:
  27154. - 仓单贸易v2
  27155. /WrTrade2/QueryFtDeliveryGoods:
  27156. get:
  27157. produces:
  27158. - application/json
  27159. responses:
  27160. "200":
  27161. description: OK
  27162. schema:
  27163. items:
  27164. $ref: '#/definitions/models.WrFtDeliveryGoods'
  27165. type: array
  27166. "500":
  27167. description: Internal Server Error
  27168. schema:
  27169. $ref: '#/definitions/app.Response'
  27170. security:
  27171. - ApiKeyAuth: []
  27172. summary: 查询品种品类筛选框列表
  27173. tags:
  27174. - 仓单贸易v2
  27175. /WrTrade2/QueryHoldLB:
  27176. get:
  27177. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  27178. parameters:
  27179. - description: 资金账号
  27180. in: query
  27181. name: accountid
  27182. required: true
  27183. type: integer
  27184. - description: 仓库id
  27185. in: query
  27186. name: warehouseid
  27187. type: integer
  27188. - description: 品种id
  27189. in: query
  27190. name: deliverygoodsid
  27191. type: integer
  27192. - description: 品类id
  27193. in: query
  27194. name: wrstandardid
  27195. type: integer
  27196. - description: 仓单要素id
  27197. in: query
  27198. name: wrfactortypeid
  27199. type: integer
  27200. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27201. in: query
  27202. name: dgitemname
  27203. type: string
  27204. produces:
  27205. - application/json
  27206. responses:
  27207. "200":
  27208. description: OK
  27209. schema:
  27210. items:
  27211. $ref: '#/definitions/models.WrHoldLB'
  27212. type: array
  27213. "500":
  27214. description: Internal Server Error
  27215. schema:
  27216. $ref: '#/definitions/app.Response'
  27217. security:
  27218. - ApiKeyAuth: []
  27219. summary: 查询仓单持有记录
  27220. tags:
  27221. - 仓单贸易v2
  27222. /WrTrade2/QueryOrderQuote:
  27223. get:
  27224. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth
  27225. 唯一确定1条记录
  27226. parameters:
  27227. - description: 页码
  27228. in: query
  27229. name: page
  27230. type: integer
  27231. - description: 每页条数
  27232. in: query
  27233. name: pagesize
  27234. type: integer
  27235. - description: 仓单贸易市场id
  27236. in: query
  27237. name: marketid
  27238. type: integer
  27239. - description: 价格方式 - 1:固定价 2-浮动价
  27240. in: query
  27241. name: wrpricetype
  27242. required: true
  27243. type: integer
  27244. - description: 0:仓单预售 1:仓单贸易
  27245. in: query
  27246. name: haswr
  27247. type: integer
  27248. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27249. in: query
  27250. name: dgitemname
  27251. type: string
  27252. - description: 仓库id(筛选条件)
  27253. in: query
  27254. name: warehouseid
  27255. type: integer
  27256. - description: 品种id
  27257. in: query
  27258. name: deliverygoodsid
  27259. type: integer
  27260. - description: 品类id
  27261. in: query
  27262. name: wrstandardid
  27263. type: integer
  27264. - description: 仓单要素id
  27265. in: query
  27266. name: wrfactortypeid
  27267. type: integer
  27268. - description: 交收月(yyyy-mm) 仓单预售填写
  27269. in: query
  27270. name: deliverymonth
  27271. type: string
  27272. produces:
  27273. - application/json
  27274. responses:
  27275. "200":
  27276. description: OK
  27277. schema:
  27278. items:
  27279. $ref: '#/definitions/models.WrOrderQuote'
  27280. type: array
  27281. "500":
  27282. description: Internal Server Error
  27283. schema:
  27284. $ref: '#/definitions/app.Response'
  27285. security:
  27286. - ApiKeyAuth: []
  27287. summary: 查询大厅行情列表
  27288. tags:
  27289. - 仓单贸易v2
  27290. /WrTrade2/QueryOrderQuoteDetail:
  27291. get:
  27292. parameters:
  27293. - description: 页码
  27294. in: query
  27295. name: page
  27296. type: integer
  27297. - description: 每页条数
  27298. in: query
  27299. name: pagesize
  27300. type: integer
  27301. - description: 仓单贸易市场id
  27302. in: query
  27303. name: marketid
  27304. type: integer
  27305. - description: 价格方式 - 1:固定价 2-浮动价
  27306. in: query
  27307. name: wrpricetype
  27308. required: true
  27309. type: integer
  27310. - description: 0:仓单预售 1:仓单贸易
  27311. in: query
  27312. name: haswr
  27313. type: integer
  27314. - description: 仓单要素id
  27315. in: query
  27316. name: wrfactortypeid
  27317. required: true
  27318. type: integer
  27319. - description: 期货商品id(浮动价方式时填)
  27320. in: query
  27321. name: goodsid
  27322. type: integer
  27323. - description: 买卖方向 0-买 1-卖
  27324. in: query
  27325. name: buyorsell
  27326. required: true
  27327. type: integer
  27328. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  27329. in: query
  27330. name: deliverymonth
  27331. type: string
  27332. produces:
  27333. - application/json
  27334. responses:
  27335. "200":
  27336. description: OK
  27337. schema:
  27338. items:
  27339. $ref: '#/definitions/models.WrOrderQuoteDetail'
  27340. type: array
  27341. "500":
  27342. description: Internal Server Error
  27343. schema:
  27344. $ref: '#/definitions/app.Response'
  27345. security:
  27346. - ApiKeyAuth: []
  27347. summary: 查询买卖大厅
  27348. tags:
  27349. - 仓单贸易v2
  27350. /WrTrade2/QueryOrderQuoteMyq:
  27351. get:
  27352. parameters:
  27353. - description: 页码
  27354. in: query
  27355. name: page
  27356. type: integer
  27357. - description: 每页条数
  27358. in: query
  27359. name: pagesize
  27360. type: integer
  27361. - description: 用户id
  27362. in: query
  27363. name: userid
  27364. required: true
  27365. type: integer
  27366. - description: 仓单贸易市场id
  27367. in: query
  27368. name: marketid
  27369. type: integer
  27370. - description: 0:仓单预售 1:仓单贸易
  27371. in: query
  27372. name: haswr
  27373. type: integer
  27374. - description: 买卖方向 0-买 1-卖
  27375. in: query
  27376. name: buyorsell
  27377. required: true
  27378. type: integer
  27379. - description: 品种id
  27380. in: query
  27381. name: deliverygoodsid
  27382. type: integer
  27383. - description: 品类id
  27384. in: query
  27385. name: wrstandardid
  27386. type: integer
  27387. - description: 交收月(yyyy-mm) 仓单预售填写
  27388. in: query
  27389. name: deliverymonth
  27390. type: string
  27391. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  27392. in: query
  27393. name: dgitemname
  27394. type: string
  27395. produces:
  27396. - application/json
  27397. responses:
  27398. "200":
  27399. description: OK
  27400. schema:
  27401. items:
  27402. $ref: '#/definitions/models.WrQuoteOrderMyq'
  27403. type: array
  27404. "500":
  27405. description: Internal Server Error
  27406. schema:
  27407. $ref: '#/definitions/app.Response'
  27408. security:
  27409. - ApiKeyAuth: []
  27410. summary: 查询贸易圈挂牌大厅
  27411. tags:
  27412. - 仓单贸易v2
  27413. /WrTrade2/QueryPerformancePlan:
  27414. get:
  27415. parameters:
  27416. - description: 用户id
  27417. in: query
  27418. name: userid
  27419. required: true
  27420. type: integer
  27421. - description: 买卖方向 0-买 1-卖
  27422. in: query
  27423. name: buyorsell
  27424. required: true
  27425. type: integer
  27426. - description: 履约状态(可多个,逗号隔开) 1:待激活 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成
  27427. 8:释放冻结失败 9:超时待处理 10:超时关闭
  27428. in: query
  27429. name: status
  27430. type: string
  27431. - description: 开始交易日(yyyymmdd)
  27432. in: query
  27433. name: begindate
  27434. type: string
  27435. - description: 结束交易日(yyyymmdd)
  27436. in: query
  27437. name: enddate
  27438. type: string
  27439. produces:
  27440. - application/json
  27441. responses:
  27442. "200":
  27443. description: OK
  27444. schema:
  27445. items:
  27446. $ref: '#/definitions/models.WrPerformancePlan'
  27447. type: array
  27448. "500":
  27449. description: Internal Server Error
  27450. schema:
  27451. $ref: '#/definitions/app.Response'
  27452. security:
  27453. - ApiKeyAuth: []
  27454. summary: 查询履约信息
  27455. tags:
  27456. - 仓单贸易v2
  27457. /WrTrade2/QueryPermancePlanTmp:
  27458. get:
  27459. description: |-
  27460. 返回指定用户的模板和公共模板(用户id为空)
  27461. 注意:天津麦顿客户 填写marketid参数,其它参数不用填;其它客户不用填marketid字段
  27462. parameters:
  27463. - description: 用户id
  27464. in: query
  27465. name: userid
  27466. type: integer
  27467. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式
  27468. (无仓单) 5:挂牌期权 6:竞拍-降价式
  27469. in: query
  27470. name: tmptype
  27471. type: string
  27472. - description: 是否包含公共模板(用户id为空的) 1-包含
  27473. in: query
  27474. name: includepub
  27475. type: integer
  27476. - description: 市场id(天津麦顿指定此参数,其它不用)
  27477. in: query
  27478. name: marketid
  27479. type: integer
  27480. produces:
  27481. - application/json
  27482. responses:
  27483. "200":
  27484. description: OK
  27485. schema:
  27486. items:
  27487. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  27488. type: array
  27489. "500":
  27490. description: Internal Server Error
  27491. schema:
  27492. $ref: '#/definitions/app.Response'
  27493. security:
  27494. - ApiKeyAuth: []
  27495. summary: 查询履约模板
  27496. tags:
  27497. - 仓单贸易v2
  27498. /WrTrade2/QuerySiteColumnDetail:
  27499. get:
  27500. parameters:
  27501. - description: 页码
  27502. in: query
  27503. name: page
  27504. type: integer
  27505. - description: 每页条数
  27506. in: query
  27507. name: pagesize
  27508. type: integer
  27509. - description: 所属栏目id
  27510. in: query
  27511. name: columnid
  27512. type: integer
  27513. produces:
  27514. - application/json
  27515. responses:
  27516. "200":
  27517. description: OK
  27518. schema:
  27519. items:
  27520. $ref: '#/definitions/models.WrSiteColumnDetail'
  27521. type: array
  27522. "500":
  27523. description: Internal Server Error
  27524. schema:
  27525. $ref: '#/definitions/app.Response'
  27526. security:
  27527. - ApiKeyAuth: []
  27528. summary: 查询资讯
  27529. tags:
  27530. - 仓单贸易v2
  27531. /WrTrade2/QuerySpotGroupTradeSum:
  27532. get:
  27533. produces:
  27534. - application/json
  27535. responses:
  27536. "200":
  27537. description: OK
  27538. schema:
  27539. items:
  27540. $ref: '#/definitions/models.WrSpotGroupTradeSumEx'
  27541. type: array
  27542. "500":
  27543. description: Internal Server Error
  27544. schema:
  27545. $ref: '#/definitions/app.Response'
  27546. security:
  27547. - ApiKeyAuth: []
  27548. summary: 查询指数
  27549. tags:
  27550. - 仓单贸易v2
  27551. /WrTrade2/QuerySpotGroupTradeSumDetail:
  27552. get:
  27553. description: 查询的结果将会按日期 从小到大 排序
  27554. parameters:
  27555. - description: 现货商品id
  27556. in: query
  27557. name: deliverygoodsid
  27558. required: true
  27559. type: integer
  27560. - description: 查询最新多少条记录(如不填写此项, 默认查30条)
  27561. in: query
  27562. name: lastnum
  27563. type: integer
  27564. produces:
  27565. - application/json
  27566. responses:
  27567. "200":
  27568. description: OK
  27569. schema:
  27570. items:
  27571. $ref: '#/definitions/models.WrSpotGroupTradeSumDetail'
  27572. type: array
  27573. "500":
  27574. description: Internal Server Error
  27575. schema:
  27576. $ref: '#/definitions/app.Response'
  27577. security:
  27578. - ApiKeyAuth: []
  27579. summary: 查询指数详细(价格走势图)
  27580. tags:
  27581. - 仓单贸易v2
  27582. /WrTrade2/QueryWrAverageTradePrice:
  27583. get:
  27584. parameters:
  27585. - description: 页码
  27586. in: query
  27587. name: page
  27588. type: integer
  27589. - description: 每页条数
  27590. in: query
  27591. name: pagesize
  27592. type: integer
  27593. - description: 0:仓单预售 1:仓单贸易
  27594. in: query
  27595. name: haswr
  27596. required: true
  27597. type: integer
  27598. - description: 仓单要素id
  27599. in: query
  27600. name: wrfactortypeid
  27601. required: true
  27602. type: integer
  27603. produces:
  27604. - application/json
  27605. responses:
  27606. "200":
  27607. description: OK
  27608. schema:
  27609. items:
  27610. $ref: '#/definitions/models.WrAverageTradePrice'
  27611. type: array
  27612. "500":
  27613. description: Internal Server Error
  27614. schema:
  27615. $ref: '#/definitions/app.Response'
  27616. security:
  27617. - ApiKeyAuth: []
  27618. summary: 查询成交价(历史走势)
  27619. tags:
  27620. - 仓单贸易v2
  27621. /WrTrade2/QueryWrBsGoodsInfo:
  27622. get:
  27623. description: 合约交易/买卖大厅/详情
  27624. parameters:
  27625. - description: 商品id
  27626. in: query
  27627. name: goodsid
  27628. required: true
  27629. type: integer
  27630. produces:
  27631. - application/json
  27632. responses:
  27633. "200":
  27634. description: OK
  27635. schema:
  27636. items:
  27637. $ref: '#/definitions/models.WrBsGoodsInfo'
  27638. type: array
  27639. "500":
  27640. description: Internal Server Error
  27641. schema:
  27642. $ref: '#/definitions/app.Response'
  27643. security:
  27644. - ApiKeyAuth: []
  27645. summary: 查询合约交易买卖大厅详情
  27646. tags:
  27647. - 仓单贸易v2
  27648. /WrTrade2/QueryWrBuybackDetail:
  27649. get:
  27650. parameters:
  27651. - description: 融资合同id
  27652. in: query
  27653. name: scfcontractid
  27654. type: integer
  27655. produces:
  27656. - application/json
  27657. responses:
  27658. "200":
  27659. description: OK
  27660. schema:
  27661. items:
  27662. $ref: '#/definitions/models.WrBuybackDetail'
  27663. type: array
  27664. "500":
  27665. description: Internal Server Error
  27666. schema:
  27667. $ref: '#/definitions/app.Response'
  27668. security:
  27669. - ApiKeyAuth: []
  27670. summary: 查询仓单回购明细
  27671. tags:
  27672. - 仓单贸易v2
  27673. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  27674. get:
  27675. parameters:
  27676. - description: 资金账号
  27677. in: query
  27678. name: accountid
  27679. required: true
  27680. type: integer
  27681. - description: 商品id
  27682. in: query
  27683. name: goodsid
  27684. required: true
  27685. type: integer
  27686. produces:
  27687. - application/json
  27688. responses:
  27689. "200":
  27690. description: OK
  27691. schema:
  27692. items:
  27693. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  27694. type: array
  27695. "500":
  27696. description: Internal Server Error
  27697. schema:
  27698. $ref: '#/definitions/app.Response'
  27699. security:
  27700. - ApiKeyAuth: []
  27701. summary: 查询合约交收可点选仓单
  27702. tags:
  27703. - 仓单贸易v2
  27704. /WrTrade2/QueryWrDeliveryDetail:
  27705. get:
  27706. parameters:
  27707. - description: 用户id
  27708. in: query
  27709. name: userid
  27710. required: true
  27711. type: integer
  27712. - description: 资金账号id
  27713. in: query
  27714. name: accountid
  27715. type: integer
  27716. - description: 开始交易日(yyyymmdd)
  27717. in: query
  27718. name: begindate
  27719. type: string
  27720. - description: 结束交易日(yyyymmdd)
  27721. in: query
  27722. name: enddate
  27723. type: string
  27724. produces:
  27725. - application/json
  27726. responses:
  27727. "200":
  27728. description: OK
  27729. schema:
  27730. items:
  27731. $ref: '#/definitions/models.WrDeliveryDetail'
  27732. type: array
  27733. "500":
  27734. description: Internal Server Error
  27735. schema:
  27736. $ref: '#/definitions/app.Response'
  27737. security:
  27738. - ApiKeyAuth: []
  27739. summary: 查询交收
  27740. tags:
  27741. - 仓单贸易v2
  27742. /WrTrade2/QueryWrFactorTypeInfo:
  27743. get:
  27744. parameters:
  27745. - description: 仓单要素id
  27746. in: query
  27747. name: wrfactortypeid
  27748. required: true
  27749. type: integer
  27750. produces:
  27751. - application/json
  27752. responses:
  27753. "200":
  27754. description: OK
  27755. schema:
  27756. items:
  27757. $ref: '#/definitions/models.WrFactorTypeInfo'
  27758. type: array
  27759. "500":
  27760. description: Internal Server Error
  27761. schema:
  27762. $ref: '#/definitions/app.Response'
  27763. security:
  27764. - ApiKeyAuth: []
  27765. summary: 查询仓单要素详细信息
  27766. tags:
  27767. - 仓单贸易v2
  27768. /WrTrade2/QueryWrFactorTypeInfoEx:
  27769. get:
  27770. parameters:
  27771. - description: 仓单要素id
  27772. in: query
  27773. name: wrfactortypeid
  27774. required: true
  27775. type: integer
  27776. produces:
  27777. - application/json
  27778. responses:
  27779. "200":
  27780. description: OK
  27781. schema:
  27782. items:
  27783. $ref: '#/definitions/models.WrTypeItem'
  27784. type: array
  27785. "500":
  27786. description: Internal Server Error
  27787. schema:
  27788. $ref: '#/definitions/app.Response'
  27789. security:
  27790. - ApiKeyAuth: []
  27791. summary: 查询仓单要素详细信息列表项
  27792. tags:
  27793. - 仓单贸易v2
  27794. /WrTrade2/QueryWrFinanceBuyApply:
  27795. get:
  27796. description: 页面 融资信息+ / 申请单
  27797. parameters:
  27798. - description: 用户id
  27799. in: query
  27800. name: userid
  27801. required: true
  27802. type: integer
  27803. produces:
  27804. - application/json
  27805. responses:
  27806. "200":
  27807. description: OK
  27808. schema:
  27809. items:
  27810. $ref: '#/definitions/models.WrFinanceBuyApply'
  27811. type: array
  27812. "500":
  27813. description: Internal Server Error
  27814. schema:
  27815. $ref: '#/definitions/app.Response'
  27816. security:
  27817. - ApiKeyAuth: []
  27818. summary: 查询融资购买申请
  27819. tags:
  27820. - 仓单贸易v2
  27821. /WrTrade2/QueryWrFriendApply:
  27822. get:
  27823. parameters:
  27824. - description: 用户id
  27825. in: query
  27826. name: userid
  27827. required: true
  27828. type: integer
  27829. produces:
  27830. - application/json
  27831. responses:
  27832. "200":
  27833. description: OK
  27834. schema:
  27835. items:
  27836. $ref: '#/definitions/models.WrFriendApply'
  27837. type: array
  27838. "500":
  27839. description: Internal Server Error
  27840. schema:
  27841. $ref: '#/definitions/app.Response'
  27842. security:
  27843. - ApiKeyAuth: []
  27844. summary: 查询好友申请记录
  27845. tags:
  27846. - 仓单贸易v2
  27847. /WrTrade2/QueryWrGoodsInfo:
  27848. get:
  27849. parameters:
  27850. - description: 仓单贸易市场id
  27851. in: query
  27852. name: marketid
  27853. type: integer
  27854. - description: 0:仓单预售 1:仓单贸易
  27855. in: query
  27856. name: haswr
  27857. required: true
  27858. type: integer
  27859. - description: 仓单要素id
  27860. in: query
  27861. name: wrfactortypeid
  27862. required: true
  27863. type: integer
  27864. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  27865. in: query
  27866. name: tmplateid
  27867. type: integer
  27868. produces:
  27869. - application/json
  27870. responses:
  27871. "200":
  27872. description: OK
  27873. schema:
  27874. items:
  27875. $ref: '#/definitions/models.WrGoodsInfo'
  27876. type: array
  27877. "500":
  27878. description: Internal Server Error
  27879. schema:
  27880. $ref: '#/definitions/app.Response'
  27881. security:
  27882. - ApiKeyAuth: []
  27883. summary: 查询仓单商品信息
  27884. tags:
  27885. - 仓单贸易v2
  27886. /WrTrade2/QueryWrMarketTradeConfig:
  27887. get:
  27888. parameters:
  27889. - description: 市场id
  27890. in: query
  27891. name: marketid
  27892. type: integer
  27893. produces:
  27894. - application/json
  27895. responses:
  27896. "200":
  27897. description: OK
  27898. schema:
  27899. items:
  27900. $ref: '#/definitions/models.WrMarketTradeConfig'
  27901. type: array
  27902. "500":
  27903. description: Internal Server Error
  27904. schema:
  27905. $ref: '#/definitions/app.Response'
  27906. security:
  27907. - ApiKeyAuth: []
  27908. summary: 查询市场交易参数配置
  27909. tags:
  27910. - 仓单贸易v2
  27911. /WrTrade2/QueryWrOrderDetail:
  27912. get:
  27913. description: 页面 现货仓单 | 预售仓单 -> 挂单
  27914. parameters:
  27915. - description: 页码
  27916. in: query
  27917. name: page
  27918. type: integer
  27919. - description: 每页条数
  27920. in: query
  27921. name: pagesize
  27922. type: integer
  27923. - description: 用户id
  27924. in: query
  27925. name: userid
  27926. required: true
  27927. type: integer
  27928. - description: 仓单贸易市场id
  27929. in: query
  27930. name: marketid
  27931. type: integer
  27932. - description: 0:仓单预售 1:仓单贸易
  27933. in: query
  27934. name: haswr
  27935. required: true
  27936. type: integer
  27937. - description: 是否仅查可撤单据 1:可撤 注:此参数仅对当前记录有效, 且不含47模式市场
  27938. in: query
  27939. name: bcancel
  27940. type: integer
  27941. - description: 开始交易日(yyyymmdd)
  27942. in: query
  27943. name: begindate
  27944. type: string
  27945. - description: 结束交易日(yyyymmdd)
  27946. in: query
  27947. name: enddate
  27948. type: string
  27949. produces:
  27950. - application/json
  27951. responses:
  27952. "200":
  27953. description: OK
  27954. schema:
  27955. items:
  27956. $ref: '#/definitions/models.WrOrderDetail'
  27957. type: array
  27958. "500":
  27959. description: Internal Server Error
  27960. schema:
  27961. $ref: '#/definitions/app.Response'
  27962. security:
  27963. - ApiKeyAuth: []
  27964. summary: 查询仓单委托单(挂单)
  27965. tags:
  27966. - 仓单贸易v2
  27967. /WrTrade2/QueryWrOutInApply:
  27968. get:
  27969. parameters:
  27970. - description: 用户id
  27971. in: query
  27972. name: userid
  27973. required: true
  27974. type: integer
  27975. - description: 开始交易日(yyyymmdd)
  27976. in: query
  27977. name: begindate
  27978. type: string
  27979. - description: 结束交易日(yyyymmdd)
  27980. in: query
  27981. name: enddate
  27982. type: string
  27983. produces:
  27984. - application/json
  27985. responses:
  27986. "200":
  27987. description: OK
  27988. schema:
  27989. items:
  27990. $ref: '#/definitions/models.WrOutInApply'
  27991. type: array
  27992. "500":
  27993. description: Internal Server Error
  27994. schema:
  27995. $ref: '#/definitions/app.Response'
  27996. security:
  27997. - ApiKeyAuth: []
  27998. summary: 查询提货申请
  27999. tags:
  28000. - 仓单贸易v2
  28001. /WrTrade2/QueryWrPerformancePlanStep:
  28002. get:
  28003. parameters:
  28004. - description: 履约计划id(performanceplanid)
  28005. in: query
  28006. name: planid
  28007. required: true
  28008. type: integer
  28009. - description: 当前步骤id
  28010. in: query
  28011. name: curstepid
  28012. type: integer
  28013. produces:
  28014. - application/json
  28015. responses:
  28016. "200":
  28017. description: OK
  28018. schema:
  28019. items:
  28020. $ref: '#/definitions/models.WrPerformancePlanStep'
  28021. type: array
  28022. "500":
  28023. description: Internal Server Error
  28024. schema:
  28025. $ref: '#/definitions/app.Response'
  28026. security:
  28027. - ApiKeyAuth: []
  28028. summary: 查询履约信息详情
  28029. tags:
  28030. - 仓单贸易v2
  28031. /WrTrade2/QueryWrPerformanceStepType:
  28032. get:
  28033. produces:
  28034. - application/json
  28035. responses:
  28036. "200":
  28037. description: OK
  28038. schema:
  28039. items:
  28040. $ref: '#/definitions/models.WrPerformanceStepType'
  28041. type: array
  28042. "500":
  28043. description: Internal Server Error
  28044. schema:
  28045. $ref: '#/definitions/app.Response'
  28046. security:
  28047. - ApiKeyAuth: []
  28048. summary: 查询履约步骤枚举
  28049. tags:
  28050. - 仓单贸易v2
  28051. /WrTrade2/QueryWrPosition:
  28052. get:
  28053. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  28054. parameters:
  28055. - description: 用户id
  28056. in: query
  28057. name: userid
  28058. required: true
  28059. type: integer
  28060. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  28061. in: query
  28062. name: querytype
  28063. required: true
  28064. type: integer
  28065. - description: 0:仓单预售 1:仓单贸易
  28066. in: query
  28067. name: haswr
  28068. required: true
  28069. type: integer
  28070. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  28071. in: query
  28072. name: dgitemname
  28073. type: string
  28074. - description: 仓库id(筛选条件)
  28075. in: query
  28076. name: warehouseid
  28077. type: integer
  28078. - description: 品种id
  28079. in: query
  28080. name: deliverygoodsid
  28081. type: integer
  28082. - description: 品类id
  28083. in: query
  28084. name: wrstandardid
  28085. type: integer
  28086. produces:
  28087. - application/json
  28088. responses:
  28089. "200":
  28090. description: OK
  28091. schema:
  28092. items:
  28093. $ref: '#/definitions/models.WrPosition'
  28094. type: array
  28095. "500":
  28096. description: Internal Server Error
  28097. schema:
  28098. $ref: '#/definitions/app.Response'
  28099. security:
  28100. - ApiKeyAuth: []
  28101. summary: 查询现货(预售)仓单持仓
  28102. tags:
  28103. - 仓单贸易v2
  28104. /WrTrade2/QueryWrPreSaleInfo:
  28105. get:
  28106. parameters:
  28107. - description: 市场id
  28108. in: query
  28109. name: marketid
  28110. type: integer
  28111. - description: 预售状态(逗号隔开,如1,2,3) 1:未开始 2:进行中 3:已结束 4:已关闭
  28112. in: query
  28113. name: presalestatus
  28114. type: string
  28115. - description: 摇号标识 - 0:未摇号 1:已摇号
  28116. in: query
  28117. name: lotteryflag
  28118. type: integer
  28119. - description: 最近多少条记录(按创建时间倒序)
  28120. in: query
  28121. name: lastnum
  28122. type: integer
  28123. produces:
  28124. - application/json
  28125. responses:
  28126. "200":
  28127. description: OK
  28128. schema:
  28129. items:
  28130. $ref: '#/definitions/models.WrPreSaleInfo'
  28131. type: array
  28132. "500":
  28133. description: Internal Server Error
  28134. schema:
  28135. $ref: '#/definitions/app.Response'
  28136. security:
  28137. - ApiKeyAuth: []
  28138. summary: 查询新品发布
  28139. tags:
  28140. - 仓单贸易v2
  28141. /WrTrade2/QueryWrReckonSpotGoodsTradeSum:
  28142. get:
  28143. parameters:
  28144. - description: 市场id
  28145. in: query
  28146. name: marketid
  28147. required: true
  28148. type: integer
  28149. - description: 现货商品id
  28150. in: query
  28151. name: wrstandardid
  28152. required: true
  28153. type: integer
  28154. - description: 开始交易日(yyyymmdd)
  28155. in: query
  28156. name: begindate
  28157. type: string
  28158. - description: 结束交易日(yyyymmdd)
  28159. in: query
  28160. name: enddate
  28161. type: string
  28162. - description: 最近多少条记录(按交易日倒序)
  28163. in: query
  28164. name: lastnum
  28165. type: integer
  28166. produces:
  28167. - application/json
  28168. responses:
  28169. "200":
  28170. description: OK
  28171. schema:
  28172. items:
  28173. $ref: '#/definitions/models.WrReckonSpotGoodsTradeSum'
  28174. type: array
  28175. "500":
  28176. description: Internal Server Error
  28177. schema:
  28178. $ref: '#/definitions/app.Response'
  28179. security:
  28180. - ApiKeyAuth: []
  28181. summary: 查询价格走势
  28182. tags:
  28183. - 仓单贸易v2
  28184. /WrTrade2/QueryWrScfContract:
  28185. get:
  28186. parameters:
  28187. - description: 用户id
  28188. in: query
  28189. name: userid
  28190. required: true
  28191. type: integer
  28192. - description: 融资合同id
  28193. in: query
  28194. name: scfcontractid
  28195. type: integer
  28196. produces:
  28197. - application/json
  28198. responses:
  28199. "200":
  28200. description: OK
  28201. schema:
  28202. items:
  28203. $ref: '#/definitions/models.WrScfContract'
  28204. type: array
  28205. "500":
  28206. description: Internal Server Error
  28207. schema:
  28208. $ref: '#/definitions/app.Response'
  28209. security:
  28210. - ApiKeyAuth: []
  28211. summary: 查询仓单贸易融资合同
  28212. tags:
  28213. - 仓单贸易v2
  28214. /WrTrade2/QueryWrScfContractInterest:
  28215. get:
  28216. parameters:
  28217. - description: 融资合同id
  28218. in: query
  28219. name: scfcontractid
  28220. type: integer
  28221. produces:
  28222. - application/json
  28223. responses:
  28224. "200":
  28225. description: OK
  28226. schema:
  28227. items:
  28228. $ref: '#/definitions/models.WrScfContractInterest'
  28229. type: array
  28230. "500":
  28231. description: Internal Server Error
  28232. schema:
  28233. $ref: '#/definitions/app.Response'
  28234. security:
  28235. - ApiKeyAuth: []
  28236. summary: 查询融资合同费用明细
  28237. tags:
  28238. - 仓单贸易v2
  28239. /WrTrade2/QueryWrSpecialMatchOrder:
  28240. get:
  28241. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  28242. parameters:
  28243. - description: 页码
  28244. in: query
  28245. name: page
  28246. type: integer
  28247. - description: 每页条数
  28248. in: query
  28249. name: pagesize
  28250. type: integer
  28251. - description: 用户id
  28252. in: query
  28253. name: userid
  28254. required: true
  28255. type: integer
  28256. - description: 仓单贸易市场id
  28257. in: query
  28258. name: marketid
  28259. type: integer
  28260. - description: 0:仓单预售 1:仓单贸易
  28261. in: query
  28262. name: haswr
  28263. required: true
  28264. type: integer
  28265. - description: 1:指定好友(贸易圈) 2:指定对手 - [挂牌]
  28266. in: query
  28267. name: isspecified
  28268. type: integer
  28269. produces:
  28270. - application/json
  28271. responses:
  28272. "200":
  28273. description: OK
  28274. schema:
  28275. items:
  28276. $ref: '#/definitions/models.WrSpecialMatchOrder'
  28277. type: array
  28278. "500":
  28279. description: Internal Server Error
  28280. schema:
  28281. $ref: '#/definitions/app.Response'
  28282. security:
  28283. - ApiKeyAuth: []
  28284. summary: 查询指定成交
  28285. tags:
  28286. - 仓单贸易v2
  28287. /WrTrade2/QueryWrStandardFactoryItem:
  28288. get:
  28289. parameters:
  28290. - description: 品类id
  28291. in: query
  28292. name: wrstandardid
  28293. required: true
  28294. type: integer
  28295. produces:
  28296. - application/json
  28297. responses:
  28298. "200":
  28299. description: OK
  28300. schema:
  28301. items:
  28302. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  28303. type: array
  28304. "500":
  28305. description: Internal Server Error
  28306. schema:
  28307. $ref: '#/definitions/app.Response'
  28308. security:
  28309. - ApiKeyAuth: []
  28310. summary: 查询品类要素定义项
  28311. tags:
  28312. - 仓单贸易v2
  28313. /WrTrade2/QueryWrTradeBargainApply:
  28314. get:
  28315. description: 1.页面 挂单/议价单, 只需传单号就行 <br>2.页面 议价->我的议价 参数 userid=登录userid <br>3.页面
  28316. 议价->对方议价 填写matchuserid=登录用户id
  28317. parameters:
  28318. - description: 议价人id(摘牌方)
  28319. in: query
  28320. name: userid
  28321. type: integer
  28322. - description: 挂牌方id(查对方议价时,填写此项)
  28323. in: query
  28324. name: matchuserid
  28325. type: integer
  28326. - description: 关联委托单id
  28327. in: query
  28328. name: wrtradeorderid
  28329. type: integer
  28330. - description: 0:仓单预售 1:仓单贸易
  28331. in: query
  28332. name: haswr
  28333. required: true
  28334. type: integer
  28335. - description: 开始交易日(yyyymmdd)
  28336. in: query
  28337. name: begindate
  28338. type: string
  28339. - description: 结束交易日(yyyymmdd)
  28340. in: query
  28341. name: enddate
  28342. type: string
  28343. produces:
  28344. - application/json
  28345. responses:
  28346. "200":
  28347. description: OK
  28348. schema:
  28349. items:
  28350. $ref: '#/definitions/models.WRTradeBargainApply'
  28351. type: array
  28352. "500":
  28353. description: Internal Server Error
  28354. schema:
  28355. $ref: '#/definitions/app.Response'
  28356. security:
  28357. - ApiKeyAuth: []
  28358. summary: 查询议价单
  28359. tags:
  28360. - 仓单贸易v2
  28361. /WrTrade2/QueryWrTradeDetail:
  28362. get:
  28363. parameters:
  28364. - description: 页码
  28365. in: query
  28366. name: page
  28367. type: integer
  28368. - description: 每页条数
  28369. in: query
  28370. name: pagesize
  28371. type: integer
  28372. - description: 用户id
  28373. in: query
  28374. name: userid
  28375. required: true
  28376. type: integer
  28377. - description: 仓单贸易市场id
  28378. in: query
  28379. name: marketid
  28380. type: integer
  28381. - description: 0:仓单预售 1:仓单贸易
  28382. in: query
  28383. name: haswr
  28384. required: true
  28385. type: integer
  28386. - description: 开始交易日(yyyymmdd)
  28387. in: query
  28388. name: begindate
  28389. type: string
  28390. - description: 结束交易日(yyyymmdd)
  28391. in: query
  28392. name: enddate
  28393. type: string
  28394. produces:
  28395. - application/json
  28396. responses:
  28397. "200":
  28398. description: OK
  28399. schema:
  28400. items:
  28401. $ref: '#/definitions/models.WrTradeDetail'
  28402. type: array
  28403. "500":
  28404. description: Internal Server Error
  28405. schema:
  28406. $ref: '#/definitions/app.Response'
  28407. security:
  28408. - ApiKeyAuth: []
  28409. summary: 查询仓单成交明细
  28410. tags:
  28411. - 仓单贸易v2
  28412. /WrTrade2/QueryWrTradeOrderDetail:
  28413. get:
  28414. parameters:
  28415. - description: 页码
  28416. in: query
  28417. name: page
  28418. type: integer
  28419. - description: 每页条数
  28420. in: query
  28421. name: pagesize
  28422. type: integer
  28423. - description: 商品id
  28424. in: query
  28425. name: goodsid
  28426. required: true
  28427. type: integer
  28428. - description: 买卖方向 0-买 1-卖
  28429. in: query
  28430. name: buyorsell
  28431. required: true
  28432. type: integer
  28433. produces:
  28434. - application/json
  28435. responses:
  28436. "200":
  28437. description: OK
  28438. schema:
  28439. items:
  28440. $ref: '#/definitions/models.WrTradeOrderDetail'
  28441. type: array
  28442. "500":
  28443. description: Internal Server Error
  28444. schema:
  28445. $ref: '#/definitions/app.Response'
  28446. security:
  28447. - ApiKeyAuth: []
  28448. summary: 查询合约交易买卖大厅
  28449. tags:
  28450. - 仓单贸易v2
  28451. /WrTrade2/QueryWrUserFriend:
  28452. get:
  28453. parameters:
  28454. - description: 用户id
  28455. in: query
  28456. name: userid
  28457. required: true
  28458. type: integer
  28459. - description: 新朋友userid, 如果填写了此项则查找新朋友
  28460. in: query
  28461. name: newuserid
  28462. type: integer
  28463. produces:
  28464. - application/json
  28465. responses:
  28466. "200":
  28467. description: OK
  28468. schema:
  28469. items:
  28470. $ref: '#/definitions/models.WrUserFriend'
  28471. type: array
  28472. "500":
  28473. description: Internal Server Error
  28474. schema:
  28475. $ref: '#/definitions/app.Response'
  28476. security:
  28477. - ApiKeyAuth: []
  28478. summary: 查询我的朋友
  28479. tags:
  28480. - 仓单贸易v2
  28481. /WrTrade2/QueryWrUserReceiptInfo:
  28482. get:
  28483. parameters:
  28484. - description: 用户id
  28485. in: query
  28486. name: userid
  28487. type: integer
  28488. - description: 发票类型 - 1:个人 2:企业
  28489. in: query
  28490. name: receipttype
  28491. type: integer
  28492. produces:
  28493. - application/json
  28494. responses:
  28495. "200":
  28496. description: OK
  28497. schema:
  28498. items:
  28499. $ref: '#/definitions/models.WrUserReceiptInfo'
  28500. type: array
  28501. "500":
  28502. description: Internal Server Error
  28503. schema:
  28504. $ref: '#/definitions/app.Response'
  28505. security:
  28506. - ApiKeyAuth: []
  28507. summary: 查询发票信息
  28508. tags:
  28509. - 仓单贸易v2
  28510. /ZJ/GetBankTip:
  28511. get:
  28512. produces:
  28513. - application/json
  28514. responses:
  28515. "200":
  28516. description: OK
  28517. schema:
  28518. type: string
  28519. "500":
  28520. description: Internal Server Error
  28521. schema:
  28522. $ref: '#/definitions/app.Response'
  28523. summary: 获取中江网银端出入金提示信息
  28524. tags:
  28525. - 中江
  28526. /ZJ/GetCusBankChannels:
  28527. get:
  28528. produces:
  28529. - application/json
  28530. responses:
  28531. "200":
  28532. description: OK
  28533. schema:
  28534. items:
  28535. type: string
  28536. type: array
  28537. "500":
  28538. description: Internal Server Error
  28539. schema:
  28540. $ref: '#/definitions/app.Response'
  28541. summary: 获取中江出入金渠道显示列表
  28542. tags:
  28543. - 中江
  28544. securityDefinitions:
  28545. ApiKeyAuth:
  28546. in: header
  28547. name: Authorization
  28548. type: apiKey
  28549. swagger: "2.0"