swagger.yaml 742 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778
  1. basePath: /api
  2. definitions:
  3. app.Response:
  4. properties:
  5. code:
  6. type: integer
  7. data:
  8. type: object
  9. msg:
  10. type: string
  11. page:
  12. description: 页码
  13. type: integer
  14. pagesize:
  15. description: 每页条数
  16. type: integer
  17. total:
  18. description: 总条数
  19. type: integer
  20. type: object
  21. common.ClientMenu:
  22. properties:
  23. children:
  24. description: 子菜单列表
  25. items:
  26. $ref: '#/definitions/common.ClientMenu'
  27. type: array
  28. code:
  29. description: ID
  30. type: string
  31. isshow:
  32. description: 是否显示
  33. type: boolean
  34. remark:
  35. description: 备注
  36. type: string
  37. rulekey:
  38. description: 对应权限主键,对应FUNCMENULIST表RESOURCECODE
  39. type: string
  40. sort:
  41. description: 排序
  42. type: integer
  43. title:
  44. description: 标题
  45. type: string
  46. type:
  47. description: 类型,1:菜单 2:按钮
  48. type: integer
  49. url:
  50. description: URL
  51. type: string
  52. type: object
  53. common.QueryImageConfigsRsp:
  54. properties:
  55. areauserid:
  56. description: 所属机构ID
  57. type: integer
  58. configid:
  59. description: 配置ID(SEQ_SZDZ2_IMAGECONFIG)
  60. type: integer
  61. createdate:
  62. description: 创建时间
  63. type: string
  64. creatorid:
  65. description: 创建人
  66. type: integer
  67. imagepath:
  68. description: 图片
  69. type: string
  70. imagetype:
  71. description: 类型 - 1:首页轮播(移动) 2:我的(移动)
  72. type: integer
  73. isshow:
  74. description: 是否展示 - 0:不展示 1:展示
  75. type: integer
  76. marketid:
  77. description: 市场ID
  78. type: integer
  79. modifierid:
  80. description: 操作人
  81. type: integer
  82. sort:
  83. description: 排序
  84. type: integer
  85. title:
  86. description: 标题
  87. type: string
  88. trademode:
  89. description: 交易模式
  90. type: integer
  91. updatedate:
  92. description: 修改时间
  93. type: string
  94. url:
  95. description: 链接(地址或商品ID)
  96. type: string
  97. urltype:
  98. description: 链接类型 - 1:直接地址 2:商品ID
  99. type: integer
  100. required:
  101. - configid
  102. type: object
  103. common.QueryNoticeRsp:
  104. properties:
  105. auditoruserid:
  106. description: 审核人
  107. type: integer
  108. auditremark:
  109. description: 审核备注
  110. type: string
  111. audittime:
  112. description: 审核日期
  113. type: string
  114. autoid:
  115. description: 自增ID
  116. type: integer
  117. content:
  118. description: 内容
  119. type: string
  120. createtime:
  121. description: 创建时间
  122. type: string
  123. creatorid:
  124. description: 建仓人
  125. type: integer
  126. endtime:
  127. description: 结束时间
  128. type: string
  129. istop:
  130. description: 是否置顶 - 0:不置顶 1:置顶
  131. type: integer
  132. msgiconurl:
  133. description: 消息图标Url
  134. type: string
  135. msgtype:
  136. description: 消息类型 - 1:公告通知 2:系统消息 3:商品到期提货通知
  137. type: integer
  138. publisher:
  139. description: 消息发布者
  140. type: string
  141. readed:
  142. description: 是否已读
  143. type: boolean
  144. scheduletime:
  145. description: 计划发送时间
  146. type: string
  147. sendtype:
  148. description: 推送方式 - 1:全体广播 2:按会员广播 3:个人推送 4:按会员广播(仅会员)
  149. type: integer
  150. sentstatus:
  151. description: 推送状态 - 0:未推送 1:已推送 2:审核拒绝
  152. type: integer
  153. title:
  154. description: 标题
  155. type: string
  156. userid:
  157. description: 会员/投资者ID推送方式 为 个人时,填写投资者ID
  158. type: integer
  159. required:
  160. - autoid
  161. type: object
  162. common.QueryProvincesAndCitiesRsp:
  163. properties:
  164. cities:
  165. description: 市
  166. items:
  167. $ref: '#/definitions/models.Division'
  168. type: array
  169. province:
  170. $ref: '#/definitions/models.Division'
  171. description: 省
  172. type: object
  173. common.QueryTableDefineRsp:
  174. properties:
  175. columns:
  176. description: 列头信息数组
  177. items:
  178. $ref: '#/definitions/models.Tablecolumnconfig'
  179. type: array
  180. remark:
  181. description: Remark
  182. type: string
  183. tabelmenu:
  184. description: 列表菜单
  185. type: string
  186. tablekey:
  187. description: 列表Key
  188. type: string
  189. tablename:
  190. description: 列表名称
  191. type: string
  192. tabletype:
  193. description: 列表类型 - 1:管理端 2:终端
  194. type: integer
  195. required:
  196. - tablekey
  197. type: object
  198. common.QueryTraderMenuRsp:
  199. properties:
  200. OperationMenu:
  201. description: 功能菜单
  202. items:
  203. $ref: '#/definitions/models.OperationPrimaryMenu'
  204. type: array
  205. QuoteMenu:
  206. description: 报价牌分类菜单
  207. items:
  208. $ref: '#/definitions/models.QuotePrimaryMenu'
  209. type: array
  210. type: object
  211. cptrade.Cptradepositioncancel:
  212. properties:
  213. accountid:
  214. description: 申请人账户ID
  215. type: integer
  216. applystatus:
  217. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  218. type: integer
  219. applytime:
  220. description: 申请时间
  221. type: string
  222. cancelid:
  223. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  224. type: integer
  225. cancelqty:
  226. description: 注销数量
  227. type: integer
  228. createtime:
  229. description: 创建时间
  230. type: string
  231. creatorid:
  232. description: 创建人ID
  233. type: integer
  234. creatorname:
  235. description: 创建人
  236. type: string
  237. goodscode:
  238. description: 订单商品代码
  239. type: string
  240. goodsid:
  241. description: 商品ID
  242. type: integer
  243. goodsname:
  244. description: 订单商品名称
  245. type: string
  246. goodunit:
  247. description: 报价单位
  248. type: string
  249. handlestatus:
  250. description: 处理状态
  251. type: integer
  252. marketid:
  253. description: 市场ID
  254. type: integer
  255. marketname:
  256. description: 市场名称
  257. type: string
  258. tradedate:
  259. description: 交易日(yyyyMMdd)
  260. type: string
  261. userid:
  262. description: 申请人ID
  263. type: integer
  264. required:
  265. - cancelid
  266. type: object
  267. cptrade.Cptradepresaleapply:
  268. properties:
  269. accountid:
  270. description: 申请人账户ID
  271. type: integer
  272. applyid:
  273. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  274. type: integer
  275. applyremark:
  276. description: 申请备注
  277. type: string
  278. applystatus:
  279. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  280. type: integer
  281. applytime:
  282. description: 申请时间
  283. type: string
  284. attachmenturl:
  285. description: 附件地址
  286. type: string
  287. endtime:
  288. description: 预售结束时间
  289. type: string
  290. goodscode:
  291. description: 商品代码
  292. type: string
  293. goodsid:
  294. description: 商品ID
  295. type: integer
  296. goodsname:
  297. description: 商品名称
  298. type: string
  299. goodunit:
  300. description: 报价单位
  301. type: string
  302. handlestatus:
  303. description: 处理状态
  304. type: integer
  305. marketid:
  306. description: 预售市场ID
  307. type: integer
  308. marketname:
  309. description: 预售市场名称
  310. type: string
  311. presaleqty:
  312. description: 预售数量
  313. type: integer
  314. relatedgoodscode:
  315. description: 关联交易合约代码
  316. type: string
  317. relatedgoodsid:
  318. description: 关联交易合约ID
  319. type: integer
  320. relatedgoodsname:
  321. description: 关联交易合约名称
  322. type: string
  323. starttime:
  324. description: 预售开始时间
  325. type: string
  326. tradedate:
  327. description: 交易日(yyyyMMdd)
  328. type: string
  329. trademode:
  330. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  331. type: integer
  332. userid:
  333. description: 申请人ID
  334. type: integer
  335. required:
  336. - applyid
  337. type: object
  338. cptrade.Cptradeusergoodsdata:
  339. properties:
  340. EnabledQty:
  341. description: 可用量
  342. type: integer
  343. GoodsCode:
  344. description: 订单商品代码
  345. type: string
  346. GoodsName:
  347. description: 订单商品名称
  348. type: string
  349. WRStandardCode:
  350. description: 仓单标准代码
  351. type: string
  352. WRStandardName:
  353. description: 仓单标准名称
  354. type: string
  355. accountid:
  356. description: 账户ID
  357. type: integer
  358. cancelqty:
  359. description: 注销量
  360. type: integer
  361. curpresaleqty:
  362. description: 当前预售量
  363. type: integer
  364. deliveryqty:
  365. description: 交割量
  366. type: integer
  367. freezeamount:
  368. description: 冻结金额
  369. type: number
  370. goodsid:
  371. description: 商品ID
  372. type: integer
  373. goodunit:
  374. description: 报价单位
  375. type: string
  376. hasspotfreeze:
  377. description: 是否有现货冻结 - 0:否 1:有
  378. type: integer
  379. inqty:
  380. description: 转入量(总数量)
  381. type: integer
  382. marketid:
  383. description: 市场ID
  384. type: integer
  385. presaledamount:
  386. description: 已预售总金额
  387. type: integer
  388. presaledqty:
  389. description: 已预售量
  390. type: integer
  391. userid:
  392. description: 用户ID
  393. type: integer
  394. wrstandardid:
  395. description: 仓单标准ID
  396. type: integer
  397. required:
  398. - accountid
  399. - goodsid
  400. type: object
  401. cptrade.QueryCPTradeMyBidRsp:
  402. properties:
  403. accountid:
  404. description: 账户ID[报价币种]
  405. type: integer
  406. goodsid:
  407. description: 商品ID
  408. type: integer
  409. goodunit:
  410. description: 报价单位
  411. type: string
  412. marketid:
  413. description: 市场ID
  414. type: integer
  415. orderid:
  416. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  417. type: integer
  418. orderprice:
  419. description: 委托价格
  420. type: number
  421. orderqty:
  422. description: 委托数量
  423. type: integer
  424. ordertime:
  425. description: 委托时间
  426. type: string
  427. ordertotalprice:
  428. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  429. type: number
  430. ordertotalweight:
  431. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  432. type: integer
  433. totaltotalprice:
  434. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  435. type: number
  436. tradeprice:
  437. description: 成交价格
  438. type: number
  439. tradeqty:
  440. description: 成交数量
  441. type: integer
  442. required:
  443. - accountid
  444. - goodsid
  445. - marketid
  446. - orderid
  447. - orderqty
  448. - ordertime
  449. - tradeprice
  450. - tradeqty
  451. type: object
  452. cptrade.QueryCPTradeOrderDetailRsq:
  453. properties:
  454. accountid:
  455. description: 账户ID[报价币种]
  456. type: integer
  457. buildtype:
  458. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  459. type: integer
  460. buyorsell:
  461. description: 买卖 - 0:买 1:卖
  462. type: integer
  463. cancelorderid:
  464. description: 撤单单号(撤单时填写)
  465. type: integer
  466. cancelqty:
  467. description: 撤单数量
  468. type: integer
  469. clientordertime:
  470. description: 客户端委托时间
  471. type: string
  472. clientticket:
  473. description: 客户端流水号
  474. type: string
  475. clienttype:
  476. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  477. type: integer
  478. closeexchagechargevalue:
  479. description: 平仓交易所手续费设置值
  480. type: number
  481. closefeealgorithm:
  482. description: 平仓手续费收取方式 1:比率 2:固定
  483. type: integer
  484. closefreezecharge:
  485. description: 平仓冻结手续费(先建后平操作,需要记录)
  486. type: number
  487. closememberchargevalue:
  488. description: 平仓会员手续费设置值
  489. type: number
  490. closeqty:
  491. description: 平仓数量(先建后平操作 需要记录)
  492. type: integer
  493. closetradeqty:
  494. description: 平仓成交数量(先建后平操作,需要记录)
  495. type: integer
  496. closeunfreezecharge:
  497. description: 平仓解冻手续费(先建后平操作,需要记录)
  498. type: number
  499. delistingtype:
  500. description: 摘牌类型 - 1:价格最优 2:点选成交
  501. type: integer
  502. freezecharge:
  503. description: 冻结手续费
  504. type: number
  505. freezemargin:
  506. description: 冻结保证金(冻结交易金额)
  507. type: number
  508. gcaccountid:
  509. description: 账户ID[合约币种]
  510. type: integer
  511. goodsid:
  512. description: 商品ID
  513. type: integer
  514. isconfirmexercise:
  515. description: 是否确认行权- 0:否 1:是
  516. type: integer
  517. ispreexercise:
  518. description: 是否预申报- 0:否 1:是
  519. type: integer
  520. listingselecttype:
  521. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  522. type: integer
  523. marginalgorithm:
  524. description: 保证金收取方式 1:比率 2:固定
  525. type: integer
  526. marginvalue:
  527. description: 即市保证金设置值
  528. type: number
  529. marketid:
  530. description: 市场ID
  531. type: integer
  532. marketmaxsub:
  533. description: 市价最大偏移范围
  534. type: number
  535. memberuserid:
  536. description: 所属会员UserID
  537. type: integer
  538. openexchagechargevalue:
  539. description: 建仓交易所手续费设置值
  540. type: number
  541. openfeealgorithm:
  542. description: 建仓手续费收取方式 1:比率 2:固定
  543. type: integer
  544. openfreezecharge:
  545. description: 开仓冻结手续费(先建后平操作,需要记录)
  546. type: number
  547. openmemberchargevalue:
  548. description: 建仓会员手续费设置值
  549. type: number
  550. openqty:
  551. description: 开仓数量(先建后平操作,需要记录)
  552. type: integer
  553. opentradeqty:
  554. description: 开仓成交数量(先建后平操作,需要记录)
  555. type: integer
  556. openunfreezecharge:
  557. description: 开仓解冻手续费(先建后平操作,需要记录)
  558. type: number
  559. operatetype:
  560. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让
  561. type: integer
  562. operatorid:
  563. description: 登录账号(LoginID)
  564. type: integer
  565. optiontype:
  566. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  567. type: integer
  568. orderprice:
  569. description: 委托价格
  570. type: number
  571. orderqty:
  572. description: 委托数量
  573. type: integer
  574. ordersrc:
  575. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  576. type: integer
  577. orderstatus:
  578. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  579. type: integer
  580. ordertime:
  581. description: 委托时间
  582. type: string
  583. preexerciseprice:
  584. description: 预申报价格
  585. type: number
  586. premium:
  587. description: 权利金
  588. type: number
  589. preorderid:
  590. description: 关联预埋单号(止盈止损单时填写)
  591. type: integer
  592. pricemode:
  593. description: '取价方式 - 1:市价 2: 限价'
  594. type: integer
  595. quoteid:
  596. description: 报价单ID
  597. type: integer
  598. relatedid:
  599. description: 关联单号(交割单)
  600. type: integer
  601. retcode:
  602. description: 错误代码
  603. type: integer
  604. sessionid:
  605. description: 会话ID
  606. type: integer
  607. strorderid:
  608. description: 委托单号
  609. type: string
  610. tradedate:
  611. description: 交易日(yyyyMMdd)
  612. type: string
  613. tradeproperty:
  614. description: 交易属性
  615. type: integer
  616. tradeqty:
  617. description: 成交数量
  618. type: integer
  619. unfreezecharge:
  620. description: 解冻手续费
  621. type: number
  622. unfreezemargin:
  623. description: 解冻保证金
  624. type: number
  625. updatetime:
  626. description: 更新时间
  627. type: string
  628. uuid:
  629. description: 发起端唯一id
  630. type: string
  631. validtime:
  632. description: 有效期限
  633. type: string
  634. validtype:
  635. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  636. type: integer
  637. volumetype:
  638. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  639. type: integer
  640. required:
  641. - accountid
  642. - buildtype
  643. - buyorsell
  644. - goodsid
  645. - marketid
  646. - memberuserid
  647. - operatetype
  648. - orderqty
  649. - ordertime
  650. - pricemode
  651. - strorderid
  652. - tradedate
  653. - validtype
  654. type: object
  655. cptrade.QueryMyCPTradeGoodsRsp:
  656. properties:
  657. accountid:
  658. description: 卖方账户ID
  659. type: integer
  660. agreeunit:
  661. description: 合约单位
  662. type: number
  663. applyid:
  664. description: 关联申请ID
  665. type: integer
  666. attachmenturl:
  667. description: 附件地址
  668. type: string
  669. createtime:
  670. description: 创建时间
  671. type: string
  672. currencyid:
  673. description: 报价货币ID
  674. type: integer
  675. decimalplace:
  676. description: 报价小数位
  677. type: integer
  678. endtime:
  679. description: 预售结束时间
  680. type: string
  681. floorprice:
  682. description: 底价[大宗式竞拍]
  683. type: number
  684. goodscode:
  685. description: 商品代码(预售)
  686. type: string
  687. goodsdetail:
  688. description: 详情[大宗]
  689. type: string
  690. goodsid:
  691. description: 商品ID(自增ID SEQ_GOODS)
  692. type: integer
  693. goodsname:
  694. description: 商品名称(预售)
  695. type: string
  696. goodunit:
  697. description: 报价单位
  698. type: string
  699. goodunitid:
  700. description: 报价单位ID
  701. type: integer
  702. marketid:
  703. description: 所属市场ID
  704. type: integer
  705. marketname:
  706. description: 预售市场名称
  707. type: string
  708. presaledamount:
  709. description: 已预售总金额(预售结束时更新)
  710. type: number
  711. presaledqty:
  712. description: 已预售量(预售结束时更新)
  713. type: integer
  714. presalemode:
  715. description: 预售模式 - 1:一口价 2:大宗式竞拍
  716. type: integer
  717. presaleqty:
  718. description: 预售数量
  719. type: integer
  720. refprice:
  721. description: 参考价格[一口价]
  722. type: number
  723. relatedgoodscode:
  724. description: 商品代码(订单)
  725. type: string
  726. relatedgoodsid:
  727. description: 关联交易合约ID
  728. type: integer
  729. relatedgoodsname:
  730. description: 商品名称(订单)
  731. type: string
  732. relatedmarketid:
  733. description: 关联交易合约市场ID
  734. type: integer
  735. sellstatus:
  736. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  737. type: integer
  738. startprice:
  739. description: 起拍价[大宗式竞拍]
  740. type: number
  741. starttime:
  742. description: 预售开始时间
  743. type: string
  744. tradedate:
  745. description: 交易日(yyyyMMdd)
  746. type: string
  747. tradeprice:
  748. description: 成交价[大宗]
  749. type: number
  750. userid:
  751. description: 卖方用户ID
  752. type: integer
  753. required:
  754. - goodscode
  755. - goodsid
  756. - goodsname
  757. - marketid
  758. - relatedgoodscode
  759. - relatedgoodsname
  760. type: object
  761. cptrade.QueryPresaleGoodsExRsp:
  762. properties:
  763. attachmenturl:
  764. description: 附件地址
  765. type: string
  766. createtime:
  767. description: 创建时间
  768. type: string
  769. endtime:
  770. description: 预售结束时间
  771. type: string
  772. floorprice:
  773. description: 底价[大宗式竞拍]
  774. type: number
  775. goodsdetail:
  776. description: 详情[大宗]
  777. type: string
  778. goodsid:
  779. description: 商品ID(预售)
  780. type: integer
  781. goodunit:
  782. description: 报价单位
  783. type: string
  784. marketid:
  785. description: 预售市场ID - 根据预售模式选择市场
  786. type: integer
  787. presaledamount:
  788. description: 已预售总金额(预售结束时更新)
  789. type: number
  790. presaledqty:
  791. description: 已预售量(预售结束时更新)
  792. type: integer
  793. presalemode:
  794. description: 预售模式 - 1:一口价 2:大宗式竞拍
  795. type: integer
  796. presaleqty:
  797. description: 预售数量
  798. type: integer
  799. refprice:
  800. description: 参考价格[一口价]
  801. type: number
  802. relatedgoodsid:
  803. description: 关联交易合约ID
  804. type: integer
  805. relatedmarketid:
  806. description: 关联交易合约市场ID
  807. type: integer
  808. sellstatus:
  809. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  810. type: integer
  811. startprice:
  812. description: 起拍价[大宗式竞拍]
  813. type: number
  814. starttime:
  815. description: 预售开始时间
  816. type: string
  817. tradedate:
  818. description: 交易日(yyyyMMdd)
  819. type: string
  820. tradeprice:
  821. description: 成交价[大宗]
  822. type: number
  823. required:
  824. - goodsid
  825. type: object
  826. delivery.QueryDeliveryRelationRsp:
  827. properties:
  828. begindate:
  829. description: 起始日期(yyyyMMdd)
  830. type: string
  831. buytemplateid:
  832. description: 买履约计划模板ID
  833. type: integer
  834. deliverygoodscode:
  835. description: 品种代码
  836. type: string
  837. deliverygoodsid:
  838. description: 交割商品
  839. type: integer
  840. deliverygoodsname:
  841. description: 品种名称
  842. type: string
  843. deliverymode:
  844. description: 交割方式 - 1:点选式 2:申报式
  845. type: integer
  846. deliverypricerule:
  847. description: 交割价规则- 1:行情价 2:建仓价
  848. type: integer
  849. deliverytype:
  850. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  851. type: integer
  852. enddate:
  853. description: 结束日期(yyyyMMdd)
  854. type: string
  855. enumdicname:
  856. description: 品类单位名称
  857. type: string
  858. goodscode:
  859. description: 商品代码
  860. type: string
  861. goodsid:
  862. description: 交易合约ID
  863. type: integer
  864. goodsname:
  865. description: 商品名称
  866. type: string
  867. marketid:
  868. description: 市场ID
  869. type: integer
  870. mindeliveryqty:
  871. description: 最小交割系数(K)
  872. type: integer
  873. p2deliveryprice:
  874. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  875. type: number
  876. p2deliveryratio:
  877. description: P2合约系数(p)
  878. type: integer
  879. p2goodsid:
  880. description: P2合约ID
  881. type: integer
  882. p2pricemode:
  883. description: P2合约价格方式 - 1:商品价 2:固定值
  884. type: integer
  885. pdeliveryprice:
  886. description: P合约价格(商品价时填写0,固定值时填写固定值)
  887. type: number
  888. pdeliveryratio:
  889. description: P合约系数(n)
  890. type: integer
  891. pgoodscode:
  892. description: p合约代码
  893. type: string
  894. pgoodsid:
  895. description: P合约ID
  896. type: integer
  897. ppricemode:
  898. description: P合约价格方式 - 1:商品价 2:固定值
  899. type: integer
  900. rratio:
  901. description: 兑换系数(R)
  902. type: integer
  903. rratio1:
  904. description: 兑换系数(交易合约)(R1)
  905. type: integer
  906. rratio2:
  907. description: 兑换系数(仓单标准)(R2)
  908. type: integer
  909. selltemplateid:
  910. description: 卖履约计划模板ID
  911. type: integer
  912. wrstandardid:
  913. description: 仓单标准ID
  914. type: integer
  915. xdeliveryratio:
  916. description: 交易合约系数(m)
  917. type: integer
  918. required:
  919. - begindate
  920. - enddate
  921. - goodsid
  922. - mindeliveryqty
  923. - xdeliveryratio
  924. type: object
  925. ermcp.ExposureDetailRsp:
  926. properties:
  927. areauserid:
  928. description: 机构ID
  929. type: integer
  930. changeQty:
  931. description: 套保变动量
  932. type: number
  933. contracttype:
  934. description: 现货合同类型 - 1:采购 -1:销售
  935. type: integer
  936. convertfactor:
  937. description: 标仓系数
  938. type: number
  939. convertratio:
  940. description: 套保系数
  941. type: number
  942. createtime:
  943. description: 时间
  944. type: string
  945. enumdicname:
  946. description: 现货商品单位名称
  947. type: string
  948. logtype:
  949. description: 类型 - 1:套保计划 2:现货合同
  950. type: integer
  951. middlegoodsId:
  952. description: 套保商品id
  953. type: integer
  954. middlegoodscode:
  955. description: 套保商品代码
  956. type: string
  957. middlegoodsname:
  958. description: 套保商品名称
  959. type: string
  960. qty:
  961. description: 数量
  962. type: number
  963. relateNo:
  964. description: 现货合同/套保计划编号
  965. type: string
  966. wrstandardcode:
  967. description: 现货商品代码
  968. type: string
  969. wrstandardid:
  970. description: 现货商品ID
  971. type: integer
  972. wrstandardname:
  973. description: 现货商品名称
  974. type: string
  975. type: object
  976. ermcp.ExposureHedgePosDetailRsp:
  977. properties:
  978. buyorsell:
  979. description: 买卖方向 0-买 1-卖
  980. type: integer
  981. channelbuildtype:
  982. description: 开平方向 1-建仓 2-平仓
  983. type: integer
  984. goodscode:
  985. description: 商品代码
  986. type: string
  987. goodsname:
  988. description: 商品名称
  989. type: string
  990. hedgegoodsid:
  991. description: 商品id
  992. type: integer
  993. tradeqty:
  994. description: 数量(成交数量)
  995. type: integer
  996. tradetime:
  997. description: 时间(成交时间)
  998. type: string
  999. type: object
  1000. ermcp.ExposureHedgePositionRsp:
  1001. properties:
  1002. accountid:
  1003. description: 资金账号[外部母账户]
  1004. type: integer
  1005. curbuyposition:
  1006. description: 期末买头寸
  1007. type: integer
  1008. cursellposition:
  1009. description: 期末卖头寸
  1010. type: integer
  1011. curtdbuyposition:
  1012. description: 期末今日买头寸
  1013. type: integer
  1014. curtdsellposition:
  1015. description: 期末今日卖头寸
  1016. type: integer
  1017. curydbuyposition:
  1018. description: 期末上日买头寸
  1019. type: integer
  1020. curydsellposition:
  1021. description: 期末上日卖头寸
  1022. type: integer
  1023. decreaseqty:
  1024. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  1025. type: integer
  1026. fretdbuyposition:
  1027. description: 冻结今日买头寸
  1028. type: integer
  1029. fretdsellposition:
  1030. description: 冻结今日卖头寸
  1031. type: integer
  1032. freydbuyposition:
  1033. description: 冻结上日买头寸
  1034. type: integer
  1035. freydsellposition:
  1036. description: 冻结上日卖头寸
  1037. type: integer
  1038. goodscode:
  1039. description: 商品代码
  1040. type: string
  1041. goodsid:
  1042. description: 商品id
  1043. type: integer
  1044. goodsname:
  1045. description: 商品名称
  1046. type: string
  1047. hedgeaccountcode:
  1048. description: 对冲账号
  1049. type: string
  1050. hedgegoodsid:
  1051. description: 对冲合约ID
  1052. type: integer
  1053. increaseqty:
  1054. description: 增加数量 = 期末买头寸 - 期初买头寸
  1055. type: integer
  1056. marketid:
  1057. description: 市场ID
  1058. type: integer
  1059. relateduserid:
  1060. description: 关联用户id
  1061. type: integer
  1062. totalcurqty:
  1063. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  1064. type: integer
  1065. totalydqty:
  1066. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  1067. type: integer
  1068. tradedate:
  1069. description: 交易日(yyyyMMdd)
  1070. type: string
  1071. ydbuyposition:
  1072. description: 期初买头寸
  1073. type: integer
  1074. ydsellposition:
  1075. description: 期初卖头寸
  1076. type: integer
  1077. type: object
  1078. ermcp.ExposureSpotDetailRsp:
  1079. properties:
  1080. contracttype:
  1081. description: 合同类型 1-采购 -1-销售
  1082. type: integer
  1083. createtime:
  1084. description: 创建时间
  1085. type: string
  1086. enumdicname:
  1087. description: 现货商品单位名称
  1088. type: string
  1089. logtype:
  1090. description: 记录类型 1-套保 2-现货合同
  1091. type: integer
  1092. qty:
  1093. description: 数量
  1094. type: number
  1095. recordname:
  1096. description: 类型名称
  1097. type: string
  1098. relatedid:
  1099. description: 套保计划ID/现货合同ID
  1100. type: string
  1101. relatedno:
  1102. description: 编号
  1103. type: string
  1104. strtime:
  1105. description: 时间
  1106. type: string
  1107. wrstandardcode:
  1108. description: 现货商品代码
  1109. type: string
  1110. wrstandardname:
  1111. description: 现货商品名称
  1112. type: string
  1113. type: object
  1114. ermcp.ExposureSpotRsp:
  1115. properties:
  1116. areauserid:
  1117. description: 所属机构
  1118. type: integer
  1119. decreaseqty:
  1120. description: 减少数量=-(销售已定价数量+采购计划数量)
  1121. type: number
  1122. increaseqty:
  1123. description: 增加数量=销售计划数量+采购已定价数量
  1124. type: number
  1125. oritoalspotqty:
  1126. description: 昨日数量
  1127. type: number
  1128. totalspotqty:
  1129. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  1130. type: number
  1131. updatetime:
  1132. description: 更新时间
  1133. type: string
  1134. wrstandardcode:
  1135. description: 现货品种代码
  1136. type: string
  1137. wrstandardid:
  1138. description: 现货商品ID
  1139. type: integer
  1140. wrstandardname:
  1141. description: 现货品种
  1142. type: string
  1143. type: object
  1144. ermcp.HisExposureRsp:
  1145. properties:
  1146. data:
  1147. description: 历史敞口
  1148. items:
  1149. $ref: '#/definitions/models.ErmcpHisExposure'
  1150. type: array
  1151. enumdicname:
  1152. description: 单位名称
  1153. type: string
  1154. middlegoodscode:
  1155. description: 套保品种代码
  1156. type: string
  1157. middlegoodsid:
  1158. description: 套保品种ID
  1159. type: integer
  1160. middlegoodsname:
  1161. description: 套保品种名称
  1162. type: string
  1163. type: object
  1164. ermcp.PendingAuditCntRsp:
  1165. properties:
  1166. areastockqty:
  1167. description: '待审核数量: 库存申请'
  1168. type: integer
  1169. businessdjqty:
  1170. description: '待审核数量: 点价'
  1171. type: integer
  1172. businessfpqty:
  1173. description: '待审核数量: 发票'
  1174. type: integer
  1175. businessjsqty:
  1176. description: '待审核数量: 结算'
  1177. type: integer
  1178. businesskxqty:
  1179. description: '待审核数量: 款项'
  1180. type: integer
  1181. hedgeplanqty:
  1182. description: '待审核数量: 套保计划'
  1183. type: integer
  1184. spotcontractqty:
  1185. description: '待审核数量: 现货合同'
  1186. type: integer
  1187. userqty:
  1188. description: '待审核数量: 用户'
  1189. type: integer
  1190. type: object
  1191. ermcp.QryAvalidGPRsp:
  1192. properties:
  1193. goodsgroupid:
  1194. description: 期货品种id
  1195. type: integer
  1196. goodsgroupname:
  1197. description: 期货品种名称
  1198. type: string
  1199. goodunitid:
  1200. description: 品种单位id
  1201. type: integer
  1202. goodunitname:
  1203. description: 品种单位名称
  1204. type: string
  1205. outergroupcode:
  1206. description: 期货品种代码
  1207. type: string
  1208. type: object
  1209. ermcp.QryBusinessDjRsp:
  1210. properties:
  1211. amount:
  1212. description: 点价金额=(点价价格+升贴水)*点价数量
  1213. type: number
  1214. applyid:
  1215. description: 申请人
  1216. type: string
  1217. applyname:
  1218. description: 申请人名称
  1219. type: string
  1220. applystatus:
  1221. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1222. type: integer
  1223. applytime:
  1224. description: 申请时间
  1225. type: string
  1226. attachurl:
  1227. description: 附件
  1228. type: string
  1229. auditid:
  1230. description: 审核人ID
  1231. type: string
  1232. auditname:
  1233. description: 审核人名称
  1234. type: string
  1235. audittime:
  1236. description: 审核时间
  1237. type: string
  1238. buyusername:
  1239. description: 采购方名称
  1240. type: string
  1241. contractno:
  1242. description: 合同编号
  1243. type: string
  1244. contractstatus:
  1245. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1246. type: integer
  1247. contracttype:
  1248. description: 现货合同类型 - 1:采购 -1:销售
  1249. type: integer
  1250. deliverygoodscode:
  1251. description: 现货品种代码
  1252. type: string
  1253. deliverygoodsid:
  1254. description: 现货商品ID
  1255. type: integer
  1256. deliverygoodsname:
  1257. description: 现货品种名称
  1258. type: string
  1259. enumdicname:
  1260. description: 单位名称
  1261. type: string
  1262. goodscode:
  1263. description: 点价合约
  1264. type: string
  1265. goodsname:
  1266. description: 商品名称
  1267. type: string
  1268. operateapplyid:
  1269. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1270. type: string
  1271. operateapplytype:
  1272. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1273. type: integer
  1274. pricedPrice:
  1275. description: 点价价格(非必填)
  1276. type: number
  1277. pricedQty:
  1278. description: 点价数量(非必填)
  1279. type: number
  1280. pricemove:
  1281. description: 升贴水
  1282. type: number
  1283. pricetype:
  1284. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1285. type: integer
  1286. relatedid:
  1287. description: 现货合同ID
  1288. type: string
  1289. sellusername:
  1290. description: 销售方名字
  1291. type: string
  1292. userid:
  1293. description: 用户ID
  1294. type: integer
  1295. wrstandardcode:
  1296. description: 品类代码
  1297. type: string
  1298. wrstandardid:
  1299. description: 品类id
  1300. type: integer
  1301. wrstandardname:
  1302. description: 品类名称
  1303. type: string
  1304. type: object
  1305. ermcp.QryBussinessFpRsp:
  1306. properties:
  1307. applyid:
  1308. description: 申请人
  1309. type: string
  1310. applyname:
  1311. description: 申请人名称
  1312. type: string
  1313. applystatus:
  1314. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1315. type: integer
  1316. applytime:
  1317. description: 申请时间
  1318. type: string
  1319. attachurl:
  1320. description: 附件
  1321. type: string
  1322. auditid:
  1323. description: 审核人ID
  1324. type: string
  1325. auditname:
  1326. description: 审核人名称
  1327. type: string
  1328. audittime:
  1329. description: 审核时间
  1330. type: string
  1331. buyusername:
  1332. description: 采购方名称
  1333. type: string
  1334. contractno:
  1335. description: 合同编号
  1336. type: string
  1337. contractstatus:
  1338. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1339. type: integer
  1340. contracttype:
  1341. description: 现货合同类型 - 1:采购 -1:销售
  1342. type: integer
  1343. deliverygoodscode:
  1344. description: 现货品种代码
  1345. type: string
  1346. deliverygoodsid:
  1347. description: 现货商品ID
  1348. type: integer
  1349. deliverygoodsname:
  1350. description: 现货品种名称
  1351. type: string
  1352. enumdicname:
  1353. description: 单位名称
  1354. type: string
  1355. goodscode:
  1356. description: 点价合约
  1357. type: string
  1358. goodsname:
  1359. description: 商品名称
  1360. type: string
  1361. invoiceAmount:
  1362. description: 已开收票金额(销售为开票,采购为收票)
  1363. type: number
  1364. operateapplyid:
  1365. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1366. type: string
  1367. operateapplytype:
  1368. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1369. type: integer
  1370. pricemove:
  1371. description: 升贴水
  1372. type: number
  1373. pricetype:
  1374. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1375. type: integer
  1376. relatedid:
  1377. description: 现货合同ID
  1378. type: string
  1379. sellusername:
  1380. description: 销售方名字
  1381. type: string
  1382. userid:
  1383. description: 用户ID
  1384. type: integer
  1385. wrstandardcode:
  1386. description: 品类代码
  1387. type: string
  1388. wrstandardid:
  1389. description: 品类id
  1390. type: integer
  1391. wrstandardname:
  1392. description: 品类名称
  1393. type: string
  1394. type: object
  1395. ermcp.QryBussinessJsExRsp:
  1396. properties:
  1397. applyid:
  1398. description: 申请人
  1399. type: string
  1400. applyname:
  1401. description: 申请人名称
  1402. type: string
  1403. applystatus:
  1404. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1405. type: integer
  1406. applytime:
  1407. description: 申请时间
  1408. type: string
  1409. attachurl:
  1410. description: 附件
  1411. type: string
  1412. auditid:
  1413. description: 审核人ID
  1414. type: string
  1415. auditname:
  1416. description: 审核人名称
  1417. type: string
  1418. audittime:
  1419. description: 审核时间
  1420. type: string
  1421. buyusername:
  1422. description: 采购方名称
  1423. type: string
  1424. contractno:
  1425. description: 合同编号
  1426. type: string
  1427. contractstatus:
  1428. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1429. type: integer
  1430. contracttype:
  1431. description: 现货合同类型 - 1:采购 -1:销售
  1432. type: integer
  1433. deliverygoodscode:
  1434. description: 现货品种代码
  1435. type: string
  1436. deliverygoodsid:
  1437. description: 现货商品ID
  1438. type: integer
  1439. deliverygoodsname:
  1440. description: 现货品种名称
  1441. type: string
  1442. enumdicname:
  1443. description: 单位名称
  1444. type: string
  1445. goodscode:
  1446. description: 点价合约
  1447. type: string
  1448. goodsname:
  1449. description: 商品名称
  1450. type: string
  1451. operateapplyid:
  1452. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1453. type: string
  1454. operateapplytype:
  1455. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1456. type: integer
  1457. pricemove:
  1458. description: 升贴水
  1459. type: number
  1460. pricetype:
  1461. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1462. type: integer
  1463. reckontype:
  1464. description: 结算类型
  1465. type: string
  1466. reckonvalue:
  1467. description: 值
  1468. type: number
  1469. relatedid:
  1470. description: 现货合同ID
  1471. type: string
  1472. sellusername:
  1473. description: 销售方名字
  1474. type: string
  1475. userid:
  1476. description: 用户ID
  1477. type: integer
  1478. wrstandardcode:
  1479. description: 品类代码
  1480. type: string
  1481. wrstandardid:
  1482. description: 品类id
  1483. type: integer
  1484. wrstandardname:
  1485. description: 品类名称
  1486. type: string
  1487. type: object
  1488. ermcp.QryBussinessJsRsp:
  1489. properties:
  1490. addmargin:
  1491. description: 追加保证金(非必填)
  1492. type: number
  1493. applyid:
  1494. description: 申请人
  1495. type: string
  1496. applyname:
  1497. description: 申请人名称
  1498. type: string
  1499. applystatus:
  1500. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1501. type: integer
  1502. applytime:
  1503. description: 申请时间
  1504. type: string
  1505. attachurl:
  1506. description: 附件
  1507. type: string
  1508. auditid:
  1509. description: 审核人ID
  1510. type: string
  1511. auditname:
  1512. description: 审核人名称
  1513. type: string
  1514. audittime:
  1515. description: 审核时间
  1516. type: string
  1517. buyusername:
  1518. description: 采购方名称
  1519. type: string
  1520. contractno:
  1521. description: 合同编号
  1522. type: string
  1523. contractstatus:
  1524. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1525. type: integer
  1526. contracttype:
  1527. description: 现货合同类型 - 1:采购 -1:销售
  1528. type: integer
  1529. decmargin:
  1530. description: 减少保证金(非必填)
  1531. type: number
  1532. deliverygoodscode:
  1533. description: 现货品种代码
  1534. type: string
  1535. deliverygoodsid:
  1536. description: 现货商品ID
  1537. type: integer
  1538. deliverygoodsname:
  1539. description: 现货品种名称
  1540. type: string
  1541. enumdicname:
  1542. description: 单位名称
  1543. type: string
  1544. goodscode:
  1545. description: 点价合约
  1546. type: string
  1547. goodsname:
  1548. description: 商品名称
  1549. type: string
  1550. operateapplyid:
  1551. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1552. type: string
  1553. operateapplytype:
  1554. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1555. type: integer
  1556. pricemove:
  1557. description: 升贴水
  1558. type: number
  1559. pricetype:
  1560. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1561. type: integer
  1562. reckonadjustamount:
  1563. description: 结算调整金额(非必填)
  1564. type: number
  1565. reckonosamount:
  1566. description: 结算溢短金额(非必填)
  1567. type: number
  1568. reckonotheramount:
  1569. description: 结算其他费用(非必填)
  1570. type: number
  1571. reckonrealqty:
  1572. description: 结算实际数量(非必填)
  1573. type: number
  1574. relatedid:
  1575. description: 现货合同ID
  1576. type: string
  1577. sellusername:
  1578. description: 销售方名字
  1579. type: string
  1580. userid:
  1581. description: 用户ID
  1582. type: integer
  1583. wrstandardcode:
  1584. description: 品类代码
  1585. type: string
  1586. wrstandardid:
  1587. description: 品类id
  1588. type: integer
  1589. wrstandardname:
  1590. description: 品类名称
  1591. type: string
  1592. type: object
  1593. ermcp.QryBussinessKxRsp:
  1594. properties:
  1595. applyid:
  1596. description: 申请人
  1597. type: string
  1598. applyname:
  1599. description: 申请人名称
  1600. type: string
  1601. applystatus:
  1602. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1603. type: integer
  1604. applytime:
  1605. description: 申请时间
  1606. type: string
  1607. attachurl:
  1608. description: 附件
  1609. type: string
  1610. auditid:
  1611. description: 审核人ID
  1612. type: string
  1613. auditname:
  1614. description: 审核人名称
  1615. type: string
  1616. audittime:
  1617. description: 审核时间
  1618. type: string
  1619. buyusername:
  1620. description: 采购方名称
  1621. type: string
  1622. contractno:
  1623. description: 合同编号
  1624. type: string
  1625. contractstatus:
  1626. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1627. type: integer
  1628. contracttype:
  1629. description: 现货合同类型 - 1:采购 -1:销售
  1630. type: integer
  1631. deductamount:
  1632. description: 退款(非必填)
  1633. type: number
  1634. deliverygoodscode:
  1635. description: 现货品种代码
  1636. type: string
  1637. deliverygoodsid:
  1638. description: 现货商品ID
  1639. type: integer
  1640. deliverygoodsname:
  1641. description: 现货品种名称
  1642. type: string
  1643. enumdicname:
  1644. description: 单位名称
  1645. type: string
  1646. goodscode:
  1647. description: 点价合约
  1648. type: string
  1649. goodsname:
  1650. description: 商品名称
  1651. type: string
  1652. kxtype:
  1653. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1654. type: integer
  1655. operateapplyid:
  1656. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1657. type: string
  1658. operateapplytype:
  1659. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1660. type: integer
  1661. payamount:
  1662. description: 收付款(非必填)
  1663. type: number
  1664. pricemove:
  1665. description: 升贴水
  1666. type: number
  1667. pricetype:
  1668. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1669. type: integer
  1670. relatedid:
  1671. description: 现货合同ID
  1672. type: string
  1673. sellusername:
  1674. description: 销售方名字
  1675. type: string
  1676. userid:
  1677. description: 用户ID
  1678. type: integer
  1679. wrstandardcode:
  1680. description: 品类代码
  1681. type: string
  1682. wrstandardid:
  1683. description: 品类id
  1684. type: integer
  1685. wrstandardname:
  1686. description: 品类名称
  1687. type: string
  1688. type: object
  1689. ermcp.QryGGCovertCfgRsp:
  1690. properties:
  1691. convertratio:
  1692. description: 折算系数
  1693. type: number
  1694. destgoodsgroupid:
  1695. description: 目标品种ID
  1696. type: integer
  1697. dstcode:
  1698. description: 目录品种代码
  1699. type: string
  1700. dstexchangecode:
  1701. description: 目标期货交易所
  1702. type: string
  1703. dstname:
  1704. description: 目标品种名称
  1705. type: string
  1706. dstunitid:
  1707. description: 目标品种单位ID
  1708. type: integer
  1709. dstunitidname:
  1710. description: 目标品种单位名称
  1711. type: string
  1712. modifytime:
  1713. description: 修改时间
  1714. type: string
  1715. srccode:
  1716. description: 源品种代码
  1717. type: string
  1718. srcexchangecode:
  1719. description: 源期货交易所
  1720. type: string
  1721. srcgoodsgroupid:
  1722. description: 源品种ID
  1723. type: integer
  1724. srcname:
  1725. description: 源品种名称
  1726. type: string
  1727. srcunitid:
  1728. description: 源品种单位ID
  1729. type: integer
  1730. srcunitidname:
  1731. description: 源品种单位名称
  1732. type: string
  1733. type: object
  1734. ermcp.QryMGChangeLogRsp:
  1735. properties:
  1736. aftervalue:
  1737. description: 变更后
  1738. type: number
  1739. applyid:
  1740. description: 操作人
  1741. type: integer
  1742. applyname:
  1743. description: 操作人名称
  1744. type: string
  1745. applysrc:
  1746. description: 操作来源 - 1:管理端 2:终端
  1747. type: integer
  1748. beforevalue:
  1749. description: 变更前
  1750. type: number
  1751. changelogtype:
  1752. description: 变更流水类型 - 1:套保比率变更
  1753. type: integer
  1754. handlestatus:
  1755. description: 处理状态
  1756. type: integer
  1757. logdatetime:
  1758. description: 流水日期
  1759. type: string
  1760. logid:
  1761. description: 流水ID
  1762. type: integer
  1763. logremark:
  1764. description: 流水备注
  1765. type: string
  1766. middlegoodsid:
  1767. description: 套保品种ID
  1768. type: integer
  1769. tradedate:
  1770. description: 交易日(yyyyMMdd)
  1771. type: string
  1772. updatetime:
  1773. description: 更新时间
  1774. type: string
  1775. type: object
  1776. ermcp.QryMiddleGoodsDetailRsp:
  1777. properties:
  1778. cvList:
  1779. description: 期货品种折算列表
  1780. items:
  1781. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1782. type: array
  1783. mg:
  1784. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1785. description: 套保品种基本信息
  1786. wrcList:
  1787. description: 现货品种列表(现货商品折算配置)
  1788. items:
  1789. $ref: '#/definitions/models.WRSConverTDetail'
  1790. type: array
  1791. type: object
  1792. ermcp.QryMiddleGoodsRsp:
  1793. properties:
  1794. areauserid:
  1795. description: 机构用户ID
  1796. type: integer
  1797. createtime:
  1798. description: 修改时间
  1799. type: string
  1800. enumdicname:
  1801. description: 单位名称
  1802. type: string
  1803. evaluateratio:
  1804. description: 估价系数
  1805. type: number
  1806. goodsgroupid:
  1807. description: 关联期货品种ID
  1808. type: integer
  1809. goodsunitid:
  1810. description: 单位ID
  1811. type: integer
  1812. isvalid:
  1813. description: 状态 0-无效(停用) 1-有效(正常)
  1814. type: integer
  1815. middlegoodscode:
  1816. description: 套保品种代码
  1817. type: string
  1818. middlegoodsid:
  1819. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  1820. type: integer
  1821. middlegoodsname:
  1822. description: 套保品种名称
  1823. type: string
  1824. modifytime:
  1825. description: 修改时间
  1826. type: string
  1827. needarbitrageratio:
  1828. description: 套利比例
  1829. type: number
  1830. needhedgeratio:
  1831. description: 套保比率
  1832. type: number
  1833. qtydecimalplace:
  1834. description: 数量小数位
  1835. type: integer
  1836. relatedgoodsid:
  1837. description: 关联交易商品ID
  1838. type: integer
  1839. relatedgoodstype:
  1840. description: 关联商品类型 - 1:期货合约 2:现货品种
  1841. type: integer
  1842. remark:
  1843. description: 备注
  1844. type: string
  1845. type: object
  1846. ermcp.QryOPLogRsp:
  1847. properties:
  1848. aftervalue:
  1849. description: 变更后
  1850. type: number
  1851. applyid:
  1852. description: 操作人ID
  1853. type: string
  1854. applyname:
  1855. description: 操作人名称
  1856. type: string
  1857. beforevalue:
  1858. description: 变更前
  1859. type: number
  1860. biztype:
  1861. description: 业务类型 - 1:套保计划 2:现货合同
  1862. type: integer
  1863. contracttype:
  1864. description: 现货合同类型 - 1:采购 -1:销售
  1865. type: integer
  1866. logvalue:
  1867. description: 数值
  1868. type: number
  1869. operatelogtype:
  1870. description: 操作流水类型
  1871. type: integer
  1872. operatelogtypedesc:
  1873. description: 操作流水类型名称
  1874. type: string
  1875. relatedid:
  1876. description: 现货合同ID\套保计划
  1877. type: string
  1878. updatetime:
  1879. description: 更新时间
  1880. type: string
  1881. type: object
  1882. ermcp.QryUserInfoRsp:
  1883. properties:
  1884. address:
  1885. description: 通讯地址
  1886. type: string
  1887. attachment1:
  1888. description: 附件1
  1889. type: string
  1890. audittime:
  1891. description: 审核时间
  1892. type: string
  1893. cardbackphotourl:
  1894. description: 证件反面图片地址
  1895. type: string
  1896. cardfrontphotourl:
  1897. description: 证件正面图片地址
  1898. type: string
  1899. cardnum:
  1900. description: 证件号码
  1901. type: string
  1902. cardtype:
  1903. description: 证件类型
  1904. type: integer
  1905. cardtypename:
  1906. description: 证件类型名称
  1907. type: string
  1908. cityid:
  1909. description: 市
  1910. type: integer
  1911. contactname:
  1912. description: 联系人
  1913. type: string
  1914. countryid:
  1915. description: 国家
  1916. type: integer
  1917. createtime:
  1918. description: 创建时间
  1919. type: string
  1920. customername:
  1921. description: 企业名称
  1922. type: string
  1923. districtid:
  1924. description: 区域
  1925. type: integer
  1926. email:
  1927. description: 邮件
  1928. type: string
  1929. legalpersonname:
  1930. description: 法人姓名(企业)
  1931. type: string
  1932. memberuserid:
  1933. description: 所属机构ID
  1934. type: integer
  1935. mobile:
  1936. description: 手机号码
  1937. type: string
  1938. modifytime:
  1939. description: 修改时间
  1940. type: string
  1941. nickname:
  1942. description: 昵称
  1943. type: string
  1944. provinceid:
  1945. description: 省
  1946. type: integer
  1947. remark:
  1948. description: 备注
  1949. type: string
  1950. status:
  1951. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  1952. type: integer
  1953. statusdesc:
  1954. description: 账户状态中文描述
  1955. type: string
  1956. taxpayernum:
  1957. description: 纳税人识别号
  1958. type: string
  1959. telphone:
  1960. description: 联系电话
  1961. type: string
  1962. userid:
  1963. description: 用户ID
  1964. type: integer
  1965. userinfotype:
  1966. description: 客户类型
  1967. type: string
  1968. type: object
  1969. ermcp.QryWarehouseRsp:
  1970. properties:
  1971. address:
  1972. description: 详细地址
  1973. type: string
  1974. areauserid:
  1975. description: 所属机构
  1976. type: integer
  1977. autoid:
  1978. description: 自增ID(仓库ID)
  1979. type: integer
  1980. cityid:
  1981. description: 市
  1982. type: integer
  1983. contactname:
  1984. description: 联系人
  1985. type: string
  1986. contactnum:
  1987. description: 联系电话
  1988. type: string
  1989. countryid:
  1990. description: 国家
  1991. type: integer
  1992. createtime:
  1993. description: 创建时间
  1994. type: string
  1995. districtid:
  1996. description: 区
  1997. type: integer
  1998. hasvideo:
  1999. description: 是否有视频 - 0:无 1:有
  2000. type: integer
  2001. provinceid:
  2002. description: 省
  2003. type: integer
  2004. remark:
  2005. description: 审核备注
  2006. type: string
  2007. videourl:
  2008. description: 视频地址
  2009. type: string
  2010. warehousecode:
  2011. description: 仓库代码
  2012. type: string
  2013. warehousename:
  2014. description: 仓库名称
  2015. type: string
  2016. warehousestatus:
  2017. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  2018. type: integer
  2019. warehousetype:
  2020. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  2021. type: integer
  2022. type: object
  2023. ermcp.QueryErmcpTradePositionRsp:
  2024. properties:
  2025. agreeunit:
  2026. description: 合约单位
  2027. type: number
  2028. buyorsell:
  2029. description: 方向 - 0:买 1:卖
  2030. type: integer
  2031. curpositionqty:
  2032. description: 持仓(总仓数量, 期末头寸)
  2033. type: integer
  2034. curtdposition:
  2035. description: 今仓数量(期末今日头寸)
  2036. type: integer
  2037. curtdpositionenabled:
  2038. description: 今仓可用
  2039. type: integer
  2040. decimalplace:
  2041. description: 报价小数位
  2042. type: integer
  2043. enableqty:
  2044. description: 可用(总仓可用)
  2045. type: integer
  2046. exexchangename:
  2047. description: 外部交易所名称
  2048. type: string
  2049. goodscode:
  2050. description: 商品代码(内部)
  2051. type: string
  2052. goodsid:
  2053. description: 商品ID(自增ID SEQ_GOODS)
  2054. type: integer
  2055. goodsname:
  2056. description: 商品名称
  2057. type: string
  2058. last:
  2059. description: 现价
  2060. type: number
  2061. marketid:
  2062. description: 所属市场ID
  2063. type: integer
  2064. openaverageprice:
  2065. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  2066. type: number
  2067. opencost:
  2068. description: 开仓成本
  2069. type: number
  2070. openpl:
  2071. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向 = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2072. type: number
  2073. outgoodscode:
  2074. description: 商品代码(外部)
  2075. type: string
  2076. positionaverageprice:
  2077. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  2078. type: number
  2079. positioncost:
  2080. description: 持仓成本
  2081. type: number
  2082. positionpl:
  2083. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  2084. type: number
  2085. positionplrate:
  2086. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  2087. type: number
  2088. usedmargin:
  2089. description: 占用保证金
  2090. type: number
  2091. type: object
  2092. ermcp.RealtimeExposurePositionRsp:
  2093. properties:
  2094. agreeunit:
  2095. description: 合约单位
  2096. type: string
  2097. areauserid:
  2098. description: 所属机构id
  2099. type: integer
  2100. convertratio:
  2101. description: 期货品种系数(折算系数)
  2102. type: number
  2103. curqty:
  2104. description: 当前持仓
  2105. type: integer
  2106. diffhedgeqty:
  2107. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  2108. type: number
  2109. diffqty:
  2110. description: 持仓变动量=当前持仓-昨日持仓
  2111. type: integer
  2112. goodscode:
  2113. description: 商品代码
  2114. type: string
  2115. goodsid:
  2116. description: 商品id
  2117. type: integer
  2118. goodsname:
  2119. description: 商品名称
  2120. type: string
  2121. middlegoodsid:
  2122. description: 套保商品id
  2123. type: integer
  2124. ydqty:
  2125. description: 昨日持仓
  2126. type: integer
  2127. type: object
  2128. ermcp.RealtimeExposureRsp:
  2129. properties:
  2130. AreaUserID:
  2131. description: 所属机构
  2132. type: integer
  2133. BuyFutureQty:
  2134. description: 买入期货数量
  2135. type: number
  2136. BuyPlanQty:
  2137. description: 采购计划数量
  2138. type: number
  2139. BuyPricedQty:
  2140. description: 采购合同已定价数量
  2141. type: number
  2142. MiddleGoodsCode:
  2143. description: 套保品种代码
  2144. type: string
  2145. MiddleGoodsHedgeRatio:
  2146. description: 套保比例
  2147. type: number
  2148. MiddleGoodsID:
  2149. description: 套保品种
  2150. type: integer
  2151. MiddleGoodsName:
  2152. description: 套保品种名称
  2153. type: string
  2154. NeedHedgeExposoure:
  2155. description: 应套保敞口(套保敞口)
  2156. type: number
  2157. NeedHedgeRatio:
  2158. description: 应套保敞口比例
  2159. type: number
  2160. OriBuyFutureQty:
  2161. description: 期初买入期货数量
  2162. type: number
  2163. OriBuyPlanQty:
  2164. description: 期初采购计划数量
  2165. type: number
  2166. OriBuyPricedQty:
  2167. description: 期初采购合同已定价数量
  2168. type: number
  2169. OriSellFutureQty:
  2170. description: 期初卖出期货数量
  2171. type: number
  2172. OriSellPlanQty:
  2173. description: 期初销售计划数量
  2174. type: number
  2175. OriSellPricedQty:
  2176. description: 期初销售合同已定价数量
  2177. type: number
  2178. SellFutureQty:
  2179. description: 卖出期货数量
  2180. type: number
  2181. SellPlanQty:
  2182. description: 销售计划数量
  2183. type: number
  2184. SellPricedQty:
  2185. description: 销售合同已定价数量
  2186. type: number
  2187. TotalExposure:
  2188. description: 总敞口 平安:净敞口
  2189. type: number
  2190. TotalFutureQty:
  2191. description: 期货总量 平安:保值净持仓量
  2192. type: number
  2193. TotalHedgeRatio:
  2194. description: 敞口比例
  2195. type: number
  2196. TotalNeedHedgeQty:
  2197. description: 应套保总量(现货应套保总量)
  2198. type: number
  2199. TotalSpotQty:
  2200. description: 现货总量 平安:采销定价净值
  2201. type: number
  2202. arbitrageqty:
  2203. description: 套利量
  2204. type: number
  2205. diffArbitrageQty:
  2206. description: 套利变动量
  2207. type: number
  2208. diffExposoureQty:
  2209. description: 变动量(套保敞口)
  2210. type: number
  2211. diffFutuQty:
  2212. description: 变动量(期货总量) 平安:保值净持仓量今日变动
  2213. type: number
  2214. diffHedgeQty:
  2215. description: 套保变动量
  2216. type: number
  2217. diffQty:
  2218. description: 变动量(总敞口) 平安:净敞口今日变动
  2219. type: number
  2220. diffSpotHedgeQty:
  2221. description: 变动量(现货应套保总量) 平安:应套保量今日变动
  2222. type: number
  2223. diffSpotQty:
  2224. description: 变动量(现货总量) = 现货数量 - 期初现货数量 平安:采销定价净值今日变动
  2225. type: number
  2226. enumdicname:
  2227. description: 单位名称
  2228. type: string
  2229. hedgeqty:
  2230. description: 套保量
  2231. type: number
  2232. needarbitrageqty:
  2233. description: 应套利量
  2234. type: number
  2235. needarbitrageratio:
  2236. description: 套利比例
  2237. type: number
  2238. needhedgeqty:
  2239. description: 应套保量
  2240. type: number
  2241. oriTotalFutuQty:
  2242. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  2243. type: number
  2244. oriTotalSpotQty:
  2245. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  2246. type: number
  2247. oriarbitrageqty:
  2248. description: 期初套利量
  2249. type: number
  2250. orihedgeqty:
  2251. description: 期初套保量
  2252. type: number
  2253. orineedhedgeexposoure:
  2254. description: 期初套保敞口
  2255. type: number
  2256. oritotalexposure:
  2257. description: 期初总敞口
  2258. type: number
  2259. oritotalfutureqty:
  2260. description: 期初期货总量
  2261. type: number
  2262. oritotalneedhedgeqty:
  2263. description: 期初现货应套保量
  2264. type: number
  2265. type: object
  2266. erms2.QueryArbitrageStrategyRsp:
  2267. properties:
  2268. applybasis:
  2269. description: 申请基差
  2270. type: number
  2271. asapplyid:
  2272. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  2273. type: string
  2274. asname:
  2275. description: 策略名称
  2276. type: string
  2277. asno:
  2278. description: 策略编号
  2279. type: string
  2280. basischangepl:
  2281. description: 基差变动损益[结算更新]
  2282. type: number
  2283. biztype:
  2284. description: 业务类型 - 1:正向套利 -1:反向套利
  2285. type: integer
  2286. closetradedate:
  2287. description: 完结交易日(yyyyMMdd)
  2288. type: string
  2289. curbasis:
  2290. description: 当前基差[结算更新]
  2291. type: number
  2292. deliverygoodsid:
  2293. description: 现货品种ID
  2294. type: integer
  2295. futureavgprice:
  2296. description: 期货建仓均价
  2297. type: number
  2298. futurecloseamount:
  2299. description: 期货平仓金额
  2300. type: number
  2301. futurecloseqty:
  2302. description: 期货平仓数量
  2303. type: number
  2304. futureopenamount:
  2305. description: 期货开仓金额
  2306. type: number
  2307. futureopenqty:
  2308. description: 期货开仓数量
  2309. type: number
  2310. futurepl:
  2311. description: 期货总盈亏[结算更新]
  2312. type: number
  2313. futureqty:
  2314. description: 期货持仓数量
  2315. type: number
  2316. futurequote:
  2317. description: 期货额度
  2318. type: number
  2319. goodsgroupid:
  2320. description: 期货品种ID
  2321. type: integer
  2322. marketid:
  2323. description: 市场ID
  2324. type: integer
  2325. netexposure:
  2326. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  2327. type: number
  2328. netexposurepl:
  2329. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  2330. type: number
  2331. netexposurerate:
  2332. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  2333. type: number
  2334. openbasis:
  2335. description: 建仓基差
  2336. type: number
  2337. pricedspotqty:
  2338. description: 已定价现货数量
  2339. type: number
  2340. pricedspotqtynotax:
  2341. description: 已定价现货不含税数量
  2342. type: number
  2343. remark:
  2344. description: 备注
  2345. type: string
  2346. spotavgprice:
  2347. description: 现货均价
  2348. type: number
  2349. spotbuyamount:
  2350. description: 现货采购金额
  2351. type: number
  2352. spotbuyqty:
  2353. description: 现货采购数量
  2354. type: number
  2355. spotpl:
  2356. description: 现货总盈亏[结算更新]
  2357. type: number
  2358. spotquota:
  2359. description: 现货额度
  2360. type: number
  2361. spotsellamount:
  2362. description: 现货销售金额
  2363. type: number
  2364. spotsellqty:
  2365. description: 现货销售数量
  2366. type: number
  2367. spotusedquota:
  2368. description: 现货占用资金
  2369. type: number
  2370. strategystatus:
  2371. description: 策略状态 - 0:未结束 1:已结束
  2372. type: integer
  2373. totalpl:
  2374. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  2375. type: number
  2376. tradedate:
  2377. description: 交易日(yyyyMMdd)
  2378. type: string
  2379. updatetime:
  2380. description: 更新时间
  2381. type: string
  2382. usedquota:
  2383. description: 已占用资金
  2384. type: number
  2385. userid:
  2386. description: 所属机构
  2387. type: integer
  2388. required:
  2389. - asapplyid
  2390. type: object
  2391. erms2.QueryInnerTradeDetailRsp:
  2392. properties:
  2393. accountid:
  2394. description: 账号ID
  2395. type: integer
  2396. agreeunit:
  2397. description: 合约单位
  2398. type: number
  2399. asapplyid:
  2400. description: 策略申请ID
  2401. type: integer
  2402. asname:
  2403. description: 策略名称
  2404. type: string
  2405. asno:
  2406. description: 策略编号
  2407. type: string
  2408. buyorsell:
  2409. description: 方向 - 0:买 1:卖
  2410. type: integer
  2411. channelbuildtype:
  2412. description: 委托单据类型 0:无 1:建仓 2:平仓
  2413. type: integer
  2414. closetype:
  2415. description: 平仓方式 - 0:无 1:平今 2:平昨
  2416. type: integer
  2417. decimalplace:
  2418. description: 报价小数位
  2419. type: integer
  2420. detailtype:
  2421. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  2422. type: integer
  2423. exexchangecode:
  2424. description: 外部交易所代码
  2425. type: string
  2426. exexchangename:
  2427. description: 外部交易所名称
  2428. type: string
  2429. goodscode:
  2430. description: 商品代码(合约)
  2431. type: string
  2432. goodsgroupid:
  2433. description: 商品组ID(品种ID)
  2434. type: integer
  2435. goodsgroupname:
  2436. description: 商品组名称(品种)
  2437. type: string
  2438. goodsid:
  2439. description: 商品ID
  2440. type: integer
  2441. goodsname:
  2442. description: 商品名称(合约)
  2443. type: string
  2444. goodunit:
  2445. description: 报价单位
  2446. type: string
  2447. marketid:
  2448. description: 市场ID
  2449. type: integer
  2450. orderid:
  2451. description: 委托单号
  2452. type: string
  2453. outgoodscode:
  2454. description: 商品代码(外部)
  2455. type: string
  2456. relatedouttradeid:
  2457. description: 关联外部成交单ID
  2458. type: string
  2459. remark:
  2460. description: 备注
  2461. type: string
  2462. spotcontractid:
  2463. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  2464. type: integer
  2465. spotcontractno:
  2466. description: 现货合同编号
  2467. type: string
  2468. tradeid:
  2469. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  2470. type: string
  2471. tradeprice:
  2472. description: 成交价格
  2473. type: number
  2474. tradeqty:
  2475. description: 成交数量
  2476. type: integer
  2477. tradetime:
  2478. description: 成交时间
  2479. type: string
  2480. updatetime:
  2481. description: 更新时间
  2482. type: string
  2483. required:
  2484. - asapplyid
  2485. - buyorsell
  2486. - goodscode
  2487. - goodsgroupid
  2488. - goodsgroupname
  2489. - goodsname
  2490. - tradeid
  2491. type: object
  2492. erms2.QuerySpotContractRsp:
  2493. properties:
  2494. accountid:
  2495. description: 资金账户ID
  2496. type: integer
  2497. areauserid:
  2498. description: 所属机构
  2499. type: integer
  2500. closedate:
  2501. description: 终止日期
  2502. type: string
  2503. closeremark:
  2504. description: 结束备注
  2505. type: string
  2506. closetradedate:
  2507. description: 完结交易日(yyyyMMdd)
  2508. type: string
  2509. closetype:
  2510. description: 终止类型 - 1:违约 2:提前终止
  2511. type: integer
  2512. contractamount:
  2513. description: 合同金额
  2514. type: number
  2515. contractattachment:
  2516. description: 合同附件
  2517. type: string
  2518. contractno:
  2519. description: 现货合同编号
  2520. type: string
  2521. contractqty:
  2522. description: 合同数量(数值) (用于计算)
  2523. type: number
  2524. contractqtychar:
  2525. description: 合同数量\已订价数量 (用于显示)
  2526. type: string
  2527. contractstatus:
  2528. description: 合同状态 - 0:未结束 1:已结束
  2529. type: integer
  2530. contracttype:
  2531. description: 现货合同类型 - 1:采购合同 -1:销售合同
  2532. type: integer
  2533. customeraccountid:
  2534. description: 客户资金账户ID
  2535. type: integer
  2536. customeruserid:
  2537. description: 客户ID
  2538. type: integer
  2539. deliverygoodsdesc:
  2540. description: 品种说明
  2541. type: string
  2542. deliverygoodsid:
  2543. description: 现货品种ID
  2544. type: integer
  2545. handlestatus:
  2546. description: 处理状态
  2547. type: integer
  2548. invoiceatt:
  2549. description: 发票附件
  2550. type: string
  2551. invoicedatetime:
  2552. description: 开收票更新时间
  2553. type: string
  2554. invoiceopentime:
  2555. description: 开票时间
  2556. type: string
  2557. invoiceremark:
  2558. description: 发票备注
  2559. type: string
  2560. invoicestatus:
  2561. description: 开收票状态 - 0:未开票 1:已开票
  2562. type: integer
  2563. lastdate:
  2564. description: 交货时间
  2565. type: string
  2566. marketid:
  2567. description: 市场ID
  2568. type: integer
  2569. paydatetime:
  2570. description: 收付款更新时间
  2571. type: string
  2572. payremark:
  2573. description: 收付款备注
  2574. type: string
  2575. paystatus:
  2576. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  2577. type: integer
  2578. positionqty:
  2579. description: 头寸数量 - 合同数量去小数部分
  2580. type: integer
  2581. producttype:
  2582. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  2583. type: integer
  2584. relatedqty:
  2585. description: 已关联数量
  2586. type: number
  2587. relatedstatus:
  2588. description: 关联完结状态 - 0:未结束 1:已结束
  2589. type: integer
  2590. remark:
  2591. description: 备注
  2592. type: string
  2593. signdate:
  2594. description: 签订日期
  2595. type: string
  2596. spotcontractid:
  2597. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  2598. type: string
  2599. spotdatetime:
  2600. description: 收发货更新时间
  2601. type: string
  2602. spotprice:
  2603. description: 价格
  2604. type: number
  2605. spotremark:
  2606. description: 收发货备注
  2607. type: string
  2608. spotstatus:
  2609. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  2610. type: integer
  2611. tradedate:
  2612. description: 交易日(yyyyMMdd)
  2613. type: string
  2614. userid:
  2615. description: 业务员用户ID
  2616. type: integer
  2617. warehouseid:
  2618. description: 仓库ID
  2619. type: integer
  2620. wrfactortypeid:
  2621. description: 仓单要素类型ID
  2622. type: integer
  2623. wrstandardid:
  2624. description: 仓单标准ID(SEQ_WRSTANDARD)
  2625. type: integer
  2626. required:
  2627. - spotcontractid
  2628. type: object
  2629. erms3.AddErms2ASApplyReq:
  2630. properties:
  2631. applybasis:
  2632. description: 申请基差
  2633. type: number
  2634. applystatus:
  2635. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2636. type: integer
  2637. asapplyid:
  2638. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  2639. type: integer
  2640. asname:
  2641. description: 策略名称
  2642. type: string
  2643. asno:
  2644. description: 策略编号
  2645. type: string
  2646. auditid:
  2647. description: 审核人
  2648. type: integer
  2649. auditremark:
  2650. description: 审核备注
  2651. type: string
  2652. audittime:
  2653. description: 审核时间
  2654. type: string
  2655. biztype:
  2656. description: 业务类型 - 1:正向套利 2:反向套利
  2657. type: integer
  2658. createtime:
  2659. description: 创建时间
  2660. type: string
  2661. creatorid:
  2662. description: 创建人
  2663. type: integer
  2664. deliverygoodsid:
  2665. description: 现货品种ID
  2666. type: integer
  2667. futurequote:
  2668. description: 期货额度
  2669. type: number
  2670. goodsgroupid:
  2671. description: 期货品种ID
  2672. type: integer
  2673. marketid:
  2674. description: 市场ID
  2675. type: integer
  2676. remark:
  2677. description: 备注
  2678. type: string
  2679. spotquota:
  2680. description: 现货额度
  2681. type: number
  2682. tradedate:
  2683. description: 交易日(yyyyMMdd)
  2684. type: string
  2685. userid:
  2686. description: 所属机构
  2687. type: integer
  2688. required:
  2689. - asapplyid
  2690. type: object
  2691. erms3.AddErms2SpotTradeApplyReq:
  2692. properties:
  2693. applyjsondetail:
  2694. description: 申请明细(JSON)
  2695. type: string
  2696. applystatus:
  2697. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2698. type: integer
  2699. areauserid:
  2700. description: 所属机构
  2701. type: integer
  2702. auditid:
  2703. description: 审核人
  2704. type: integer
  2705. auditremark:
  2706. description: 审核备注
  2707. type: string
  2708. audittime:
  2709. description: 审核时间
  2710. type: string
  2711. createtime:
  2712. description: 创建时间
  2713. type: string
  2714. creatorid:
  2715. description: 创建人
  2716. type: integer
  2717. deliverygoodsid:
  2718. description: 现货品种ID
  2719. type: integer
  2720. futureaccountid:
  2721. description: 期货资金账户
  2722. type: integer
  2723. goodsgroupid:
  2724. description: 期货品种
  2725. type: integer
  2726. marketid:
  2727. description: 市场ID
  2728. type: integer
  2729. remark:
  2730. description: 备注
  2731. type: string
  2732. spotaccountid:
  2733. description: 现货资金账户
  2734. type: integer
  2735. spottradeid:
  2736. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  2737. type: integer
  2738. spottradename:
  2739. description: 业务名称
  2740. type: string
  2741. spottradeno:
  2742. description: 业务编号
  2743. type: string
  2744. tradedate:
  2745. description: 交易日(yyyyMMdd)
  2746. type: string
  2747. wrstandardid:
  2748. description: 仓单标准ID
  2749. type: integer
  2750. required:
  2751. - spottradeid
  2752. type: object
  2753. erms3.AddSpotContractApplyReq:
  2754. properties:
  2755. accountid:
  2756. description: 资金账户ID
  2757. type: integer
  2758. areauserid:
  2759. description: 所属机构
  2760. type: integer
  2761. contractattachment:
  2762. description: 合同附件
  2763. type: string
  2764. contractno:
  2765. description: 现货合同编号
  2766. type: string
  2767. contracttype:
  2768. description: 现货合同类型 - 1:采购 -1:销售
  2769. type: integer
  2770. creatorid:
  2771. description: 申请人
  2772. type: integer
  2773. customeraccountid:
  2774. description: 客户资金账户ID
  2775. type: integer
  2776. customeruserid:
  2777. description: 客户ID
  2778. type: integer
  2779. details:
  2780. description: 明细
  2781. items:
  2782. $ref: '#/definitions/erms3.SoptContractDetail'
  2783. type: array
  2784. orimargin:
  2785. description: 初始保证金
  2786. type: number
  2787. remark:
  2788. description: 备注
  2789. type: string
  2790. signdate:
  2791. description: 签订日期
  2792. type: string
  2793. required:
  2794. - accountid
  2795. - areauserid
  2796. - contractno
  2797. - contracttype
  2798. - customeraccountid
  2799. - customeruserid
  2800. - details
  2801. - orimargin
  2802. - signdate
  2803. type: object
  2804. erms3.AddSpotContractApplyRsp:
  2805. properties:
  2806. contractno:
  2807. description: 现货合同编号
  2808. type: string
  2809. spotcontractid:
  2810. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2811. type: integer
  2812. required:
  2813. - contractno
  2814. type: object
  2815. erms3.AddUserInfoApplyReq:
  2816. properties:
  2817. accountid:
  2818. description: 交易系统帐号Id (加密存储)
  2819. type: integer
  2820. areacode:
  2821. description: 机构代码
  2822. type: string
  2823. areaid:
  2824. description: 机构Id
  2825. type: integer
  2826. attachment1:
  2827. description: 附件1
  2828. type: string
  2829. attachment2:
  2830. description: 附件2
  2831. type: string
  2832. attachment3:
  2833. description: 附件3
  2834. type: string
  2835. attachment4:
  2836. description: 附件4
  2837. type: string
  2838. attachment5:
  2839. description: 附件5
  2840. type: string
  2841. auditedby:
  2842. description: 审核人
  2843. type: string
  2844. auditime:
  2845. description: 审核时间
  2846. type: string
  2847. auditsrc:
  2848. description: 审核来源 - 1:管理端 2:终端
  2849. type: integer
  2850. bankaccount:
  2851. description: 银行帐号 (加密存储)
  2852. type: string
  2853. bankaccountname:
  2854. description: 收款人名称
  2855. type: string
  2856. bankcardbackphotourl:
  2857. description: 银行卡背面照地址
  2858. type: string
  2859. bankcardfrontphotourl:
  2860. description: 银行卡正面照地址
  2861. type: string
  2862. bankid:
  2863. description: 银行编码
  2864. type: string
  2865. bankname:
  2866. description: 银行名称
  2867. type: string
  2868. bankpictureurl:
  2869. description: 银行卡正面地址
  2870. type: string
  2871. biznature:
  2872. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2873. type: integer
  2874. bizscope:
  2875. description: 企业经营范围(企业)
  2876. type: string
  2877. biztype:
  2878. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2879. type: integer
  2880. brokerid:
  2881. description: 经纪人ID(加密存储)
  2882. type: string
  2883. cardaddress:
  2884. description: 证件地址 (加密存储)
  2885. type: string
  2886. cardbackphotourl:
  2887. description: 背面证件照地址
  2888. type: string
  2889. cardfrontphotourl:
  2890. description: 正面证件照地址
  2891. type: string
  2892. cardnum:
  2893. description: 证件号码 (加密存储)
  2894. type: string
  2895. cardtype:
  2896. description: 证件类型
  2897. type: integer
  2898. cityid:
  2899. description: 市
  2900. type: integer
  2901. company:
  2902. description: 公司(个人)
  2903. type: string
  2904. contactcardbackphotourl:
  2905. description: 联系人证件背面图片地址
  2906. type: string
  2907. contactcardfrontphotourl:
  2908. description: 联系人证件正面图片地址
  2909. type: string
  2910. contactname:
  2911. description: 联系人
  2912. type: string
  2913. countryid:
  2914. description: 国家
  2915. type: integer
  2916. createtime:
  2917. description: 开户申请时间
  2918. type: string
  2919. cusbankid:
  2920. description: 签约类型
  2921. type: string
  2922. cusbankname:
  2923. description: 签约类型名称
  2924. type: string
  2925. customername:
  2926. description: 客户名称(企业名称)
  2927. type: string
  2928. districtid:
  2929. description: 地区
  2930. type: integer
  2931. email:
  2932. description: Email地址(加密存储)
  2933. type: string
  2934. halfbodyphotourl:
  2935. description: 半身照地址
  2936. type: string
  2937. headurl:
  2938. description: 头像地址
  2939. type: string
  2940. ipaddress:
  2941. description: IP地址
  2942. type: string
  2943. isvalidate:
  2944. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2945. type: string
  2946. legalcardbackphotourl:
  2947. description: 法人身份证背面照地址
  2948. type: string
  2949. legalcardfrontphotourl:
  2950. description: 法人身份证正面照地址
  2951. type: string
  2952. legalpersonname:
  2953. description: 法人姓名(企业)
  2954. type: string
  2955. logincode:
  2956. description: 登录帐号 (加密存储)
  2957. type: string
  2958. memberareaid:
  2959. description: 所属会员ID
  2960. type: integer
  2961. mobile2:
  2962. description: 手机号码[明文-尚志]
  2963. type: string
  2964. mobilephone:
  2965. description: 手机号码 (加密存储)
  2966. type: string
  2967. modifiedby:
  2968. description: 修改人帐号
  2969. type: integer
  2970. modifiedtime:
  2971. description: 修改时间
  2972. type: string
  2973. nickname:
  2974. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2975. type: string
  2976. openmode:
  2977. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2978. type: integer
  2979. otherurl:
  2980. description: 其它图片地址[使用分号分隔]
  2981. type: string
  2982. postalcode:
  2983. description: 邮政编码
  2984. type: string
  2985. provinceid:
  2986. description: 省
  2987. type: integer
  2988. proxystatementurl:
  2989. description: 授权委托书
  2990. type: string
  2991. qq:
  2992. description: QQ(加密存储
  2993. type: string
  2994. referral:
  2995. description: 推荐人编码
  2996. type: string
  2997. remark:
  2998. description: 备注
  2999. type: string
  3000. removebeforestatus:
  3001. description: REMOVEBEFORESTATUS
  3002. type: integer
  3003. sex:
  3004. description: 性别 - 0:女 1:男
  3005. type: integer
  3006. signedstatus:
  3007. description: 账户一号签签约状态
  3008. type: integer
  3009. signpdfurl:
  3010. description: 签约pdf文件
  3011. type: string
  3012. subbranch:
  3013. description: 开户支行
  3014. type: string
  3015. taxpayernum:
  3016. description: 纳税人识别号
  3017. type: string
  3018. telphone:
  3019. description: 联系电话(加密存储)
  3020. type: string
  3021. userid:
  3022. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3023. type: integer
  3024. userinfotype:
  3025. description: 用户信息类型 - 1:个人 2:企业
  3026. type: integer
  3027. username:
  3028. description: 用户姓名
  3029. type: string
  3030. userstate:
  3031. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3032. type: integer
  3033. usertype:
  3034. description: 用户类型 - 1:投资者 2:机构
  3035. type: integer
  3036. videourl:
  3037. description: 视频地址
  3038. type: string
  3039. wechat:
  3040. description: 微信号 (加密存储)
  3041. type: string
  3042. required:
  3043. - userid
  3044. type: object
  3045. erms3.CustomerInfo:
  3046. properties:
  3047. accountids:
  3048. description: 资金账户ID列表
  3049. items:
  3050. type: integer
  3051. type: array
  3052. customername:
  3053. description: 名称(企业名称)
  3054. type: string
  3055. mobile:
  3056. description: 手机号码
  3057. type: string
  3058. userid:
  3059. description: 用户ID
  3060. type: integer
  3061. required:
  3062. - userid
  3063. type: object
  3064. erms3.ModifyUserInfoApplyReq:
  3065. properties:
  3066. accountid:
  3067. description: 交易系统帐号Id (加密存储)
  3068. type: integer
  3069. areacode:
  3070. description: 机构代码
  3071. type: string
  3072. areaid:
  3073. description: 机构Id
  3074. type: integer
  3075. attachment1:
  3076. description: 附件1
  3077. type: string
  3078. attachment2:
  3079. description: 附件2
  3080. type: string
  3081. attachment3:
  3082. description: 附件3
  3083. type: string
  3084. attachment4:
  3085. description: 附件4
  3086. type: string
  3087. attachment5:
  3088. description: 附件5
  3089. type: string
  3090. auditedby:
  3091. description: 审核人
  3092. type: string
  3093. auditime:
  3094. description: 审核时间
  3095. type: string
  3096. auditsrc:
  3097. description: 审核来源 - 1:管理端 2:终端
  3098. type: integer
  3099. bankaccount:
  3100. description: 银行帐号 (加密存储)
  3101. type: string
  3102. bankaccountname:
  3103. description: 收款人名称
  3104. type: string
  3105. bankcardbackphotourl:
  3106. description: 银行卡背面照地址
  3107. type: string
  3108. bankcardfrontphotourl:
  3109. description: 银行卡正面照地址
  3110. type: string
  3111. bankid:
  3112. description: 银行编码
  3113. type: string
  3114. bankname:
  3115. description: 银行名称
  3116. type: string
  3117. bankpictureurl:
  3118. description: 银行卡正面地址
  3119. type: string
  3120. biznature:
  3121. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3122. type: integer
  3123. bizscope:
  3124. description: 企业经营范围(企业)
  3125. type: string
  3126. biztype:
  3127. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  3128. type: integer
  3129. brokerid:
  3130. description: 经纪人ID(加密存储)
  3131. type: string
  3132. cardaddress:
  3133. description: 证件地址 (加密存储)
  3134. type: string
  3135. cardbackphotourl:
  3136. description: 背面证件照地址
  3137. type: string
  3138. cardfrontphotourl:
  3139. description: 正面证件照地址
  3140. type: string
  3141. cardnum:
  3142. description: 证件号码 (加密存储)
  3143. type: string
  3144. cardtype:
  3145. description: 证件类型
  3146. type: integer
  3147. cityid:
  3148. description: 市
  3149. type: integer
  3150. company:
  3151. description: 公司(个人)
  3152. type: string
  3153. contactcardbackphotourl:
  3154. description: 联系人证件背面图片地址
  3155. type: string
  3156. contactcardfrontphotourl:
  3157. description: 联系人证件正面图片地址
  3158. type: string
  3159. contactname:
  3160. description: 联系人
  3161. type: string
  3162. countryid:
  3163. description: 国家
  3164. type: integer
  3165. createtime:
  3166. description: 开户申请时间
  3167. type: string
  3168. cusbankid:
  3169. description: 签约类型
  3170. type: string
  3171. cusbankname:
  3172. description: 签约类型名称
  3173. type: string
  3174. customername:
  3175. description: 客户名称(企业名称)
  3176. type: string
  3177. districtid:
  3178. description: 地区
  3179. type: integer
  3180. email:
  3181. description: Email地址(加密存储)
  3182. type: string
  3183. halfbodyphotourl:
  3184. description: 半身照地址
  3185. type: string
  3186. headurl:
  3187. description: 头像地址
  3188. type: string
  3189. ipaddress:
  3190. description: IP地址
  3191. type: string
  3192. isvalidate:
  3193. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  3194. type: string
  3195. legalcardbackphotourl:
  3196. description: 法人身份证背面照地址
  3197. type: string
  3198. legalcardfrontphotourl:
  3199. description: 法人身份证正面照地址
  3200. type: string
  3201. legalpersonname:
  3202. description: 法人姓名(企业)
  3203. type: string
  3204. logincode:
  3205. description: 登录帐号 (加密存储)
  3206. type: string
  3207. memberareaid:
  3208. description: 所属会员ID
  3209. type: integer
  3210. mobile2:
  3211. description: 手机号码[明文-尚志]
  3212. type: string
  3213. mobilephone:
  3214. description: 手机号码 (加密存储)
  3215. type: string
  3216. modifiedby:
  3217. description: 修改人帐号
  3218. type: integer
  3219. modifiedtime:
  3220. description: 修改时间
  3221. type: string
  3222. nickname:
  3223. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  3224. type: string
  3225. openmode:
  3226. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  3227. type: integer
  3228. otherurl:
  3229. description: 其它图片地址[使用分号分隔]
  3230. type: string
  3231. postalcode:
  3232. description: 邮政编码
  3233. type: string
  3234. provinceid:
  3235. description: 省
  3236. type: integer
  3237. proxystatementurl:
  3238. description: 授权委托书
  3239. type: string
  3240. qq:
  3241. description: QQ(加密存储
  3242. type: string
  3243. referral:
  3244. description: 推荐人编码
  3245. type: string
  3246. remark:
  3247. description: 备注
  3248. type: string
  3249. removebeforestatus:
  3250. description: REMOVEBEFORESTATUS
  3251. type: integer
  3252. sex:
  3253. description: 性别 - 0:女 1:男
  3254. type: integer
  3255. signedstatus:
  3256. description: 账户一号签签约状态
  3257. type: integer
  3258. signpdfurl:
  3259. description: 签约pdf文件
  3260. type: string
  3261. subbranch:
  3262. description: 开户支行
  3263. type: string
  3264. taxpayernum:
  3265. description: 纳税人识别号
  3266. type: string
  3267. telphone:
  3268. description: 联系电话(加密存储)
  3269. type: string
  3270. userid:
  3271. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  3272. type: integer
  3273. userinfotype:
  3274. description: 用户信息类型 - 1:个人 2:企业
  3275. type: integer
  3276. username:
  3277. description: 用户姓名
  3278. type: string
  3279. userstate:
  3280. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3281. type: integer
  3282. usertype:
  3283. description: 用户类型 - 1:投资者 2:机构
  3284. type: integer
  3285. videourl:
  3286. description: 视频地址
  3287. type: string
  3288. wechat:
  3289. description: 微信号 (加密存储)
  3290. type: string
  3291. required:
  3292. - userid
  3293. type: object
  3294. erms3.QryAuditContractRsp:
  3295. properties:
  3296. accountid:
  3297. description: 交易员ID
  3298. type: string
  3299. applystatus:
  3300. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3301. type: integer
  3302. curdeliveryqty:
  3303. description: 未交收量
  3304. type: integer
  3305. customername:
  3306. description: 采购方ID
  3307. type: string
  3308. deliverygoodsid:
  3309. description: 品种ID
  3310. type: string
  3311. deliveryqty:
  3312. description: 交收量
  3313. type: integer
  3314. enumdicname:
  3315. description: 单位名称
  3316. type: string
  3317. matchaccountid:
  3318. description: 业务员ID
  3319. type: string
  3320. matchcustomername:
  3321. description: 销售方ID
  3322. type: string
  3323. pricedqty:
  3324. description: 定价量
  3325. type: number
  3326. signdate:
  3327. description: 签订日期
  3328. type: string
  3329. spotcontractid:
  3330. description: 合同ID
  3331. type: string
  3332. totaldqty:
  3333. description: 合同量
  3334. type: number
  3335. unpricedqty:
  3336. description: 未定价量
  3337. type: number
  3338. wrstandardname:
  3339. description: 商品名称
  3340. type: string
  3341. required:
  3342. - matchcustomername
  3343. - spotcontractid
  3344. type: object
  3345. erms3.QryPendingBizRsp:
  3346. properties:
  3347. accountid:
  3348. description: 现货账户
  3349. type: string
  3350. areaname:
  3351. description: 所属部门
  3352. type: string
  3353. bizid:
  3354. description: 业务ID
  3355. type: string
  3356. bizname:
  3357. description: 业务名称
  3358. type: string
  3359. status:
  3360. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  3361. type: integer
  3362. type:
  3363. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  3364. type: integer
  3365. type: object
  3366. erms3.QueryBusinessInfoRsp:
  3367. properties:
  3368. businessid:
  3369. description: 业务ID.
  3370. type: integer
  3371. buyamount:
  3372. description: 采购额.
  3373. type: number
  3374. buyqty:
  3375. description: 采购量.
  3376. type: string
  3377. futurepl:
  3378. description: 期货盈亏.
  3379. type: number
  3380. futureqty:
  3381. description: 期货敞口.
  3382. type: string
  3383. goodsid:
  3384. description: 商品名称/商品代码.
  3385. type: string
  3386. hedgingqty:
  3387. description: 套保量.
  3388. type: string
  3389. sellamount:
  3390. description: 销售额.
  3391. type: number
  3392. sellqty:
  3393. description: 销售量.
  3394. type: string
  3395. spotmarketvalue:
  3396. description: 现货市值.
  3397. type: number
  3398. spotpl:
  3399. description: 浮动权益.
  3400. type: number
  3401. spotqty:
  3402. description: 现货量.
  3403. type: string
  3404. statu:
  3405. description: 状态,0-未结束 1-已结束.
  3406. type: integer
  3407. totalpl:
  3408. description: 总盈亏.
  3409. type: number
  3410. totalqty:
  3411. description: 总敞口.
  3412. type: string
  3413. type:
  3414. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  3415. type: integer
  3416. type: object
  3417. erms3.QuerySpotContractAppleFormRsp:
  3418. properties:
  3419. goodses:
  3420. description: 合约列表
  3421. items:
  3422. $ref: '#/definitions/models.GoodsIDAndName'
  3423. type: array
  3424. oppositeusers:
  3425. description: 对方账号列表
  3426. items:
  3427. $ref: '#/definitions/erms3.CustomerInfo'
  3428. type: array
  3429. ouruser:
  3430. $ref: '#/definitions/erms3.CustomerInfo'
  3431. description: 我方账号
  3432. warehouseinfos:
  3433. description: 仓库信息列表
  3434. items:
  3435. $ref: '#/definitions/models.Warehouseinfo'
  3436. type: array
  3437. wrstandards:
  3438. description: 仓单标准列表
  3439. items:
  3440. $ref: '#/definitions/models.WRStandardInfo'
  3441. type: array
  3442. type: object
  3443. erms3.QuerySpotContractInfoRsp:
  3444. properties:
  3445. accountid:
  3446. description: 表示交易员ID.
  3447. type: integer
  3448. curdeliveryqty:
  3449. description: 表示未交收量.
  3450. type: number
  3451. customername:
  3452. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  3453. type: string
  3454. deliverygoodsid:
  3455. description: 表示品种ID.
  3456. type: string
  3457. deliveryqty:
  3458. description: 表示交收量.
  3459. type: number
  3460. matchaccountid:
  3461. description: 表示业务员ID.
  3462. type: integer
  3463. matchcustomername:
  3464. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  3465. type: string
  3466. priceqty:
  3467. description: 表示定价量.
  3468. type: number
  3469. relatedbizid:
  3470. description: 表示业务ID.
  3471. type: string
  3472. signdate:
  3473. description: 表示签订日期.
  3474. type: string
  3475. spotcontractid:
  3476. description: 合同ID
  3477. type: string
  3478. status:
  3479. description: 表示状态,0-履约中 1-已完成.
  3480. type: integer
  3481. totalqty:
  3482. description: 表示合同量.
  3483. type: number
  3484. unpricedqty:
  3485. description: 表示未定价量.
  3486. type: number
  3487. wrstandardname:
  3488. description: 表示商品ID.
  3489. type: string
  3490. type: object
  3491. erms3.QueryUserInfoAppliesRsp:
  3492. properties:
  3493. biznature:
  3494. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3495. type: integer
  3496. contactname:
  3497. description: 联系人
  3498. type: string
  3499. createtime:
  3500. description: 开户申请时间
  3501. type: string
  3502. userid:
  3503. description: 用户ID(自增ID)
  3504. type: integer
  3505. userinfotype:
  3506. description: 用户信息类型 - 1:个人 2:企业
  3507. type: integer
  3508. username:
  3509. description: 用户姓名
  3510. type: string
  3511. userstate:
  3512. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  3513. type: integer
  3514. required:
  3515. - userid
  3516. type: object
  3517. erms3.QueryUserInfosRsp:
  3518. properties:
  3519. biznature:
  3520. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  3521. type: integer
  3522. contactname:
  3523. description: 联系人
  3524. type: string
  3525. customername:
  3526. description: 客户名称(企业名称)
  3527. type: string
  3528. userid:
  3529. description: 用户ID
  3530. type: integer
  3531. userinfotype:
  3532. description: 用户信息类型 - 1:个人 2:企业
  3533. type: integer
  3534. userstatus:
  3535. description: 用户状态 - 1:正常 2:注销
  3536. type: integer
  3537. required:
  3538. - userid
  3539. type: object
  3540. erms3.SoptContractDetail:
  3541. properties:
  3542. deliverygoodsdesc:
  3543. description: 现货品种说明
  3544. type: string
  3545. deliverygoodsid:
  3546. description: 现货品种ID
  3547. type: integer
  3548. deliverygoodsname:
  3549. description: 现货品种名称
  3550. type: string
  3551. pointdesc:
  3552. description: 点价描述
  3553. type: string
  3554. producttype:
  3555. description: 产品类型 1:标准仓单 2:等标 3:非标
  3556. type: integer
  3557. producttypename:
  3558. description: 产品类型名称
  3559. type: string
  3560. spotPointOrderVoList:
  3561. description: 点价列表
  3562. items:
  3563. $ref: '#/definitions/erms3.SpotPointOrder'
  3564. type: array
  3565. spotPriceOrderList:
  3566. description: 定价列表
  3567. items:
  3568. $ref: '#/definitions/erms3.SpotPriceOrder'
  3569. type: array
  3570. unitname:
  3571. description: 单位名称
  3572. type: string
  3573. warehouseid:
  3574. description: 仓库ID
  3575. type: integer
  3576. warehousename:
  3577. description: 仓库名称
  3578. type: string
  3579. wrstandardid:
  3580. description: 交易标的ID
  3581. type: integer
  3582. wrstandardname:
  3583. description: 交易标的名称
  3584. type: string
  3585. required:
  3586. - deliverygoodsid
  3587. - producttype
  3588. - unitname
  3589. - warehouseid
  3590. - wrstandardid
  3591. - wrstandardname
  3592. type: object
  3593. erms3.SpotPointOrder:
  3594. properties:
  3595. basic:
  3596. description: 基差
  3597. type: number
  3598. deliveryenddate:
  3599. description: 交收结束日期
  3600. type: string
  3601. deliverystartdate:
  3602. description: 交收开始日期
  3603. type: string
  3604. enddate:
  3605. description: 点价结束日期
  3606. type: string
  3607. goodsid:
  3608. description: 商品ID
  3609. type: integer
  3610. goodsname:
  3611. description: 商品名称
  3612. type: string
  3613. qty:
  3614. description: 数量
  3615. type: number
  3616. startdate:
  3617. description: 点价开始日期
  3618. type: string
  3619. required:
  3620. - basic
  3621. - goodsid
  3622. - qty
  3623. type: object
  3624. erms3.SpotPriceOrder:
  3625. properties:
  3626. amount:
  3627. description: 金额
  3628. type: number
  3629. deliveryenddate:
  3630. description: 交收结束日期
  3631. type: string
  3632. deliverystartdate:
  3633. description: 交收开始日期
  3634. type: string
  3635. price:
  3636. description: 价格
  3637. type: number
  3638. qty:
  3639. description: 数量
  3640. type: number
  3641. required:
  3642. - amount
  3643. - price
  3644. - qty
  3645. type: object
  3646. hsby.GetHsbyMyCountRsp:
  3647. properties:
  3648. myCouponCount:
  3649. description: 我的优惠卷数量
  3650. type: integer
  3651. myOrderDetailListingCount:
  3652. description: 我的订单求购中数量
  3653. type: integer
  3654. myOrderDetailPreCount:
  3655. description: 我的订单抢购中数量
  3656. type: integer
  3657. myPackageUnReceiveCount:
  3658. description: 我的包裹待收货数量
  3659. type: integer
  3660. myPackageUnSendCount:
  3661. description: 我的包裹待发货数量
  3662. type: integer
  3663. myPayOrderCount:
  3664. description: 我的订单待付款数量
  3665. type: integer
  3666. type: object
  3667. hsby.QueryProvincesAndCitiesRsp:
  3668. properties:
  3669. cities:
  3670. description: 市
  3671. items:
  3672. $ref: '#/definitions/models.Division'
  3673. type: array
  3674. province:
  3675. $ref: '#/definitions/models.Division'
  3676. description: 省
  3677. type: object
  3678. models.Arearole:
  3679. properties:
  3680. createtime:
  3681. description: 创建时间
  3682. type: string
  3683. creatorid:
  3684. description: 创建人ID
  3685. type: integer
  3686. fromuserid:
  3687. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  3688. type: integer
  3689. isreturnscore:
  3690. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  3691. type: integer
  3692. modifierid:
  3693. description: 修改人ID
  3694. type: integer
  3695. modifytime:
  3696. description: 修改时间
  3697. type: string
  3698. orgtype:
  3699. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  3700. type: integer
  3701. outuserid:
  3702. description: 外部账户[场外期权做市商]
  3703. type: string
  3704. parentuserid:
  3705. description: 上级组织机构(组织机构)
  3706. type: integer
  3707. roletype:
  3708. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  3709. type: integer
  3710. rootuserid:
  3711. description: 顶级组织机构用户ID(组织机构)
  3712. type: integer
  3713. shoppassword:
  3714. description: 商城店铺登陆密码(商城店铺角色使用)
  3715. type: string
  3716. sublevelpath:
  3717. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  3718. type: string
  3719. suborgtype:
  3720. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  3721. type: integer
  3722. tradeaccountid:
  3723. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  3724. type: integer
  3725. transurl:
  3726. description: 物流地址(物流机构)
  3727. type: string
  3728. userid:
  3729. description: 机构用户ID其他做市关系,都设置为 1
  3730. type: integer
  3731. required:
  3732. - roletype
  3733. - userid
  3734. type: object
  3735. models.Clientfixedadconfig:
  3736. properties:
  3737. adsort:
  3738. description: 排序
  3739. type: integer
  3740. adtype:
  3741. description: 广告位类型 - 1:新品抢购(HSBY)
  3742. type: integer
  3743. areauserid:
  3744. description: 所属机构ID
  3745. type: integer
  3746. createdate:
  3747. description: 创建时间
  3748. type: string
  3749. creatorid:
  3750. description: 创建人
  3751. type: integer
  3752. imagepath:
  3753. description: 图片
  3754. type: string
  3755. isshow:
  3756. description: 是否展示 - 0:不展示 1:展示
  3757. type: integer
  3758. modifierid:
  3759. description: 操作人
  3760. type: integer
  3761. recsize:
  3762. description: 推荐尺寸
  3763. type: string
  3764. title:
  3765. description: 标题
  3766. type: string
  3767. updatedate:
  3768. description: 更新时间
  3769. type: string
  3770. urlcontent:
  3771. description: 链接(地址或商品ID)
  3772. type: string
  3773. urltype:
  3774. description: 链接类型 - 1:直接地址 2:商品ID
  3775. type: integer
  3776. required:
  3777. - adsort
  3778. - adtype
  3779. type: object
  3780. models.Division:
  3781. properties:
  3782. autoid:
  3783. description: 自增ID
  3784. type: integer
  3785. divisioncode:
  3786. description: 行政代码
  3787. type: string
  3788. divisionlevel:
  3789. description: 行政级别
  3790. type: string
  3791. divisionname:
  3792. description: 行政名称
  3793. type: string
  3794. modifierid:
  3795. description: 修改人
  3796. type: integer
  3797. modifytime:
  3798. description: 修改时间
  3799. type: string
  3800. parentcode:
  3801. description: 上级行政代码
  3802. type: string
  3803. pathname:
  3804. description: 路径名称
  3805. type: string
  3806. postcode:
  3807. description: 邮政编码
  3808. type: string
  3809. separablename:
  3810. description: 可拆分的全称
  3811. type: string
  3812. shortcode:
  3813. description: 地区简码
  3814. type: string
  3815. required:
  3816. - autoid
  3817. - divisioncode
  3818. type: object
  3819. models.Enumdicitem:
  3820. properties:
  3821. autoid:
  3822. description: 自增ID
  3823. type: integer
  3824. bankmappedvalue:
  3825. description: 银行服务对应值
  3826. type: string
  3827. enumdiccode:
  3828. description: 所属枚举代码
  3829. type: string
  3830. enumdicid:
  3831. description: 所属枚举ID
  3832. type: integer
  3833. enumdicname:
  3834. description: 枚举项名称
  3835. type: string
  3836. enumitemname:
  3837. description: 枚举项值
  3838. type: integer
  3839. enumitemstatus:
  3840. description: 枚举项状态 - 1.启用 2.不启用
  3841. type: integer
  3842. enumitemvalue:
  3843. description: 通用值 - [币种通用简写]
  3844. type: string
  3845. param1:
  3846. description: 参数1[币种:币种小数位]
  3847. type: string
  3848. param2:
  3849. description: 参数1[币种:币种显示单位]
  3850. type: string
  3851. remark:
  3852. description: 备注
  3853. type: string
  3854. required:
  3855. - autoid
  3856. - enumdiccode
  3857. - enumdicid
  3858. - enumitemname
  3859. type: object
  3860. models.Ermcp3AreaSpot:
  3861. properties:
  3862. areauserid:
  3863. description: 所属机构
  3864. type: integer
  3865. convertratio:
  3866. description: 套保系数
  3867. type: number
  3868. decreaseqty:
  3869. description: 减少数量=-(销售已定价数量+采购计划数量)
  3870. type: number
  3871. enumdicname:
  3872. description: 单位名称
  3873. type: string
  3874. increaseqty:
  3875. description: 增加数量=销售计划数量+采购已定价数量
  3876. type: number
  3877. oritoalspotqty:
  3878. description: 昨日数量
  3879. type: number
  3880. totalspotqty:
  3881. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  3882. type: number
  3883. unitid:
  3884. description: 现货商品单位id
  3885. type: integer
  3886. updatetime:
  3887. description: 更新时间
  3888. type: string
  3889. wrstandardcode:
  3890. description: 现货商品代码
  3891. type: string
  3892. wrstandardid:
  3893. description: 现货商品ID(SEQ_WRSTANDARD)
  3894. type: integer
  3895. wrstandardname:
  3896. description: 现货商品名称
  3897. type: string
  3898. type: object
  3899. models.Ermcp3AreaSpotDetail:
  3900. properties:
  3901. contracttype:
  3902. description: 合同类型 1-采购 -1-销售
  3903. type: integer
  3904. createtime:
  3905. description: 创建时间
  3906. type: string
  3907. enumdicname:
  3908. description: 现货商品单位名称
  3909. type: string
  3910. logtype:
  3911. description: 记录类型 1-套保 2-现货合同
  3912. type: integer
  3913. qty:
  3914. description: 数量
  3915. type: number
  3916. recordname:
  3917. description: 类型名称
  3918. type: string
  3919. relatedid:
  3920. description: 套保计划ID/现货合同ID
  3921. type: string
  3922. relatedno:
  3923. description: 编号
  3924. type: string
  3925. strtime:
  3926. description: 时间
  3927. type: string
  3928. wrstandardcode:
  3929. description: 现货商品代码
  3930. type: string
  3931. wrstandardid:
  3932. description: 现货商品ID(SEQ_WRSTANDARD)
  3933. type: integer
  3934. wrstandardname:
  3935. description: 现货商品名称
  3936. type: string
  3937. type: object
  3938. models.Ermcp3AreaSpotPLReport:
  3939. properties:
  3940. accountid:
  3941. description: 期货账户ID (作废, 默认为0)
  3942. type: integer
  3943. accountname:
  3944. description: 机构名称
  3945. type: string
  3946. actualpl:
  3947. description: 现货损益
  3948. type: number
  3949. areauserid:
  3950. description: 所属机构\交易用户ID
  3951. type: integer
  3952. begindate:
  3953. description: 开始交易日
  3954. type: string
  3955. biztype:
  3956. description: 业务类型 - 1:套保 2:套利
  3957. type: integer
  3958. brandname:
  3959. description: 品牌名称
  3960. type: string
  3961. curamount:
  3962. description: 期末额
  3963. type: number
  3964. curaverageprice:
  3965. description: 期末均价
  3966. type: number
  3967. curbuyamount:
  3968. description: 期末采购总额
  3969. type: number
  3970. curbuyqty:
  3971. description: 期末采购总量
  3972. type: number
  3973. curmarketvalue:
  3974. description: 参考市值(期末市值)
  3975. type: number
  3976. curqty:
  3977. description: 期末量
  3978. type: number
  3979. currencyid:
  3980. description: 结算币种ID【原值】
  3981. type: integer
  3982. currencyname:
  3983. description: 币种名称
  3984. type: string
  3985. cursellamount:
  3986. description: 期末销售总额
  3987. type: number
  3988. cursellqty:
  3989. description: 期末销售总量
  3990. type: number
  3991. curspotprice:
  3992. description: 参考市价(最新价)
  3993. type: number
  3994. cycletime:
  3995. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3996. type: string
  3997. cycletype:
  3998. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3999. type: integer
  4000. deliverygoodscode:
  4001. description: 现货商品代码
  4002. type: string
  4003. deliverygoodsid:
  4004. description: 现货品种ID
  4005. type: integer
  4006. deliverygoodsname:
  4007. description: 现货商品名称
  4008. type: string
  4009. enddate:
  4010. description: 结束交易日
  4011. type: string
  4012. enumdicname:
  4013. description: 现货商品单位名称
  4014. type: string
  4015. floatpl:
  4016. description: 浮动损益
  4017. type: number
  4018. goodsunitid:
  4019. description: 现货商品单位id
  4020. type: integer
  4021. oriamount:
  4022. description: 期初额
  4023. type: number
  4024. oriaverageprice:
  4025. description: 期初均价
  4026. type: number
  4027. oribuyamount:
  4028. description: 期初采购总额
  4029. type: number
  4030. oribuyqty:
  4031. description: 期初采购总量
  4032. type: number
  4033. oriqty:
  4034. description: 期初量
  4035. type: number
  4036. orisellamount:
  4037. description: 期初销售总额
  4038. type: number
  4039. orisellqty:
  4040. description: 期初销售总量
  4041. type: number
  4042. reckondate:
  4043. description: 日照时期(yyyyMMdd)
  4044. type: string
  4045. spotgoodsbrandid:
  4046. description: 现货品牌ID
  4047. type: integer
  4048. todaybuyamount:
  4049. description: 今日采购额(今采购额)
  4050. type: number
  4051. todaybuyaverageprice:
  4052. description: 今日采购均价
  4053. type: number
  4054. todaybuyqty:
  4055. description: 今日采购量(今采购量)
  4056. type: number
  4057. todayinqty:
  4058. description: 今日入库量(今入库量)
  4059. type: number
  4060. todayoutqty:
  4061. description: 今日出库量(今出库量)
  4062. type: number
  4063. todaysellamount:
  4064. description: 今日销售额(今销售额)
  4065. type: number
  4066. todaysellaverageprice:
  4067. description: 今日销售均价
  4068. type: number
  4069. todaysellqty:
  4070. description: 今日销售量(今销售量)
  4071. type: number
  4072. unitid:
  4073. description: 品类单位id
  4074. type: integer
  4075. unitidname:
  4076. description: 品类单位名称
  4077. type: string
  4078. updatetime:
  4079. description: 更新时间
  4080. type: string
  4081. wrfactortypeid:
  4082. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4083. type: integer
  4084. wrstandardcode:
  4085. description: 品类代码
  4086. type: string
  4087. wrstandardid:
  4088. description: 现货品类ID
  4089. type: integer
  4090. wrstandardname:
  4091. description: 品类名称
  4092. type: string
  4093. type: object
  4094. models.Ermcp3AreaStock:
  4095. properties:
  4096. brandname:
  4097. description: 品牌名称
  4098. type: string
  4099. curstock:
  4100. description: 期末库存量(今日量)
  4101. type: number
  4102. deliverygoodscode:
  4103. description: 现货品种代码
  4104. type: string
  4105. deliverygoodsid:
  4106. description: 现货品种id
  4107. type: integer
  4108. deliverygoodsname:
  4109. description: 现货品种名称
  4110. type: string
  4111. enumdicname:
  4112. description: 单位名称
  4113. type: string
  4114. goodsunitid:
  4115. description: 现货商品单位id
  4116. type: integer
  4117. oristock:
  4118. description: 期初库存量(昨日量)
  4119. type: number
  4120. spotgoodsbrandid:
  4121. description: 现货品牌ID
  4122. type: integer
  4123. todaybuyinqty:
  4124. description: 今日采购入库量
  4125. type: number
  4126. todayproduceinqty:
  4127. description: 今日生产入库量
  4128. type: number
  4129. todayproduceoutqty:
  4130. description: 今日生产出库量
  4131. type: number
  4132. todayselloutqty:
  4133. description: 今日销售出库量
  4134. type: number
  4135. unitid:
  4136. description: 单位id
  4137. type: integer
  4138. updatetime:
  4139. description: 更新时间
  4140. type: string
  4141. userid:
  4142. description: 机构ID
  4143. type: integer
  4144. username:
  4145. description: 机构名称
  4146. type: string
  4147. warehousecode:
  4148. description: 仓库代码
  4149. type: string
  4150. warehouseinfoid:
  4151. description: 仓库ID
  4152. type: string
  4153. warehousename:
  4154. description: 仓库名称
  4155. type: string
  4156. warehousetype:
  4157. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4158. type: integer
  4159. wrstandardcode:
  4160. description: 品类代码
  4161. type: string
  4162. wrstandardid:
  4163. description: 品类ID
  4164. type: string
  4165. wrstandardname:
  4166. description: 品类名称
  4167. type: string
  4168. required:
  4169. - userid
  4170. type: object
  4171. models.Ermcp3AreaStockApply:
  4172. properties:
  4173. applyid:
  4174. description: 申请人
  4175. type: integer
  4176. applyname:
  4177. description: 申请人名称
  4178. type: string
  4179. applyremark:
  4180. description: 申请备注
  4181. type: string
  4182. applysrc:
  4183. description: 申请来源 - 1:管理端 2:终端
  4184. type: integer
  4185. applystatus:
  4186. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  4187. type: integer
  4188. applytime:
  4189. description: 申请时间
  4190. type: string
  4191. auditid:
  4192. description: 审核人
  4193. type: integer
  4194. auditname:
  4195. description: 审核人名称
  4196. type: string
  4197. auditremark:
  4198. description: 审核备注
  4199. type: string
  4200. auditsrc:
  4201. description: 审核来源 - 1:管理端 2:终端
  4202. type: integer
  4203. audittime:
  4204. description: 审核时间
  4205. type: string
  4206. audittradedate:
  4207. description: 审核交易日(yyyyMMdd)
  4208. type: string
  4209. brandname:
  4210. description: 品牌名称
  4211. type: string
  4212. buynickname:
  4213. description: 采购方昵称
  4214. type: string
  4215. buyuserid:
  4216. description: 采购方userid
  4217. type: integer
  4218. buyusername:
  4219. description: 采购方名称
  4220. type: string
  4221. contractno:
  4222. description: 合同编号
  4223. type: string
  4224. contractqty:
  4225. description: 合同量
  4226. type: number
  4227. contracttype:
  4228. description: 现货合同类型 - 1:采购 -1:销售
  4229. type: integer
  4230. deliverygoodscode:
  4231. description: 现货品种代码
  4232. type: string
  4233. deliverygoodsid:
  4234. description: 现货品种id
  4235. type: integer
  4236. deliverygoodsname:
  4237. description: 现货品种名称
  4238. type: string
  4239. detailjson:
  4240. description: 明细数据
  4241. type: string
  4242. enumdicname:
  4243. description: 现货商品单位名称
  4244. type: string
  4245. inoutapplyid:
  4246. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  4247. type: string
  4248. inouttype:
  4249. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4250. type: integer
  4251. pricetype:
  4252. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4253. type: integer
  4254. qty:
  4255. description: 数量
  4256. type: number
  4257. sellnickname:
  4258. description: 销售方昵称
  4259. type: string
  4260. selluserid:
  4261. description: 销售方userid
  4262. type: integer
  4263. sellusername:
  4264. description: 销售方名称
  4265. type: string
  4266. spotcontractid:
  4267. description: 关联现货合同ID
  4268. type: string
  4269. spotgoodsbrandid:
  4270. description: 现货品牌ID
  4271. type: integer
  4272. unitid:
  4273. description: 单位id
  4274. type: integer
  4275. userid:
  4276. description: 机构ID
  4277. type: integer
  4278. warehousecode:
  4279. description: 仓库代码
  4280. type: string
  4281. warehouseinfoid:
  4282. description: 现货仓库ID
  4283. type: string
  4284. warehousename:
  4285. description: 仓库名称
  4286. type: string
  4287. warehousetype:
  4288. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4289. type: integer
  4290. wrstandardcode:
  4291. description: 品类代码
  4292. type: string
  4293. wrstandardid:
  4294. description: 品类ID
  4295. type: integer
  4296. wrstandardname:
  4297. description: 品类名称
  4298. type: string
  4299. type: object
  4300. models.Ermcp3AreaStockApplySum:
  4301. properties:
  4302. brandname:
  4303. description: 品牌名称
  4304. type: string
  4305. inouttype:
  4306. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  4307. type: integer
  4308. spotcontractid:
  4309. description: 关联现货合同ID
  4310. type: string
  4311. spotgoodsbrandid:
  4312. description: 品牌id
  4313. type: integer
  4314. totalqty:
  4315. description: 总数量
  4316. type: number
  4317. wrstandardid:
  4318. description: 品类id
  4319. type: integer
  4320. wrstandardname:
  4321. description: 品类名称
  4322. type: string
  4323. type: object
  4324. models.Ermcp3AreaStockReportEx:
  4325. properties:
  4326. begindate:
  4327. description: 开始交易日
  4328. type: string
  4329. brandname:
  4330. description: 品牌名称
  4331. type: string
  4332. curstock:
  4333. description: 期末库存量
  4334. type: number
  4335. cycletime:
  4336. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4337. type: string
  4338. cycletype:
  4339. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4340. type: integer
  4341. deliverygoodscode:
  4342. description: 现货品种代码
  4343. type: string
  4344. deliverygoodsid:
  4345. description: 现货品种id
  4346. type: integer
  4347. deliverygoodsname:
  4348. description: 现货品种名称
  4349. type: string
  4350. diffqty:
  4351. description: 库存变化量 = 期末 - 期初
  4352. type: number
  4353. enddate:
  4354. description: 结束交易日
  4355. type: string
  4356. enumdicname:
  4357. description: 单位名称
  4358. type: string
  4359. goodsunitid:
  4360. description: 现货单位id
  4361. type: integer
  4362. oristock:
  4363. description: 期初库存量
  4364. type: number
  4365. reckondate:
  4366. description: 日照时期(yyyyMMdd)
  4367. type: string
  4368. spotgoodsbrandid:
  4369. description: 现货品牌ID
  4370. type: integer
  4371. todaybuyinqty:
  4372. description: 今采购入库量
  4373. type: number
  4374. todayproduceinqty:
  4375. description: 今内部入库量
  4376. type: number
  4377. todayproduceoutqty:
  4378. description: 今内部出库量
  4379. type: number
  4380. todayselloutqty:
  4381. description: 今销售出库量
  4382. type: number
  4383. unbuyinqty:
  4384. description: 采购未入库量(数据库未找到相关字段?)
  4385. type: number
  4386. unitid:
  4387. description: 品类单位id
  4388. type: integer
  4389. unselloutqty:
  4390. description: 销售未出库量(数据库未找到相关字段?)
  4391. type: number
  4392. updatetime:
  4393. description: 更新时间
  4394. type: string
  4395. userid:
  4396. description: 机构ID
  4397. type: integer
  4398. username:
  4399. description: 机构名称
  4400. type: string
  4401. warehousecode:
  4402. description: 仓库代码
  4403. type: string
  4404. warehouseinfoid:
  4405. description: 仓库ID
  4406. type: string
  4407. warehousename:
  4408. description: 仓库名称
  4409. type: string
  4410. warehousetype:
  4411. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  4412. type: integer
  4413. wrstandardcode:
  4414. description: 品类代码
  4415. type: string
  4416. wrstandardid:
  4417. description: 品类ID
  4418. type: integer
  4419. wrstandardname:
  4420. description: 品类名称
  4421. type: string
  4422. type: object
  4423. models.Ermcp3ArealSumPL:
  4424. properties:
  4425. accountname:
  4426. description: 机构名称
  4427. type: string
  4428. areauserid:
  4429. description: 所属机构\交易用户ID
  4430. type: integer
  4431. begindate:
  4432. description: 开始交易日
  4433. type: string
  4434. currencyid:
  4435. description: 结算币种ID
  4436. type: integer
  4437. currencyname:
  4438. description: 币种名称
  4439. type: string
  4440. cycletime:
  4441. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4442. type: string
  4443. cycletype:
  4444. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4445. type: integer
  4446. enddate:
  4447. description: 结束交易日
  4448. type: string
  4449. enumdicname:
  4450. description: 单位名称(套保品种)
  4451. type: string
  4452. futureactualpl:
  4453. description: 期货损益
  4454. type: number
  4455. futurefloatpl:
  4456. description: 期货浮动损益
  4457. type: number
  4458. goodsunitid:
  4459. description: 套保品种单位id
  4460. type: integer
  4461. middlegoodscode:
  4462. description: 套保品种代码
  4463. type: string
  4464. middlegoodsid:
  4465. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  4466. type: integer
  4467. middlegoodsname:
  4468. description: 套保品种名称
  4469. type: string
  4470. reckondate:
  4471. description: 日照时期(yyyyMMdd)
  4472. type: string
  4473. spotactualpl:
  4474. description: 现货损益
  4475. type: number
  4476. spotfloatpl:
  4477. description: 现货浮动损益
  4478. type: number
  4479. sumactualpl:
  4480. description: 实际损益 = (ActualPL + FutureActualPL)
  4481. type: number
  4482. sumpl:
  4483. description: 汇总损益
  4484. type: number
  4485. updatetime:
  4486. description: 更新时间
  4487. type: string
  4488. type: object
  4489. models.Ermcp3Brand:
  4490. properties:
  4491. areauserid:
  4492. description: 用户id
  4493. type: integer
  4494. brandid:
  4495. description: 品牌id
  4496. type: integer
  4497. brandname:
  4498. description: 品牌名称
  4499. type: string
  4500. deliverygoodsid:
  4501. description: 品种ID
  4502. type: integer
  4503. type: object
  4504. models.Ermcp3Contract:
  4505. properties:
  4506. accountid:
  4507. description: 期货账户id
  4508. type: string
  4509. amount:
  4510. description: 金额 [1:一口价、3:暂定价]
  4511. type: number
  4512. attachment:
  4513. description: 附件
  4514. type: string
  4515. auditremark:
  4516. description: 审核意见
  4517. type: string
  4518. audittime:
  4519. description: 审核时间
  4520. type: string
  4521. biztype:
  4522. description: 业务类型 1-套保 2-套利
  4523. type: integer
  4524. brandname:
  4525. description: 品牌名称
  4526. type: string
  4527. buynickname:
  4528. description: 销售方昵称
  4529. type: string
  4530. buyuserid:
  4531. description: 采购方ID
  4532. type: integer
  4533. buyusername:
  4534. description: 采购方名称
  4535. type: string
  4536. contracctstatus:
  4537. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4538. type: integer
  4539. contractmargin:
  4540. description: 合同保证金
  4541. type: number
  4542. contractno:
  4543. description: 现货合同编号
  4544. type: string
  4545. contracttype:
  4546. description: 现货合同类型 - 1:采购 -1:销售
  4547. type: integer
  4548. convertfactor:
  4549. description: 标仓系数(品类)
  4550. type: number
  4551. createtime:
  4552. description: 创建时间
  4553. type: string
  4554. currencyid:
  4555. description: 币种id
  4556. type: integer
  4557. currencyname:
  4558. description: 币种名称
  4559. type: string
  4560. deliveryenddate:
  4561. description: 交收期(结束)
  4562. type: string
  4563. deliverygoodscode:
  4564. description: 现货品种代码
  4565. type: string
  4566. deliverygoodsid:
  4567. description: 现货品种ID
  4568. type: integer
  4569. deliverygoodsname:
  4570. description: 现货品种名称
  4571. type: string
  4572. deliverystartdate:
  4573. description: 交收期(开始)
  4574. type: string
  4575. enddate:
  4576. description: 点价结束日期 [2:点价 3:暂定价]
  4577. type: string
  4578. enumdicname:
  4579. description: 单位名称
  4580. type: string
  4581. goodscode:
  4582. description: 点价合约代码
  4583. type: string
  4584. goodsid:
  4585. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  4586. type: integer
  4587. goodsname:
  4588. description: 点价商品名称
  4589. type: string
  4590. margin:
  4591. description: 当前保证金
  4592. type: number
  4593. meruserid:
  4594. description: 跟单员id
  4595. type: integer
  4596. meruserlogincode:
  4597. description: 跟单员登录代码
  4598. type: string
  4599. merusername:
  4600. description: 跟单员名称
  4601. type: string
  4602. price:
  4603. description: 价格\暂定价 [1:一口价、3:暂定价]
  4604. type: number
  4605. pricemove:
  4606. description: 升贴水 [2:点价 3:暂定价]
  4607. type: number
  4608. pricetype:
  4609. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  4610. type: integer
  4611. producttype:
  4612. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4613. type: integer
  4614. qty:
  4615. description: 数量
  4616. type: number
  4617. remark:
  4618. description: 备注
  4619. type: string
  4620. saleuserid:
  4621. description: 业务员id
  4622. type: integer
  4623. saleuserlogincode:
  4624. description: 业务员登录代码
  4625. type: string
  4626. saleusername:
  4627. description: 业务员名称
  4628. type: string
  4629. sellnickname:
  4630. description: 采购方昵称
  4631. type: string
  4632. selluserid:
  4633. description: 销售方ID
  4634. type: integer
  4635. sellusername:
  4636. description: 销售方名称
  4637. type: string
  4638. spotcontractid:
  4639. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  4640. type: string
  4641. spotgoodsbrandid:
  4642. description: 现货品牌ID(DGFactoryItem表的ID)
  4643. type: integer
  4644. spotgoodsdesc:
  4645. description: 商品型号
  4646. type: string
  4647. startdate:
  4648. description: 点价开始日期 [2:点价 3:暂定价]
  4649. type: string
  4650. subjectid:
  4651. description: 交易主体ID
  4652. type: string
  4653. subjectname:
  4654. description: 交易主体名称
  4655. type: string
  4656. tradeuserid:
  4657. description: 交易员id
  4658. type: integer
  4659. tradeuserlogincode:
  4660. description: 交易员登录代码
  4661. type: string
  4662. tradeusername:
  4663. description: 交易员名称
  4664. type: string
  4665. unitid:
  4666. description: 单位id(取品类上的单位id)
  4667. type: integer
  4668. updatetime:
  4669. description: 更新时间
  4670. type: string
  4671. userid:
  4672. description: 所属机构ID
  4673. type: integer
  4674. vatrate:
  4675. description: 增值税率
  4676. type: number
  4677. wrstandardcode:
  4678. description: 品类代码
  4679. type: string
  4680. wrstandardid:
  4681. description: 品类ID
  4682. type: integer
  4683. wrstandardname:
  4684. description: 品类名称
  4685. type: string
  4686. type: object
  4687. models.Ermcp3ExposureContractDetail:
  4688. properties:
  4689. biztype:
  4690. description: 业务类型 1-套保 2-套利
  4691. type: integer
  4692. brandname:
  4693. description: 品牌名称
  4694. type: string
  4695. buyuserid:
  4696. description: 采购方id
  4697. type: integer
  4698. buyusername:
  4699. description: 采购方名称
  4700. type: string
  4701. contractno:
  4702. description: 合同编号
  4703. type: string
  4704. contracttype:
  4705. description: 现货合同类型 - 1:采购 -1:销售
  4706. type: integer
  4707. convertfactor:
  4708. description: 标仓系数
  4709. type: number
  4710. convertratio:
  4711. description: 折算系数(套保品种)
  4712. type: number
  4713. curqty:
  4714. description: 今定价量
  4715. type: number
  4716. deliverygoodscode:
  4717. description: 现货商品代码
  4718. type: string
  4719. deliverygoodsid:
  4720. description: 现货商品id
  4721. type: integer
  4722. deliverygoodsname:
  4723. description: 现货商品名称
  4724. type: string
  4725. diffhedgeqty:
  4726. description: 套保变动量
  4727. type: number
  4728. diffneedhedgeqty:
  4729. description: 应套保变动量
  4730. type: number
  4731. diffqty:
  4732. description: 套保品种今变动量
  4733. type: number
  4734. enumdicname:
  4735. description: 单位名称
  4736. type: string
  4737. mgunitname:
  4738. description: 套保品种单位名称
  4739. type: string
  4740. middlegoodscode:
  4741. description: 套保品种代码
  4742. type: string
  4743. middlegoodsid:
  4744. description: 套保品种id
  4745. type: integer
  4746. middlegoodsname:
  4747. description: 套保品种名称
  4748. type: string
  4749. needarbitrageratio:
  4750. description: 应套利比例
  4751. type: number
  4752. needhedgeratio:
  4753. description: 应套保比例
  4754. type: number
  4755. pricedqty:
  4756. description: 已定价量
  4757. type: number
  4758. qty:
  4759. description: 合同量
  4760. type: number
  4761. selluserid:
  4762. description: 销售方id
  4763. type: integer
  4764. sellusername:
  4765. description: 销售方名称
  4766. type: string
  4767. spotcontractid:
  4768. description: 合同id
  4769. type: string
  4770. todaypricedqty:
  4771. description: 今定价量
  4772. type: number
  4773. tradedate:
  4774. description: 交易日
  4775. type: string
  4776. unitid:
  4777. description: 品类单位id
  4778. type: integer
  4779. userid:
  4780. description: 机构id
  4781. type: integer
  4782. username:
  4783. description: 交易用户
  4784. type: string
  4785. wrstandardcode:
  4786. description: 品类代码
  4787. type: string
  4788. wrstandardid:
  4789. description: 品类id
  4790. type: integer
  4791. wrstandardname:
  4792. description: 品类名称
  4793. type: string
  4794. type: object
  4795. models.Ermcp3ExposureDetail:
  4796. properties:
  4797. areauserid:
  4798. description: 机构ID
  4799. type: integer
  4800. changeQty:
  4801. description: 套保变动量
  4802. type: number
  4803. contracttype:
  4804. description: 现货合同类型 - 1:采购 -1:销售
  4805. type: integer
  4806. convertfactor:
  4807. description: 标仓系数
  4808. type: number
  4809. convertratio:
  4810. description: 折算系数
  4811. type: number
  4812. createtime:
  4813. description: 时间
  4814. type: string
  4815. enumdicname:
  4816. description: 现货商品单位名称
  4817. type: string
  4818. logtype:
  4819. description: 类型 - 1:套保计划 2:现货合同
  4820. type: integer
  4821. mgunitid:
  4822. description: 套保品种单位id
  4823. type: integer
  4824. mgunitidname:
  4825. description: 套保品种单位名称
  4826. type: string
  4827. middlegoodsId:
  4828. description: 套保商品id
  4829. type: integer
  4830. middlegoodscode:
  4831. description: 套保商品代码
  4832. type: string
  4833. middlegoodsname:
  4834. description: 套保商品名称
  4835. type: string
  4836. qty:
  4837. description: 数量
  4838. type: number
  4839. relateNo:
  4840. description: 现货合同/套保计划编号
  4841. type: string
  4842. unitid:
  4843. description: 现货商品单位id
  4844. type: integer
  4845. wrstandardcode:
  4846. description: 现货商品代码
  4847. type: string
  4848. wrstandardid:
  4849. description: 现货商品ID(SEQ_WRSTANDARD)
  4850. type: integer
  4851. wrstandardname:
  4852. description: 现货商品名称
  4853. type: string
  4854. type: object
  4855. models.Ermcp3ExposureFutuDetail:
  4856. properties:
  4857. accountid:
  4858. description: 交易账户id
  4859. type: integer
  4860. accountname:
  4861. description: 交易账户
  4862. type: string
  4863. begindate:
  4864. description: 开始交易日
  4865. type: string
  4866. buyorsell:
  4867. description: 方向 0-买 1-卖
  4868. type: integer
  4869. diffmgqty:
  4870. description: 套保品种今变化量
  4871. type: number
  4872. diffneedqty:
  4873. description: 应套保总量变化量
  4874. type: number
  4875. difftradeqty:
  4876. description: 交易品种今变化量
  4877. type: number
  4878. enddate:
  4879. description: 结束交易日
  4880. type: string
  4881. enumdicname:
  4882. description: 单位名称
  4883. type: string
  4884. goodscode:
  4885. description: 商品代码
  4886. type: string
  4887. goodsid:
  4888. description: 商品id
  4889. type: integer
  4890. goodsname:
  4891. description: 商品名称
  4892. type: string
  4893. holdqty:
  4894. description: 期末持仓量
  4895. type: number
  4896. middlegoodscode:
  4897. description: 套保商品代码
  4898. type: string
  4899. middlegoodsid:
  4900. description: 套保商品id
  4901. type: integer
  4902. middlegoodsname:
  4903. description: 套保商品名称
  4904. type: string
  4905. oriholdqty:
  4906. description: 期初持仓量
  4907. type: number
  4908. todaycloseqty:
  4909. description: 今平仓量
  4910. type: number
  4911. todayopenqty:
  4912. description: 今开仓量
  4913. type: number
  4914. tradedate:
  4915. description: 交易日
  4916. type: string
  4917. type: object
  4918. models.Ermcp3ExposureHedgeplanDetail:
  4919. properties:
  4920. biztype:
  4921. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  4922. type: integer
  4923. changqty:
  4924. description: 应套保总量变化量
  4925. type: number
  4926. contracttype:
  4927. description: 计划类型 - 1:采购 -1:销售
  4928. type: integer
  4929. convertratio:
  4930. description: 折算系数(套保品种)
  4931. type: number
  4932. deliverygoodscode:
  4933. description: 现货商品代码
  4934. type: string
  4935. deliverygoodsid:
  4936. description: 现货商品id
  4937. type: integer
  4938. deliverygoodsname:
  4939. description: 现货商吕名称
  4940. type: string
  4941. dgunitid:
  4942. description: 现货商品单位id
  4943. type: integer
  4944. dgunitidname:
  4945. description: 单位名称(现货商品)
  4946. type: string
  4947. diffqty:
  4948. description: 套保品种今变动量
  4949. type: number
  4950. enumdicname:
  4951. description: 单位名称(品类)
  4952. type: string
  4953. hedgeplanid:
  4954. description: 套保计划id
  4955. type: string
  4956. hedgeplanno:
  4957. description: 套保计划名称
  4958. type: string
  4959. hedgeplanstatus:
  4960. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4961. type: integer
  4962. mgunitidname:
  4963. description: 单位名称(套保商品)
  4964. type: string
  4965. middlegoodscode:
  4966. description: 套保品种代码
  4967. type: string
  4968. middlegoodsid:
  4969. description: 套保品种id
  4970. type: integer
  4971. middlegoodsname:
  4972. description: 套保品种名称
  4973. type: string
  4974. needarbitrageratio:
  4975. description: 应套利比例
  4976. type: number
  4977. needhedgeratio:
  4978. description: 应套保比例
  4979. type: number
  4980. pricedqty:
  4981. description: 已定价量
  4982. type: number
  4983. qty:
  4984. description: 合同量
  4985. type: number
  4986. tradedate:
  4987. description: 交易日(登记日)
  4988. type: string
  4989. unitid:
  4990. description: 品类单位id
  4991. type: integer
  4992. userid:
  4993. description: 机构id
  4994. type: integer
  4995. wrstandardcode:
  4996. description: 品类代码
  4997. type: string
  4998. wrstandardid:
  4999. description: 品类id
  5000. type: integer
  5001. wrstandardname:
  5002. description: 品类名称
  5003. type: string
  5004. type: object
  5005. models.Ermcp3ExposureParamChLog:
  5006. properties:
  5007. accountid:
  5008. description: 期货账户ID (作废, 默认为0)
  5009. type: integer
  5010. aftervalue:
  5011. description: 应套保\套利量变更后(调整后应套保总量)
  5012. type: number
  5013. areauserid:
  5014. description: 所属机构\交易用户ID
  5015. type: integer
  5016. beforevalue:
  5017. description: 应套保\套利量变更前(调整前应套保总量)
  5018. type: number
  5019. begindate:
  5020. description: 开始交易日
  5021. type: string
  5022. changelogtype:
  5023. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  5024. type: integer
  5025. curvalue:
  5026. description: 当前套保\套利量(套保总量|套利总量)
  5027. type: number
  5028. diffvalue:
  5029. description: 应套保总量变化量
  5030. type: number
  5031. enddate:
  5032. description: 结束交易日
  5033. type: string
  5034. logdatetime:
  5035. description: 流水日期
  5036. type: string
  5037. logid:
  5038. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  5039. type: string
  5040. middlegoodscode:
  5041. description: 套保品种代码
  5042. type: string
  5043. middlegoodsid:
  5044. description: 套保品种
  5045. type: integer
  5046. middlegoodsname:
  5047. description: 套保品种名称
  5048. type: string
  5049. paramaftervalue:
  5050. description: 参数变更后(调整后参数值)
  5051. type: number
  5052. parambeforevalue:
  5053. description: 参数变更前(调整前参数值)
  5054. type: number
  5055. tradedate:
  5056. description: 交易日(yyyyMMdd)
  5057. type: string
  5058. type: object
  5059. models.Ermcp3ExpourseReport:
  5060. properties:
  5061. accountid:
  5062. description: 期货账户ID (作废, 默认为0)
  5063. type: integer
  5064. accountname:
  5065. description: 机构名称
  5066. type: string
  5067. arbitrageqty:
  5068. description: 套利量
  5069. type: number
  5070. areauserid:
  5071. description: 所属机构\交易用户ID
  5072. type: integer
  5073. begindate:
  5074. description: 开始交易日
  5075. type: string
  5076. buyfutureqty:
  5077. description: 买入期货数量
  5078. type: number
  5079. buyplanqty:
  5080. description: 采购计划数量
  5081. type: number
  5082. buypricedqty:
  5083. description: 采购合同已定价数量
  5084. type: number
  5085. cycletime:
  5086. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5087. type: string
  5088. cycletype:
  5089. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5090. type: integer
  5091. diffexposure:
  5092. description: 变动量(套保敞口)
  5093. type: number
  5094. difffutuqty:
  5095. description: 变动量(期货)
  5096. type: number
  5097. diffhedgeqty:
  5098. description: 变动量(现货应套保总量)
  5099. type: number
  5100. diffmgqtya:
  5101. description: 套保变动量
  5102. type: number
  5103. diffmgqtyb:
  5104. description: 套利变动量
  5105. type: number
  5106. diffqty:
  5107. description: 变动量(总敞口)
  5108. type: number
  5109. diffspotqty:
  5110. description: 变动量(现货)
  5111. type: number
  5112. enddate:
  5113. description: 结束交易日
  5114. type: string
  5115. enumdicname:
  5116. description: 单位名称
  5117. type: string
  5118. hedgeqty:
  5119. description: 套保量
  5120. type: number
  5121. mgneedhedgeratio:
  5122. description: 套保比例(套保品的)
  5123. type: number
  5124. middlegoodsid:
  5125. description: 套保品种ID
  5126. type: integer
  5127. middlegoodsname:
  5128. description: 套保商品名称
  5129. type: string
  5130. middlgoodscode:
  5131. description: 套保商品代码
  5132. type: string
  5133. needarbitrageqty:
  5134. description: 应套利量
  5135. type: number
  5136. needarbitrageratio:
  5137. description: 套利比例(套保品的)
  5138. type: number
  5139. needhedgeexposoure:
  5140. description: 应套保敞口(套保敞口)
  5141. type: number
  5142. needhedgeqty:
  5143. description: 应套保量
  5144. type: number
  5145. needhedgeratio:
  5146. description: 应套保敞口比例
  5147. type: number
  5148. oriarbitrageqty:
  5149. description: 期初套利量
  5150. type: number
  5151. oribuyfutureqty:
  5152. description: 期初买入期货数量
  5153. type: number
  5154. oribuyplanqty:
  5155. description: 期初采购计划数量
  5156. type: number
  5157. oribuypricedqty:
  5158. description: 期初采购合同已定价数量
  5159. type: number
  5160. orihedgeqty:
  5161. description: 期初套保量
  5162. type: number
  5163. orineedarbitrageqty:
  5164. description: 期初应套利量
  5165. type: number
  5166. orineedhedgeexposoure:
  5167. description: 期初应套保敞口
  5168. type: number
  5169. orineedhedgeqty:
  5170. description: 期初应套保量
  5171. type: number
  5172. orisellfutureqty:
  5173. description: 期初卖出期货数量
  5174. type: number
  5175. orisellplanqty:
  5176. description: 期初销售计划数量
  5177. type: number
  5178. orisellpricedqty:
  5179. description: 期初销售合同已定价数量
  5180. type: number
  5181. oritotalexposure:
  5182. description: 期初实时总敞口
  5183. type: number
  5184. oritotalfutureqty:
  5185. description: 期初期货头寸总量
  5186. type: number
  5187. oritotalneedhedgeqty:
  5188. description: 期初应套保总量
  5189. type: number
  5190. oritotalspotqty:
  5191. description: 期初现货头寸总量
  5192. type: number
  5193. reckondate:
  5194. description: 日照时期(yyyyMMdd)
  5195. type: string
  5196. sellfutureqty:
  5197. description: 卖出期货数量
  5198. type: number
  5199. sellplanqty:
  5200. description: 销售计划数量
  5201. type: number
  5202. sellpricedqty:
  5203. description: 销售合同已定价数量
  5204. type: number
  5205. totalexposure:
  5206. description: 实时总敞口(总敞口)
  5207. type: number
  5208. totalfutureqty:
  5209. description: 期货头寸总量(期货总量)
  5210. type: number
  5211. totalhedgeratio:
  5212. description: 敞口比例
  5213. type: number
  5214. totalneedhedgeqty:
  5215. description: 应套保总量(现货应套保总量)
  5216. type: number
  5217. totalspotqty:
  5218. description: 现货头寸总量
  5219. type: number
  5220. unitid:
  5221. description: 单位id
  5222. type: integer
  5223. updatetime:
  5224. description: 更新时间
  5225. type: string
  5226. type: object
  5227. models.Ermcp3FinanceReport:
  5228. properties:
  5229. accountname:
  5230. description: 机构名称
  5231. type: string
  5232. areauserid:
  5233. description: 所属机构\交易用户ID
  5234. type: integer
  5235. begindate:
  5236. description: 开始交易日
  5237. type: string
  5238. biztype:
  5239. description: 业务类型 - 1:套保 2:套利
  5240. type: integer
  5241. brandname:
  5242. description: 品牌名称
  5243. type: string
  5244. buypreinvoicedamount:
  5245. description: 采购预收票额(预收票额)
  5246. type: number
  5247. buyprepaidamount:
  5248. description: 采购预付款额(预付货款额)
  5249. type: number
  5250. buytodayinvoiceamount:
  5251. description: 采购今收票额(今收票额)
  5252. type: number
  5253. buytodayrefundamount:
  5254. description: 采购今收退款额(今收退款额)
  5255. type: number
  5256. buytodaysettleamount:
  5257. description: 采购今付款额(今付货款额)
  5258. type: number
  5259. buyuninvoicedamount:
  5260. description: 采购应收票额(应收票额)
  5261. type: number
  5262. buyunpaidamount:
  5263. description: 采购应付款额(应付货款额)
  5264. type: number
  5265. currencyid:
  5266. description: 结算币种ID
  5267. type: integer
  5268. currencyname:
  5269. description: 币种名称
  5270. type: string
  5271. cycletime:
  5272. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5273. type: string
  5274. cycletype:
  5275. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5276. type: integer
  5277. deliverygoodscode:
  5278. description: 现货品种代码
  5279. type: string
  5280. deliverygoodsid:
  5281. description: 现货品种ID
  5282. type: integer
  5283. deliverygoodsname:
  5284. description: 现货品种名称
  5285. type: string
  5286. enddate:
  5287. description: 结束交易日
  5288. type: string
  5289. reckondate:
  5290. description: 日照时期(yyyyMMdd)
  5291. type: string
  5292. sellpreinvoicedamount:
  5293. description: 销售预开票额(预开票额)
  5294. type: number
  5295. sellprepaidamount:
  5296. description: 销售预收款额(预收货款额)
  5297. type: number
  5298. selltodayinvoiceamount:
  5299. description: 销售今开票额(今开票额)
  5300. type: number
  5301. selltodayrefundamount:
  5302. description: 销售今付退款额(今付退款额)
  5303. type: number
  5304. selltodaysettleamount:
  5305. description: 销售今收款额(今收货款额)
  5306. type: number
  5307. selluninvoicedamount:
  5308. description: 销售应开票额(应开票额)
  5309. type: number
  5310. sellunpaidamount:
  5311. description: 销售应收款额(应收货款额)
  5312. type: number
  5313. spotgoodsbrandid:
  5314. description: 现货品牌ID
  5315. type: integer
  5316. todaypaysum:
  5317. description: 今付款合计
  5318. type: number
  5319. todayreceivesum:
  5320. description: 今收款合计
  5321. type: number
  5322. updatetime:
  5323. description: 更新时间
  5324. type: string
  5325. wrfactortypeid:
  5326. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  5327. type: integer
  5328. wrstandardcode:
  5329. description: 品类代码
  5330. type: string
  5331. wrstandardid:
  5332. description: 现货商品ID
  5333. type: integer
  5334. wrstandardname:
  5335. description: 品类名称
  5336. type: string
  5337. type: object
  5338. models.Ermcp3GoodsGroup:
  5339. properties:
  5340. agreeunit:
  5341. description: 合约单位
  5342. type: number
  5343. areauserid:
  5344. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  5345. type: integer
  5346. canshort:
  5347. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  5348. type: integer
  5349. closepricemode:
  5350. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5351. type: integer
  5352. createtime:
  5353. description: 创建时间
  5354. type: string
  5355. creatorid:
  5356. description: 创建人
  5357. type: integer
  5358. currencyid:
  5359. description: 报价货币ID
  5360. type: integer
  5361. decimalplace:
  5362. description: 报价小数位
  5363. type: integer
  5364. enumdicname:
  5365. description: 单位名称
  5366. type: string
  5367. exchangefullname:
  5368. description: 交易所全称
  5369. type: string
  5370. excludecfg:
  5371. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  5372. type: integer
  5373. exexchangecode:
  5374. description: 交易所代码
  5375. type: string
  5376. exexchangeid:
  5377. description: 外部交易所ID[通道交易]
  5378. type: integer
  5379. exexchangename:
  5380. description: 交易所名称
  5381. type: string
  5382. goodsgroupid:
  5383. description: 商品组ID(自增ID)
  5384. type: integer
  5385. goodsgroupname:
  5386. description: 商品组名称
  5387. type: string
  5388. goodsgroupstatus:
  5389. description: 商品组状态 - 1:正常 2:注销
  5390. type: integer
  5391. goodunitid:
  5392. description: 报价单位ID
  5393. type: integer
  5394. groupcategroyid:
  5395. description: 品种分类ID
  5396. type: integer
  5397. innerdealmode:
  5398. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  5399. type: integer
  5400. marketid:
  5401. description: 所属市场ID
  5402. type: integer
  5403. modifierid:
  5404. description: 修改人
  5405. type: integer
  5406. modifytime:
  5407. description: 修改时间
  5408. type: string
  5409. outerdealmode:
  5410. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  5411. type: integer
  5412. outergroupcode:
  5413. description: 外部商品组代码[通道交易]
  5414. type: string
  5415. quoteminunit:
  5416. description: 行情最小变动单位 [整数,报价小数位一起使用]
  5417. type: integer
  5418. quotesourcegroupid:
  5419. description: 所属行情源分组ID[参考行情市场用\通道交易]
  5420. type: integer
  5421. syncgoodsqty:
  5422. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  5423. type: integer
  5424. required:
  5425. - areauserid
  5426. type: object
  5427. models.Ermcp3HedgePlan:
  5428. properties:
  5429. accountid:
  5430. description: 资金账号
  5431. type: integer
  5432. areauserid:
  5433. description: 用户ID
  5434. type: integer
  5435. auditid:
  5436. description: 审核id
  5437. type: integer
  5438. auditname:
  5439. description: 审核人名称
  5440. type: string
  5441. auditremark:
  5442. description: 审核备注
  5443. type: string
  5444. auditsrc:
  5445. description: 审核来源 1-管理端 2-终端
  5446. type: integer
  5447. audittime:
  5448. description: 审核时间
  5449. type: string
  5450. contracttype:
  5451. description: 计划类型 - 1:采购 -1:销售
  5452. type: integer
  5453. convertfactor:
  5454. description: 标仓系数
  5455. type: number
  5456. createtime:
  5457. description: 创建时间
  5458. type: string
  5459. currencyid:
  5460. description: 币种id
  5461. type: integer
  5462. currencyname:
  5463. description: 币种名称
  5464. type: string
  5465. deliverygoodscode:
  5466. description: 现货品种代码
  5467. type: string
  5468. deliverygoodsid:
  5469. description: 现货品种ID
  5470. type: integer
  5471. deliverygoodsname:
  5472. description: 现货品种名称
  5473. type: string
  5474. enumdicname:
  5475. description: 单位名称(现货商品)
  5476. type: string
  5477. hedgeplanid:
  5478. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  5479. type: string
  5480. hedgeplanno:
  5481. description: 套保计划编号(名称)
  5482. type: string
  5483. hedgeplanstatus:
  5484. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  5485. type: integer
  5486. planqty:
  5487. description: 计划数量
  5488. type: number
  5489. plantime:
  5490. description: 计划时间
  5491. type: string
  5492. producttype:
  5493. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5494. type: integer
  5495. remark:
  5496. description: 备注
  5497. type: string
  5498. spotgoodsdesc:
  5499. description: 商品型号
  5500. type: string
  5501. taaccountname:
  5502. description: 资金账号名称
  5503. type: string
  5504. tradeuserid:
  5505. description: 交易用户id
  5506. type: integer
  5507. tradeusername:
  5508. description: 交易用户名称
  5509. type: string
  5510. unitid:
  5511. description: 单位id(现货商品)
  5512. type: integer
  5513. updatetime:
  5514. description: 更新时间
  5515. type: string
  5516. vatrate:
  5517. description: 增值税率
  5518. type: number
  5519. wrstandardcode:
  5520. description: 品类代码
  5521. type: string
  5522. wrstandardid:
  5523. description: 品类id
  5524. type: integer
  5525. wrstandardname:
  5526. description: 品类名称
  5527. type: string
  5528. wrunitid:
  5529. description: 品类单位id
  5530. type: integer
  5531. wrunitidame:
  5532. description: 品类单位名称
  5533. type: string
  5534. type: object
  5535. models.Ermcp3PaAreaAuditCfg:
  5536. properties:
  5537. areauserid:
  5538. description: 用户ID
  5539. type: integer
  5540. buyinauditflag:
  5541. description: 采购入库是否需要审核 - 0:不需审核 1:需要审核
  5542. type: integer
  5543. customerauditflag:
  5544. description: 客户资料是否需要审核 - 0:不需审核 1:需要审核
  5545. type: integer
  5546. deliveryauditflag:
  5547. description: 交收是否需要审核 - 0:不需审核 1:需要审核
  5548. type: integer
  5549. invoiceauditflag:
  5550. description: 发票是否需要审核 - 0:不需审核 1:需要审核
  5551. type: integer
  5552. moneyauditflag:
  5553. description: 款项是否需要审核 - 0:不需审核 1:需要审核
  5554. type: integer
  5555. operatorid:
  5556. description: 操作人
  5557. type: integer
  5558. operatorsrc:
  5559. description: 操作来源 - 1:管理端 2:终端
  5560. type: integer
  5561. pointpriceauditflag:
  5562. description: 点价是否需要审核 - 0:不需审核 1:需要审核
  5563. type: integer
  5564. produceinauditflag:
  5565. description: 生产入库是否需要审核 - 0:不需审核 1:需要审核
  5566. type: integer
  5567. produceoutauditflag:
  5568. description: 生产出库是否需要审核 - 0:不需审核 1:需要审核
  5569. type: integer
  5570. selloutauditflag:
  5571. description: 销售出库是否需要审核 - 0:不需审核 1:需要审核
  5572. type: integer
  5573. spotcontractauditflag:
  5574. description: 现货合同是否需要审核 - 0:不需审核 1:需要审核
  5575. type: integer
  5576. updatetime:
  5577. description: 更新时间
  5578. type: string
  5579. type: object
  5580. models.Ermcp3PaAreaSubject:
  5581. properties:
  5582. areauserid:
  5583. description: 所属机构
  5584. type: integer
  5585. canmodify:
  5586. description: 是否可修改 - 0:否 1:是
  5587. type: integer
  5588. createtime:
  5589. description: 创建时间
  5590. type: string
  5591. creatorid:
  5592. description: 创建人ID
  5593. type: string
  5594. creatorsrc:
  5595. description: 创建人来源 - 1:管理端 2:终端 3:交易
  5596. type: integer
  5597. modifierid:
  5598. description: 修改人
  5599. type: string
  5600. modifiersrc:
  5601. description: 修改人来源 - 1:管理端 2:终端
  5602. type: integer
  5603. modifytime:
  5604. description: 修改时间
  5605. type: string
  5606. parentsubjectid:
  5607. description: 上级主体ID
  5608. type: string
  5609. remark:
  5610. description: 备注
  5611. type: string
  5612. subjectid:
  5613. description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  5614. type: integer
  5615. subjectname:
  5616. description: 主体名称
  5617. type: string
  5618. subjectstatus:
  5619. description: '主体状态 - 1:正常 2: 停用'
  5620. type: integer
  5621. subjecttype:
  5622. description: 主体类型 - 1:交易主体 2:业务部门
  5623. type: integer
  5624. type: object
  5625. models.Ermcp3PaTradeLink:
  5626. properties:
  5627. accountid:
  5628. description: 期货账户代码 | 账号ID
  5629. type: integer
  5630. agreeunit:
  5631. description: 合约乘数
  5632. type: number
  5633. buyorsell:
  5634. description: 方向 - 0:买 1:卖
  5635. type: integer
  5636. channelbuildtype:
  5637. description: 委托单据类型 0:无 1:建仓 2:平仓
  5638. type: integer
  5639. charge:
  5640. description: 手续费
  5641. type: number
  5642. closepl:
  5643. description: 平仓盈亏
  5644. type: number
  5645. closetype:
  5646. description: 平仓方式 - 0:无 1:平今 2:平昨
  5647. type: integer
  5648. convertratio:
  5649. description: 折算系数
  5650. type: number
  5651. enumdicname:
  5652. description: 单位名称
  5653. type: string
  5654. executeprice:
  5655. description: 执行价 [期权]
  5656. type: integer
  5657. goodscode:
  5658. description: 合约代码
  5659. type: string
  5660. goodsgroupid:
  5661. description: 对冲品种ID[期货合约商品组ID]
  5662. type: integer
  5663. goodsid:
  5664. description: 商品ID
  5665. type: integer
  5666. goodsname:
  5667. description: 合约名称
  5668. type: string
  5669. goodunitid:
  5670. description: 单位id
  5671. type: integer
  5672. hedgeflag:
  5673. description: 投机套保标志 - 0:无 1:投机 2:套保 3:套利 4:套期保值(平安\合同) 5:单边(平安) 6:移仓(平安) 7:错单处理(平安) 8:跨期套利(平安) 9:套期保值(计划) 10:套利(合同) 11:换月(合同) 12:交割(金瑞)
  5674. type: integer
  5675. marketid:
  5676. description: 市场ID
  5677. type: integer
  5678. middlegoodsid:
  5679. description: 套保品种ID
  5680. type: integer
  5681. middlegoodsqty:
  5682. description: 套保品种数量 = TradeQty * AgreeUnit * ConvertRatio
  5683. type: number
  5684. optioncode:
  5685. description: 期权代码 [期权]
  5686. type: string
  5687. ordertype:
  5688. description: 单据类型 - 1:期货单 2:看涨期权单 3:看跌期权单
  5689. type: integer
  5690. ordertypename:
  5691. description: 订单类型
  5692. type: string
  5693. parentaccountid:
  5694. description: 所属母账户
  5695. type: integer
  5696. premium:
  5697. description: 权利金 [期权]
  5698. type: number
  5699. relatedlot:
  5700. description: 已关联数量(已关联数量手) | db:关联手数
  5701. type: number
  5702. relatedouttradeid:
  5703. description: 关联外部成交单ID
  5704. type: string
  5705. relatedqty:
  5706. description: 关联数量
  5707. type: number
  5708. spotcontractid:
  5709. description: 现货合同ID [4:套期保值\10\11]
  5710. type: string
  5711. taname:
  5712. description: 期货账户名称
  5713. type: string
  5714. tradeamount:
  5715. description: 成交金额(账户)
  5716. type: number
  5717. tradedate:
  5718. description: 交易日(yyyyMMdd)
  5719. type: string
  5720. tradeid:
  5721. description: 期货单号 | db:成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  5722. type: string
  5723. tradelot:
  5724. description: 成交数量(期货数量) ps:这是手数,转换为具体多少吨要乘以AGREEUNIT | db:成交手数
  5725. type: integer
  5726. tradeprice:
  5727. description: 成交价格
  5728. type: number
  5729. tradetime:
  5730. description: 时间 | db:成交时间
  5731. type: string
  5732. tradetype:
  5733. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  5734. type: integer
  5735. userid:
  5736. description: 所属机构 - 所属母账户的UserID
  5737. type: string
  5738. username:
  5739. description: 用户名称
  5740. type: string
  5741. type: object
  5742. models.Ermcp3RootUserAccount:
  5743. properties:
  5744. accountname:
  5745. description: 账户名称(机构名称)
  5746. type: string
  5747. accountstatus:
  5748. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  5749. type: integer
  5750. applysrc:
  5751. description: 申请来源 - 1:管理端 2:终端
  5752. type: integer
  5753. auditremark:
  5754. description: 审核备注
  5755. type: string
  5756. auditsrc:
  5757. description: 审核来源 - 1:管理端 2:终端
  5758. type: integer
  5759. audittime:
  5760. description: 审核时间
  5761. type: string
  5762. audituserid:
  5763. description: 审核人
  5764. type: integer
  5765. broker:
  5766. description: 所属经纪人ID
  5767. type: integer
  5768. canceltime:
  5769. description: 销户时间
  5770. type: string
  5771. canceluserid:
  5772. description: 销户人
  5773. type: integer
  5774. canrecommend:
  5775. description: 是否可推荐 - 0:不可 1;可
  5776. type: integer
  5777. createtime:
  5778. description: 创建时间
  5779. type: string
  5780. creatorid:
  5781. description: 创建人
  5782. type: integer
  5783. hasauth:
  5784. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  5785. type: integer
  5786. isanonymous:
  5787. description: 是否匿名下单 - 0:否 1:是
  5788. type: integer
  5789. maxinvestornum:
  5790. description: 最大用户数(经纪会员下投资者个数)
  5791. type: integer
  5792. memberuserid:
  5793. description: 所属会员ID
  5794. type: integer
  5795. modifierid:
  5796. description: 修改人
  5797. type: integer
  5798. modifyremark:
  5799. description: 变更备注
  5800. type: string
  5801. modifystatus:
  5802. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  5803. type: integer
  5804. modifytime:
  5805. description: 修改时间
  5806. type: string
  5807. parenttopuser:
  5808. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  5809. type: string
  5810. parentuserid:
  5811. description: 所属机构ID
  5812. type: integer
  5813. reckonaccountid:
  5814. description: 默认结算资金账号ID(机构分润使用) 作废
  5815. type: integer
  5816. refercount:
  5817. description: 推荐总人数
  5818. type: integer
  5819. refereeuserid:
  5820. description: 推荐人ID
  5821. type: integer
  5822. refernum:
  5823. description: 推荐码
  5824. type: string
  5825. rootuserid:
  5826. description: 根用户ID
  5827. type: integer
  5828. subaccountlevel:
  5829. description: 子账户层数
  5830. type: integer
  5831. subarealevelpath:
  5832. description: 子机构层级路径(逗号分隔,首尾加逗号)
  5833. type: string
  5834. userid:
  5835. description: 用户ID
  5836. type: integer
  5837. usertype:
  5838. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  5839. type: integer
  5840. type: object
  5841. models.Ermcp3SCMiddleGoods:
  5842. properties:
  5843. contractno:
  5844. description: 合同编号
  5845. type: string
  5846. contracttype:
  5847. description: 合同类型 1:采购 -1:销售
  5848. type: integer
  5849. customername:
  5850. description: 对手手名称
  5851. type: string
  5852. customeruserid:
  5853. description: 对手id
  5854. type: integer
  5855. middlegoodsid:
  5856. description: 套保品种ID
  5857. type: integer
  5858. middlegoodspricedqty3:
  5859. description: 应套保数量 = MiddleGoodsPricedQty2 * 套保比率
  5860. type: number
  5861. needhedgeratio:
  5862. description: 套保比例
  5863. type: number
  5864. pricedqty:
  5865. description: 已关联数量 | 已定价量
  5866. type: number
  5867. spotcontractid:
  5868. description: 合同编号
  5869. type: string
  5870. unitid:
  5871. description: 现货单位id
  5872. type: integer
  5873. userid:
  5874. description: 用户id
  5875. type: integer
  5876. vatrate:
  5877. description: 增值税率
  5878. type: number
  5879. wrstandardcode:
  5880. description: 现货商品代码
  5881. type: string
  5882. wrstandardid:
  5883. description: 现货商品id
  5884. type: integer
  5885. wrstandardname:
  5886. description: 现货商品名称
  5887. type: string
  5888. type: object
  5889. models.Ermcp3SCMiddleGoodsReport:
  5890. properties:
  5891. begindate:
  5892. description: 开始交易日
  5893. type: string
  5894. contractno:
  5895. description: 合同编号
  5896. type: string
  5897. contracttype:
  5898. description: 合同类型 1:采购 -1:销售
  5899. type: integer
  5900. convertratio:
  5901. description: 折算系数
  5902. type: number
  5903. cycletime:
  5904. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5905. type: string
  5906. cycletype:
  5907. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5908. type: integer
  5909. deliverygoodscode:
  5910. description: 品种代码
  5911. type: string
  5912. deliverygoodsid:
  5913. description: 现货品种ID
  5914. type: integer
  5915. deliverygoodsname:
  5916. description: 品种名称
  5917. type: string
  5918. diffprice:
  5919. description: 现期价格差 = 今日点价登记均价(基价) - 今日期货成交均价
  5920. type: number
  5921. diffqty:
  5922. description: 期现数量差 = 套保计划量 - 今日期货关联成交量
  5923. type: number
  5924. enddate:
  5925. description: 结束交易日
  5926. type: string
  5927. hedgeplanqty:
  5928. description: 套保计划量 = TodayPricedQty * 折算系数 * (1/(1+增值税率)) * 套保比例
  5929. type: number
  5930. mathname:
  5931. description: 交易对手方
  5932. type: string
  5933. middlegoodscode:
  5934. description: 套保品种代码
  5935. type: string
  5936. middlegoodsid:
  5937. description: 套保品种ID
  5938. type: integer
  5939. middlegoodsname:
  5940. description: 套保品种名称
  5941. type: string
  5942. middlegoodspricedqty:
  5943. description: 已定价量(套保品种 - 税前) = PricedQty * 折算系数
  5944. type: number
  5945. middlegoodspricedqty2:
  5946. description: 已定价量(套保品种- 税后) = MiddleGoodsPricedQty * (1/(1+增值税率))
  5947. type: number
  5948. middlegoodspricedqty3:
  5949. description: 已定价量(套保品种应套保量) = MiddleGoodsPricedQty2 * 套保比率
  5950. type: number
  5951. needhedgeratio:
  5952. description: 套保系数
  5953. type: number
  5954. pricedamount:
  5955. description: 已定价额(现货)
  5956. type: number
  5957. pricedamount2:
  5958. description: 已定价额(现货-基价额)
  5959. type: number
  5960. pricedqty:
  5961. description: 已定价量(现货)
  5962. type: number
  5963. reckondate:
  5964. description: 日照时期(yyyyMMdd)
  5965. type: string
  5966. relatedmiddlegoodsamount:
  5967. description: 已关联额(期货)
  5968. type: number
  5969. relatedmiddlegoodsqty:
  5970. description: 已关联量(套保品种)(期货)
  5971. type: number
  5972. spotcontractid:
  5973. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  5974. type: string
  5975. todayavgfutuprice:
  5976. description: 今日期货成交均价 = TodayRelatedMiddleGoodsAmount /TodayRelatedMiddleGoodsQty
  5977. type: number
  5978. todayavgprice:
  5979. description: 今日定价均价 = TodayPricedAmount / TodayPricedQty
  5980. type: number
  5981. todayavgprice2:
  5982. description: 今日点价登记均价(基价) = TodayPricedAmount2 / TodayPricedQty
  5983. type: number
  5984. todaypricedamount:
  5985. description: 今日定价额(现货)
  5986. type: number
  5987. todaypricedamount2:
  5988. description: 今日定价额(现货-基价额)
  5989. type: number
  5990. todaypricedqty:
  5991. description: 今日定价量(现货)
  5992. type: number
  5993. todayrelatedmiddlegoodsamount:
  5994. description: 今日关联额(期货)
  5995. type: number
  5996. todayrelatedmiddlegoodsqty:
  5997. description: 今日关联量(期货)
  5998. type: number
  5999. updatetime:
  6000. description: 更新时间
  6001. type: string
  6002. userid:
  6003. description: 合同所属用户id
  6004. type: integer
  6005. vatrate:
  6006. description: 增值税率
  6007. type: number
  6008. wrstandardcode:
  6009. description: 商品(品类) 代码
  6010. type: string
  6011. wrstandardid:
  6012. description: 现货商品ID
  6013. type: integer
  6014. wrstandardname:
  6015. description: 商品(品类) 名称
  6016. type: string
  6017. type: object
  6018. models.Ermcp3SellBuyContract:
  6019. properties:
  6020. accountid:
  6021. description: 期货账户id
  6022. type: string
  6023. accountname:
  6024. description: 账户名称
  6025. type: string
  6026. attachment:
  6027. description: 附件
  6028. type: string
  6029. audittime:
  6030. description: 审核时间
  6031. type: string
  6032. biztype:
  6033. description: 业务类型 1-套保 2-套利
  6034. type: integer
  6035. brandname:
  6036. description: 品牌名称
  6037. type: string
  6038. contracctstatus:
  6039. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  6040. type: integer
  6041. contractmargin:
  6042. description: 合同保证金
  6043. type: number
  6044. contractno:
  6045. description: 合同编号
  6046. type: string
  6047. contracttype:
  6048. description: 合同类型 1-采购, -1-销售
  6049. type: integer
  6050. convertfactor:
  6051. description: 标仓系数(品类)
  6052. type: number
  6053. createtime:
  6054. description: 创建时间
  6055. type: string
  6056. currencyid:
  6057. description: 币种id
  6058. type: integer
  6059. currencyname:
  6060. description: 币种名称
  6061. type: string
  6062. daikaiamount:
  6063. description: 应收(开)票额
  6064. type: number
  6065. deliveryenddate:
  6066. description: 交割结束日
  6067. type: string
  6068. deliverygoodscode:
  6069. description: 现货品种代码
  6070. type: string
  6071. deliverygoodsid:
  6072. description: 现货商品ID
  6073. type: integer
  6074. deliverygoodsname:
  6075. description: 现货品种名称
  6076. type: string
  6077. deliverystartdate:
  6078. description: 交割开始日
  6079. type: string
  6080. enddate:
  6081. description: 点价结束日
  6082. type: string
  6083. enumdicname:
  6084. description: 单位名称
  6085. type: string
  6086. goodscode:
  6087. description: 点价商品代码
  6088. type: string
  6089. goodsid:
  6090. description: 点价商品ID
  6091. type: integer
  6092. goodsname:
  6093. description: 点价商品名称
  6094. type: string
  6095. invoiceamount:
  6096. description: 已开票额
  6097. type: number
  6098. loanamount:
  6099. description: 贷款总额=已定价额+调整金额
  6100. type: number
  6101. margin:
  6102. description: 保证金
  6103. type: number
  6104. meruserid:
  6105. description: 跟单员id
  6106. type: integer
  6107. meruserlogincode:
  6108. description: 跟单员登录代码
  6109. type: string
  6110. merusername:
  6111. description: 跟单员名称
  6112. type: string
  6113. nickname:
  6114. description: 账户昵称
  6115. type: string
  6116. payamount:
  6117. description: 已收付额(收款或付款)
  6118. type: number
  6119. preinvoiceamount:
  6120. description: 预收(开)票额
  6121. type: number
  6122. prepayamount:
  6123. description: 预收付额
  6124. type: number
  6125. price:
  6126. description: 价格
  6127. type: number
  6128. pricedamount:
  6129. description: 已定价额
  6130. type: number
  6131. pricedavg:
  6132. description: 已点均价
  6133. type: number
  6134. pricedqty:
  6135. description: 已定价量
  6136. type: number
  6137. pricemove:
  6138. description: 升贴水
  6139. type: number
  6140. pricetype:
  6141. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  6142. type: integer
  6143. producttype:
  6144. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  6145. type: integer
  6146. qty:
  6147. description: 合同量
  6148. type: number
  6149. reckonadjustamount:
  6150. description: 调整金额
  6151. type: number
  6152. reckonedamount:
  6153. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  6154. type: number
  6155. reckonotheramount:
  6156. description: 其它费用
  6157. type: number
  6158. reckonrealqty:
  6159. description: 已确定量
  6160. type: number
  6161. remark:
  6162. description: 备注
  6163. type: string
  6164. saleuserid:
  6165. description: 业务员id
  6166. type: integer
  6167. saleuserlogincode:
  6168. description: 业务员登录代码
  6169. type: string
  6170. saleusername:
  6171. description: 业务员名称
  6172. type: string
  6173. spotcontractid:
  6174. description: 合同ID
  6175. type: string
  6176. spotgoodsbrandid:
  6177. description: 现货品牌ID(DGFactoryItem表的ID)
  6178. type: integer
  6179. spotgoodsdesc:
  6180. description: 商品型号(商品规格)
  6181. type: string
  6182. startdate:
  6183. description: 点价开始日
  6184. type: string
  6185. subjectid:
  6186. description: 交易主体ID
  6187. type: string
  6188. subjectname:
  6189. description: 交易主体名称
  6190. type: string
  6191. totalamount:
  6192. description: 合计总额
  6193. type: number
  6194. tradeuserid:
  6195. description: 交易员id
  6196. type: integer
  6197. tradeuserlogincode:
  6198. description: 交易员登录代码
  6199. type: string
  6200. tradeusername:
  6201. description: 交易员名称
  6202. type: string
  6203. unpayamount:
  6204. description: 应收付款额(应支付或应收款)
  6205. type: number
  6206. unpricedqty:
  6207. description: 未定价量
  6208. type: number
  6209. unsureqty:
  6210. description: 未确定量
  6211. type: number
  6212. userid:
  6213. description: 机构ID
  6214. type: integer
  6215. vatrate:
  6216. description: 增值税率
  6217. type: number
  6218. wrstandardcode:
  6219. description: 品类代码
  6220. type: string
  6221. wrstandardid:
  6222. description: 品类ID
  6223. type: integer
  6224. wrstandardname:
  6225. description: 品类名称
  6226. type: string
  6227. type: object
  6228. models.Ermcp3SpotGoodsPrice:
  6229. properties:
  6230. areauserid:
  6231. description: 所属机构id
  6232. type: integer
  6233. brandname:
  6234. description: 品牌名称
  6235. type: string
  6236. currencyid:
  6237. description: 报价货币ID
  6238. type: integer
  6239. currencyname:
  6240. description: 币种名称
  6241. type: string
  6242. deliverygoodscode:
  6243. description: 现货商品代码
  6244. type: string
  6245. deliverygoodsid:
  6246. description: 现货商品id
  6247. type: integer
  6248. deliverygoodsname:
  6249. description: 现货商品名称
  6250. type: string
  6251. enumdicname:
  6252. description: 现货商品单位名称
  6253. type: string
  6254. gbenumdicname:
  6255. description: 品类单位名称
  6256. type: string
  6257. gmunitid:
  6258. description: 品类单位id
  6259. type: integer
  6260. isvalid:
  6261. description: 是否有效 - 0:无效 1:有效
  6262. type: integer
  6263. operateid:
  6264. description: 最后操作人
  6265. type: integer
  6266. operatesrc:
  6267. description: 最后操作来源 - 1:管理端 2:终端
  6268. type: integer
  6269. operatetime:
  6270. description: 最后操作时间
  6271. type: string
  6272. operatorname:
  6273. description: 操作人名称
  6274. type: string
  6275. spotgoodsbrandid:
  6276. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6277. type: integer
  6278. spotgoodsprice:
  6279. description: 现货价格
  6280. type: number
  6281. tradedate:
  6282. description: 交易日(yyyyMMdd)
  6283. type: string
  6284. unitid:
  6285. description: 现货商品单位id
  6286. type: integer
  6287. wrstandardcode:
  6288. description: 品类代码
  6289. type: string
  6290. wrstandardid:
  6291. description: 现货品类ID(通用则为0)
  6292. type: integer
  6293. wrstandardname:
  6294. description: 品类名称
  6295. type: string
  6296. type: object
  6297. models.Ermcp3SpotGoodsPriceLog:
  6298. properties:
  6299. areauserid:
  6300. description: 所属机构id
  6301. type: integer
  6302. brandname:
  6303. description: 品牌名称
  6304. type: string
  6305. currencyid:
  6306. description: 报价货币ID
  6307. type: integer
  6308. deliverygoodscode:
  6309. description: 现货商品代码
  6310. type: string
  6311. deliverygoodsid:
  6312. description: 现货商品id
  6313. type: integer
  6314. deliverygoodsname:
  6315. description: 现货商品名称
  6316. type: string
  6317. enumdicname:
  6318. description: 现货商品单位名称
  6319. type: string
  6320. gbenumdicname:
  6321. description: 品类单位名称
  6322. type: string
  6323. gmunitid:
  6324. description: 品类单位id
  6325. type: integer
  6326. logid:
  6327. description: 日志id
  6328. type: integer
  6329. operateid:
  6330. description: 最后操作人
  6331. type: integer
  6332. operatesrc:
  6333. description: 最后操作来源 - 1:管理端 2:终端
  6334. type: integer
  6335. operatetime:
  6336. description: 最后操作时间
  6337. type: string
  6338. operatorname:
  6339. description: 操作人名称
  6340. type: string
  6341. spotgoodsbrandid:
  6342. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  6343. type: integer
  6344. spotgoodsprice:
  6345. description: 现货价格
  6346. type: number
  6347. tradedate:
  6348. description: 交易日(yyyyMMdd)
  6349. type: string
  6350. unitid:
  6351. description: 现货商品单位id
  6352. type: integer
  6353. wrstandardcode:
  6354. description: 品类代码
  6355. type: string
  6356. wrstandardid:
  6357. description: 现货品类ID(通用则为0)
  6358. type: integer
  6359. wrstandardname:
  6360. description: 品类名称
  6361. type: string
  6362. type: object
  6363. models.Ermcp3TaFutuReDataReport:
  6364. properties:
  6365. accountid:
  6366. description: 交易账户
  6367. type: integer
  6368. accountname:
  6369. description: 交易账号名称
  6370. type: string
  6371. agreeunit:
  6372. description: 商品合约单位
  6373. type: number
  6374. begindate:
  6375. description: 开始交易日
  6376. type: string
  6377. buyorsell:
  6378. description: 持仓方向
  6379. type: integer
  6380. charge:
  6381. description: 手续费
  6382. type: number
  6383. closeavgprice:
  6384. description: 平仓均价
  6385. type: number
  6386. closepl:
  6387. description: 平仓损益
  6388. type: number
  6389. currencyid:
  6390. description: 结算币种ID
  6391. type: integer
  6392. currencyname:
  6393. description: 币种名称
  6394. type: string
  6395. cycletime:
  6396. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  6397. type: string
  6398. cycletype:
  6399. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  6400. type: integer
  6401. enddate:
  6402. description: 结束交易日
  6403. type: string
  6404. enumdicname:
  6405. description: 单位名称
  6406. type: string
  6407. floatpl:
  6408. description: 浮动损益
  6409. type: number
  6410. goodscode:
  6411. description: 交易合约代码
  6412. type: string
  6413. goodsgroupid:
  6414. description: 交易品种
  6415. type: integer
  6416. goodsgroupname:
  6417. description: 交易品种名称
  6418. type: string
  6419. goodsgroupspotqty:
  6420. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  6421. type: number
  6422. goodsid:
  6423. description: 交易合约
  6424. type: integer
  6425. goodsname:
  6426. description: 交易合约名称
  6427. type: string
  6428. goodunitid:
  6429. description: 交易合约单位id
  6430. type: integer
  6431. holdamount:
  6432. description: 期末持仓额
  6433. type: number
  6434. holdqty:
  6435. description: 期末持仓量
  6436. type: number
  6437. lastholdamount:
  6438. description: 当前持仓额
  6439. type: number
  6440. lastprice:
  6441. description: 最新价
  6442. type: number
  6443. middlegoodsid:
  6444. description: 套保品种id
  6445. type: integer
  6446. middlegoodsname:
  6447. description: 套保商品名称
  6448. type: string
  6449. middlegoodsqty:
  6450. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  6451. type: number
  6452. middlgoodscode:
  6453. description: 套保商品代码
  6454. type: string
  6455. openamount:
  6456. description: 期末开仓额
  6457. type: number
  6458. openavgprice:
  6459. description: 开仓均价
  6460. type: number
  6461. oriholdamount:
  6462. description: 期初持仓额
  6463. type: number
  6464. oriholdqty:
  6465. description: 期初持仓量
  6466. type: number
  6467. oriopenamount:
  6468. description: 期初开仓额
  6469. type: number
  6470. outergroupcode:
  6471. description: 交易品种代码
  6472. type: string
  6473. qtydecimalplace:
  6474. description: 成交量小数位
  6475. type: integer
  6476. reckondate:
  6477. description: 日照时期(yyyyMMdd)
  6478. type: string
  6479. reckonholdamount:
  6480. description: 结算持仓额
  6481. type: number
  6482. reckonpl:
  6483. description: 结算损益
  6484. type: number
  6485. reckonpl2:
  6486. description: 结算逐笔盈亏
  6487. type: number
  6488. reckonprice:
  6489. description: 结算价
  6490. type: number
  6491. relateduserid:
  6492. description: 账户关联用户ID
  6493. type: integer
  6494. todaycloseamount:
  6495. description: 今平仓额
  6496. type: number
  6497. todaycloseqty:
  6498. description: 今平仓量
  6499. type: number
  6500. todaygoodsgroupspotqty:
  6501. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  6502. type: number
  6503. todaymiddlegoodsqty:
  6504. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  6505. type: number
  6506. todayopenamount:
  6507. description: 今开仓额
  6508. type: number
  6509. todayopenqty:
  6510. description: 今开仓量
  6511. type: number
  6512. userid:
  6513. description: 账户所属用户ID
  6514. type: integer
  6515. type: object
  6516. models.Ermcp3Wrstandard:
  6517. properties:
  6518. areauserid:
  6519. description: 所属机构
  6520. type: integer
  6521. cantrade:
  6522. description: 是否允许交易 - 0:不允许 1:允许 -1:未配置(数据库里没有记录)
  6523. type: integer
  6524. convertfactor:
  6525. description: 标仓系数
  6526. type: number
  6527. createtime:
  6528. description: 创建时间
  6529. type: string
  6530. creatorid:
  6531. description: 创建人
  6532. type: integer
  6533. deliverygoodsid:
  6534. description: 现货品种ID
  6535. type: integer
  6536. enumdicname:
  6537. description: 品类单位名称
  6538. type: string
  6539. isvalid:
  6540. description: 是否有效 0-无效(停用) 1-有效(正常)
  6541. type: integer
  6542. minivalue:
  6543. description: 最小变动值
  6544. type: integer
  6545. minivaluedp:
  6546. description: 最小变动值小数位
  6547. type: integer
  6548. realminivalue:
  6549. description: 实际最小变动值
  6550. type: integer
  6551. realminivaluedp:
  6552. description: 实际最小变动值小数位
  6553. type: integer
  6554. remark:
  6555. description: 备注
  6556. type: string
  6557. unitid:
  6558. description: 品类单位ID
  6559. type: integer
  6560. updatetime:
  6561. description: 更新时间
  6562. type: string
  6563. wrstandardcode:
  6564. description: 品类代码
  6565. type: string
  6566. wrstandardid:
  6567. description: 品类ID(SEQ_WRSTANDARD)
  6568. type: integer
  6569. wrstandardname:
  6570. description: 品类名称
  6571. type: string
  6572. type: object
  6573. models.ErmcpBizGroupEx:
  6574. properties:
  6575. acclist:
  6576. description: 账号列表
  6577. items:
  6578. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  6579. type: array
  6580. bizgroupid:
  6581. description: 业务分组id
  6582. type: integer
  6583. biztype:
  6584. description: 业务类型 1-套保 2-套利
  6585. type: integer
  6586. wrlist:
  6587. description: 现货商品表
  6588. items:
  6589. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  6590. type: array
  6591. type: object
  6592. models.ErmcpBizGroupSpotGoods:
  6593. properties:
  6594. areauserid:
  6595. description: 所属机构id
  6596. type: integer
  6597. bizgroupid:
  6598. description: 分组id
  6599. type: integer
  6600. biztype:
  6601. description: 业务类型 1-套保 2-套利
  6602. type: integer
  6603. deliverygoodscode:
  6604. description: 现货商品代码
  6605. type: string
  6606. deliverygoodsid:
  6607. description: 现货商品id
  6608. type: integer
  6609. deliverygoodsname:
  6610. description: 现货商品名称
  6611. type: string
  6612. unitid:
  6613. description: 现货商品单位id
  6614. type: integer
  6615. type: object
  6616. models.ErmcpBizGroupTaAccount:
  6617. properties:
  6618. accountid:
  6619. description: 账号id
  6620. type: integer
  6621. accountname:
  6622. description: 账号名称
  6623. type: string
  6624. areauserid:
  6625. description: 所属机构id
  6626. type: integer
  6627. bizgroupid:
  6628. description: 业务分组id
  6629. type: integer
  6630. ismain:
  6631. description: 是否主账号 1-是 0-否
  6632. type: integer
  6633. type: object
  6634. models.ErmcpDGFactoryItem:
  6635. properties:
  6636. areauserid:
  6637. description: 用户id
  6638. type: integer
  6639. deliverygoodsid:
  6640. description: 现货品种ID
  6641. type: integer
  6642. dgfactoryitemid:
  6643. description: 选择项ID(SEQ_DGFACTORYITEM)
  6644. type: integer
  6645. dgfactoryitemtypeid:
  6646. description: 要素项类型
  6647. type: integer
  6648. dgfactoryitemvalue:
  6649. description: 要素项值(类型为仓库时填写仓库名称)
  6650. type: string
  6651. isvalid:
  6652. description: 是否有效 - 0:无效 1:有效
  6653. type: integer
  6654. orderindex:
  6655. description: 顺序
  6656. type: integer
  6657. warehouseid:
  6658. description: 仓库ID(类型为仓库时填写)
  6659. type: integer
  6660. type: object
  6661. models.ErmcpDeliveryGoods:
  6662. properties:
  6663. agreeunit:
  6664. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  6665. type: integer
  6666. areauserid:
  6667. description: 所属机构
  6668. type: integer
  6669. auditflag:
  6670. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  6671. type: integer
  6672. categoryid:
  6673. description: 类别ID(SEQ_WRCATEGORY)
  6674. type: integer
  6675. deliverygoodscode:
  6676. description: 现货品种代码
  6677. type: string
  6678. deliverygoodsid:
  6679. description: 现货品种ID(SEQ_DELIVERYGOODS)
  6680. type: integer
  6681. deliverygoodsname:
  6682. description: 现货品种名称
  6683. type: string
  6684. deliverygoodstype:
  6685. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  6686. type: integer
  6687. dgstatus:
  6688. description: 品种状态 - 作废 - 0:未激活 1:正常
  6689. type: integer
  6690. enumdicname:
  6691. description: 现货品种单位名称
  6692. type: string
  6693. goodsunitid:
  6694. description: 现货品种单位ID
  6695. type: integer
  6696. isvalid:
  6697. description: 是否有效 - 0:无效 1:有效
  6698. type: integer
  6699. qtydecimalplace:
  6700. description: 成交量小数位
  6701. type: integer
  6702. remark:
  6703. description: 备注
  6704. type: string
  6705. standardqty:
  6706. description: 标准数量(库位数量) [标准品特有]
  6707. type: integer
  6708. standardqtyrange:
  6709. description: 标准数量偏差范围 [标准品特有]
  6710. type: integer
  6711. type: object
  6712. models.ErmcpFuturesCompany:
  6713. properties:
  6714. brokerid:
  6715. description: 经纪公司代码
  6716. type: string
  6717. channeladdress:
  6718. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  6719. type: string
  6720. channelid:
  6721. description: 对冲渠道ID
  6722. type: string
  6723. createtime:
  6724. description: 创建时间
  6725. type: string
  6726. creatorid:
  6727. description: 创建人
  6728. type: string
  6729. fcid:
  6730. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  6731. type: integer
  6732. fcname:
  6733. description: 期货公司名称
  6734. type: string
  6735. isvalid:
  6736. description: 是否有效 - 0:无效 1:有效
  6737. type: integer
  6738. mhpaddress:
  6739. description: MHP服务地址(IP:Port)
  6740. type: string
  6741. riskrulegroupid:
  6742. description: 风控规则组ID
  6743. type: string
  6744. tradefeetmpid:
  6745. description: 手续费模板ID[TradeConfigTmpType为2]
  6746. type: string
  6747. trademargintmpid:
  6748. description: 保证金模板ID [TradeConfigTmpType为1]
  6749. type: string
  6750. traderatetmpid:
  6751. description: 汇率模板ID[TradeConfigTmpType为3]
  6752. type: string
  6753. updatetime:
  6754. description: 更新时间
  6755. type: string
  6756. updatorid:
  6757. description: 更新人
  6758. type: string
  6759. type: object
  6760. models.ErmcpGGConvertCfg:
  6761. properties:
  6762. convertratio:
  6763. description: 折算系数
  6764. type: number
  6765. destgoodsgroupid:
  6766. description: 目标品种ID
  6767. type: integer
  6768. dstcode:
  6769. description: 目录品种代码
  6770. type: string
  6771. dstexchangecode:
  6772. description: 目标期货交易所
  6773. type: string
  6774. dstname:
  6775. description: 目标品种名称
  6776. type: string
  6777. dstunitid:
  6778. description: 目标品种单位ID
  6779. type: integer
  6780. dstunitidname:
  6781. description: 目标品种单位名称
  6782. type: string
  6783. modifytime:
  6784. description: 修改时间
  6785. type: string
  6786. srccode:
  6787. description: 源品种代码
  6788. type: string
  6789. srcexchangecode:
  6790. description: 源期货交易所
  6791. type: string
  6792. srcgoodsgroupid:
  6793. description: 源品种ID
  6794. type: integer
  6795. srcname:
  6796. description: 源品种名称
  6797. type: string
  6798. srcunitid:
  6799. description: 源品种单位ID
  6800. type: integer
  6801. srcunitidname:
  6802. description: 源品种单位名称
  6803. type: string
  6804. type: object
  6805. models.ErmcpGoods:
  6806. properties:
  6807. agreeunit:
  6808. description: 合约单位
  6809. type: number
  6810. areauserid:
  6811. description: 所属机构
  6812. type: integer
  6813. auditaccountid:
  6814. description: 审核操作员账号
  6815. type: integer
  6816. audittime:
  6817. description: 审核时间
  6818. type: string
  6819. cancelaccountid:
  6820. description: 注销操作员账号
  6821. type: integer
  6822. canceltime:
  6823. description: 注销时间
  6824. type: string
  6825. closepricemode:
  6826. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  6827. type: integer
  6828. closepriceparam:
  6829. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  6830. type: number
  6831. createtime:
  6832. description: 创建时间
  6833. type: string
  6834. creatorid:
  6835. description: 创建人
  6836. type: integer
  6837. currencyid:
  6838. description: 报价货币ID
  6839. type: integer
  6840. cutmode:
  6841. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  6842. type: integer
  6843. decimalplace:
  6844. description: 报价小数位
  6845. type: integer
  6846. delistingdate:
  6847. description: 商品退市时间(状态:退市) -- 已作废
  6848. type: string
  6849. delistingmode:
  6850. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  6851. type: integer
  6852. deliveryflag:
  6853. description: 交割标志 - 0:不可交割 1:可交割
  6854. type: integer
  6855. enumdicname:
  6856. description: 单位名称
  6857. type: string
  6858. forceclosemode:
  6859. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  6860. type: integer
  6861. forceclosevalue:
  6862. description: 定期强平参数 [收益权]
  6863. type: integer
  6864. goodscode:
  6865. description: 商品代码(内部)
  6866. type: string
  6867. goodscurrencyid:
  6868. description: 合约货币ID
  6869. type: integer
  6870. goodsgroupid:
  6871. description: 所属商品组ID
  6872. type: integer
  6873. goodsid:
  6874. description: 商品ID(自增ID SEQ_GOODS)
  6875. type: integer
  6876. goodsname:
  6877. description: 商品名称
  6878. type: string
  6879. goodsquotetype:
  6880. description: '合约报价类型: 1-直接报价 2-间接报价'
  6881. type: integer
  6882. goodsstatus:
  6883. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  6884. type: integer
  6885. goodstradetype:
  6886. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  6887. type: integer
  6888. goodunitid:
  6889. description: 报价单位ID
  6890. type: integer
  6891. hasquoter:
  6892. description: 是否有报价商 - 0:无报价商 1:有报价商
  6893. type: integer
  6894. hqprotecttime:
  6895. description: 行情保护时间(秒)
  6896. type: integer
  6897. innerdealmode:
  6898. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  6899. type: integer
  6900. isbuylimited:
  6901. description: 是否限制建仓量 - 0:不限制 1:限制
  6902. type: integer
  6903. isvisible:
  6904. description: 游客是否可见 - 0:不可见 1:可见
  6905. type: integer
  6906. lasttradedate:
  6907. description: 最后交易日期(状态:待退市)
  6908. type: string
  6909. listingdate:
  6910. description: 交易开始日期
  6911. type: string
  6912. marketid:
  6913. description: 所属市场ID
  6914. type: integer
  6915. modifierid:
  6916. description: 修改人
  6917. type: integer
  6918. modifystatus:
  6919. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  6920. type: integer
  6921. modifytime:
  6922. description: 修改时间
  6923. type: string
  6924. outerdealmode:
  6925. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6926. type: integer
  6927. outgoodscode:
  6928. description: 商品代码(外部)
  6929. type: string
  6930. pictureurl:
  6931. description: 商品图片
  6932. type: string
  6933. qtydecimalplace:
  6934. description: 成交量小数位
  6935. type: integer
  6936. quotegear:
  6937. description: 行情档位(1-10)
  6938. type: integer
  6939. quoteminunit:
  6940. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6941. type: integer
  6942. quoteshowtype:
  6943. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  6944. type: integer
  6945. quoteshowtypeinterval:
  6946. description: 行情报价间隔时间(秒)(成交价时为0)
  6947. type: integer
  6948. relatedgoodsid:
  6949. description: 关联参考商品ID
  6950. type: integer
  6951. remark:
  6952. description: 备注
  6953. type: string
  6954. trademode:
  6955. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  6956. type: integer
  6957. required:
  6958. - goodscode
  6959. - goodsid
  6960. - goodsname
  6961. - marketid
  6962. type: object
  6963. models.ErmcpGoodsBrand:
  6964. properties:
  6965. areauserid:
  6966. description: 所属机构
  6967. type: integer
  6968. brandid:
  6969. description: BrandID(SEQ_SPOTGOODSBRAND)
  6970. type: integer
  6971. brandname:
  6972. description: 品牌名称
  6973. type: string
  6974. createtime:
  6975. description: 创建时间
  6976. type: string
  6977. creatorid:
  6978. description: 创建人
  6979. type: integer
  6980. creatorsrc:
  6981. description: 创建人来源 - 1:管理端 2:终端
  6982. type: integer
  6983. deliverygoodsid:
  6984. description: 现货品种ID
  6985. type: integer
  6986. isvalid:
  6987. description: 是否有效 - 0:无效 1:有效
  6988. type: integer
  6989. updatetime:
  6990. description: 更新时间
  6991. type: string
  6992. updatorid:
  6993. description: 更新人
  6994. type: integer
  6995. updatorsrc:
  6996. description: 更新人来源 - 1:管理端 2:终端
  6997. type: integer
  6998. wrstandardid:
  6999. description: 现货商品ID
  7000. type: integer
  7001. type: object
  7002. models.ErmcpGoodsModel:
  7003. properties:
  7004. areauserid:
  7005. description: 所属机构
  7006. type: integer
  7007. convertfactor:
  7008. description: 标仓系数
  7009. type: number
  7010. createtime:
  7011. description: 创建时间
  7012. type: string
  7013. creatorid:
  7014. description: 创建人
  7015. type: integer
  7016. creatorsrc:
  7017. description: 创建人来源 - 1:管理端 2:终端
  7018. type: integer
  7019. deliverygoodsid:
  7020. description: 现货品种ID
  7021. type: integer
  7022. isvalid:
  7023. description: 是否有效 - 0:无效 1:有效
  7024. type: integer
  7025. modelid:
  7026. description: ModelID(SEQ_SPOTGOODSMODEL)
  7027. type: integer
  7028. modelname:
  7029. description: 型号名称
  7030. type: string
  7031. updatetime:
  7032. description: 更新时间
  7033. type: string
  7034. updatorid:
  7035. description: 更新人
  7036. type: integer
  7037. updatorsrc:
  7038. description: 更新人来源 - 1:管理端 2:终端
  7039. type: integer
  7040. wrstandardid:
  7041. description: 现货商品ID
  7042. type: integer
  7043. type: object
  7044. models.ErmcpHisExposure:
  7045. properties:
  7046. needhedgeexposoure:
  7047. description: 应套保敞口
  7048. type: number
  7049. reckondate:
  7050. description: 日照时期(yyyyMMdd)
  7051. type: string
  7052. totalexposure:
  7053. description: 总敞口
  7054. type: number
  7055. type: object
  7056. models.ErmcpLoginTaAccount:
  7057. properties:
  7058. accountid:
  7059. description: 账号id
  7060. type: integer
  7061. accountname:
  7062. description: 账号名称
  7063. type: string
  7064. type: object
  7065. models.ErmcpLoginUser:
  7066. properties:
  7067. acclist:
  7068. description: 关联资金账号
  7069. items:
  7070. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  7071. type: array
  7072. accountname:
  7073. description: 用户名称
  7074. type: string
  7075. clientroleid:
  7076. description: 角色id(usertype=2)
  7077. type: integer
  7078. createtime:
  7079. description: 创建时间
  7080. type: string
  7081. logincode:
  7082. description: 登录代码
  7083. type: string
  7084. loginid:
  7085. description: 登录id(LOGINID)
  7086. type: integer
  7087. loginname:
  7088. description: 登录名称(loginaccount表中的accountname字段)
  7089. type: string
  7090. loginstatus:
  7091. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  7092. type: integer
  7093. memberuserid:
  7094. description: 所属会员id
  7095. type: integer
  7096. mobile:
  7097. description: 手机号
  7098. type: string
  7099. modifytime:
  7100. description: 修改时间
  7101. type: string
  7102. password:
  7103. description: 密码(不可解密)
  7104. type: string
  7105. rolename:
  7106. description: 角色名称
  7107. type: string
  7108. rolestatus:
  7109. description: 角色状态 1-启用 2-停用
  7110. type: integer
  7111. roletype:
  7112. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  7113. type: string
  7114. userid:
  7115. description: 用户id
  7116. type: integer
  7117. usertype:
  7118. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  7119. type: integer
  7120. type: object
  7121. models.ErmcpLoginUserEx:
  7122. properties:
  7123. accountstatus:
  7124. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  7125. type: integer
  7126. mobile:
  7127. description: 手机号
  7128. type: string
  7129. querytype:
  7130. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  7131. type: integer
  7132. roleid:
  7133. description: 角色id(交易账户->用户id)
  7134. type: integer
  7135. rolename:
  7136. description: 角色名称(交易账户->用户名称)
  7137. type: string
  7138. userlist:
  7139. description: 用户列表
  7140. items:
  7141. $ref: '#/definitions/models.ErmcpLoginUser'
  7142. type: array
  7143. usertype:
  7144. description: 用户类型 2-机构 7-企业成员(云平台)
  7145. type: integer
  7146. type: object
  7147. models.ErmcpMiddleGoodsModel:
  7148. properties:
  7149. areauserid:
  7150. description: 机构用户ID
  7151. type: integer
  7152. createtime:
  7153. description: 修改时间
  7154. type: string
  7155. enumdicname:
  7156. description: 单位名称
  7157. type: string
  7158. evaluateratio:
  7159. description: 估价系数
  7160. type: number
  7161. goodsgroupid:
  7162. description: 关联期货品种ID
  7163. type: integer
  7164. goodsunitid:
  7165. description: 单位ID
  7166. type: integer
  7167. isvalid:
  7168. description: 状态 0-无效(停用) 1-有效(正常)
  7169. type: integer
  7170. middlegoodscode:
  7171. description: 套保品种代码
  7172. type: string
  7173. middlegoodsid:
  7174. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  7175. type: integer
  7176. middlegoodsname:
  7177. description: 套保品种名称
  7178. type: string
  7179. modifytime:
  7180. description: 修改时间
  7181. type: string
  7182. needarbitrageratio:
  7183. description: 套利比例
  7184. type: number
  7185. needhedgeratio:
  7186. description: 套保比率
  7187. type: number
  7188. qtydecimalplace:
  7189. description: 数量小数位
  7190. type: integer
  7191. relatedgoodsid:
  7192. description: 关联交易商品ID
  7193. type: integer
  7194. relatedgoodstype:
  7195. description: 关联商品类型 - 1:期货合约 2:现货品种
  7196. type: integer
  7197. remark:
  7198. description: 备注
  7199. type: string
  7200. type: object
  7201. models.ErmcpMiddlegoodsRelateGoods:
  7202. properties:
  7203. agreeunit:
  7204. description: 合约乘数
  7205. type: number
  7206. convertratio:
  7207. description: 折算系数
  7208. type: number
  7209. enumdicname:
  7210. description: 单位名称(交易商品)
  7211. type: string
  7212. goodscode:
  7213. description: 交易商品代码
  7214. type: string
  7215. goodsgroupid:
  7216. description: 交易品种id
  7217. type: integer
  7218. goodsid:
  7219. description: 商品Id
  7220. type: integer
  7221. goodsname:
  7222. description: 交易商品名称
  7223. type: string
  7224. goodunitid:
  7225. description: 交易商品单位id
  7226. type: integer
  7227. middlegoodsid:
  7228. description: 套保商品id
  7229. type: integer
  7230. middlegoodsname:
  7231. description: 套保商品名称
  7232. type: string
  7233. middlegoodsswcode:
  7234. description: 套保商品代码
  7235. type: string
  7236. needarbitrageratio:
  7237. description: 应套利比例
  7238. type: number
  7239. needhedgeratio:
  7240. description: 应套保比例
  7241. type: number
  7242. type: object
  7243. models.ErmcpRole:
  7244. properties:
  7245. areauserid:
  7246. description: 所属机构
  7247. type: integer
  7248. autoid:
  7249. description: 角色ID(自增ID)
  7250. type: integer
  7251. modifierid:
  7252. description: 修改人(创建人)
  7253. type: integer
  7254. modifiername:
  7255. description: 修改人名称
  7256. type: string
  7257. modifytime:
  7258. description: 修改时间(创建时间)
  7259. type: string
  7260. rolename:
  7261. description: 角色名称
  7262. type: string
  7263. rolestatus:
  7264. description: 角色状态 - 1:启用 2:停用
  7265. type: integer
  7266. roletype:
  7267. description: 角色类型 - 1- 管理端 2- 交易端
  7268. type: integer
  7269. type: object
  7270. models.ErmcpRoleMenu:
  7271. properties:
  7272. iconame:
  7273. description: 菜单图标
  7274. type: string
  7275. ishadrole:
  7276. description: 是否有权限
  7277. type: boolean
  7278. menutype:
  7279. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  7280. type: integer
  7281. parentcode:
  7282. description: 上级资源代码
  7283. type: string
  7284. remark:
  7285. description: 菜单备注
  7286. type: string
  7287. resourcecode:
  7288. description: 菜单代码
  7289. type: string
  7290. resourcelevel:
  7291. description: 级别
  7292. type: integer
  7293. resourcename:
  7294. description: 菜单名称
  7295. type: string
  7296. roleid:
  7297. description: 角色id
  7298. type: integer
  7299. sort:
  7300. description: 排序
  7301. type: integer
  7302. url:
  7303. description: URL
  7304. type: string
  7305. userid:
  7306. description: 用户id
  7307. type: integer
  7308. type: object
  7309. models.ErmcpRoleMenuEx:
  7310. properties:
  7311. menu:
  7312. $ref: '#/definitions/models.ErmcpRoleMenu'
  7313. description: 父级菜单
  7314. subMenu:
  7315. description: 子级菜单
  7316. items:
  7317. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  7318. type: array
  7319. type: object
  7320. models.ErmcpTaAccount:
  7321. properties:
  7322. accountid:
  7323. description: 账户id
  7324. type: integer
  7325. accountname:
  7326. description: 账户名称
  7327. type: string
  7328. currencyid:
  7329. description: 币种id
  7330. type: integer
  7331. hedgeaccountcode:
  7332. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7333. type: string
  7334. ismain:
  7335. description: 是否主账户 0-否 1-是
  7336. type: integer
  7337. parentaccountid:
  7338. description: 父账户id
  7339. type: integer
  7340. relateduserid:
  7341. description: 关联userid
  7342. type: integer
  7343. tradefeetmpid:
  7344. description: 手续费模板id
  7345. type: integer
  7346. tradefeetmpname:
  7347. description: 手续费模板名称
  7348. type: string
  7349. trademargintmpid:
  7350. description: 保证金模板id
  7351. type: integer
  7352. trademargintmpname:
  7353. description: 保证金模板名称
  7354. type: string
  7355. traderatetmpid:
  7356. description: 汇率模板id
  7357. type: integer
  7358. traderatetmpname:
  7359. description: 汇率模板名称
  7360. type: string
  7361. tradestatus:
  7362. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7363. type: integer
  7364. userid:
  7365. description: 用户id
  7366. type: integer
  7367. type: object
  7368. models.ErmcpTaAccountEx:
  7369. properties:
  7370. mainAcc:
  7371. $ref: '#/definitions/models.ErmcpTaAccountM'
  7372. description: 主账号
  7373. subacclist:
  7374. description: 子账号列表
  7375. items:
  7376. $ref: '#/definitions/models.ErmcpTaAccount'
  7377. type: array
  7378. type: object
  7379. models.ErmcpTaAccountInfo:
  7380. properties:
  7381. accountid:
  7382. description: 资金账户ID
  7383. type: integer
  7384. accountname:
  7385. description: 账户名称
  7386. type: string
  7387. balance:
  7388. description: 期初余额
  7389. type: number
  7390. capitalbalance:
  7391. description: 本金余额[外部子账户实际出入金余额]
  7392. type: number
  7393. closepl:
  7394. description: 今日平仓盈亏
  7395. type: number
  7396. creditdecrease:
  7397. description: 今日授信减少
  7398. type: number
  7399. creditincrease:
  7400. description: 今日授信增加
  7401. type: number
  7402. curdebt:
  7403. description: 期末欠款
  7404. type: number
  7405. currencyid:
  7406. description: 货币ID
  7407. type: integer
  7408. currentbalance:
  7409. description: 期末余额
  7410. type: number
  7411. freezecharge:
  7412. description: 手续费冻结
  7413. type: number
  7414. freezemargin:
  7415. description: 冻结保证金
  7416. type: number
  7417. fromaccountid:
  7418. description: 所属上级账户
  7419. type: integer
  7420. inamount:
  7421. description: 今日入金金额(包括三方入金)
  7422. type: number
  7423. ismain:
  7424. description: 是否母账号 0:不是母账户 1:是母账户
  7425. type: integer
  7426. mortgagecredit:
  7427. description: 授信金额
  7428. type: number
  7429. oridebt:
  7430. description: 期初欠款
  7431. type: number
  7432. orifreezecharge:
  7433. description: 期初手续费冻结
  7434. type: number
  7435. orifreezemargin:
  7436. description: 期初冻结保证金
  7437. type: number
  7438. orimortgagecredit:
  7439. description: 期初授信金额
  7440. type: number
  7441. oriothercredit:
  7442. description: 期初其它授信金额
  7443. type: number
  7444. oriotherfreezemargin:
  7445. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  7446. type: number
  7447. orioutamountfreeze:
  7448. description: 期初出金冻结
  7449. type: number
  7450. oriusedmargin:
  7451. description: 期初占用保证金
  7452. type: number
  7453. othercredit:
  7454. description: 其它授信金额
  7455. type: number
  7456. othercreditdecrease:
  7457. description: 今日其它授信减少
  7458. type: number
  7459. othercreditincrease:
  7460. description: 今日其它授信增加
  7461. type: number
  7462. otherfreezemargin:
  7463. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  7464. type: number
  7465. outamount:
  7466. description: 今日出金金额(包括三方出金)
  7467. type: number
  7468. outamountfreeze:
  7469. description: 出金冻结
  7470. type: number
  7471. outthreshold:
  7472. description: 出金阈值
  7473. type: number
  7474. parentaccountid:
  7475. description: 所属根账号
  7476. type: integer
  7477. paycharge:
  7478. description: 今日手续费支出
  7479. type: number
  7480. relateduserid:
  7481. description: 关联用户
  7482. type: integer
  7483. signstatus:
  7484. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  7485. type: integer
  7486. sublevelpath:
  7487. description: 账号层级路径(逗号分隔,首尾加逗号)
  7488. type: string
  7489. taaccounttype:
  7490. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  7491. type: integer
  7492. thirdinamount:
  7493. description: 今日三方入金
  7494. type: number
  7495. thirdoutamount:
  7496. description: 今日三方出金
  7497. type: number
  7498. tradestatus:
  7499. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7500. type: integer
  7501. transferamount:
  7502. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  7503. type: number
  7504. usedmargin:
  7505. description: 占用保证金
  7506. type: number
  7507. userid:
  7508. description: 用户ID
  7509. type: integer
  7510. type: object
  7511. models.ErmcpTaAccountM:
  7512. properties:
  7513. accountid:
  7514. description: 账户id
  7515. type: integer
  7516. accountname:
  7517. description: 账户名称
  7518. type: string
  7519. currencyid:
  7520. description: 币种id
  7521. type: integer
  7522. fcid:
  7523. description: 期货公司id
  7524. type: integer
  7525. fcname:
  7526. description: 期货公司代码
  7527. type: string
  7528. hedgeaccountcode:
  7529. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7530. type: string
  7531. ismain:
  7532. description: 是否主账户 0-否 1-是
  7533. type: integer
  7534. parentaccountid:
  7535. description: 父账户id
  7536. type: integer
  7537. relateduserid:
  7538. description: 关联userid
  7539. type: integer
  7540. tradefeetmpid:
  7541. description: 手续费模板id
  7542. type: integer
  7543. tradefeetmpname:
  7544. description: 手续费模板名称
  7545. type: string
  7546. trademargintmpid:
  7547. description: 保证金模板id
  7548. type: integer
  7549. trademargintmpname:
  7550. description: 保证金模板名称
  7551. type: string
  7552. traderatetmpid:
  7553. description: 汇率模板id
  7554. type: integer
  7555. traderatetmpname:
  7556. description: 汇率模板名称
  7557. type: string
  7558. tradestatus:
  7559. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7560. type: integer
  7561. userid:
  7562. description: 用户id
  7563. type: integer
  7564. type: object
  7565. models.ErmcpTradeConfigTMP:
  7566. properties:
  7567. areauserid:
  7568. description: 所属机构
  7569. type: integer
  7570. basiccurrencyid:
  7571. description: 基本币种ID[汇率] - 目标币种
  7572. type: integer
  7573. mainaccountid:
  7574. description: 主账户ID
  7575. type: integer
  7576. modifierid:
  7577. description: 修改人
  7578. type: integer
  7579. remark:
  7580. description: 备注
  7581. type: string
  7582. tradeconfigtmpid:
  7583. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  7584. type: integer
  7585. tradeconfigtmpname:
  7586. description: 交易配置模板名称
  7587. type: string
  7588. tradeconfigtmptype:
  7589. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  7590. type: integer
  7591. updatetime:
  7592. description: 更新时间
  7593. type: string
  7594. type: object
  7595. models.Externalexchange:
  7596. properties:
  7597. autoid:
  7598. description: AutoID - SEQ_EXTERNALEXCHANGE
  7599. type: integer
  7600. exchangefullname:
  7601. description: 外部交易所全称
  7602. type: string
  7603. exexchangecode:
  7604. description: 外部交易所代码
  7605. type: string
  7606. exexchangename:
  7607. description: 外部交易所名称(简称)
  7608. type: string
  7609. ismarketprice:
  7610. description: 是否支持市价 - 0:不支持 1:支持
  7611. type: integer
  7612. quotegear:
  7613. description: 行情档位(1-10)
  7614. type: integer
  7615. showbrokerflag:
  7616. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  7617. type: integer
  7618. updatetime:
  7619. description: 更新时间
  7620. type: string
  7621. required:
  7622. - autoid
  7623. type: object
  7624. models.Funcmenulist:
  7625. properties:
  7626. iconame:
  7627. description: 菜单图标
  7628. type: string
  7629. menutype:
  7630. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  7631. type: integer
  7632. parentcode:
  7633. description: 上级资源代码
  7634. type: string
  7635. remark:
  7636. description: 备注
  7637. type: string
  7638. resourcecode:
  7639. description: 资源代码
  7640. type: string
  7641. resourcelevel:
  7642. description: 级别 1-一级 2-二级 3-三级 4-四级
  7643. type: integer
  7644. resourcename:
  7645. description: 资源名
  7646. type: string
  7647. sort:
  7648. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  7649. type: integer
  7650. url:
  7651. description: URL
  7652. type: string
  7653. required:
  7654. - resourcecode
  7655. type: object
  7656. models.Goods:
  7657. properties:
  7658. agreeunit:
  7659. description: 合约单位
  7660. type: number
  7661. areauserid:
  7662. description: 所属机构
  7663. type: integer
  7664. auditaccountid:
  7665. description: 审核操作员账号
  7666. type: integer
  7667. audittime:
  7668. description: 审核时间
  7669. type: string
  7670. cancelaccountid:
  7671. description: 注销操作员账号
  7672. type: integer
  7673. canceltime:
  7674. description: 注销时间
  7675. type: string
  7676. closepricemode:
  7677. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7678. type: integer
  7679. closepriceparam:
  7680. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7681. type: number
  7682. createtime:
  7683. description: 创建时间
  7684. type: string
  7685. creatorid:
  7686. description: 创建人
  7687. type: integer
  7688. currencyid:
  7689. description: 报价货币ID
  7690. type: integer
  7691. cutmode:
  7692. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7693. type: integer
  7694. decimalplace:
  7695. description: 报价小数位
  7696. type: integer
  7697. delistingdate:
  7698. description: 商品退市时间(状态:退市) -- 已作废
  7699. type: string
  7700. delistingmode:
  7701. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7702. type: integer
  7703. deliveryflag:
  7704. description: 交割标志 - 0:不可交割 1:可交割
  7705. type: integer
  7706. forceclosemode:
  7707. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7708. type: integer
  7709. forceclosevalue:
  7710. description: 定期强平参数 [收益权]
  7711. type: integer
  7712. goodscode:
  7713. description: 商品代码(内部)
  7714. type: string
  7715. goodscurrencyid:
  7716. description: 合约货币ID
  7717. type: integer
  7718. goodsgroupid:
  7719. description: 所属商品组ID
  7720. type: integer
  7721. goodsid:
  7722. description: 商品ID(自增ID SEQ_GOODS)
  7723. type: integer
  7724. goodsname:
  7725. description: 商品名称
  7726. type: string
  7727. goodsquotetype:
  7728. description: '合约报价类型: 1-直接报价 2-间接报价'
  7729. type: integer
  7730. goodsstatus:
  7731. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7732. type: integer
  7733. goodstradetype:
  7734. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7735. type: integer
  7736. goodunitid:
  7737. description: 报价单位ID
  7738. type: integer
  7739. hasquoter:
  7740. description: 是否有报价商 - 0:无报价商 1:有报价商
  7741. type: integer
  7742. hqprotecttime:
  7743. description: 行情保护时间(秒)
  7744. type: integer
  7745. innerdealmode:
  7746. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7747. type: integer
  7748. isbuylimited:
  7749. description: 是否限制建仓量 - 0:不限制 1:限制
  7750. type: integer
  7751. isvisible:
  7752. description: 游客是否可见 - 0:不可见 1:可见
  7753. type: integer
  7754. lasttradedate:
  7755. description: 最后交易日期(状态:待退市)
  7756. type: string
  7757. listingdate:
  7758. description: 交易开始日期
  7759. type: string
  7760. marketid:
  7761. description: 所属市场ID
  7762. type: integer
  7763. modifierid:
  7764. description: 修改人
  7765. type: integer
  7766. modifystatus:
  7767. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7768. type: integer
  7769. modifytime:
  7770. description: 修改时间
  7771. type: string
  7772. outerdealmode:
  7773. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7774. type: integer
  7775. outgoodscode:
  7776. description: 商品代码(外部)
  7777. type: string
  7778. pictureurl:
  7779. description: 商品图片
  7780. type: string
  7781. qtydecimalplace:
  7782. description: 成交量小数位
  7783. type: integer
  7784. quotegear:
  7785. description: 行情档位(1-10)
  7786. type: integer
  7787. quoteminunit:
  7788. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7789. type: integer
  7790. quoteshowtype:
  7791. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7792. type: integer
  7793. quoteshowtypeinterval:
  7794. description: 行情报价间隔时间(秒)(成交价时为0)
  7795. type: integer
  7796. remark:
  7797. description: 备注
  7798. type: string
  7799. required:
  7800. - goodscode
  7801. - goodsid
  7802. - goodsname
  7803. - marketid
  7804. type: object
  7805. models.GoodsIDAndName:
  7806. properties:
  7807. goodscode:
  7808. description: 商品代码(内部)
  7809. type: string
  7810. goodsid:
  7811. description: 商品ID(自增ID SEQ_GOODS)
  7812. type: integer
  7813. goodsname:
  7814. description: 商品名称
  7815. type: string
  7816. marketid:
  7817. description: 所属市场ID
  7818. type: integer
  7819. required:
  7820. - goodscode
  7821. - goodsid
  7822. - goodsname
  7823. - marketid
  7824. type: object
  7825. models.Goodsgroup:
  7826. properties:
  7827. agreeunit:
  7828. description: 合约单位
  7829. type: number
  7830. canshort:
  7831. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  7832. type: integer
  7833. closepricemode:
  7834. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7835. type: integer
  7836. closepriceparam:
  7837. description: 强平最新价浮动比例 - 方式为2时使用
  7838. type: number
  7839. createtime:
  7840. description: 创建时间
  7841. type: string
  7842. creatorid:
  7843. description: 创建人
  7844. type: integer
  7845. currencyid:
  7846. description: 报价货币ID
  7847. type: integer
  7848. decimalplace:
  7849. description: 报价小数位
  7850. type: integer
  7851. exercisetype:
  7852. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  7853. type: integer
  7854. exexchangeid:
  7855. description: 外部交易所ID[通道交易]
  7856. type: integer
  7857. goodsgroupid:
  7858. description: 商品组ID(自增ID)
  7859. type: integer
  7860. goodsgroupname:
  7861. description: 商品组名称
  7862. type: string
  7863. goodsgroupstatus:
  7864. description: 商品组状态 - 1:正常 2:注销
  7865. type: integer
  7866. goodunitid:
  7867. description: 报价单位ID
  7868. type: integer
  7869. innerdealmode:
  7870. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7871. type: integer
  7872. isbuylimited:
  7873. description: 是否限制建仓量 - 0:不限制 1:限制
  7874. type: integer
  7875. marketid:
  7876. description: 所属市场ID
  7877. type: integer
  7878. modifierid:
  7879. description: 修改人
  7880. type: integer
  7881. modifytime:
  7882. description: 修改时间
  7883. type: string
  7884. outerdealmode:
  7885. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7886. type: integer
  7887. outergroupcode:
  7888. description: 外部商品组代码[通道交易]
  7889. type: string
  7890. premiumdecimalplace:
  7891. description: 权利金小数位[场外期权]
  7892. type: integer
  7893. premiumspreadalgorithm:
  7894. description: 权利金点差方式[场外期权] 1:比率 2:固定
  7895. type: integer
  7896. premiumspreadvalue:
  7897. description: 权利金点差值[场外期权]
  7898. type: number
  7899. qtydecimalplace:
  7900. description: 成交量小数位
  7901. type: integer
  7902. quotegear:
  7903. description: 行情档位(1-10)
  7904. type: integer
  7905. quoteminunit:
  7906. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7907. type: integer
  7908. quoterid:
  7909. description: 报价商ID[场外期权]
  7910. type: integer
  7911. quotesourcegroupid:
  7912. description: 所属行情源分组ID[参考行情市场用\通道交易]
  7913. type: integer
  7914. syncgoodsqty:
  7915. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  7916. type: integer
  7917. required:
  7918. - goodsgroupid
  7919. - goodsgroupname
  7920. - goodsgroupstatus
  7921. - marketid
  7922. type: object
  7923. models.Goodssortbypreposition:
  7924. properties:
  7925. goodscode:
  7926. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  7927. type: string
  7928. goodsgroupcode:
  7929. description: 品种代码
  7930. type: string
  7931. prepositionqty:
  7932. description: 昨持仓量
  7933. type: integer
  7934. sortindex:
  7935. description: 排序
  7936. type: integer
  7937. tradedate:
  7938. description: 交易日
  7939. type: string
  7940. updatetime:
  7941. description: 更新时间
  7942. type: string
  7943. required:
  7944. - goodscode
  7945. - tradedate
  7946. type: object
  7947. models.Hedgeinnerholderdetail:
  7948. properties:
  7949. accountid:
  7950. description: 账号ID
  7951. type: integer
  7952. buyorsell:
  7953. description: 方向 - 0:买 1:卖
  7954. type: integer
  7955. freezeqty:
  7956. description: 冻结数量 - 按单平使用
  7957. type: integer
  7958. goodsid:
  7959. description: 商品ID
  7960. type: integer
  7961. holderamount:
  7962. description: 持仓金额 [商品币种]
  7963. type: number
  7964. holderdays:
  7965. description: 剩余冻结天数
  7966. type: integer
  7967. holderprice:
  7968. description: 持仓价格
  7969. type: number
  7970. holderqty:
  7971. description: 持仓数量
  7972. type: integer
  7973. marketid:
  7974. description: 市场ID
  7975. type: integer
  7976. openprice:
  7977. description: 建仓价格
  7978. type: number
  7979. openqty:
  7980. description: 建仓数量
  7981. type: integer
  7982. parentaccountid:
  7983. description: 所属母账户
  7984. type: integer
  7985. releaseamount:
  7986. description: 释放持仓金额[商品币种]
  7987. type: number
  7988. tradeamount:
  7989. description: 成交金额[账户]
  7990. type: number
  7991. tradedate:
  7992. description: 交易日(yyyyMMdd)
  7993. type: string
  7994. tradeid:
  7995. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7996. type: string
  7997. tradetime:
  7998. description: 交易时间
  7999. type: string
  8000. required:
  8001. - buyorsell
  8002. - tradeid
  8003. type: object
  8004. models.Hedgemarketopenlog:
  8005. properties:
  8006. accountid:
  8007. description: 资金账号[外部母账户]
  8008. type: integer
  8009. fcname:
  8010. description: 期货公司名称
  8011. type: string
  8012. handlestatus:
  8013. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  8014. type: integer
  8015. marketid:
  8016. description: 市场ID
  8017. type: integer
  8018. status:
  8019. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  8020. type: integer
  8021. tradedate:
  8022. description: 交易日(yyyyMMdd)
  8023. type: string
  8024. updatetime:
  8025. description: 更新时间
  8026. type: string
  8027. required:
  8028. - accountid
  8029. type: object
  8030. models.HsbyBuyMyPayOrder:
  8031. properties:
  8032. agreeunit:
  8033. description: 合约单位
  8034. type: number
  8035. buyaccountid:
  8036. description: 买方账号ID[报价币种]
  8037. type: integer
  8038. buyorderid:
  8039. description: 买方委托单号
  8040. type: string
  8041. createtime:
  8042. description: 创建时间
  8043. type: string
  8044. currencysign:
  8045. description: 货币符号
  8046. type: string
  8047. decimalplace:
  8048. description: 报价小数位
  8049. type: integer
  8050. goodscode:
  8051. description: 商品代码(内部)
  8052. type: string
  8053. goodsid:
  8054. description: 商品ID
  8055. type: integer
  8056. goodsname:
  8057. description: 商品名称
  8058. type: string
  8059. marketid:
  8060. description: 市场ID
  8061. type: integer
  8062. offamount:
  8063. description: 优惠金额
  8064. type: number
  8065. originalamount:
  8066. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  8067. type: number
  8068. payamount:
  8069. description: 支付金额 = TradeAmount + TradeCharge
  8070. type: number
  8071. payflag:
  8072. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8073. type: integer
  8074. paylimitedtime:
  8075. description: 支付期限
  8076. type: string
  8077. paytime:
  8078. description: 付款时间
  8079. type: string
  8080. picurls1:
  8081. description: 预售商品介绍图片[多张用逗号分隔]
  8082. type: string
  8083. picurls2:
  8084. description: 挂牌商品介绍图片[多张用逗号分隔]
  8085. type: string
  8086. sellaccountid:
  8087. description: 卖方账号ID[报价币种]
  8088. type: integer
  8089. sellorderid:
  8090. description: 卖方委托单号
  8091. type: string
  8092. tradeamount:
  8093. description: 成交金额
  8094. type: number
  8095. tradecharge:
  8096. description: 成交手续费(买方)
  8097. type: number
  8098. tradedate:
  8099. description: 交易日(yyyyMMdd)
  8100. type: string
  8101. tradeid:
  8102. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8103. type: string
  8104. trademode:
  8105. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8106. type: integer
  8107. tradeprice:
  8108. description: 成交价格
  8109. type: number
  8110. tradeqty:
  8111. description: 成交数量
  8112. type: integer
  8113. vendorname1:
  8114. description: 预售商品供应商名称
  8115. type: string
  8116. vendorname2:
  8117. description: 挂牌商品供应商名称
  8118. type: string
  8119. required:
  8120. - goodscode
  8121. - goodsname
  8122. - tradeid
  8123. - trademode
  8124. type: object
  8125. models.HsbyBuyMyTradeDetail:
  8126. properties:
  8127. accountid:
  8128. description: 账户ID[报价币种]
  8129. type: integer
  8130. agreeunit:
  8131. description: 合约单位
  8132. type: number
  8133. amount:
  8134. description: 金额 = 价格 * 数量 * 合约单位
  8135. type: number
  8136. buyorsell:
  8137. description: 买卖 - 0:买 1:卖
  8138. type: integer
  8139. currencysign:
  8140. description: 货币符号
  8141. type: string
  8142. decimalplace:
  8143. description: 报价小数位
  8144. type: integer
  8145. goodscode:
  8146. description: 商品代码(内部)
  8147. type: string
  8148. goodsid:
  8149. description: 商品ID
  8150. type: integer
  8151. goodsname:
  8152. description: 商品名称
  8153. type: string
  8154. marketid:
  8155. description: 市场ID
  8156. type: integer
  8157. orderamount:
  8158. description: 委托金额
  8159. type: number
  8160. orderid:
  8161. description: 单号(成交单号)
  8162. type: string
  8163. picurls1:
  8164. description: 预售商品介绍图片[多张用逗号分隔]
  8165. type: string
  8166. picurls2:
  8167. description: 挂牌商品介绍图片[多张用逗号分隔]
  8168. type: string
  8169. price:
  8170. description: 价格
  8171. type: number
  8172. qty:
  8173. description: 数量
  8174. type: integer
  8175. time:
  8176. description: 时间
  8177. type: string
  8178. trademode:
  8179. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8180. type: integer
  8181. vendorname1:
  8182. description: 预售商品供应商名称
  8183. type: string
  8184. vendorname2:
  8185. description: 挂牌商品供应商名称
  8186. type: string
  8187. required:
  8188. - accountid
  8189. - buyorsell
  8190. - goodscode
  8191. - goodsid
  8192. - goodsname
  8193. - marketid
  8194. - orderid
  8195. - qty
  8196. - time
  8197. - trademode
  8198. type: object
  8199. models.HsbyGoodsOrderDetail:
  8200. properties:
  8201. buyorsell:
  8202. description: 买卖 - 0:买 1:卖
  8203. type: integer
  8204. currencysign:
  8205. description: 货币符号
  8206. type: string
  8207. customername:
  8208. description: 客户名称(企业名称),已脱敏
  8209. type: string
  8210. enableqty:
  8211. description: 可用数量
  8212. type: integer
  8213. goodunit:
  8214. description: 报价单位
  8215. type: string
  8216. orderid:
  8217. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8218. type: string
  8219. orderprice:
  8220. description: 委托价格
  8221. type: number
  8222. ordertime:
  8223. description: 委托时间
  8224. type: string
  8225. required:
  8226. - buyorsell
  8227. - orderid
  8228. - ordertime
  8229. type: object
  8230. models.HsbyListingGoodsDetail:
  8231. properties:
  8232. agreeunit:
  8233. description: 合约单位
  8234. type: number
  8235. buymaxqty:
  8236. description: 购买上限 [71] - 0为不限
  8237. type: integer
  8238. currency:
  8239. description: 货币
  8240. type: string
  8241. currencysign:
  8242. description: 货币符号
  8243. type: string
  8244. decimalplace:
  8245. description: 报价小数位
  8246. type: integer
  8247. desccityid:
  8248. description: 目的地(市)ID
  8249. type: integer
  8250. descprovinceid:
  8251. description: 目的地(省)ID
  8252. type: integer
  8253. goodscode:
  8254. description: 商品代码(内部)
  8255. type: string
  8256. goodsdesc:
  8257. description: 商品详情
  8258. type: string
  8259. goodsid:
  8260. description: 商品ID(自增ID SEQ_GOODS)
  8261. type: integer
  8262. goodsname:
  8263. description: 商品名称
  8264. type: string
  8265. goodsprice:
  8266. description: 商品价格
  8267. type: number
  8268. hotindex:
  8269. description: 景点热度
  8270. type: integer
  8271. last:
  8272. description: 现价
  8273. type: number
  8274. limitdown:
  8275. description: 跌停价
  8276. type: number
  8277. limitup:
  8278. description: 涨停价
  8279. type: number
  8280. lotsize:
  8281. description: 手数最小变动单位
  8282. type: integer
  8283. marketid:
  8284. description: 所属市场ID
  8285. type: integer
  8286. picurls:
  8287. description: 介绍图片[多张用逗号分隔]
  8288. type: string
  8289. quoteminunit:
  8290. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8291. type: integer
  8292. stepvalue:
  8293. description: 价格最小变动单位
  8294. type: number
  8295. trademode:
  8296. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8297. type: integer
  8298. vendorattr:
  8299. description: 供应商附件(多张,逗号分隔)
  8300. type: string
  8301. vendorname:
  8302. description: 供应商名称
  8303. type: string
  8304. vendorphone:
  8305. description: 供应商客服电话
  8306. type: string
  8307. videourls:
  8308. description: 介绍视频[多张用逗号分隔]
  8309. type: string
  8310. required:
  8311. - goodscode
  8312. - goodsid
  8313. - goodsname
  8314. - marketid
  8315. - trademode
  8316. type: object
  8317. models.HsbyMarketGoods:
  8318. properties:
  8319. accountid:
  8320. description: 账户ID[报价币种]
  8321. type: integer
  8322. agreeunit:
  8323. description: 合约单位
  8324. type: number
  8325. buyorsell:
  8326. description: 买卖 - 0:买 1:卖
  8327. type: integer
  8328. categoryid:
  8329. description: 类别ID(WRCATEGORY)
  8330. type: integer
  8331. currency:
  8332. description: 货币
  8333. type: string
  8334. currencysign:
  8335. description: 货币符号
  8336. type: string
  8337. customername:
  8338. description: 卖家名称
  8339. type: string
  8340. decimalplace:
  8341. description: 报价小数位
  8342. type: integer
  8343. goodscode:
  8344. description: 商品代码(内部)
  8345. type: string
  8346. goodsid:
  8347. description: 商品ID
  8348. type: integer
  8349. goodsname:
  8350. description: 商品名称
  8351. type: string
  8352. goodsprice:
  8353. description: 商品价格
  8354. type: number
  8355. hascoupon:
  8356. description: 是否可用优惠卷
  8357. type: boolean
  8358. hotindex:
  8359. description: 景点热度
  8360. type: integer
  8361. marketid:
  8362. description: 市场ID
  8363. type: integer
  8364. orderid:
  8365. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8366. type: string
  8367. orderprice:
  8368. description: 委托价格
  8369. type: number
  8370. orderstatus:
  8371. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  8372. type: integer
  8373. picurls:
  8374. description: 介绍图片[多张用逗号分隔]
  8375. type: string
  8376. quoteminunit:
  8377. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8378. type: integer
  8379. sellUserID:
  8380. description: 卖方UserID
  8381. type: integer
  8382. trademode:
  8383. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8384. type: integer
  8385. videourls:
  8386. description: 介绍视频[多张用逗号分隔]
  8387. type: string
  8388. required:
  8389. - accountid
  8390. - buyorsell
  8391. - goodscode
  8392. - goodsid
  8393. - goodsname
  8394. - marketid
  8395. - orderid
  8396. - trademode
  8397. type: object
  8398. models.HsbyMarketGoodsDetail:
  8399. properties:
  8400. accountid:
  8401. description: 账户ID[报价币种]
  8402. type: integer
  8403. agreeunit:
  8404. description: 合约单位
  8405. type: number
  8406. buymaxqty:
  8407. description: 购买上限 [71] - 0为不限
  8408. type: integer
  8409. buyorsell:
  8410. description: 买卖 - 0:买 1:卖
  8411. type: integer
  8412. cancelqty:
  8413. description: 撤单数量
  8414. type: integer
  8415. categoryid:
  8416. description: 类别ID(WRCATEGORY)
  8417. type: integer
  8418. currency:
  8419. description: 货币
  8420. type: string
  8421. currencysign:
  8422. description: 货币符号
  8423. type: string
  8424. customername:
  8425. description: 卖家名称
  8426. type: string
  8427. decimalplace:
  8428. description: 报价小数位
  8429. type: integer
  8430. goodscode:
  8431. description: 商品代码(内部)
  8432. type: string
  8433. goodsdesc:
  8434. description: 商品详情
  8435. type: string
  8436. goodsid:
  8437. description: 商品ID
  8438. type: integer
  8439. goodsname:
  8440. description: 商品名称
  8441. type: string
  8442. goodsprice:
  8443. description: 商品价格
  8444. type: number
  8445. hotindex:
  8446. description: 景点热度
  8447. type: integer
  8448. lotsize:
  8449. description: 手数最小变动单位
  8450. type: integer
  8451. marketid:
  8452. description: 市场ID
  8453. type: integer
  8454. orderid:
  8455. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8456. type: string
  8457. orderprice:
  8458. description: 委托价格
  8459. type: number
  8460. orderqty:
  8461. description: 委托数量
  8462. type: integer
  8463. orderstatus:
  8464. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  8465. type: integer
  8466. picurls:
  8467. description: 介绍图片[多张用逗号分隔]
  8468. type: string
  8469. quoteminunit:
  8470. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8471. type: integer
  8472. sellUserID:
  8473. description: 卖方UserID
  8474. type: integer
  8475. trademode:
  8476. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8477. type: integer
  8478. tradeqty:
  8479. description: 成交数量
  8480. type: integer
  8481. vendorattr:
  8482. description: 供应商附件(多张,逗号分隔)
  8483. type: string
  8484. vendorname:
  8485. description: 供应商名称
  8486. type: string
  8487. vendorphone:
  8488. description: 供应商客服电话
  8489. type: string
  8490. videourls:
  8491. description: 介绍视频[多张用逗号分隔]
  8492. type: string
  8493. required:
  8494. - accountid
  8495. - buyorsell
  8496. - goodscode
  8497. - goodsid
  8498. - goodsname
  8499. - marketid
  8500. - orderid
  8501. - orderqty
  8502. - trademode
  8503. type: object
  8504. models.HsbyMarketInfo:
  8505. properties:
  8506. marketid:
  8507. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8508. type: integer
  8509. marketname:
  8510. description: 市场名称
  8511. type: string
  8512. marketstatus:
  8513. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8514. type: integer
  8515. trademode:
  8516. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8517. type: integer
  8518. required:
  8519. - marketid
  8520. - marketstatus
  8521. - trademode
  8522. type: object
  8523. models.HsbyMyGoods:
  8524. properties:
  8525. accountid:
  8526. description: 账号Id
  8527. type: integer
  8528. agreeunit:
  8529. description: 合约单位
  8530. type: number
  8531. buyaverageprice:
  8532. description: 持仓均价
  8533. type: number
  8534. buycurholderamount:
  8535. description: 买当前持仓总金额[商品币种]
  8536. type: number
  8537. buycurpositionqty:
  8538. description: 买当前持仓总数量
  8539. type: integer
  8540. buymaxqty:
  8541. description: 购买上限 [71] - 0为不限
  8542. type: integer
  8543. currencysign:
  8544. description: 货币符号
  8545. type: string
  8546. decimalplace:
  8547. description: 报价小数位
  8548. type: integer
  8549. enableqty:
  8550. description: 可用数量
  8551. type: integer
  8552. goodscode:
  8553. description: 商品代码(内部)
  8554. type: string
  8555. goodsid:
  8556. description: 商品Id
  8557. type: integer
  8558. goodsname:
  8559. description: 商品名称
  8560. type: string
  8561. goodsprice:
  8562. description: 商品价格
  8563. type: number
  8564. goodsstatus:
  8565. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8566. type: integer
  8567. last:
  8568. description: 现价(仅使用于挂牌点选)
  8569. type: number
  8570. limitdown:
  8571. description: 跌停价(仅使用于挂牌点选)
  8572. type: number
  8573. limitup:
  8574. description: 涨停价(仅使用于挂牌点选)
  8575. type: number
  8576. lotsize:
  8577. description: 手数最小变动单位
  8578. type: integer
  8579. marketid:
  8580. description: 所属市场ID
  8581. type: integer
  8582. picurls:
  8583. description: 介绍图片[多张用逗号分隔]
  8584. type: string
  8585. quoteminunit:
  8586. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8587. type: integer
  8588. stepvalue:
  8589. description: 价格最小变动单位
  8590. type: number
  8591. trademode:
  8592. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8593. type: integer
  8594. required:
  8595. - accountid
  8596. - goodscode
  8597. - goodsid
  8598. - goodsname
  8599. - marketid
  8600. - trademode
  8601. type: object
  8602. models.HsbyMyPackage:
  8603. properties:
  8604. accountid:
  8605. description: 账户ID
  8606. type: integer
  8607. address:
  8608. description: 提货人详细地址
  8609. type: string
  8610. agreeunit:
  8611. description: 合约单位
  8612. type: number
  8613. amount:
  8614. description: 提货金额
  8615. type: number
  8616. auditer:
  8617. description: 审核人
  8618. type: integer
  8619. audittime:
  8620. description: 审核时间
  8621. type: string
  8622. averageprice:
  8623. description: 均价
  8624. type: number
  8625. cardnum:
  8626. description: 提货人证件号码
  8627. type: string
  8628. cardtypeid:
  8629. description: 提货人证件类型
  8630. type: integer
  8631. checkremark:
  8632. description: 审核备注
  8633. type: string
  8634. currencysign:
  8635. description: 货币符号
  8636. type: string
  8637. decimalplace:
  8638. description: 报价小数位
  8639. type: integer
  8640. goodscode:
  8641. description: 商品代码(内部)
  8642. type: string
  8643. goodsid:
  8644. description: 商品ID
  8645. type: integer
  8646. goodsname:
  8647. description: 商品名称
  8648. type: string
  8649. handlestatus:
  8650. description: 处理状态
  8651. type: integer
  8652. marketid:
  8653. description: 市场ID
  8654. type: integer
  8655. phonenum:
  8656. description: 提货人联系方式
  8657. type: string
  8658. picurls:
  8659. description: 介绍图片[多张用逗号分隔]
  8660. type: string
  8661. qty:
  8662. description: 提货数量
  8663. type: number
  8664. recivername:
  8665. description: 提货人姓名
  8666. type: string
  8667. reqtime:
  8668. description: 更新时间
  8669. type: string
  8670. takemode:
  8671. description: 提货方式 - 2:自提 3:配送
  8672. type: integer
  8673. takeorderid:
  8674. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  8675. type: string
  8676. takeorderstatus:
  8677. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  8678. type: integer
  8679. takeremark:
  8680. description: 提货备注
  8681. type: string
  8682. tradedate:
  8683. description: 交易日(yyyyMMdd)
  8684. type: string
  8685. trademode:
  8686. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8687. type: integer
  8688. userid:
  8689. description: 用户ID
  8690. type: integer
  8691. vendorname:
  8692. description: 供应商名称
  8693. type: string
  8694. required:
  8695. - goodscode
  8696. - goodsname
  8697. - takeorderid
  8698. - trademode
  8699. type: object
  8700. models.HsbyPreGoods:
  8701. properties:
  8702. agreeunit:
  8703. description: 合约单位
  8704. type: number
  8705. currency:
  8706. description: 货币
  8707. type: string
  8708. currencysign:
  8709. description: 货币符号
  8710. type: string
  8711. decimalplace:
  8712. description: 报价小数位
  8713. type: integer
  8714. desccityid:
  8715. description: 目的地(市)
  8716. type: integer
  8717. descprovinceid:
  8718. description: 目的地(省)
  8719. type: integer
  8720. enableqty:
  8721. description: 剩余数量
  8722. type: integer
  8723. goodscode:
  8724. description: 商品代码(内部)
  8725. type: string
  8726. goodsid:
  8727. description: 商品ID(自增ID SEQ_GOODS)
  8728. type: integer
  8729. goodsname:
  8730. description: 商品名称
  8731. type: string
  8732. goodsstatus:
  8733. description: 商品状态- 2:未上市 3:上市
  8734. type: integer
  8735. lasttradedate:
  8736. description: 最后交易日期(状态:待退市)
  8737. type: string
  8738. listingdate:
  8739. description: 交易开始日期
  8740. type: string
  8741. marketid:
  8742. description: 所属市场ID
  8743. type: integer
  8744. picurls:
  8745. description: 介绍图片[多张用逗号分隔]
  8746. type: string
  8747. presaledqty:
  8748. description: 已预售量(预售结束时更新)
  8749. type: integer
  8750. presaleqty:
  8751. description: 预售数量
  8752. type: integer
  8753. quoteminunit:
  8754. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8755. type: integer
  8756. refprice:
  8757. description: 参考价格[一口价]
  8758. type: number
  8759. relatedgoodsid:
  8760. description: 关联交易合约ID
  8761. type: integer
  8762. trademode:
  8763. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8764. type: integer
  8765. videourls:
  8766. description: 介绍视频[多张用逗号分隔]
  8767. type: string
  8768. required:
  8769. - goodscode
  8770. - goodsid
  8771. - goodsname
  8772. - marketid
  8773. - trademode
  8774. type: object
  8775. models.HsbyPreGoodsDetail:
  8776. properties:
  8777. agreeunit:
  8778. description: 合约单位
  8779. type: number
  8780. buymaxqty:
  8781. description: 购买上限 [71] - 0为不限
  8782. type: integer
  8783. currency:
  8784. description: 货币
  8785. type: string
  8786. currencysign:
  8787. description: 货币符号
  8788. type: string
  8789. customername:
  8790. description: 发行单位
  8791. type: string
  8792. decimalplace:
  8793. description: 报价小数位
  8794. type: integer
  8795. desccityid:
  8796. description: 目的地(市)ID
  8797. type: integer
  8798. descprovinceid:
  8799. description: 目的地(省)ID
  8800. type: integer
  8801. enableqty:
  8802. description: 剩余数量
  8803. type: integer
  8804. goodscode:
  8805. description: 商品代码(内部)
  8806. type: string
  8807. goodsdesc:
  8808. description: 商品详情
  8809. type: string
  8810. goodsid:
  8811. description: 商品ID(自增ID SEQ_GOODS)
  8812. type: integer
  8813. goodsname:
  8814. description: 商品名称
  8815. type: string
  8816. goodsstatus:
  8817. description: 商品状态- 2:未上市 3:上市
  8818. type: integer
  8819. goodunit:
  8820. description: 报价单位
  8821. type: string
  8822. lasttradedate:
  8823. description: 最后交易日期(状态:待退市)
  8824. type: string
  8825. listingdate:
  8826. description: 交易开始日期
  8827. type: string
  8828. lotsize:
  8829. description: 手数最小变动单位
  8830. type: integer
  8831. marketid:
  8832. description: 所属市场ID
  8833. type: integer
  8834. picurls:
  8835. description: 介绍图片[多张用逗号分隔]
  8836. type: string
  8837. presaledqty:
  8838. description: 已预售量(预售结束时更新)
  8839. type: integer
  8840. presaleqty:
  8841. description: 预售数量
  8842. type: integer
  8843. quoteminunit:
  8844. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8845. type: integer
  8846. refprice:
  8847. description: 参考价格[一口价]
  8848. type: number
  8849. relatedgoodsid:
  8850. description: 关联交易合约ID
  8851. type: integer
  8852. stepvalue:
  8853. description: 价格最小变动单位
  8854. type: number
  8855. trademode:
  8856. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8857. type: integer
  8858. vendorattr:
  8859. description: 供应商附件(多张,逗号分隔)
  8860. type: string
  8861. vendorname:
  8862. description: 供应商名称
  8863. type: string
  8864. vendorphone:
  8865. description: 供应商客服电话
  8866. type: string
  8867. videourls:
  8868. description: 介绍视频[多张用逗号分隔]
  8869. type: string
  8870. required:
  8871. - goodscode
  8872. - goodsid
  8873. - goodsname
  8874. - marketid
  8875. - trademode
  8876. type: object
  8877. models.HsbySellCollectionOrder:
  8878. properties:
  8879. agreeunit:
  8880. description: 合约单位
  8881. type: number
  8882. buyaccountid:
  8883. description: 买方账号ID[报价币种]
  8884. type: integer
  8885. buyorderid:
  8886. description: 买方委托单号
  8887. type: string
  8888. createtime:
  8889. description: 创建时间
  8890. type: string
  8891. currencysign:
  8892. description: 货币符号
  8893. type: string
  8894. decimalplace:
  8895. description: 报价小数位
  8896. type: integer
  8897. goodscode:
  8898. description: 商品代码(内部)
  8899. type: string
  8900. goodsid:
  8901. description: 商品ID
  8902. type: integer
  8903. goodsname:
  8904. description: 商品名称
  8905. type: string
  8906. marketid:
  8907. description: 市场ID
  8908. type: integer
  8909. offamount:
  8910. description: 优惠金额
  8911. type: number
  8912. payamount:
  8913. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  8914. type: number
  8915. payflag:
  8916. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8917. type: integer
  8918. paylimitedtime:
  8919. description: 支付期限
  8920. type: string
  8921. paytime:
  8922. description: 付款时间
  8923. type: string
  8924. picurls:
  8925. description: 商品介绍图片[多张用逗号分隔]
  8926. type: string
  8927. sellaccountid:
  8928. description: 卖方账号ID[报价币种]
  8929. type: integer
  8930. sellorderid:
  8931. description: 卖方委托单号
  8932. type: string
  8933. tradeamount:
  8934. description: 成交金额
  8935. type: number
  8936. tradecharge:
  8937. description: 成交手续费(买方)
  8938. type: number
  8939. tradedate:
  8940. description: 交易日(yyyyMMdd)
  8941. type: string
  8942. tradeid:
  8943. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8944. type: string
  8945. trademode:
  8946. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  8947. type: integer
  8948. tradeprice:
  8949. description: 成交价格
  8950. type: number
  8951. tradeqty:
  8952. description: 成交数量
  8953. type: integer
  8954. required:
  8955. - goodscode
  8956. - goodsname
  8957. - tradeid
  8958. - trademode
  8959. type: object
  8960. models.HsbySellMyDetail:
  8961. properties:
  8962. accountid:
  8963. description: 账户ID[报价币种]
  8964. type: integer
  8965. agreeunit:
  8966. description: 合约单位
  8967. type: number
  8968. buyorsell:
  8969. description: 买卖 - 0:买 1:卖
  8970. type: integer
  8971. currencysign:
  8972. description: 货币符号
  8973. type: string
  8974. decimalplace:
  8975. description: 报价小数位
  8976. type: integer
  8977. goodscode:
  8978. description: 商品代码(内部)
  8979. type: string
  8980. goodsid:
  8981. description: 商品ID
  8982. type: integer
  8983. goodsname:
  8984. description: 商品名称
  8985. type: string
  8986. marketid:
  8987. description: 市场ID
  8988. type: integer
  8989. orderid:
  8990. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  8991. type: string
  8992. ordertype:
  8993. description: 单据类型:0 - 发布中, 1 - 已完成
  8994. type: integer
  8995. picurls:
  8996. description: 介绍图片[多张用逗号分隔]
  8997. type: string
  8998. price:
  8999. description: 价格
  9000. type: number
  9001. qty:
  9002. description: 数量
  9003. type: integer
  9004. time:
  9005. description: 时间
  9006. type: string
  9007. trademode:
  9008. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9009. type: integer
  9010. vendorname:
  9011. description: 供应商名称
  9012. type: string
  9013. required:
  9014. - accountid
  9015. - buyorsell
  9016. - goodscode
  9017. - goodsid
  9018. - goodsname
  9019. - marketid
  9020. - orderid
  9021. - time
  9022. - trademode
  9023. type: object
  9024. models.HsbyTopGoods:
  9025. properties:
  9026. agreeunit:
  9027. description: 合约单位
  9028. type: number
  9029. currency:
  9030. description: 货币
  9031. type: string
  9032. currencysign:
  9033. description: 货币符号
  9034. type: string
  9035. decimalplace:
  9036. description: 报价小数位
  9037. type: integer
  9038. desccityid:
  9039. description: 目的地(市)
  9040. type: integer
  9041. descprovinceid:
  9042. description: 目的地(省)
  9043. type: integer
  9044. goodscode:
  9045. description: 商品代码(内部)
  9046. type: string
  9047. goodsid:
  9048. description: 商品ID(自增ID SEQ_GOODS)
  9049. type: integer
  9050. goodsname:
  9051. description: 商品名称
  9052. type: string
  9053. hotindex:
  9054. description: 景点热度
  9055. type: integer
  9056. last:
  9057. description: 现价
  9058. type: number
  9059. marketid:
  9060. description: 所属市场ID
  9061. type: integer
  9062. picurls:
  9063. description: 介绍图片[多张用逗号分隔]
  9064. type: string
  9065. quoteminunit:
  9066. description: 行情最小变动单位 [整数,报价小数位一起使用]
  9067. type: integer
  9068. trademode:
  9069. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9070. type: integer
  9071. videourls:
  9072. description: 介绍视频[多张用逗号分隔]
  9073. type: string
  9074. required:
  9075. - goodscode
  9076. - goodsid
  9077. - goodsname
  9078. - marketid
  9079. - trademode
  9080. type: object
  9081. models.HybsMyBuyOrderDetail:
  9082. properties:
  9083. accountid:
  9084. description: 账户ID[报价币种]
  9085. type: integer
  9086. agreeunit:
  9087. description: 合约单位
  9088. type: number
  9089. buyorsell:
  9090. description: 买卖 - 0:买 1:卖
  9091. type: integer
  9092. cancelqty:
  9093. description: 撤单数量
  9094. type: integer
  9095. currencysign:
  9096. description: 货币符号
  9097. type: string
  9098. decimalplace:
  9099. description: 报价小数位
  9100. type: integer
  9101. goodscode:
  9102. description: 商品代码(内部)
  9103. type: string
  9104. goodsid:
  9105. description: 商品ID
  9106. type: integer
  9107. goodsname:
  9108. description: 商品名称
  9109. type: string
  9110. listingselecttype:
  9111. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  9112. type: integer
  9113. marketid:
  9114. description: 市场ID
  9115. type: integer
  9116. mybuystatus:
  9117. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  9118. type: integer
  9119. orderamount:
  9120. description: 委托金额
  9121. type: number
  9122. orderid:
  9123. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9124. type: string
  9125. orderprice:
  9126. description: 委托价格
  9127. type: number
  9128. orderqty:
  9129. description: 委托数量
  9130. type: integer
  9131. orderstatus:
  9132. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  9133. type: integer
  9134. ordertime:
  9135. description: 委托时间
  9136. type: string
  9137. picurls1:
  9138. description: 预售商品介绍图片[多张用逗号分隔]
  9139. type: string
  9140. picurls2:
  9141. description: 挂牌商品介绍图片[多张用逗号分隔]
  9142. type: string
  9143. trademode:
  9144. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9145. type: integer
  9146. tradeqty:
  9147. description: 成交数量
  9148. type: integer
  9149. vendorname1:
  9150. description: 预售商品供应商名称
  9151. type: string
  9152. vendorname2:
  9153. description: 挂牌商品供应商名称
  9154. type: string
  9155. required:
  9156. - accountid
  9157. - buyorsell
  9158. - goodscode
  9159. - goodsid
  9160. - goodsname
  9161. - marketid
  9162. - orderid
  9163. - orderqty
  9164. - ordertime
  9165. - trademode
  9166. type: object
  9167. models.Loginaccount:
  9168. properties:
  9169. accountname:
  9170. description: 账户名称
  9171. type: string
  9172. canoutin:
  9173. description: 是否可出入金 - 0:不可 1:可
  9174. type: integer
  9175. clientroleid:
  9176. description: 终端角色ID
  9177. type: integer
  9178. haslogined:
  9179. description: 是否已登录 - 0:未登录 1:已登录
  9180. type: integer
  9181. hasupdatedpwd:
  9182. description: 是否已更改密码 - 0:未修改 1:已修改
  9183. type: integer
  9184. lastloginip:
  9185. description: 最新登录地址
  9186. type: string
  9187. lastloginmode:
  9188. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  9189. type: integer
  9190. lastloginremark:
  9191. description: 最新登录描述
  9192. type: string
  9193. lastlogintime:
  9194. description: 最新登录时间
  9195. type: string
  9196. logincode:
  9197. description: 登录代码
  9198. type: string
  9199. loginfailnum:
  9200. description: 连续登录失败次数(登录成功时清零)
  9201. type: integer
  9202. loginid:
  9203. description: 登陆账号
  9204. type: integer
  9205. loginport:
  9206. description: 最新登录端口
  9207. type: integer
  9208. loginstatus:
  9209. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  9210. type: integer
  9211. loginusertype:
  9212. description: 登录账号类型 - 1:投资者 2:机构交易员
  9213. type: integer
  9214. mobile:
  9215. description: 手机号码(加密存储)
  9216. type: string
  9217. modifierid:
  9218. description: 修改人
  9219. type: integer
  9220. modifysrc:
  9221. description: 审核来源 - 1:管理端 2:终端
  9222. type: integer
  9223. modifytime:
  9224. description: 修改时间
  9225. type: string
  9226. password:
  9227. description: 登陆密码
  9228. type: string
  9229. pwdwrongcount:
  9230. description: 密码错误次数
  9231. type: integer
  9232. relateduserid:
  9233. description: 关联用户ID(机构)
  9234. type: integer
  9235. taaccountrighttype:
  9236. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  9237. type: integer
  9238. unfreezetime:
  9239. description: 账户解冻时间
  9240. type: string
  9241. userid:
  9242. description: 用户ID
  9243. type: integer
  9244. required:
  9245. - loginid
  9246. type: object
  9247. models.MainAccountInfo:
  9248. properties:
  9249. accountid:
  9250. description: 账号id
  9251. type: integer
  9252. accountname:
  9253. description: 账号名称(taaccount表中的名称)
  9254. type: string
  9255. appid:
  9256. description: AppID
  9257. type: string
  9258. authcode:
  9259. description: 授权码
  9260. type: string
  9261. brokerid:
  9262. description: 经纪商id
  9263. type: string
  9264. fcid:
  9265. description: 期货公司id
  9266. type: integer
  9267. fcname:
  9268. description: 期货公司代码
  9269. type: string
  9270. hedgeaccountcode:
  9271. description: 外部账号代码(主账号登录代码)
  9272. type: string
  9273. hedgeaccountpwd:
  9274. description: 密码
  9275. type: string
  9276. ismain:
  9277. description: 是否主账号
  9278. type: integer
  9279. relateduserid:
  9280. description: 关联用户id
  9281. type: integer
  9282. userid:
  9283. description: 关联用户id
  9284. type: integer
  9285. type: object
  9286. models.Market:
  9287. properties:
  9288. auctionwrtype:
  9289. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  9290. type: integer
  9291. canacceptquote:
  9292. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  9293. type: integer
  9294. cangoodsexercise:
  9295. description: '[期权]是否可现货行权- 0:否 1:是'
  9296. type: integer
  9297. cangoodsexercisetype:
  9298. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  9299. type: integer
  9300. canmanualquotestrike:
  9301. description: 是否可手动报行权价- 0:否 1:是 [期权]
  9302. type: integer
  9303. canmutistage:
  9304. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  9305. type: integer
  9306. canpreexercise:
  9307. description: '[期权]是否可预申报- 0:否 1:是'
  9308. type: integer
  9309. clearinterval:
  9310. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  9311. type: integer
  9312. contracttmp:
  9313. description: 合同模板[荷兰式][竞价式][仓单贸易]
  9314. type: string
  9315. exchareaid:
  9316. description: 所属交易所,可以没有
  9317. type: integer
  9318. goodstype:
  9319. description: 商品类型 - 1:交易商品 2:仓单商品
  9320. type: integer
  9321. hasrebate:
  9322. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  9323. type: integer
  9324. hastradecredit:
  9325. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  9326. type: integer
  9327. haswr:
  9328. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  9329. type: integer
  9330. isdeductmargin:
  9331. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  9332. type: integer
  9333. isrecordsource:
  9334. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  9335. type: integer
  9336. isreleasemargin:
  9337. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  9338. type: integer
  9339. marginformula:
  9340. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9341. type: integer
  9342. marginformula2:
  9343. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  9344. type: integer
  9345. marketid:
  9346. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  9347. type: integer
  9348. marketname:
  9349. description: 市场名称
  9350. type: string
  9351. marketserviceid:
  9352. description: 市场服务ID
  9353. type: integer
  9354. marketstatus:
  9355. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  9356. type: integer
  9357. markettype:
  9358. description: 市场类型- 1:非交易服务 2:交易服务
  9359. type: integer
  9360. matchermode:
  9361. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  9362. type: integer
  9363. openmethod:
  9364. description: 开盘模式 - 0 自动 1手动
  9365. type: integer
  9366. otcuserid:
  9367. description: 场外期权做市商[场外期权]
  9368. type: integer
  9369. outersynctime:
  9370. description: 外部同步时间点(h24:mi:ss)[场外期权]
  9371. type: string
  9372. pendingflag:
  9373. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  9374. type: integer
  9375. pendingtime:
  9376. description: 待开市时间[通道交易-对冲](HH:mm)
  9377. type: string
  9378. performancetempid:
  9379. description: 履约计划模板ID - 作废
  9380. type: integer
  9381. premiumquotemode:
  9382. description: 权利金报价方式 - 1:自动 2:手动
  9383. type: integer
  9384. rebateratio:
  9385. description: 返利比率[竞价式]
  9386. type: number
  9387. reckonorder:
  9388. description: 结算顺序
  9389. type: integer
  9390. reckonpricealgorithm:
  9391. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价 6.卖一价 7.买一卖一均价 8.外部结算价'
  9392. type: integer
  9393. reckonpriceparam:
  9394. description: 结算价参数
  9395. type: integer
  9396. reckontime:
  9397. description: 结算时间[通道交易-对冲](HH:mm)
  9398. type: string
  9399. roleprioritytype:
  9400. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  9401. type: integer
  9402. selllistingauditflag:
  9403. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  9404. type: integer
  9405. trademarkettype:
  9406. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  9407. type: integer
  9408. trademode:
  9409. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  9410. type: integer
  9411. tradeproperty:
  9412. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易 8:场外期权
  9413. type: integer
  9414. tradetype:
  9415. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  9416. type: integer
  9417. required:
  9418. - marketid
  9419. - marketstatus
  9420. - openmethod
  9421. - reckonpricealgorithm
  9422. - trademode
  9423. - tradeproperty
  9424. type: object
  9425. models.Marketrun:
  9426. properties:
  9427. afternexttradedate:
  9428. description: 下下交易日
  9429. type: string
  9430. clearquoteflag:
  9431. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  9432. type: integer
  9433. lastreckondate:
  9434. description: 最新交易日(结算成功)
  9435. type: string
  9436. machinedate:
  9437. description: 机器时间
  9438. type: string
  9439. manualflag:
  9440. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  9441. type: integer
  9442. marketid:
  9443. description: 市场ID
  9444. type: integer
  9445. nexttradedate:
  9446. description: 下一交易日
  9447. type: string
  9448. pretradedate:
  9449. description: 上一交易日
  9450. type: string
  9451. reckonflag:
  9452. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  9453. type: integer
  9454. runstatus:
  9455. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内) 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始 62.今日免清算
  9456. type: integer
  9457. sectionid:
  9458. description: 时间段号[多时段时用]
  9459. type: integer
  9460. tradedate:
  9461. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  9462. type: string
  9463. tradedate2:
  9464. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  9465. type: string
  9466. updatetime:
  9467. description: 更新时间
  9468. type: string
  9469. required:
  9470. - marketid
  9471. - nexttradedate
  9472. - reckonflag
  9473. - runstatus
  9474. - tradedate
  9475. - tradedate2
  9476. type: object
  9477. models.Messageboard:
  9478. properties:
  9479. contactnum:
  9480. description: 联系电话
  9481. type: string
  9482. createtime:
  9483. description: 创建时间
  9484. type: string
  9485. message:
  9486. description: 留言信息
  9487. type: string
  9488. messageboardid:
  9489. description: 留言簿ID(SEQ_MessageBoard)
  9490. type: integer
  9491. userid:
  9492. description: 用户ID
  9493. type: integer
  9494. required:
  9495. - messageboardid
  9496. type: object
  9497. models.MyCoupon:
  9498. properties:
  9499. accountid:
  9500. description: 资金账户ID
  9501. type: integer
  9502. areauserid:
  9503. description: 所属机构
  9504. type: integer
  9505. conditionvalue:
  9506. description: 条件阈值(可为0)
  9507. type: number
  9508. couponcategroy:
  9509. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  9510. type: integer
  9511. couponname:
  9512. description: 优惠券名称
  9513. type: string
  9514. coupontypeid:
  9515. description: 优惠券类型ID
  9516. type: string
  9517. couponvalue:
  9518. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9519. type: number
  9520. curfreezeqty:
  9521. description: 期末冻结数量
  9522. type: integer
  9523. curqty:
  9524. description: 期末数量
  9525. type: integer
  9526. isgeneral:
  9527. description: 是否通用券 - 0:否 1:是
  9528. type: integer
  9529. isunusable:
  9530. description: 是否不可用
  9531. type: boolean
  9532. limitedflag:
  9533. description: 是否指定商品 - 0:不限 1:限制
  9534. type: integer
  9535. limitedgoodsids:
  9536. description: 指定商品IDs[逗号分隔,前后加逗号]
  9537. type: string
  9538. orifreezeqty:
  9539. description: 期初冻结数量
  9540. type: integer
  9541. oriqty:
  9542. description: 期初数量
  9543. type: integer
  9544. reasontype:
  9545. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  9546. type: integer
  9547. todaydecrease:
  9548. description: 今日减少
  9549. type: integer
  9550. todayincrease:
  9551. description: 今日增加
  9552. type: integer
  9553. userid:
  9554. description: 用户ID
  9555. type: integer
  9556. userscope:
  9557. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  9558. type: string
  9559. required:
  9560. - accountid
  9561. - coupontypeid
  9562. type: object
  9563. models.MyCouponHold:
  9564. properties:
  9565. accountid:
  9566. description: 资金账户ID
  9567. type: integer
  9568. conditionvalue:
  9569. description: 条件阈值(可为0)
  9570. type: number
  9571. couponcategroy:
  9572. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  9573. type: integer
  9574. couponholdid:
  9575. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  9576. type: string
  9577. couponname:
  9578. description: 优惠券名称
  9579. type: string
  9580. coupontypeid:
  9581. description: 优惠券类型ID - SEQ_COUPONTYPE
  9582. type: string
  9583. couponvalue:
  9584. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9585. type: number
  9586. createtime:
  9587. description: 创建时间
  9588. type: string
  9589. enddate:
  9590. description: 结束日期
  9591. type: string
  9592. giveapplyid:
  9593. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  9594. type: integer
  9595. holdstatus:
  9596. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  9597. type: integer
  9598. isgeneral:
  9599. description: 是否通用券 - 0:否 1:是
  9600. type: integer
  9601. limitedflag:
  9602. description: 是否指定商品 - 0:不限 1:限制
  9603. type: integer
  9604. limitedgoodsids:
  9605. description: 指定商品IDs[逗号分隔]
  9606. type: string
  9607. qty:
  9608. description: 数量(按1平铺)
  9609. type: integer
  9610. startdate:
  9611. description: 开始日期
  9612. type: string
  9613. userid:
  9614. description: 用户ID
  9615. type: integer
  9616. userscope:
  9617. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  9618. type: string
  9619. required:
  9620. - couponholdid
  9621. type: object
  9622. models.MyUsedCoupon:
  9623. properties:
  9624. accountid:
  9625. description: 资金账户ID(买方)
  9626. type: integer
  9627. conditionvalue:
  9628. description: 条件阈值(可为0)
  9629. type: number
  9630. couponcategroy:
  9631. description: 种类 - 1:现金券 2:折扣券
  9632. type: integer
  9633. couponname:
  9634. description: 优惠券名称
  9635. type: string
  9636. coupontypeid:
  9637. description: 优惠券类型ID(买方)
  9638. type: string
  9639. couponvalue:
  9640. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  9641. type: number
  9642. createtime:
  9643. description: 创建时间
  9644. type: string
  9645. goodsid:
  9646. description: 商品ID
  9647. type: integer
  9648. handlestatus:
  9649. description: 处理状态
  9650. type: integer
  9651. marketid:
  9652. description: 市场ID
  9653. type: integer
  9654. offamount:
  9655. description: 优惠金额
  9656. type: number
  9657. orderid:
  9658. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9659. type: string
  9660. sellaccountid:
  9661. description: 资金账户ID(卖方)
  9662. type: integer
  9663. tradeamount:
  9664. description: 成交金额
  9665. type: number
  9666. tradeid:
  9667. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9668. type: string
  9669. usedqty:
  9670. description: 使用数量
  9671. type: integer
  9672. required:
  9673. - coupontypeid
  9674. - orderid
  9675. type: object
  9676. models.OperationPrimaryMenu:
  9677. properties:
  9678. Children:
  9679. description: 二级功能菜单
  9680. items:
  9681. $ref: '#/definitions/models.OperationSecondaryMenu'
  9682. type: array
  9683. Key:
  9684. description: 菜单KEY
  9685. type: string
  9686. Label:
  9687. description: 菜单标题
  9688. type: string
  9689. type: object
  9690. models.OperationSecondaryMenu:
  9691. properties:
  9692. Key:
  9693. description: 菜单KEY
  9694. type: string
  9695. Label:
  9696. description: 菜单标题
  9697. type: string
  9698. TabList:
  9699. description: 三级功能菜单
  9700. items:
  9701. $ref: '#/definitions/models.OperationTabMenu'
  9702. type: array
  9703. type: object
  9704. models.OperationTabMenu:
  9705. properties:
  9706. Key:
  9707. description: 菜单KEY
  9708. type: string
  9709. Label:
  9710. description: 菜单标题
  9711. type: string
  9712. type: object
  9713. models.QhjAccountOutInApply:
  9714. properties:
  9715. accountcode:
  9716. description: 资金账号
  9717. type: string
  9718. accountname:
  9719. description: 用户名称(名称)
  9720. type: string
  9721. accountpwd:
  9722. description: 资金密码
  9723. type: string
  9724. accountticket:
  9725. description: 最新账户服务流水号
  9726. type: string
  9727. amount:
  9728. description: 金额
  9729. type: number
  9730. applyremark:
  9731. description: 申请备注
  9732. type: string
  9733. applystatus:
  9734. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败; 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22: 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  9735. type: integer
  9736. auditid:
  9737. description: 审核人
  9738. type: integer
  9739. audittime:
  9740. description: 审核时间
  9741. type: string
  9742. bank_apply_ticket:
  9743. description: 银行申请流水
  9744. type: string
  9745. bankaccountname:
  9746. description: 银行账户名
  9747. type: string
  9748. bankaccountno:
  9749. description: 银行卡号
  9750. type: string
  9751. bankid:
  9752. description: 银行编号
  9753. type: string
  9754. bankticket:
  9755. description: 银行流水
  9756. type: string
  9757. branchbankid:
  9758. description: 银行支行号
  9759. type: string
  9760. branchbankname:
  9761. description: 银行支行名称
  9762. type: string
  9763. capamountout:
  9764. description: 出金(劣后本金) - 外部子账户
  9765. type: number
  9766. certificatephotourl:
  9767. description: 凭证地址
  9768. type: string
  9769. charge:
  9770. description: 手续费
  9771. type: number
  9772. checkerrorflag:
  9773. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  9774. type: integer
  9775. currency:
  9776. description: 币种
  9777. type: string
  9778. cusbankid:
  9779. description: 托管银行编号
  9780. type: string
  9781. exchticket:
  9782. description: 银行服务流水号
  9783. type: string
  9784. executetype:
  9785. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金'
  9786. type: integer
  9787. extendinfo:
  9788. description: 扩展信息
  9789. type: string
  9790. extoperateid:
  9791. description: 交易服务流水号
  9792. type: integer
  9793. infamount:
  9794. description: 劣后金额(自有)
  9795. type: number
  9796. logincode:
  9797. description: 登录账号(账号)
  9798. type: string
  9799. netaddr:
  9800. description: 调转网址
  9801. type: string
  9802. priamount:
  9803. description: 优先金额(授信)
  9804. type: number
  9805. reauditid:
  9806. description: 复审人
  9807. type: integer
  9808. reauditremark:
  9809. description: 复审备注
  9810. type: string
  9811. reaudittime:
  9812. description: 复审时间
  9813. type: string
  9814. relatedorderid:
  9815. description: 三方关联ID
  9816. type: string
  9817. remark:
  9818. description: 备注
  9819. type: string
  9820. remark2:
  9821. description: 备注(失败原因)
  9822. type: string
  9823. soucreamount:
  9824. description: 原始出入金金额
  9825. type: number
  9826. soucrecurrencyid:
  9827. description: 原始出入金币种
  9828. type: integer
  9829. tradedate:
  9830. description: 交易日(yyyyMMdd)
  9831. type: string
  9832. updatetime:
  9833. description: 更新时间(申请时间)
  9834. type: string
  9835. userid:
  9836. description: 用户id
  9837. type: integer
  9838. userinfotype:
  9839. description: 账户类型 1-个人 2-企业
  9840. type: integer
  9841. type: object
  9842. models.QhjAgreementChangeLog:
  9843. properties:
  9844. agreementcontent:
  9845. description: 协议内容
  9846. type: string
  9847. agreementfrequency:
  9848. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  9849. type: integer
  9850. agreementid:
  9851. description: 协议ID
  9852. type: integer
  9853. agreementname:
  9854. description: 协议名称
  9855. type: string
  9856. agreementno:
  9857. description: 协议编号
  9858. type: string
  9859. agreementtype:
  9860. description: 协议类型 - 1:注册 2:登录 3:交易
  9861. type: integer
  9862. agreementversion:
  9863. description: 协议版本号
  9864. type: integer
  9865. logid:
  9866. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  9867. type: integer
  9868. reviserid:
  9869. description: 修改人
  9870. type: integer
  9871. revisersrc:
  9872. description: 修改来源 - 1:管理端 2:终端
  9873. type: integer
  9874. updatetime:
  9875. description: 更新时间
  9876. type: string
  9877. type: object
  9878. models.QhjAgreementConfig:
  9879. properties:
  9880. agreementcontent:
  9881. description: 协议内容
  9882. type: string
  9883. agreementfrequency:
  9884. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  9885. type: integer
  9886. agreementid:
  9887. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  9888. type: integer
  9889. agreementname:
  9890. description: 协议名称
  9891. type: string
  9892. agreementno:
  9893. description: 协议编号
  9894. type: string
  9895. agreementtype:
  9896. description: 协议类型 - 1:注册 2:登录 3:交易
  9897. type: integer
  9898. agreementversion:
  9899. description: 协议版本号(从1开始每次修改加1)
  9900. type: integer
  9901. createtime:
  9902. description: 创建时间
  9903. type: string
  9904. creatorid:
  9905. description: 创建人
  9906. type: integer
  9907. creatorsrc:
  9908. description: 创建来源 - 1:管理端 2:终端
  9909. type: integer
  9910. isvalid:
  9911. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  9912. type: integer
  9913. reviserid:
  9914. description: 修改人
  9915. type: integer
  9916. revisersrc:
  9917. description: 修改来源 - 1:管理端 2:终端
  9918. type: integer
  9919. updatetime:
  9920. description: 更新时间
  9921. type: string
  9922. type: object
  9923. models.QhjAreaFinanceConfig:
  9924. properties:
  9925. additionalratio:
  9926. description: 追加款比例
  9927. type: number
  9928. advanceratio:
  9929. description: 预付款比例
  9930. type: number
  9931. alarmratio:
  9932. description: 告警比例
  9933. type: number
  9934. consumptiondirectreward:
  9935. description: 消费直推奖励值
  9936. type: number
  9937. consumptionenabled:
  9938. description: 是否启用消费奖励 - 0:不启用 1:启用
  9939. type: integer
  9940. consumptionindirectreward:
  9941. description: 消费间推奖励值
  9942. type: number
  9943. consumptionmodel:
  9944. description: 消费奖励方式 - 1:比率 2:固定
  9945. type: integer
  9946. customerservicenum:
  9947. description: 客服电话
  9948. type: string
  9949. dayinterestrate:
  9950. description: 日利率
  9951. type: number
  9952. disableconsumptiontips:
  9953. description: 关闭消费奖励提示
  9954. type: string
  9955. modifierid:
  9956. description: 修改人ID
  9957. type: integer
  9958. modifysrc:
  9959. description: 审核来源 - 1:管理端 2:终端
  9960. type: integer
  9961. modifytime:
  9962. description: 修改时间
  9963. type: string
  9964. promotionvalue:
  9965. description: 推广奖励值(固定)
  9966. type: number
  9967. scoreconfigvalue1:
  9968. description: 提货积分配置1
  9969. type: integer
  9970. scoreconfigvalue2:
  9971. description: 提货积分配置2
  9972. type: integer
  9973. userid:
  9974. description: 机构用户ID其他做市关系,都设置为 1
  9975. type: integer
  9976. username:
  9977. description: 用户名称
  9978. type: string
  9979. type: object
  9980. models.QhjBankAccountSign:
  9981. properties:
  9982. accountcode:
  9983. description: 资金账号
  9984. type: string
  9985. accountname:
  9986. description: 资金账号对应的账号名(UserName)
  9987. type: string
  9988. accountname2:
  9989. description: 资金账号对应的账号名(UserName) - 密文
  9990. type: string
  9991. accounttype:
  9992. description: 账户类型(UserType)
  9993. type: integer
  9994. applicationtime:
  9995. description: 最后一次更新的时间
  9996. type: string
  9997. applyexchticket:
  9998. description: 申请流水
  9999. type: string
  10000. auditid:
  10001. description: 审核人
  10002. type: integer
  10003. audittime:
  10004. description: 审核时间
  10005. type: string
  10006. bankaccountname:
  10007. description: 签约银行卡账号名
  10008. type: string
  10009. bankaccountname2:
  10010. description: 签约银行卡账号名 - 密文
  10011. type: string
  10012. bankaccountno:
  10013. description: 银行卡号
  10014. type: string
  10015. bankaccountno2:
  10016. description: 银行卡号 - 密文
  10017. type: string
  10018. bankaccounttype:
  10019. description: 银行账户类型 - 1-对私; 2-对公
  10020. type: integer
  10021. bankcardtype:
  10022. description: 银行卡类型
  10023. type: integer
  10024. bankchildaccount:
  10025. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  10026. type: string
  10027. bankcity:
  10028. description: 开户行城市
  10029. type: string
  10030. bankid:
  10031. description: 签约银行ID
  10032. type: string
  10033. bankname:
  10034. description: 签约银行名称
  10035. type: string
  10036. bankprovince:
  10037. description: 开户行省份
  10038. type: string
  10039. branchbankid:
  10040. description: 签约银行支行号
  10041. type: string
  10042. branchbankname:
  10043. description: 签约银行支行名称
  10044. type: string
  10045. cardno:
  10046. description: 证件号码
  10047. type: string
  10048. cardno2:
  10049. description: 证件号码 - 密文
  10050. type: string
  10051. cardtype:
  10052. description: 证件类型
  10053. type: string
  10054. currency:
  10055. description: 币种
  10056. type: string
  10057. cusbankid:
  10058. description: 托管银行编号
  10059. type: string
  10060. direct:
  10061. description: 方向(可以判断那方先发起的签约)
  10062. type: integer
  10063. exchticket:
  10064. description: 最后一次签约成功的流水号
  10065. type: string
  10066. extendinfo:
  10067. description: 扩展信息(JSON字符串)
  10068. type: string
  10069. mobilephone:
  10070. description: 手机号
  10071. type: string
  10072. mobilephone2:
  10073. description: 手机号 - 密文
  10074. type: string
  10075. netaddr:
  10076. description: 调转网址
  10077. type: string
  10078. relateduserid:
  10079. description: 关联使用者userid
  10080. type: integer
  10081. signstatus:
  10082. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中 10:审核拒绝 11:换签待审核
  10083. type: integer
  10084. updatetime:
  10085. description: 更新时间(签解约更新时间)
  10086. type: string
  10087. type: object
  10088. models.QhjBankInfo:
  10089. properties:
  10090. bankid:
  10091. description: 银行ID
  10092. type: string
  10093. bankname:
  10094. description: 银行名称
  10095. type: string
  10096. clearbankno:
  10097. description: 清算系统银行编号
  10098. type: string
  10099. orderindex:
  10100. description: 排序顺序
  10101. type: integer
  10102. status:
  10103. description: 状态 - 0:正常 1:注销
  10104. type: integer
  10105. type: object
  10106. models.QhjBrokerApply:
  10107. properties:
  10108. applicantid:
  10109. description: 申请人
  10110. type: integer
  10111. applysrc:
  10112. description: 申请来源 - 1:管理端 2:终端
  10113. type: integer
  10114. applystatus:
  10115. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  10116. type: integer
  10117. applytime:
  10118. description: 申请时间
  10119. type: string
  10120. auditorid:
  10121. description: 审核人
  10122. type: integer
  10123. auditremark:
  10124. description: 审核备注
  10125. type: string
  10126. auditsrc:
  10127. description: 审核来源 - 1:管理端 2:终端
  10128. type: integer
  10129. audittime:
  10130. description: 审核时间
  10131. type: string
  10132. audittradedate:
  10133. description: 审核交易日(yyyyMMdd)
  10134. type: string
  10135. brokerapplyid:
  10136. description: 申请ID(SEQ_BROKERAPPLY)
  10137. type: integer
  10138. cardbackphotourl:
  10139. description: 证件背面图片地址
  10140. type: string
  10141. cardfrontphotourl:
  10142. description: 证件正面图片地址
  10143. type: string
  10144. cardnum:
  10145. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  10146. type: string
  10147. customername:
  10148. description: 姓名
  10149. type: string
  10150. logincode:
  10151. description: 登录代码
  10152. type: string
  10153. mobile:
  10154. description: 手机号码
  10155. type: string
  10156. parentuserid:
  10157. description: 所属机构id
  10158. type: integer
  10159. parentusername:
  10160. description: 所属机构名称
  10161. type: string
  10162. refereeuserid:
  10163. description: 推荐人id(经纪人)
  10164. type: integer
  10165. refernum:
  10166. description: 推荐码
  10167. type: string
  10168. remark:
  10169. description: 备注
  10170. type: string
  10171. subarealevelpath:
  10172. description: 层级路径
  10173. type: string
  10174. tradedate:
  10175. description: 交易日(yyyyMMdd)
  10176. type: string
  10177. userid:
  10178. description: 申请人用户ID
  10179. type: integer
  10180. userinfotype:
  10181. description: 用户类型 1-个人 2-企业
  10182. type: integer
  10183. username:
  10184. description: 用户名称
  10185. type: string
  10186. type: object
  10187. models.QhjBrokerApplyEx:
  10188. properties:
  10189. applylist:
  10190. description: 经纪人申请记录(只返回最新一条)
  10191. items:
  10192. $ref: '#/definitions/models.QhjBrokerApply'
  10193. type: array
  10194. canrecommend:
  10195. description: 是否经纪人 0-不是 1-是
  10196. type: integer
  10197. refernum:
  10198. description: 推荐码
  10199. type: string
  10200. userid:
  10201. description: 用户id
  10202. type: integer
  10203. userinfotype:
  10204. description: 用户类型 1-个人 2-企业
  10205. type: integer
  10206. type: object
  10207. models.QhjBrokerRewardLog:
  10208. properties:
  10209. accountid:
  10210. description: 资金账号ID
  10211. type: integer
  10212. createtime:
  10213. description: 创建时间(时间)
  10214. type: string
  10215. handlestatus:
  10216. description: 处理状态
  10217. type: integer
  10218. logid:
  10219. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10220. type: string
  10221. marketid:
  10222. description: 市场ID
  10223. type: integer
  10224. mmaccountid:
  10225. description: 做市商资金账号ID
  10226. type: string
  10227. mmuserid:
  10228. description: 做市商用户ID
  10229. type: string
  10230. rewardamount:
  10231. description: 奖励金额
  10232. type: number
  10233. rewardmodel:
  10234. description: 消费奖励方式 - 1:比率 2:固定
  10235. type: integer
  10236. rewardtype:
  10237. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  10238. type: integer
  10239. rewardvalue:
  10240. description: 配置奖励值
  10241. type: number
  10242. srcamount:
  10243. description: 成交金额 [消费奖励] (金额)
  10244. type: number
  10245. srcgoodsid:
  10246. description: 来源商品ID [消费奖励]
  10247. type: string
  10248. srctime:
  10249. description: 来源时间 (成交时间) [消费奖励]
  10250. type: string
  10251. srctradeid:
  10252. description: 来源成交单ID [消费奖励] - 排除提货成交
  10253. type: string
  10254. srcuserid:
  10255. description: 来源用户ID(推广账户)
  10256. type: string
  10257. srcusername:
  10258. description: 推广账户名称
  10259. type: string
  10260. tradedate:
  10261. description: 交易日(yyyyMMdd)
  10262. type: string
  10263. userid:
  10264. description: 经纪人用户ID
  10265. type: integer
  10266. type: object
  10267. models.QhjContract:
  10268. properties:
  10269. contractconfirmtime:
  10270. description: 合同确认时间(时间)
  10271. type: string
  10272. currisklevel:
  10273. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  10274. type: integer
  10275. decimalplace:
  10276. description: 商品报价小数位
  10277. type: integer
  10278. enumdicname:
  10279. description: 单位名称
  10280. type: string
  10281. goodscode:
  10282. description: 商品代码
  10283. type: string
  10284. goodsid:
  10285. description: 商品ID [5:融资单]
  10286. type: integer
  10287. goodsname:
  10288. description: 商品名称
  10289. type: string
  10290. goodunitid:
  10291. description: 商品单位id
  10292. type: integer
  10293. initmargin:
  10294. description: 初始保证金(首付款)
  10295. type: number
  10296. lenderamount:
  10297. description: 贷款金额(总额|订单总额)
  10298. type: number
  10299. marginratio:
  10300. description: 保证金比率(首付比例)
  10301. type: number
  10302. payamount:
  10303. description: 已付(已付货款)
  10304. type: number
  10305. reckonrecovermargin:
  10306. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10307. type: number
  10308. recoveredmargin:
  10309. description: 已追缴保证金
  10310. type: number
  10311. remainamount:
  10312. description: 合同剩余金额(融资额)
  10313. type: number
  10314. scfcontractid:
  10315. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10316. type: string
  10317. scfcontractstatus:
  10318. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交
  10319. type: integer
  10320. scfcontracttype:
  10321. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10322. type: integer
  10323. totalinterest:
  10324. description: 已计总利息(利息)
  10325. type: number
  10326. tradeprice:
  10327. description: 成交价格(成本价格)
  10328. type: number
  10329. userid:
  10330. description: 用户ID
  10331. type: integer
  10332. username:
  10333. description: 用户名称
  10334. type: string
  10335. wrqty:
  10336. description: 仓单数量(数量)
  10337. type: number
  10338. type: object
  10339. models.QhjContractLog:
  10340. properties:
  10341. amount:
  10342. description: 支付金额
  10343. type: number
  10344. amounttype:
  10345. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  10346. type: integer
  10347. logid:
  10348. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10349. type: string
  10350. remainamount:
  10351. description: 剩余货款
  10352. type: number
  10353. scfcontractid:
  10354. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10355. type: integer
  10356. updatetime:
  10357. description: 更新时间
  10358. type: string
  10359. type: object
  10360. models.QhjCusBankSignBankEx:
  10361. properties:
  10362. banklst:
  10363. description: 银行列表
  10364. items:
  10365. $ref: '#/definitions/models.QhjBankInfo'
  10366. type: array
  10367. canallot:
  10368. description: 是否支持跨行调拨 - 0:不支持 1:支持
  10369. type: integer
  10370. canallotquery:
  10371. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  10372. type: integer
  10373. canbindcard:
  10374. description: 是否可绑卡与解卡 - 0:不可 1:可以
  10375. type: integer
  10376. caninamount:
  10377. description: 是否可入金 - 0:不可 1:可以
  10378. type: integer
  10379. caninamount2:
  10380. description: 是否可入金(网银端) - 0:不可 1:可以
  10381. type: integer
  10382. canmodifybankcard:
  10383. description: 是否可修改银行卡号 - 0:不可 1:可以
  10384. type: integer
  10385. canmodifyphone:
  10386. description: 是否可修改手机号 - 0:不可 1:可以
  10387. type: integer
  10388. canmodifysigninfo:
  10389. description: 是否可修改签约信息 - 0:不可 1:可以
  10390. type: integer
  10391. canoutamount:
  10392. description: 是否可出金 - 0:不可 1:可以
  10393. type: integer
  10394. canoutamount2:
  10395. description: 是否可出金(网银端) - 0:不可 1:可以
  10396. type: integer
  10397. canrelease:
  10398. description: 是否可解约 - 0:不可 1:可以
  10399. type: integer
  10400. canrelease2:
  10401. description: 是否可解约(网银端) - 0:不可 1:可以
  10402. type: integer
  10403. cansign:
  10404. description: 是否可签约 - 0:不可 1:可以
  10405. type: integer
  10406. cansign2:
  10407. description: 是否可签约(网银端) - 0:不可 1:可以
  10408. type: integer
  10409. currency:
  10410. description: 币种
  10411. type: string
  10412. cusbankid:
  10413. description: 托管银行编号(对应清算中心TRAN_NO)
  10414. type: string
  10415. cusbankname:
  10416. description: 银行业务名称
  10417. type: string
  10418. cusbankshortname:
  10419. description: 银行业务简称
  10420. type: string
  10421. exchbankid:
  10422. description: 交易所开户银行ID
  10423. type: string
  10424. exchpaybankaccname:
  10425. description: 交易所支出结算账户户名
  10426. type: string
  10427. exchpaybankaccno:
  10428. description: 交易所支出结算账户
  10429. type: string
  10430. isneedcheck:
  10431. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  10432. type: integer
  10433. isneedclear:
  10434. description: 是否需要清算 - 0:不需要 1:需要
  10435. type: integer
  10436. lastcheckstatus:
  10437. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  10438. type: integer
  10439. lastchecktime:
  10440. description: 最后对账时间
  10441. type: string
  10442. lastclearstatus:
  10443. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  10444. type: integer
  10445. lastcleartime:
  10446. description: 最后清算时间
  10447. type: string
  10448. lastsignintime:
  10449. description: 最后签到时间
  10450. type: string
  10451. lastsignouttime:
  10452. description: 最后签退时间
  10453. type: string
  10454. riskinfo:
  10455. description: 签约风险提示书
  10456. type: string
  10457. signstatus:
  10458. description: 当前签到/签退状态 - 1:签到 2:签退
  10459. type: integer
  10460. tradedate:
  10461. description: 交易日(yyyyMMdd)
  10462. type: string
  10463. updatetime:
  10464. description: 当前签到/签退更新时间
  10465. type: string
  10466. type: object
  10467. models.QhjCustomer:
  10468. properties:
  10469. address:
  10470. description: 通讯地址
  10471. type: string
  10472. attachment1:
  10473. description: 附件1
  10474. type: string
  10475. audittime:
  10476. description: 审核时间
  10477. type: string
  10478. cardbackphotourl:
  10479. description: 证件反面图片地址
  10480. type: string
  10481. cardfrontphotourl:
  10482. description: 证件正面图片地址
  10483. type: string
  10484. cardnum:
  10485. description: 证件号码
  10486. type: string
  10487. cardtype:
  10488. description: 证件类型
  10489. type: integer
  10490. cardtypename:
  10491. description: 证件类型名称
  10492. type: string
  10493. cityid:
  10494. description: 市
  10495. type: integer
  10496. cityname:
  10497. description: 城市名称
  10498. type: string
  10499. contactname:
  10500. description: 联系人
  10501. type: string
  10502. countryid:
  10503. description: 国家
  10504. type: integer
  10505. countryname:
  10506. description: 国家名称
  10507. type: string
  10508. createtime:
  10509. description: 创建时间
  10510. type: string
  10511. customername:
  10512. description: 客户名称
  10513. type: string
  10514. districtid:
  10515. description: 区域
  10516. type: integer
  10517. districtname:
  10518. description: 地区名称
  10519. type: string
  10520. email:
  10521. description: 邮件
  10522. type: string
  10523. legalpersonname:
  10524. description: 法人姓名(企业)
  10525. type: string
  10526. logincode:
  10527. description: 登录账号(代码)
  10528. type: string
  10529. memberuserid:
  10530. description: 所属机构ID(所属会员)
  10531. type: integer
  10532. memberusername:
  10533. description: 所属会员名称
  10534. type: string
  10535. mobile:
  10536. description: 手机号码
  10537. type: string
  10538. modifytime:
  10539. description: 修改时间
  10540. type: string
  10541. nickname:
  10542. description: 昵称
  10543. type: string
  10544. parentuserid:
  10545. description: 上级机构(所属机构)
  10546. type: integer
  10547. parentusername:
  10548. description: 所属机构名称
  10549. type: string
  10550. provinceid:
  10551. description: 省
  10552. type: integer
  10553. provincename:
  10554. description: 省名称
  10555. type: string
  10556. proxystatementurl:
  10557. description: 授权委托书
  10558. type: string
  10559. remark:
  10560. description: 备注
  10561. type: string
  10562. status:
  10563. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  10564. type: integer
  10565. statusdesc:
  10566. description: 账户状态中文描述
  10567. type: string
  10568. taxpayernum:
  10569. description: 纳税人识别号
  10570. type: string
  10571. telphone:
  10572. description: 联系电话
  10573. type: string
  10574. userid:
  10575. description: 用户ID
  10576. type: integer
  10577. userinfotype:
  10578. description: 客户类型 1-个人 2-企业
  10579. type: integer
  10580. username:
  10581. description: 用户名称
  10582. type: string
  10583. type: object
  10584. models.QhjCustomerSignLog:
  10585. properties:
  10586. agreementcontent:
  10587. description: 协议内容
  10588. type: string
  10589. agreementid:
  10590. description: 协议ID
  10591. type: integer
  10592. agreementname:
  10593. description: 协议名称
  10594. type: string
  10595. agreementno:
  10596. description: 协议编号
  10597. type: string
  10598. agreementtype:
  10599. description: 协议类型 - 1:注册 2:登录 3:交易
  10600. type: integer
  10601. agreementversion:
  10602. description: 协议版本号
  10603. type: integer
  10604. createtime:
  10605. description: 创建时间
  10606. type: string
  10607. goodscode:
  10608. description: 商品代码
  10609. type: string
  10610. goodsid:
  10611. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  10612. type: integer
  10613. goodsname:
  10614. description: 商品名称
  10615. type: string
  10616. logid:
  10617. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  10618. type: integer
  10619. nodetype:
  10620. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  10621. type: integer
  10622. signadressurl:
  10623. description: 签约文件地址
  10624. type: string
  10625. signtimestamp:
  10626. description: 签约状态时间戳
  10627. type: string
  10628. userid:
  10629. description: 客户ID
  10630. type: integer
  10631. username:
  10632. description: 客户名称
  10633. type: string
  10634. type: object
  10635. models.QhjCustomerSignStatus:
  10636. properties:
  10637. createtime:
  10638. description: 创建时间
  10639. type: string
  10640. goodscode:
  10641. description: 商品代码
  10642. type: string
  10643. goodsid:
  10644. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  10645. type: integer
  10646. goodsname:
  10647. description: 商品名称
  10648. type: string
  10649. nodetype:
  10650. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  10651. type: integer
  10652. signtimestamp:
  10653. description: 签约状态时间戳
  10654. type: string
  10655. tradedate:
  10656. description: 创建交易日(yyyyMMdd)
  10657. type: string
  10658. updatetime:
  10659. description: 更新时间
  10660. type: string
  10661. userid:
  10662. description: 客户ID
  10663. type: integer
  10664. username:
  10665. description: 客户名称
  10666. type: string
  10667. type: object
  10668. models.QhjMgrAccountOutInApply:
  10669. properties:
  10670. accountcode:
  10671. description: 资金账号
  10672. type: string
  10673. accountname:
  10674. description: 用户名称(名称)
  10675. type: string
  10676. accountpwd:
  10677. description: 资金密码
  10678. type: string
  10679. accountticket:
  10680. description: 最新账户服务流水号
  10681. type: string
  10682. amount:
  10683. description: 金额
  10684. type: number
  10685. applyremark:
  10686. description: 申请备注
  10687. type: string
  10688. applystatus:
  10689. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败; 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22: 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  10690. type: integer
  10691. auditid:
  10692. description: 审核人
  10693. type: integer
  10694. audittime:
  10695. description: 审核时间
  10696. type: string
  10697. bank_apply_ticket:
  10698. description: 银行申请流水
  10699. type: string
  10700. bankaccountname:
  10701. description: 银行账户名
  10702. type: string
  10703. bankaccountno:
  10704. description: 银行卡号
  10705. type: string
  10706. bankid:
  10707. description: 银行编号
  10708. type: string
  10709. bankname:
  10710. description: 银行名称
  10711. type: string
  10712. bankticket:
  10713. description: 银行流水
  10714. type: string
  10715. branchbankid:
  10716. description: 银行支行号
  10717. type: string
  10718. branchbankname:
  10719. description: 银行支行名称
  10720. type: string
  10721. capamountout:
  10722. description: 出金(劣后本金) - 外部子账户
  10723. type: number
  10724. certificatephotourl:
  10725. description: 凭证地址
  10726. type: string
  10727. charge:
  10728. description: 手续费
  10729. type: number
  10730. checkerrorflag:
  10731. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  10732. type: integer
  10733. currency:
  10734. description: 币种
  10735. type: string
  10736. cusbankid:
  10737. description: 托管银行编号
  10738. type: string
  10739. exchticket:
  10740. description: 银行服务流水号
  10741. type: string
  10742. executetype:
  10743. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金 7:外部子账户:入金 8:外部子账户:出金'
  10744. type: integer
  10745. extendinfo:
  10746. description: 扩展信息
  10747. type: string
  10748. extoperateid:
  10749. description: 交易服务流水号
  10750. type: integer
  10751. infamount:
  10752. description: 劣后金额(自有)
  10753. type: number
  10754. logincode:
  10755. description: 登录账号(账号)
  10756. type: string
  10757. netaddr:
  10758. description: 调转网址
  10759. type: string
  10760. priamount:
  10761. description: 优先金额(授信)
  10762. type: number
  10763. reauditid:
  10764. description: 复审人
  10765. type: integer
  10766. reauditremark:
  10767. description: 复审备注
  10768. type: string
  10769. reaudittime:
  10770. description: 复审时间
  10771. type: string
  10772. relatedorderid:
  10773. description: 三方关联ID
  10774. type: string
  10775. remark:
  10776. description: 备注
  10777. type: string
  10778. remark2:
  10779. description: 备注(失败原因)
  10780. type: string
  10781. soucreamount:
  10782. description: 原始出入金金额
  10783. type: number
  10784. soucrecurrencyid:
  10785. description: 原始出入金币种
  10786. type: integer
  10787. tradedate:
  10788. description: 交易日(yyyyMMdd)
  10789. type: string
  10790. updatetime:
  10791. description: 更新时间(申请时间)
  10792. type: string
  10793. userid:
  10794. description: 用户id
  10795. type: integer
  10796. userinfotype:
  10797. description: 账户类型 1-个人 2-企业
  10798. type: integer
  10799. type: object
  10800. models.QhjMgrBrokerApply:
  10801. properties:
  10802. applicantid:
  10803. description: 申请人
  10804. type: integer
  10805. applysrc:
  10806. description: 申请来源 - 1:管理端 2:终端
  10807. type: integer
  10808. applystatus:
  10809. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  10810. type: integer
  10811. applytime:
  10812. description: 申请时间
  10813. type: string
  10814. auditorid:
  10815. description: 审核人
  10816. type: integer
  10817. auditremark:
  10818. description: 审核备注
  10819. type: string
  10820. auditsrc:
  10821. description: 审核来源 - 1:管理端 2:终端
  10822. type: integer
  10823. audittime:
  10824. description: 审核时间
  10825. type: string
  10826. audittradedate:
  10827. description: 审核交易日(yyyyMMdd)
  10828. type: string
  10829. brokerapplyid:
  10830. description: 申请ID(SEQ_BROKERAPPLY)
  10831. type: integer
  10832. cardbackphotourl:
  10833. description: 证件背面图片地址
  10834. type: string
  10835. cardfrontphotourl:
  10836. description: 证件正面图片地址
  10837. type: string
  10838. cardnum:
  10839. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  10840. type: string
  10841. customername:
  10842. description: 姓名
  10843. type: string
  10844. filterstatus:
  10845. description: 筛选条件
  10846. type: string
  10847. logincode:
  10848. description: 登录代码
  10849. type: string
  10850. mobile:
  10851. description: 手机号码
  10852. type: string
  10853. parentuserid:
  10854. description: 所属机构id
  10855. type: integer
  10856. parentusername:
  10857. description: 所属机构名称
  10858. type: string
  10859. refereeuserid:
  10860. description: 推荐人id(经纪人)
  10861. type: integer
  10862. refernum:
  10863. description: 推荐码
  10864. type: string
  10865. remark:
  10866. description: 备注
  10867. type: string
  10868. subarealevelpath:
  10869. description: 层级路径
  10870. type: string
  10871. tradedate:
  10872. description: 交易日(yyyyMMdd)
  10873. type: string
  10874. userid:
  10875. description: 申请人用户ID
  10876. type: integer
  10877. userinfotype:
  10878. description: 用户类型 1-个人 2-企业
  10879. type: integer
  10880. username:
  10881. description: 用户名称
  10882. type: string
  10883. type: object
  10884. models.QhjMgrBrokerRewardReport:
  10885. properties:
  10886. createtime:
  10887. description: 创建时间(注册时间)
  10888. type: string
  10889. cycletime:
  10890. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  10891. type: string
  10892. cycletype:
  10893. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  10894. type: integer
  10895. directtotalnum:
  10896. description: 直推总人数【期末】
  10897. type: integer
  10898. indirecttotalnum:
  10899. description: 间推总人数【期末】
  10900. type: integer
  10901. mobile:
  10902. description: 电话号码
  10903. type: string
  10904. refereeuserid:
  10905. description: 推荐人id(经纪人id)
  10906. type: integer
  10907. refereeusername:
  10908. description: 推荐人名称(经纪人) 上级经纪人名称
  10909. type: string
  10910. refernum:
  10911. description: 推荐码
  10912. type: string
  10913. subarealevelpath:
  10914. description: 用户层级路径
  10915. type: string
  10916. todayrewardamount:
  10917. description: 奖励总金额【汇总】
  10918. type: number
  10919. updatetime:
  10920. description: 更新时间
  10921. type: string
  10922. userid:
  10923. description: 经纪人用户ID
  10924. type: integer
  10925. userinfotype:
  10926. description: 用户类型 1-个人 2-企业
  10927. type: integer
  10928. username:
  10929. description: 用户名称
  10930. type: string
  10931. type: object
  10932. models.QhjMgrContract:
  10933. properties:
  10934. contractconfirmtime:
  10935. description: 合同确认时间(时间)
  10936. type: string
  10937. currisklevel:
  10938. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  10939. type: integer
  10940. decimalplace:
  10941. description: 商品报价小数位
  10942. type: integer
  10943. enumdicname:
  10944. description: 单位名称
  10945. type: string
  10946. goodscode:
  10947. description: 商品代码
  10948. type: string
  10949. goodsid:
  10950. description: 商品ID [5:融资单]
  10951. type: integer
  10952. goodsname:
  10953. description: 商品名称
  10954. type: string
  10955. goodunitid:
  10956. description: 商品单位id
  10957. type: integer
  10958. initmargin:
  10959. description: 初始保证金(首付款)
  10960. type: number
  10961. lenderamount:
  10962. description: 贷款金额(总额|订单总额)
  10963. type: number
  10964. logincode:
  10965. description: 账号(登录代码)
  10966. type: string
  10967. marginratio:
  10968. description: 保证金比率(首付比例)
  10969. type: number
  10970. mobile:
  10971. description: 电话号码(用户资料里的电话)
  10972. type: string
  10973. payamount:
  10974. description: 已付(已付货款)
  10975. type: number
  10976. reckonrecovermargin:
  10977. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10978. type: number
  10979. recoveredmargin:
  10980. description: 已追缴保证金
  10981. type: number
  10982. remainamount:
  10983. description: 合同剩余金额(融资额)
  10984. type: number
  10985. scfcontractid:
  10986. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10987. type: string
  10988. scfcontractstatus:
  10989. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交
  10990. type: integer
  10991. scfcontracttype:
  10992. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10993. type: integer
  10994. totalinterest:
  10995. description: 已计总利息(利息)
  10996. type: number
  10997. tradedate:
  10998. description: 交易日
  10999. type: string
  11000. tradeprice:
  11001. description: 成交价格(成本价格)
  11002. type: number
  11003. userid:
  11004. description: 用户ID
  11005. type: integer
  11006. userinfotype:
  11007. description: 用户类型 1-个人 2-企业
  11008. type: integer
  11009. username:
  11010. description: 用户名称
  11011. type: string
  11012. wrqty:
  11013. description: 仓单数量(数量)
  11014. type: number
  11015. type: object
  11016. models.QhjMgrCustomer:
  11017. properties:
  11018. address:
  11019. description: 通讯地址
  11020. type: string
  11021. attachment1:
  11022. description: 附件1
  11023. type: string
  11024. audittime:
  11025. description: 审核时间
  11026. type: string
  11027. birthday:
  11028. description: 生日
  11029. type: string
  11030. brokerid:
  11031. description: 所属客户经理id
  11032. type: integer
  11033. brokername:
  11034. description: 所属客户经理名称
  11035. type: string
  11036. cardbackphotourl:
  11037. description: 证件反面图片地址
  11038. type: string
  11039. cardfrontphotourl:
  11040. description: 证件正面图片地址
  11041. type: string
  11042. cardnum:
  11043. description: 证件号码
  11044. type: string
  11045. cardtype:
  11046. description: 证件类型
  11047. type: integer
  11048. cardtypename:
  11049. description: 证件类型名称
  11050. type: string
  11051. cityid:
  11052. description: 市
  11053. type: integer
  11054. cityname:
  11055. description: 城市名称
  11056. type: string
  11057. contactname:
  11058. description: 联系人
  11059. type: string
  11060. countryid:
  11061. description: 国家
  11062. type: integer
  11063. countryname:
  11064. description: 国家名称
  11065. type: string
  11066. createtime:
  11067. description: 创建时间
  11068. type: string
  11069. customername:
  11070. description: 客户名称
  11071. type: string
  11072. districtid:
  11073. description: 区域
  11074. type: integer
  11075. districtname:
  11076. description: 地区名称
  11077. type: string
  11078. email:
  11079. description: 邮件
  11080. type: string
  11081. legalpersonname:
  11082. description: 法人姓名(企业)
  11083. type: string
  11084. logincode:
  11085. description: 登录账号(代码)
  11086. type: string
  11087. memberuserid:
  11088. description: 所属机构ID(所属会员)
  11089. type: integer
  11090. memberusername:
  11091. description: 所属会员名称
  11092. type: string
  11093. mobile:
  11094. description: 手机号码
  11095. type: string
  11096. modifytime:
  11097. description: 修改时间
  11098. type: string
  11099. nickname:
  11100. description: 昵称
  11101. type: string
  11102. parentuserid:
  11103. description: 上级机构(所属机构)
  11104. type: integer
  11105. parentusername:
  11106. description: 所属机构名称
  11107. type: string
  11108. provinceid:
  11109. description: 省
  11110. type: integer
  11111. provincename:
  11112. description: 省名称
  11113. type: string
  11114. proxystatementurl:
  11115. description: 授权委托书
  11116. type: string
  11117. querytype:
  11118. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  11119. type: integer
  11120. remark:
  11121. description: 备注
  11122. type: string
  11123. sex:
  11124. description: 性别 0-女 1-男
  11125. type: integer
  11126. status:
  11127. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过 ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  11128. type: integer
  11129. statusdesc:
  11130. description: 账户状态中文描述
  11131. type: string
  11132. taxpayernum:
  11133. description: 纳税人识别号
  11134. type: string
  11135. telphone:
  11136. description: 联系电话
  11137. type: string
  11138. userid:
  11139. description: 用户ID
  11140. type: integer
  11141. userinfotype:
  11142. description: 客户类型 1-个人 2-企业
  11143. type: integer
  11144. username:
  11145. description: 用户名称
  11146. type: string
  11147. type: object
  11148. models.QhjMgrPickGoods:
  11149. properties:
  11150. enumdicname:
  11151. description: 单位名称(提货商品)
  11152. type: string
  11153. goodsid:
  11154. description: 商品id
  11155. type: integer
  11156. imageaddress:
  11157. description: 图片
  11158. type: string
  11159. modifierid:
  11160. description: 修改人
  11161. type: integer
  11162. modifiername:
  11163. description: 修改人名称
  11164. type: string
  11165. modifysrc:
  11166. description: 修改来源 - 1:管理端 2:终端
  11167. type: integer
  11168. pickupgoodsagreeunit:
  11169. description: 合约乘数
  11170. type: number
  11171. pickupgoodsdesc:
  11172. description: 描述
  11173. type: string
  11174. pickupgoodsid:
  11175. description: 提货商品ID
  11176. type: string
  11177. pickupgoodsname:
  11178. description: 提货商品名称
  11179. type: string
  11180. pickupgoodsstatus:
  11181. description: 状态 - 1:正常 2:停用 3:注销
  11182. type: integer
  11183. pickupgoodsunitid:
  11184. description: 单位ID
  11185. type: integer
  11186. pickupratio:
  11187. description: 提货系数
  11188. type: number
  11189. preparedays:
  11190. description: 备货期(天)
  11191. type: integer
  11192. remark:
  11193. description: 备注
  11194. type: string
  11195. updatetime:
  11196. description: 更新时间
  11197. type: string
  11198. type: object
  11199. models.QhjMgrPositionRsp:
  11200. properties:
  11201. accountid:
  11202. description: 账号Id
  11203. type: integer
  11204. accountname:
  11205. description: 用户名称
  11206. type: string
  11207. agreeunit:
  11208. description: 合约乘数
  11209. type: number
  11210. averageprice:
  11211. description: 均价
  11212. type: number
  11213. avialqty:
  11214. description: 可用数量
  11215. type: number
  11216. decimalplace:
  11217. description: 报价小数位
  11218. type: integer
  11219. enumdicname:
  11220. description: 单位名称(商品)
  11221. type: string
  11222. frozenqty:
  11223. description: 冻结数量
  11224. type: number
  11225. goodscode:
  11226. description: 商品代码(内部)
  11227. type: string
  11228. goodsid:
  11229. description: 商品Id
  11230. type: integer
  11231. goodsname:
  11232. description: 商品名称
  11233. type: string
  11234. goodunitid:
  11235. description: 报价单位ID
  11236. type: integer
  11237. holderamount:
  11238. description: 金额
  11239. type: number
  11240. holderqty:
  11241. description: 持有数量
  11242. type: number
  11243. holdertype:
  11244. description: 持仓类别 - 1:单边持仓 2:双边持仓
  11245. type: integer
  11246. logincode:
  11247. description: 登录代码(账户)
  11248. type: string
  11249. marketid:
  11250. description: 市场id
  11251. type: integer
  11252. qtydecimalplace:
  11253. description: 成交量小数位
  11254. type: integer
  11255. trademode:
  11256. description: 交易模式
  11257. type: integer
  11258. userid:
  11259. description: 用户id
  11260. type: integer
  11261. userinfotype:
  11262. description: 账户类型 1-个人 2-企业
  11263. type: integer
  11264. type: object
  11265. models.QhjMgrSubArea:
  11266. properties:
  11267. accountname:
  11268. description: 账户名称(机构名称)
  11269. type: string
  11270. memberuserid:
  11271. description: 所属会员ID
  11272. type: integer
  11273. parenttopuser:
  11274. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  11275. type: string
  11276. parentuserid:
  11277. description: 所属机构ID
  11278. type: integer
  11279. rootuserid:
  11280. description: 根用户ID
  11281. type: string
  11282. subaccountlevel:
  11283. description: 子账户层数
  11284. type: integer
  11285. subarealevelpath:
  11286. description: 子机构层级路径(逗号分隔,首尾加逗号)
  11287. type: string
  11288. userid:
  11289. description: 用户ID
  11290. type: integer
  11291. usertype:
  11292. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11293. type: integer
  11294. type: object
  11295. models.QhjMgrTradeDetailRsp:
  11296. properties:
  11297. accountid:
  11298. description: 资金账号
  11299. type: integer
  11300. accountname:
  11301. description: 用户名称
  11302. type: string
  11303. agreeunit:
  11304. description: 合约乘数
  11305. type: number
  11306. buyorsell:
  11307. description: 成交类型(方向) 0:买 1:卖
  11308. type: integer
  11309. decimalplace:
  11310. description: 报价小数位
  11311. type: integer
  11312. enumdicname:
  11313. description: 单位名称(商品)
  11314. type: string
  11315. goodscode:
  11316. description: 商品代码(内部)
  11317. type: string
  11318. goodsid:
  11319. description: 商品id
  11320. type: integer
  11321. goodsname:
  11322. description: 商品名称
  11323. type: string
  11324. goodunitid:
  11325. description: 报价单位ID
  11326. type: integer
  11327. logincode:
  11328. description: 登录代码(账户)
  11329. type: string
  11330. marketid:
  11331. description: 市场id
  11332. type: integer
  11333. orderid:
  11334. description: 关联委托单号
  11335. type: string
  11336. qtydecimalplace:
  11337. description: 成交量小数位
  11338. type: integer
  11339. tradeamount:
  11340. description: 金额
  11341. type: number
  11342. tradedate:
  11343. description: 交易日
  11344. type: string
  11345. tradeid:
  11346. description: 成交单号
  11347. type: string
  11348. trademode:
  11349. description: 交易模式
  11350. type: integer
  11351. tradeprice:
  11352. description: 价格
  11353. type: number
  11354. tradeqty:
  11355. description: 数量
  11356. type: number
  11357. tradetime:
  11358. description: 成交时间
  11359. type: string
  11360. userid:
  11361. description: 用户id
  11362. type: integer
  11363. userinfotype:
  11364. description: 账户类型 1-个人 2-企业
  11365. type: integer
  11366. type: object
  11367. models.QhjMgrTradeOrderDetailRsp:
  11368. properties:
  11369. accountid:
  11370. description: 资金账号
  11371. type: integer
  11372. accountname:
  11373. description: 用户名称
  11374. type: string
  11375. agreeunit:
  11376. description: 合约乘数
  11377. type: number
  11378. amount:
  11379. description: 金额
  11380. type: number
  11381. decimalplace:
  11382. description: 报价小数位
  11383. type: integer
  11384. enumdicname:
  11385. description: 单位名称(商品)
  11386. type: string
  11387. goodscode:
  11388. description: 商品代码(内部)
  11389. type: string
  11390. goodsid:
  11391. description: 商品id
  11392. type: integer
  11393. goodsname:
  11394. description: 商品名称
  11395. type: string
  11396. goodunitid:
  11397. description: 报价单位ID
  11398. type: integer
  11399. logincode:
  11400. description: 登录代码(账户)
  11401. type: string
  11402. marketid:
  11403. description: 市场id
  11404. type: integer
  11405. orderid:
  11406. description: 关联委托单号
  11407. type: string
  11408. orderprice:
  11409. description: 价格
  11410. type: number
  11411. orderqty:
  11412. description: 数量
  11413. type: number
  11414. orderstatus:
  11415. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  11416. type: integer
  11417. ordertime:
  11418. description: 委托时间
  11419. type: string
  11420. qtydecimalplace:
  11421. description: 成交量小数位
  11422. type: integer
  11423. tradedate:
  11424. description: 交易日
  11425. type: string
  11426. trademode:
  11427. description: 交易模式
  11428. type: integer
  11429. userid:
  11430. description: 用户id
  11431. type: integer
  11432. userinfotype:
  11433. description: 账户类型 1-个人 2-企业
  11434. type: integer
  11435. type: object
  11436. models.QhjMgrTradePayOrder:
  11437. properties:
  11438. accountname:
  11439. description: 用户名称
  11440. type: string
  11441. advanceratio:
  11442. description: 首付比率
  11443. type: number
  11444. agreeunit:
  11445. description: 合约乘数
  11446. type: number
  11447. buyaccountid:
  11448. description: 买方账号ID[报价币种]
  11449. type: integer
  11450. buyorderid:
  11451. description: 买方委托单号(关联单号)
  11452. type: string
  11453. createtime:
  11454. description: 创建时间
  11455. type: string
  11456. decimalplace:
  11457. description: 报价小数位
  11458. type: integer
  11459. enumdicname:
  11460. description: 单位名称(商品)
  11461. type: string
  11462. goodscode:
  11463. description: 商品代码(内部)
  11464. type: string
  11465. goodsid:
  11466. description: 商品ID
  11467. type: integer
  11468. goodsname:
  11469. description: 商品名称
  11470. type: string
  11471. goodunitid:
  11472. description: 报价单位ID
  11473. type: integer
  11474. logincode:
  11475. description: 登录代码(账户)
  11476. type: string
  11477. marketid:
  11478. description: 市场id
  11479. type: integer
  11480. offamount:
  11481. description: 优惠金额
  11482. type: number
  11483. operatetype:
  11484. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11485. type: integer
  11486. payamount:
  11487. description: 支付金额(金额)
  11488. type: number
  11489. payflag:
  11490. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11491. type: integer
  11492. paylimitedtime:
  11493. description: 支付期限
  11494. type: string
  11495. paytime:
  11496. description: 付款时间
  11497. type: string
  11498. qtydecimalplace:
  11499. description: 成交量小数位
  11500. type: integer
  11501. sellaccountid:
  11502. description: 卖方账号ID[报价币种]
  11503. type: integer
  11504. sellorderid:
  11505. description: 卖方委托单号
  11506. type: string
  11507. tradeamount:
  11508. description: 成交金额(优惠后金额)
  11509. type: number
  11510. tradecharge:
  11511. description: 成交手续费(买方)
  11512. type: number
  11513. tradedate:
  11514. description: 交易日(yyyyMMdd)
  11515. type: string
  11516. tradeid:
  11517. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11518. type: string
  11519. trademode:
  11520. description: 交易模式
  11521. type: integer
  11522. tradeprice:
  11523. description: 成交价格(价格)
  11524. type: number
  11525. tradeqty:
  11526. description: 成交数量(数量)
  11527. type: number
  11528. tradetime:
  11529. description: 成交时间
  11530. type: string
  11531. userid:
  11532. description: 用户id
  11533. type: integer
  11534. userinfotype:
  11535. description: 账户类型 1-个人 2-企业
  11536. type: integer
  11537. type: object
  11538. models.QhjMyTeamEx:
  11539. properties:
  11540. accountname:
  11541. description: 用户名称
  11542. type: string
  11543. accountstatus:
  11544. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  11545. type: integer
  11546. createtime:
  11547. description: 创建时间
  11548. type: string
  11549. mobile:
  11550. description: 手机号码
  11551. type: string
  11552. refereeuserid:
  11553. description: 推荐人id
  11554. type: integer
  11555. refernum:
  11556. description: 推荐码
  11557. type: string
  11558. subList:
  11559. items:
  11560. $ref: '#/definitions/models.QhjMyTeamEx'
  11561. type: array
  11562. userid:
  11563. description: 用户id
  11564. type: integer
  11565. userinfotype:
  11566. description: 用户类型 1-个人 2-企业
  11567. type: integer
  11568. type: object
  11569. models.QhjNodeAgreementConfig:
  11570. properties:
  11571. agreementcontent:
  11572. description: 协议内容
  11573. type: string
  11574. agreementid:
  11575. description: 协议ID
  11576. type: integer
  11577. agreementname:
  11578. description: 协议名称
  11579. type: string
  11580. agreementno:
  11581. description: 协议编号
  11582. type: string
  11583. agreementtype:
  11584. description: 协议类型 - 1:注册 2:登录 3:交易
  11585. type: integer
  11586. agreementversion:
  11587. description: 协议版本号
  11588. type: integer
  11589. configid:
  11590. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  11591. type: integer
  11592. createtime:
  11593. description: 创建时间
  11594. type: string
  11595. goodsid:
  11596. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11597. type: integer
  11598. nodetype:
  11599. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  11600. type: integer
  11601. type: object
  11602. models.QhjParentAreaList:
  11603. properties:
  11604. accountname:
  11605. description: 账户名称(机构名称)
  11606. type: string
  11607. userid:
  11608. description: 用户ID
  11609. type: integer
  11610. usertype:
  11611. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11612. type: integer
  11613. type: object
  11614. models.QhjPayOrder:
  11615. properties:
  11616. advanceratio:
  11617. description: 首付比率
  11618. type: number
  11619. buyaccountid:
  11620. description: 买方账号ID[报价币种]
  11621. type: integer
  11622. buyorderid:
  11623. description: 买方委托单号
  11624. type: string
  11625. createtime:
  11626. description: 创建时间
  11627. type: string
  11628. decimalplace:
  11629. description: 商品报价小数位
  11630. type: integer
  11631. enumdicname:
  11632. description: 单位名称
  11633. type: string
  11634. goodscode:
  11635. description: 商品代码
  11636. type: string
  11637. goodsid:
  11638. description: 商品ID
  11639. type: integer
  11640. goodsname:
  11641. description: 商品名称
  11642. type: string
  11643. goodunitid:
  11644. description: 商品单位id
  11645. type: integer
  11646. marketid:
  11647. description: 市场ID
  11648. type: integer
  11649. offamount:
  11650. description: 优惠金额
  11651. type: number
  11652. operatetype:
  11653. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11654. type: integer
  11655. payamount:
  11656. description: 支付金额
  11657. type: number
  11658. payflag:
  11659. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11660. type: integer
  11661. paylimitedtime:
  11662. description: 支付期限
  11663. type: string
  11664. paytime:
  11665. description: 付款时间
  11666. type: string
  11667. qtydecimalplace:
  11668. description: 成交量小数位
  11669. type: integer
  11670. sellaccountid:
  11671. description: 卖方账号ID[报价币种]
  11672. type: integer
  11673. sellorderid:
  11674. description: 卖方委托单号
  11675. type: string
  11676. tradeamount:
  11677. description: 成交金额(优惠后金额)
  11678. type: number
  11679. tradecharge:
  11680. description: 成交手续费(买方)
  11681. type: number
  11682. tradedate:
  11683. description: 交易日(yyyyMMdd)
  11684. type: string
  11685. tradeid:
  11686. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11687. type: string
  11688. tradeprice:
  11689. description: 成交价格
  11690. type: number
  11691. tradeqty:
  11692. description: 成交数量
  11693. type: number
  11694. type: object
  11695. models.QhjPickArea:
  11696. properties:
  11697. address:
  11698. description: 详细地址
  11699. type: string
  11700. cityid:
  11701. description: 市
  11702. type: integer
  11703. cityname:
  11704. description: 城市名称
  11705. type: string
  11706. countryid:
  11707. description: 国家
  11708. type: integer
  11709. countryname:
  11710. description: 国家名称
  11711. type: string
  11712. districtid:
  11713. description: 地区
  11714. type: integer
  11715. districtname:
  11716. description: 地区名称
  11717. type: string
  11718. fromuserid:
  11719. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  11720. type: integer
  11721. fromusername:
  11722. description: 所属机构名称
  11723. type: string
  11724. provinceid:
  11725. description: 省
  11726. type: integer
  11727. provincename:
  11728. description: 省名称
  11729. type: string
  11730. suborgtype:
  11731. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  11732. type: integer
  11733. userid:
  11734. description: 机构用户ID 其他做市关系,都设置为 1
  11735. type: integer
  11736. username:
  11737. description: 机构用户名称(门店门称)
  11738. type: string
  11739. type: object
  11740. models.QhjPickGoods:
  11741. properties:
  11742. enumdicname:
  11743. description: 单位名称(提货商品)
  11744. type: string
  11745. goodsid:
  11746. description: 商品id
  11747. type: integer
  11748. imageaddress:
  11749. description: 图片
  11750. type: string
  11751. modifierid:
  11752. description: 修改人
  11753. type: integer
  11754. modifiername:
  11755. description: 修改人名称
  11756. type: string
  11757. modifysrc:
  11758. description: 修改来源 - 1:管理端 2:终端
  11759. type: integer
  11760. pickupgoodsagreeunit:
  11761. description: 合约乘数
  11762. type: number
  11763. pickupgoodsdesc:
  11764. description: 描述
  11765. type: string
  11766. pickupgoodsid:
  11767. description: 提货商品ID
  11768. type: string
  11769. pickupgoodsname:
  11770. description: 提货商品名称
  11771. type: string
  11772. pickupgoodsstatus:
  11773. description: 状态 - 1:正常 2:停用 3:注销
  11774. type: integer
  11775. pickupgoodsunitid:
  11776. description: 单位ID
  11777. type: integer
  11778. pickupratio:
  11779. description: 提货系数
  11780. type: number
  11781. preparedays:
  11782. description: 备货期(天)
  11783. type: integer
  11784. remark:
  11785. description: 备注
  11786. type: string
  11787. updatetime:
  11788. description: 更新时间
  11789. type: string
  11790. type: object
  11791. models.QhjRSTriggerLog:
  11792. properties:
  11793. accountid:
  11794. description: 用户资金账户
  11795. type: integer
  11796. accountname:
  11797. description: 账号名称(ACCOUNTID对应的名称)
  11798. type: string
  11799. currencyid:
  11800. description: 币种id
  11801. type: integer
  11802. currencyname:
  11803. description: 币种名称
  11804. type: string
  11805. decimalplace:
  11806. description: 商品报价小数位
  11807. type: integer
  11808. enumdicname:
  11809. description: 单位名称
  11810. type: string
  11811. goodscode:
  11812. description: 定投商品代码
  11813. type: string
  11814. goodsid:
  11815. description: 定投商品ID
  11816. type: integer
  11817. goodsname:
  11818. description: 定投商品名称
  11819. type: string
  11820. goodunitid:
  11821. description: 定投商品单位id
  11822. type: integer
  11823. logid:
  11824. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  11825. type: string
  11826. logincode:
  11827. description: 账号(登录代码)
  11828. type: string
  11829. qtydecimalplace:
  11830. description: 成交量小数位
  11831. type: integer
  11832. regularlycycle:
  11833. description: 定投频率 - 1:每周 2:每月
  11834. type: integer
  11835. regularlycyclevalue:
  11836. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  11837. type: string
  11838. regularlymode:
  11839. description: 定投方式 - 1:按数量 2:按金额
  11840. type: integer
  11841. regularlymodevalue:
  11842. description: 定投方式值 - 数量或金额
  11843. type: number
  11844. regularlystrategyid:
  11845. description: 定投策略ID
  11846. type: integer
  11847. retcode:
  11848. description: 错误码
  11849. type: string
  11850. tradeid:
  11851. description: 成交单ID
  11852. type: string
  11853. triggeramount:
  11854. description: 触发金额
  11855. type: number
  11856. triggerqty:
  11857. description: 触发数量
  11858. type: number
  11859. triggerstatus:
  11860. description: 触发状态 - 1:成功 2:失败
  11861. type: integer
  11862. triggertime:
  11863. description: 触发时间
  11864. type: string
  11865. triggertradedate:
  11866. description: 触发交易日
  11867. type: string
  11868. userid:
  11869. description: 所属用户ID
  11870. type: integer
  11871. userinfotype:
  11872. description: 用户类型 1-个人 2-企业
  11873. type: integer
  11874. username:
  11875. description: 用户名称(userid对应的名称)
  11876. type: string
  11877. type: object
  11878. models.QhjRStrategy:
  11879. properties:
  11880. accountid:
  11881. description: 用户资金账户
  11882. type: integer
  11883. accountname:
  11884. description: 账号名称(ACCOUNTID对应的名称)
  11885. type: string
  11886. currencyid:
  11887. description: 币种id
  11888. type: integer
  11889. currencyname:
  11890. description: 币种名称
  11891. type: string
  11892. decimalplace:
  11893. description: 商品报价小数位
  11894. type: integer
  11895. enumdicname:
  11896. description: 单位名称
  11897. type: string
  11898. goodscode:
  11899. description: 定投商品代码
  11900. type: string
  11901. goodsid:
  11902. description: 定投商品ID
  11903. type: integer
  11904. goodsname:
  11905. description: 定投商品名称
  11906. type: string
  11907. goodunitid:
  11908. description: 定投商品单位id
  11909. type: integer
  11910. lasteffecttradedate:
  11911. description: 最新生效交易日
  11912. type: string
  11913. laststoptradedate:
  11914. description: 最新暂停交易日
  11915. type: string
  11916. lasttriggertradedate:
  11917. description: 最新触发交易日
  11918. type: string
  11919. logincode:
  11920. description: 账号(登录代码)
  11921. type: string
  11922. nexttriggeramount:
  11923. description: 下次触发金额
  11924. type: number
  11925. nexttriggerdate:
  11926. description: 下次触发日期
  11927. type: string
  11928. nexttriggerqty:
  11929. description: 下次触发数量 [按小数位放大值]
  11930. type: number
  11931. qtydecimalplace:
  11932. description: 成交量小数位
  11933. type: integer
  11934. regularlycycle:
  11935. description: 定投频率 - 1:每周 2:每月
  11936. type: integer
  11937. regularlycyclevalue:
  11938. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  11939. type: string
  11940. regularlymode:
  11941. description: 定投方式 - 1:按数量 2:按金额
  11942. type: integer
  11943. regularlymodevalue:
  11944. description: 定投方式值 - 数量或金额
  11945. type: number
  11946. regularlystrategyid:
  11947. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  11948. type: integer
  11949. regularlystrategystatus:
  11950. description: 策略状态 - 1:正常 2:暂停 3:终止
  11951. type: integer
  11952. remark:
  11953. description: 备注
  11954. type: string
  11955. triggersuccesstimes:
  11956. description: 累计定投成功次数
  11957. type: string
  11958. triggertotalamount:
  11959. description: 累计定投金额(成功)
  11960. type: number
  11961. triggertotalqty:
  11962. description: 累计定投数量(成功) [按小数位放大值]
  11963. type: number
  11964. triggertotaltimes:
  11965. description: 累计定投总次数
  11966. type: string
  11967. updatesrc:
  11968. description: 更新来源 - 1:管理端 2:终端
  11969. type: integer
  11970. updatetime:
  11971. description: 更新时间
  11972. type: string
  11973. updatorid:
  11974. description: 更新人
  11975. type: string
  11976. userid:
  11977. description: 所属用户ID
  11978. type: integer
  11979. userinfotype:
  11980. description: 用户类型 1-个人 2-企业
  11981. type: integer
  11982. username:
  11983. description: 用户名称(userid对应的名称)
  11984. type: string
  11985. type: object
  11986. models.QhjReckonPriceLog:
  11987. properties:
  11988. decimalplace:
  11989. description: 商品报价小数位
  11990. type: integer
  11991. goodscode:
  11992. description: 商品代码
  11993. type: string
  11994. goodsid:
  11995. description: 商品ID
  11996. type: integer
  11997. goodsname:
  11998. description: 商品名称
  11999. type: string
  12000. lastreckonprice:
  12001. description: 上日结算价
  12002. type: number
  12003. nextdnlimitprice:
  12004. description: 下个交易日跌停价
  12005. type: number
  12006. nexttrade:
  12007. description: 下个交易日
  12008. type: string
  12009. nextuplimitprice:
  12010. description: 下个交易日涨停价
  12011. type: number
  12012. reckonprice:
  12013. description: 今日结算价(定投价)
  12014. type: number
  12015. reckontime:
  12016. description: 结算时间
  12017. type: string
  12018. totalholderqty:
  12019. description: 总持仓数
  12020. type: integer
  12021. totalstock:
  12022. description: 总库存
  12023. type: integer
  12024. tradedate:
  12025. description: 交易日
  12026. type: string
  12027. updowncount:
  12028. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  12029. type: integer
  12030. updownflag:
  12031. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  12032. type: integer
  12033. updownrate:
  12034. description: 今日涨跌幅
  12035. type: number
  12036. updownrate_2d:
  12037. description: 连续两日涨跌幅
  12038. type: number
  12039. updownrate_3d:
  12040. description: 连续三日涨跌幅
  12041. type: number
  12042. type: object
  12043. models.QhjScoreLog:
  12044. properties:
  12045. accountid:
  12046. description: 账户ID
  12047. type: integer
  12048. createtime:
  12049. description: 创建时间(时间)
  12050. type: string
  12051. goodsid:
  12052. description: 商品ID
  12053. type: integer
  12054. hasuploaded:
  12055. description: 是否已同步(千海金) 0:未同步 1;已同步
  12056. type: integer
  12057. logid:
  12058. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12059. type: string
  12060. marketid:
  12061. description: 市场ID
  12062. type: integer
  12063. relatedamount:
  12064. description: 关联金额
  12065. type: number
  12066. relatedorderid:
  12067. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  12068. type: string
  12069. scoreconfigvalue1:
  12070. description: 积分配置1
  12071. type: integer
  12072. scoreconfigvalue2:
  12073. description: 积分配置1
  12074. type: integer
  12075. scoretype:
  12076. description: 积分类型 - 1:提货积分
  12077. type: integer
  12078. scorevalue:
  12079. description: 积分
  12080. type: number
  12081. tradedate:
  12082. description: 交易日(yyyyMMdd)
  12083. type: string
  12084. uploadedtime:
  12085. description: 同步时间
  12086. type: string
  12087. userid:
  12088. description: 用户ID
  12089. type: integer
  12090. type: object
  12091. models.QhjSiteColumnDetail:
  12092. properties:
  12093. author:
  12094. description: 作者
  12095. type: string
  12096. brief:
  12097. description: 简介
  12098. type: string
  12099. columnid:
  12100. description: 所属栏目
  12101. type: integer
  12102. context:
  12103. description: 内容
  12104. type: string
  12105. coverimage:
  12106. description: 封面图片
  12107. type: string
  12108. creaedate:
  12109. description: 创建时间
  12110. type: string
  12111. creatorid:
  12112. description: 创建人
  12113. type: integer
  12114. hits:
  12115. description: 点击数
  12116. type: integer
  12117. id:
  12118. description: ID(SEQ_SITE_COLUMNDETAIL)
  12119. type: integer
  12120. isshow:
  12121. description: 是否展示 - 0:不展示 1:展示
  12122. type: integer
  12123. istop:
  12124. description: 是否置顶 - 0:不置 1:置顶
  12125. type: integer
  12126. modifierid:
  12127. description: 操作人
  12128. type: integer
  12129. publishdate:
  12130. description: 发布日期
  12131. type: string
  12132. status:
  12133. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  12134. type: integer
  12135. title:
  12136. description: 标题
  12137. type: string
  12138. updatedate:
  12139. description: 修改时间
  12140. type: string
  12141. userid:
  12142. description: 用户ID(默认为0, 核心为为机构用户ID)
  12143. type: integer
  12144. username:
  12145. description: 用户名称
  12146. type: string
  12147. type: object
  12148. models.QhjTeamOrder:
  12149. properties:
  12150. accountid:
  12151. description: 账户ID[报价币种]
  12152. type: integer
  12153. accountname:
  12154. description: 账户名称
  12155. type: string
  12156. agreeunit:
  12157. description: 合约乘数
  12158. type: number
  12159. buyorsell:
  12160. description: 方向 - 0:买 1:卖
  12161. type: integer
  12162. decimalplace:
  12163. description: 报价小数位
  12164. type: integer
  12165. enumdicname:
  12166. description: 单位名称
  12167. type: string
  12168. goodscode:
  12169. description: 商品代码(内部)
  12170. type: string
  12171. goodsid:
  12172. description: 商品ID
  12173. type: integer
  12174. goodsname:
  12175. description: 商品名称
  12176. type: string
  12177. goodunitid:
  12178. description: 报价单位ID
  12179. type: integer
  12180. marketid:
  12181. description: 市场ID
  12182. type: integer
  12183. marketname:
  12184. description: 市场名称
  12185. type: string
  12186. qtydecimalplace:
  12187. description: 成交量小数位
  12188. type: integer
  12189. refereeuserid:
  12190. description: 推荐人ID
  12191. type: integer
  12192. tradeamount:
  12193. description: 成交金额[账户币种,用于所有权]
  12194. type: number
  12195. tradedate:
  12196. description: 交易日(yyyyMMdd)
  12197. type: string
  12198. trademode:
  12199. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  12200. type: integer
  12201. tradeprice:
  12202. description: 成交价格
  12203. type: number
  12204. tradeqty:
  12205. description: 成交数量
  12206. type: number
  12207. tradetime:
  12208. description: 成交时间
  12209. type: string
  12210. userid:
  12211. description: 用户ID
  12212. type: integer
  12213. type: object
  12214. models.QhjTradeGoodsPickup:
  12215. properties:
  12216. accountid:
  12217. description: 账户ID
  12218. type: integer
  12219. address:
  12220. description: 提货人详细地址
  12221. type: string
  12222. amount:
  12223. description: 提货金额
  12224. type: number
  12225. artradedate:
  12226. description: 自动收货交易日(yyyyMMdd)
  12227. type: string
  12228. auditer:
  12229. description: 审核人
  12230. type: integer
  12231. auditsrc:
  12232. description: 更新来源 - 1:管理端 2:终端
  12233. type: integer
  12234. audittime:
  12235. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  12236. type: string
  12237. audittradedate:
  12238. description: 审核交易日(yyyyMMdd)
  12239. type: string
  12240. cardnum:
  12241. description: 提货人证件号码
  12242. type: string
  12243. cardtypeid:
  12244. description: 提货人证件类型
  12245. type: integer
  12246. checkremark:
  12247. description: 审核备注
  12248. type: string
  12249. cityid:
  12250. description: 市
  12251. type: integer
  12252. cityname:
  12253. description: 城市名称
  12254. type: string
  12255. confirmtime:
  12256. description: 取货时间 或 收货时间
  12257. type: string
  12258. countryid:
  12259. description: 国家
  12260. type: integer
  12261. countryname:
  12262. description: 国家名称
  12263. type: string
  12264. decimalplace:
  12265. description: 商品报价小数位
  12266. type: integer
  12267. districtid:
  12268. description: 地区
  12269. type: integer
  12270. districtname:
  12271. description: 地区名称
  12272. type: string
  12273. enumdicname:
  12274. description: 单位名称(提货商品)
  12275. type: string
  12276. expresscompany:
  12277. description: 物流公司
  12278. type: string
  12279. expressnum:
  12280. description: 物流单号
  12281. type: string
  12282. goodsagreeunit:
  12283. description: 交易商品乘数
  12284. type: number
  12285. goodscode:
  12286. description: 商品代码
  12287. type: string
  12288. goodsid:
  12289. description: 商品ID
  12290. type: integer
  12291. goodsname:
  12292. description: 商品名称
  12293. type: string
  12294. goodsqty:
  12295. description: 交易商品手数(69模式按成交量小数位放大取整)
  12296. type: number
  12297. handlestatus:
  12298. description: 处理状态
  12299. type: integer
  12300. logincode:
  12301. description: 账号(登录代码, 有可能为空)
  12302. type: string
  12303. marketid:
  12304. description: 市场ID
  12305. type: integer
  12306. phonenum:
  12307. description: 提货人联系方式
  12308. type: string
  12309. pickupgoodsagreeunit:
  12310. description: 提货商品合约乘数
  12311. type: number
  12312. pickupgoodsid:
  12313. description: 提货商品ID
  12314. type: string
  12315. pickupgoodsname:
  12316. description: 提货商品名称
  12317. type: string
  12318. pickupgoodsqty:
  12319. description: 提货商品手数(数量)
  12320. type: number
  12321. pickupgoodsunitid:
  12322. description: 单位ID(提货商品)
  12323. type: integer
  12324. pickupratio:
  12325. description: 提货系数
  12326. type: number
  12327. preparedays:
  12328. description: 备货期(天)-提货单明细表
  12329. type: integer
  12330. provinceid:
  12331. description: 省
  12332. type: integer
  12333. provincename:
  12334. description: 省名称
  12335. type: string
  12336. qty:
  12337. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  12338. type: number
  12339. qtydecimalplace:
  12340. description: 商品数量小数位
  12341. type: integer
  12342. recivername:
  12343. description: 提货人姓名
  12344. type: string
  12345. reqtime:
  12346. description: 提货申请时间
  12347. type: string
  12348. storeuserid:
  12349. description: 门店用户ID (千海金)
  12350. type: integer
  12351. storeusername:
  12352. description: 门店用户名称
  12353. type: string
  12354. takemode:
  12355. description: 提货方式 - 2:自提 3:配送(邮寄)
  12356. type: integer
  12357. takeorderid:
  12358. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  12359. type: string
  12360. takeorderstatus:
  12361. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销
  12362. type: integer
  12363. takeremark:
  12364. description: 提货备注
  12365. type: string
  12366. tradedate:
  12367. description: 交易日(yyyyMMdd)
  12368. type: string
  12369. updatetime:
  12370. description: 更新时间
  12371. type: string
  12372. userid:
  12373. description: 用户ID
  12374. type: integer
  12375. userinfotype:
  12376. description: 客户类型 1-个人 2-企业
  12377. type: integer
  12378. username:
  12379. description: 用户名称
  12380. type: string
  12381. type: object
  12382. models.QhjUserNodeCfgAndStatus:
  12383. properties:
  12384. agreementcontent:
  12385. description: 协议内容
  12386. type: string
  12387. agreementid:
  12388. description: 协议ID
  12389. type: integer
  12390. agreementname:
  12391. description: 协议名称
  12392. type: string
  12393. agreementno:
  12394. description: 协议编号
  12395. type: string
  12396. agreementtype:
  12397. description: 协议类型 - 1:注册 2:登录 3:交易
  12398. type: integer
  12399. agreementversion:
  12400. description: 协议版本号
  12401. type: integer
  12402. configid:
  12403. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12404. type: integer
  12405. createtime:
  12406. description: 创建时间
  12407. type: string
  12408. goodsid:
  12409. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12410. type: integer
  12411. nodetype:
  12412. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12413. type: integer
  12414. signtimestamp:
  12415. description: 签约状态时间戳(最近一次)
  12416. type: string
  12417. tradedate:
  12418. description: 签约交易日(yyyyMMdd)
  12419. type: string
  12420. userid:
  12421. description: 客户ID
  12422. type: integer
  12423. type: object
  12424. models.Qhjgoodsex:
  12425. properties:
  12426. canfinance:
  12427. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  12428. type: integer
  12429. canregularlybuy:
  12430. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  12431. type: integer
  12432. defaulttradeuserid:
  12433. description: 默认交易用户ID
  12434. type: integer
  12435. deliverygoodsid:
  12436. description: 现货品种ID
  12437. type: integer
  12438. goodsid:
  12439. description: 商品ID(自增ID SEQ_GOODS)
  12440. type: integer
  12441. minamount:
  12442. description: 最小购买金额
  12443. type: number
  12444. regularlybuyminamount:
  12445. description: 定投最小金额
  12446. type: number
  12447. regularlybuyminqty:
  12448. description: 定投最小数量
  12449. type: number
  12450. spotgoodsbrandid:
  12451. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  12452. type: integer
  12453. visibilityforenterprise:
  12454. description: 企业客户是否可见 - 0:不可见 1:可见
  12455. type: integer
  12456. visibilityforpersonal:
  12457. description: 个人客户是否可见 - 0:不可见 1:可见
  12458. type: integer
  12459. wrstandardid:
  12460. description: 现货商品ID
  12461. type: integer
  12462. type: object
  12463. models.QueryErrorInfosRsp:
  12464. properties:
  12465. description:
  12466. description: 异常描述
  12467. type: string
  12468. errorcode:
  12469. description: 异常代码
  12470. type: string
  12471. errorid:
  12472. description: 异常ID
  12473. type: integer
  12474. modulecode:
  12475. description: 所属模块
  12476. type: string
  12477. operatecode:
  12478. description: 所属操作
  12479. type: string
  12480. rownumber:
  12481. description: 行号
  12482. type: string
  12483. required:
  12484. - errorid
  12485. type: object
  12486. models.QueryHedgeOrderDetailRsp:
  12487. properties:
  12488. accountid:
  12489. description: 账户ID
  12490. type: integer
  12491. buyorsell:
  12492. description: 买卖 - 0:买 1:卖
  12493. type: integer
  12494. cancellogincode:
  12495. description: 撤单人
  12496. type: string
  12497. channelbuildtype:
  12498. description: 开平标志 - 0:无 1:建仓 2:平仓
  12499. type: integer
  12500. channelinnerorderstatus:
  12501. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败 9:全部成交
  12502. type: integer
  12503. channeloperatetype:
  12504. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  12505. type: integer
  12506. closetype:
  12507. description: 平仓方式 - 0:无 1:平今 2:平昨
  12508. type: integer
  12509. curexchangerate:
  12510. description: 当前汇率
  12511. type: number
  12512. exchangefullname:
  12513. description: 外部交易所全称
  12514. type: string
  12515. goodscode:
  12516. description: 商品代码(内部)
  12517. type: string
  12518. goodsid:
  12519. description: 商品ID
  12520. type: integer
  12521. goodsname:
  12522. description: 商品名称
  12523. type: string
  12524. marketid:
  12525. description: 市场ID
  12526. type: integer
  12527. openfreezemargin:
  12528. description: 冻结保证金(冻结交易金额)
  12529. type: number
  12530. orderid:
  12531. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12532. type: string
  12533. orderlogincode:
  12534. description: 委托人
  12535. type: string
  12536. orderprice:
  12537. description: 委托价格(账户)
  12538. type: number
  12539. orderqty:
  12540. description: 委托数量
  12541. type: integer
  12542. ordertime:
  12543. description: 委托时间
  12544. type: string
  12545. pricemode:
  12546. description: '取价方式 - 1:市价 2: 限价'
  12547. type: integer
  12548. tradedate:
  12549. description: 交易日(yyyyMMdd)
  12550. type: string
  12551. tradeqty:
  12552. description: 成交数量
  12553. type: integer
  12554. type: object
  12555. models.QueryHedgeTradeDetailRsp:
  12556. properties:
  12557. accountid:
  12558. description: 账号ID
  12559. type: integer
  12560. buyorsell:
  12561. description: 方向 - 0:买 1:卖
  12562. type: integer
  12563. channelbuildtype:
  12564. description: 委托单据类型 0:无 1:建仓 2:平仓
  12565. type: integer
  12566. closecharge:
  12567. description: 平仓手续费(账户)
  12568. type: number
  12569. closecharge2:
  12570. description: 平仓手续费(商品)
  12571. type: number
  12572. closepl:
  12573. description: 平仓盈亏(账户)
  12574. type: number
  12575. closepl2:
  12576. description: 平仓盈亏(商品)
  12577. type: number
  12578. closepl3:
  12579. description: 平仓盈亏(账户)(逐笔)
  12580. type: number
  12581. closepl4:
  12582. description: 平仓盈亏(商品)(逐笔)
  12583. type: number
  12584. closetype:
  12585. description: 平仓方式 - 0:无 1:平今 2:平昨
  12586. type: integer
  12587. curexchangerate:
  12588. description: 当前汇率
  12589. type: number
  12590. exchangefullname:
  12591. description: 外部交易所全称
  12592. type: string
  12593. goodscode:
  12594. description: 商品代码(内部)
  12595. type: string
  12596. goodsid:
  12597. description: 商品ID
  12598. type: integer
  12599. goodsname:
  12600. description: 商品名称
  12601. type: string
  12602. marketid:
  12603. description: 市场ID
  12604. type: integer
  12605. opencharge:
  12606. description: 建仓手续费(账户)
  12607. type: number
  12608. opencharge2:
  12609. description: 建仓手续费(商品)
  12610. type: number
  12611. orderid:
  12612. description: 委托单号
  12613. type: string
  12614. orderlogincode:
  12615. description: 委托人
  12616. type: string
  12617. tradeamount:
  12618. description: 成交金额(账户)
  12619. type: number
  12620. tradedate:
  12621. description: 交易日(yyyyMMdd)
  12622. type: string
  12623. tradeid:
  12624. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12625. type: string
  12626. tradeprice:
  12627. description: 成交价格
  12628. type: number
  12629. tradeqty:
  12630. description: 成交数量
  12631. type: integer
  12632. tradetime:
  12633. description: 成交时间
  12634. type: string
  12635. tradetype:
  12636. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  12637. type: integer
  12638. type: object
  12639. models.QuotePrimaryMenu:
  12640. properties:
  12641. Index:
  12642. description: 序号
  12643. type: integer
  12644. Key:
  12645. description: 键名
  12646. type: string
  12647. Name:
  12648. description: 菜单名称
  12649. type: string
  12650. SubMenus:
  12651. description: 子菜单
  12652. items:
  12653. $ref: '#/definitions/models.QuoteSecondaryMenu'
  12654. type: array
  12655. SubTitleType:
  12656. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  12657. type: integer
  12658. TradeModes:
  12659. description: 包含市场交易类型
  12660. type: string
  12661. type: object
  12662. models.QuoteSecondaryMenu:
  12663. properties:
  12664. ExExchangeCode:
  12665. description: 外部交易所代码
  12666. type: string
  12667. ExExchangeID:
  12668. description: 外部交易所ID
  12669. type: integer
  12670. GoodsGroupIDs:
  12671. description: 商品组ID列表
  12672. items:
  12673. type: integer
  12674. type: array
  12675. Index:
  12676. description: 序号
  12677. type: integer
  12678. MarketID:
  12679. description: 市场ID
  12680. type: integer
  12681. MenuTitle:
  12682. description: 菜单标题(市场名称或外部交易所名称)
  12683. type: string
  12684. TradeMode:
  12685. description: 交易模式
  12686. type: integer
  12687. type: object
  12688. models.RoleMenu:
  12689. properties:
  12690. hasright:
  12691. description: 是否有权限 0-没有权限 1-有权限
  12692. type: integer
  12693. iconame:
  12694. description: 菜单图标
  12695. type: string
  12696. menutype:
  12697. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  12698. type: integer
  12699. parentcode:
  12700. description: 上级资源代码
  12701. type: string
  12702. remark:
  12703. description: 菜单备注
  12704. type: string
  12705. resourcecode:
  12706. description: 菜单代码
  12707. type: string
  12708. resourcelevel:
  12709. description: 级别
  12710. type: integer
  12711. resourcename:
  12712. description: 菜单名称
  12713. type: string
  12714. roleid:
  12715. description: 角色id
  12716. type: integer
  12717. sort:
  12718. description: 排序
  12719. type: integer
  12720. subMenu:
  12721. description: 子级菜单(结构同上层一样, swag解析不出来)
  12722. items:
  12723. $ref: '#/definitions/models.RoleMenu'
  12724. type: array
  12725. url:
  12726. description: URL
  12727. type: string
  12728. userid:
  12729. description: 用户id
  12730. type: integer
  12731. type: object
  12732. models.SearchGoods:
  12733. properties:
  12734. goodscode:
  12735. description: 商品代码(内部)
  12736. type: string
  12737. goodsid:
  12738. description: 商品ID(自增ID SEQ_GOODS)
  12739. type: integer
  12740. goodsname:
  12741. description: 商品名称
  12742. type: string
  12743. marketid:
  12744. description: 所属市场ID
  12745. type: integer
  12746. marketname:
  12747. description: 市场名称
  12748. type: string
  12749. trademode:
  12750. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价
  12751. type: integer
  12752. required:
  12753. - goodscode
  12754. - goodsid
  12755. - goodsname
  12756. - marketid
  12757. - trademode
  12758. type: object
  12759. models.Systemparam:
  12760. properties:
  12761. loginid:
  12762. description: 更新用户账号,登录账号
  12763. type: string
  12764. modifyflag:
  12765. description: 修改标志0 不允许修改 1 允许修改
  12766. type: integer
  12767. paramcode:
  12768. description: 参数代码
  12769. type: string
  12770. paramname:
  12771. description: 参数名
  12772. type: string
  12773. paramtype:
  12774. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  12775. type: integer
  12776. paramvalue:
  12777. description: 参数值
  12778. type: string
  12779. paramvalue2:
  12780. description: 参数值(CLOB)
  12781. type: string
  12782. regexpress:
  12783. description: 正则表达式
  12784. type: string
  12785. remark:
  12786. description: 备注
  12787. type: string
  12788. serverip:
  12789. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  12790. type: string
  12791. showflag:
  12792. description: 是否显示0 不显示 1 显示
  12793. type: integer
  12794. updatetime:
  12795. description: 更新时间
  12796. type: string
  12797. userid:
  12798. description: 更新用户ID
  12799. type: integer
  12800. required:
  12801. - paramcode
  12802. type: object
  12803. models.Szdz3convertconfig:
  12804. properties:
  12805. canin:
  12806. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  12807. type: integer
  12808. canout:
  12809. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  12810. type: integer
  12811. converttype:
  12812. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)
  12813. type: integer
  12814. createtime:
  12815. description: 创建时间
  12816. type: string
  12817. creatorid:
  12818. description: 创建人
  12819. type: integer
  12820. daymaxvalue:
  12821. description: 当日最大转入限制
  12822. type: number
  12823. freezedays:
  12824. description: 冻结天数 [5:花生米转交易]
  12825. type: integer
  12826. innergoodsid:
  12827. description: 内部商品ID[交易]
  12828. type: integer
  12829. inratio:
  12830. description: 目标值
  12831. type: integer
  12832. modifierid:
  12833. description: 修改人
  12834. type: integer
  12835. modifytime:
  12836. description: 修改时间
  12837. type: string
  12838. outergoodscode:
  12839. description: 外部商品代码[JD\PD]
  12840. type: string
  12841. outratio:
  12842. description: 源值
  12843. type: integer
  12844. pddecimalplace:
  12845. description: PD小数位
  12846. type: integer
  12847. timemaxvalue:
  12848. description: 单次最大转入限制
  12849. type: number
  12850. timeminvalue:
  12851. description: 单次最小转入限制
  12852. type: number
  12853. required:
  12854. - converttype
  12855. - innergoodsid
  12856. - outergoodscode
  12857. type: object
  12858. models.Szdz3searchwhitelist:
  12859. properties:
  12860. createtime:
  12861. description: 创建时间
  12862. type: string
  12863. creatorid:
  12864. description: 创建人
  12865. type: integer
  12866. modifierid:
  12867. description: 修改人
  12868. type: integer
  12869. modifytime:
  12870. description: 修改时间
  12871. type: string
  12872. userid:
  12873. description: 用户ID
  12874. type: integer
  12875. required:
  12876. - userid
  12877. type: object
  12878. models.TBGoods:
  12879. properties:
  12880. agreeunit:
  12881. description: 合约乘数
  12882. type: number
  12883. enumdicname:
  12884. description: 单位名称
  12885. type: string
  12886. goodscode:
  12887. description: 商品代码(内部)
  12888. type: string
  12889. goodsid:
  12890. description: 商品ID(自增ID SEQ_GOODS)
  12891. type: integer
  12892. goodsname:
  12893. description: 商品名称
  12894. type: string
  12895. type: object
  12896. models.TBGoodsGroup:
  12897. properties:
  12898. convertratio:
  12899. description: 折算系数
  12900. type: number
  12901. enumdicname:
  12902. description: 单位名称
  12903. type: string
  12904. exexchangecode:
  12905. description: 交易所代码
  12906. type: string
  12907. exexchangename:
  12908. description: 交易所名称
  12909. type: string
  12910. gdlst:
  12911. description: 商品列表
  12912. items:
  12913. $ref: '#/definitions/models.TBGoods'
  12914. type: array
  12915. goodsgroupid:
  12916. description: 商品组ID(自增ID)
  12917. type: integer
  12918. goodsgroupname:
  12919. description: 商品组名称
  12920. type: string
  12921. goodunitid:
  12922. description: 报价单位ID
  12923. type: integer
  12924. type: object
  12925. models.TBMiddleGoods:
  12926. properties:
  12927. areauserid:
  12928. description: 机构用户ID
  12929. type: integer
  12930. enumdicname:
  12931. description: 单位名称
  12932. type: string
  12933. gplst:
  12934. description: 期货品种列表
  12935. items:
  12936. $ref: '#/definitions/models.TBGoodsGroup'
  12937. type: array
  12938. middlegoodscode:
  12939. description: 套保品种代码
  12940. type: string
  12941. middlegoodsid:
  12942. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  12943. type: integer
  12944. middlegoodsname:
  12945. description: 套保品种名称
  12946. type: string
  12947. needarbitrageratio:
  12948. description: 套利比率
  12949. type: number
  12950. needhedgeratio:
  12951. description: 套保比率
  12952. type: number
  12953. wdlst:
  12954. description: 商品信息列表(现货品类)
  12955. items:
  12956. $ref: '#/definitions/models.TBWrstandard'
  12957. type: array
  12958. type: object
  12959. models.TBWrstandard:
  12960. properties:
  12961. convertratio:
  12962. description: 折算系数
  12963. type: number
  12964. deliverygoodsname:
  12965. description: 品种名称
  12966. type: string
  12967. enumdicname:
  12968. description: 单位名称
  12969. type: string
  12970. vatrate:
  12971. description: 增值税率
  12972. type: number
  12973. wrstandardcode:
  12974. description: 现货商品代码
  12975. type: string
  12976. wrstandardid:
  12977. description: 现货商品ID(SEQ_WRSTANDARD)
  12978. type: integer
  12979. wrstandardname:
  12980. description: 现货商品名称
  12981. type: string
  12982. type: object
  12983. models.Taaccount:
  12984. properties:
  12985. accountflag:
  12986. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  12987. type: integer
  12988. accountid:
  12989. description: 资金账户ID
  12990. type: integer
  12991. accountname:
  12992. description: 账户名称
  12993. type: string
  12994. balance:
  12995. description: 期初余额
  12996. type: number
  12997. capitalbalance:
  12998. description: 本金余额[外部子账户实际出入金余额]
  12999. type: number
  13000. changeflag:
  13001. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  13002. type: integer
  13003. changetime:
  13004. description: 账户状态变更时间
  13005. type: string
  13006. closepl:
  13007. description: 今日平仓盈亏
  13008. type: number
  13009. creditdecrease:
  13010. description: 今日授信减少
  13011. type: number
  13012. creditincrease:
  13013. description: 今日授信增加
  13014. type: number
  13015. curamount:
  13016. description: 总市值(从持仓中统计)
  13017. type: number
  13018. currencyid:
  13019. description: 货币ID
  13020. type: integer
  13021. currentbalance:
  13022. description: 期末余额
  13023. type: number
  13024. freezecharge:
  13025. description: 手续费冻结
  13026. type: number
  13027. freezemargin:
  13028. description: 冻结保证金
  13029. type: number
  13030. fromaccountid:
  13031. description: 所属上级账户
  13032. type: integer
  13033. inamount:
  13034. description: 今日入金金额(包括三方入金)
  13035. type: number
  13036. ismain:
  13037. description: 是否母账号 0:不是母账户 1:是母账户
  13038. type: integer
  13039. ismarketaccount:
  13040. description: 是否机构接单账号 0:不是 1:是
  13041. type: integer
  13042. isreckonaccount:
  13043. description: 是否机构分润账号 0:不是 1:是
  13044. type: integer
  13045. mortgagecredit:
  13046. description: 授信金额
  13047. type: number
  13048. orifreezecharge:
  13049. description: 期初手续费冻结
  13050. type: number
  13051. orifreezemargin:
  13052. description: 期初冻结保证金
  13053. type: number
  13054. orimortgagecredit:
  13055. description: 期初授信金额
  13056. type: number
  13057. oriothercredit:
  13058. description: 期初其它授信金额
  13059. type: number
  13060. oriotherfreezemargin:
  13061. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  13062. type: number
  13063. orioutamountfreeze:
  13064. description: 期初出金冻结
  13065. type: number
  13066. oriusedmargin:
  13067. description: 期初占用保证金
  13068. type: number
  13069. othercredit:
  13070. description: 其它授信金额
  13071. type: number
  13072. othercreditdecrease:
  13073. description: 今日其它授信减少
  13074. type: number
  13075. othercreditincrease:
  13076. description: 今日其它授信增加
  13077. type: number
  13078. otherfreezemargin:
  13079. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  13080. type: number
  13081. otherincome:
  13082. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  13083. type: number
  13084. otherpay:
  13085. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  13086. type: number
  13087. outamount:
  13088. description: 今日出金金额(包括三方出金)
  13089. type: number
  13090. outamountfreeze:
  13091. description: 出金冻结
  13092. type: number
  13093. outthreshold:
  13094. description: 出金阈值
  13095. type: number
  13096. parentaccountid:
  13097. description: 所属根账号
  13098. type: integer
  13099. paycharge:
  13100. description: 今日手续费支出
  13101. type: number
  13102. relatedaccountstatus:
  13103. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  13104. type: integer
  13105. relateduserid:
  13106. description: 关联用户
  13107. type: integer
  13108. remainamount:
  13109. description: 融资额(从融资合同中统计)
  13110. type: number
  13111. serivcegroup:
  13112. description: 服务分组
  13113. type: integer
  13114. signstatus:
  13115. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  13116. type: integer
  13117. sublevelpath:
  13118. description: 账号层级路径(逗号分隔,首尾加逗号)
  13119. type: string
  13120. taaccounttype:
  13121. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  13122. type: integer
  13123. thirdinamount:
  13124. description: 今日三方入金
  13125. type: number
  13126. thirdoutamount:
  13127. description: 今日三方出金
  13128. type: number
  13129. tradestatus:
  13130. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  13131. type: integer
  13132. tradestatuschangetime:
  13133. description: 激活时间
  13134. type: string
  13135. transferamount:
  13136. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  13137. type: number
  13138. usedmargin:
  13139. description: 占用保证金
  13140. type: number
  13141. userid:
  13142. description: 用户ID
  13143. type: integer
  13144. required:
  13145. - accountid
  13146. - userid
  13147. type: object
  13148. models.Tablecolumnconfig:
  13149. properties:
  13150. aligntype:
  13151. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  13152. type: integer
  13153. autoid:
  13154. description: AutoID
  13155. type: integer
  13156. columnfield:
  13157. description: 列字段
  13158. type: string
  13159. columntitle:
  13160. description: 列Title
  13161. type: string
  13162. columnwidth:
  13163. description: 列宽
  13164. type: string
  13165. formatterstring:
  13166. description: 格式化字符
  13167. type: string
  13168. formattertype:
  13169. description: 格式化类型
  13170. type: string
  13171. groupname:
  13172. description: 表头分组名称
  13173. type: string
  13174. isshow:
  13175. description: 是否显示 - 0:不显示 1:显示
  13176. type: integer
  13177. needsummary:
  13178. description: 是否需要汇总 - 0:不需要 1:需要
  13179. type: integer
  13180. orderindex:
  13181. description: 顺序
  13182. type: integer
  13183. remark:
  13184. description: 备注
  13185. type: string
  13186. summarytype:
  13187. description: 汇总类型 - 1:加总 2:最后一个
  13188. type: integer
  13189. tablekey:
  13190. description: 列表Key
  13191. type: string
  13192. required:
  13193. - autoid
  13194. type: object
  13195. models.TjmdQuoteGoods:
  13196. properties:
  13197. buyqty:
  13198. description: 买量(暂不做, 无值, 保留字段)
  13199. type: number
  13200. goodscode:
  13201. description: 合约代码
  13202. type: string
  13203. goodsgroupid:
  13204. description: 商品组ID(自增ID)
  13205. type: integer
  13206. goodsgroupname:
  13207. description: 商品组名称
  13208. type: string
  13209. goodsid:
  13210. description: 合约id
  13211. type: integer
  13212. goodsname:
  13213. description: 合约名称
  13214. type: string
  13215. refgoodscode:
  13216. description: 标的合约代码
  13217. type: string
  13218. refgoodsid:
  13219. description: 标的合约id
  13220. type: integer
  13221. refgoodsname:
  13222. description: 标的合约名称
  13223. type: string
  13224. sellqty:
  13225. description: 卖量(暂不做, 无值, 保留字段)
  13226. type: number
  13227. type: object
  13228. models.TjmdTodayAccountMargin:
  13229. properties:
  13230. accountid:
  13231. description: 账号ID
  13232. type: integer
  13233. goodsid:
  13234. description: 商品ID
  13235. type: integer
  13236. infoc:
  13237. $ref: '#/definitions/pb.GoodsMarginCfgStruct'
  13238. description: 配置参数
  13239. marketid:
  13240. description: 市场ID
  13241. type: integer
  13242. type: object
  13243. models.TjmdTradeOrderDetail:
  13244. properties:
  13245. buyorsell:
  13246. description: 买卖方向 0-买 1-卖
  13247. type: integer
  13248. goodsid:
  13249. description: 商品id
  13250. type: integer
  13251. marketmaxsub:
  13252. description: 市价最大偏移范围 [浮动价 - 点差]
  13253. type: number
  13254. orderid:
  13255. description: 委托单号
  13256. type: string
  13257. orderprice:
  13258. description: 委托价格
  13259. type: number
  13260. orderqty:
  13261. description: 委托数量
  13262. type: integer
  13263. pricemode:
  13264. description: '取价方式 - 1:市价 2: 限价 3:浮动价'
  13265. type: integer
  13266. userid:
  13267. description: 用户id
  13268. type: integer
  13269. username:
  13270. description: 用户名称(已脱敏)
  13271. type: string
  13272. type: object
  13273. models.TjmdTransferApply:
  13274. properties:
  13275. applyid:
  13276. description: 申请ID(自增ID SEQ_TRADE_HOLDTRANSFERAPPLY)
  13277. type: integer
  13278. applystatus:
  13279. description: 状态 - 0:未提交 1:待审核 2:审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销
  13280. type: integer
  13281. applytime:
  13282. description: 申请时间(时间)
  13283. type: string
  13284. auditremark:
  13285. description: 审核备注(拒绝原因?)
  13286. type: string
  13287. buyorsell:
  13288. description: 买卖 - 0:买 1:卖
  13289. type: integer
  13290. goodscode:
  13291. description: 商品代码
  13292. type: string
  13293. goodsid:
  13294. description: 商品ID
  13295. type: integer
  13296. goodsname:
  13297. description: 商品名称
  13298. type: string
  13299. marketid:
  13300. description: 市场ID
  13301. type: integer
  13302. qty:
  13303. description: 转让数量(数量)
  13304. type: number
  13305. tradeid:
  13306. description: 成交单号(关联持仓)
  13307. type: string
  13308. transferamount:
  13309. description: 转让总金额(金额)
  13310. type: number
  13311. transferprice:
  13312. description: 转让价格(协议价格)
  13313. type: number
  13314. type: object
  13315. models.TradeHolderDetail:
  13316. properties:
  13317. accountid:
  13318. description: 账号ID
  13319. type: integer
  13320. agreeunit:
  13321. description: 合约乘数
  13322. type: number
  13323. buyorsell:
  13324. description: 方向 - 0:买 1:卖
  13325. type: integer
  13326. currencyid:
  13327. description: 商品币种id
  13328. type: integer
  13329. currencyname:
  13330. description: 币种名称
  13331. type: string
  13332. decimalplace:
  13333. description: 商品价格小数位
  13334. type: integer
  13335. enumdicname:
  13336. description: 商品单位名称
  13337. type: string
  13338. expirecycle:
  13339. description: 行权周期(天) - 1:滚动行权时填写
  13340. type: integer
  13341. expiredate:
  13342. description: 行权日(yyyyMMdd) - 到期日
  13343. type: string
  13344. expiretype:
  13345. description: 行权日类型 - 1:滚动行权 2:固定日行权
  13346. type: integer
  13347. freezeqty:
  13348. description: 冻结数量
  13349. type: number
  13350. goodscode:
  13351. description: 商品代码
  13352. type: string
  13353. goodsid:
  13354. description: 商品ID
  13355. type: integer
  13356. goodsname:
  13357. description: 商品名称
  13358. type: string
  13359. goodunitid:
  13360. description: 商品单位id
  13361. type: integer
  13362. holderamount:
  13363. description: 持仓金额
  13364. type: number
  13365. holdercredit:
  13366. description: 持仓授信金额
  13367. type: number
  13368. holderdays:
  13369. description: 剩余冻结天数
  13370. type: integer
  13371. holderprice:
  13372. description: 持仓价格
  13373. type: number
  13374. holderqty:
  13375. description: 持仓数量
  13376. type: number
  13377. isconfirmexercise:
  13378. description: 是否确认行权- 0:否 1:是
  13379. type: integer
  13380. ispreexercise:
  13381. description: 是否预申报- 0:否 1:是 2:不可行权
  13382. type: integer
  13383. marketid:
  13384. description: 市场id
  13385. type: integer
  13386. marketname:
  13387. description: 市场名称
  13388. type: string
  13389. openprice:
  13390. description: 建仓价格
  13391. type: number
  13392. openqty:
  13393. description: 建仓数量
  13394. type: number
  13395. optiontype:
  13396. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  13397. type: integer
  13398. preexerciseprice:
  13399. description: 预申报价格
  13400. type: number
  13401. premium:
  13402. description: 权利金
  13403. type: number
  13404. qtydecimalplace:
  13405. description: 商品成交量小数位
  13406. type: integer
  13407. refgoodscode:
  13408. description: 标的合约代码
  13409. type: string
  13410. refgoodsid:
  13411. description: 标的合约id
  13412. type: integer
  13413. releaseamount:
  13414. description: 释放持仓金额
  13415. type: number
  13416. releaseholdercredit:
  13417. description: 释放持仓授信金额
  13418. type: number
  13419. taname:
  13420. description: 资金账号名称
  13421. type: string
  13422. tradeamount:
  13423. description: 成交金额
  13424. type: number
  13425. tradedate:
  13426. description: 交易日(yyyyMMdd)
  13427. type: string
  13428. tradeid:
  13429. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  13430. type: string
  13431. trademode:
  13432. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式 21:竞拍-大宗式 22:受托竞价 46:掉期
  13433. type: integer
  13434. tradeproperty:
  13435. description: 交易属性
  13436. type: integer
  13437. tradetime:
  13438. description: 交易时间
  13439. type: string
  13440. userid:
  13441. description: 用户id
  13442. type: integer
  13443. username:
  13444. description: 用户名称
  13445. type: string
  13446. type: object
  13447. models.UserCollectConfig:
  13448. properties:
  13449. accountstatus:
  13450. description: 账户状态 - 1:正常 2:停用 3:注销
  13451. type: integer
  13452. collectaccountname:
  13453. description: 收款人账户名称
  13454. type: string
  13455. collectaccountno:
  13456. description: 收款人账户
  13457. type: string
  13458. collectbankname:
  13459. description: 收款人开户行
  13460. type: string
  13461. collectbranchbankname:
  13462. description: 收款人开户支行
  13463. type: string
  13464. collectconfigid:
  13465. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  13466. type: string
  13467. remark:
  13468. description: 备注
  13469. type: string
  13470. userid:
  13471. description: 收款人用户ID
  13472. type: integer
  13473. type: object
  13474. models.UserReceiveInfo:
  13475. properties:
  13476. address:
  13477. description: 提货人详细地址
  13478. type: string
  13479. autoid:
  13480. description: AutoID
  13481. type: integer
  13482. cardnum:
  13483. description: 证件号码(加密存储)
  13484. type: string
  13485. cardtypeid:
  13486. description: 证件类型
  13487. type: integer
  13488. cityid:
  13489. description: 市
  13490. type: integer
  13491. cityname:
  13492. description: 城市名称
  13493. type: string
  13494. countryid:
  13495. description: 国家
  13496. type: integer
  13497. countryname:
  13498. description: 国家名称
  13499. type: string
  13500. districtid:
  13501. description: 地区
  13502. type: integer
  13503. districtname:
  13504. description: 地区名称
  13505. type: string
  13506. hasencrypt:
  13507. description: 数据是否已加密 - 0:未加密 1:已加密
  13508. type: integer
  13509. isdefault:
  13510. description: 是否默认地址 - 0:否 1:是
  13511. type: integer
  13512. phonenum:
  13513. description: 提货人联系方式(加密存储)
  13514. type: string
  13515. provinceid:
  13516. description: 省
  13517. type: integer
  13518. provincename:
  13519. description: 省名称
  13520. type: string
  13521. receivername:
  13522. description: 提货人姓名
  13523. type: string
  13524. takeremark:
  13525. description: 提货备注
  13526. type: string
  13527. userid:
  13528. description: 用户ID
  13529. type: integer
  13530. type: object
  13531. models.Useraccount:
  13532. properties:
  13533. accountname:
  13534. description: 账户名称(机构名称)
  13535. type: string
  13536. accountstatus:
  13537. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  13538. type: integer
  13539. applysrc:
  13540. description: 申请来源 - 1:管理端 2:终端
  13541. type: integer
  13542. auditremark:
  13543. description: 审核备注
  13544. type: string
  13545. auditsrc:
  13546. description: 审核来源 - 1:管理端 2:终端
  13547. type: integer
  13548. audittime:
  13549. description: 审核时间
  13550. type: string
  13551. audituserid:
  13552. description: 审核人
  13553. type: integer
  13554. broker:
  13555. description: 所属经纪人ID
  13556. type: integer
  13557. canceltime:
  13558. description: 销户时间
  13559. type: string
  13560. canceluserid:
  13561. description: 销户人
  13562. type: integer
  13563. canrecommend:
  13564. description: 是否可推荐 - 0:不可 1;可
  13565. type: integer
  13566. createtime:
  13567. description: 创建时间
  13568. type: string
  13569. creatorid:
  13570. description: 创建人
  13571. type: integer
  13572. hasauth:
  13573. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  13574. type: integer
  13575. isanonymous:
  13576. description: 是否匿名下单 - 0:否 1:是
  13577. type: integer
  13578. maxinvestornum:
  13579. description: 最大用户数(经纪会员下投资者个数)
  13580. type: integer
  13581. memberuserid:
  13582. description: 所属会员ID
  13583. type: integer
  13584. modifierid:
  13585. description: 修改人
  13586. type: integer
  13587. modifyremark:
  13588. description: 变更备注
  13589. type: string
  13590. modifystatus:
  13591. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  13592. type: integer
  13593. modifytime:
  13594. description: 修改时间
  13595. type: string
  13596. parenttopuser:
  13597. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  13598. type: string
  13599. parentuserid:
  13600. description: 所属机构ID
  13601. type: integer
  13602. reckonaccountid:
  13603. description: 默认结算资金账号ID(机构分润使用) 作废
  13604. type: integer
  13605. refercount:
  13606. description: 推荐总人数
  13607. type: integer
  13608. refereeuserid:
  13609. description: 推荐人ID
  13610. type: integer
  13611. refernum:
  13612. description: 推荐码
  13613. type: string
  13614. rootuserid:
  13615. description: 根用户ID
  13616. type: integer
  13617. subaccountlevel:
  13618. description: 子账户层数
  13619. type: integer
  13620. subarealevelpath:
  13621. description: 子机构层级路径(逗号分隔,首尾加逗号)
  13622. type: string
  13623. userid:
  13624. description: 用户ID
  13625. type: integer
  13626. usertype:
  13627. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  13628. type: integer
  13629. required:
  13630. - userid
  13631. type: object
  13632. models.Userfavoritegoods:
  13633. properties:
  13634. goodsid:
  13635. description: 商品ID
  13636. type: integer
  13637. required:
  13638. - goodsid
  13639. type: object
  13640. models.Userinfo:
  13641. properties:
  13642. address:
  13643. description: 地址
  13644. type: string
  13645. attachment1:
  13646. description: 附件1
  13647. type: string
  13648. attachment2:
  13649. description: 附件2
  13650. type: string
  13651. bankaccount:
  13652. description: 银行帐号 (加密存储)
  13653. type: string
  13654. bankaccountname:
  13655. description: 收款人名称
  13656. type: string
  13657. bankcardfrontphotourl:
  13658. description: 银行卡正面照地址
  13659. type: string
  13660. bankid:
  13661. description: 银行编码
  13662. type: string
  13663. bankname:
  13664. description: 银行名称
  13665. type: string
  13666. biznature:
  13667. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  13668. type: integer
  13669. bizscope:
  13670. description: 企业经营范围(企业)
  13671. type: string
  13672. cardbackphotourl:
  13673. description: 证件背面图片地址
  13674. type: string
  13675. cardfrontphotourl:
  13676. description: 证件正面图片地址
  13677. type: string
  13678. cardnum:
  13679. description: 证件号码(加密存储)
  13680. type: string
  13681. cardtypeid:
  13682. description: 证件类型ID
  13683. type: integer
  13684. cityid:
  13685. description: 市
  13686. type: integer
  13687. company:
  13688. description: 公司(个人)
  13689. type: string
  13690. contactname:
  13691. description: 联系人
  13692. type: string
  13693. countryid:
  13694. description: 国家
  13695. type: integer
  13696. createtime:
  13697. description: 创建时间
  13698. type: string
  13699. creatorid:
  13700. description: 创建人
  13701. type: integer
  13702. customername:
  13703. description: 客户名称(企业名称)
  13704. type: string
  13705. districtid:
  13706. description: 地区
  13707. type: integer
  13708. email:
  13709. description: 邮件(加密存储)
  13710. type: string
  13711. fax:
  13712. description: 传真(加密存储)
  13713. type: string
  13714. halfbodyphotourl:
  13715. description: 半身照地址
  13716. type: string
  13717. hasencrypt:
  13718. description: 数据是否已加密 - 0:未加密 1:已加密
  13719. type: integer
  13720. headurl:
  13721. description: 头像地址
  13722. type: string
  13723. legalcardbackphotourl:
  13724. description: 法人身份证背面照地址
  13725. type: string
  13726. legalcardfrontphotourl:
  13727. description: 法人身份证正面照地址
  13728. type: string
  13729. legalpersonname:
  13730. description: 法人姓名(企业)
  13731. type: string
  13732. mobile:
  13733. description: 手机号码(加密存储)
  13734. type: string
  13735. mobile2:
  13736. description: 手机号码[明文-尚志]
  13737. type: string
  13738. modifierid:
  13739. description: 修改人
  13740. type: integer
  13741. modifiertime:
  13742. description: 修改时间
  13743. type: string
  13744. needinvoice:
  13745. description: 是否需要发票 - 0:不需要 1:需要
  13746. type: integer
  13747. nickname:
  13748. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  13749. type: string
  13750. openmode:
  13751. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  13752. type: integer
  13753. otherurl:
  13754. description: 其它图片地址[使用分号分隔]
  13755. type: string
  13756. postalcode:
  13757. description: 邮政编码
  13758. type: string
  13759. provinceid:
  13760. description: 省
  13761. type: integer
  13762. qq:
  13763. description: QQ(加密存储
  13764. type: string
  13765. remark:
  13766. description: 备注
  13767. type: string
  13768. sex:
  13769. description: '用户性别 0: 女 1: 男'
  13770. type: integer
  13771. signpdfurl:
  13772. description: 签约pdf文件
  13773. type: string
  13774. telphone:
  13775. description: 联系电话(加密存储)
  13776. type: string
  13777. userid:
  13778. description: 用户ID
  13779. type: integer
  13780. userinfotype:
  13781. description: 用户信息类型 - 1:个人 2:企业
  13782. type: integer
  13783. userstatus:
  13784. description: 用户状态 - 1:正常 2:注销
  13785. type: integer
  13786. usertype:
  13787. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  13788. type: integer
  13789. wechat:
  13790. description: 微信(加密存储)
  13791. type: string
  13792. wskhinfo:
  13793. description: 开户申请信息(JSON)
  13794. type: string
  13795. required:
  13796. - userid
  13797. type: object
  13798. models.WRSConverTDetail:
  13799. properties:
  13800. convertratio:
  13801. description: 套保系数
  13802. type: number
  13803. deliverygoodscode:
  13804. description: 现货商品代码
  13805. type: string
  13806. deliverygoodsid:
  13807. description: 现货品种ID
  13808. type: integer
  13809. deliverygoodsname:
  13810. description: 现货商品名称
  13811. type: string
  13812. enumdicname:
  13813. description: 单位名称
  13814. type: string
  13815. goodsunitid:
  13816. description: 套保品种单位id
  13817. type: integer
  13818. middlegoodscode:
  13819. description: 套保品种代码
  13820. type: string
  13821. middlegoodsid:
  13822. description: 套保品种ID
  13823. type: integer
  13824. middlegoodsname:
  13825. description: 套保品种名称
  13826. type: string
  13827. modifytime:
  13828. description: 修改时间
  13829. type: string
  13830. wrstandardid:
  13831. description: 品类ID
  13832. type: integer
  13833. type: object
  13834. models.WRStandardInfo:
  13835. properties:
  13836. areauserid:
  13837. description: 所属机构
  13838. type: integer
  13839. convertfactor:
  13840. description: 标仓系数
  13841. type: number
  13842. createtime:
  13843. description: 创建时间
  13844. type: string
  13845. creatorid:
  13846. description: 创建人
  13847. type: integer
  13848. deliverygoodsid:
  13849. description: 品种ID
  13850. type: integer
  13851. deliverygoodsname:
  13852. description: 交割商品名称
  13853. type: string
  13854. factoryitemjson:
  13855. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs": },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID, 逗号分隔'
  13856. type: string
  13857. isvalid:
  13858. description: 是否有效 - 0:无效 1:有效
  13859. type: integer
  13860. minivalue:
  13861. description: 最小变动值
  13862. type: integer
  13863. minivaluedp:
  13864. description: 最小变动值小数位
  13865. type: integer
  13866. realminivalue:
  13867. description: 实际最小变动值
  13868. type: integer
  13869. realminivaluedp:
  13870. description: 实际最小变动值小数位
  13871. type: integer
  13872. remark:
  13873. description: 备注
  13874. type: string
  13875. unitid:
  13876. description: 单位ID
  13877. type: integer
  13878. unitname:
  13879. description: 单位
  13880. type: string
  13881. updatetime:
  13882. description: 更新时间
  13883. type: string
  13884. updatorid:
  13885. description: 更新人
  13886. type: integer
  13887. wrsstatus:
  13888. description: 状态 - 作废 - 0:未激活 1:正常
  13889. type: integer
  13890. wrstandardcode:
  13891. description: 现货品类代码
  13892. type: string
  13893. wrstandardid:
  13894. description: 现货品类ID(SEQ_WRSTANDARD)
  13895. type: integer
  13896. wrstandardname:
  13897. description: 现货品类名称
  13898. type: string
  13899. required:
  13900. - wrstandardid
  13901. type: object
  13902. models.WRTradeBargainApply:
  13903. properties:
  13904. accountid:
  13905. description: 摘牌资金账号
  13906. type: integer
  13907. applyprice:
  13908. description: 申请价格(议价价格)
  13909. type: string
  13910. applyqty:
  13911. description: 摘牌数量(议价数量)
  13912. type: number
  13913. applyremark:
  13914. description: 申请备注
  13915. type: string
  13916. applystatus:
  13917. description: 申请状态(议价状态) - 1:待确认 2:已确认 3:已拒绝 4:已撤销 5:系统撤销 6:处理失败 7:确认中
  13918. type: integer
  13919. applytime:
  13920. description: 申请时间(议价时间)
  13921. type: string
  13922. buyorsell:
  13923. description: 买卖(挂牌类型) - 0:买 1:卖
  13924. type: integer
  13925. confirmremark:
  13926. description: 确认备注
  13927. type: string
  13928. confirmtime:
  13929. description: 确认时间
  13930. type: string
  13931. confirmuserid:
  13932. description: 确认人
  13933. type: integer
  13934. deliverygoodscode:
  13935. description: 品种代码
  13936. type: string
  13937. deliverygoodsid:
  13938. description: 品种ID
  13939. type: integer
  13940. deliverygoodsname:
  13941. description: 品种名称
  13942. type: string
  13943. deliverymonth:
  13944. description: 交收月
  13945. type: string
  13946. enumdicname:
  13947. description: 单位名称
  13948. type: string
  13949. fixedprice:
  13950. description: 挂牌价格
  13951. type: number
  13952. handlestatus:
  13953. description: 处理状态
  13954. type: integer
  13955. marginvalue:
  13956. description: 履约保证金比例
  13957. type: number
  13958. marketid:
  13959. description: 市场ID
  13960. type: integer
  13961. matchaccountid:
  13962. description: 挂牌方资金账号
  13963. type: integer
  13964. matchuserid:
  13965. description: 挂牌方用户id
  13966. type: integer
  13967. matchusername:
  13968. description: 挂牌方用户名称(已脱敏)
  13969. type: string
  13970. minivalue:
  13971. description: 现货商品最小变动值
  13972. type: integer
  13973. optioncompare:
  13974. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  13975. type: string
  13976. orderqty:
  13977. description: 挂牌数量
  13978. type: integer
  13979. refprice:
  13980. description: 参考价格
  13981. type: string
  13982. retcode:
  13983. description: 委托返回代码
  13984. type: integer
  13985. templatename:
  13986. description: 履约方式(履约模板名称)
  13987. type: string
  13988. tradedate:
  13989. description: 交易日(yyyyMMdd)
  13990. type: string
  13991. userid:
  13992. description: 摘牌人用户ID(议价人ID)
  13993. type: integer
  13994. username:
  13995. description: 议价人名字(已脱敏)
  13996. type: string
  13997. validtime:
  13998. description: 有效期限
  13999. type: string
  14000. warehouseid:
  14001. description: 仓库ID
  14002. type: integer
  14003. warehousename:
  14004. description: 仓库名称
  14005. type: string
  14006. wrbargainid:
  14007. description: 议价申请单ID(327+Unix秒时间戳(10位)+xxxxxx)
  14008. type: string
  14009. wrfactortypeid:
  14010. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14011. type: string
  14012. wrfactortypename:
  14013. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14014. type: string
  14015. wrstandardcode:
  14016. description: 现货商品代码
  14017. type: string
  14018. wrstandardid:
  14019. description: 现货商品ID
  14020. type: integer
  14021. wrstandardname:
  14022. description: 商品名称
  14023. type: string
  14024. wrtradeorderid:
  14025. description: 关联委托单ID
  14026. type: string
  14027. wrtypename:
  14028. description: 商品
  14029. type: string
  14030. type: object
  14031. models.Warehouseinfo:
  14032. properties:
  14033. address:
  14034. description: 详细地址
  14035. type: string
  14036. areauserid:
  14037. description: 所属机构
  14038. type: integer
  14039. autoid:
  14040. description: 自增ID
  14041. type: integer
  14042. cityid:
  14043. description: 市
  14044. type: integer
  14045. contactname:
  14046. description: 联系人
  14047. type: string
  14048. contactnum:
  14049. description: 联系电话
  14050. type: string
  14051. countryid:
  14052. description: 国家
  14053. type: integer
  14054. createtime:
  14055. description: 创建时间
  14056. type: string
  14057. districtid:
  14058. description: 区
  14059. type: integer
  14060. hasvideo:
  14061. description: 是否有视频 - 0:无 1:有
  14062. type: integer
  14063. provinceid:
  14064. description: 省
  14065. type: integer
  14066. remark:
  14067. description: 审核备注
  14068. type: string
  14069. videourl:
  14070. description: 视频地址
  14071. type: string
  14072. warehousecode:
  14073. description: 仓库代码
  14074. type: string
  14075. warehousename:
  14076. description: 仓库名称
  14077. type: string
  14078. warehousestatus:
  14079. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  14080. type: integer
  14081. warehousetype:
  14082. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  14083. type: integer
  14084. required:
  14085. - autoid
  14086. - warehousecode
  14087. type: object
  14088. models.WrAverageTradePrice:
  14089. properties:
  14090. averageprice:
  14091. description: 成交均价
  14092. type: number
  14093. tradedate:
  14094. description: 交易日yyyymm
  14095. type: string
  14096. type: object
  14097. models.WrBsGoodsInfo:
  14098. properties:
  14099. buyorsell:
  14100. description: 买卖方向 0-买 1-卖
  14101. type: integer
  14102. goodsid:
  14103. description: 交易合约ID
  14104. type: integer
  14105. lstitem:
  14106. description: 商品信息项
  14107. items:
  14108. $ref: '#/definitions/models.WrTypeItem'
  14109. type: array
  14110. lststep:
  14111. description: 履约规则
  14112. items:
  14113. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  14114. type: array
  14115. type: object
  14116. models.WrBuybackDetail:
  14117. properties:
  14118. buybackamount:
  14119. description: 回购金额
  14120. type: number
  14121. buybackqty:
  14122. description: 回购数量
  14123. type: number
  14124. buybackreleasemargin:
  14125. description: 回购释放保证金
  14126. type: number
  14127. buybacktime:
  14128. description: 回购时间
  14129. type: string
  14130. errordesc:
  14131. description: 错误描述
  14132. type: string
  14133. handlestatus:
  14134. description: 处理 - 1:待处理 2:处理成功 3:处理失败
  14135. type: integer
  14136. relatedwrid:
  14137. description: 关联仓单ID
  14138. type: integer
  14139. scfcontractid:
  14140. description: SCF合同ID
  14141. type: string
  14142. scfwrbuybackid:
  14143. description: SCF仓单回购明细ID(312+Unix秒时间戳(10位)+xxxxxx)
  14144. type: integer
  14145. tradedate:
  14146. description: 交易日(yyyyMMdd)
  14147. type: string
  14148. type: object
  14149. models.WrDeliveryAvalidHoldLB:
  14150. properties:
  14151. accountid:
  14152. description: 资金账号
  14153. type: integer
  14154. avalidqty:
  14155. description: 数量(可点选数量)
  14156. type: number
  14157. deliverygoodsid:
  14158. description: 品种id
  14159. type: integer
  14160. enumdicname:
  14161. description: 单位名称
  14162. type: string
  14163. goodsid:
  14164. description: x合约商品id
  14165. type: integer
  14166. ladingbillid:
  14167. description: 提单id
  14168. type: string
  14169. pgoodscode:
  14170. description: p商品代码(点价合约)
  14171. type: string
  14172. pgoodsid:
  14173. description: p商品id(点价合约)
  14174. type: integer
  14175. pgoodsname:
  14176. description: p商品名称(点价合约)
  14177. type: string
  14178. pricemove:
  14179. description: 升贴水
  14180. type: number
  14181. subnum:
  14182. description: 提单子id
  14183. type: integer
  14184. userid:
  14185. description: 用户id
  14186. type: integer
  14187. username:
  14188. description: 仓单持有人
  14189. type: string
  14190. warehousecode:
  14191. description: 仓库代码
  14192. type: string
  14193. warehouseid:
  14194. description: 仓库id
  14195. type: integer
  14196. warehousename:
  14197. description: 仓库名称
  14198. type: string
  14199. wrfactortypeid:
  14200. description: 仓单要素id
  14201. type: string
  14202. wrstandardcode:
  14203. description: 品代码
  14204. type: string
  14205. wrstandardid:
  14206. description: 品类d
  14207. type: integer
  14208. wrstandardname:
  14209. description: 品类名称
  14210. type: string
  14211. wrtypename:
  14212. description: 商品
  14213. type: string
  14214. xgoodscode:
  14215. description: x合约代码
  14216. type: string
  14217. xgoodsname:
  14218. description: x合约名称
  14219. type: string
  14220. type: object
  14221. models.WrDeliveryDetail:
  14222. properties:
  14223. accountid:
  14224. description: 账号ID
  14225. type: integer
  14226. averageprice:
  14227. description: 交割均价 = 交割金额 / 交割数量
  14228. type: number
  14229. buyorsell:
  14230. description: 方向 - 0:买 1:卖
  14231. type: integer
  14232. deliveryamount:
  14233. description: 货款金额(X总货款+P总货款)
  14234. type: number
  14235. deliveryid:
  14236. description: 交割单号(121+Unix秒时间戳(10位)+xxxxxx)
  14237. type: string
  14238. deliveryorderid:
  14239. description: 申报单号
  14240. type: string
  14241. deliverypricemove:
  14242. description: 升贴水(升贴水总额)
  14243. type: number
  14244. deliveryqty:
  14245. description: 交收数量(点选数量)
  14246. type: number
  14247. deliverystatus:
  14248. description: 状态 - 1:待成交 2:已成交 3:成交失败 4:履约完成
  14249. type: integer
  14250. deliverytime:
  14251. description: 交割时间
  14252. type: string
  14253. deliverytotalamount:
  14254. description: 交收金额
  14255. type: number
  14256. enumdicname:
  14257. description: 单位名称
  14258. type: string
  14259. matchaccountid:
  14260. description: 对手账号ID
  14261. type: integer
  14262. matchusername:
  14263. description: 对手方名称(仓单持有人)
  14264. type: string
  14265. p1goodsremainamount:
  14266. description: 点价货款 ps:当PPRICEMODE=2时, 界面需显示"-"
  14267. type: number
  14268. pdeliverycloseqty:
  14269. description: p合约平仓数量
  14270. type: number
  14271. pdeliveryprice:
  14272. description: 点价价格 ps:当PPRICEMODE=2时, 界面需显示"-"
  14273. type: number
  14274. pgoodscode:
  14275. description: 商品代码
  14276. type: string
  14277. pgoodsid:
  14278. description: p点选合约id
  14279. type: integer
  14280. pgoodsname:
  14281. description: 商品名称
  14282. type: string
  14283. ppricemode:
  14284. description: 点价价格方式 - 1:商品价 2:固定值
  14285. type: integer
  14286. tradedate:
  14287. description: 交易日(yyyymmdd)
  14288. type: string
  14289. userid:
  14290. description: 用户id
  14291. type: integer
  14292. username:
  14293. description: 用户名称
  14294. type: string
  14295. warehousename:
  14296. description: 仓库名称
  14297. type: string
  14298. wrfactortypeid:
  14299. description: 仓单要素类型ID
  14300. type: string
  14301. wrtypename:
  14302. description: 商品
  14303. type: string
  14304. xdeliverycloseqty:
  14305. description: 合约数量
  14306. type: number
  14307. xgoodsamount:
  14308. description: 合约金额 = 货款金额(DELIVERYAMOUNT) - 点价货款(P1GOODSREMAINAMOUNT)
  14309. type: number
  14310. xgoodscode:
  14311. description: 商品代码
  14312. type: string
  14313. xgoodsid:
  14314. description: x交易合约ID
  14315. type: integer
  14316. xgoodsname:
  14317. description: 商品名称
  14318. type: string
  14319. type: object
  14320. models.WrFAProductDetail:
  14321. properties:
  14322. accountid:
  14323. description: 资金账号
  14324. type: integer
  14325. areauserid:
  14326. description: 金融机构ID
  14327. type: integer
  14328. financingdays:
  14329. description: 天数(天)
  14330. type: integer
  14331. interestminlen:
  14332. description: 最小起息天数
  14333. type: integer
  14334. interestrate:
  14335. description: 利率
  14336. type: number
  14337. interestratemode:
  14338. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  14339. type: integer
  14340. interestsettlemode:
  14341. description: 结息方式 - 1:按日结息 3:按月结息
  14342. type: integer
  14343. interestsettlevalue:
  14344. description: 结息方式值
  14345. type: integer
  14346. isautoloan:
  14347. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  14348. type: integer
  14349. loantag:
  14350. description: '放款标识: "放款快" 或者为空'
  14351. type: string
  14352. marginratio:
  14353. description: 保证金比率质押率 - [仓单质押]
  14354. type: number
  14355. productdetailid:
  14356. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  14357. type: integer
  14358. productid:
  14359. description: 金融产品ID
  14360. type: integer
  14361. productname:
  14362. description: 产品名称
  14363. type: string
  14364. updatetime:
  14365. description: 更新时间
  14366. type: string
  14367. username:
  14368. description: 融出方
  14369. type: string
  14370. type: object
  14371. models.WrFactorTypeInfo:
  14372. properties:
  14373. deliverygoodscode:
  14374. description: 品种代码
  14375. type: string
  14376. deliverygoodsname:
  14377. description: 品种名称
  14378. type: string
  14379. dgfactoryitemid:
  14380. description: 选择项id
  14381. type: integer
  14382. dgfactoryitemtypeid:
  14383. description: 要素选择项ID (1-仓库 2-品牌)
  14384. type: integer
  14385. dgfactoryitemvalue:
  14386. description: 要素项值
  14387. type: string
  14388. itemtypename:
  14389. description: 要素项名称
  14390. type: string
  14391. optioncompare:
  14392. description: 选择比较串
  14393. type: string
  14394. warehouseid:
  14395. description: 仓库id
  14396. type: integer
  14397. wrfactortypeid:
  14398. description: 仓单要素ID
  14399. type: string
  14400. wrfactortypename:
  14401. description: 要素名称
  14402. type: string
  14403. wrfactortypename2:
  14404. description: 要素名称(不含仓库)
  14405. type: string
  14406. wrstandardcode:
  14407. description: 品类代码
  14408. type: string
  14409. wrstandardid:
  14410. description: 品类id
  14411. type: integer
  14412. wrstandardname:
  14413. description: 品类名称
  14414. type: string
  14415. type: object
  14416. models.WrFilterItem:
  14417. properties:
  14418. itemcode:
  14419. description: 代码
  14420. type: string
  14421. itemid:
  14422. description: 项id
  14423. type: integer
  14424. itemname:
  14425. description: 名称
  14426. type: string
  14427. itemtype:
  14428. description: 类型 1-品种 2-品类(商品) 3-仓库
  14429. type: integer
  14430. type: object
  14431. models.WrFinanceBuyApply:
  14432. properties:
  14433. applydate:
  14434. description: 申请时间
  14435. type: string
  14436. applystatus:
  14437. description: 申请状态 - 1:待审核 2.审核中 3:审核通过 4:审核拒绝 5:审核失败 6:已撤销 7:自动审核 8:融资失败
  14438. type: integer
  14439. applyuserid:
  14440. description: 申请人
  14441. type: integer
  14442. auditdate:
  14443. description: 审核时间
  14444. type: string
  14445. auditremark:
  14446. description: 审核备注
  14447. type: string
  14448. audituserid:
  14449. description: 审核人
  14450. type: integer
  14451. buyaccountid:
  14452. description: 买方资金账号
  14453. type: integer
  14454. buyorsell:
  14455. description: 买卖 - 0:买 1:卖
  14456. type: integer
  14457. buyuserid:
  14458. description: 买方用户ID
  14459. type: integer
  14460. buyusername:
  14461. description: 买方名称
  14462. type: string
  14463. buywrtradeorderid:
  14464. description: 融资方买委托单ID
  14465. type: string
  14466. deliverygoodscode:
  14467. description: 品种代码
  14468. type: string
  14469. deliverygoodsid:
  14470. description: 品种ID
  14471. type: integer
  14472. deliverygoodsname:
  14473. description: 品种名称
  14474. type: string
  14475. deliverymonth:
  14476. description: 交收月(yyyy-MM) [无仓单HasWR =0]
  14477. type: string
  14478. enumdicname:
  14479. description: 单位名称
  14480. type: string
  14481. financeaccountid:
  14482. description: 融资方资金帐户ID
  14483. type: integer
  14484. financeapplyid:
  14485. description: 融资申请单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14486. type: string
  14487. financeareauserid:
  14488. description: 融资方用户ID
  14489. type: string
  14490. financename:
  14491. description: 融出方名称
  14492. type: string
  14493. financetype:
  14494. description: 融资类型 1-融资回购
  14495. type: integer
  14496. financingdays:
  14497. description: 天数(天)
  14498. type: integer
  14499. freezebuymargin:
  14500. description: 冻结融资保证金(买方)
  14501. type: number
  14502. handleremark:
  14503. description: 处理备注
  14504. type: string
  14505. handlestatus:
  14506. description: 处理状态
  14507. type: integer
  14508. interestminlen:
  14509. description: 最小起息天数
  14510. type: integer
  14511. interestrate:
  14512. description: 利率
  14513. type: number
  14514. interestratemode:
  14515. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  14516. type: integer
  14517. interestsettlemode:
  14518. description: 结息方式 - 1:按日结息 3:按月结息
  14519. type: integer
  14520. interestsettlevalue:
  14521. description: 结息方式值
  14522. type: integer
  14523. isautoloan:
  14524. description: 是否自动放款 - 0:手动 1:自动
  14525. type: integer
  14526. marginratio:
  14527. description: 保证金比率质押率 - [仓单质押]
  14528. type: number
  14529. marketid:
  14530. description: 市场ID
  14531. type: integer
  14532. minivalue:
  14533. description: 现货商品最小变动值
  14534. type: integer
  14535. optioncompare:
  14536. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14537. type: string
  14538. orderqty:
  14539. description: 委托数量(商品数量)
  14540. type: number
  14541. productdetailid:
  14542. description: 产品组合ID
  14543. type: integer
  14544. productid:
  14545. description: 金融产品ID
  14546. type: integer
  14547. productname:
  14548. description: 产品名称
  14549. type: string
  14550. remark:
  14551. description: 备注
  14552. type: string
  14553. scfcontractid:
  14554. description: 仓单回购合同ID
  14555. type: string
  14556. sellaccountid:
  14557. description: 卖方资金账号
  14558. type: integer
  14559. selluserid:
  14560. description: 卖方用户ID
  14561. type: integer
  14562. sellwrtradeorderid:
  14563. description: 卖方委托单ID
  14564. type: string
  14565. tradeamount:
  14566. description: 成交金额(借款金额)
  14567. type: number
  14568. tradedate:
  14569. description: 交易日(yyyyMMdd)
  14570. type: string
  14571. tradeprice:
  14572. description: 成交价格
  14573. type: number
  14574. warehouseid:
  14575. description: 仓库ID
  14576. type: integer
  14577. warehousename:
  14578. description: 仓库名称
  14579. type: string
  14580. wrfactortypeid:
  14581. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14582. type: string
  14583. wrfactortypename:
  14584. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14585. type: string
  14586. wrpricetype:
  14587. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌单]
  14588. type: integer
  14589. wrstandardcode:
  14590. description: 现货商品代码
  14591. type: string
  14592. wrstandardid:
  14593. description: 现货商品ID
  14594. type: integer
  14595. wrstandardname:
  14596. description: 商品名称
  14597. type: string
  14598. wrtypename:
  14599. description: 商品
  14600. type: string
  14601. type: object
  14602. models.WrFriendApply:
  14603. properties:
  14604. applicantid:
  14605. description: 申请人
  14606. type: integer
  14607. applyname:
  14608. description: 申请人名称
  14609. type: string
  14610. applysrc:
  14611. description: 申请来源 - 1:管理端 2:终端
  14612. type: integer
  14613. applystatus:
  14614. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  14615. type: integer
  14616. applytime:
  14617. description: 申请时间
  14618. type: string
  14619. auditname:
  14620. description: 审核人名称
  14621. type: string
  14622. auditorid:
  14623. description: 审核人
  14624. type: integer
  14625. auditremark:
  14626. description: 审核备注
  14627. type: string
  14628. auditsrc:
  14629. description: 审核来源 - 1:管理端 2:终端
  14630. type: integer
  14631. audittime:
  14632. description: 审核时间
  14633. type: string
  14634. friendapplyid:
  14635. description: 申请ID(SEQ_FRIENDAPPLY)
  14636. type: string
  14637. friendname:
  14638. description: 好友名字(已脱敏)
  14639. type: string
  14640. frienduserid:
  14641. description: 好友用户ID
  14642. type: string
  14643. remark:
  14644. description: 备注
  14645. type: string
  14646. userid:
  14647. description: 申请人用户ID
  14648. type: integer
  14649. type: object
  14650. models.WrFtDeliveryGoods:
  14651. properties:
  14652. deliverygoodscode:
  14653. description: 品种代码
  14654. type: string
  14655. deliverygoodsid:
  14656. description: 品种ID
  14657. type: integer
  14658. deliverygoodsname:
  14659. description: 品种名称
  14660. type: string
  14661. wdlst:
  14662. description: 商品列表
  14663. items:
  14664. $ref: '#/definitions/models.WrFtWrstandard'
  14665. type: array
  14666. type: object
  14667. models.WrFtWrstandard:
  14668. properties:
  14669. enumdicname:
  14670. description: 单位名称
  14671. type: string
  14672. minivalue:
  14673. description: 最小变动值
  14674. type: integer
  14675. wrstandardcode:
  14676. description: 现货商品代码
  14677. type: string
  14678. wrstandardid:
  14679. description: 现货商品ID
  14680. type: integer
  14681. wrstandardname:
  14682. description: 商品名称
  14683. type: string
  14684. type: object
  14685. models.WrGoodsInfo:
  14686. properties:
  14687. haswr:
  14688. description: 0:仓单预售 1:仓单贸易
  14689. type: integer
  14690. lstitem:
  14691. description: 商品信息项
  14692. items:
  14693. $ref: '#/definitions/models.WrTypeItem'
  14694. type: array
  14695. lststep:
  14696. description: 履约规则
  14697. items:
  14698. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  14699. type: array
  14700. marketid:
  14701. description: 市场id
  14702. type: integer
  14703. type: object
  14704. models.WrGoodsPerformanceStep:
  14705. properties:
  14706. autoid:
  14707. description: AutoID
  14708. type: integer
  14709. isauto:
  14710. description: 是否自动 - 0:不自动 1:自动
  14711. type: integer
  14712. remark:
  14713. description: 备注
  14714. type: string
  14715. stepdate:
  14716. description: 天数信息(T+N)
  14717. type: string
  14718. stepdays:
  14719. description: 距离上一步天数
  14720. type: integer
  14721. stepindex:
  14722. description: 步骤序号
  14723. type: integer
  14724. stepinfo:
  14725. description: 步骤信息(步骤名称+步骤值)
  14726. type: string
  14727. steptypeid:
  14728. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  14729. type: integer
  14730. steptypename:
  14731. description: 步骤名称
  14732. type: string
  14733. stepvalue:
  14734. description: 步骤值
  14735. type: number
  14736. templateid:
  14737. description: 履约计划模板ID
  14738. type: integer
  14739. type: object
  14740. models.WrHoldLB:
  14741. properties:
  14742. accountid:
  14743. description: 持有人帐户ID
  14744. type: integer
  14745. createtime:
  14746. description: 创建时间(过户时间)
  14747. type: string
  14748. deliverygoodscode:
  14749. description: 品种代码
  14750. type: string
  14751. deliverygoodsid:
  14752. description: 品种ID
  14753. type: integer
  14754. deliverygoodsname:
  14755. description: 品种名称
  14756. type: string
  14757. enableqty:
  14758. description: 可用数量
  14759. type: number
  14760. enumdicname:
  14761. description: 单位名称
  14762. type: string
  14763. freezerqty:
  14764. description: 冻结数量
  14765. type: number
  14766. ladingbillid:
  14767. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  14768. type: string
  14769. minivalue:
  14770. description: 现货商品最小变动值
  14771. type: integer
  14772. optioncompare:
  14773. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14774. type: string
  14775. parentsubnum:
  14776. description: 拆分父子单号
  14777. type: integer
  14778. pledgeqty:
  14779. description: 质押数量
  14780. type: number
  14781. qty:
  14782. description: 数量
  14783. type: number
  14784. subnum:
  14785. description: 提单子单号
  14786. type: integer
  14787. tradedate:
  14788. description: 交易日(yyyyMMdd)
  14789. type: string
  14790. userid:
  14791. description: 持有人ID
  14792. type: integer
  14793. warehouseid:
  14794. description: 仓库ID
  14795. type: integer
  14796. warehousename:
  14797. description: 仓库名称
  14798. type: string
  14799. wrfactortypeid:
  14800. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14801. type: string
  14802. wrfactortypename:
  14803. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14804. type: string
  14805. wrholdeno:
  14806. description: 仓单编号
  14807. type: string
  14808. wrid:
  14809. description: 仓单变更ID
  14810. type: string
  14811. wrstandardcode:
  14812. description: 现货商品代码
  14813. type: string
  14814. wrstandardid:
  14815. description: 现货商品ID
  14816. type: integer
  14817. wrstandardname:
  14818. description: 商品名称
  14819. type: string
  14820. wrtypename:
  14821. description: 商品
  14822. type: string
  14823. type: object
  14824. models.WrMarketTradeConfig:
  14825. properties:
  14826. basisdownratio:
  14827. description: 浮动价基差下限比例(仓单贸易)
  14828. type: number
  14829. basisupratio:
  14830. description: 浮动价基差上限比例(仓单贸易)
  14831. type: number
  14832. buychargealgorithm:
  14833. description: 买方手续费收取方式 1:比率 2:固定
  14834. type: integer
  14835. buychargealgorithm2:
  14836. description: 回购买方手续费收取方式 1:比率 2:固定 --77:现货商城
  14837. type: integer
  14838. buychargealgorithmvalue:
  14839. description: 买方手续费设置值(交易所部分)
  14840. type: number
  14841. buychargealgorithmvalue2:
  14842. description: 买方手续费设置值(会员部分)
  14843. type: number
  14844. buychargealgorithmvalue3:
  14845. description: 回购买方手续费设置值(交易所部分) --77:现货商城
  14846. type: number
  14847. buychargealgorithmvalue4:
  14848. description: 回购买方手续费设置值(会员部分) --77:现货商城
  14849. type: number
  14850. buyfirstmarginalgorithm:
  14851. description: 买方出价保证金方式 - 1:比率 2:固定 - [竞拍]
  14852. type: integer
  14853. buyfirstmarginvalue:
  14854. description: 买方出价保证金设置值 - [竞拍]
  14855. type: number
  14856. buymarginalgorithm:
  14857. description: 买方保证金方式 - 1:比率 2:固定
  14858. type: integer
  14859. buymarginvalue:
  14860. description: 买方保证金设置值
  14861. type: number
  14862. buyreleaseratio:
  14863. description: 买方释放比率[2:分步履约]
  14864. type: number
  14865. executemode:
  14866. description: 执行方式[2:分步履约] - 1:顺序执行 2:交叉执行
  14867. type: integer
  14868. executeside:
  14869. description: 执行方[2:分步履约] - 1:买方 2:卖方
  14870. type: integer
  14871. failedchargealgorithm:
  14872. description: 流拍手续费收取方式 1:比率 2:固定
  14873. type: integer
  14874. failedchargevalue:
  14875. description: 流拍手续费设置值
  14876. type: number
  14877. failedchargevalue2:
  14878. description: 流拍卖方手续费设置值
  14879. type: number
  14880. holddays:
  14881. description: 合同期限[2:分步履约]
  14882. type: integer
  14883. marketid:
  14884. description: 市场ID-仓单贸易、竞拍、预售
  14885. type: integer
  14886. minqty:
  14887. description: 最小执行量[2:分步履约]
  14888. type: number
  14889. modifierid:
  14890. description: 修改人
  14891. type: integer
  14892. performancetempid:
  14893. description: 履约计划模板ID(有仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行(-1)
  14894. type: integer
  14895. performancetempid2:
  14896. description: 履约计划模板ID(无仓单) - 根据交货模式:1:履约 - 履约计划模板2:分步履约 - 履约计划模板3:分步提货 - 履约方式: 立即执行
  14897. type: integer
  14898. performanceway:
  14899. description: 交货模式 - 1:履约计划 2:分步履约 3:分步提货[文昌]
  14900. type: integer
  14901. sellchargealgorithm:
  14902. description: 卖方手续费收取方式 1:比率 2:固定
  14903. type: integer
  14904. sellchargealgorithm2:
  14905. description: 回购卖方手续费收取方式 1:比率 2:固定 --77:现货商城
  14906. type: integer
  14907. sellchargealgorithmvalue:
  14908. description: 卖方手续费设置值(交易所部分)
  14909. type: number
  14910. sellchargealgorithmvalue2:
  14911. description: 卖方手续费设置值(会员部分)
  14912. type: number
  14913. sellchargealgorithmvalue3:
  14914. description: 回购卖方手续费设置值(交易所部分) --77:现货商城
  14915. type: number
  14916. sellchargealgorithmvalue4:
  14917. description: 回购卖方手续费设置值(会员部分) --77:现货商城
  14918. type: number
  14919. sellmarginalgorithm:
  14920. description: 卖方保证金方式 - 1:比率 2:固定
  14921. type: integer
  14922. sellmarginvalue:
  14923. description: 卖方保证金设置值
  14924. type: number
  14925. sellmarginvalue2:
  14926. description: 卖方保证金设置值(无仓单)
  14927. type: number
  14928. sellreleaseratio:
  14929. description: 卖方释放比率[2:分步履约]
  14930. type: number
  14931. updatetime:
  14932. description: 更新时间
  14933. type: string
  14934. type: object
  14935. models.WrOrderDetail:
  14936. properties:
  14937. accountid:
  14938. description: 交易账号(资金账号)
  14939. type: integer
  14940. allfriendsflag:
  14941. description: 是否全好友可见 - 0:否 1:是
  14942. type: integer
  14943. amount:
  14944. description: 挂牌金额 = 委托数量 * 固定价或升贴水
  14945. type: number
  14946. buyorsell:
  14947. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  14948. type: integer
  14949. canbargain:
  14950. description: 是否可议价 - 0:不可 1:可
  14951. type: integer
  14952. cancelqty:
  14953. description: 撤销数量
  14954. type: number
  14955. canpart:
  14956. description: 是否允许部份摘牌 - 0:不允许(要求整单) 1:允许(可以不整单)
  14957. type: integer
  14958. delistminqty:
  14959. description: 起摘数量
  14960. type: integer
  14961. deliverygoodscode:
  14962. description: 品种代码
  14963. type: string
  14964. deliverygoodsid:
  14965. description: 品种ID
  14966. type: integer
  14967. deliverygoodsname:
  14968. description: 品种名称
  14969. type: string
  14970. deliverymonth:
  14971. description: 交收月
  14972. type: string
  14973. enumdicname:
  14974. description: 单位名称
  14975. type: string
  14976. fixedprice:
  14977. description: 固定价格 - [挂牌]
  14978. type: number
  14979. freezemargin:
  14980. description: 冻结保证金(保证金)
  14981. type: number
  14982. futupricemove:
  14983. description: 期货升贴水
  14984. type: number
  14985. futushow:
  14986. description: 期货合约/升贴水
  14987. type: string
  14988. goodscode:
  14989. description: 期货合约
  14990. type: string
  14991. goodsid:
  14992. description: 期货商品id
  14993. type: integer
  14994. goodsname:
  14995. description: 商品名称
  14996. type: string
  14997. haswr:
  14998. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  14999. type: integer
  15000. isspecified:
  15001. description: 是否指定对手 - 0:不指定 1:指定 - [挂牌]
  15002. type: integer
  15003. ladingbillid:
  15004. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  15005. type: string
  15006. marginvalue:
  15007. description: 保证金设置值(履约保证金)
  15008. type: number
  15009. marketid:
  15010. description: 市场ID
  15011. type: integer
  15012. matchusername:
  15013. description: 对手方名称(当ISSPECIFIED=1时,有值,指定朋友的名称)
  15014. type: string
  15015. minivalue:
  15016. description: 现货商品最小变动值
  15017. type: integer
  15018. optioncompare:
  15019. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15020. type: string
  15021. orderqty:
  15022. description: 委托数量
  15023. type: number
  15024. ordertime:
  15025. description: 委托时间(挂牌时间)
  15026. type: string
  15027. performancetemplateid:
  15028. description: 履约模板id
  15029. type: integer
  15030. pricemove:
  15031. description: 升贴水(浮动价时填写) - [挂牌]
  15032. type: number
  15033. taname:
  15034. description: 交易用户名称(资金账号名称)
  15035. type: string
  15036. tradedate:
  15037. description: 交易日(yyyyMMdd)
  15038. type: string
  15039. tradeprice:
  15040. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)* 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  15041. type: number
  15042. tradeqty:
  15043. description: 成交数量
  15044. type: number
  15045. userid:
  15046. description: 用户ID
  15047. type: integer
  15048. validtime:
  15049. description: 挂牌有效期
  15050. type: string
  15051. warehouseid:
  15052. description: 仓库ID
  15053. type: integer
  15054. warehousename:
  15055. description: 仓库名称
  15056. type: string
  15057. wrfactortypeid:
  15058. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15059. type: string
  15060. wrfactortypename:
  15061. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15062. type: string
  15063. wrpricetype:
  15064. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  15065. type: integer
  15066. wrstandardcode:
  15067. description: 现货商品代码
  15068. type: string
  15069. wrstandardid:
  15070. description: 现货商品ID
  15071. type: integer
  15072. wrstandardname:
  15073. description: 商品名称
  15074. type: string
  15075. wrtradeorderid:
  15076. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15077. type: string
  15078. wrtradeorderstatus:
  15079. 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:撤单解冻贷款失败
  15080. type: integer
  15081. wrtradetype:
  15082. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  15083. type: integer
  15084. wrtypename:
  15085. description: 商品
  15086. type: string
  15087. type: object
  15088. models.WrOrderQuote:
  15089. properties:
  15090. buyprice:
  15091. description: 买价
  15092. type: number
  15093. buypricemove:
  15094. description: 买升贴水(基差)
  15095. type: number
  15096. buyqty:
  15097. description: 买量
  15098. type: number
  15099. deliverygoodscode:
  15100. description: 品种代码
  15101. type: string
  15102. deliverygoodsid:
  15103. description: 品种id
  15104. type: integer
  15105. deliverygoodsname:
  15106. description: 品种名称
  15107. type: string
  15108. deliverymonth:
  15109. description: 交收月
  15110. type: string
  15111. enumdicname:
  15112. description: 单位名称
  15113. type: string
  15114. goodscode:
  15115. description: 商品合约(浮动价列表才有)
  15116. type: string
  15117. goodsid:
  15118. description: 商品id(浮动价列表才有)
  15119. type: integer
  15120. minivalue:
  15121. description: 现货商品最小变动值
  15122. type: integer
  15123. sellprice:
  15124. description: 卖价
  15125. type: number
  15126. sellpricemove:
  15127. description: 卖升贴水(基差)
  15128. type: number
  15129. sellqty:
  15130. description: 卖量
  15131. type: number
  15132. warehousecode:
  15133. description: 仓库代码
  15134. type: string
  15135. warehouseid:
  15136. description: 仓库id
  15137. type: integer
  15138. warehousename:
  15139. description: 仓库名称
  15140. type: string
  15141. wrfactortypeid:
  15142. description: 仓单要素id
  15143. type: string
  15144. wrfactortypename:
  15145. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15146. type: string
  15147. wrgoodsname:
  15148. description: 商品(商品名称+仓库要素名称 拼接)
  15149. type: string
  15150. wrstandardcode:
  15151. description: 商品代码
  15152. type: string
  15153. wrstandardid:
  15154. description: 商品id
  15155. type: integer
  15156. wrstandardname:
  15157. description: 商品名称
  15158. type: string
  15159. type: object
  15160. models.WrOrderQuoteDetail:
  15161. properties:
  15162. buyorsell:
  15163. description: 买卖 - 0:买 1:卖
  15164. type: integer
  15165. delistminqty:
  15166. description: 起摘数量
  15167. type: number
  15168. deliverymonth:
  15169. description: 交收月
  15170. type: string
  15171. enumdicname:
  15172. description: 单位名称
  15173. type: string
  15174. fixedprice:
  15175. description: 买(卖)价
  15176. type: number
  15177. minivalue:
  15178. description: 现货商品最小变动值
  15179. type: integer
  15180. orderqty:
  15181. description: 买(卖)量(=委托量-成交量)
  15182. type: number
  15183. ordertime:
  15184. description: 委托时间
  15185. type: string
  15186. pricemove:
  15187. description: 买(卖)升贴水- 基差
  15188. type: number
  15189. userid:
  15190. description: 购买方(销售方)用户ID
  15191. type: integer
  15192. username:
  15193. description: 购买方(销售方)
  15194. type: string
  15195. wrtradeorderid:
  15196. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15197. type: string
  15198. type: object
  15199. models.WrOutInApply:
  15200. properties:
  15201. applyid:
  15202. description: 申请单id
  15203. type: string
  15204. applystatus:
  15205. description: 申请状态 - 0:预约成功 1:待初审 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  15206. type: integer
  15207. applytime:
  15208. description: 申请时间
  15209. type: string
  15210. applytype:
  15211. description: 申请类型 - 1:预约入库 2:预约出库 3:入库注册 4:出库注销
  15212. type: integer
  15213. deliverygoodscode:
  15214. description: 品种代码
  15215. type: string
  15216. deliverygoodsid:
  15217. description: 品种ID
  15218. type: integer
  15219. deliverygoodsname:
  15220. description: 品种名称
  15221. type: string
  15222. enumdicname:
  15223. description: 单位名称
  15224. type: string
  15225. expresscompany:
  15226. description: 物流公司
  15227. type: string
  15228. expressnum:
  15229. description: 物流单号
  15230. type: string
  15231. minivalue:
  15232. description: 现货商品最小变动值
  15233. type: integer
  15234. optioncompare:
  15235. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15236. type: string
  15237. qty:
  15238. description: 数量
  15239. type: integer
  15240. userid:
  15241. description: 用户id
  15242. type: integer
  15243. warehouseid:
  15244. description: 仓库ID
  15245. type: integer
  15246. warehousename:
  15247. description: 仓库名称
  15248. type: string
  15249. wrfactortypeid:
  15250. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15251. type: string
  15252. wrfactortypename:
  15253. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15254. type: string
  15255. wrstandardcode:
  15256. description: 现货商品代码
  15257. type: string
  15258. wrstandardid:
  15259. description: 现货商品ID
  15260. type: integer
  15261. wrstandardname:
  15262. description: 商品名称
  15263. type: string
  15264. wrtypename:
  15265. description: 商品
  15266. type: string
  15267. type: object
  15268. models.WrPerformancePlan:
  15269. properties:
  15270. activatemonth:
  15271. description: 履约激活月 [无仓单的交易收月](yyyy-MM)
  15272. type: string
  15273. amount:
  15274. description: 履约金额(总金额)
  15275. type: number
  15276. buyaccountid:
  15277. description: 买方账号
  15278. type: integer
  15279. buyerfreezeamount:
  15280. description: 履约冻结(买履约)
  15281. type: number
  15282. buyerfreezeamountremain:
  15283. description: 履约冻结剩余(买履约)
  15284. type: number
  15285. buyorsell:
  15286. description: 买卖方向 0-买 1-卖
  15287. type: integer
  15288. buypaidamount:
  15289. description: 买方已冻/已扣金额 (已付金额)
  15290. type: number
  15291. buyusername:
  15292. description: 买方名字
  15293. type: string
  15294. contractid:
  15295. description: 合同ID
  15296. type: integer
  15297. createtime:
  15298. description: 创建时间
  15299. type: string
  15300. creatorid:
  15301. description: 创建人
  15302. type: integer
  15303. curstepdeadline:
  15304. description: 当前步骤到期时间
  15305. type: string
  15306. curstepid:
  15307. description: 当前步骤ID
  15308. type: string
  15309. curstepname:
  15310. description: 当前步骤名称
  15311. type: string
  15312. deliverygoodscode:
  15313. description: 品种代码
  15314. type: string
  15315. deliverygoodsid:
  15316. description: 品种ID
  15317. type: integer
  15318. deliverygoodsname:
  15319. description: 品种名称
  15320. type: string
  15321. enumdicname:
  15322. description: 单位名称
  15323. type: string
  15324. expressfee:
  15325. description: 运费
  15326. type: number
  15327. expressfeeconfirmed:
  15328. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  15329. type: integer
  15330. hasovershort:
  15331. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  15332. type: integer
  15333. haswr:
  15334. description: 类型 0-仓单预售 1-仓单贸易
  15335. type: integer
  15336. marketid:
  15337. description: 市场ID
  15338. type: integer
  15339. middleaccountid:
  15340. description: 中间商资金账号ID
  15341. type: integer
  15342. middleuserid:
  15343. description: 中间商用户ID
  15344. type: integer
  15345. minivalue:
  15346. description: 现货商品最小变动值
  15347. type: integer
  15348. optioncompare:
  15349. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15350. type: string
  15351. overshortamount:
  15352. description: 溢短金额
  15353. type: number
  15354. overshortqty:
  15355. description: 溢短数量
  15356. type: number
  15357. paymenttype:
  15358. description: 付款方式 - 1:冻结 2:扣款
  15359. type: integer
  15360. performanceplanid:
  15361. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  15362. type: string
  15363. performancestatus:
  15364. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败 9:超时待处理 10:超时关闭
  15365. type: integer
  15366. performancetype:
  15367. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  15368. type: integer
  15369. qty:
  15370. description: 履约数量
  15371. type: number
  15372. relatedorderid:
  15373. description: 关联单号(履约类型的关联单号)
  15374. type: string
  15375. remark:
  15376. description: 备注
  15377. type: string
  15378. sellaccountid:
  15379. description: 卖方账号
  15380. type: integer
  15381. sellerfreezeamount:
  15382. description: 履约冻结(卖履约)
  15383. type: number
  15384. sellerfreezeamountremain:
  15385. description: 履约冻结剩余(卖履约)
  15386. type: number
  15387. sellreceivedamount:
  15388. description: 卖方已收金额
  15389. type: number
  15390. sellusername:
  15391. description: 卖方名字
  15392. type: string
  15393. shipremark:
  15394. description: 发货备注[物流单号]
  15395. type: string
  15396. starttime:
  15397. description: 开始时间
  15398. type: string
  15399. steptypeid:
  15400. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15401. type: integer
  15402. typename:
  15403. description: 履约类型 名称
  15404. type: string
  15405. unpaidamount:
  15406. description: 剩余款(待支付金额)
  15407. type: number
  15408. userid:
  15409. description: 用户id
  15410. type: integer
  15411. warehouseid:
  15412. description: 仓库ID
  15413. type: integer
  15414. warehousename:
  15415. description: 仓库名称
  15416. type: string
  15417. wrfactortypeid:
  15418. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15419. type: string
  15420. wrfactortypename:
  15421. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15422. type: string
  15423. wrstandardcode:
  15424. description: 现货商品代码
  15425. type: string
  15426. wrstandardid:
  15427. description: 现货商品ID
  15428. type: integer
  15429. wrstandardname:
  15430. description: 商品名称
  15431. type: string
  15432. wrtransferuserid:
  15433. description: 仓单受让用户
  15434. type: integer
  15435. wrtypename:
  15436. description: 商品
  15437. type: string
  15438. required:
  15439. - userid
  15440. type: object
  15441. models.WrPerformancePlanStep:
  15442. properties:
  15443. delaydays:
  15444. description: 延期申请天数
  15445. type: integer
  15446. deliverygoodscode:
  15447. description: 品种代码
  15448. type: string
  15449. deliverygoodsid:
  15450. description: 品种ID
  15451. type: integer
  15452. deliverygoodsname:
  15453. description: 品种名称
  15454. type: string
  15455. endtime:
  15456. description: 结束日期
  15457. type: string
  15458. enumdicname:
  15459. description: 单位名称
  15460. type: string
  15461. executeside:
  15462. description: 步骤执行方 - 1:买方 2:卖方
  15463. type: integer
  15464. handlestatus:
  15465. description: 处理状态 - 1:开始 2:结束 3:冻结请求 4:冻结返回成功 5:冻结返回失败 6:扣款请求 7:扣款返回成功 8:扣款返回失败 9:仓单转移请求 10:仓单转移返回成功 11:仓单转移返回失败 12:加钱请求 13:加钱返回成功 14:加钱返回失败 15:解冻仓单头寸请求 16:解冻仓单头寸返回成功 17:解冻仓单头寸返回失败 18:解冻库位请求 19:解冻库位返回成功 20:解冻库位返回失败
  15466. type: integer
  15467. isauto:
  15468. description: 是否自动 - 0:不自动 1:自动
  15469. type: integer
  15470. islastreceivestep:
  15471. description: 是否最后收款步骤 - 0:不是 1:是 (暂时不用,由服务自己判断是否为最后一步付款或收款)
  15472. type: integer
  15473. minivalue:
  15474. description: 现货商品最小变动值
  15475. type: integer
  15476. optioncompare:
  15477. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15478. type: string
  15479. overdays:
  15480. description: 超期天数 = 当前时间(数据库时间) - 结束日期
  15481. type: integer
  15482. performancestepid:
  15483. description: 履约步骤ID(131+Unix秒时间戳(10位)+xxxxxx)
  15484. type: string
  15485. planid:
  15486. description: 所属履约计划ID
  15487. type: string
  15488. realamount:
  15489. description: 实际完成金额
  15490. type: number
  15491. relatedorderid:
  15492. description: 关联单号
  15493. type: string
  15494. remaindays:
  15495. description: 剩余天数
  15496. type: integer
  15497. remark:
  15498. description: 错误备注
  15499. type: string
  15500. starttime:
  15501. description: 开始日期
  15502. type: string
  15503. stepamount:
  15504. description: 步骤金额
  15505. type: number
  15506. stepdays:
  15507. description: 距离上一步天数(分钟)
  15508. type: integer
  15509. stepindex:
  15510. description: 步骤序号
  15511. type: integer
  15512. steplanchtype:
  15513. description: 步骤启动类型 - 1:系统自动 2:手动
  15514. type: integer
  15515. stepremark:
  15516. description: 步骤备注
  15517. type: string
  15518. stepstatus:
  15519. description: 步骤状态 - 1:待开始 2:进行中 3:已完成 4:延期(进行中) 5:失败 6:自动完成 7:超时关闭
  15520. type: integer
  15521. steptypeid:
  15522. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  15523. type: integer
  15524. steptypename:
  15525. description: 步骤名称
  15526. type: string
  15527. stepvalue:
  15528. description: 步骤值
  15529. type: number
  15530. warehouseid:
  15531. description: 仓库ID
  15532. type: integer
  15533. warehousename:
  15534. description: 仓库名称
  15535. type: string
  15536. wrfactortypeid:
  15537. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15538. type: string
  15539. wrfactortypename:
  15540. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15541. type: string
  15542. wrstandardcode:
  15543. description: 现货商品代码
  15544. type: string
  15545. wrstandardid:
  15546. description: 现货商品ID
  15547. type: integer
  15548. wrstandardname:
  15549. description: 商品名称
  15550. type: string
  15551. wrtypename:
  15552. description: 商品
  15553. type: string
  15554. type: object
  15555. models.WrPerformanceStepType:
  15556. properties:
  15557. canauto:
  15558. description: '能否自动确认 - 0:不可自动确认 1:可自动确认 (可设置自动确认步骤: 1:买方支付 3:买方自提 5:买方确认货 7:买方确认票)'
  15559. type: integer
  15560. steptypeid:
  15561. description: 步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票 8:仓单转移
  15562. type: integer
  15563. steptypename:
  15564. description: 步骤类型名称
  15565. type: string
  15566. type: object
  15567. models.WrPerformanceTemplateEx:
  15568. properties:
  15569. autoid:
  15570. description: AutoID 模板id
  15571. type: integer
  15572. createtime:
  15573. description: 创建时间
  15574. type: string
  15575. creatorid:
  15576. description: 创建人
  15577. type: integer
  15578. lstStep:
  15579. description: 步骤信息列表
  15580. items:
  15581. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  15582. type: array
  15583. paymenttype:
  15584. description: 支付方式 - 1:冻结 2:扣款
  15585. type: integer
  15586. takemode:
  15587. description: 提货方式 - 1:无 2:买方自提 3:卖方发货
  15588. type: integer
  15589. templatename:
  15590. description: 模板名称
  15591. type: string
  15592. templatetype:
  15593. description: 模板类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  15594. type: integer
  15595. userid:
  15596. description: 所属用户
  15597. type: integer
  15598. type: object
  15599. models.WrPosition:
  15600. properties:
  15601. accountid:
  15602. description: 帐户ID
  15603. type: integer
  15604. buyexcuteqty:
  15605. description: 采购履约中数量
  15606. type: number
  15607. creditcurqty:
  15608. description: 授信当前数量(预售仓单:预售当前量)
  15609. type: number
  15610. creditenableqty:
  15611. description: '授信可用数量(预售仓单: 可用数量)'
  15612. type: number
  15613. creditfreezeqty:
  15614. description: '授信冻结数量(预售仓单: 当前数量)'
  15615. type: number
  15616. credittotalqty:
  15617. description: 授信总数量(预售仓单:预售总量)
  15618. type: number
  15619. credittradeqty:
  15620. description: 授信成交数量(预售仓单:成交总量)
  15621. type: number
  15622. deliverygoodscode:
  15623. description: 品种代码
  15624. type: string
  15625. deliverygoodsid:
  15626. description: 品种ID
  15627. type: integer
  15628. deliverygoodsname:
  15629. description: 品种名称
  15630. type: string
  15631. enalbeqty:
  15632. description: 可用数量
  15633. type: number
  15634. enumdicname:
  15635. description: 单位名称
  15636. type: string
  15637. freezeqty:
  15638. description: 总冻结数量
  15639. type: number
  15640. haswr:
  15641. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  15642. type: integer
  15643. minivalue:
  15644. description: 现货商品最小变动值
  15645. type: integer
  15646. modifytime:
  15647. description: 修改时间(过户时间)
  15648. type: string
  15649. optioncompare:
  15650. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15651. type: string
  15652. pledgeqty:
  15653. description: 质押数量
  15654. type: number
  15655. querytype:
  15656. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  15657. type: integer
  15658. sellexcuteqty:
  15659. description: 销售履约中数量
  15660. type: number
  15661. totalqty:
  15662. description: 总数量(库存数量)
  15663. type: number
  15664. warehouseid:
  15665. description: 仓库ID
  15666. type: integer
  15667. warehousename:
  15668. description: 仓库名称
  15669. type: string
  15670. wrfactortypeid:
  15671. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15672. type: string
  15673. wrfactortypename:
  15674. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15675. type: string
  15676. wrpositionid:
  15677. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  15678. type: string
  15679. wrpositionno:
  15680. description: 仓单编号
  15681. type: string
  15682. wrstandardcode:
  15683. description: 现货商品代码
  15684. type: string
  15685. wrstandardid:
  15686. description: 现货商品ID
  15687. type: integer
  15688. wrstandardname:
  15689. description: 商品名称
  15690. type: string
  15691. wrtypename:
  15692. description: 商品
  15693. type: string
  15694. wruserid:
  15695. description: 持有人ID
  15696. type: integer
  15697. type: object
  15698. models.WrQuoteOrderMyq:
  15699. properties:
  15700. buyorsell:
  15701. description: 买卖 - 0:买 1:卖
  15702. type: integer
  15703. canbargain:
  15704. description: 是否可议价 - 0:不可 1:可
  15705. type: integer
  15706. canpart:
  15707. description: 是否允许部份摘牌 - 0:不允许 1:允许
  15708. type: integer
  15709. delistminqty:
  15710. description: 起摘数量
  15711. type: number
  15712. deliverygoodscode:
  15713. description: 品种代码
  15714. type: string
  15715. deliverygoodsid:
  15716. description: 品种ID
  15717. type: integer
  15718. deliverygoodsname:
  15719. description: 品种名称
  15720. type: string
  15721. deliverymonth:
  15722. description: 交收月
  15723. type: string
  15724. enumdicname:
  15725. description: 单位名称
  15726. type: string
  15727. fixedprice:
  15728. description: 买(卖)价
  15729. type: number
  15730. goodscode:
  15731. description: 商品合约代码
  15732. type: string
  15733. marginflag:
  15734. description: 挂牌是否指定保证金 - 0:未指定 1:指定
  15735. type: integer
  15736. marginvalue:
  15737. description: 保证金设置值
  15738. type: number
  15739. minivalue:
  15740. description: 现货商品最小变动值
  15741. type: integer
  15742. orderqty:
  15743. description: 买(卖)量(=委托量-成交量)
  15744. type: number
  15745. ordertime:
  15746. description: 委托时间
  15747. type: string
  15748. performancetemplateid:
  15749. description: 履约模板id
  15750. type: integer
  15751. pricemove:
  15752. description: 买(卖)升贴水- 基差
  15753. type: number
  15754. templatename:
  15755. description: 履约模板名称
  15756. type: string
  15757. userid:
  15758. description: 购买方(销售方)用户ID
  15759. type: integer
  15760. username:
  15761. description: 购买方(销售方)
  15762. type: string
  15763. validtime:
  15764. description: 有效期限
  15765. type: string
  15766. validtype:
  15767. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效
  15768. type: integer
  15769. warehousename:
  15770. description: 仓库名称
  15771. type: string
  15772. wrfactortypeid:
  15773. description: 仓单要素id
  15774. type: string
  15775. wrstandardcode:
  15776. description: 现货商品代码
  15777. type: string
  15778. wrstandardid:
  15779. description: 现货商品ID
  15780. type: integer
  15781. wrstandardname:
  15782. description: 商品名称
  15783. type: string
  15784. wrtradeorderid:
  15785. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  15786. type: string
  15787. wrtypename:
  15788. description: 商品
  15789. type: string
  15790. type: object
  15791. models.WrScfContract:
  15792. properties:
  15793. borroweruserid:
  15794. description: 借款用户ID
  15795. type: integer
  15796. buybackwrpositionqty:
  15797. description: 已回购仓单头寸数量 - [仓单回购\仓单质押] -> 已回购数量
  15798. type: number
  15799. closeinterest:
  15800. description: 已结利息 -> 已结费用
  15801. type: number
  15802. currisklevel:
  15803. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  15804. type: integer
  15805. deadline:
  15806. description: 截止日期(yyyyMMdd) -> 借款到期时间
  15807. type: string
  15808. deliverygoodscode:
  15809. description: 品种代码
  15810. type: string
  15811. deliverygoodsid:
  15812. description: 品种ID
  15813. type: integer
  15814. deliverygoodsname:
  15815. description: 品种名称
  15816. type: string
  15817. enumdicname:
  15818. description: 单位名称
  15819. type: string
  15820. financingdays:
  15821. description: 天数(天)
  15822. type: integer
  15823. initmargin:
  15824. description: 保证金 - [仓单回购]
  15825. type: number
  15826. interestamount:
  15827. description: 计息金额=合同剩余金额 - 初始保证金 - 追缴保证金 \ 合同剩余金额
  15828. type: number
  15829. interestdebt:
  15830. description: 利息欠款(记录负数) -> 费用欠款
  15831. type: number
  15832. interestminlen:
  15833. description: 最小起息天数
  15834. type: integer
  15835. interestrate:
  15836. description: 利率
  15837. type: number
  15838. interestratemode:
  15839. description: 利率方式 - 1:年利率 2:日利率 3:日固定值
  15840. type: integer
  15841. interestsettlemode:
  15842. description: 结息方式 - 1:按日结息 3:按月结息
  15843. type: integer
  15844. interestsettlevalue:
  15845. description: 结息方式值
  15846. type: integer
  15847. isautoloan:
  15848. description: 是否自动放款 - 0:手动 1:自动 - [仓单质押]
  15849. type: integer
  15850. lastcloseinterestday:
  15851. description: 最近结息日(yyyyMMdd)
  15852. type: string
  15853. lenderamount:
  15854. description: 贷款金额 -> 借款金额
  15855. type: number
  15856. lenderuserid:
  15857. description: 贷款方用户ID -> 融出方用户ID
  15858. type: integer
  15859. lenderusername:
  15860. description: 融出方
  15861. type: string
  15862. marginratio:
  15863. description: 保证金比率质押率 - [仓单质押]
  15864. type: number
  15865. marketid:
  15866. description: 市场ID - 拆成三个独立模式后,根据市场ID处理
  15867. type: integer
  15868. minivalue:
  15869. description: 现货商品最小变动值
  15870. type: integer
  15871. optioncompare:
  15872. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  15873. type: string
  15874. pricemove:
  15875. description: 估值升贴水值
  15876. type: number
  15877. productdetailid:
  15878. description: 产品组合ID
  15879. type: integer
  15880. productid:
  15881. description: 金融产品ID
  15882. type: integer
  15883. productname:
  15884. description: 产品名称
  15885. type: string
  15886. remainamount:
  15887. description: 合同剩余金额 -> 剩余金额
  15888. type: number
  15889. remainwrpositionqty:
  15890. description: 剩余仓单头寸数量 - [仓单回购\仓单质押] -> 剩余数量(待回购数量)
  15891. type: number
  15892. remark:
  15893. description: 备注
  15894. type: string
  15895. scfcontractid:
  15896. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  15897. type: string
  15898. scfcontractstatus:
  15899. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束 9:违约结束 10:已注销 11:已关闭 99:未提交
  15900. type: integer
  15901. scfcontracttype:
  15902. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单 6:融资回购
  15903. type: integer
  15904. startinterestday:
  15905. description: 计息开始日(yyyyMMdd) -> 开始计费日期
  15906. type: string
  15907. totalinterest:
  15908. description: 已计利息 -> 已计费用
  15909. type: number
  15910. unpaidinterest:
  15911. description: 未结费用
  15912. type: number
  15913. updatetime:
  15914. description: 更新时间
  15915. type: string
  15916. warehouseid:
  15917. description: 仓库ID
  15918. type: integer
  15919. warehousename:
  15920. description: 仓库名称
  15921. type: string
  15922. wrfactortypeid:
  15923. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  15924. type: string
  15925. wrfactortypename:
  15926. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  15927. type: string
  15928. wrqty:
  15929. description: 仓单数量 - [仓单回购\仓单质押] -> 数量
  15930. type: number
  15931. wrstandardcode:
  15932. description: 现货商品代码
  15933. type: string
  15934. wrstandardid:
  15935. description: 现货商品ID
  15936. type: integer
  15937. wrstandardname:
  15938. description: 商品名称
  15939. type: string
  15940. wrtypename:
  15941. description: 商品
  15942. type: string
  15943. type: object
  15944. models.WrScfContractInterest:
  15945. properties:
  15946. closeinterest:
  15947. description: 已结利息
  15948. type: number
  15949. closeintereststatus:
  15950. description: 结息状态 - 1:未结 2:已结
  15951. type: integer
  15952. closetime:
  15953. description: 结息时间
  15954. type: string
  15955. closetradedate:
  15956. description: 结息交易日
  15957. type: string
  15958. creatorid:
  15959. description: 操作人ID
  15960. type: integer
  15961. dayrate:
  15962. description: 日利率(根据利率配置计算出的日利率值,年利率则除以360,保留5位小数)
  15963. type: number
  15964. interest:
  15965. description: 利息
  15966. type: number
  15967. interestamount:
  15968. description: 计息金额
  15969. type: number
  15970. interestday:
  15971. description: 计息日(yyyyMMdd)
  15972. type: string
  15973. scfcontractid:
  15974. description: SCF合同ID
  15975. type: string
  15976. scfcontractinterestid:
  15977. description: SCF合同计息ID(313+Unix秒时间戳(10位)+xxxxxx)
  15978. type: integer
  15979. updatetime:
  15980. description: 更新时间
  15981. type: string
  15982. type: object
  15983. models.WrSpecialMatchOrder:
  15984. properties:
  15985. amount:
  15986. description: 金额 = 数量 * 价格
  15987. type: number
  15988. buyorsell:
  15989. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  15990. type: integer
  15991. cancelqty:
  15992. description: 撤销数量
  15993. type: number
  15994. deliverygoodscode:
  15995. description: 品种代码
  15996. type: string
  15997. deliverygoodsid:
  15998. description: 品种ID
  15999. type: integer
  16000. deliverygoodsname:
  16001. description: 品种名称
  16002. type: string
  16003. enumdicname:
  16004. description: 单位名称
  16005. type: string
  16006. fixedprice:
  16007. description: 固定价格(价格)
  16008. type: number
  16009. haswr:
  16010. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16011. type: integer
  16012. marketid:
  16013. description: 市场ID
  16014. type: integer
  16015. matchuserid:
  16016. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  16017. type: integer
  16018. matchusername:
  16019. description: 指定方
  16020. type: string
  16021. minivalue:
  16022. description: 现货商品最小变动值
  16023. type: integer
  16024. optioncompare:
  16025. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16026. type: string
  16027. orderqty:
  16028. description: 委托数量
  16029. type: number
  16030. ordertime:
  16031. description: 委托时间
  16032. type: string
  16033. pricemove:
  16034. description: 升贴水(浮动价时填写) - [挂牌]
  16035. type: number
  16036. tradedate:
  16037. description: 交易日(yyyyMMdd)
  16038. type: string
  16039. tradeprice:
  16040. description: 成交价格
  16041. type: number
  16042. tradeqty:
  16043. description: 成交数量
  16044. type: number
  16045. userid:
  16046. description: 用户ID
  16047. type: integer
  16048. username:
  16049. description: 发起方
  16050. type: string
  16051. warehouseid:
  16052. description: 仓库ID
  16053. type: integer
  16054. warehousename:
  16055. description: 仓库名称
  16056. type: string
  16057. wrfactortypeid:
  16058. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16059. type: string
  16060. wrfactortypename:
  16061. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16062. type: string
  16063. wrpricetype:
  16064. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  16065. type: integer
  16066. wrstandardcode:
  16067. description: 现货商品代码
  16068. type: string
  16069. wrstandardid:
  16070. description: 现货商品ID
  16071. type: integer
  16072. wrstandardname:
  16073. description: 商品名称
  16074. type: string
  16075. wrtradeorderid:
  16076. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  16077. type: string
  16078. wrtradeorderstatus:
  16079. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  16080. type: integer
  16081. wrtradetype:
  16082. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16083. type: integer
  16084. wrtypename:
  16085. description: 商品
  16086. type: string
  16087. type: object
  16088. models.WrStandardFactoryItem:
  16089. properties:
  16090. dgfactoryitemid:
  16091. description: 选择项id
  16092. type: integer
  16093. dgfactoryitemvalue:
  16094. description: 要素项值
  16095. type: string
  16096. warehouseid:
  16097. description: 仓库id
  16098. type: integer
  16099. type: object
  16100. models.WrStandardFactoryItemEx:
  16101. properties:
  16102. dgfactoryitemtypeid:
  16103. description: 要素项类型id(1-999:预留为特殊类型 1:仓库 2:品牌)
  16104. type: integer
  16105. itemlst:
  16106. description: 要素项列表
  16107. items:
  16108. $ref: '#/definitions/models.WrStandardFactoryItem'
  16109. type: array
  16110. itemtypename:
  16111. description: 要素项类型名称
  16112. type: string
  16113. wrstandardid:
  16114. description: 品类
  16115. type: integer
  16116. type: object
  16117. models.WrTradeDetail:
  16118. properties:
  16119. accountid:
  16120. description: 资金账号
  16121. type: integer
  16122. buyorsell:
  16123. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  16124. type: integer
  16125. chargevalue:
  16126. description: 手续费
  16127. type: number
  16128. deliverygoodscode:
  16129. description: 品种代码
  16130. type: string
  16131. deliverygoodsid:
  16132. description: 品种ID
  16133. type: integer
  16134. deliverygoodsname:
  16135. description: 品种名称
  16136. type: string
  16137. deliverymonth:
  16138. description: 交收月
  16139. type: string
  16140. enumdicname:
  16141. description: 单位名称
  16142. type: string
  16143. haswr:
  16144. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  16145. type: integer
  16146. marketid:
  16147. description: 市场ID
  16148. type: integer
  16149. matchaccountid:
  16150. description: 对手账号
  16151. type: integer
  16152. matchusername:
  16153. description: 对手方
  16154. type: string
  16155. minivalue:
  16156. description: 现货商品最小变动值
  16157. type: integer
  16158. optioncompare:
  16159. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  16160. type: string
  16161. tradedate:
  16162. description: 交易日(yyyyMMdd)
  16163. type: string
  16164. tradeprice:
  16165. description: 成交价格
  16166. type: number
  16167. tradeqty:
  16168. description: 成交数量
  16169. type: number
  16170. tradetime:
  16171. description: 成交时间
  16172. type: string
  16173. userid:
  16174. description: 用户ID
  16175. type: integer
  16176. warehouseid:
  16177. description: 仓库ID
  16178. type: integer
  16179. warehousename:
  16180. description: 仓库名称
  16181. type: string
  16182. wrfactortypeid:
  16183. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  16184. type: string
  16185. wrfactortypename:
  16186. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  16187. type: string
  16188. wrstandardcode:
  16189. description: 现货商品代码
  16190. type: string
  16191. wrstandardid:
  16192. description: 现货商品ID
  16193. type: integer
  16194. wrstandardname:
  16195. description: 商品名称
  16196. type: string
  16197. wrtradedetailid:
  16198. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  16199. type: string
  16200. wrtradetype:
  16201. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  16202. type: integer
  16203. wrtypename:
  16204. description: 商品
  16205. type: string
  16206. type: object
  16207. models.WrTradeOrderDetail:
  16208. properties:
  16209. buyorsell:
  16210. description: 买卖方向 0-买 1-卖
  16211. type: integer
  16212. goodsid:
  16213. description: 商品id
  16214. type: integer
  16215. orderid:
  16216. description: 委托单号
  16217. type: string
  16218. orderprice:
  16219. description: 委托价格
  16220. type: number
  16221. orderqty:
  16222. description: 委托数量
  16223. type: integer
  16224. userid:
  16225. description: 用户id
  16226. type: integer
  16227. username:
  16228. description: 用户名称(已脱敏)
  16229. type: string
  16230. type: object
  16231. models.WrTypeItem:
  16232. properties:
  16233. name:
  16234. description: 名称
  16235. type: string
  16236. value:
  16237. description: 值
  16238. type: string
  16239. type: object
  16240. models.WrUserFriend:
  16241. properties:
  16242. friendname:
  16243. description: 朋友名称(已脱敏)
  16244. type: string
  16245. frienduserid:
  16246. description: 朋友id
  16247. type: integer
  16248. isfriend:
  16249. description: 是否好友 0-不是 1-是
  16250. type: integer
  16251. userid:
  16252. description: 用户id
  16253. type: integer
  16254. type: object
  16255. models.XHBRAND:
  16256. properties:
  16257. brandid:
  16258. description: 品牌id
  16259. type: integer
  16260. brandname:
  16261. description: 品牌名称
  16262. type: string
  16263. type: object
  16264. models.XHDeliveryGoods:
  16265. properties:
  16266. areauserid:
  16267. description: 所属机构
  16268. type: integer
  16269. bdlst:
  16270. description: 品牌列表
  16271. items:
  16272. $ref: '#/definitions/models.XHBRAND'
  16273. type: array
  16274. deliverygoodscode:
  16275. description: 现货品种代码
  16276. type: string
  16277. deliverygoodsid:
  16278. description: 现货品种ID(SEQ_DELIVERYGOODS)
  16279. type: integer
  16280. deliverygoodsname:
  16281. description: 现货品种名称
  16282. type: string
  16283. dgstatus:
  16284. description: 品种状态 - 作废 - 0:未激活 1:正常
  16285. type: integer
  16286. isvalid:
  16287. description: 是否有效 - 0:无效 1:有效
  16288. type: integer
  16289. remark:
  16290. description: 备注
  16291. type: string
  16292. unitid:
  16293. description: 单位id(目前看,数据库中是空值)
  16294. type: integer
  16295. wdlst:
  16296. description: 品类(现货商品)列表
  16297. items:
  16298. $ref: '#/definitions/models.XHWrstandard'
  16299. type: array
  16300. type: object
  16301. models.XHMiddleGoods:
  16302. properties:
  16303. convertratio:
  16304. description: 拆算系数
  16305. type: number
  16306. enumdicname:
  16307. description: 单位名称
  16308. type: string
  16309. gplst:
  16310. description: 期货品种列表
  16311. items:
  16312. $ref: '#/definitions/models.TBGoodsGroup'
  16313. type: array
  16314. middlegoodscode:
  16315. description: 套保品种代码
  16316. type: string
  16317. middlegoodsid:
  16318. description: 套保品种id
  16319. type: integer
  16320. middlegoodsname:
  16321. description: 套保品种名称
  16322. type: string
  16323. unitid:
  16324. description: 单位id
  16325. type: integer
  16326. type: object
  16327. models.XHWrstandard:
  16328. properties:
  16329. deliverygoodsid:
  16330. description: 品种ID
  16331. type: integer
  16332. enumdicname:
  16333. description: 单位名称
  16334. type: string
  16335. mglst:
  16336. description: 套保品列表
  16337. items:
  16338. $ref: '#/definitions/models.XHMiddleGoods'
  16339. type: array
  16340. unitid:
  16341. description: 单位id
  16342. type: integer
  16343. vatrate:
  16344. description: 增值税率
  16345. type: number
  16346. wrstandardcode:
  16347. description: 现货商品代码
  16348. type: string
  16349. wrstandardid:
  16350. description: 现货商品ID(SEQ_WRSTANDARD)
  16351. type: integer
  16352. wrstandardname:
  16353. description: 现货商品名称
  16354. type: string
  16355. type: object
  16356. order.QueryHisTradeDetailRsp:
  16357. properties:
  16358. accountid:
  16359. description: 账户ID[报价币种]
  16360. type: integer
  16361. advanceratio:
  16362. description: 首付比率
  16363. type: number
  16364. buildtype:
  16365. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  16366. type: integer
  16367. buyorsell:
  16368. description: 方向 - 0:买 1:卖
  16369. type: integer
  16370. charge:
  16371. description: 手续费
  16372. type: number
  16373. closecharge:
  16374. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  16375. type: number
  16376. closeexchagechargevalue:
  16377. description: 平仓交易所手续费设置值
  16378. type: number
  16379. closefeealgorithm:
  16380. description: 平仓手续费收取方式 1:比率 2:固定
  16381. type: integer
  16382. closememberchargevalue:
  16383. description: 平仓会员手续费设置值
  16384. type: number
  16385. closepl:
  16386. description: 平仓盈亏
  16387. type: number
  16388. closepl2:
  16389. description: 平仓盈亏[逐笔]
  16390. type: number
  16391. closeqty:
  16392. description: 平仓数量(先建后平操作 需要记录)
  16393. type: number
  16394. creditamount:
  16395. description: 授信金额
  16396. type: number
  16397. decimalplace:
  16398. description: 商品报价小数位
  16399. type: integer
  16400. enumdicname:
  16401. description: 单位名称
  16402. type: string
  16403. gcaccountid:
  16404. description: 账户ID[合约币种]
  16405. type: integer
  16406. goodscode:
  16407. description: 商品代码
  16408. type: string
  16409. goodsid:
  16410. description: 商品ID
  16411. type: integer
  16412. goodsname:
  16413. description: 商品名称
  16414. type: string
  16415. goodunitid:
  16416. description: 商品单位id
  16417. type: integer
  16418. histradedate:
  16419. description: 历史交易日
  16420. type: string
  16421. intclosepl:
  16422. description: 整型盈亏(用于交易结算试算平衡-收益权)
  16423. type: integer
  16424. isconfirmexercise:
  16425. description: 是否确认行权- 0:否 1:是
  16426. type: integer
  16427. ismain:
  16428. description: 是否主单 - 0:不是 1:是
  16429. type: integer
  16430. ispreexercise:
  16431. description: 是否预申报- 0:否 1:是
  16432. type: integer
  16433. isreckoned:
  16434. description: 是否结算 - 0:未结算 1:已结算
  16435. type: integer
  16436. isvaliddata:
  16437. description: 是否有效 - 0:无效 1:有效
  16438. type: integer
  16439. listingselecttype:
  16440. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  16441. type: integer
  16442. marketid:
  16443. description: 市场ID
  16444. type: integer
  16445. marketname:
  16446. description: 市场名称
  16447. type: string
  16448. matchaccountid:
  16449. description: 对手账号id
  16450. type: integer
  16451. memberuserid:
  16452. description: 会员id 个人投资者 需要填写
  16453. type: integer
  16454. opencharge:
  16455. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  16456. type: number
  16457. openexchagechargevalue:
  16458. description: 建仓交易所手续费设置值
  16459. type: number
  16460. openfeealgorithm:
  16461. description: 建仓手续费收取方式 1:比率 2:固定
  16462. type: integer
  16463. openmemberchargevalue:
  16464. description: 建仓会员手续费设置值
  16465. type: number
  16466. openqty:
  16467. description: 开仓数量(先建后平操作 需要记录)
  16468. type: number
  16469. optiontype:
  16470. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  16471. type: integer
  16472. orderid:
  16473. description: 委托单号
  16474. type: string
  16475. payamount:
  16476. description: 支付金额(付款金额)
  16477. type: number
  16478. performanceplanid:
  16479. description: 履约计划ID[期权]
  16480. type: integer
  16481. performancestatus:
  16482. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  16483. type: integer
  16484. preexerciseprice:
  16485. description: 预申报价格
  16486. type: number
  16487. premium:
  16488. description: 权利金 - [持仓单的权利金]
  16489. type: number
  16490. qtydecimalplace:
  16491. description: 商品报价小数位
  16492. type: integer
  16493. recvamount:
  16494. description: 到账金额 = 成交金额 - 手续费
  16495. type: number
  16496. relatedouttradeid:
  16497. description: 关联外部成交单ID
  16498. type: integer
  16499. status:
  16500. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  16501. type: integer
  16502. totalamount:
  16503. description: 订单总额 = 成交金额 + 手续费
  16504. type: number
  16505. tradeamount:
  16506. description: 成交金额[账户币种,用于所有权]
  16507. type: number
  16508. tradedate:
  16509. description: 交易日(yyyyMMdd)
  16510. type: string
  16511. tradeid:
  16512. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16513. type: string
  16514. trademode:
  16515. description: 交易模式
  16516. type: integer
  16517. tradeprice:
  16518. description: 成交价格
  16519. type: number
  16520. tradeproperty:
  16521. description: 交易属性
  16522. type: integer
  16523. tradeqty:
  16524. description: 成交数量
  16525. type: number
  16526. tradetime:
  16527. description: 成交时间
  16528. type: string
  16529. tradetype:
  16530. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  16531. type: integer
  16532. required:
  16533. - accountid
  16534. - buyorsell
  16535. - goodsid
  16536. - histradedate
  16537. - marketid
  16538. - memberuserid
  16539. - orderid
  16540. - tradeamount
  16541. - tradedate
  16542. - tradeid
  16543. - tradeprice
  16544. - tradeqty
  16545. - tradetime
  16546. type: object
  16547. order.QueryHisTradeOrderDetailRsp:
  16548. properties:
  16549. accountid:
  16550. description: 账户ID[报价币种]
  16551. type: integer
  16552. buildtype:
  16553. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  16554. type: integer
  16555. buyorsell:
  16556. description: 买卖 - 0:买 1:卖
  16557. type: integer
  16558. cancelorderid:
  16559. description: 撤单单号(撤单时填写)
  16560. type: string
  16561. cancelqty:
  16562. description: 撤单数量
  16563. type: number
  16564. clientordertime:
  16565. description: 客户端委托时间
  16566. type: string
  16567. clientticket:
  16568. description: 客户端流水号
  16569. type: string
  16570. clienttype:
  16571. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  16572. type: integer
  16573. closeexchagechargevalue:
  16574. description: 平仓交易所手续费设置值
  16575. type: number
  16576. closefeealgorithm:
  16577. description: 平仓手续费收取方式 1:比率 2:固定
  16578. type: integer
  16579. closefreezecharge:
  16580. description: 平仓冻结手续费(先建后平操作,需要记录)
  16581. type: number
  16582. closememberchargevalue:
  16583. description: 平仓会员手续费设置值
  16584. type: number
  16585. closeqty:
  16586. description: 平仓数量(先建后平操作 需要记录)
  16587. type: number
  16588. closetradeqty:
  16589. description: 平仓成交数量(先建后平操作,需要记录)
  16590. type: number
  16591. closeunfreezecharge:
  16592. description: 平仓解冻手续费(先建后平操作,需要记录)
  16593. type: number
  16594. decimalplace:
  16595. description: 商品报价小数位
  16596. type: integer
  16597. delistingtype:
  16598. description: 摘牌类型 - 1:价格最优 2:点选成交
  16599. type: integer
  16600. enumdicname:
  16601. description: 单位名称
  16602. type: string
  16603. freezecharge:
  16604. description: 冻结手续费
  16605. type: number
  16606. freezemargin:
  16607. description: 冻结保证金(冻结交易金额)
  16608. type: number
  16609. gcaccountid:
  16610. description: 账户ID[合约币种]
  16611. type: integer
  16612. goodscode:
  16613. description: 商品代码
  16614. type: string
  16615. goodsid:
  16616. description: 商品ID
  16617. type: integer
  16618. goodsname:
  16619. description: 商品名称
  16620. type: string
  16621. goodunitid:
  16622. description: 商品单位id
  16623. type: integer
  16624. histradedate:
  16625. description: 历史交易日
  16626. type: string
  16627. isconfirmexercise:
  16628. description: 是否确认行权- 0:否 1:是
  16629. type: integer
  16630. ispreexercise:
  16631. description: 是否预申报- 0:否 1:是
  16632. type: integer
  16633. isvaliddata:
  16634. description: 是否有效 - 0:无效 1:有效
  16635. type: integer
  16636. listingselecttype:
  16637. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  16638. type: integer
  16639. marginalgorithm:
  16640. description: 保证金收取方式 1:比率 2:固定
  16641. type: integer
  16642. marginvalue:
  16643. description: 即市保证金设置值
  16644. type: number
  16645. marketid:
  16646. description: 市场ID
  16647. type: integer
  16648. marketmaxsub:
  16649. description: 市价最大偏移范围
  16650. type: number
  16651. marketname:
  16652. description: 市场名称
  16653. type: string
  16654. memberuserid:
  16655. description: 所属会员UserID
  16656. type: integer
  16657. openexchagechargevalue:
  16658. description: 建仓交易所手续费设置值
  16659. type: number
  16660. openfeealgorithm:
  16661. description: 建仓手续费收取方式 1:比率 2:固定
  16662. type: integer
  16663. openfreezecharge:
  16664. description: 开仓冻结手续费(先建后平操作,需要记录)
  16665. type: number
  16666. openmemberchargevalue:
  16667. description: 建仓会员手续费设置值
  16668. type: number
  16669. openqty:
  16670. description: 开仓数量(先建后平操作,需要记录)
  16671. type: number
  16672. opentradeqty:
  16673. description: 开仓成交数量(先建后平操作,需要记录)
  16674. type: number
  16675. openunfreezecharge:
  16676. description: 开仓解冻手续费(先建后平操作,需要记录)
  16677. type: number
  16678. operatetype:
  16679. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让
  16680. type: integer
  16681. operatorid:
  16682. description: 登录账号(LoginID)
  16683. type: integer
  16684. optiontype:
  16685. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  16686. type: integer
  16687. orderid:
  16688. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16689. type: string
  16690. orderprice:
  16691. description: 委托价格
  16692. type: number
  16693. orderqty:
  16694. description: 委托数量
  16695. type: number
  16696. ordersrc:
  16697. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  16698. type: integer
  16699. orderstatus:
  16700. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  16701. type: integer
  16702. ordertime:
  16703. description: 委托时间
  16704. type: string
  16705. preexerciseprice:
  16706. description: 预申报价格
  16707. type: number
  16708. premium:
  16709. description: 权利金
  16710. type: number
  16711. preorderid:
  16712. description: 关联预埋单号(止盈止损单时填写)
  16713. type: string
  16714. pricemode:
  16715. description: '取价方式 - 1:市价 2: 限价'
  16716. type: integer
  16717. qtydecimalplace:
  16718. description: 成交量小数位
  16719. type: integer
  16720. quoteid:
  16721. description: 报价单ID
  16722. type: integer
  16723. relatedid:
  16724. description: 关联单号(交割单)
  16725. type: string
  16726. retcode:
  16727. description: 错误代码
  16728. type: integer
  16729. sessionid:
  16730. description: 会话ID
  16731. type: integer
  16732. tradedate:
  16733. description: 交易日(yyyyMMdd)
  16734. type: string
  16735. trademode:
  16736. description: 交易模式
  16737. type: integer
  16738. tradeproperty:
  16739. description: 交易属性
  16740. type: integer
  16741. tradeqty:
  16742. description: 成交数量
  16743. type: number
  16744. unfreezecharge:
  16745. description: 解冻手续费
  16746. type: number
  16747. unfreezemargin:
  16748. description: 解冻保证金
  16749. type: number
  16750. updatetime:
  16751. description: 更新时间
  16752. type: string
  16753. uuid:
  16754. description: 发起端唯一id
  16755. type: string
  16756. validtime:
  16757. description: 有效期限
  16758. type: string
  16759. validtype:
  16760. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  16761. type: integer
  16762. volumetype:
  16763. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  16764. type: integer
  16765. required:
  16766. - accountid
  16767. - buildtype
  16768. - buyorsell
  16769. - goodsid
  16770. - histradedate
  16771. - marketid
  16772. - memberuserid
  16773. - operatetype
  16774. - orderid
  16775. - orderqty
  16776. - ordertime
  16777. - pricemode
  16778. - tradedate
  16779. - validtype
  16780. type: object
  16781. order.QueryTradeDetailRsp:
  16782. properties:
  16783. accountid:
  16784. description: 账户ID[报价币种]
  16785. type: integer
  16786. advanceratio:
  16787. description: 首付比率
  16788. type: number
  16789. buildtype:
  16790. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  16791. type: integer
  16792. buyorsell:
  16793. description: 方向 - 0:买 1:卖
  16794. type: integer
  16795. charge:
  16796. description: 手续费
  16797. type: number
  16798. closecharge:
  16799. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  16800. type: number
  16801. closeexchagechargevalue:
  16802. description: 平仓交易所手续费设置值
  16803. type: number
  16804. closefeealgorithm:
  16805. description: 平仓手续费收取方式 1:比率 2:固定
  16806. type: integer
  16807. closememberchargevalue:
  16808. description: 平仓会员手续费设置值
  16809. type: number
  16810. closepl:
  16811. description: 平仓盈亏
  16812. type: number
  16813. closepl2:
  16814. description: 平仓盈亏[逐笔]
  16815. type: number
  16816. closeqty:
  16817. description: 平仓数量(先建后平操作 需要记录)
  16818. type: number
  16819. creditamount:
  16820. description: 授信金额
  16821. type: number
  16822. decimalplace:
  16823. description: 商品报价小数位
  16824. type: integer
  16825. enumdicname:
  16826. description: 单位名称
  16827. type: string
  16828. gcaccountid:
  16829. description: 账户ID[合约币种]
  16830. type: integer
  16831. goodscode:
  16832. description: 商品代码
  16833. type: string
  16834. goodsid:
  16835. description: 商品ID
  16836. type: integer
  16837. goodsname:
  16838. description: 商品名称
  16839. type: string
  16840. goodunitid:
  16841. description: 商品单位id
  16842. type: integer
  16843. intclosepl:
  16844. description: 整型盈亏(用于交易结算试算平衡-收益权)
  16845. type: integer
  16846. isconfirmexercise:
  16847. description: 是否确认行权- 0:否 1:是
  16848. type: integer
  16849. ismain:
  16850. description: 是否主单 - 0:不是 1:是
  16851. type: integer
  16852. ispreexercise:
  16853. description: 是否预申报- 0:否 1:是
  16854. type: integer
  16855. isreckoned:
  16856. description: 是否结算 - 0:未结算 1:已结算
  16857. type: integer
  16858. listingselecttype:
  16859. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  16860. type: integer
  16861. marketid:
  16862. description: 市场ID
  16863. type: integer
  16864. marketname:
  16865. description: 市场名称
  16866. type: string
  16867. matchaccountid:
  16868. description: 对手账号id
  16869. type: integer
  16870. memberuserid:
  16871. description: 会员id 个人投资者 需要填写
  16872. type: integer
  16873. opencharge:
  16874. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  16875. type: number
  16876. openexchagechargevalue:
  16877. description: 建仓交易所手续费设置值
  16878. type: number
  16879. openfeealgorithm:
  16880. description: 建仓手续费收取方式 1:比率 2:固定
  16881. type: integer
  16882. openmemberchargevalue:
  16883. description: 建仓会员手续费设置值
  16884. type: number
  16885. openqty:
  16886. description: 开仓数量(先建后平操作 需要记录)
  16887. type: number
  16888. optiontype:
  16889. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  16890. type: integer
  16891. orderid:
  16892. description: 委托单号
  16893. type: string
  16894. payamount:
  16895. description: 支付金额(付款金额)
  16896. type: number
  16897. performanceplanid:
  16898. description: 履约计划ID[期权]
  16899. type: integer
  16900. performancestatus:
  16901. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  16902. type: integer
  16903. preexerciseprice:
  16904. description: 预申报价格
  16905. type: number
  16906. premium:
  16907. description: 权利金 - [持仓单的权利金]
  16908. type: number
  16909. qtydecimalplace:
  16910. description: 商品报价小数位
  16911. type: integer
  16912. recvamount:
  16913. description: 到账金额 = 成交金额 - 手续费
  16914. type: number
  16915. relatedouttradeid:
  16916. description: 关联外部成交单ID
  16917. type: integer
  16918. status:
  16919. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  16920. type: integer
  16921. totalamount:
  16922. description: 订单总额 = 成交金额 + 手续费
  16923. type: number
  16924. tradeamount:
  16925. description: 成交金额[账户币种,用于所有权]
  16926. type: number
  16927. tradedate:
  16928. description: 交易日(yyyyMMdd)
  16929. type: string
  16930. tradeid:
  16931. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  16932. type: string
  16933. trademode:
  16934. description: 交易模式
  16935. type: integer
  16936. tradeprice:
  16937. description: 成交价格
  16938. type: number
  16939. tradeproperty:
  16940. description: 交易属性
  16941. type: integer
  16942. tradeqty:
  16943. description: 成交数量
  16944. type: number
  16945. tradetime:
  16946. description: 成交时间
  16947. type: string
  16948. tradetype:
  16949. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  16950. type: integer
  16951. required:
  16952. - accountid
  16953. - buyorsell
  16954. - goodsid
  16955. - marketid
  16956. - memberuserid
  16957. - orderid
  16958. - tradeamount
  16959. - tradedate
  16960. - tradeid
  16961. - tradeprice
  16962. - tradeqty
  16963. - tradetime
  16964. type: object
  16965. order.QueryTradeOrderDetailRsp:
  16966. properties:
  16967. accountid:
  16968. description: 账户ID[报价币种]
  16969. type: integer
  16970. buildtype:
  16971. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  16972. type: integer
  16973. buyorsell:
  16974. description: 买卖 - 0:买 1:卖
  16975. type: integer
  16976. cancelorderid:
  16977. description: 撤单单号(撤单时填写)
  16978. type: string
  16979. cancelqty:
  16980. description: 撤单数量
  16981. type: number
  16982. clienttype:
  16983. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  16984. type: integer
  16985. closefreezecharge:
  16986. description: 平仓冻结手续费(先建后平操作,需要记录)
  16987. type: number
  16988. closeqty:
  16989. description: 平仓数量(先建后平操作 需要记录)
  16990. type: number
  16991. closetradeqty:
  16992. description: 平仓成交数量(先建后平操作,需要记录)
  16993. type: number
  16994. closeunfreezecharge:
  16995. description: 平仓解冻手续费(先建后平操作,需要记录)
  16996. type: number
  16997. decimalplace:
  16998. description: 商品报价小数位
  16999. type: integer
  17000. delistingtype:
  17001. description: 摘牌类型 - 1:价格最优 2:点选成交
  17002. type: integer
  17003. enableqty:
  17004. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  17005. type: number
  17006. enumdicname:
  17007. description: 单位名称
  17008. type: string
  17009. freezecharge:
  17010. description: 冻结手续费
  17011. type: number
  17012. freezemargin:
  17013. description: 冻结保证金(冻结交易金额)
  17014. type: number
  17015. goodscode:
  17016. description: 商品代码
  17017. type: string
  17018. goodsid:
  17019. description: 商品ID
  17020. type: integer
  17021. goodsname:
  17022. description: 商品名称
  17023. type: string
  17024. goodunitid:
  17025. description: 商品单位id
  17026. type: integer
  17027. listingselecttype:
  17028. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  17029. type: integer
  17030. marketid:
  17031. description: 市场ID
  17032. type: integer
  17033. marketname:
  17034. description: 市场名称
  17035. type: string
  17036. openfreezecharge:
  17037. description: 开仓冻结手续费(先建后平操作,需要记录)
  17038. type: number
  17039. openqty:
  17040. description: 开仓数量(先建后平操作,需要记录)
  17041. type: number
  17042. opentradeqty:
  17043. description: 开仓成交数量(先建后平操作,需要记录)
  17044. type: number
  17045. openunfreezecharge:
  17046. description: 开仓解冻手续费(先建后平操作,需要记录)
  17047. type: number
  17048. operatetype:
  17049. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓 15:管理端协议转让
  17050. type: integer
  17051. operatorid:
  17052. description: 登录账号(LoginID)
  17053. type: integer
  17054. orderid:
  17055. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17056. type: string
  17057. orderprice:
  17058. description: 委托价格
  17059. type: number
  17060. orderqty:
  17061. description: 委托数量
  17062. type: number
  17063. ordersrc:
  17064. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  17065. type: integer
  17066. orderstatus:
  17067. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤 16:成交失败违约(荷兰式竞拍专用)
  17068. type: integer
  17069. ordertime:
  17070. description: 委托时间
  17071. type: string
  17072. preorderid:
  17073. description: 关联预埋单号(止盈止损单时填写)
  17074. type: string
  17075. pricemode:
  17076. description: '取价方式 - 1:市价 2: 限价'
  17077. type: integer
  17078. qtydecimalplace:
  17079. description: 商品报价小数位
  17080. type: integer
  17081. relatedid:
  17082. description: 关联单号(交割单)
  17083. type: string
  17084. tradedate:
  17085. description: 交易日(yyyyMMdd)
  17086. type: string
  17087. trademode:
  17088. description: 交易模式
  17089. type: integer
  17090. tradeqty:
  17091. description: 成交数量
  17092. type: number
  17093. unfreezecharge:
  17094. description: 解冻手续费
  17095. type: number
  17096. unfreezemargin:
  17097. description: 解冻保证金
  17098. type: number
  17099. validtime:
  17100. description: 有效期限
  17101. type: string
  17102. validtype:
  17103. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  17104. type: integer
  17105. volumetype:
  17106. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  17107. type: integer
  17108. required:
  17109. - accountid
  17110. - buildtype
  17111. - buyorsell
  17112. - goodsid
  17113. - marketid
  17114. - operatetype
  17115. - orderqty
  17116. - ordertime
  17117. - pricemode
  17118. - tradedate
  17119. - validtype
  17120. type: object
  17121. order.QueryTradePositionRsp:
  17122. properties:
  17123. accountid:
  17124. description: 资金账户
  17125. type: integer
  17126. agreeunit:
  17127. description: 合约单位
  17128. type: number
  17129. averageprice:
  17130. description: 持仓均价
  17131. type: number
  17132. buyorsell:
  17133. description: 方向 - 0:买 1:卖
  17134. type: integer
  17135. closetotalqty:
  17136. description: 平仓总数量
  17137. type: number
  17138. curholderamount:
  17139. description: 当前持仓总金额[商品币种]
  17140. type: number
  17141. curpositionqty:
  17142. description: 当前持仓总数量
  17143. type: number
  17144. currencyid:
  17145. description: 报价货币ID
  17146. type: integer
  17147. curtdposition:
  17148. description: 期末今日头寸
  17149. type: number
  17150. decimalplace:
  17151. description: 报价小数位
  17152. type: integer
  17153. enableqty:
  17154. description: 可用量
  17155. type: number
  17156. fretdposition:
  17157. description: 冻结今日头寸
  17158. type: number
  17159. frozenqty:
  17160. description: 持仓冻结数量
  17161. type: number
  17162. goodscode:
  17163. description: 商品代码
  17164. type: string
  17165. goodsid:
  17166. description: 商品Id
  17167. type: integer
  17168. goodsname:
  17169. description: 商品名称
  17170. type: string
  17171. goodunit:
  17172. description: 报价单位
  17173. type: string
  17174. goodunitid:
  17175. description: 报价单位ID
  17176. type: integer
  17177. holderamount:
  17178. description: 期初持仓总金额[商品币种]
  17179. type: number
  17180. lastprice:
  17181. description: 最新价
  17182. type: number
  17183. marketamount:
  17184. description: 市值
  17185. type: number
  17186. marketid:
  17187. description: 所属市场ID
  17188. type: integer
  17189. openreqqty:
  17190. description: 开仓申请数量(用于比较最大持仓数量)
  17191. type: number
  17192. opentotalqty:
  17193. description: 开仓总数量
  17194. type: number
  17195. otherfrozenqty:
  17196. description: 持仓其他冻结数量(交割冻结)
  17197. type: number
  17198. positionpl:
  17199. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  17200. type: number
  17201. positionplrate:
  17202. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  17203. type: number
  17204. positionqty:
  17205. description: 期初持仓数量
  17206. type: number
  17207. qtydecimalplace:
  17208. description: 成交量小数位
  17209. type: integer
  17210. tnqty:
  17211. description: T+N冻结总量
  17212. type: number
  17213. tnusedqty:
  17214. description: T+N使用量(可以使用T+N的冻结数量)
  17215. type: number
  17216. trademode:
  17217. description: 交易模式
  17218. type: integer
  17219. tradeproperty:
  17220. description: 交易属性
  17221. type: integer
  17222. usedmargin:
  17223. description: 占用保证金[商品币种]
  17224. type: number
  17225. required:
  17226. - goodsid
  17227. type: object
  17228. pb.GoodsMarginCfgStruct:
  17229. properties:
  17230. CustomerTypeID:
  17231. description: 投资者客户类型
  17232. type: integer
  17233. GoodsID:
  17234. description: 商品ID
  17235. type: integer
  17236. IsDefault:
  17237. description: 是否默认标志位
  17238. type: integer
  17239. LockMarginValue:
  17240. description: 锁仓保证金
  17241. type: number
  17242. MarginAlgorithm:
  17243. description: 保证金计算方式
  17244. type: integer
  17245. MarketMarginValue:
  17246. description: 即市保证金值
  17247. type: number
  17248. RealMarginAlgorithm:
  17249. description: 实付保证金计算方式
  17250. type: integer
  17251. RealMarginValue:
  17252. description: 实付比例
  17253. type: number
  17254. ReckonMarginValue:
  17255. description: 结算保证金值
  17256. type: number
  17257. type: object
  17258. quote.HistoryData:
  17259. properties:
  17260. c:
  17261. description: 收盘价
  17262. type: number
  17263. f:
  17264. description: 是否补充数据
  17265. type: boolean
  17266. h:
  17267. description: 最高价
  17268. type: number
  17269. hv:
  17270. description: 持仓量
  17271. type: integer
  17272. l:
  17273. description: 最低价
  17274. type: number
  17275. o:
  17276. description: 开盘价
  17277. type: number
  17278. s:
  17279. description: 结算价,日线周期(包括)以上才有
  17280. type: number
  17281. ts:
  17282. description: 时间
  17283. type: string
  17284. tt:
  17285. description: 总金额
  17286. type: number
  17287. tv:
  17288. description: 总量(成交量)
  17289. type: integer
  17290. type: object
  17291. quote.HistoryTikData:
  17292. properties:
  17293. AV:
  17294. description: 卖量
  17295. type: integer
  17296. Ask:
  17297. description: 卖价
  17298. type: number
  17299. BV:
  17300. description: 买量
  17301. type: integer
  17302. Bid:
  17303. description: 买价
  17304. type: number
  17305. HI:
  17306. description: 单笔持仓
  17307. type: integer
  17308. HV:
  17309. description: 持仓量
  17310. type: integer
  17311. PE:
  17312. description: 现价
  17313. type: number
  17314. TDR:
  17315. description: 交易方向,0:买 1:卖
  17316. type: integer
  17317. TK:
  17318. description: 交易类型
  17319. type: integer
  17320. TS:
  17321. description: 行情时间文本
  17322. type: string
  17323. TT:
  17324. description: 现金额
  17325. type: number
  17326. Vol:
  17327. description: 现量
  17328. type: integer
  17329. type: object
  17330. quote.QueryQuoteDayRsp:
  17331. properties:
  17332. ask:
  17333. description: 卖1
  17334. type: number
  17335. ask2:
  17336. description: 卖2
  17337. type: number
  17338. ask3:
  17339. description: 卖3
  17340. type: number
  17341. ask4:
  17342. description: 卖4
  17343. type: number
  17344. ask5:
  17345. description: 卖5
  17346. type: number
  17347. ask6:
  17348. description: 卖6
  17349. type: number
  17350. ask7:
  17351. description: 卖7
  17352. type: number
  17353. ask8:
  17354. description: 卖8
  17355. type: number
  17356. ask9:
  17357. description: 卖9
  17358. type: number
  17359. ask10:
  17360. description: 卖10
  17361. type: number
  17362. askorderid:
  17363. description: 卖单号1
  17364. type: integer
  17365. askorderid2:
  17366. description: 卖单号2
  17367. type: integer
  17368. askorderid3:
  17369. description: 卖单号3
  17370. type: integer
  17371. askorderid4:
  17372. description: 卖单号4
  17373. type: integer
  17374. askorderid5:
  17375. description: 卖单号5
  17376. type: integer
  17377. askordervolume:
  17378. description: 卖单量1
  17379. type: integer
  17380. askordervolume2:
  17381. description: 卖单量2
  17382. type: integer
  17383. askordervolume3:
  17384. description: 卖单量3
  17385. type: integer
  17386. askordervolume4:
  17387. description: 卖单量4
  17388. type: integer
  17389. askordervolume5:
  17390. description: 卖单量5
  17391. type: integer
  17392. askordervolume6:
  17393. description: 卖单量6
  17394. type: integer
  17395. askordervolume7:
  17396. description: 卖单量7
  17397. type: integer
  17398. askordervolume8:
  17399. description: 卖单量8
  17400. type: integer
  17401. askordervolume9:
  17402. description: 卖单量9
  17403. type: integer
  17404. askordervolume10:
  17405. description: 卖单量10
  17406. type: integer
  17407. askqueueinfo:
  17408. description: 大利市卖港股用
  17409. type: string
  17410. askvolume:
  17411. description: 卖量1
  17412. type: integer
  17413. askvolume2:
  17414. description: 卖量2
  17415. type: integer
  17416. askvolume3:
  17417. description: 卖量3
  17418. type: integer
  17419. askvolume4:
  17420. description: 卖量4
  17421. type: integer
  17422. askvolume5:
  17423. description: 卖量5
  17424. type: integer
  17425. askvolume6:
  17426. description: 卖量6
  17427. type: integer
  17428. askvolume7:
  17429. description: 卖量7
  17430. type: integer
  17431. askvolume8:
  17432. description: 卖量8
  17433. type: integer
  17434. askvolume9:
  17435. description: 卖量9
  17436. type: integer
  17437. askvolume10:
  17438. description: 卖量10
  17439. type: integer
  17440. averageprice:
  17441. description: 均价
  17442. type: number
  17443. bid:
  17444. description: 买1
  17445. type: number
  17446. bid2:
  17447. description: 买2
  17448. type: number
  17449. bid3:
  17450. description: 买3
  17451. type: number
  17452. bid4:
  17453. description: 买4
  17454. type: number
  17455. bid5:
  17456. description: 买5
  17457. type: number
  17458. bid6:
  17459. description: 买6
  17460. type: number
  17461. bid7:
  17462. description: 买7
  17463. type: number
  17464. bid8:
  17465. description: 买8
  17466. type: number
  17467. bid9:
  17468. description: 买9
  17469. type: number
  17470. bid10:
  17471. description: 买10
  17472. type: number
  17473. bidorderid:
  17474. description: 买单号1
  17475. type: integer
  17476. bidorderid2:
  17477. description: 买单号2
  17478. type: integer
  17479. bidorderid3:
  17480. description: 买单号3
  17481. type: integer
  17482. bidorderid4:
  17483. description: 买单号4
  17484. type: integer
  17485. bidorderid5:
  17486. description: 买单号5
  17487. type: integer
  17488. bidordervolume:
  17489. description: 买单量1
  17490. type: integer
  17491. bidordervolume2:
  17492. description: 买单量2
  17493. type: integer
  17494. bidordervolume3:
  17495. description: 买单量3
  17496. type: integer
  17497. bidordervolume4:
  17498. description: 买单量4
  17499. type: integer
  17500. bidordervolume5:
  17501. description: 买单量5
  17502. type: integer
  17503. bidordervolume6:
  17504. description: 买单量6
  17505. type: integer
  17506. bidordervolume7:
  17507. description: 买单量7
  17508. type: integer
  17509. bidordervolume8:
  17510. description: 买单量8
  17511. type: integer
  17512. bidordervolume9:
  17513. description: 买单量9
  17514. type: integer
  17515. bidordervolume10:
  17516. description: 买单量10
  17517. type: integer
  17518. bidqueueinfo:
  17519. description: 大利市买港股用
  17520. type: string
  17521. bidvolume:
  17522. description: 买量1
  17523. type: integer
  17524. bidvolume2:
  17525. description: 买量2
  17526. type: integer
  17527. bidvolume3:
  17528. description: 买量3
  17529. type: integer
  17530. bidvolume4:
  17531. description: 买量4
  17532. type: integer
  17533. bidvolume5:
  17534. description: 买量5
  17535. type: integer
  17536. bidvolume6:
  17537. description: 买量6
  17538. type: integer
  17539. bidvolume7:
  17540. description: 买量7
  17541. type: integer
  17542. bidvolume8:
  17543. description: 买量8
  17544. type: integer
  17545. bidvolume9:
  17546. description: 买量9
  17547. type: integer
  17548. bidvolume10:
  17549. description: 买量10
  17550. type: integer
  17551. calloptionpremiums:
  17552. description: 认购期权1
  17553. type: integer
  17554. calloptionpremiums2:
  17555. description: 认购期权2
  17556. type: integer
  17557. calloptionpremiums3:
  17558. description: 认购期权3
  17559. type: integer
  17560. calloptionpremiums4:
  17561. description: 认购期权4
  17562. type: integer
  17563. calloptionpremiums5:
  17564. description: 认购期权5
  17565. type: integer
  17566. cleartime:
  17567. description: 清盘时间
  17568. type: integer
  17569. exchangecode:
  17570. description: 交易所代码
  17571. type: integer
  17572. exchangedate:
  17573. description: 交易日
  17574. type: integer
  17575. goodscode:
  17576. description: 商品代码
  17577. type: string
  17578. grepmarketprice:
  17579. description: 暗盘价 港股专用
  17580. type: number
  17581. highest:
  17582. description: 最高价
  17583. type: number
  17584. holdincrement:
  17585. description: 单笔持仓
  17586. type: integer
  17587. holdvolume:
  17588. description: 持仓
  17589. type: integer
  17590. iep:
  17591. description: 平衡价 港股专用
  17592. type: number
  17593. iev:
  17594. description: 平衡量 港股专用
  17595. type: number
  17596. inventory:
  17597. description: 库存
  17598. type: integer
  17599. iscleared:
  17600. description: 是否清盘标志
  17601. type: integer
  17602. issettled:
  17603. description: 是否结算标志
  17604. type: integer
  17605. last:
  17606. description: 最新价
  17607. type: number
  17608. lastlot:
  17609. description: 最新成交手数
  17610. type: integer
  17611. lasttime:
  17612. description: 行情时间(只有现价变化行情时间才变化)
  17613. type: string
  17614. lastturnover:
  17615. description: 最新成交金额
  17616. type: number
  17617. lastvolume:
  17618. description: 最新成交量
  17619. type: integer
  17620. limitdown:
  17621. description: 跌停价
  17622. type: number
  17623. limitup:
  17624. description: 涨停价
  17625. type: number
  17626. lowest:
  17627. description: 最低价
  17628. type: number
  17629. nontotalholdervolume:
  17630. description: 非交易持仓量
  17631. type: integer
  17632. nontotallot:
  17633. description: 非交易总手数
  17634. type: integer
  17635. nontotalturnover:
  17636. description: 非交易总金额
  17637. type: integer
  17638. nontotalvolume:
  17639. description: 非交易总量
  17640. type: integer
  17641. opened:
  17642. description: 开盘价
  17643. type: number
  17644. opentime:
  17645. description: 开盘时间
  17646. type: string
  17647. orderid:
  17648. description: 序号
  17649. type: integer
  17650. preclose:
  17651. description: 昨收
  17652. type: number
  17653. preholdvolume:
  17654. description: 昨持仓
  17655. type: integer
  17656. presettle:
  17657. description: 昨结价
  17658. type: number
  17659. publictradetype:
  17660. description: 公共交易标志类型 港股专用
  17661. type: string
  17662. putoptionpremiums:
  17663. description: 认沽期权1
  17664. type: integer
  17665. putoptionpremiums2:
  17666. description: 认沽期权2
  17667. type: integer
  17668. putoptionpremiums3:
  17669. description: 认沽期权3
  17670. type: integer
  17671. putoptionpremiums4:
  17672. description: 认沽期权4
  17673. type: integer
  17674. putoptionpremiums5:
  17675. description: 认沽期权5
  17676. type: integer
  17677. settle:
  17678. description: 结算价
  17679. type: number
  17680. strikeprice:
  17681. description: 发行价
  17682. type: number
  17683. totalaskvolume:
  17684. description: 内盘
  17685. type: integer
  17686. totalbidvolume:
  17687. description: 外盘
  17688. type: integer
  17689. totallot:
  17690. description: 总手数
  17691. type: integer
  17692. totalturnover:
  17693. description: 总金额
  17694. type: number
  17695. totalvolume:
  17696. description: 总量
  17697. type: integer
  17698. utclasttime:
  17699. description: utc的行情时间
  17700. type: string
  17701. type: object
  17702. quote.QueryTSDataRsp:
  17703. properties:
  17704. Count:
  17705. description: 交易日应有数据个数
  17706. type: integer
  17707. decimalPlace:
  17708. description: 小数位
  17709. type: integer
  17710. endTime:
  17711. description: 结束时间
  17712. type: string
  17713. goodsCode:
  17714. description: 商品代码
  17715. type: string
  17716. historyDatas:
  17717. description: 历史数据
  17718. items:
  17719. $ref: '#/definitions/quote.HistoryData'
  17720. type: array
  17721. outGoodsCode:
  17722. description: 外部商品代码
  17723. type: string
  17724. preSettle:
  17725. description: 昨结价
  17726. type: number
  17727. runSteps:
  17728. description: 交易日开休市计划
  17729. items:
  17730. $ref: '#/definitions/quote.TSDataRunStep'
  17731. type: array
  17732. startTime:
  17733. description: 开始时间
  17734. type: string
  17735. tradeDate:
  17736. description: 交易日
  17737. type: string
  17738. type: object
  17739. quote.TSDataRunStep:
  17740. properties:
  17741. end:
  17742. description: 真实结束时间
  17743. type: string
  17744. endflag:
  17745. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  17746. type: integer
  17747. endtime:
  17748. description: 结束时间(HH:mm)
  17749. type: string
  17750. endweekday:
  17751. description: 结束周几
  17752. type: integer
  17753. groupid:
  17754. description: 分组ID
  17755. type: integer
  17756. runstep:
  17757. description: 运行阶段 - 2:连续交易
  17758. type: integer
  17759. sectionid:
  17760. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几, 结束时间=结算时间 结束周几=结算周几
  17761. type: integer
  17762. start:
  17763. description: 真实开始时间
  17764. type: string
  17765. startflag:
  17766. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  17767. type: integer
  17768. starttime:
  17769. description: 起始时间(HH:mm)
  17770. type: string
  17771. startweekday:
  17772. description: 起始周几
  17773. type: integer
  17774. tradeweekday:
  17775. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  17776. type: integer
  17777. type: object
  17778. szdz.QueryConvertLogRsp:
  17779. properties:
  17780. accountid:
  17781. description: 资金账户ID
  17782. type: integer
  17783. clientticket:
  17784. description: 客户端流水号
  17785. type: string
  17786. converttype:
  17787. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  17788. type: integer
  17789. createtime:
  17790. description: 记账时间
  17791. type: string
  17792. daymaxvalue:
  17793. description: 配置当日最大转入限制
  17794. type: number
  17795. daymaxvalue2:
  17796. description: 配置当日最大转入限制(转入)
  17797. type: number
  17798. goodscode:
  17799. description: 商品代码
  17800. type: string
  17801. goodsname:
  17802. description: 商品名称
  17803. type: string
  17804. handlestatus:
  17805. description: 处理状态
  17806. type: integer
  17807. innergoodsid:
  17808. description: 内部商品ID
  17809. type: integer
  17810. inratio:
  17811. description: 配置转入比值
  17812. type: integer
  17813. invalue:
  17814. description: 目标值
  17815. type: number
  17816. logid:
  17817. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  17818. type: integer
  17819. mobile:
  17820. description: 手机号码(加密存储)
  17821. type: string
  17822. outergoodscode:
  17823. description: 外部商品代码[JD\PD]
  17824. type: string
  17825. outratio:
  17826. description: 配置转出比值
  17827. type: integer
  17828. outvalue:
  17829. description: 源值
  17830. type: number
  17831. pddecimalplace:
  17832. description: PD小数位
  17833. type: integer
  17834. qty:
  17835. description: 数量
  17836. type: string
  17837. remark:
  17838. description: 备注
  17839. type: string
  17840. sessionid:
  17841. description: 会话ID
  17842. type: integer
  17843. timemaxvalue:
  17844. description: 配置单次最大转入限制
  17845. type: number
  17846. timemaxvalue2:
  17847. description: 配置单次最大转入限制(转入)
  17848. type: number
  17849. timeminvalue:
  17850. description: 配置单次最小数量限制
  17851. type: number
  17852. timeminvalue2:
  17853. description: 配置单次最小数量限制(转入)
  17854. type: number
  17855. tradedate:
  17856. description: 交易日(yyyyMMdd)
  17857. type: string
  17858. userid:
  17859. description: 用户ID
  17860. type: integer
  17861. required:
  17862. - logid
  17863. type: object
  17864. szdz.QueryGoodsPickupRsp:
  17865. properties:
  17866. accountid:
  17867. description: 账户ID
  17868. type: integer
  17869. address:
  17870. description: 提货人详细地址
  17871. type: string
  17872. auditer:
  17873. description: 审核人
  17874. type: integer
  17875. audittime:
  17876. description: 审核时间
  17877. type: string
  17878. cardnum:
  17879. description: 提货人证件号码
  17880. type: string
  17881. cardtypeid:
  17882. description: 提货人证件类型
  17883. type: integer
  17884. checkremark:
  17885. description: 审核备注
  17886. type: string
  17887. goodscode:
  17888. description: 商品代码
  17889. type: string
  17890. goodsid:
  17891. description: 商品ID
  17892. type: integer
  17893. goodsname:
  17894. description: 商品名称
  17895. type: string
  17896. handlestatus:
  17897. description: 处理状态
  17898. type: integer
  17899. marketid:
  17900. description: 市场ID
  17901. type: integer
  17902. phonenum:
  17903. description: 提货人联系方式
  17904. type: string
  17905. qty:
  17906. description: 提货数量
  17907. type: number
  17908. recivername:
  17909. description: 提货人姓名
  17910. type: string
  17911. reqtime:
  17912. description: 更新时间
  17913. type: string
  17914. takemode:
  17915. description: 提货方式 - 2:自提 3:配送
  17916. type: integer
  17917. takeorderid:
  17918. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  17919. type: string
  17920. takeorderstatus:
  17921. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  17922. type: integer
  17923. takeremark:
  17924. description: 提货备注
  17925. type: string
  17926. tradedate:
  17927. description: 交易日(yyyyMMdd)
  17928. type: string
  17929. userid:
  17930. description: 用户ID
  17931. type: integer
  17932. required:
  17933. - takeorderid
  17934. type: object
  17935. szdz.QueryRecieptOrderRsp:
  17936. properties:
  17937. accountName:
  17938. description: 所属账号名称(已脱敏)
  17939. type: string
  17940. accountid:
  17941. description: 资金账号
  17942. type: integer
  17943. buyorsell:
  17944. description: 方向 - 0:买 1:卖
  17945. type: integer
  17946. enableqty:
  17947. description: 可摘数量
  17948. type: integer
  17949. goodscode:
  17950. description: 商品代码
  17951. type: string
  17952. goodsid:
  17953. description: 商品ID
  17954. type: integer
  17955. goodsname:
  17956. description: 商品名称
  17957. type: string
  17958. orderid:
  17959. description: 委托单号
  17960. type: string
  17961. orderprice:
  17962. description: 委托价格
  17963. type: number
  17964. ordertime:
  17965. description: 委托时间
  17966. type: string
  17967. tradedate:
  17968. description: 交易日(yyyyMMdd)
  17969. type: string
  17970. required:
  17971. - ordertime
  17972. type: object
  17973. szdz.QuerySZDZTradePositionRsp:
  17974. properties:
  17975. accountid:
  17976. description: 账号Id
  17977. type: integer
  17978. agreeunit:
  17979. description: 合约单位
  17980. type: number
  17981. averageprice:
  17982. description: 持仓均价
  17983. type: number
  17984. buyorsell:
  17985. description: 方向 - 0:买 1:卖
  17986. type: integer
  17987. closetotalqty:
  17988. description: 平仓总数量
  17989. type: integer
  17990. curholderamount:
  17991. description: 当前持仓总金额
  17992. type: number
  17993. curpositionqty:
  17994. description: 当前持仓总数量
  17995. type: integer
  17996. currencyid:
  17997. description: 报价货币ID
  17998. type: integer
  17999. curtdposition:
  18000. description: 期末今日头寸
  18001. type: integer
  18002. decimalplace:
  18003. description: 报价小数位
  18004. type: integer
  18005. enableqty:
  18006. description: 可用量
  18007. type: integer
  18008. fretdposition:
  18009. description: 冻结今日头寸
  18010. type: integer
  18011. frozenqty:
  18012. description: 持仓冻结数量
  18013. type: integer
  18014. goodscode:
  18015. description: 商品代码(内部)
  18016. type: string
  18017. goodsid:
  18018. description: 商品Id
  18019. type: integer
  18020. goodsname:
  18021. description: 商品名称
  18022. type: string
  18023. goodunit:
  18024. description: 报价单位
  18025. type: string
  18026. goodunitid:
  18027. description: 报价单位ID
  18028. type: integer
  18029. holderamount:
  18030. description: 期初持仓总金额
  18031. type: number
  18032. marketid:
  18033. description: 市场ID
  18034. type: integer
  18035. openreqqty:
  18036. description: 开仓申请数量
  18037. type: integer
  18038. opentotalqty:
  18039. description: 开仓总数量
  18040. type: integer
  18041. otherfrozenqty:
  18042. description: 持仓其他冻结数量(交割冻结)
  18043. type: integer
  18044. positionqty:
  18045. description: 期初持仓数量
  18046. type: integer
  18047. szdz3freezqty:
  18048. description: 尚志大宗转换冻结总数量
  18049. type: integer
  18050. tnqty:
  18051. description: T+N冻结总量
  18052. type: integer
  18053. tnusedqty:
  18054. description: T+N使用量
  18055. type: integer
  18056. trademode:
  18057. description: 交易模式
  18058. type: integer
  18059. usedmargin:
  18060. description: 占用保证金
  18061. type: number
  18062. type: object
  18063. taaccount.QueryAmountLogRsp:
  18064. properties:
  18065. OPERATETYPENAME:
  18066. description: 资金操作类型名称
  18067. type: string
  18068. accountid:
  18069. description: 资金账户ID
  18070. type: integer
  18071. agoodscode:
  18072. description: 竞拍商品代码
  18073. type: string
  18074. agoodsname:
  18075. description: 竞拍商品名称
  18076. type: string
  18077. amount:
  18078. description: 资金金额
  18079. type: number
  18080. amountadjusttype:
  18081. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  18082. type: integer
  18083. autoid:
  18084. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  18085. type: integer
  18086. balance:
  18087. description: 期初余额
  18088. type: number
  18089. businesscode:
  18090. description: 业务编号
  18091. type: integer
  18092. createtime:
  18093. description: 发生时间
  18094. type: string
  18095. currencyid:
  18096. description: 币种ID
  18097. type: integer
  18098. currentbalance:
  18099. description: 期末余额(变动后金额)
  18100. type: number
  18101. dgoodscode:
  18102. description: 交割商品代码
  18103. type: string
  18104. dgoodsname:
  18105. description: 交割商品名称
  18106. type: string
  18107. goodscode:
  18108. description: 商品代码
  18109. type: string
  18110. goodsid:
  18111. description: 商品ID
  18112. type: integer
  18113. goodsname:
  18114. description: 商品名称
  18115. type: string
  18116. marketid:
  18117. description: 市场ID
  18118. type: integer
  18119. marketname:
  18120. description: 市场名称
  18121. type: string
  18122. moneyticket:
  18123. description: 资金流水号:银行端流水号
  18124. type: integer
  18125. operatetype:
  18126. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费 1007:期权盈亏 1101:营销扣款 1102:营销收款
  18127. type: integer
  18128. relationorderid:
  18129. description: 关联单号
  18130. type: string
  18131. remark:
  18132. description: 备注
  18133. type: string
  18134. trademode:
  18135. description: 交易模式
  18136. type: integer
  18137. required:
  18138. - accountid
  18139. - amount
  18140. - amountadjusttype
  18141. - autoid
  18142. - balance
  18143. - createtime
  18144. - currentbalance
  18145. - operatetype
  18146. type: object
  18147. taaccount.QueryHisAmountLogRsp:
  18148. properties:
  18149. OPERATETYPENAME:
  18150. description: 资金操作类型名称
  18151. type: string
  18152. accountid:
  18153. description: 资金账户ID
  18154. type: integer
  18155. agoodscode:
  18156. description: 竞拍商品代码
  18157. type: string
  18158. agoodsname:
  18159. description: 竞拍商品名称
  18160. type: string
  18161. amount:
  18162. description: 资金金额
  18163. type: number
  18164. amountadjusttype:
  18165. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  18166. type: integer
  18167. autoid:
  18168. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  18169. type: integer
  18170. balance:
  18171. description: 期初余额
  18172. type: number
  18173. businesscode:
  18174. description: 业务编号
  18175. type: integer
  18176. createtime:
  18177. description: 发生时间
  18178. type: string
  18179. currencyid:
  18180. description: 币种ID
  18181. type: integer
  18182. currentbalance:
  18183. description: 期末余额(变动后金额)
  18184. type: number
  18185. dgoodscode:
  18186. description: 交割商品代码
  18187. type: string
  18188. dgoodsname:
  18189. description: 交割商品名称
  18190. type: string
  18191. goodscode:
  18192. description: 商品代码
  18193. type: string
  18194. goodsid:
  18195. description: 商品ID
  18196. type: integer
  18197. goodsname:
  18198. description: 商品名称
  18199. type: string
  18200. histradedate:
  18201. description: 历史交易日
  18202. type: string
  18203. isvaliddata:
  18204. description: 是否有效 - 0:无效 1:有效
  18205. type: integer
  18206. marketid:
  18207. description: 市场ID
  18208. type: integer
  18209. marketname:
  18210. description: 市场名称
  18211. type: string
  18212. moneyticket:
  18213. description: 资金流水号:银行端流水号
  18214. type: integer
  18215. operatetype:
  18216. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费 1007:期权盈亏 1101:营销扣款 1102:营销收款
  18217. type: integer
  18218. relationorderid:
  18219. description: 关联单号
  18220. type: string
  18221. remark:
  18222. description: 备注
  18223. type: string
  18224. trademode:
  18225. description: 交易模式
  18226. type: integer
  18227. required:
  18228. - accountid
  18229. - amount
  18230. - amountadjusttype
  18231. - autoid
  18232. - balance
  18233. - createtime
  18234. - currentbalance
  18235. - histradedate
  18236. - operatetype
  18237. type: object
  18238. trade.QueryRecieptOrderRsp:
  18239. properties:
  18240. accountName:
  18241. description: 所属账号名称(已脱敏)
  18242. type: string
  18243. accountid:
  18244. description: 资金账号
  18245. type: integer
  18246. buyorsell:
  18247. description: 方向 - 0:买 1:卖
  18248. type: integer
  18249. enableqty:
  18250. description: 可摘数量
  18251. type: integer
  18252. goodscode:
  18253. description: 商品代码
  18254. type: string
  18255. goodsid:
  18256. description: 商品ID
  18257. type: integer
  18258. goodsname:
  18259. description: 商品名称
  18260. type: string
  18261. orderid:
  18262. description: 委托单号
  18263. type: string
  18264. orderprice:
  18265. description: 委托价格
  18266. type: number
  18267. ordertime:
  18268. description: 委托时间
  18269. type: string
  18270. tradedate:
  18271. description: 交易日(yyyyMMdd)
  18272. type: string
  18273. required:
  18274. - ordertime
  18275. type: object
  18276. user.LoginQueryRsp:
  18277. properties:
  18278. areaRoles:
  18279. description: 所属角色信息
  18280. items:
  18281. $ref: '#/definitions/models.Arearole'
  18282. type: array
  18283. externalExchanges:
  18284. description: 外部交易所
  18285. items:
  18286. $ref: '#/definitions/models.Externalexchange'
  18287. type: array
  18288. goodsgroups:
  18289. description: 商品组
  18290. items:
  18291. $ref: '#/definitions/models.Goodsgroup'
  18292. type: array
  18293. loginAccount:
  18294. $ref: '#/definitions/models.Loginaccount'
  18295. description: 登录账号
  18296. markets:
  18297. description: 市场
  18298. items:
  18299. $ref: '#/definitions/models.Market'
  18300. type: array
  18301. systemParams:
  18302. description: 系统参数
  18303. items:
  18304. $ref: '#/definitions/models.Systemparam'
  18305. type: array
  18306. userAccount:
  18307. $ref: '#/definitions/models.Useraccount'
  18308. description: 用户账号
  18309. userInfo:
  18310. $ref: '#/definitions/models.Userinfo'
  18311. description: 用户信息
  18312. username:
  18313. description: 用户姓名
  18314. type: string
  18315. type: object
  18316. info:
  18317. contact: {}
  18318. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  18319. termsOfService: http://www.muchinfo.cn
  18320. title: MTP2.0 查询服务 API
  18321. version: "1.0"
  18322. paths:
  18323. /CPTrade/QueryCPTradeMyBidInfos:
  18324. get:
  18325. parameters:
  18326. - description: 资金账户
  18327. in: query
  18328. name: accountid
  18329. required: true
  18330. type: integer
  18331. - description: 预售市场ID
  18332. in: query
  18333. name: marketid
  18334. type: integer
  18335. - description: 预售商品ID
  18336. in: query
  18337. name: goodsid
  18338. type: integer
  18339. produces:
  18340. - application/json
  18341. responses:
  18342. "200":
  18343. description: OK
  18344. schema:
  18345. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  18346. "500":
  18347. description: Internal Server Error
  18348. schema:
  18349. $ref: '#/definitions/app.Response'
  18350. security:
  18351. - ApiKeyAuth: []
  18352. summary: 查询产能预售我的出价信息
  18353. tags:
  18354. - 产能预售
  18355. /CPTrade/QueryCPTradeOrderDetail:
  18356. get:
  18357. parameters:
  18358. - description: 预售商品ID
  18359. in: query
  18360. name: goodsid
  18361. type: integer
  18362. - description: 预售市场ID
  18363. in: query
  18364. name: marketid
  18365. type: integer
  18366. - description: 预售商品ID列表 - 格式:1,2,3
  18367. in: query
  18368. name: goodsids
  18369. type: string
  18370. produces:
  18371. - application/json
  18372. responses:
  18373. "200":
  18374. description: OK
  18375. schema:
  18376. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  18377. "500":
  18378. description: Internal Server Error
  18379. schema:
  18380. $ref: '#/definitions/app.Response'
  18381. security:
  18382. - ApiKeyAuth: []
  18383. summary: 查询产能预售委托单信息
  18384. tags:
  18385. - 产能预售
  18386. /CPTrade/QueryMyCPTradeGoods:
  18387. get:
  18388. parameters:
  18389. - description: 资金账户
  18390. in: query
  18391. name: accountid
  18392. required: true
  18393. type: integer
  18394. produces:
  18395. - application/json
  18396. responses:
  18397. "200":
  18398. description: OK
  18399. schema:
  18400. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  18401. "500":
  18402. description: Internal Server Error
  18403. schema:
  18404. $ref: '#/definitions/app.Response'
  18405. security:
  18406. - ApiKeyAuth: []
  18407. summary: 查询我的预售信息
  18408. tags:
  18409. - 产能预售
  18410. /CPTrade/QueryPositionCancel:
  18411. get:
  18412. parameters:
  18413. - description: 账户ID
  18414. in: query
  18415. name: userid
  18416. required: true
  18417. type: integer
  18418. - description: 注销ID
  18419. in: query
  18420. name: cancelid
  18421. type: integer
  18422. - description: 资金账户ID
  18423. in: query
  18424. name: accountid
  18425. type: integer
  18426. produces:
  18427. - application/json
  18428. responses:
  18429. "200":
  18430. description: OK
  18431. schema:
  18432. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  18433. "500":
  18434. description: Internal Server Error
  18435. schema:
  18436. $ref: '#/definitions/app.Response'
  18437. security:
  18438. - ApiKeyAuth: []
  18439. summary: 查询远期订单注销申请信息
  18440. tags:
  18441. - 产能预售
  18442. /CPTrade/QueryPreasleApply:
  18443. get:
  18444. parameters:
  18445. - description: 账户ID
  18446. in: query
  18447. name: userid
  18448. required: true
  18449. type: integer
  18450. - description: 申请ID
  18451. in: query
  18452. name: applyid
  18453. type: integer
  18454. - description: 资金账户ID
  18455. in: query
  18456. name: accountid
  18457. type: integer
  18458. produces:
  18459. - application/json
  18460. responses:
  18461. "200":
  18462. description: OK
  18463. schema:
  18464. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  18465. "500":
  18466. description: Internal Server Error
  18467. schema:
  18468. $ref: '#/definitions/app.Response'
  18469. security:
  18470. - ApiKeyAuth: []
  18471. summary: 查询产能预售申请信息
  18472. tags:
  18473. - 产能预售
  18474. /CPTrade/QueryPresaleGoodsEx:
  18475. get:
  18476. parameters:
  18477. - description: 预售商品ID
  18478. in: query
  18479. name: goodsid
  18480. type: integer
  18481. - description: 预售市场ID
  18482. in: query
  18483. name: marketid
  18484. type: integer
  18485. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  18486. in: query
  18487. name: presalemode
  18488. type: integer
  18489. - description: 预售商品ID列表 - 格式:1,2,3
  18490. in: query
  18491. name: goodsids
  18492. type: string
  18493. - description: 预售商品代码
  18494. in: query
  18495. name: goodscode
  18496. type: string
  18497. produces:
  18498. - application/json
  18499. responses:
  18500. "200":
  18501. description: OK
  18502. schema:
  18503. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  18504. "500":
  18505. description: Internal Server Error
  18506. schema:
  18507. $ref: '#/definitions/app.Response'
  18508. security:
  18509. - ApiKeyAuth: []
  18510. summary: 查询产能预售商品扩展信息
  18511. tags:
  18512. - 产能预售
  18513. /CPTrade/QueryUserGoodsData:
  18514. get:
  18515. parameters:
  18516. - description: 资金账户ID
  18517. in: query
  18518. name: accountid
  18519. required: true
  18520. type: integer
  18521. produces:
  18522. - application/json
  18523. responses:
  18524. "200":
  18525. description: OK
  18526. schema:
  18527. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  18528. "500":
  18529. description: Internal Server Error
  18530. schema:
  18531. $ref: '#/definitions/app.Response'
  18532. security:
  18533. - ApiKeyAuth: []
  18534. summary: 查询远期订单信息
  18535. tags:
  18536. - 产能预售
  18537. /Common/GetAllEnums:
  18538. get:
  18539. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  18540. parameters:
  18541. - description: 起始自增ID
  18542. in: query
  18543. name: autoid
  18544. type: integer
  18545. produces:
  18546. - application/json
  18547. responses:
  18548. "200":
  18549. description: OK
  18550. schema:
  18551. $ref: '#/definitions/models.Enumdicitem'
  18552. "500":
  18553. description: Internal Server Error
  18554. schema:
  18555. $ref: '#/definitions/app.Response'
  18556. summary: 获取所有枚举信息
  18557. tags:
  18558. - 通用服务
  18559. /Common/GetClientMenus:
  18560. get:
  18561. parameters:
  18562. - description: 登录账号
  18563. in: query
  18564. name: loginID
  18565. required: true
  18566. type: integer
  18567. - description: 终端类型,0:PCWEB 1:Mobile,不传默认返回PC端数据
  18568. in: query
  18569. name: clientType
  18570. type: integer
  18571. - description: 分支名称,ermcp:风管云平台 pingan:平安期货,不传默认返回风管云平台
  18572. in: query
  18573. name: name
  18574. type: string
  18575. produces:
  18576. - application/json
  18577. responses:
  18578. "200":
  18579. description: OK
  18580. schema:
  18581. items:
  18582. $ref: '#/definitions/common.ClientMenu'
  18583. type: array
  18584. "500":
  18585. description: Internal Server Error
  18586. schema:
  18587. $ref: '#/definitions/app.Response'
  18588. security:
  18589. - ApiKeyAuth: []
  18590. summary: 获取交易端菜单
  18591. tags:
  18592. - 通用服务
  18593. /Common/GetDivisions:
  18594. get:
  18595. produces:
  18596. - application/json
  18597. responses:
  18598. "200":
  18599. description: OK
  18600. schema:
  18601. $ref: '#/definitions/models.Division'
  18602. "500":
  18603. description: Internal Server Error
  18604. schema:
  18605. $ref: '#/definitions/app.Response'
  18606. summary: 查询区域信息
  18607. tags:
  18608. - 通用服务
  18609. /Common/GetServerTime:
  18610. get:
  18611. produces:
  18612. - application/json
  18613. responses:
  18614. "200":
  18615. description: OK
  18616. schema:
  18617. $ref: '#/definitions/app.Response'
  18618. "500":
  18619. description: Internal Server Error
  18620. schema:
  18621. $ref: '#/definitions/app.Response'
  18622. summary: 获取服务器时间
  18623. tags:
  18624. - 通用服务
  18625. /Common/NoticeReaded:
  18626. post:
  18627. parameters:
  18628. - description: 登录账号
  18629. in: query
  18630. name: loginID
  18631. required: true
  18632. type: integer
  18633. - description: 通知公告ID
  18634. in: query
  18635. name: noticeID
  18636. required: true
  18637. type: integer
  18638. produces:
  18639. - application/json
  18640. responses:
  18641. "200":
  18642. description: OK
  18643. schema:
  18644. $ref: '#/definitions/app.Response'
  18645. "500":
  18646. description: Internal Server Error
  18647. schema:
  18648. $ref: '#/definitions/app.Response'
  18649. security:
  18650. - ApiKeyAuth: []
  18651. summary: 通知公告设置已读请求
  18652. tags:
  18653. - 通用服务
  18654. /Common/QueryErrorInfos:
  18655. get:
  18656. description: 如果传入rowNumber,则返回此rowNumber后的数据
  18657. parameters:
  18658. - description: 起始行号前索引
  18659. in: query
  18660. name: rowNumber
  18661. type: string
  18662. produces:
  18663. - application/json
  18664. responses:
  18665. "200":
  18666. description: OK
  18667. schema:
  18668. $ref: '#/definitions/models.QueryErrorInfosRsp'
  18669. "500":
  18670. description: Internal Server Error
  18671. schema:
  18672. $ref: '#/definitions/app.Response'
  18673. summary: 获取数据库错误信息
  18674. tags:
  18675. - 通用服务
  18676. /Common/QueryImageConfigs:
  18677. get:
  18678. parameters:
  18679. - description: 用户id
  18680. in: query
  18681. name: userId
  18682. type: integer
  18683. - description: 类型 - 1:App首页轮播 2:我的
  18684. in: query
  18685. name: imageType
  18686. type: integer
  18687. produces:
  18688. - application/json
  18689. responses:
  18690. "200":
  18691. description: OK
  18692. schema:
  18693. $ref: '#/definitions/common.QueryImageConfigsRsp'
  18694. "500":
  18695. description: Internal Server Error
  18696. schema:
  18697. $ref: '#/definitions/app.Response'
  18698. summary: 查询轮播图配置信息
  18699. tags:
  18700. - 通用服务
  18701. /Common/QueryNotice:
  18702. get:
  18703. parameters:
  18704. - description: 页码
  18705. in: query
  18706. name: page
  18707. type: integer
  18708. - description: 每页条数
  18709. in: query
  18710. name: pagesize
  18711. type: integer
  18712. - description: 登录账号
  18713. in: query
  18714. name: loginID
  18715. required: true
  18716. type: integer
  18717. - description: 消息类型 - 1:公告通知 2:系统消息
  18718. in: query
  18719. name: msgType
  18720. type: integer
  18721. - description: 是否只获取未读信息
  18722. in: query
  18723. name: onlyUnRead
  18724. type: boolean
  18725. - description: 自增ID,传入后会返回这个ID后面的记录
  18726. in: query
  18727. name: lastID
  18728. type: integer
  18729. produces:
  18730. - application/json
  18731. responses:
  18732. "200":
  18733. description: OK
  18734. schema:
  18735. $ref: '#/definitions/common.QueryNoticeRsp'
  18736. "500":
  18737. description: Internal Server Error
  18738. schema:
  18739. $ref: '#/definitions/app.Response'
  18740. security:
  18741. - ApiKeyAuth: []
  18742. summary: 通知公告系统消息查询
  18743. tags:
  18744. - 通用服务
  18745. /Common/QueryProvincesAndCities:
  18746. get:
  18747. parameters:
  18748. - description: 省ID
  18749. in: query
  18750. name: provinceID
  18751. type: integer
  18752. produces:
  18753. - application/json
  18754. responses:
  18755. "200":
  18756. description: OK
  18757. schema:
  18758. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  18759. "500":
  18760. description: Internal Server Error
  18761. schema:
  18762. $ref: '#/definitions/app.Response'
  18763. summary: 查询省市信息(不包括区)
  18764. tags:
  18765. - 通用服务
  18766. /Common/QueryTableDefine:
  18767. get:
  18768. parameters:
  18769. - description: 表key
  18770. in: query
  18771. name: tableKey
  18772. type: string
  18773. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  18774. in: query
  18775. name: tableType
  18776. type: integer
  18777. produces:
  18778. - application/json
  18779. responses:
  18780. "200":
  18781. description: OK
  18782. schema:
  18783. $ref: '#/definitions/common.QueryTableDefineRsp'
  18784. "500":
  18785. description: Internal Server Error
  18786. schema:
  18787. $ref: '#/definitions/app.Response'
  18788. summary: 查询交易端列表头信息
  18789. tags:
  18790. - 通用服务
  18791. /Common/QueryTraderMenu:
  18792. get:
  18793. parameters:
  18794. - description: 登录账号
  18795. in: query
  18796. name: loginid
  18797. required: true
  18798. type: integer
  18799. produces:
  18800. - application/json
  18801. responses:
  18802. "200":
  18803. description: OK
  18804. schema:
  18805. $ref: '#/definitions/common.QueryTraderMenuRsp'
  18806. "500":
  18807. description: Internal Server Error
  18808. schema:
  18809. $ref: '#/definitions/app.Response'
  18810. summary: 查询交易端菜单
  18811. tags:
  18812. - 通用服务
  18813. /Delivery/QueryDeliveryRelation:
  18814. get:
  18815. parameters:
  18816. - description: 商品ID
  18817. in: query
  18818. name: goodsid
  18819. type: integer
  18820. - description: 品种ID
  18821. in: query
  18822. name: deliverygoodsid
  18823. type: integer
  18824. - description: 市场ID
  18825. in: query
  18826. name: marketid
  18827. type: integer
  18828. produces:
  18829. - application/json
  18830. responses:
  18831. "200":
  18832. description: OK
  18833. schema:
  18834. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  18835. "500":
  18836. description: Internal Server Error
  18837. schema:
  18838. $ref: '#/definitions/app.Response'
  18839. security:
  18840. - ApiKeyAuth: []
  18841. summary: 查询商品交割关系表
  18842. tags:
  18843. - 交割服务
  18844. /Ermcp/GetErmcpGoods:
  18845. get:
  18846. parameters:
  18847. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  18848. in: query
  18849. name: lastUpdateTime
  18850. type: string
  18851. produces:
  18852. - application/json
  18853. responses:
  18854. "200":
  18855. description: OK
  18856. schema:
  18857. $ref: '#/definitions/models.ErmcpGoods'
  18858. "500":
  18859. description: Internal Server Error
  18860. schema:
  18861. $ref: '#/definitions/app.Response'
  18862. security:
  18863. - ApiKeyAuth: []
  18864. summary: 查询企业风管期货商品信息
  18865. tags:
  18866. - 企业风险管理(app)
  18867. /Ermcp/GetErmcpGoodsSortByPosition:
  18868. get:
  18869. parameters:
  18870. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  18871. in: query
  18872. name: sortIndex
  18873. type: string
  18874. produces:
  18875. - application/json
  18876. responses:
  18877. "200":
  18878. description: OK
  18879. schema:
  18880. $ref: '#/definitions/models.Goodssortbypreposition'
  18881. "500":
  18882. description: Internal Server Error
  18883. schema:
  18884. $ref: '#/definitions/app.Response'
  18885. security:
  18886. - ApiKeyAuth: []
  18887. summary: 查询企业风管期货主力、次主力商品信息
  18888. tags:
  18889. - 企业风险管理(app)
  18890. /Ermcp/GetErmcpOutAccountStatus:
  18891. get:
  18892. parameters:
  18893. - description: 登录账号
  18894. in: query
  18895. name: loginID
  18896. required: true
  18897. type: integer
  18898. produces:
  18899. - application/json
  18900. responses:
  18901. "200":
  18902. description: OK
  18903. schema:
  18904. $ref: '#/definitions/models.Hedgemarketopenlog'
  18905. "500":
  18906. description: Internal Server Error
  18907. schema:
  18908. $ref: '#/definitions/app.Response'
  18909. security:
  18910. - ApiKeyAuth: []
  18911. summary: 获取目标登录账号当前对冲账号在线状态
  18912. tags:
  18913. - 企业风险管理(app)
  18914. /Ermcp/GetErmcpRoleFuncMenuLists:
  18915. get:
  18916. parameters:
  18917. - description: 登录账号
  18918. in: query
  18919. name: loginID
  18920. required: true
  18921. type: integer
  18922. produces:
  18923. - application/json
  18924. responses:
  18925. "200":
  18926. description: OK
  18927. schema:
  18928. $ref: '#/definitions/models.Funcmenulist'
  18929. "500":
  18930. description: Internal Server Error
  18931. schema:
  18932. $ref: '#/definitions/app.Response'
  18933. security:
  18934. - ApiKeyAuth: []
  18935. summary: 获取企业风管终端权限
  18936. tags:
  18937. - 企业风险管理(app)
  18938. /Ermcp/QueryAccMgrBizGroupSet:
  18939. get:
  18940. parameters:
  18941. - description: 用户ID
  18942. in: query
  18943. name: userid
  18944. required: true
  18945. type: integer
  18946. - description: 现货商品id
  18947. in: query
  18948. name: deliverygoodsid
  18949. type: integer
  18950. produces:
  18951. - application/json
  18952. responses:
  18953. "200":
  18954. description: OK
  18955. schema:
  18956. items:
  18957. $ref: '#/definitions/models.ErmcpBizGroupEx'
  18958. type: array
  18959. "500":
  18960. description: Internal Server Error
  18961. schema:
  18962. $ref: '#/definitions/app.Response'
  18963. security:
  18964. - ApiKeyAuth: []
  18965. summary: 查询业务类型分组(账户管理/账户设置)
  18966. tags:
  18967. - 企业风险管理(app)
  18968. /Ermcp/QueryAccMgrLoginUser:
  18969. get:
  18970. parameters:
  18971. - description: 用户ID
  18972. in: query
  18973. name: userid
  18974. required: true
  18975. type: integer
  18976. - description: 用户类型 2-机构 7-企业成员
  18977. in: query
  18978. name: usertype
  18979. type: integer
  18980. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  18981. in: query
  18982. name: querytype
  18983. required: true
  18984. type: integer
  18985. produces:
  18986. - application/json
  18987. responses:
  18988. "200":
  18989. description: OK
  18990. schema:
  18991. items:
  18992. $ref: '#/definitions/models.ErmcpLoginUserEx'
  18993. type: array
  18994. "500":
  18995. description: Internal Server Error
  18996. schema:
  18997. $ref: '#/definitions/app.Response'
  18998. security:
  18999. - ApiKeyAuth: []
  19000. summary: 查询账户管理登录账号(账户管理/登录账号)
  19001. tags:
  19002. - 企业风险管理(app)
  19003. /Ermcp/QueryAccMgrMainAccountInfo:
  19004. get:
  19005. parameters:
  19006. - description: 用户ID
  19007. in: query
  19008. name: userid
  19009. type: integer
  19010. - description: 主账号id
  19011. in: query
  19012. name: accountid
  19013. type: integer
  19014. produces:
  19015. - application/json
  19016. responses:
  19017. "200":
  19018. description: OK
  19019. schema:
  19020. items:
  19021. $ref: '#/definitions/models.MainAccountInfo'
  19022. type: array
  19023. "500":
  19024. description: Internal Server Error
  19025. schema:
  19026. $ref: '#/definitions/app.Response'
  19027. security:
  19028. - ApiKeyAuth: []
  19029. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  19030. tags:
  19031. - 企业风险管理(app)
  19032. /Ermcp/QueryAccMgrRole:
  19033. get:
  19034. parameters:
  19035. - description: 用户ID
  19036. in: query
  19037. name: userid
  19038. required: true
  19039. type: integer
  19040. produces:
  19041. - application/json
  19042. responses:
  19043. "200":
  19044. description: OK
  19045. schema:
  19046. items:
  19047. $ref: '#/definitions/models.ErmcpRole'
  19048. type: array
  19049. "500":
  19050. description: Internal Server Error
  19051. schema:
  19052. $ref: '#/definitions/app.Response'
  19053. security:
  19054. - ApiKeyAuth: []
  19055. summary: 查询账户管理角色设置(账户管理/角色设置)
  19056. tags:
  19057. - 企业风险管理(app)
  19058. /Ermcp/QueryAccMgrRoleMenu:
  19059. get:
  19060. parameters:
  19061. - description: 用户ID
  19062. in: query
  19063. name: userid
  19064. required: true
  19065. type: integer
  19066. - description: 角色id(可多个,逗号隔开)
  19067. in: query
  19068. name: roleid
  19069. type: string
  19070. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  19071. in: query
  19072. name: menutype
  19073. type: integer
  19074. produces:
  19075. - application/json
  19076. responses:
  19077. "200":
  19078. description: OK
  19079. schema:
  19080. items:
  19081. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  19082. type: array
  19083. "500":
  19084. description: Internal Server Error
  19085. schema:
  19086. $ref: '#/definitions/app.Response'
  19087. security:
  19088. - ApiKeyAuth: []
  19089. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  19090. tags:
  19091. - 企业风险管理(app)
  19092. /Ermcp/QueryAccMgrTaAccountInfo:
  19093. get:
  19094. parameters:
  19095. - description: 用户ID
  19096. in: query
  19097. name: userid
  19098. required: true
  19099. type: integer
  19100. - description: 账号id
  19101. in: query
  19102. name: accountid
  19103. type: integer
  19104. produces:
  19105. - application/json
  19106. responses:
  19107. "200":
  19108. description: OK
  19109. schema:
  19110. items:
  19111. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  19112. type: array
  19113. "500":
  19114. description: Internal Server Error
  19115. schema:
  19116. $ref: '#/definitions/app.Response'
  19117. security:
  19118. - ApiKeyAuth: []
  19119. summary: 查询账户管理授信(账户管理/账户设置/授信)
  19120. tags:
  19121. - 企业风险管理(app)
  19122. /Ermcp/QueryAccMgrTaaccount:
  19123. get:
  19124. parameters:
  19125. - description: 用户ID
  19126. in: query
  19127. name: userid
  19128. required: true
  19129. type: integer
  19130. produces:
  19131. - application/json
  19132. responses:
  19133. "200":
  19134. description: OK
  19135. schema:
  19136. items:
  19137. $ref: '#/definitions/models.ErmcpTaAccountEx'
  19138. type: array
  19139. "500":
  19140. description: Internal Server Error
  19141. schema:
  19142. $ref: '#/definitions/app.Response'
  19143. security:
  19144. - ApiKeyAuth: []
  19145. summary: 查询账户管理期货账号(账户管理/期货账号)
  19146. tags:
  19147. - 企业风险管理(app)
  19148. /Ermcp/QueryAvaildGoodsGroup:
  19149. get:
  19150. parameters:
  19151. - description: 所属机构ID
  19152. in: query
  19153. name: userid
  19154. required: true
  19155. type: integer
  19156. produces:
  19157. - application/json
  19158. responses:
  19159. "200":
  19160. description: OK
  19161. schema:
  19162. items:
  19163. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  19164. type: array
  19165. "500":
  19166. description: Internal Server Error
  19167. schema:
  19168. $ref: '#/definitions/app.Response'
  19169. security:
  19170. - ApiKeyAuth: []
  19171. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  19172. tags:
  19173. - 企业风险管理(app)
  19174. /Ermcp/QueryBusinessDj:
  19175. get:
  19176. parameters:
  19177. - description: 用户ID
  19178. in: query
  19179. name: UserId
  19180. required: true
  19181. type: integer
  19182. - description: 用户类型 2-机构 7-企业成员
  19183. in: query
  19184. name: usertype
  19185. type: integer
  19186. - description: 现货合同ID, 不填则查所有
  19187. in: query
  19188. name: relatedid
  19189. type: string
  19190. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19191. in: query
  19192. name: applystatus
  19193. type: string
  19194. produces:
  19195. - application/json
  19196. responses:
  19197. "200":
  19198. description: OK
  19199. schema:
  19200. items:
  19201. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  19202. type: array
  19203. "500":
  19204. description: Internal Server Error
  19205. schema:
  19206. $ref: '#/definitions/app.Response'
  19207. security:
  19208. - ApiKeyAuth: []
  19209. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  19210. tags:
  19211. - 企业风险管理(app)
  19212. /Ermcp/QueryBusinessFp:
  19213. get:
  19214. parameters:
  19215. - description: 用户ID
  19216. in: query
  19217. name: UserId
  19218. required: true
  19219. type: integer
  19220. - description: 用户类型 2-机构 7-企业成员
  19221. in: query
  19222. name: usertype
  19223. type: integer
  19224. - description: 现货合同ID, 不填则查所有
  19225. in: query
  19226. name: relatedid
  19227. type: string
  19228. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19229. in: query
  19230. name: applystatus
  19231. type: string
  19232. produces:
  19233. - application/json
  19234. responses:
  19235. "200":
  19236. description: OK
  19237. schema:
  19238. items:
  19239. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  19240. type: array
  19241. "500":
  19242. description: Internal Server Error
  19243. schema:
  19244. $ref: '#/definitions/app.Response'
  19245. security:
  19246. - ApiKeyAuth: []
  19247. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  19248. tags:
  19249. - 企业风险管理(app)
  19250. /Ermcp/QueryBusinessJs:
  19251. get:
  19252. parameters:
  19253. - description: 用户ID
  19254. in: query
  19255. name: UserId
  19256. required: true
  19257. type: integer
  19258. - description: 用户类型 2-机构 7-企业成员
  19259. in: query
  19260. name: usertype
  19261. type: integer
  19262. - description: 现货合同ID, 不填则查所有
  19263. in: query
  19264. name: relatedid
  19265. type: string
  19266. - description: 操作申请id
  19267. in: query
  19268. name: operateapplyid
  19269. type: string
  19270. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19271. in: query
  19272. name: applystatus
  19273. type: string
  19274. produces:
  19275. - application/json
  19276. responses:
  19277. "200":
  19278. description: OK
  19279. schema:
  19280. items:
  19281. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  19282. type: array
  19283. "500":
  19284. description: Internal Server Error
  19285. schema:
  19286. $ref: '#/definitions/app.Response'
  19287. security:
  19288. - ApiKeyAuth: []
  19289. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  19290. tags:
  19291. - 企业风险管理(app)
  19292. /Ermcp/QueryBusinessJsEx:
  19293. get:
  19294. parameters:
  19295. - description: 用户ID
  19296. in: query
  19297. name: UserId
  19298. required: true
  19299. type: integer
  19300. - description: 用户类型 2-机构 7-企业成员
  19301. in: query
  19302. name: usertype
  19303. type: integer
  19304. - description: 现货合同ID, 不填则查所有
  19305. in: query
  19306. name: relatedid
  19307. type: string
  19308. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19309. in: query
  19310. name: applystatus
  19311. type: string
  19312. produces:
  19313. - application/json
  19314. responses:
  19315. "200":
  19316. description: OK
  19317. schema:
  19318. items:
  19319. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  19320. type: array
  19321. "500":
  19322. description: Internal Server Error
  19323. schema:
  19324. $ref: '#/definitions/app.Response'
  19325. security:
  19326. - ApiKeyAuth: []
  19327. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  19328. tags:
  19329. - 企业风险管理(app)
  19330. /Ermcp/QueryBusinessKx:
  19331. get:
  19332. parameters:
  19333. - description: 用户ID
  19334. in: query
  19335. name: UserId
  19336. required: true
  19337. type: integer
  19338. - description: 用户类型 2-机构 7-企业成员
  19339. in: query
  19340. name: usertype
  19341. type: integer
  19342. - description: 现货合同ID, 不填则查所有
  19343. in: query
  19344. name: relatedid
  19345. type: string
  19346. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  19347. in: query
  19348. name: applystatus
  19349. type: string
  19350. produces:
  19351. - application/json
  19352. responses:
  19353. "200":
  19354. description: OK
  19355. schema:
  19356. items:
  19357. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  19358. type: array
  19359. "500":
  19360. description: Internal Server Error
  19361. schema:
  19362. $ref: '#/definitions/app.Response'
  19363. security:
  19364. - ApiKeyAuth: []
  19365. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  19366. tags:
  19367. - 企业风险管理(app)
  19368. /Ermcp/QueryChangeLog:
  19369. get:
  19370. parameters:
  19371. - description: 合同ID
  19372. in: query
  19373. name: RelatedId
  19374. required: true
  19375. type: string
  19376. produces:
  19377. - application/json
  19378. responses:
  19379. "200":
  19380. description: OK
  19381. schema:
  19382. items:
  19383. $ref: '#/definitions/ermcp.QryOPLogRsp'
  19384. type: array
  19385. "500":
  19386. description: Internal Server Error
  19387. schema:
  19388. $ref: '#/definitions/app.Response'
  19389. security:
  19390. - ApiKeyAuth: []
  19391. summary: 查询变更记录
  19392. tags:
  19393. - 企业风险管理(app)
  19394. /Ermcp/QueryErmcpHisOrderDetails:
  19395. get:
  19396. parameters:
  19397. - description: 资金账户ID
  19398. in: query
  19399. name: accountID
  19400. required: true
  19401. type: integer
  19402. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  19403. in: query
  19404. name: startDate
  19405. type: string
  19406. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  19407. in: query
  19408. name: endDate
  19409. type: string
  19410. produces:
  19411. - application/json
  19412. responses:
  19413. "200":
  19414. description: OK
  19415. schema:
  19416. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  19417. "500":
  19418. description: Internal Server Error
  19419. schema:
  19420. $ref: '#/definitions/app.Response'
  19421. security:
  19422. - ApiKeyAuth: []
  19423. summary: 获取企业风管期货历史委托单信息
  19424. tags:
  19425. - 企业风险管理(app)
  19426. /Ermcp/QueryErmcpHisTradeDetails:
  19427. get:
  19428. parameters:
  19429. - description: 资金账户ID
  19430. in: query
  19431. name: accountID
  19432. required: true
  19433. type: integer
  19434. - description: 商品ID
  19435. in: query
  19436. name: goodsID
  19437. type: integer
  19438. - description: 买卖方向,0:买 1:卖
  19439. in: query
  19440. name: buyOrSell
  19441. type: integer
  19442. - description: 关联委托单号
  19443. in: query
  19444. name: orderID
  19445. type: integer
  19446. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  19447. in: query
  19448. name: startDate
  19449. type: string
  19450. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  19451. in: query
  19452. name: endDate
  19453. type: string
  19454. produces:
  19455. - application/json
  19456. responses:
  19457. "200":
  19458. description: OK
  19459. schema:
  19460. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  19461. "500":
  19462. description: Internal Server Error
  19463. schema:
  19464. $ref: '#/definitions/app.Response'
  19465. security:
  19466. - ApiKeyAuth: []
  19467. summary: 获取企业风管期货历史成交单信息
  19468. tags:
  19469. - 企业风险管理(app)
  19470. /Ermcp/QueryErmcpInnerHolderDetails:
  19471. get:
  19472. parameters:
  19473. - description: 资金账户ID
  19474. in: query
  19475. name: accountID
  19476. required: true
  19477. type: integer
  19478. - description: 商品ID
  19479. in: query
  19480. name: goodsID
  19481. type: integer
  19482. - description: 买卖方向,0:买 1:卖
  19483. in: query
  19484. name: buyOrSell
  19485. type: integer
  19486. produces:
  19487. - application/json
  19488. responses:
  19489. "200":
  19490. description: OK
  19491. schema:
  19492. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  19493. "500":
  19494. description: Internal Server Error
  19495. schema:
  19496. $ref: '#/definitions/app.Response'
  19497. security:
  19498. - ApiKeyAuth: []
  19499. summary: 获取企业风管期货内部持仓单信息
  19500. tags:
  19501. - 企业风险管理(app)
  19502. /Ermcp/QueryErmcpOrderDetails:
  19503. get:
  19504. parameters:
  19505. - description: 资金账户ID
  19506. in: query
  19507. name: accountID
  19508. required: true
  19509. type: integer
  19510. produces:
  19511. - application/json
  19512. responses:
  19513. "200":
  19514. description: OK
  19515. schema:
  19516. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  19517. "500":
  19518. description: Internal Server Error
  19519. schema:
  19520. $ref: '#/definitions/app.Response'
  19521. security:
  19522. - ApiKeyAuth: []
  19523. summary: 获取企业风管期货委托单信息
  19524. tags:
  19525. - 企业风险管理(app)
  19526. /Ermcp/QueryErmcpTradeDetails:
  19527. get:
  19528. parameters:
  19529. - description: 资金账户ID
  19530. in: query
  19531. name: accountID
  19532. required: true
  19533. type: integer
  19534. - description: 商品ID
  19535. in: query
  19536. name: goodsID
  19537. type: integer
  19538. - description: 买卖方向,0:买 1:卖
  19539. in: query
  19540. name: buyOrSell
  19541. type: integer
  19542. - description: 关联委托单号
  19543. in: query
  19544. name: orderID
  19545. type: integer
  19546. produces:
  19547. - application/json
  19548. responses:
  19549. "200":
  19550. description: OK
  19551. schema:
  19552. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  19553. "500":
  19554. description: Internal Server Error
  19555. schema:
  19556. $ref: '#/definitions/app.Response'
  19557. security:
  19558. - ApiKeyAuth: []
  19559. summary: 获取企业风管期货成交单信息
  19560. tags:
  19561. - 企业风险管理(app)
  19562. /Ermcp/QueryErmcpTradePosition:
  19563. get:
  19564. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  19565. parameters:
  19566. - description: 资金账户ID
  19567. in: query
  19568. name: accountID
  19569. required: true
  19570. type: integer
  19571. - description: 所属市场ID
  19572. in: query
  19573. name: marketID
  19574. type: integer
  19575. produces:
  19576. - application/json
  19577. responses:
  19578. "200":
  19579. description: OK
  19580. schema:
  19581. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  19582. "500":
  19583. description: Internal Server Error
  19584. schema:
  19585. $ref: '#/definitions/app.Response'
  19586. security:
  19587. - ApiKeyAuth: []
  19588. summary: 获取企业风管期货持仓头寸信息
  19589. tags:
  19590. - 企业风险管理(app)
  19591. /Ermcp/QueryExposureDetail:
  19592. get:
  19593. parameters:
  19594. - description: 所属机构ID
  19595. in: query
  19596. name: areaUserId
  19597. required: true
  19598. type: integer
  19599. - description: 套保商品
  19600. in: query
  19601. name: middleGoodsId
  19602. required: true
  19603. type: integer
  19604. produces:
  19605. - application/json
  19606. responses:
  19607. "200":
  19608. description: OK
  19609. schema:
  19610. items:
  19611. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  19612. type: array
  19613. "500":
  19614. description: Internal Server Error
  19615. schema:
  19616. $ref: '#/definitions/app.Response'
  19617. security:
  19618. - ApiKeyAuth: []
  19619. summary: 查询敞口现货明细
  19620. tags:
  19621. - 企业风险管理(app)
  19622. /Ermcp/QueryExposureGoods:
  19623. get:
  19624. parameters:
  19625. - description: 套保商品id
  19626. in: query
  19627. name: middlegoodsid
  19628. required: true
  19629. type: integer
  19630. produces:
  19631. - application/json
  19632. responses:
  19633. "200":
  19634. description: OK
  19635. schema:
  19636. items:
  19637. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  19638. type: array
  19639. "500":
  19640. description: Internal Server Error
  19641. schema:
  19642. $ref: '#/definitions/app.Response'
  19643. security:
  19644. - ApiKeyAuth: []
  19645. summary: 查询敞口主力合约
  19646. tags:
  19647. - 企业风险管理(app)
  19648. /Ermcp/QueryExposureHedgePosition:
  19649. get:
  19650. parameters:
  19651. - description: 用户id
  19652. in: query
  19653. name: userid
  19654. required: true
  19655. type: integer
  19656. produces:
  19657. - application/json
  19658. responses:
  19659. "200":
  19660. description: OK
  19661. schema:
  19662. items:
  19663. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  19664. type: array
  19665. "500":
  19666. description: Internal Server Error
  19667. schema:
  19668. $ref: '#/definitions/app.Response'
  19669. security:
  19670. - ApiKeyAuth: []
  19671. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  19672. tags:
  19673. - 企业风险管理(app)
  19674. /Ermcp/QueryExposureHedgePositionDetail:
  19675. get:
  19676. parameters:
  19677. - description: 所属机构ID
  19678. in: query
  19679. name: userid
  19680. required: true
  19681. type: integer
  19682. - description: 商品id
  19683. in: query
  19684. name: goodsId
  19685. required: true
  19686. type: integer
  19687. produces:
  19688. - application/json
  19689. responses:
  19690. "200":
  19691. description: OK
  19692. schema:
  19693. items:
  19694. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  19695. type: array
  19696. "500":
  19697. description: Internal Server Error
  19698. schema:
  19699. $ref: '#/definitions/app.Response'
  19700. security:
  19701. - ApiKeyAuth: []
  19702. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  19703. tags:
  19704. - 企业风险管理(app)
  19705. /Ermcp/QueryExposureSpot:
  19706. get:
  19707. parameters:
  19708. - description: 所属机构ID
  19709. in: query
  19710. name: areaUserId
  19711. required: true
  19712. type: integer
  19713. produces:
  19714. - application/json
  19715. responses:
  19716. "200":
  19717. description: OK
  19718. schema:
  19719. items:
  19720. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  19721. type: array
  19722. "500":
  19723. description: Internal Server Error
  19724. schema:
  19725. $ref: '#/definitions/app.Response'
  19726. security:
  19727. - ApiKeyAuth: []
  19728. summary: 查询敞口现货头寸(敞口/现货头寸)
  19729. tags:
  19730. - 企业风险管理(app)
  19731. /Ermcp/QueryExposureSpotDetail:
  19732. get:
  19733. parameters:
  19734. - description: 所属机构ID
  19735. in: query
  19736. name: areaUserId
  19737. required: true
  19738. type: integer
  19739. - description: 现货品种ID
  19740. in: query
  19741. name: wrstandardId
  19742. required: true
  19743. type: integer
  19744. produces:
  19745. - application/json
  19746. responses:
  19747. "200":
  19748. description: OK
  19749. schema:
  19750. items:
  19751. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  19752. type: array
  19753. "500":
  19754. description: Internal Server Error
  19755. schema:
  19756. $ref: '#/definitions/app.Response'
  19757. security:
  19758. - ApiKeyAuth: []
  19759. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  19760. tags:
  19761. - 企业风险管理(app)
  19762. /Ermcp/QueryFuturesCompany:
  19763. get:
  19764. produces:
  19765. - application/json
  19766. responses:
  19767. "200":
  19768. description: OK
  19769. schema:
  19770. items:
  19771. $ref: '#/definitions/models.ErmcpFuturesCompany'
  19772. type: array
  19773. "500":
  19774. description: Internal Server Error
  19775. schema:
  19776. $ref: '#/definitions/app.Response'
  19777. security:
  19778. - ApiKeyAuth: []
  19779. summary: 查询期货公司
  19780. tags:
  19781. - 企业风险管理(app)
  19782. /Ermcp/QueryGGConvertConfig:
  19783. get:
  19784. parameters:
  19785. - description: 品种id(不填则查所有)
  19786. in: query
  19787. name: goodsgroupid
  19788. type: integer
  19789. produces:
  19790. - application/json
  19791. responses:
  19792. "200":
  19793. description: OK
  19794. schema:
  19795. items:
  19796. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  19797. type: array
  19798. "500":
  19799. description: Internal Server Error
  19800. schema:
  19801. $ref: '#/definitions/app.Response'
  19802. security:
  19803. - ApiKeyAuth: []
  19804. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  19805. tags:
  19806. - 企业风险管理(app)
  19807. /Ermcp/QueryGoodsBrand:
  19808. get:
  19809. parameters:
  19810. - description: 用户ID
  19811. in: query
  19812. name: userid
  19813. required: true
  19814. type: integer
  19815. - description: 现货商品ID
  19816. in: query
  19817. name: wrstandardid
  19818. type: integer
  19819. produces:
  19820. - application/json
  19821. responses:
  19822. "200":
  19823. description: OK
  19824. schema:
  19825. items:
  19826. $ref: '#/definitions/models.ErmcpGoodsBrand'
  19827. type: array
  19828. "500":
  19829. description: Internal Server Error
  19830. schema:
  19831. $ref: '#/definitions/app.Response'
  19832. security:
  19833. - ApiKeyAuth: []
  19834. summary: 查询商品品牌
  19835. tags:
  19836. - 企业风险管理(app)
  19837. /Ermcp/QueryGoodsModel:
  19838. get:
  19839. parameters:
  19840. - description: 用户ID
  19841. in: query
  19842. name: userid
  19843. required: true
  19844. type: integer
  19845. produces:
  19846. - application/json
  19847. responses:
  19848. "200":
  19849. description: OK
  19850. schema:
  19851. items:
  19852. $ref: '#/definitions/models.ErmcpGoodsModel'
  19853. type: array
  19854. "500":
  19855. description: Internal Server Error
  19856. schema:
  19857. $ref: '#/definitions/app.Response'
  19858. security:
  19859. - ApiKeyAuth: []
  19860. summary: 查询商品型号
  19861. tags:
  19862. - 企业风险管理(app)
  19863. /Ermcp/QueryHisExposure:
  19864. get:
  19865. parameters:
  19866. - description: 用户id
  19867. in: query
  19868. name: userid
  19869. required: true
  19870. type: integer
  19871. - description: 每个品种记录数
  19872. in: query
  19873. name: lastNum
  19874. required: true
  19875. type: integer
  19876. produces:
  19877. - application/json
  19878. responses:
  19879. "200":
  19880. description: OK
  19881. schema:
  19882. items:
  19883. $ref: '#/definitions/ermcp.HisExposureRsp'
  19884. type: array
  19885. "500":
  19886. description: Internal Server Error
  19887. schema:
  19888. $ref: '#/definitions/app.Response'
  19889. security:
  19890. - ApiKeyAuth: []
  19891. summary: 查询历史敞口(菜单:敞口/历史敞口)
  19892. tags:
  19893. - 企业风险管理(app)
  19894. /Ermcp/QueryMiddleGoods:
  19895. get:
  19896. parameters:
  19897. - description: 所属机构ID
  19898. in: query
  19899. name: userid
  19900. required: true
  19901. type: integer
  19902. - description: 状态 0-停用 1-正常
  19903. in: query
  19904. name: status
  19905. required: true
  19906. type: integer
  19907. produces:
  19908. - application/json
  19909. responses:
  19910. "200":
  19911. description: OK
  19912. schema:
  19913. items:
  19914. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  19915. type: array
  19916. "500":
  19917. description: Internal Server Error
  19918. schema:
  19919. $ref: '#/definitions/app.Response'
  19920. security:
  19921. - ApiKeyAuth: []
  19922. summary: 查询套保品种(菜单:套保品种)
  19923. tags:
  19924. - 企业风险管理(app)
  19925. /Ermcp/QueryMiddleGoodsChangeLog:
  19926. get:
  19927. parameters:
  19928. - description: 所属机构ID
  19929. in: query
  19930. name: userid
  19931. required: true
  19932. type: integer
  19933. - description: 套保品种id
  19934. in: query
  19935. name: middlegoodsid
  19936. required: true
  19937. type: integer
  19938. produces:
  19939. - application/json
  19940. responses:
  19941. "200":
  19942. description: OK
  19943. schema:
  19944. items:
  19945. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  19946. type: array
  19947. "500":
  19948. description: Internal Server Error
  19949. schema:
  19950. $ref: '#/definitions/app.Response'
  19951. security:
  19952. - ApiKeyAuth: []
  19953. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  19954. tags:
  19955. - 企业风险管理(app)
  19956. /Ermcp/QueryMiddleGoodsDetail:
  19957. get:
  19958. parameters:
  19959. - description: 所属机构ID
  19960. in: query
  19961. name: userid
  19962. required: true
  19963. type: integer
  19964. - description: 套保品种id
  19965. in: query
  19966. name: middlegoodsid
  19967. type: integer
  19968. produces:
  19969. - application/json
  19970. responses:
  19971. "200":
  19972. description: OK
  19973. schema:
  19974. items:
  19975. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  19976. type: array
  19977. "500":
  19978. description: Internal Server Error
  19979. schema:
  19980. $ref: '#/definitions/app.Response'
  19981. security:
  19982. - ApiKeyAuth: []
  19983. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  19984. tags:
  19985. - 企业风险管理(app)
  19986. /Ermcp/QueryPendingAuditInfo:
  19987. get:
  19988. parameters:
  19989. - description: 用户ID
  19990. in: query
  19991. name: UserId
  19992. required: true
  19993. type: integer
  19994. produces:
  19995. - application/json
  19996. responses:
  19997. "200":
  19998. description: OK
  19999. schema:
  20000. items:
  20001. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  20002. type: array
  20003. "500":
  20004. description: Internal Server Error
  20005. schema:
  20006. $ref: '#/definitions/app.Response'
  20007. security:
  20008. - ApiKeyAuth: []
  20009. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  20010. tags:
  20011. - 企业风险管理(app)
  20012. /Ermcp/QueryRealtimeExposure:
  20013. get:
  20014. parameters:
  20015. - description: 所属机构ID
  20016. in: query
  20017. name: userid
  20018. required: true
  20019. type: integer
  20020. produces:
  20021. - application/json
  20022. responses:
  20023. "200":
  20024. description: OK
  20025. schema:
  20026. items:
  20027. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  20028. type: array
  20029. "500":
  20030. description: Internal Server Error
  20031. schema:
  20032. $ref: '#/definitions/app.Response'
  20033. security:
  20034. - ApiKeyAuth: []
  20035. summary: 查询实时敞口
  20036. tags:
  20037. - 企业风险管理(app)
  20038. /Ermcp/QueryRealtimeExposurePosition:
  20039. get:
  20040. parameters:
  20041. - description: 用户id
  20042. in: query
  20043. name: userid
  20044. required: true
  20045. type: integer
  20046. - description: 套保商品ID
  20047. in: query
  20048. name: middleGoodsId
  20049. required: true
  20050. type: integer
  20051. produces:
  20052. - application/json
  20053. responses:
  20054. "200":
  20055. description: OK
  20056. schema:
  20057. items:
  20058. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  20059. type: array
  20060. "500":
  20061. description: Internal Server Error
  20062. schema:
  20063. $ref: '#/definitions/app.Response'
  20064. security:
  20065. - ApiKeyAuth: []
  20066. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  20067. tags:
  20068. - 企业风险管理(app)
  20069. /Ermcp/QueryRoleMenu:
  20070. get:
  20071. parameters:
  20072. - description: 登录ID
  20073. in: query
  20074. name: loginid
  20075. required: true
  20076. type: integer
  20077. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  20078. in: query
  20079. name: menutype
  20080. type: integer
  20081. produces:
  20082. - application/json
  20083. responses:
  20084. "200":
  20085. description: OK
  20086. schema:
  20087. items:
  20088. $ref: '#/definitions/models.RoleMenu'
  20089. type: array
  20090. "500":
  20091. description: Internal Server Error
  20092. schema:
  20093. $ref: '#/definitions/app.Response'
  20094. security:
  20095. - ApiKeyAuth: []
  20096. summary: 查询角色菜单和权限
  20097. tags:
  20098. - 企业风险管理(app)
  20099. /Ermcp/QueryTradeConfigTMP:
  20100. get:
  20101. parameters:
  20102. - description: 所属机构id
  20103. in: query
  20104. name: areauserid
  20105. type: integer
  20106. produces:
  20107. - application/json
  20108. responses:
  20109. "200":
  20110. description: OK
  20111. schema:
  20112. items:
  20113. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  20114. type: array
  20115. "500":
  20116. description: Internal Server Error
  20117. schema:
  20118. $ref: '#/definitions/app.Response'
  20119. security:
  20120. - ApiKeyAuth: []
  20121. summary: 查询交易模板配置
  20122. tags:
  20123. - 企业风险管理(app)
  20124. /Ermcp/QueryUserInfo:
  20125. get:
  20126. parameters:
  20127. - description: 所属机构用户ID
  20128. in: query
  20129. name: MemberUserID
  20130. required: true
  20131. type: integer
  20132. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  20133. in: query
  20134. name: queryType
  20135. required: true
  20136. type: integer
  20137. produces:
  20138. - application/json
  20139. responses:
  20140. "200":
  20141. description: OK
  20142. schema:
  20143. items:
  20144. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  20145. type: array
  20146. "500":
  20147. description: Internal Server Error
  20148. schema:
  20149. $ref: '#/definitions/app.Response'
  20150. security:
  20151. - ApiKeyAuth: []
  20152. summary: 查询客户资料
  20153. tags:
  20154. - 企业风险管理(app)
  20155. /Ermcp/QueryWarehouseInfo:
  20156. get:
  20157. parameters:
  20158. - description: 用户ID
  20159. in: query
  20160. name: userid
  20161. required: true
  20162. type: integer
  20163. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  20164. in: query
  20165. name: status
  20166. type: string
  20167. produces:
  20168. - application/json
  20169. responses:
  20170. "200":
  20171. description: OK
  20172. schema:
  20173. items:
  20174. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  20175. type: array
  20176. "500":
  20177. description: Internal Server Error
  20178. schema:
  20179. $ref: '#/definitions/app.Response'
  20180. security:
  20181. - ApiKeyAuth: []
  20182. summary: 查询仓库信息
  20183. tags:
  20184. - 企业风险管理(app)
  20185. /Ermcp3/QryAreaExpourseContractDetail:
  20186. get:
  20187. parameters:
  20188. - description: 用户ID
  20189. in: query
  20190. name: userid
  20191. required: true
  20192. type: integer
  20193. - description: 套保商品id
  20194. in: query
  20195. name: middlegoodsid
  20196. required: true
  20197. type: integer
  20198. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20199. in: query
  20200. name: cycletype
  20201. required: true
  20202. type: integer
  20203. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20204. in: query
  20205. name: cycletime
  20206. required: true
  20207. type: string
  20208. produces:
  20209. - application/json
  20210. responses:
  20211. "200":
  20212. description: OK
  20213. schema:
  20214. items:
  20215. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  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. - 企业风险管理v3(app)
  20226. /Ermcp3/QryAreaExpourseFutuDetail:
  20227. get:
  20228. parameters:
  20229. - description: 用户ID
  20230. in: query
  20231. name: userid
  20232. required: true
  20233. type: integer
  20234. - description: 套保商品id
  20235. in: query
  20236. name: middlegoodsid
  20237. required: true
  20238. type: integer
  20239. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20240. in: query
  20241. name: cycletype
  20242. required: true
  20243. type: integer
  20244. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20245. in: query
  20246. name: cycletime
  20247. required: true
  20248. type: string
  20249. produces:
  20250. - application/json
  20251. responses:
  20252. "200":
  20253. description: OK
  20254. schema:
  20255. items:
  20256. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  20257. type: array
  20258. "500":
  20259. description: Internal Server Error
  20260. schema:
  20261. $ref: '#/definitions/app.Response'
  20262. security:
  20263. - ApiKeyAuth: []
  20264. summary: 查询敞口期货明细(敞口报表/期货明细)
  20265. tags:
  20266. - 企业风险管理v3(app)
  20267. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  20268. get:
  20269. parameters:
  20270. - description: 用户ID
  20271. in: query
  20272. name: userid
  20273. required: true
  20274. type: integer
  20275. - description: 套保商品id
  20276. in: query
  20277. name: middlegoodsid
  20278. required: true
  20279. type: integer
  20280. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20281. in: query
  20282. name: cycletype
  20283. required: true
  20284. type: integer
  20285. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20286. in: query
  20287. name: cycletime
  20288. required: true
  20289. type: string
  20290. produces:
  20291. - application/json
  20292. responses:
  20293. "200":
  20294. description: OK
  20295. schema:
  20296. items:
  20297. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  20298. type: array
  20299. "500":
  20300. description: Internal Server Error
  20301. schema:
  20302. $ref: '#/definitions/app.Response'
  20303. security:
  20304. - ApiKeyAuth: []
  20305. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  20306. tags:
  20307. - 企业风险管理v3(app)
  20308. /Ermcp3/QryAreaExpourseParamChLogDetail:
  20309. get:
  20310. parameters:
  20311. - description: 用户ID
  20312. in: query
  20313. name: userid
  20314. required: true
  20315. type: integer
  20316. - description: 套保商品id
  20317. in: query
  20318. name: middlegoodsid
  20319. required: true
  20320. type: integer
  20321. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20322. in: query
  20323. name: cycletype
  20324. required: true
  20325. type: integer
  20326. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20327. in: query
  20328. name: cycletime
  20329. required: true
  20330. type: string
  20331. produces:
  20332. - application/json
  20333. responses:
  20334. "200":
  20335. description: OK
  20336. schema:
  20337. items:
  20338. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  20339. type: array
  20340. "500":
  20341. description: Internal Server Error
  20342. schema:
  20343. $ref: '#/definitions/app.Response'
  20344. security:
  20345. - ApiKeyAuth: []
  20346. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  20347. tags:
  20348. - 企业风险管理v3(app)
  20349. /Ermcp3/QryAreaExpourseReport:
  20350. get:
  20351. parameters:
  20352. - description: 用户ID
  20353. in: query
  20354. name: userid
  20355. required: true
  20356. type: integer
  20357. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  20358. in: query
  20359. name: querytype
  20360. required: true
  20361. type: integer
  20362. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20363. in: query
  20364. name: cycletype
  20365. required: true
  20366. type: integer
  20367. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20368. in: query
  20369. name: cycletime
  20370. required: true
  20371. type: string
  20372. produces:
  20373. - application/json
  20374. responses:
  20375. "200":
  20376. description: OK
  20377. schema:
  20378. items:
  20379. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  20380. type: array
  20381. "500":
  20382. description: Internal Server Error
  20383. schema:
  20384. $ref: '#/definitions/app.Response'
  20385. security:
  20386. - ApiKeyAuth: []
  20387. summary: 查询敞口报表
  20388. tags:
  20389. - 企业风险管理v3(app)
  20390. /Ermcp3/QryAreaSpotplReport:
  20391. get:
  20392. parameters:
  20393. - description: 用户ID
  20394. in: query
  20395. name: userid
  20396. required: true
  20397. type: integer
  20398. - description: 查询类型 1-报表 2-报表明细
  20399. in: query
  20400. name: querytype
  20401. required: true
  20402. type: integer
  20403. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20404. in: query
  20405. name: cycletype
  20406. required: true
  20407. type: integer
  20408. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20409. in: query
  20410. name: cycletime
  20411. required: true
  20412. type: string
  20413. - description: 现货品种id(明细必填)
  20414. in: query
  20415. name: deliverygoodsid
  20416. type: integer
  20417. - description: 币种id(明细必填)
  20418. in: query
  20419. name: currencyid
  20420. type: integer
  20421. produces:
  20422. - application/json
  20423. responses:
  20424. "200":
  20425. description: OK
  20426. schema:
  20427. items:
  20428. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  20429. type: array
  20430. "500":
  20431. description: Internal Server Error
  20432. schema:
  20433. $ref: '#/definitions/app.Response'
  20434. security:
  20435. - ApiKeyAuth: []
  20436. summary: 查询现货报表
  20437. tags:
  20438. - 企业风险管理v3(app)
  20439. /Ermcp3/QryAreaStockReport:
  20440. get:
  20441. parameters:
  20442. - description: 用户ID
  20443. in: query
  20444. name: userid
  20445. required: true
  20446. type: integer
  20447. - description: 查询类型 1-报表 2-报表明细
  20448. in: query
  20449. name: querytype
  20450. required: true
  20451. type: integer
  20452. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20453. in: query
  20454. name: cycletype
  20455. required: true
  20456. type: integer
  20457. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20458. in: query
  20459. name: cycletime
  20460. required: true
  20461. type: string
  20462. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  20463. in: query
  20464. name: sumfields
  20465. type: string
  20466. - description: 品种ID
  20467. in: query
  20468. name: deliverygoodsid
  20469. type: integer
  20470. - description: 品类ID
  20471. in: query
  20472. name: wrstandardid
  20473. type: integer
  20474. - description: 品牌ID
  20475. in: query
  20476. name: spotgoodsbrandid
  20477. type: integer
  20478. - description: 仓库ID
  20479. in: query
  20480. name: warehouseinfoid
  20481. type: integer
  20482. produces:
  20483. - application/json
  20484. responses:
  20485. "200":
  20486. description: OK
  20487. schema:
  20488. items:
  20489. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  20490. type: array
  20491. "500":
  20492. description: Internal Server Error
  20493. schema:
  20494. $ref: '#/definitions/app.Response'
  20495. security:
  20496. - ApiKeyAuth: []
  20497. summary: 查询库存报表
  20498. tags:
  20499. - 企业风险管理v3(app)
  20500. /Ermcp3/QryAreaSumPL:
  20501. get:
  20502. parameters:
  20503. - description: 用户ID
  20504. in: query
  20505. name: userid
  20506. required: true
  20507. type: integer
  20508. - description: 查询类型 1-报表 2-报表明细
  20509. in: query
  20510. name: querytype
  20511. required: true
  20512. type: integer
  20513. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20514. in: query
  20515. name: cycletype
  20516. required: true
  20517. type: integer
  20518. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20519. in: query
  20520. name: cycletime
  20521. required: true
  20522. type: string
  20523. - description: 币种id(明细必填)
  20524. in: query
  20525. name: currencyid
  20526. type: integer
  20527. produces:
  20528. - application/json
  20529. responses:
  20530. "200":
  20531. description: OK
  20532. schema:
  20533. items:
  20534. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  20535. type: array
  20536. "500":
  20537. description: Internal Server Error
  20538. schema:
  20539. $ref: '#/definitions/app.Response'
  20540. security:
  20541. - ApiKeyAuth: []
  20542. summary: 查询汇总损益表
  20543. tags:
  20544. - 企业风险管理v3(app)
  20545. /Ermcp3/QryFinanceReport:
  20546. get:
  20547. parameters:
  20548. - description: 用户ID
  20549. in: query
  20550. name: userid
  20551. required: true
  20552. type: integer
  20553. - description: 查询类型 1-报表 2-报表明细
  20554. in: query
  20555. name: querytype
  20556. required: true
  20557. type: integer
  20558. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20559. in: query
  20560. name: cycletype
  20561. required: true
  20562. type: integer
  20563. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20564. in: query
  20565. name: cycletime
  20566. required: true
  20567. type: string
  20568. - description: 币种id(报表明细必填)
  20569. in: query
  20570. name: currencyid
  20571. type: integer
  20572. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  20573. in: query
  20574. name: sumfields
  20575. type: string
  20576. produces:
  20577. - application/json
  20578. responses:
  20579. "200":
  20580. description: OK
  20581. schema:
  20582. items:
  20583. $ref: '#/definitions/models.Ermcp3FinanceReport'
  20584. type: array
  20585. "500":
  20586. description: Internal Server Error
  20587. schema:
  20588. $ref: '#/definitions/app.Response'
  20589. security:
  20590. - ApiKeyAuth: []
  20591. summary: 查询财务报表
  20592. tags:
  20593. - 企业风险管理v3(app)
  20594. /Ermcp3/QrySCMiddleGoodsReport:
  20595. get:
  20596. parameters:
  20597. - description: 用户ID
  20598. in: query
  20599. name: userid
  20600. required: true
  20601. type: integer
  20602. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20603. in: query
  20604. name: cycletype
  20605. required: true
  20606. type: integer
  20607. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20608. in: query
  20609. name: cycletime
  20610. required: true
  20611. type: string
  20612. - description: 现货合同id
  20613. in: query
  20614. name: spotcontractid
  20615. type: integer
  20616. - description: 套保品种id
  20617. in: query
  20618. name: middlegoodsid
  20619. type: integer
  20620. - description: 现货品种id
  20621. in: query
  20622. name: deliverygoodsid
  20623. type: integer
  20624. - description: 现货商品id
  20625. in: query
  20626. name: wrstandardid
  20627. type: integer
  20628. produces:
  20629. - application/json
  20630. responses:
  20631. "200":
  20632. description: OK
  20633. schema:
  20634. items:
  20635. $ref: '#/definitions/models.Ermcp3SCMiddleGoodsReport'
  20636. type: array
  20637. "500":
  20638. description: Internal Server Error
  20639. schema:
  20640. $ref: '#/definitions/app.Response'
  20641. security:
  20642. - ApiKeyAuth: []
  20643. summary: 查询定价报表
  20644. tags:
  20645. - 企业风险管理v3(app)
  20646. /Ermcp3/QryTaFutureDataReport:
  20647. get:
  20648. parameters:
  20649. - description: 用户ID
  20650. in: query
  20651. name: userid
  20652. required: true
  20653. type: integer
  20654. - description: 查询类型 1-报表 2-报表明细
  20655. in: query
  20656. name: querytype
  20657. required: true
  20658. type: integer
  20659. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  20660. in: query
  20661. name: cycletype
  20662. required: true
  20663. type: integer
  20664. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天) 全(0)【原值】
  20665. in: query
  20666. name: cycletime
  20667. required: true
  20668. type: string
  20669. - description: 币种id(查明细必填)
  20670. in: query
  20671. name: currencyid
  20672. type: integer
  20673. - description: 品种id(查明细必填)
  20674. in: query
  20675. name: goodsgroupid
  20676. type: integer
  20677. - description: 商品id(查明细必填)
  20678. in: query
  20679. name: goodsid
  20680. type: integer
  20681. - description: 买卖方向(查明细必填)
  20682. in: query
  20683. name: buyorsell
  20684. type: integer
  20685. produces:
  20686. - application/json
  20687. responses:
  20688. "200":
  20689. description: OK
  20690. schema:
  20691. items:
  20692. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  20693. type: array
  20694. "500":
  20695. description: Internal Server Error
  20696. schema:
  20697. $ref: '#/definitions/app.Response'
  20698. security:
  20699. - ApiKeyAuth: []
  20700. summary: 查询期货报表
  20701. tags:
  20702. - 企业风险管理v3(app)
  20703. /Ermcp3/QueryAreaStock:
  20704. get:
  20705. parameters:
  20706. - description: 用户ID
  20707. in: query
  20708. name: userid
  20709. required: true
  20710. type: integer
  20711. produces:
  20712. - application/json
  20713. responses:
  20714. "200":
  20715. description: OK
  20716. schema:
  20717. items:
  20718. $ref: '#/definitions/models.Ermcp3AreaStock'
  20719. type: array
  20720. "500":
  20721. description: Internal Server Error
  20722. schema:
  20723. $ref: '#/definitions/app.Response'
  20724. security:
  20725. - ApiKeyAuth: []
  20726. summary: 查询机构库存(库存管理/当前库存)
  20727. tags:
  20728. - 企业风险管理v3(app)
  20729. /Ermcp3/QueryAreaStockApply:
  20730. get:
  20731. parameters:
  20732. - description: 用户ID
  20733. in: query
  20734. name: userid
  20735. required: true
  20736. type: integer
  20737. - description: 用户类型 2-机构 7-企业成员
  20738. in: query
  20739. name: usertype
  20740. type: integer
  20741. - description: 现货商品ID
  20742. in: query
  20743. name: deliverygoodsid
  20744. type: integer
  20745. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  20746. in: query
  20747. name: inouttype
  20748. type: string
  20749. - description: 合同ID
  20750. in: query
  20751. name: spotcontractid
  20752. type: integer
  20753. - description: 品类ID
  20754. in: query
  20755. name: wrstandardid
  20756. type: integer
  20757. - description: 品牌ID
  20758. in: query
  20759. name: spotgoodsbrandid
  20760. type: integer
  20761. - description: 仓库ID
  20762. in: query
  20763. name: warehouseinfoid
  20764. type: integer
  20765. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20766. in: query
  20767. name: applystatus
  20768. type: string
  20769. produces:
  20770. - application/json
  20771. responses:
  20772. "200":
  20773. description: OK
  20774. schema:
  20775. items:
  20776. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  20777. type: array
  20778. "500":
  20779. description: Internal Server Error
  20780. schema:
  20781. $ref: '#/definitions/app.Response'
  20782. security:
  20783. - ApiKeyAuth: []
  20784. summary: 查询库存申请(出入库记录|库存审核)
  20785. tags:
  20786. - 企业风险管理v3(app)
  20787. /Ermcp3/QueryAreaStockApplySum:
  20788. get:
  20789. parameters:
  20790. - description: 合同ID
  20791. in: query
  20792. name: spotcontractid
  20793. required: true
  20794. type: integer
  20795. produces:
  20796. - application/json
  20797. responses:
  20798. "200":
  20799. description: OK
  20800. schema:
  20801. items:
  20802. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  20803. type: array
  20804. "500":
  20805. description: Internal Server Error
  20806. schema:
  20807. $ref: '#/definitions/app.Response'
  20808. security:
  20809. - ApiKeyAuth: []
  20810. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  20811. tags:
  20812. - 企业风险管理v3(app)
  20813. /Ermcp3/QueryDGFactoryItem:
  20814. get:
  20815. parameters:
  20816. - description: 用户id
  20817. in: query
  20818. name: userid
  20819. type: integer
  20820. - description: 用户类型 2-机构 7-企业成员
  20821. in: query
  20822. name: usertype
  20823. type: integer
  20824. - description: 选择项ID(SEQ_DGFACTORYITEM)
  20825. in: query
  20826. name: dgfactoryitemid
  20827. type: integer
  20828. - description: 现货品种ID
  20829. in: query
  20830. name: deliverygoodsid
  20831. type: integer
  20832. - description: 要素项类型
  20833. in: query
  20834. name: dgfactoryitemtypeid
  20835. type: integer
  20836. - description: 顺序
  20837. in: query
  20838. name: orderindex
  20839. type: integer
  20840. produces:
  20841. - application/json
  20842. responses:
  20843. "200":
  20844. description: OK
  20845. schema:
  20846. items:
  20847. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  20848. type: array
  20849. "500":
  20850. description: Internal Server Error
  20851. schema:
  20852. $ref: '#/definitions/app.Response'
  20853. security:
  20854. - ApiKeyAuth: []
  20855. summary: 查询品种要素定义项
  20856. tags:
  20857. - 企业风险管理v3(app)
  20858. /Ermcp3/QueryDeliveryGoods:
  20859. get:
  20860. parameters:
  20861. - description: 用户id
  20862. in: query
  20863. name: userid
  20864. required: true
  20865. type: integer
  20866. - description: 用户类型 2-机构 7-企业成员
  20867. in: query
  20868. name: usertype
  20869. type: integer
  20870. - description: 排除已配置的业务类型商品 1-套保 2-套利
  20871. in: query
  20872. name: excludecfg
  20873. type: integer
  20874. produces:
  20875. - application/json
  20876. responses:
  20877. "200":
  20878. description: OK
  20879. schema:
  20880. items:
  20881. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  20882. type: array
  20883. "500":
  20884. description: Internal Server Error
  20885. schema:
  20886. $ref: '#/definitions/app.Response'
  20887. security:
  20888. - ApiKeyAuth: []
  20889. summary: 查询现货商品
  20890. tags:
  20891. - 企业风险管理v3(app)
  20892. /Ermcp3/QueryDeliveryGoodsDetail:
  20893. get:
  20894. parameters:
  20895. - description: 用户id
  20896. in: query
  20897. name: userid
  20898. required: true
  20899. type: integer
  20900. - description: 用户类型 2-机构 7-企业成员
  20901. in: query
  20902. name: usertype
  20903. type: integer
  20904. - description: 现货商品id
  20905. in: query
  20906. name: deliverygoodsid
  20907. type: integer
  20908. produces:
  20909. - application/json
  20910. responses:
  20911. "200":
  20912. description: OK
  20913. schema:
  20914. items:
  20915. $ref: '#/definitions/models.XHDeliveryGoods'
  20916. type: array
  20917. "500":
  20918. description: Internal Server Error
  20919. schema:
  20920. $ref: '#/definitions/app.Response'
  20921. security:
  20922. - ApiKeyAuth: []
  20923. summary: 查询现货商品详情
  20924. tags:
  20925. - 企业风险管理v3(app)
  20926. /Ermcp3/QueryExposureDetail:
  20927. get:
  20928. parameters:
  20929. - description: 用户id
  20930. in: query
  20931. name: userid
  20932. required: true
  20933. type: integer
  20934. - description: 用户类型 2-机构 7-企业成员
  20935. in: query
  20936. name: usertype
  20937. type: integer
  20938. - description: 套保商品
  20939. in: query
  20940. name: middlegoodsid
  20941. required: true
  20942. type: integer
  20943. produces:
  20944. - application/json
  20945. responses:
  20946. "200":
  20947. description: OK
  20948. schema:
  20949. items:
  20950. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  20951. type: array
  20952. "500":
  20953. description: Internal Server Error
  20954. schema:
  20955. $ref: '#/definitions/app.Response'
  20956. security:
  20957. - ApiKeyAuth: []
  20958. summary: 查询敞口现货明细
  20959. tags:
  20960. - 企业风险管理v3(app)
  20961. /Ermcp3/QueryExposureSpot:
  20962. get:
  20963. parameters:
  20964. - description: 用户id
  20965. in: query
  20966. name: userid
  20967. required: true
  20968. type: integer
  20969. - description: 用户类型 2-机构 7-企业成员
  20970. in: query
  20971. name: usertype
  20972. type: integer
  20973. produces:
  20974. - application/json
  20975. responses:
  20976. "200":
  20977. description: OK
  20978. schema:
  20979. items:
  20980. $ref: '#/definitions/models.Ermcp3AreaSpot'
  20981. type: array
  20982. "500":
  20983. description: Internal Server Error
  20984. schema:
  20985. $ref: '#/definitions/app.Response'
  20986. security:
  20987. - ApiKeyAuth: []
  20988. summary: 查询敞口现货头寸(敞口/现货头寸)
  20989. tags:
  20990. - 企业风险管理v3(app)
  20991. /Ermcp3/QueryExposureSpotDetail:
  20992. get:
  20993. parameters:
  20994. - description: 用户id
  20995. in: query
  20996. name: userid
  20997. required: true
  20998. type: integer
  20999. - description: 用户类型 2-机构 7-企业成员
  21000. in: query
  21001. name: usertype
  21002. type: integer
  21003. - description: 现货商品ID
  21004. in: query
  21005. name: wrstandardid
  21006. required: true
  21007. type: integer
  21008. produces:
  21009. - application/json
  21010. responses:
  21011. "200":
  21012. description: OK
  21013. schema:
  21014. items:
  21015. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  21016. type: array
  21017. "500":
  21018. description: Internal Server Error
  21019. schema:
  21020. $ref: '#/definitions/app.Response'
  21021. security:
  21022. - ApiKeyAuth: []
  21023. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  21024. tags:
  21025. - 企业风险管理v3(app)
  21026. /Ermcp3/QueryGoodsGroup:
  21027. get:
  21028. parameters:
  21029. - description: 用户id
  21030. in: query
  21031. name: userid
  21032. required: true
  21033. type: integer
  21034. - description: 用户类型 2-机构 7-企业成员
  21035. in: query
  21036. name: usertype
  21037. type: integer
  21038. - description: 排除套保品中已关联的商品组 1-排除
  21039. in: query
  21040. name: excludecfg
  21041. type: integer
  21042. produces:
  21043. - application/json
  21044. responses:
  21045. "200":
  21046. description: OK
  21047. schema:
  21048. items:
  21049. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  21050. type: array
  21051. "500":
  21052. description: Internal Server Error
  21053. schema:
  21054. $ref: '#/definitions/app.Response'
  21055. security:
  21056. - ApiKeyAuth: []
  21057. summary: 查询期货商品组
  21058. tags:
  21059. - 企业风险管理v3(app)
  21060. /Ermcp3/QueryGoodsWrstandard:
  21061. get:
  21062. parameters:
  21063. - description: 用户id
  21064. in: query
  21065. name: userid
  21066. required: true
  21067. type: integer
  21068. - description: 用户类型 2-机构 7-企业成员
  21069. in: query
  21070. name: usertype
  21071. type: integer
  21072. - description: 现货商品id
  21073. in: query
  21074. name: deliverygoodsid
  21075. type: integer
  21076. produces:
  21077. - application/json
  21078. responses:
  21079. "200":
  21080. description: OK
  21081. schema:
  21082. items:
  21083. $ref: '#/definitions/models.Ermcp3Wrstandard'
  21084. type: array
  21085. "500":
  21086. description: Internal Server Error
  21087. schema:
  21088. $ref: '#/definitions/app.Response'
  21089. security:
  21090. - ApiKeyAuth: []
  21091. summary: 查询商品品类
  21092. tags:
  21093. - 企业风险管理v3(app)
  21094. /Ermcp3/QueryGoodsbrand:
  21095. get:
  21096. parameters:
  21097. - description: 用户id
  21098. in: query
  21099. name: userid
  21100. required: true
  21101. type: integer
  21102. - description: 用户类型 2-机构 7-企业成员
  21103. in: query
  21104. name: usertype
  21105. type: integer
  21106. produces:
  21107. - application/json
  21108. responses:
  21109. "200":
  21110. description: OK
  21111. schema:
  21112. items:
  21113. $ref: '#/definitions/models.Ermcp3Brand'
  21114. type: array
  21115. "500":
  21116. description: Internal Server Error
  21117. schema:
  21118. $ref: '#/definitions/app.Response'
  21119. security:
  21120. - ApiKeyAuth: []
  21121. summary: 查询商品品牌
  21122. tags:
  21123. - 企业风险管理v3(app)
  21124. /Ermcp3/QueryHedgePlan:
  21125. get:
  21126. parameters:
  21127. - description: 用户ID
  21128. in: query
  21129. name: userid
  21130. required: true
  21131. type: integer
  21132. - description: 用户类型 2-机构 7-企业成员
  21133. in: query
  21134. name: usertype
  21135. type: integer
  21136. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  21137. in: query
  21138. name: hedgeplanstatus
  21139. required: true
  21140. type: string
  21141. produces:
  21142. - application/json
  21143. responses:
  21144. "200":
  21145. description: OK
  21146. schema:
  21147. items:
  21148. $ref: '#/definitions/models.Ermcp3HedgePlan'
  21149. type: array
  21150. "500":
  21151. description: Internal Server Error
  21152. schema:
  21153. $ref: '#/definitions/app.Response'
  21154. security:
  21155. - ApiKeyAuth: []
  21156. summary: 查询套保计划
  21157. tags:
  21158. - 企业风险管理v3(app)
  21159. /Ermcp3/QueryMiddleGoodsDetail:
  21160. get:
  21161. parameters:
  21162. - description: 用户id
  21163. in: query
  21164. name: userid
  21165. required: true
  21166. type: integer
  21167. - description: 用户类型 2-机构 7-企业成员
  21168. in: query
  21169. name: usertype
  21170. type: integer
  21171. - description: 套保品种id
  21172. in: query
  21173. name: middlegoodsid
  21174. type: integer
  21175. produces:
  21176. - application/json
  21177. responses:
  21178. "200":
  21179. description: OK
  21180. schema:
  21181. items:
  21182. $ref: '#/definitions/models.TBMiddleGoods'
  21183. type: array
  21184. "500":
  21185. description: Internal Server Error
  21186. schema:
  21187. $ref: '#/definitions/app.Response'
  21188. security:
  21189. - ApiKeyAuth: []
  21190. summary: 查询套保品种详情(套保品种/商品详情)
  21191. tags:
  21192. - 企业风险管理v3(app)
  21193. /Ermcp3/QueryPaAreaAuditCfg:
  21194. get:
  21195. parameters:
  21196. - description: 用户id
  21197. in: query
  21198. name: userid
  21199. required: true
  21200. type: integer
  21201. produces:
  21202. - application/json
  21203. responses:
  21204. "200":
  21205. description: OK
  21206. schema:
  21207. items:
  21208. $ref: '#/definitions/models.Ermcp3PaAreaAuditCfg'
  21209. type: array
  21210. "500":
  21211. description: Internal Server Error
  21212. schema:
  21213. $ref: '#/definitions/app.Response'
  21214. security:
  21215. - ApiKeyAuth: []
  21216. summary: 查询审核设置
  21217. tags:
  21218. - 企业风险管理v3(app)
  21219. /Ermcp3/QueryPaAreaSubject:
  21220. get:
  21221. parameters:
  21222. - description: 用户id
  21223. in: query
  21224. name: userid
  21225. required: true
  21226. type: integer
  21227. - description: 主体ID(SEQ_ERMCP_PA_AREASUBJECT)
  21228. in: query
  21229. name: subjectid
  21230. type: integer
  21231. - description: 主体类型 - 1:交易主体 2:业务部门
  21232. in: query
  21233. name: subjecttype
  21234. type: integer
  21235. - description: '主体状态 - 1:正常 2: 停用'
  21236. in: query
  21237. name: subjectstatus
  21238. type: integer
  21239. produces:
  21240. - application/json
  21241. responses:
  21242. "200":
  21243. description: OK
  21244. schema:
  21245. items:
  21246. $ref: '#/definitions/models.Ermcp3PaAreaSubject'
  21247. type: array
  21248. "500":
  21249. description: Internal Server Error
  21250. schema:
  21251. $ref: '#/definitions/app.Response'
  21252. security:
  21253. - ApiKeyAuth: []
  21254. summary: 查询交易主体
  21255. tags:
  21256. - 企业风险管理v3(app)
  21257. /Ermcp3/QueryPaTradeLink:
  21258. get:
  21259. description: 页面 app 现货->期现关联->期现单据关联
  21260. parameters:
  21261. - description: 用户ID
  21262. in: query
  21263. name: userid
  21264. required: true
  21265. type: integer
  21266. produces:
  21267. - application/json
  21268. responses:
  21269. "200":
  21270. description: OK
  21271. schema:
  21272. items:
  21273. $ref: '#/definitions/models.Ermcp3PaTradeLink'
  21274. type: array
  21275. "500":
  21276. description: Internal Server Error
  21277. schema:
  21278. $ref: '#/definitions/app.Response'
  21279. security:
  21280. - ApiKeyAuth: []
  21281. summary: 查询期现单据关联
  21282. tags:
  21283. - 企业风险管理v3(app)
  21284. /Ermcp3/QueryRootUserAccount:
  21285. get:
  21286. parameters:
  21287. - description: 用户ID
  21288. in: query
  21289. name: userid
  21290. required: true
  21291. type: integer
  21292. produces:
  21293. - application/json
  21294. responses:
  21295. "200":
  21296. description: OK
  21297. schema:
  21298. items:
  21299. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  21300. type: array
  21301. "500":
  21302. description: Internal Server Error
  21303. schema:
  21304. $ref: '#/definitions/app.Response'
  21305. security:
  21306. - ApiKeyAuth: []
  21307. summary: 查询顶级用户信息
  21308. tags:
  21309. - 企业风险管理v3(app)
  21310. /Ermcp3/QuerySCMiddleGoods:
  21311. get:
  21312. description: '页面 app 现货->期现关联->期现单据关联->点"关联"按钮->弹出界面 : 现货订单'
  21313. parameters:
  21314. - description: 用户ID(填登录用户的userid)
  21315. in: query
  21316. name: userid
  21317. required: true
  21318. type: integer
  21319. - description: 买卖方向 0-买 1-卖,
  21320. in: query
  21321. name: buyorsell
  21322. required: true
  21323. type: integer
  21324. - description: 商品组id
  21325. in: query
  21326. name: goodsgroupid
  21327. required: true
  21328. type: integer
  21329. produces:
  21330. - application/json
  21331. responses:
  21332. "200":
  21333. description: OK
  21334. schema:
  21335. items:
  21336. $ref: '#/definitions/models.Ermcp3SCMiddleGoods'
  21337. type: array
  21338. "500":
  21339. description: Internal Server Error
  21340. schema:
  21341. $ref: '#/definitions/app.Response'
  21342. security:
  21343. - ApiKeyAuth: []
  21344. summary: 查询现货订单
  21345. tags:
  21346. - 企业风险管理v3(app)
  21347. /Ermcp3/QuerySpotContract:
  21348. get:
  21349. parameters:
  21350. - description: 用户id(当指定contractid, userid可不填)
  21351. in: query
  21352. name: userid
  21353. required: true
  21354. type: integer
  21355. - description: 用户类型 2-机构 7-企业成员
  21356. in: query
  21357. name: usertype
  21358. type: integer
  21359. - description: 合同类型 1-采购, -1-销售
  21360. in: query
  21361. name: contracttype
  21362. type: integer
  21363. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成 (当指定contractid, querytype可不填)
  21364. in: query
  21365. name: querytype
  21366. required: true
  21367. type: integer
  21368. - description: 合同ID(SpotContractId)
  21369. in: query
  21370. name: contractid
  21371. type: string
  21372. produces:
  21373. - application/json
  21374. responses:
  21375. "200":
  21376. description: OK
  21377. schema:
  21378. items:
  21379. $ref: '#/definitions/models.Ermcp3Contract'
  21380. type: array
  21381. "500":
  21382. description: Internal Server Error
  21383. schema:
  21384. $ref: '#/definitions/app.Response'
  21385. security:
  21386. - ApiKeyAuth: []
  21387. summary: 查询现货合同
  21388. tags:
  21389. - 企业风险管理v3(app)
  21390. /Ermcp3/QuerySpotContractBS:
  21391. get:
  21392. parameters:
  21393. - description: 用户id
  21394. in: query
  21395. name: userid
  21396. required: true
  21397. type: integer
  21398. - description: 用户类型 2-机构 7-企业成员
  21399. in: query
  21400. name: usertype
  21401. type: integer
  21402. - description: 合同类型 1-采购, -1-销售
  21403. in: query
  21404. name: contracttype
  21405. required: true
  21406. type: integer
  21407. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  21408. in: query
  21409. name: querytype
  21410. required: true
  21411. type: integer
  21412. - description: 合同ID(SpotContractId)
  21413. in: query
  21414. name: contractid
  21415. type: string
  21416. produces:
  21417. - application/json
  21418. responses:
  21419. "200":
  21420. description: OK
  21421. schema:
  21422. items:
  21423. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  21424. type: array
  21425. "500":
  21426. description: Internal Server Error
  21427. schema:
  21428. $ref: '#/definitions/app.Response'
  21429. security:
  21430. - ApiKeyAuth: []
  21431. summary: 查询合同(采购/销售)
  21432. tags:
  21433. - 企业风险管理v3(app)
  21434. /Ermcp3/QuerySpotGoodsPrice:
  21435. get:
  21436. parameters:
  21437. - description: 用户ID
  21438. in: query
  21439. name: userid
  21440. required: true
  21441. type: integer
  21442. produces:
  21443. - application/json
  21444. responses:
  21445. "200":
  21446. description: OK
  21447. schema:
  21448. items:
  21449. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  21450. type: array
  21451. "500":
  21452. description: Internal Server Error
  21453. schema:
  21454. $ref: '#/definitions/app.Response'
  21455. security:
  21456. - ApiKeyAuth: []
  21457. summary: 查询现货市价(现货市价)
  21458. tags:
  21459. - 企业风险管理v3(app)
  21460. /Ermcp3/QuerySpotGoodsPriceLog:
  21461. get:
  21462. parameters:
  21463. - description: 用户ID
  21464. in: query
  21465. name: userid
  21466. required: true
  21467. type: integer
  21468. - description: 现货商品ID
  21469. in: query
  21470. name: deliverygoodsid
  21471. required: true
  21472. type: integer
  21473. - description: 品牌ID
  21474. in: query
  21475. name: brandid
  21476. type: integer
  21477. - description: 品类ID
  21478. in: query
  21479. name: wrstandardid
  21480. type: integer
  21481. produces:
  21482. - application/json
  21483. responses:
  21484. "200":
  21485. description: OK
  21486. schema:
  21487. items:
  21488. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  21489. type: array
  21490. "500":
  21491. description: Internal Server Error
  21492. schema:
  21493. $ref: '#/definitions/app.Response'
  21494. security:
  21495. - ApiKeyAuth: []
  21496. summary: 查询现货市价详情(现货市价/详情)
  21497. tags:
  21498. - 企业风险管理v3(app)
  21499. /Erms2/QueryArbitrageStrategy:
  21500. get:
  21501. parameters:
  21502. - description: 账户ID
  21503. in: query
  21504. name: userid
  21505. required: true
  21506. type: integer
  21507. - description: 商品组ID(品种ID)
  21508. in: query
  21509. name: goodsgroupid
  21510. type: string
  21511. produces:
  21512. - application/json
  21513. responses:
  21514. "200":
  21515. description: OK
  21516. schema:
  21517. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  21518. "500":
  21519. description: Internal Server Error
  21520. schema:
  21521. $ref: '#/definitions/app.Response'
  21522. security:
  21523. - ApiKeyAuth: []
  21524. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  21525. tags:
  21526. - 风险管理
  21527. /Erms2/QueryInnerTradeDetail:
  21528. get:
  21529. parameters:
  21530. - description: 资金账户
  21531. in: query
  21532. name: accountid
  21533. required: true
  21534. type: integer
  21535. produces:
  21536. - application/json
  21537. responses:
  21538. "200":
  21539. description: OK
  21540. schema:
  21541. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  21542. "500":
  21543. description: Internal Server Error
  21544. schema:
  21545. $ref: '#/definitions/app.Response'
  21546. security:
  21547. - ApiKeyAuth: []
  21548. summary: 查询内部成交单信息
  21549. tags:
  21550. - 风险管理
  21551. /Erms2/QuerySpotContract:
  21552. get:
  21553. parameters:
  21554. - description: 策略申请ID
  21555. in: query
  21556. name: asapplyid
  21557. required: true
  21558. type: integer
  21559. - description: 现货合同ID
  21560. in: query
  21561. name: spotcontractid
  21562. type: integer
  21563. produces:
  21564. - application/json
  21565. responses:
  21566. "200":
  21567. description: OK
  21568. schema:
  21569. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  21570. "500":
  21571. description: Internal Server Error
  21572. schema:
  21573. $ref: '#/definitions/app.Response'
  21574. security:
  21575. - ApiKeyAuth: []
  21576. summary: 查询现货合同表信息(指定策略ID、未结束的)
  21577. tags:
  21578. - 风险管理
  21579. /Erms3/AddErms2ASApply:
  21580. post:
  21581. parameters:
  21582. - description: 申请参数
  21583. in: body
  21584. name: jsonBody
  21585. required: true
  21586. schema:
  21587. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  21588. produces:
  21589. - application/json
  21590. responses:
  21591. "200":
  21592. description: OK
  21593. schema:
  21594. $ref: '#/definitions/app.Response'
  21595. "500":
  21596. description: Internal Server Error
  21597. schema:
  21598. $ref: '#/definitions/app.Response'
  21599. security:
  21600. - ApiKeyAuth: []
  21601. summary: 新增期现套利业务申请
  21602. tags:
  21603. - 风险管理v3
  21604. /Erms3/AddErms2SpotTradeApply:
  21605. post:
  21606. parameters:
  21607. - description: 申请参数
  21608. in: body
  21609. name: jsonBody
  21610. required: true
  21611. schema:
  21612. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  21613. produces:
  21614. - application/json
  21615. responses:
  21616. "200":
  21617. description: OK
  21618. schema:
  21619. $ref: '#/definitions/app.Response'
  21620. "500":
  21621. description: Internal Server Error
  21622. schema:
  21623. $ref: '#/definitions/app.Response'
  21624. security:
  21625. - ApiKeyAuth: []
  21626. summary: 新增现货贸易业务申请
  21627. tags:
  21628. - 风险管理v3
  21629. /Erms3/AddSpotContractApply:
  21630. post:
  21631. parameters:
  21632. - description: 申请参数
  21633. in: body
  21634. name: jsonBody
  21635. required: true
  21636. schema:
  21637. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  21638. produces:
  21639. - application/json
  21640. responses:
  21641. "200":
  21642. description: OK
  21643. schema:
  21644. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  21645. "500":
  21646. description: Internal Server Error
  21647. schema:
  21648. $ref: '#/definitions/app.Response'
  21649. security:
  21650. - ApiKeyAuth: []
  21651. summary: 新增现货合同申请
  21652. tags:
  21653. - 风险管理v3
  21654. /Erms3/AddUserInfoApply:
  21655. post:
  21656. parameters:
  21657. - description: 用户信息
  21658. in: body
  21659. name: jsonBody
  21660. required: true
  21661. schema:
  21662. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  21663. produces:
  21664. - application/json
  21665. responses:
  21666. "200":
  21667. description: OK
  21668. schema:
  21669. $ref: '#/definitions/app.Response'
  21670. "500":
  21671. description: Internal Server Error
  21672. schema:
  21673. $ref: '#/definitions/app.Response'
  21674. security:
  21675. - ApiKeyAuth: []
  21676. summary: 新增客户申请
  21677. tags:
  21678. - 风险管理v3
  21679. /Erms3/DeleteUserInfoApply:
  21680. get:
  21681. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  21682. parameters:
  21683. - description: 用户ID
  21684. in: query
  21685. name: userID
  21686. required: true
  21687. type: integer
  21688. produces:
  21689. - application/json
  21690. responses:
  21691. "200":
  21692. description: OK
  21693. schema:
  21694. $ref: '#/definitions/app.Response'
  21695. "500":
  21696. description: Internal Server Error
  21697. schema:
  21698. $ref: '#/definitions/app.Response'
  21699. security:
  21700. - ApiKeyAuth: []
  21701. summary: 删除客户申请
  21702. tags:
  21703. - 风险管理v3
  21704. /Erms3/ModifyUserInfoApply:
  21705. post:
  21706. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid": int, "userstate": 2 }'
  21707. parameters:
  21708. - description: 用户信息
  21709. in: body
  21710. name: jsonBody
  21711. required: true
  21712. schema:
  21713. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  21714. produces:
  21715. - application/json
  21716. responses:
  21717. "200":
  21718. description: OK
  21719. schema:
  21720. $ref: '#/definitions/app.Response'
  21721. "500":
  21722. description: Internal Server Error
  21723. schema:
  21724. $ref: '#/definitions/app.Response'
  21725. security:
  21726. - ApiKeyAuth: []
  21727. summary: 修改客户申请
  21728. tags:
  21729. - 风险管理v3
  21730. /Erms3/QueryBusinessInfo:
  21731. get:
  21732. parameters:
  21733. - description: 资金账号ID列表,用逗号分隔
  21734. in: query
  21735. name: accountids
  21736. required: true
  21737. type: string
  21738. - description: 状态,0为未结束 1为已结束
  21739. in: query
  21740. name: status
  21741. required: true
  21742. type: integer
  21743. produces:
  21744. - application/json
  21745. responses:
  21746. "200":
  21747. description: OK
  21748. schema:
  21749. items:
  21750. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  21751. type: array
  21752. "500":
  21753. description: Internal Server Error
  21754. schema:
  21755. $ref: '#/definitions/app.Response'
  21756. security:
  21757. - ApiKeyAuth: []
  21758. summary: 查询业务表单数据
  21759. tags:
  21760. - 风险管理v3
  21761. /Erms3/QueryPendingAuditContract:
  21762. get:
  21763. parameters:
  21764. - description: 资金账号ID列表,逗号隔开
  21765. in: query
  21766. name: accountids
  21767. required: true
  21768. type: string
  21769. - description: 合同类型 1-采购 -1-销售
  21770. in: query
  21771. name: contracttype
  21772. required: true
  21773. type: integer
  21774. - description: 合同模式 1-普通 2-回购
  21775. in: query
  21776. name: contractmode
  21777. required: true
  21778. type: integer
  21779. produces:
  21780. - application/json
  21781. responses:
  21782. "200":
  21783. description: OK
  21784. schema:
  21785. items:
  21786. $ref: '#/definitions/erms3.QryAuditContractRsp'
  21787. type: array
  21788. "500":
  21789. description: Internal Server Error
  21790. schema:
  21791. $ref: '#/definitions/app.Response'
  21792. security:
  21793. - ApiKeyAuth: []
  21794. summary: 查询待审核合同
  21795. tags:
  21796. - 风险管理v3
  21797. /Erms3/QueryPendingBusiness:
  21798. get:
  21799. parameters:
  21800. - description: 资金账号ID列表,逗号隔开
  21801. in: query
  21802. name: accountids
  21803. required: true
  21804. type: string
  21805. produces:
  21806. - application/json
  21807. responses:
  21808. "200":
  21809. description: OK
  21810. schema:
  21811. items:
  21812. $ref: '#/definitions/erms3.QryPendingBizRsp'
  21813. type: array
  21814. "500":
  21815. description: Internal Server Error
  21816. schema:
  21817. $ref: '#/definitions/app.Response'
  21818. security:
  21819. - ApiKeyAuth: []
  21820. summary: 查询待审核基差贸易业务
  21821. tags:
  21822. - 风险管理v3
  21823. /Erms3/QuerySpotContractAppleForm:
  21824. get:
  21825. parameters:
  21826. - description: 登录账号
  21827. in: query
  21828. name: loginID
  21829. required: true
  21830. type: integer
  21831. produces:
  21832. - application/json
  21833. responses:
  21834. "200":
  21835. description: OK
  21836. schema:
  21837. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  21838. "500":
  21839. description: Internal Server Error
  21840. schema:
  21841. $ref: '#/definitions/app.Response'
  21842. security:
  21843. - ApiKeyAuth: []
  21844. summary: 查询合同申请表单数据
  21845. tags:
  21846. - 风险管理v3
  21847. /Erms3/QuerySpotContractDetail:
  21848. get:
  21849. parameters:
  21850. - description: 资金账号ID列表,用逗号分隔
  21851. in: query
  21852. name: accountids
  21853. required: true
  21854. type: string
  21855. - description: 合同类型,1为采购合同 -1为销售合同
  21856. in: query
  21857. name: contracttype
  21858. required: true
  21859. type: integer
  21860. - description: 合同模式,1为普通合同 2为回购销售合同
  21861. in: query
  21862. name: contractmode
  21863. required: true
  21864. type: integer
  21865. - description: 状态,0为履约中 1为已完成
  21866. in: query
  21867. name: status
  21868. required: true
  21869. type: integer
  21870. produces:
  21871. - application/json
  21872. responses:
  21873. "200":
  21874. description: OK
  21875. schema:
  21876. items:
  21877. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  21878. type: array
  21879. "500":
  21880. description: Internal Server Error
  21881. schema:
  21882. $ref: '#/definitions/app.Response'
  21883. security:
  21884. - ApiKeyAuth: []
  21885. summary: 查询合同详细信息
  21886. tags:
  21887. - 风险管理v3
  21888. /Erms3/QueryUserInfoApplies:
  21889. get:
  21890. parameters:
  21891. - description: 页码
  21892. in: query
  21893. name: page
  21894. type: integer
  21895. - description: 每页条数
  21896. in: query
  21897. name: pagesize
  21898. type: integer
  21899. - description: 客户名称,支持模糊查询
  21900. in: query
  21901. name: userName
  21902. type: string
  21903. produces:
  21904. - application/json
  21905. responses:
  21906. "200":
  21907. description: OK
  21908. schema:
  21909. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  21910. "500":
  21911. description: Internal Server Error
  21912. schema:
  21913. $ref: '#/definitions/app.Response'
  21914. security:
  21915. - ApiKeyAuth: []
  21916. summary: 客户申请信息查询
  21917. tags:
  21918. - 风险管理v3
  21919. /Erms3/QueryUserInfos:
  21920. get:
  21921. parameters:
  21922. - description: 页码
  21923. in: query
  21924. name: page
  21925. type: integer
  21926. - description: 每页条数
  21927. in: query
  21928. name: pagesize
  21929. type: integer
  21930. - description: 客户名称,支持模糊查询
  21931. in: query
  21932. name: userName
  21933. type: string
  21934. produces:
  21935. - application/json
  21936. responses:
  21937. "200":
  21938. description: OK
  21939. schema:
  21940. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  21941. "500":
  21942. description: Internal Server Error
  21943. schema:
  21944. $ref: '#/definitions/app.Response'
  21945. security:
  21946. - ApiKeyAuth: []
  21947. summary: 客户信息查询
  21948. tags:
  21949. - 风险管理v3
  21950. /HSBY/GetHsbyMyCount:
  21951. get:
  21952. description: 说明: 不包括已完成的数量。
  21953. parameters:
  21954. - description: 资金账户列表,格式:1,2,3
  21955. in: query
  21956. name: accountIDs
  21957. required: true
  21958. type: string
  21959. produces:
  21960. - application/json
  21961. responses:
  21962. "200":
  21963. description: OK
  21964. schema:
  21965. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  21966. "500":
  21967. description: Internal Server Error
  21968. schema:
  21969. $ref: '#/definitions/app.Response'
  21970. security:
  21971. - ApiKeyAuth: []
  21972. summary: 获取我的订单与包裹数量
  21973. tags:
  21974. - 定制【海商报业】
  21975. /HSBY/QueryClientFixedADConfigs:
  21976. get:
  21977. produces:
  21978. - application/json
  21979. responses:
  21980. "200":
  21981. description: OK
  21982. schema:
  21983. $ref: '#/definitions/models.Clientfixedadconfig'
  21984. "500":
  21985. description: Internal Server Error
  21986. schema:
  21987. $ref: '#/definitions/app.Response'
  21988. security:
  21989. - ApiKeyAuth: []
  21990. summary: 获取终端固定广告配置
  21991. tags:
  21992. - 定制【海商报业】
  21993. /HSBY/QueryHsbyBuyMyTradeDetail:
  21994. get:
  21995. parameters:
  21996. - description: 页码
  21997. in: query
  21998. name: page
  21999. type: integer
  22000. - description: 每页条数
  22001. in: query
  22002. name: pagesize
  22003. type: integer
  22004. - description: 资金账户列表,格式:1,2,3
  22005. in: query
  22006. name: accountIDs
  22007. required: true
  22008. type: string
  22009. produces:
  22010. - application/json
  22011. responses:
  22012. "200":
  22013. description: OK
  22014. schema:
  22015. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  22016. "500":
  22017. description: Internal Server Error
  22018. schema:
  22019. $ref: '#/definitions/app.Response'
  22020. security:
  22021. - ApiKeyAuth: []
  22022. summary: 查询"我的订单 - 已完成"单据信息
  22023. tags:
  22024. - 定制【海商报业】
  22025. /HSBY/QueryHsbyGoodsOrderDetails:
  22026. get:
  22027. description: 说明:查询结果已按委托价格和委托时间排序
  22028. parameters:
  22029. - description: 商品ID
  22030. in: query
  22031. name: goodsID
  22032. required: true
  22033. type: integer
  22034. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  22035. in: query
  22036. name: accountIDs
  22037. type: string
  22038. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  22039. in: query
  22040. name: buyOrSell
  22041. type: integer
  22042. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  22043. in: query
  22044. name: price
  22045. type: number
  22046. - description: 档位,不传则默认为3档
  22047. in: query
  22048. name: speed
  22049. type: integer
  22050. produces:
  22051. - application/json
  22052. responses:
  22053. "200":
  22054. description: OK
  22055. schema:
  22056. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  22057. "500":
  22058. description: Internal Server Error
  22059. schema:
  22060. $ref: '#/definitions/app.Response'
  22061. security:
  22062. - ApiKeyAuth: []
  22063. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  22064. tags:
  22065. - 定制【海商报业】
  22066. /HSBY/QueryHsbyListingGoodsDetail:
  22067. get:
  22068. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  22069. parameters:
  22070. - description: 商品ID
  22071. in: query
  22072. name: goodsID
  22073. required: true
  22074. type: integer
  22075. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  22076. in: query
  22077. name: accountID
  22078. type: integer
  22079. produces:
  22080. - application/json
  22081. responses:
  22082. "200":
  22083. description: OK
  22084. schema:
  22085. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  22086. "500":
  22087. description: Internal Server Error
  22088. schema:
  22089. $ref: '#/definitions/app.Response'
  22090. security:
  22091. - ApiKeyAuth: []
  22092. summary: 查询二级市场(挂牌点选)商品信息详情
  22093. tags:
  22094. - 定制【海商报业】
  22095. /HSBY/QueryHsbyMarketGoodsDetail:
  22096. get:
  22097. parameters:
  22098. - description: 委托单号
  22099. in: query
  22100. name: orderID
  22101. required: true
  22102. type: integer
  22103. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  22104. in: query
  22105. name: accountID
  22106. type: integer
  22107. produces:
  22108. - application/json
  22109. responses:
  22110. "200":
  22111. description: OK
  22112. schema:
  22113. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  22114. "500":
  22115. description: Internal Server Error
  22116. schema:
  22117. $ref: '#/definitions/app.Response'
  22118. security:
  22119. - ApiKeyAuth: []
  22120. summary: 查询三级市场(商城)商品信息详情
  22121. tags:
  22122. - 定制【海商报业】
  22123. /HSBY/QueryHsbyMarketGoodses:
  22124. get:
  22125. parameters:
  22126. - description: 页码
  22127. in: query
  22128. name: page
  22129. type: integer
  22130. - description: 每页条数
  22131. in: query
  22132. name: pagesize
  22133. type: integer
  22134. - description: 市场ID列表,格式:1,2,3
  22135. in: query
  22136. name: marketIDs
  22137. required: true
  22138. type: string
  22139. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  22140. in: query
  22141. name: accountID
  22142. required: true
  22143. type: integer
  22144. - description: 类别ID
  22145. in: query
  22146. name: categoryID
  22147. type: integer
  22148. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  22149. in: query
  22150. name: goodsIDs
  22151. type: string
  22152. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  22153. in: query
  22154. name: couponTypeID
  22155. type: integer
  22156. produces:
  22157. - application/json
  22158. responses:
  22159. "200":
  22160. description: OK
  22161. schema:
  22162. $ref: '#/definitions/models.HsbyMarketGoods'
  22163. "500":
  22164. description: Internal Server Error
  22165. schema:
  22166. $ref: '#/definitions/app.Response'
  22167. security:
  22168. - ApiKeyAuth: []
  22169. summary: 查询特卖商品列表(三级商城)
  22170. tags:
  22171. - 定制【海商报业】
  22172. /HSBY/QueryHsbyMarkets:
  22173. get:
  22174. produces:
  22175. - application/json
  22176. responses:
  22177. "200":
  22178. description: OK
  22179. schema:
  22180. $ref: '#/definitions/models.HsbyMarketInfo'
  22181. "500":
  22182. description: Internal Server Error
  22183. schema:
  22184. $ref: '#/definitions/app.Response'
  22185. security:
  22186. - ApiKeyAuth: []
  22187. summary: 查询海商报业相关市场信息
  22188. tags:
  22189. - 定制【海商报业】
  22190. /HSBY/QueryHsbyMyBuyOrderDetails:
  22191. get:
  22192. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  22193. parameters:
  22194. - description: 资金账户列表,格式:1,2,3
  22195. in: query
  22196. name: accountIDs
  22197. required: true
  22198. type: string
  22199. produces:
  22200. - application/json
  22201. responses:
  22202. "200":
  22203. description: OK
  22204. schema:
  22205. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  22206. "500":
  22207. description: Internal Server Error
  22208. schema:
  22209. $ref: '#/definitions/app.Response'
  22210. security:
  22211. - ApiKeyAuth: []
  22212. summary: 查询“我的订单”信息
  22213. tags:
  22214. - 定制【海商报业】
  22215. /HSBY/QueryHsbyMyGoods:
  22216. get:
  22217. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  22218. parameters:
  22219. - description: 资金账户列表,格式:1,2,3
  22220. in: query
  22221. name: accountIDs
  22222. required: true
  22223. type: string
  22224. produces:
  22225. - application/json
  22226. responses:
  22227. "200":
  22228. description: OK
  22229. schema:
  22230. $ref: '#/definitions/models.HsbyMyGoods'
  22231. "500":
  22232. description: Internal Server Error
  22233. schema:
  22234. $ref: '#/definitions/app.Response'
  22235. security:
  22236. - ApiKeyAuth: []
  22237. summary: 查询“我的商品”信息
  22238. tags:
  22239. - 定制【海商报业】
  22240. /HSBY/QueryHsbyMyPackages:
  22241. get:
  22242. parameters:
  22243. - description: 资金账户列表,格式:1,2,3
  22244. in: query
  22245. name: accountIDs
  22246. required: true
  22247. type: string
  22248. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  22249. in: query
  22250. name: takeOrderStatus
  22251. type: integer
  22252. produces:
  22253. - application/json
  22254. responses:
  22255. "200":
  22256. description: OK
  22257. schema:
  22258. $ref: '#/definitions/models.HsbyMyPackage'
  22259. "500":
  22260. description: Internal Server Error
  22261. schema:
  22262. $ref: '#/definitions/app.Response'
  22263. security:
  22264. - ApiKeyAuth: []
  22265. summary: 查询我的包裹信息
  22266. tags:
  22267. - 定制【海商报业】
  22268. /HSBY/QueryHsbyPreGoodsDetail:
  22269. get:
  22270. parameters:
  22271. - description: 商品ID
  22272. in: query
  22273. name: goodsID
  22274. required: true
  22275. type: integer
  22276. - description: 资金账户,主要用于获取预售商品购买上限
  22277. in: query
  22278. name: accountID
  22279. type: integer
  22280. produces:
  22281. - application/json
  22282. responses:
  22283. "200":
  22284. description: OK
  22285. schema:
  22286. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  22287. "500":
  22288. description: Internal Server Error
  22289. schema:
  22290. $ref: '#/definitions/app.Response'
  22291. security:
  22292. - ApiKeyAuth: []
  22293. summary: 查询一级市场(预售)商品信息详情
  22294. tags:
  22295. - 定制【海商报业】
  22296. /HSBY/QueryHsbyPreGoodses:
  22297. get:
  22298. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  22299. parameters:
  22300. - description: 页码
  22301. in: query
  22302. name: page
  22303. type: integer
  22304. - description: 每页条数
  22305. in: query
  22306. name: pagesize
  22307. type: integer
  22308. - description: 市场ID列表,格式:1,2,3
  22309. in: query
  22310. name: marketIDs
  22311. required: true
  22312. type: string
  22313. - description: 目的地(省)ID
  22314. in: query
  22315. name: descProvinceID
  22316. type: integer
  22317. - description: 目的地(市)ID
  22318. in: query
  22319. name: descCityID
  22320. type: integer
  22321. produces:
  22322. - application/json
  22323. responses:
  22324. "200":
  22325. description: OK
  22326. schema:
  22327. $ref: '#/definitions/models.HsbyPreGoods'
  22328. "500":
  22329. description: Internal Server Error
  22330. schema:
  22331. $ref: '#/definitions/app.Response'
  22332. security:
  22333. - ApiKeyAuth: []
  22334. summary: 查询新品上市商品列表(一级市场预售)
  22335. tags:
  22336. - 定制【海商报业】
  22337. /HSBY/QueryHsbySellMyDetails:
  22338. get:
  22339. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  22340. parameters:
  22341. - description: 页码
  22342. in: query
  22343. name: page
  22344. type: integer
  22345. - description: 每页条数
  22346. in: query
  22347. name: pagesize
  22348. type: integer
  22349. - description: 资金账户列表,格式:1,2,3
  22350. in: query
  22351. name: accountIDs
  22352. required: true
  22353. type: string
  22354. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  22355. in: query
  22356. name: orderType
  22357. type: integer
  22358. produces:
  22359. - application/json
  22360. responses:
  22361. "200":
  22362. description: OK
  22363. schema:
  22364. $ref: '#/definitions/models.HsbySellMyDetail'
  22365. "500":
  22366. description: Internal Server Error
  22367. schema:
  22368. $ref: '#/definitions/app.Response'
  22369. security:
  22370. - ApiKeyAuth: []
  22371. summary: 查询"我的闲置"单据信息
  22372. tags:
  22373. - 定制【海商报业】
  22374. /HSBY/QueryHsbyTopGoodses:
  22375. get:
  22376. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  22377. parameters:
  22378. - description: 页码
  22379. in: query
  22380. name: page
  22381. type: integer
  22382. - description: 每页条数
  22383. in: query
  22384. name: pagesize
  22385. type: integer
  22386. - description: 市场ID列表,格式:1,2,3
  22387. in: query
  22388. name: marketIDs
  22389. required: true
  22390. type: string
  22391. - description: 目的地(省)ID
  22392. in: query
  22393. name: descProvinceID
  22394. type: integer
  22395. - description: 目的地(市)ID
  22396. in: query
  22397. name: descCityID
  22398. type: integer
  22399. produces:
  22400. - application/json
  22401. responses:
  22402. "200":
  22403. description: OK
  22404. schema:
  22405. $ref: '#/definitions/models.HsbyTopGoods'
  22406. "500":
  22407. description: Internal Server Error
  22408. schema:
  22409. $ref: '#/definitions/app.Response'
  22410. security:
  22411. - ApiKeyAuth: []
  22412. summary: 查询热卖商品列表(二级市场挂牌点选)
  22413. tags:
  22414. - 定制【海商报业】
  22415. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  22416. get:
  22417. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  22418. parameters:
  22419. - description: 商品ID
  22420. in: query
  22421. name: goodsID
  22422. required: true
  22423. type: integer
  22424. produces:
  22425. - application/json
  22426. responses:
  22427. "200":
  22428. description: OK
  22429. schema:
  22430. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  22431. "500":
  22432. description: Internal Server Error
  22433. schema:
  22434. $ref: '#/definitions/app.Response'
  22435. security:
  22436. - ApiKeyAuth: []
  22437. summary: 查询游客三级市场(商城)商品信息详情
  22438. tags:
  22439. - 定制【海商报业】
  22440. /HSBY/QueryHsbyVisitorMarketGoodses:
  22441. get:
  22442. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  22443. parameters:
  22444. - description: 页码
  22445. in: query
  22446. name: page
  22447. type: integer
  22448. - description: 每页条数
  22449. in: query
  22450. name: pagesize
  22451. type: integer
  22452. - description: 市场ID列表,格式:1,2,3
  22453. in: query
  22454. name: marketIDs
  22455. required: true
  22456. type: string
  22457. - description: 类别ID
  22458. in: query
  22459. name: categoryID
  22460. type: integer
  22461. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  22462. in: query
  22463. name: goodsIDs
  22464. type: string
  22465. produces:
  22466. - application/json
  22467. responses:
  22468. "200":
  22469. description: OK
  22470. schema:
  22471. $ref: '#/definitions/models.HsbyMarketGoods'
  22472. "500":
  22473. description: Internal Server Error
  22474. schema:
  22475. $ref: '#/definitions/app.Response'
  22476. security:
  22477. - ApiKeyAuth: []
  22478. summary: 查询游客特卖商品列表(三级商城)
  22479. tags:
  22480. - 定制【海商报业】
  22481. /HSBY/QueryMyCollectionOrders:
  22482. get:
  22483. parameters:
  22484. - description: 页码
  22485. in: query
  22486. name: page
  22487. type: integer
  22488. - description: 每页条数
  22489. in: query
  22490. name: pagesize
  22491. type: integer
  22492. - description: 资金账户,格式:1,2,3
  22493. in: query
  22494. name: accountIDs
  22495. required: true
  22496. type: string
  22497. produces:
  22498. - application/json
  22499. responses:
  22500. "200":
  22501. description: OK
  22502. schema:
  22503. $ref: '#/definitions/models.HsbySellCollectionOrder'
  22504. "500":
  22505. description: Internal Server Error
  22506. schema:
  22507. $ref: '#/definitions/app.Response'
  22508. security:
  22509. - ApiKeyAuth: []
  22510. summary: 我的闲置中收款信息查询
  22511. tags:
  22512. - 定制【海商报业】
  22513. /HSBY/QueryMyCouponHolds:
  22514. get:
  22515. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  22516. parameters:
  22517. - description: 资金账户列表,格式:1,2,3
  22518. in: query
  22519. name: accountIDs
  22520. required: true
  22521. type: string
  22522. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  22523. in: query
  22524. name: holdStatus
  22525. type: string
  22526. produces:
  22527. - application/json
  22528. responses:
  22529. "200":
  22530. description: OK
  22531. schema:
  22532. $ref: '#/definitions/models.MyCouponHold'
  22533. "500":
  22534. description: Internal Server Error
  22535. schema:
  22536. $ref: '#/definitions/app.Response'
  22537. security:
  22538. - ApiKeyAuth: []
  22539. summary: 我的优惠卷持仓查询
  22540. tags:
  22541. - 定制【海商报业】
  22542. /HSBY/QueryMyCoupons:
  22543. get:
  22544. parameters:
  22545. - description: 资金账户列表,格式:1,2,3
  22546. in: query
  22547. name: accountIDs
  22548. required: true
  22549. type: string
  22550. - description: 商品ID, 一般与sellUserID配套传入
  22551. in: query
  22552. name: goodsID
  22553. type: integer
  22554. - description: 卖方UserID
  22555. in: query
  22556. name: sellUserID
  22557. type: integer
  22558. produces:
  22559. - application/json
  22560. responses:
  22561. "200":
  22562. description: OK
  22563. schema:
  22564. $ref: '#/definitions/models.MyCoupon'
  22565. "500":
  22566. description: Internal Server Error
  22567. schema:
  22568. $ref: '#/definitions/app.Response'
  22569. security:
  22570. - ApiKeyAuth: []
  22571. summary: 我的优惠卷查询
  22572. tags:
  22573. - 定制【海商报业】
  22574. /HSBY/QueryMyPayOrders:
  22575. get:
  22576. parameters:
  22577. - description: 页码
  22578. in: query
  22579. name: page
  22580. type: integer
  22581. - description: 每页条数
  22582. in: query
  22583. name: pagesize
  22584. type: integer
  22585. - description: 资金账户列表,格式:1,2,3
  22586. in: query
  22587. name: accountIDs
  22588. required: true
  22589. type: string
  22590. - description: 买方委托单号
  22591. in: query
  22592. name: buyOrderID
  22593. type: integer
  22594. - description: 卖方委托单号
  22595. in: query
  22596. name: sellOrderID
  22597. type: integer
  22598. produces:
  22599. - application/json
  22600. responses:
  22601. "200":
  22602. description: OK
  22603. schema:
  22604. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  22605. "500":
  22606. description: Internal Server Error
  22607. schema:
  22608. $ref: '#/definitions/app.Response'
  22609. security:
  22610. - ApiKeyAuth: []
  22611. summary: 获取我的订单中待付款信息
  22612. tags:
  22613. - 定制【海商报业】
  22614. /HSBY/QueryMyUsedCoupon:
  22615. get:
  22616. parameters:
  22617. - description: 资金账户列表,格式:1,2,3
  22618. in: query
  22619. name: accountIDs
  22620. required: true
  22621. type: string
  22622. produces:
  22623. - application/json
  22624. responses:
  22625. "200":
  22626. description: OK
  22627. schema:
  22628. $ref: '#/definitions/models.MyUsedCoupon'
  22629. "500":
  22630. description: Internal Server Error
  22631. schema:
  22632. $ref: '#/definitions/app.Response'
  22633. security:
  22634. - ApiKeyAuth: []
  22635. summary: 已使用优惠卷查询
  22636. tags:
  22637. - 定制【海商报业】
  22638. /HSBY/QueryProvincesAndCities:
  22639. get:
  22640. description: 查询结果只包括二级市场商品已关连的省市信息。
  22641. parameters:
  22642. - description: 省ID
  22643. in: query
  22644. name: provinceID
  22645. type: integer
  22646. produces:
  22647. - application/json
  22648. responses:
  22649. "200":
  22650. description: OK
  22651. schema:
  22652. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  22653. "500":
  22654. description: Internal Server Error
  22655. schema:
  22656. $ref: '#/definitions/app.Response'
  22657. security:
  22658. - ApiKeyAuth: []
  22659. summary: 查询省市信息(不包括区)
  22660. tags:
  22661. - 定制【海商报业】
  22662. /HSBY/SetHsbyMyPackagesStatus:
  22663. post:
  22664. parameters:
  22665. - description: 提货单号
  22666. in: query
  22667. name: takeOrderID
  22668. required: true
  22669. type: string
  22670. - description: 资金账号
  22671. in: query
  22672. name: accountID
  22673. required: true
  22674. type: integer
  22675. produces:
  22676. - application/json
  22677. responses:
  22678. "200":
  22679. description: OK
  22680. schema:
  22681. $ref: '#/definitions/app.Response'
  22682. "500":
  22683. description: Internal Server Error
  22684. schema:
  22685. $ref: '#/definitions/app.Response'
  22686. security:
  22687. - ApiKeyAuth: []
  22688. summary: 设置我的包裹已收货状态
  22689. tags:
  22690. - 定制【海商报业】
  22691. /Market/GetAllExExchanges:
  22692. get:
  22693. produces:
  22694. - application/json
  22695. responses:
  22696. "200":
  22697. description: OK
  22698. schema:
  22699. $ref: '#/definitions/models.Goods'
  22700. "500":
  22701. description: Internal Server Error
  22702. schema:
  22703. $ref: '#/definitions/app.Response'
  22704. security:
  22705. - ApiKeyAuth: []
  22706. summary: 获取所有外部交易所信息
  22707. tags:
  22708. - 通用市场
  22709. /Market/QueryGoodsesByLoginID:
  22710. get:
  22711. parameters:
  22712. - description: 登录账号
  22713. in: query
  22714. name: loginID
  22715. required: true
  22716. type: integer
  22717. - description: 市场ID列表,格式:1,2,3
  22718. in: query
  22719. name: marketIDs
  22720. type: string
  22721. produces:
  22722. - application/json
  22723. responses:
  22724. "200":
  22725. description: OK
  22726. schema:
  22727. $ref: '#/definitions/models.Goods'
  22728. "500":
  22729. description: Internal Server Error
  22730. schema:
  22731. $ref: '#/definitions/app.Response'
  22732. security:
  22733. - ApiKeyAuth: []
  22734. summary: 获取登录账号有权限的商品信息
  22735. tags:
  22736. - 通用市场
  22737. /Market/QueryMarketRun:
  22738. get:
  22739. parameters:
  22740. - description: 市场ID,不传返回所有
  22741. in: query
  22742. name: marketID
  22743. type: integer
  22744. produces:
  22745. - application/json
  22746. responses:
  22747. "200":
  22748. description: OK
  22749. schema:
  22750. $ref: '#/definitions/models.Marketrun'
  22751. "500":
  22752. description: Internal Server Error
  22753. schema:
  22754. $ref: '#/definitions/app.Response'
  22755. security:
  22756. - ApiKeyAuth: []
  22757. summary: 查询市场运行信息
  22758. tags:
  22759. - 通用市场
  22760. /Market/QueryMarketsByLoginID:
  22761. get:
  22762. parameters:
  22763. - description: 登录账号
  22764. in: query
  22765. name: loginID
  22766. required: true
  22767. type: integer
  22768. produces:
  22769. - application/json
  22770. responses:
  22771. "200":
  22772. description: OK
  22773. schema:
  22774. $ref: '#/definitions/models.Market'
  22775. "500":
  22776. description: Internal Server Error
  22777. schema:
  22778. $ref: '#/definitions/app.Response'
  22779. security:
  22780. - ApiKeyAuth: []
  22781. summary: 获取登录账号有权限的市场信息
  22782. tags:
  22783. - 通用市场
  22784. /Order/QueryHisTradeDetail:
  22785. get:
  22786. parameters:
  22787. - description: 资金账户 - 格式:1,2,3
  22788. in: query
  22789. name: accountID
  22790. required: true
  22791. type: string
  22792. - description: 成交单号
  22793. in: query
  22794. name: tradeID
  22795. type: integer
  22796. - description: 委托单号
  22797. in: query
  22798. name: orderID
  22799. type: integer
  22800. - description: 商品ID
  22801. in: query
  22802. name: goodsID
  22803. type: integer
  22804. - description: 交易模式 - 格式:1,2,3
  22805. in: query
  22806. name: tradeMode
  22807. type: string
  22808. - description: 委托单据类型
  22809. in: query
  22810. name: buildType
  22811. type: integer
  22812. - description: 成交类别 - 格式:1,2,3
  22813. in: query
  22814. name: tradeType
  22815. type: string
  22816. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  22817. in: query
  22818. name: startDate
  22819. type: string
  22820. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  22821. in: query
  22822. name: endDate
  22823. type: string
  22824. produces:
  22825. - application/json
  22826. responses:
  22827. "200":
  22828. description: OK
  22829. schema:
  22830. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  22831. "500":
  22832. description: Internal Server Error
  22833. schema:
  22834. $ref: '#/definitions/app.Response'
  22835. security:
  22836. - ApiKeyAuth: []
  22837. summary: 历史成交单查询(合约市场)
  22838. tags:
  22839. - 通用单据
  22840. /Order/QueryHisTradeOrderDetail:
  22841. get:
  22842. parameters:
  22843. - description: 资金账户 - 格式:1,2,3
  22844. in: query
  22845. name: accountID
  22846. required: true
  22847. type: string
  22848. - description: 交易模式 - 格式:1,2,3
  22849. in: query
  22850. name: tradeMode
  22851. type: string
  22852. - description: 委托状态 - 格式:1,2,3
  22853. in: query
  22854. name: orderStatus
  22855. type: string
  22856. - description: 委托单号
  22857. in: query
  22858. name: orderID
  22859. type: integer
  22860. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  22861. in: query
  22862. name: startDate
  22863. type: string
  22864. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  22865. in: query
  22866. name: endDate
  22867. type: string
  22868. produces:
  22869. - application/json
  22870. responses:
  22871. "200":
  22872. description: OK
  22873. schema:
  22874. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  22875. "500":
  22876. description: Internal Server Error
  22877. schema:
  22878. $ref: '#/definitions/app.Response'
  22879. security:
  22880. - ApiKeyAuth: []
  22881. summary: 历史委托单查询请求(合约市场)
  22882. tags:
  22883. - 通用单据
  22884. /Order/QueryTradeDetail:
  22885. get:
  22886. parameters:
  22887. - description: 资金账户 - 格式:1,2,3
  22888. in: query
  22889. name: accountID
  22890. required: true
  22891. type: string
  22892. - description: 成交单号
  22893. in: query
  22894. name: tradeID
  22895. type: integer
  22896. - description: 委托单号
  22897. in: query
  22898. name: orderID
  22899. type: integer
  22900. - description: 交易模式 - 格式:1,2,3
  22901. in: query
  22902. name: tradeMode
  22903. type: string
  22904. - description: 委托单据类型
  22905. in: query
  22906. name: buildType
  22907. type: integer
  22908. - description: 成交类别 - 格式:1,2,3
  22909. in: query
  22910. name: tradeType
  22911. type: string
  22912. - description: 商品ID
  22913. in: query
  22914. name: goodsID
  22915. type: integer
  22916. produces:
  22917. - application/json
  22918. responses:
  22919. "200":
  22920. description: OK
  22921. schema:
  22922. $ref: '#/definitions/order.QueryTradeDetailRsp'
  22923. "500":
  22924. description: Internal Server Error
  22925. schema:
  22926. $ref: '#/definitions/app.Response'
  22927. security:
  22928. - ApiKeyAuth: []
  22929. summary: 成交单查询(合约市场)
  22930. tags:
  22931. - 通用单据
  22932. /Order/QueryTradeHolderDetail:
  22933. get:
  22934. parameters:
  22935. - description: 用户id
  22936. in: query
  22937. name: userid
  22938. type: integer
  22939. - description: 资金账号, 格式 1,2,3
  22940. in: query
  22941. name: accids
  22942. type: string
  22943. - description: 交易模式, 格式 1,2,3
  22944. in: query
  22945. name: trademodes
  22946. type: string
  22947. - description: 市场id, 格式 1,2,3
  22948. in: query
  22949. name: marketids
  22950. type: string
  22951. - description: 商品id
  22952. in: query
  22953. name: goodsid
  22954. type: integer
  22955. - description: 买卖方向 0-买 1-卖
  22956. in: query
  22957. name: buyorsell
  22958. type: integer
  22959. produces:
  22960. - application/json
  22961. responses:
  22962. "200":
  22963. description: OK
  22964. schema:
  22965. items:
  22966. $ref: '#/definitions/models.TradeHolderDetail'
  22967. type: array
  22968. "500":
  22969. description: Internal Server Error
  22970. schema:
  22971. $ref: '#/definitions/app.Response'
  22972. security:
  22973. - ApiKeyAuth: []
  22974. summary: 查询持仓明细
  22975. tags:
  22976. - 通用单据
  22977. /Order/QueryTradeOrderDetail:
  22978. get:
  22979. parameters:
  22980. - description: 资金账户 - 格式:1,2,3
  22981. in: query
  22982. name: accountID
  22983. required: true
  22984. type: string
  22985. - description: 交易模式 - 格式:1,2,3
  22986. in: query
  22987. name: tradeMode
  22988. type: string
  22989. - description: 委托状态 - 格式:1,2,3
  22990. in: query
  22991. name: orderStatus
  22992. type: string
  22993. - description: 委托单号
  22994. in: query
  22995. name: orderID
  22996. type: integer
  22997. produces:
  22998. - application/json
  22999. responses:
  23000. "200":
  23001. description: OK
  23002. schema:
  23003. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  23004. "500":
  23005. description: Internal Server Error
  23006. schema:
  23007. $ref: '#/definitions/app.Response'
  23008. security:
  23009. - ApiKeyAuth: []
  23010. summary: 委托单查询请求(合约市场)
  23011. tags:
  23012. - 通用单据
  23013. /Order/QueryTradePosition:
  23014. get:
  23015. parameters:
  23016. - description: 资金账户 - 格式:1,2,3
  23017. in: query
  23018. name: accountID
  23019. required: true
  23020. type: string
  23021. - description: 交易模式 - 格式:1,2,3
  23022. in: query
  23023. name: tradeMode
  23024. type: string
  23025. produces:
  23026. - application/json
  23027. responses:
  23028. "200":
  23029. description: OK
  23030. schema:
  23031. $ref: '#/definitions/order.QueryTradePositionRsp'
  23032. "500":
  23033. description: Internal Server Error
  23034. schema:
  23035. $ref: '#/definitions/app.Response'
  23036. security:
  23037. - ApiKeyAuth: []
  23038. summary: 持仓汇总查询(合约市场)
  23039. tags:
  23040. - 通用单据
  23041. /Qhj/QueryAccountInOutApply:
  23042. get:
  23043. parameters:
  23044. - description: 用户ID
  23045. in: query
  23046. name: userid
  23047. required: true
  23048. type: integer
  23049. - description: 申请起始日期(格式yyyymmdd)
  23050. in: query
  23051. name: begindate
  23052. type: string
  23053. - description: 申请截止日期(格式yyyymmdd)
  23054. in: query
  23055. name: enddate
  23056. type: string
  23057. - description: 模糊搜索名称
  23058. in: query
  23059. name: likename
  23060. type: string
  23061. produces:
  23062. - application/json
  23063. responses:
  23064. "200":
  23065. description: OK
  23066. schema:
  23067. items:
  23068. $ref: '#/definitions/models.QhjAccountOutInApply'
  23069. type: array
  23070. "500":
  23071. description: Internal Server Error
  23072. schema:
  23073. $ref: '#/definitions/app.Response'
  23074. security:
  23075. - ApiKeyAuth: []
  23076. summary: 查询充值提现
  23077. tags:
  23078. - 大连千海金
  23079. /Qhj/QueryAreaFinanceConfig:
  23080. get:
  23081. parameters:
  23082. - description: 机构用户ID 其他做市关系,都设置为 1
  23083. in: query
  23084. name: userid
  23085. type: integer
  23086. produces:
  23087. - application/json
  23088. responses:
  23089. "200":
  23090. description: OK
  23091. schema:
  23092. items:
  23093. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  23094. type: array
  23095. "500":
  23096. description: Internal Server Error
  23097. schema:
  23098. $ref: '#/definitions/app.Response'
  23099. security:
  23100. - ApiKeyAuth: []
  23101. summary: 查询企业配置表
  23102. tags:
  23103. - 大连千海金
  23104. /Qhj/QueryBankAccountSign:
  23105. get:
  23106. parameters:
  23107. - description: 用户ID
  23108. in: query
  23109. name: userid
  23110. required: true
  23111. type: integer
  23112. produces:
  23113. - application/json
  23114. responses:
  23115. "200":
  23116. description: OK
  23117. schema:
  23118. items:
  23119. $ref: '#/definitions/models.QhjBankAccountSign'
  23120. type: array
  23121. "500":
  23122. description: Internal Server Error
  23123. schema:
  23124. $ref: '#/definitions/app.Response'
  23125. security:
  23126. - ApiKeyAuth: []
  23127. summary: 查询签约银行信息(提现账户管理)
  23128. tags:
  23129. - 大连千海金
  23130. /Qhj/QueryBankInfo:
  23131. get:
  23132. produces:
  23133. - application/json
  23134. responses:
  23135. "200":
  23136. description: OK
  23137. schema:
  23138. items:
  23139. $ref: '#/definitions/models.QhjBankInfo'
  23140. type: array
  23141. "500":
  23142. description: Internal Server Error
  23143. schema:
  23144. $ref: '#/definitions/app.Response'
  23145. security:
  23146. - ApiKeyAuth: []
  23147. summary: 查询开户行
  23148. tags:
  23149. - 大连千海金
  23150. /Qhj/QueryBrokerApply:
  23151. get:
  23152. parameters:
  23153. - description: 所属机构ID
  23154. in: query
  23155. name: userid
  23156. type: integer
  23157. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23158. in: query
  23159. name: filterstatus
  23160. type: string
  23161. produces:
  23162. - application/json
  23163. responses:
  23164. "200":
  23165. description: OK
  23166. schema:
  23167. items:
  23168. $ref: '#/definitions/models.QhjBrokerApply'
  23169. type: array
  23170. "500":
  23171. description: Internal Server Error
  23172. schema:
  23173. $ref: '#/definitions/app.Response'
  23174. security:
  23175. - ApiKeyAuth: []
  23176. summary: 查询经纪人申请
  23177. tags:
  23178. - 大连千海金
  23179. /Qhj/QueryBrokerApplyEx:
  23180. get:
  23181. parameters:
  23182. - description: 所属机构ID
  23183. in: query
  23184. name: userid
  23185. type: integer
  23186. produces:
  23187. - application/json
  23188. responses:
  23189. "200":
  23190. description: OK
  23191. schema:
  23192. items:
  23193. $ref: '#/definitions/models.QhjBrokerApplyEx'
  23194. type: array
  23195. "500":
  23196. description: Internal Server Error
  23197. schema:
  23198. $ref: '#/definitions/app.Response'
  23199. security:
  23200. - ApiKeyAuth: []
  23201. summary: 查询经纪人信息和申请记录
  23202. tags:
  23203. - 大连千海金
  23204. /Qhj/QueryBrokerRewardLog:
  23205. get:
  23206. parameters:
  23207. - description: 用户ID
  23208. in: query
  23209. name: userid
  23210. required: true
  23211. type: integer
  23212. - description: 开始交易日(yyyymmdd)
  23213. in: query
  23214. name: begindate
  23215. type: string
  23216. - description: 结束交易日(yyyymmdd)
  23217. in: query
  23218. name: enddate
  23219. type: string
  23220. produces:
  23221. - application/json
  23222. responses:
  23223. "200":
  23224. description: OK
  23225. schema:
  23226. items:
  23227. $ref: '#/definitions/models.QhjBrokerRewardLog'
  23228. type: array
  23229. "500":
  23230. description: Internal Server Error
  23231. schema:
  23232. $ref: '#/definitions/app.Response'
  23233. security:
  23234. - ApiKeyAuth: []
  23235. summary: 查询奖励流水(我的奖励)
  23236. tags:
  23237. - 大连千海金
  23238. /Qhj/QueryContract:
  23239. get:
  23240. parameters:
  23241. - description: 用户ID
  23242. in: query
  23243. name: userid
  23244. type: integer
  23245. - description: scf合同id
  23246. in: query
  23247. name: scfcontractid
  23248. type: integer
  23249. produces:
  23250. - application/json
  23251. responses:
  23252. "200":
  23253. description: OK
  23254. schema:
  23255. items:
  23256. $ref: '#/definitions/models.QhjContract'
  23257. type: array
  23258. "500":
  23259. description: Internal Server Error
  23260. schema:
  23261. $ref: '#/definitions/app.Response'
  23262. security:
  23263. - ApiKeyAuth: []
  23264. summary: 查询融资明细(合同)
  23265. tags:
  23266. - 大连千海金
  23267. /Qhj/QueryContractLog:
  23268. get:
  23269. parameters:
  23270. - description: scf合同id
  23271. in: query
  23272. name: scfcontractid
  23273. required: true
  23274. type: integer
  23275. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  23276. in: query
  23277. name: amounttype
  23278. type: string
  23279. produces:
  23280. - application/json
  23281. responses:
  23282. "200":
  23283. description: OK
  23284. schema:
  23285. items:
  23286. $ref: '#/definitions/models.QhjContractLog'
  23287. type: array
  23288. "500":
  23289. description: Internal Server Error
  23290. schema:
  23291. $ref: '#/definitions/app.Response'
  23292. security:
  23293. - ApiKeyAuth: []
  23294. summary: 查询融资明细流水(融资明细详情页中的流水)
  23295. tags:
  23296. - 大连千海金
  23297. /Qhj/QueryCusBankSignBank:
  23298. get:
  23299. produces:
  23300. - application/json
  23301. responses:
  23302. "200":
  23303. description: OK
  23304. schema:
  23305. items:
  23306. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  23307. type: array
  23308. "500":
  23309. description: Internal Server Error
  23310. schema:
  23311. $ref: '#/definitions/app.Response'
  23312. security:
  23313. - ApiKeyAuth: []
  23314. summary: 查询托管银行
  23315. tags:
  23316. - 大连千海金
  23317. /Qhj/QueryCustomerInfo:
  23318. get:
  23319. parameters:
  23320. - description: 用户ID
  23321. in: query
  23322. name: userid
  23323. required: true
  23324. type: integer
  23325. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  23326. in: query
  23327. name: querytype
  23328. required: true
  23329. type: integer
  23330. - description: 客户类型 1-个人 2-企业
  23331. in: query
  23332. name: userinfotype
  23333. type: integer
  23334. - description: 客户名称(模糊匹配)
  23335. in: query
  23336. name: customername
  23337. type: string
  23338. - description: 昵称(模糊匹配)
  23339. in: query
  23340. name: nickname
  23341. type: string
  23342. - description: 是否包含子级 1-包含
  23343. in: query
  23344. name: includesub
  23345. type: integer
  23346. produces:
  23347. - application/json
  23348. responses:
  23349. "200":
  23350. description: OK
  23351. schema:
  23352. items:
  23353. $ref: '#/definitions/models.QhjCustomer'
  23354. type: array
  23355. "500":
  23356. description: Internal Server Error
  23357. schema:
  23358. $ref: '#/definitions/app.Response'
  23359. security:
  23360. - ApiKeyAuth: []
  23361. summary: 查询客户资料
  23362. tags:
  23363. - 大连千海金
  23364. /Qhj/QueryGoodsEx:
  23365. get:
  23366. parameters:
  23367. - description: 商品id
  23368. in: query
  23369. name: goodsid
  23370. type: integer
  23371. produces:
  23372. - application/json
  23373. responses:
  23374. "200":
  23375. description: OK
  23376. schema:
  23377. items:
  23378. $ref: '#/definitions/models.Qhjgoodsex'
  23379. type: array
  23380. "500":
  23381. description: Internal Server Error
  23382. schema:
  23383. $ref: '#/definitions/app.Response'
  23384. security:
  23385. - ApiKeyAuth: []
  23386. summary: 交易商品扩展表
  23387. tags:
  23388. - 大连千海金
  23389. /Qhj/QueryMyTeam:
  23390. get:
  23391. parameters:
  23392. - description: 用户ID
  23393. in: query
  23394. name: userid
  23395. required: true
  23396. type: integer
  23397. produces:
  23398. - application/json
  23399. responses:
  23400. "200":
  23401. description: OK
  23402. schema:
  23403. items:
  23404. $ref: '#/definitions/models.QhjMyTeamEx'
  23405. type: array
  23406. "500":
  23407. description: Internal Server Error
  23408. schema:
  23409. $ref: '#/definitions/app.Response'
  23410. security:
  23411. - ApiKeyAuth: []
  23412. summary: 查询我的团队
  23413. tags:
  23414. - 大连千海金
  23415. /Qhj/QueryMyTeamOrder:
  23416. get:
  23417. parameters:
  23418. - description: 页码
  23419. in: query
  23420. name: page
  23421. type: integer
  23422. - description: 每页条数
  23423. in: query
  23424. name: pagesize
  23425. type: integer
  23426. - description: 用户ID
  23427. in: query
  23428. name: userid
  23429. required: true
  23430. type: integer
  23431. - description: 交易模式
  23432. in: query
  23433. name: trademode
  23434. type: integer
  23435. - description: 名称(模糊搜索账户)
  23436. in: query
  23437. name: filtername
  23438. type: string
  23439. produces:
  23440. - application/json
  23441. responses:
  23442. "200":
  23443. description: OK
  23444. schema:
  23445. items:
  23446. $ref: '#/definitions/models.QhjTeamOrder'
  23447. type: array
  23448. "500":
  23449. description: Internal Server Error
  23450. schema:
  23451. $ref: '#/definitions/app.Response'
  23452. security:
  23453. - ApiKeyAuth: []
  23454. summary: 查询团队订单(我的团队/团队订单)
  23455. tags:
  23456. - 大连千海金
  23457. /Qhj/QueryParentAreaList:
  23458. get:
  23459. parameters:
  23460. - description: 用户ID
  23461. in: query
  23462. name: userid
  23463. required: true
  23464. type: integer
  23465. produces:
  23466. - application/json
  23467. responses:
  23468. "200":
  23469. description: OK
  23470. schema:
  23471. items:
  23472. $ref: '#/definitions/models.QhjParentAreaList'
  23473. type: array
  23474. "500":
  23475. description: Internal Server Error
  23476. schema:
  23477. $ref: '#/definitions/app.Response'
  23478. security:
  23479. - ApiKeyAuth: []
  23480. summary: 查询所属机构列表
  23481. tags:
  23482. - 大连千海金
  23483. /Qhj/QueryPayOrder:
  23484. get:
  23485. parameters:
  23486. - description: 资金账号id
  23487. in: query
  23488. name: accountid
  23489. required: true
  23490. type: integer
  23491. - description: 成交单号
  23492. in: query
  23493. name: tradeid
  23494. type: integer
  23495. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  23496. in: query
  23497. name: payflag
  23498. type: string
  23499. produces:
  23500. - application/json
  23501. responses:
  23502. "200":
  23503. description: OK
  23504. schema:
  23505. items:
  23506. $ref: '#/definitions/models.QhjPayOrder'
  23507. type: array
  23508. "500":
  23509. description: Internal Server Error
  23510. schema:
  23511. $ref: '#/definitions/app.Response'
  23512. security:
  23513. - ApiKeyAuth: []
  23514. summary: 查询待付款单据
  23515. tags:
  23516. - 大连千海金
  23517. /Qhj/QueryPickArea:
  23518. get:
  23519. parameters:
  23520. - description: 用户ID
  23521. in: query
  23522. name: userid
  23523. type: integer
  23524. produces:
  23525. - application/json
  23526. responses:
  23527. "200":
  23528. description: OK
  23529. schema:
  23530. items:
  23531. $ref: '#/definitions/models.QhjPickArea'
  23532. type: array
  23533. "500":
  23534. description: Internal Server Error
  23535. schema:
  23536. $ref: '#/definitions/app.Response'
  23537. security:
  23538. - ApiKeyAuth: []
  23539. summary: 查询提货门店
  23540. tags:
  23541. - 大连千海金
  23542. /Qhj/QueryPickGoods:
  23543. get:
  23544. parameters:
  23545. - description: 交易商品id
  23546. in: query
  23547. name: goodsid
  23548. required: true
  23549. type: integer
  23550. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  23551. in: query
  23552. name: status
  23553. type: string
  23554. produces:
  23555. - application/json
  23556. responses:
  23557. "200":
  23558. description: OK
  23559. schema:
  23560. items:
  23561. $ref: '#/definitions/models.QhjPickGoods'
  23562. type: array
  23563. "500":
  23564. description: Internal Server Error
  23565. schema:
  23566. $ref: '#/definitions/app.Response'
  23567. security:
  23568. - ApiKeyAuth: []
  23569. summary: 查询提货商品
  23570. tags:
  23571. - 大连千海金
  23572. /Qhj/QueryRSTriggerLog:
  23573. get:
  23574. parameters:
  23575. - description: 用户ID
  23576. in: query
  23577. name: userid
  23578. type: integer
  23579. - description: 定投策略id
  23580. in: query
  23581. name: regularlystrategyid
  23582. type: integer
  23583. - description: 商品id
  23584. in: query
  23585. name: goodsid
  23586. type: integer
  23587. - description: 开始交易日(yyyymmdd)
  23588. in: query
  23589. name: begindate
  23590. type: string
  23591. - description: 结束交易日(yyyymmdd)
  23592. in: query
  23593. name: enddate
  23594. type: string
  23595. - description: 名称(模糊搜索账户)
  23596. in: query
  23597. name: filtername
  23598. type: string
  23599. produces:
  23600. - application/json
  23601. responses:
  23602. "200":
  23603. description: OK
  23604. schema:
  23605. items:
  23606. $ref: '#/definitions/models.QhjRSTriggerLog'
  23607. type: array
  23608. "500":
  23609. description: Internal Server Error
  23610. schema:
  23611. $ref: '#/definitions/app.Response'
  23612. security:
  23613. - ApiKeyAuth: []
  23614. summary: 查询定投记录(定投管理/详情/定投记录)
  23615. tags:
  23616. - 大连千海金
  23617. /Qhj/QueryRStrategy:
  23618. get:
  23619. parameters:
  23620. - description: 用户ID
  23621. in: query
  23622. name: userid
  23623. type: integer
  23624. - description: 商品id
  23625. in: query
  23626. name: goodsid
  23627. type: integer
  23628. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  23629. in: query
  23630. name: status
  23631. type: string
  23632. - description: 名称(模糊搜索账户)
  23633. in: query
  23634. name: filtername
  23635. type: string
  23636. produces:
  23637. - application/json
  23638. responses:
  23639. "200":
  23640. description: OK
  23641. schema:
  23642. items:
  23643. $ref: '#/definitions/models.QhjRStrategy'
  23644. type: array
  23645. "500":
  23646. description: Internal Server Error
  23647. schema:
  23648. $ref: '#/definitions/app.Response'
  23649. security:
  23650. - ApiKeyAuth: []
  23651. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  23652. tags:
  23653. - 大连千海金
  23654. /Qhj/QueryReckonPriceLog:
  23655. get:
  23656. parameters:
  23657. - description: 商品ID
  23658. in: query
  23659. name: goodsid
  23660. type: integer
  23661. - description: 交易日 格式(yyyymmdd)
  23662. in: query
  23663. name: tradedate
  23664. type: string
  23665. produces:
  23666. - application/json
  23667. responses:
  23668. "200":
  23669. description: OK
  23670. schema:
  23671. items:
  23672. $ref: '#/definitions/models.QhjReckonPriceLog'
  23673. type: array
  23674. "500":
  23675. description: Internal Server Error
  23676. schema:
  23677. $ref: '#/definitions/app.Response'
  23678. security:
  23679. - ApiKeyAuth: []
  23680. summary: 查询定投价(结算价)
  23681. tags:
  23682. - 大连千海金
  23683. /Qhj/QueryScoreLog:
  23684. get:
  23685. parameters:
  23686. - description: 用户ID
  23687. in: query
  23688. name: userid
  23689. required: true
  23690. type: integer
  23691. - description: 开始交易日(yyyymmdd)
  23692. in: query
  23693. name: begindate
  23694. type: string
  23695. - description: 结束交易日(yyyymmdd)
  23696. in: query
  23697. name: enddate
  23698. type: string
  23699. - description: 最近多少条
  23700. in: query
  23701. name: lastnum
  23702. type: integer
  23703. produces:
  23704. - application/json
  23705. responses:
  23706. "200":
  23707. description: OK
  23708. schema:
  23709. items:
  23710. $ref: '#/definitions/models.QhjScoreLog'
  23711. type: array
  23712. "500":
  23713. description: Internal Server Error
  23714. schema:
  23715. $ref: '#/definitions/app.Response'
  23716. security:
  23717. - ApiKeyAuth: []
  23718. summary: 查询积分流水(我的积分)
  23719. tags:
  23720. - 大连千海金
  23721. /Qhj/QuerySiteColumnDetail:
  23722. get:
  23723. parameters:
  23724. - description: 用户ID
  23725. in: query
  23726. name: userid
  23727. required: true
  23728. type: integer
  23729. produces:
  23730. - application/json
  23731. responses:
  23732. "200":
  23733. description: OK
  23734. schema:
  23735. items:
  23736. $ref: '#/definitions/models.QhjSiteColumnDetail'
  23737. type: array
  23738. "500":
  23739. description: Internal Server Error
  23740. schema:
  23741. $ref: '#/definitions/app.Response'
  23742. security:
  23743. - ApiKeyAuth: []
  23744. summary: 查询资讯
  23745. tags:
  23746. - 大连千海金
  23747. /Qhj/QueryTradeGoodsPickup:
  23748. get:
  23749. parameters:
  23750. - description: 用户ID
  23751. in: query
  23752. name: userid
  23753. required: true
  23754. type: integer
  23755. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄) 7:已拒绝 8:已撤销
  23756. in: query
  23757. name: takeorderstatus
  23758. type: integer
  23759. produces:
  23760. - application/json
  23761. responses:
  23762. "200":
  23763. description: OK
  23764. schema:
  23765. items:
  23766. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  23767. type: array
  23768. "500":
  23769. description: Internal Server Error
  23770. schema:
  23771. $ref: '#/definitions/app.Response'
  23772. security:
  23773. - ApiKeyAuth: []
  23774. summary: 查询提货
  23775. tags:
  23776. - 大连千海金
  23777. /Qhj/QueryUserCollectConfig:
  23778. get:
  23779. parameters:
  23780. - description: 用户ID
  23781. in: query
  23782. name: userid
  23783. required: true
  23784. type: integer
  23785. produces:
  23786. - application/json
  23787. responses:
  23788. "200":
  23789. description: OK
  23790. schema:
  23791. items:
  23792. $ref: '#/definitions/models.UserCollectConfig'
  23793. type: array
  23794. "500":
  23795. description: Internal Server Error
  23796. schema:
  23797. $ref: '#/definitions/app.Response'
  23798. security:
  23799. - ApiKeyAuth: []
  23800. summary: 查询提现账户设置
  23801. tags:
  23802. - 大连千海金
  23803. /Qhj/QueryUserReceiveInfo:
  23804. get:
  23805. parameters:
  23806. - description: 用户ID
  23807. in: query
  23808. name: userid
  23809. required: true
  23810. type: integer
  23811. produces:
  23812. - application/json
  23813. responses:
  23814. "200":
  23815. description: OK
  23816. schema:
  23817. items:
  23818. $ref: '#/definitions/models.UserReceiveInfo'
  23819. type: array
  23820. "500":
  23821. description: Internal Server Error
  23822. schema:
  23823. $ref: '#/definitions/app.Response'
  23824. security:
  23825. - ApiKeyAuth: []
  23826. summary: 查询收货地址信息
  23827. tags:
  23828. - 大连千海金
  23829. /QhjMgr/QueryAccountInOutApply:
  23830. get:
  23831. parameters:
  23832. - description: 查询类型 1-提现(出金) 2-充值(出金)
  23833. in: query
  23834. name: querytype
  23835. required: true
  23836. type: integer
  23837. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  23838. in: query
  23839. name: applystatus
  23840. type: integer
  23841. - description: 申请起始日期(格式yyyymmdd)
  23842. in: query
  23843. name: begindate
  23844. type: string
  23845. - description: 申请截止日期(格式yyyymmdd)
  23846. in: query
  23847. name: enddate
  23848. type: string
  23849. - description: 模糊搜索名称
  23850. in: query
  23851. name: likename
  23852. type: string
  23853. produces:
  23854. - application/json
  23855. responses:
  23856. "200":
  23857. description: OK
  23858. schema:
  23859. items:
  23860. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  23861. type: array
  23862. "500":
  23863. description: Internal Server Error
  23864. schema:
  23865. $ref: '#/definitions/app.Response'
  23866. security:
  23867. - ApiKeyAuth: []
  23868. summary: 查询充值提现
  23869. tags:
  23870. - 大连千海金(PCWeb)
  23871. /QhjMgr/QueryBrokerApply:
  23872. get:
  23873. parameters:
  23874. - description: 所属机构ID
  23875. in: query
  23876. name: userid
  23877. type: integer
  23878. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  23879. in: query
  23880. name: filterstatus
  23881. type: string
  23882. - description: 名称(模糊匹配)
  23883. in: query
  23884. name: filtername
  23885. type: string
  23886. - description: 是否包含子级 1-包含
  23887. in: query
  23888. name: includesub
  23889. type: integer
  23890. produces:
  23891. - application/json
  23892. responses:
  23893. "200":
  23894. description: OK
  23895. schema:
  23896. items:
  23897. $ref: '#/definitions/models.QhjMgrBrokerApply'
  23898. type: array
  23899. "500":
  23900. description: Internal Server Error
  23901. schema:
  23902. $ref: '#/definitions/app.Response'
  23903. security:
  23904. - ApiKeyAuth: []
  23905. summary: 查询经纪人申请
  23906. tags:
  23907. - 大连千海金(PCWeb)
  23908. /QhjMgr/QueryBrokerRewardReport:
  23909. get:
  23910. parameters:
  23911. - description: 所属机构ID
  23912. in: query
  23913. name: userid
  23914. required: true
  23915. type: integer
  23916. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  23917. in: query
  23918. name: cycletype
  23919. required: true
  23920. type: integer
  23921. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  23922. in: query
  23923. name: cycletime
  23924. required: true
  23925. type: string
  23926. - description: 名称(模糊匹配)
  23927. in: query
  23928. name: filtername
  23929. type: string
  23930. - description: 是否包含子级 1-包含
  23931. in: query
  23932. name: includesub
  23933. type: integer
  23934. produces:
  23935. - application/json
  23936. responses:
  23937. "200":
  23938. description: OK
  23939. schema:
  23940. items:
  23941. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  23942. type: array
  23943. "500":
  23944. description: Internal Server Error
  23945. schema:
  23946. $ref: '#/definitions/app.Response'
  23947. security:
  23948. - ApiKeyAuth: []
  23949. summary: 查询经纪人奖励报表(废弃)
  23950. tags:
  23951. - 大连千海金(PCWeb)
  23952. /QhjMgr/QueryContract:
  23953. get:
  23954. parameters:
  23955. - description: 用户ID
  23956. in: query
  23957. name: userid
  23958. type: integer
  23959. - description: 商品id
  23960. in: query
  23961. name: goodsid
  23962. type: integer
  23963. - description: 名称(模糊搜索账户)
  23964. in: query
  23965. name: filtername
  23966. type: string
  23967. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  23968. in: query
  23969. name: risklevel
  23970. type: string
  23971. - description: 开始交易日(yyyymmdd)
  23972. in: query
  23973. name: begindate
  23974. type: string
  23975. - description: 结束交易日(yyyymmdd)
  23976. in: query
  23977. name: enddate
  23978. type: string
  23979. produces:
  23980. - application/json
  23981. responses:
  23982. "200":
  23983. description: OK
  23984. schema:
  23985. items:
  23986. $ref: '#/definitions/models.QhjMgrContract'
  23987. type: array
  23988. "500":
  23989. description: Internal Server Error
  23990. schema:
  23991. $ref: '#/definitions/app.Response'
  23992. security:
  23993. - ApiKeyAuth: []
  23994. summary: 查询融资信息(合同)
  23995. tags:
  23996. - 大连千海金(PCWeb)
  23997. /QhjMgr/QueryCustomerInfo:
  23998. get:
  23999. parameters:
  24000. - description: 用户ID
  24001. in: query
  24002. name: userid
  24003. required: true
  24004. type: integer
  24005. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  24006. in: query
  24007. name: querytype
  24008. required: true
  24009. type: integer
  24010. - description: 客户类型 1-个人 2-企业
  24011. in: query
  24012. name: userinfotype
  24013. type: integer
  24014. - description: 客户名称(模糊匹配)
  24015. in: query
  24016. name: customername
  24017. type: string
  24018. - description: 昵称(模糊匹配)
  24019. in: query
  24020. name: nickname
  24021. type: string
  24022. - description: 所属客户经理(模糊匹配)
  24023. in: query
  24024. name: brokername
  24025. type: string
  24026. - description: 生日查询(格式 mmdd 或 mm) 只填2位表示月份匹配(mm, 如05 - 5月), 4位表示查月日匹配(mmdd, 如0503 -5月3日)
  24027. in: query
  24028. name: birthday
  24029. type: string
  24030. - description: 是否包含子级 1-包含
  24031. in: query
  24032. name: includesub
  24033. type: integer
  24034. produces:
  24035. - application/json
  24036. responses:
  24037. "200":
  24038. description: OK
  24039. schema:
  24040. items:
  24041. $ref: '#/definitions/models.QhjMgrCustomer'
  24042. type: array
  24043. "500":
  24044. description: Internal Server Error
  24045. schema:
  24046. $ref: '#/definitions/app.Response'
  24047. security:
  24048. - ApiKeyAuth: []
  24049. summary: 查询客户资料
  24050. tags:
  24051. - 大连千海金(PCWeb)
  24052. /QhjMgr/QueryPickGoods:
  24053. get:
  24054. parameters:
  24055. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  24056. in: query
  24057. name: status
  24058. type: string
  24059. produces:
  24060. - application/json
  24061. responses:
  24062. "200":
  24063. description: OK
  24064. schema:
  24065. items:
  24066. $ref: '#/definitions/models.QhjMgrPickGoods'
  24067. type: array
  24068. "500":
  24069. description: Internal Server Error
  24070. schema:
  24071. $ref: '#/definitions/app.Response'
  24072. security:
  24073. - ApiKeyAuth: []
  24074. summary: 查询提货商品
  24075. tags:
  24076. - 大连千海金(PCWeb)
  24077. /QhjMgr/QuerySubArea:
  24078. get:
  24079. parameters:
  24080. - description: 用户ID
  24081. in: query
  24082. name: userid
  24083. required: true
  24084. type: integer
  24085. produces:
  24086. - application/json
  24087. responses:
  24088. "200":
  24089. description: OK
  24090. schema:
  24091. items:
  24092. $ref: '#/definitions/models.QhjMgrSubArea'
  24093. type: array
  24094. "500":
  24095. description: Internal Server Error
  24096. schema:
  24097. $ref: '#/definitions/app.Response'
  24098. security:
  24099. - ApiKeyAuth: []
  24100. summary: 查询子机构列表
  24101. tags:
  24102. - 大连千海金(PCWeb)
  24103. /QhjMgr/QueryTradeDetail:
  24104. get:
  24105. parameters:
  24106. - description: 用户ID
  24107. in: query
  24108. name: userid
  24109. required: true
  24110. type: integer
  24111. - description: 用户类型 1-个人 2-企业
  24112. in: query
  24113. name: userinfotype
  24114. type: integer
  24115. - description: 交易模式
  24116. in: query
  24117. name: trademode
  24118. type: integer
  24119. - description: 商品id
  24120. in: query
  24121. name: goodsid
  24122. type: integer
  24123. - description: 名称(模糊搜索账户)
  24124. in: query
  24125. name: filtername
  24126. type: string
  24127. - description: 开始交易日(yyyymmdd)
  24128. in: query
  24129. name: begindate
  24130. type: string
  24131. - description: 结束交易日(yyyymmdd)
  24132. in: query
  24133. name: enddate
  24134. type: string
  24135. - description: 是否包含子级 1-包含
  24136. in: query
  24137. name: includesub
  24138. type: integer
  24139. produces:
  24140. - application/json
  24141. responses:
  24142. "200":
  24143. description: OK
  24144. schema:
  24145. items:
  24146. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  24147. type: array
  24148. "500":
  24149. description: Internal Server Error
  24150. schema:
  24151. $ref: '#/definitions/app.Response'
  24152. security:
  24153. - ApiKeyAuth: []
  24154. summary: 查询成交明细
  24155. tags:
  24156. - 大连千海金(PCWeb)
  24157. /QhjMgr/QueryTradeOrderDetail:
  24158. get:
  24159. parameters:
  24160. - description: 用户ID
  24161. in: query
  24162. name: userid
  24163. required: true
  24164. type: integer
  24165. - description: 用户类型 1-个人 2-企业
  24166. in: query
  24167. name: userinfotype
  24168. type: integer
  24169. - description: 交易模式
  24170. in: query
  24171. name: trademode
  24172. type: integer
  24173. - description: 商品id
  24174. in: query
  24175. name: goodsid
  24176. type: integer
  24177. - description: 名称(模糊搜索账户)
  24178. in: query
  24179. name: filtername
  24180. type: string
  24181. - description: 开始交易日(yyyymmdd)
  24182. in: query
  24183. name: begindate
  24184. type: string
  24185. - description: 结束交易日(yyyymmdd)
  24186. in: query
  24187. name: enddate
  24188. type: string
  24189. - description: 是否包含子级 1-包含
  24190. in: query
  24191. name: includesub
  24192. type: integer
  24193. produces:
  24194. - application/json
  24195. responses:
  24196. "200":
  24197. description: OK
  24198. schema:
  24199. items:
  24200. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  24201. type: array
  24202. "500":
  24203. description: Internal Server Error
  24204. schema:
  24205. $ref: '#/definitions/app.Response'
  24206. security:
  24207. - ApiKeyAuth: []
  24208. summary: 查询委托明细
  24209. tags:
  24210. - 大连千海金(PCWeb)
  24211. /QhjMgr/QueryTradePayOrder:
  24212. get:
  24213. parameters:
  24214. - description: 用户ID
  24215. in: query
  24216. name: userid
  24217. required: true
  24218. type: integer
  24219. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  24220. in: query
  24221. name: payflag
  24222. type: string
  24223. - description: 用户类型 1-个人 2-企业
  24224. in: query
  24225. name: userinfotype
  24226. type: integer
  24227. - description: 交易模式
  24228. in: query
  24229. name: trademode
  24230. type: integer
  24231. - description: 商品id
  24232. in: query
  24233. name: goodsid
  24234. type: integer
  24235. - description: 名称(模糊搜索账户)
  24236. in: query
  24237. name: filtername
  24238. type: string
  24239. - description: 开始交易日(yyyymmdd)
  24240. in: query
  24241. name: begindate
  24242. type: string
  24243. - description: 结束交易日(yyyymmdd)
  24244. in: query
  24245. name: enddate
  24246. type: string
  24247. - description: 是否包含子级 1-包含
  24248. in: query
  24249. name: includesub
  24250. type: integer
  24251. produces:
  24252. - application/json
  24253. responses:
  24254. "200":
  24255. description: OK
  24256. schema:
  24257. items:
  24258. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  24259. type: array
  24260. "500":
  24261. description: Internal Server Error
  24262. schema:
  24263. $ref: '#/definitions/app.Response'
  24264. security:
  24265. - ApiKeyAuth: []
  24266. summary: 查询待付款单
  24267. tags:
  24268. - 大连千海金(PCWeb)
  24269. /QhjMgr/QueryTradePosition:
  24270. get:
  24271. parameters:
  24272. - description: 用户ID
  24273. in: query
  24274. name: userid
  24275. required: true
  24276. type: integer
  24277. - description: 用户类型 1-个人 2-企业
  24278. in: query
  24279. name: userinfotype
  24280. type: integer
  24281. - description: 交易模式
  24282. in: query
  24283. name: trademode
  24284. type: integer
  24285. - description: 商品id
  24286. in: query
  24287. name: goodsid
  24288. type: integer
  24289. - description: 名称(模糊搜索账户)
  24290. in: query
  24291. name: filtername
  24292. type: string
  24293. - description: 是否包含子级 1-包含
  24294. in: query
  24295. name: includesub
  24296. type: integer
  24297. produces:
  24298. - application/json
  24299. responses:
  24300. "200":
  24301. description: OK
  24302. schema:
  24303. items:
  24304. $ref: '#/definitions/models.QhjMgrPositionRsp'
  24305. type: array
  24306. "500":
  24307. description: Internal Server Error
  24308. schema:
  24309. $ref: '#/definitions/app.Response'
  24310. security:
  24311. - ApiKeyAuth: []
  24312. summary: 查询持仓汇总
  24313. tags:
  24314. - 大连千海金(PCWeb)
  24315. /QhjSys/QueryAgreementChangeLog:
  24316. get:
  24317. parameters:
  24318. - description: 协议ID
  24319. in: query
  24320. name: agreementid
  24321. type: integer
  24322. - description: 协议版本号
  24323. in: query
  24324. name: agreementversion
  24325. type: integer
  24326. - description: 协议类型 - 1:注册 2:登录 3:交易
  24327. in: query
  24328. name: agreementtype
  24329. type: integer
  24330. - description: 协议编号(模糊匹配)
  24331. in: query
  24332. name: agreementno
  24333. type: string
  24334. - description: 协议名称(模糊匹配)
  24335. in: query
  24336. name: agreementname
  24337. type: string
  24338. produces:
  24339. - application/json
  24340. responses:
  24341. "200":
  24342. description: OK
  24343. schema:
  24344. items:
  24345. $ref: '#/definitions/models.QhjAgreementChangeLog'
  24346. type: array
  24347. "500":
  24348. description: Internal Server Error
  24349. schema:
  24350. $ref: '#/definitions/app.Response'
  24351. security:
  24352. - ApiKeyAuth: []
  24353. summary: 查询协议配置变更流水
  24354. tags:
  24355. - 大连千海金(协议和签约信息)
  24356. /QhjSys/QueryAgreementConfig:
  24357. get:
  24358. parameters:
  24359. - description: 协议ID
  24360. in: query
  24361. name: agreementid
  24362. type: integer
  24363. - description: 协议版本号
  24364. in: query
  24365. name: agreementversion
  24366. type: integer
  24367. - description: 协议类型 - 1:注册 2:登录 3:交易
  24368. in: query
  24369. name: agreementtype
  24370. type: integer
  24371. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  24372. in: query
  24373. name: isvalid
  24374. type: integer
  24375. - description: 协议编号(模糊匹配)
  24376. in: query
  24377. name: agreementno
  24378. type: string
  24379. - description: 协议名称(模糊匹配)
  24380. in: query
  24381. name: agreementname
  24382. type: string
  24383. produces:
  24384. - application/json
  24385. responses:
  24386. "200":
  24387. description: OK
  24388. schema:
  24389. items:
  24390. $ref: '#/definitions/models.QhjAgreementConfig'
  24391. type: array
  24392. "500":
  24393. description: Internal Server Error
  24394. schema:
  24395. $ref: '#/definitions/app.Response'
  24396. security:
  24397. - ApiKeyAuth: []
  24398. summary: 查询协议配置
  24399. tags:
  24400. - 大连千海金(协议和签约信息)
  24401. /QhjSys/QueryCustomerSignStatus:
  24402. get:
  24403. parameters:
  24404. - description: 客户ID
  24405. in: query
  24406. name: userid
  24407. type: integer
  24408. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  24409. in: query
  24410. name: nodetype
  24411. type: integer
  24412. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  24413. in: query
  24414. name: goodsid
  24415. type: integer
  24416. - description: 创建交易日(yyyyMMdd)
  24417. in: query
  24418. name: tradedate
  24419. type: string
  24420. - description: 用户名称(模糊匹配)
  24421. in: query
  24422. name: username
  24423. type: string
  24424. produces:
  24425. - application/json
  24426. responses:
  24427. "200":
  24428. description: OK
  24429. schema:
  24430. items:
  24431. $ref: '#/definitions/models.QhjCustomerSignStatus'
  24432. type: array
  24433. "500":
  24434. description: Internal Server Error
  24435. schema:
  24436. $ref: '#/definitions/app.Response'
  24437. security:
  24438. - ApiKeyAuth: []
  24439. summary: 查询客户协议签约状态
  24440. tags:
  24441. - 大连千海金(协议和签约信息)
  24442. /QhjSys/QueryNodeAgreementConfig:
  24443. get:
  24444. parameters:
  24445. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  24446. in: query
  24447. name: configid
  24448. type: integer
  24449. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  24450. in: query
  24451. name: nodetype
  24452. type: integer
  24453. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  24454. in: query
  24455. name: goodsid
  24456. type: integer
  24457. - description: 协议ID
  24458. in: query
  24459. name: agreementid
  24460. type: integer
  24461. - description: 协议类型 - 1:注册 2:登录 3:交易
  24462. in: query
  24463. name: agreementtype
  24464. type: integer
  24465. - description: 协议版本号
  24466. in: query
  24467. name: agreementversion
  24468. type: integer
  24469. - description: 协议编号(模糊匹配)
  24470. in: query
  24471. name: agreementno
  24472. type: string
  24473. - description: 协议名称(模糊匹配)
  24474. in: query
  24475. name: agreementname
  24476. type: string
  24477. produces:
  24478. - application/json
  24479. responses:
  24480. "200":
  24481. description: OK
  24482. schema:
  24483. items:
  24484. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  24485. type: array
  24486. "500":
  24487. description: Internal Server Error
  24488. schema:
  24489. $ref: '#/definitions/app.Response'
  24490. security:
  24491. - ApiKeyAuth: []
  24492. summary: 查询协议节点配置
  24493. tags:
  24494. - 大连千海金(协议和签约信息)
  24495. /QhjSys/QueryQhjCustomerSignLog:
  24496. get:
  24497. parameters:
  24498. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  24499. in: query
  24500. name: logid
  24501. type: integer
  24502. - description: 客户ID
  24503. in: query
  24504. name: userid
  24505. type: integer
  24506. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  24507. in: query
  24508. name: nodetype
  24509. type: integer
  24510. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  24511. in: query
  24512. name: goodsid
  24513. type: integer
  24514. - description: 协议ID
  24515. in: query
  24516. name: agreementid
  24517. type: integer
  24518. - description: 用户名称(模糊匹配)
  24519. in: query
  24520. name: username
  24521. type: string
  24522. - description: 协议编号(模糊匹配)
  24523. in: query
  24524. name: agreementno
  24525. type: string
  24526. - description: 协议名称(模糊匹配)
  24527. in: query
  24528. name: agreementname
  24529. type: string
  24530. produces:
  24531. - application/json
  24532. responses:
  24533. "200":
  24534. description: OK
  24535. schema:
  24536. items:
  24537. $ref: '#/definitions/models.QhjCustomerSignLog'
  24538. type: array
  24539. "500":
  24540. description: Internal Server Error
  24541. schema:
  24542. $ref: '#/definitions/app.Response'
  24543. security:
  24544. - ApiKeyAuth: []
  24545. summary: 查询客户协议签约流水
  24546. tags:
  24547. - 大连千海金(协议和签约信息)
  24548. /QhjSys/QueryUserNodeCfgAndStatus:
  24549. get:
  24550. parameters:
  24551. - description: 客户ID
  24552. in: query
  24553. name: userid
  24554. type: integer
  24555. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  24556. in: query
  24557. name: configid
  24558. type: integer
  24559. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  24560. in: query
  24561. name: nodetype
  24562. type: string
  24563. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  24564. in: query
  24565. name: goodsid
  24566. type: integer
  24567. - description: 协议ID
  24568. in: query
  24569. name: agreementid
  24570. type: integer
  24571. - description: 协议类型 - 1:注册 2:登录 3:交易
  24572. in: query
  24573. name: agreementtype
  24574. type: integer
  24575. - description: 协议版本号
  24576. in: query
  24577. name: agreementversion
  24578. type: integer
  24579. - description: 协议编号(模糊匹配)
  24580. in: query
  24581. name: agreementno
  24582. type: string
  24583. - description: 协议名称(模糊匹配)
  24584. in: query
  24585. name: agreementname
  24586. type: string
  24587. produces:
  24588. - application/json
  24589. responses:
  24590. "200":
  24591. description: OK
  24592. schema:
  24593. items:
  24594. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  24595. type: array
  24596. "500":
  24597. description: Internal Server Error
  24598. schema:
  24599. $ref: '#/definitions/app.Response'
  24600. security:
  24601. - ApiKeyAuth: []
  24602. summary: 查询用户协议节点配置和状态
  24603. tags:
  24604. - 大连千海金(协议和签约信息)
  24605. /Quote/QueryHistoryDatas:
  24606. get:
  24607. parameters:
  24608. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11: 日线'
  24609. in: query
  24610. name: cycleType
  24611. required: true
  24612. type: integer
  24613. - description: 商品代码
  24614. in: query
  24615. name: goodsCode
  24616. required: true
  24617. type: string
  24618. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  24619. in: query
  24620. name: startTime
  24621. type: string
  24622. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  24623. in: query
  24624. name: endTime
  24625. type: string
  24626. - description: 条数
  24627. in: query
  24628. name: count
  24629. type: integer
  24630. - description: 是否按时间顺序排序(默认为时间倒序排序)
  24631. in: query
  24632. name: isAsc
  24633. type: boolean
  24634. produces:
  24635. - application/json
  24636. responses:
  24637. "200":
  24638. description: OK
  24639. schema:
  24640. $ref: '#/definitions/quote.HistoryData'
  24641. "500":
  24642. description: Internal Server Error
  24643. schema:
  24644. $ref: '#/definitions/app.Response'
  24645. security:
  24646. - ApiKeyAuth: []
  24647. summary: 查询行情历史数据
  24648. tags:
  24649. - 行情服务
  24650. /Quote/QueryHistoryTikDatas:
  24651. get:
  24652. parameters:
  24653. - description: 商品代码
  24654. in: query
  24655. name: goodsCode
  24656. required: true
  24657. type: string
  24658. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  24659. in: query
  24660. name: startTime
  24661. type: string
  24662. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  24663. in: query
  24664. name: endTime
  24665. type: string
  24666. - description: 条数
  24667. in: query
  24668. name: count
  24669. type: integer
  24670. - description: 是否按时间顺序排序(默认为时间倒序排序)
  24671. in: query
  24672. name: isAsc
  24673. type: boolean
  24674. produces:
  24675. - application/json
  24676. responses:
  24677. "200":
  24678. description: OK
  24679. schema:
  24680. $ref: '#/definitions/quote.HistoryTikData'
  24681. "500":
  24682. description: Internal Server Error
  24683. schema:
  24684. $ref: '#/definitions/app.Response'
  24685. security:
  24686. - ApiKeyAuth: []
  24687. summary: 查询行情Tik数据
  24688. tags:
  24689. - 行情服务
  24690. /Quote/QueryQuoteDay:
  24691. get:
  24692. parameters:
  24693. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  24694. in: query
  24695. name: goodsCodes
  24696. required: true
  24697. type: string
  24698. produces:
  24699. - application/json
  24700. responses:
  24701. "200":
  24702. description: OK
  24703. schema:
  24704. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  24705. "500":
  24706. description: Internal Server Error
  24707. schema:
  24708. $ref: '#/definitions/app.Response'
  24709. security:
  24710. - ApiKeyAuth: []
  24711. summary: 获取商品盘面信息
  24712. tags:
  24713. - 行情服务
  24714. /Quote/QueryTSData:
  24715. get:
  24716. parameters:
  24717. - description: 商品代码
  24718. in: query
  24719. name: goodsCode
  24720. required: true
  24721. type: string
  24722. produces:
  24723. - application/json
  24724. responses:
  24725. "200":
  24726. description: OK
  24727. schema:
  24728. $ref: '#/definitions/quote.QueryTSDataRsp'
  24729. "500":
  24730. description: Internal Server Error
  24731. schema:
  24732. $ref: '#/definitions/app.Response'
  24733. security:
  24734. - ApiKeyAuth: []
  24735. summary: 分时图数据查询
  24736. tags:
  24737. - 行情服务
  24738. /SZDZ/QueryConvertConfig:
  24739. get:
  24740. parameters:
  24741. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易 6:交易转花生米(不设置)
  24742. in: query
  24743. name: convertType
  24744. type: integer
  24745. - description: 外部商品代码[JD\PD]
  24746. in: query
  24747. name: outerGoodsCode
  24748. type: string
  24749. - description: 内部商品ID列表[交易],格式:1,2,3
  24750. in: query
  24751. name: innerGoodsIDs
  24752. type: string
  24753. produces:
  24754. - application/json
  24755. responses:
  24756. "200":
  24757. description: OK
  24758. schema:
  24759. $ref: '#/definitions/models.Szdz3convertconfig'
  24760. "500":
  24761. description: Internal Server Error
  24762. schema:
  24763. $ref: '#/definitions/app.Response'
  24764. security:
  24765. - ApiKeyAuth: []
  24766. summary: 查询交易系统转换设置
  24767. tags:
  24768. - 定制【尚志大宗】
  24769. /SZDZ/QueryConvertLog:
  24770. get:
  24771. parameters:
  24772. - description: 资金账户 - 格式:1,2,3
  24773. in: query
  24774. name: accountID
  24775. required: true
  24776. type: string
  24777. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  24778. in: query
  24779. name: startDate
  24780. type: string
  24781. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  24782. in: query
  24783. name: endDate
  24784. type: string
  24785. produces:
  24786. - application/json
  24787. responses:
  24788. "200":
  24789. description: OK
  24790. schema:
  24791. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  24792. "500":
  24793. description: Internal Server Error
  24794. schema:
  24795. $ref: '#/definitions/app.Response'
  24796. security:
  24797. - ApiKeyAuth: []
  24798. summary: 交易系统转换流水查询
  24799. tags:
  24800. - 定制【尚志大宗】
  24801. /SZDZ/QueryGoodsPickup:
  24802. get:
  24803. parameters:
  24804. - description: 资金账户 - 格式:1,2,3
  24805. in: query
  24806. name: accountID
  24807. required: true
  24808. type: string
  24809. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  24810. in: query
  24811. name: takeOrderStatus
  24812. type: integer
  24813. produces:
  24814. - application/json
  24815. responses:
  24816. "200":
  24817. description: OK
  24818. schema:
  24819. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  24820. "500":
  24821. description: Internal Server Error
  24822. schema:
  24823. $ref: '#/definitions/app.Response'
  24824. security:
  24825. - ApiKeyAuth: []
  24826. summary: 商品提货单查询
  24827. tags:
  24828. - 定制【尚志大宗】
  24829. /SZDZ/QueryRecieptOrder:
  24830. get:
  24831. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  24832. parameters:
  24833. - description: 页码
  24834. in: query
  24835. name: page
  24836. type: integer
  24837. - description: 每页条数
  24838. in: query
  24839. name: pagesize
  24840. type: integer
  24841. - description: 商品ID
  24842. in: query
  24843. name: goodsID
  24844. required: true
  24845. type: integer
  24846. - description: 所属账户名称
  24847. in: query
  24848. name: accountName
  24849. type: string
  24850. - description: 市场ID
  24851. in: query
  24852. name: marketID
  24853. type: integer
  24854. - description: 方向 - 0:买 1:卖
  24855. in: query
  24856. name: buyorsell
  24857. required: true
  24858. type: integer
  24859. produces:
  24860. - application/json
  24861. responses:
  24862. "200":
  24863. description: OK
  24864. schema:
  24865. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  24866. "500":
  24867. description: Internal Server Error
  24868. schema:
  24869. $ref: '#/definitions/app.Response'
  24870. security:
  24871. - ApiKeyAuth: []
  24872. summary: 点选挂牌委托单据查询(摘牌大厅)
  24873. tags:
  24874. - 定制【尚志大宗】
  24875. /SZDZ/QuerySZDZTradePosition:
  24876. get:
  24877. parameters:
  24878. - description: 资金账户
  24879. in: query
  24880. name: accountID
  24881. required: true
  24882. type: integer
  24883. produces:
  24884. - application/json
  24885. responses:
  24886. "200":
  24887. description: OK
  24888. schema:
  24889. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  24890. "500":
  24891. description: Internal Server Error
  24892. schema:
  24893. $ref: '#/definitions/app.Response'
  24894. security:
  24895. - ApiKeyAuth: []
  24896. summary: 持仓汇总查询(尚志大宗)
  24897. tags:
  24898. - 定制【尚志大宗】
  24899. /SZDZ/SearchWhite:
  24900. get:
  24901. parameters:
  24902. - description: 用户ID
  24903. in: query
  24904. name: userID
  24905. required: true
  24906. type: integer
  24907. produces:
  24908. - application/json
  24909. responses:
  24910. "200":
  24911. description: OK
  24912. schema:
  24913. $ref: '#/definitions/models.Szdz3searchwhitelist'
  24914. "500":
  24915. description: Internal Server Error
  24916. schema:
  24917. $ref: '#/definitions/app.Response'
  24918. security:
  24919. - ApiKeyAuth: []
  24920. summary: 搜索白名单
  24921. tags:
  24922. - 定制【尚志大宗】
  24923. /Search/SearchGoodses:
  24924. get:
  24925. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  24926. parameters:
  24927. - description: 检索内容
  24928. in: query
  24929. name: content
  24930. required: true
  24931. type: string
  24932. - description: 交易模式,格式:1,2,3
  24933. in: query
  24934. name: tradeModes
  24935. type: string
  24936. produces:
  24937. - application/json
  24938. responses:
  24939. "200":
  24940. description: OK
  24941. schema:
  24942. $ref: '#/definitions/models.SearchGoods'
  24943. "500":
  24944. description: Internal Server Error
  24945. schema:
  24946. $ref: '#/definitions/app.Response'
  24947. summary: 检索商品信息
  24948. tags:
  24949. - 检索服务
  24950. /TaAccount/GetTaAccounts:
  24951. get:
  24952. parameters:
  24953. - description: 登录账户
  24954. in: query
  24955. name: loginID
  24956. required: true
  24957. type: integer
  24958. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  24959. in: query
  24960. name: taAccountType
  24961. type: integer
  24962. produces:
  24963. - application/json
  24964. responses:
  24965. "200":
  24966. description: OK
  24967. schema:
  24968. $ref: '#/definitions/models.Taaccount'
  24969. "500":
  24970. description: Internal Server Error
  24971. schema:
  24972. $ref: '#/definitions/app.Response'
  24973. security:
  24974. - ApiKeyAuth: []
  24975. summary: 获取资金账户信息
  24976. tags:
  24977. - 资金账户
  24978. /TaAccount/QueryAmountLog:
  24979. get:
  24980. parameters:
  24981. - description: 页码
  24982. in: query
  24983. name: page
  24984. type: integer
  24985. - description: 每页条数
  24986. in: query
  24987. name: pagesize
  24988. type: integer
  24989. - description: 资金账户 - 格式:1,2,3
  24990. in: query
  24991. name: accountID
  24992. required: true
  24993. type: string
  24994. - description: 资金操作类型 - 格式:1,2,3
  24995. in: query
  24996. name: OperateType
  24997. type: string
  24998. produces:
  24999. - application/json
  25000. responses:
  25001. "200":
  25002. description: OK
  25003. schema:
  25004. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  25005. "500":
  25006. description: Internal Server Error
  25007. schema:
  25008. $ref: '#/definitions/app.Response'
  25009. security:
  25010. - ApiKeyAuth: []
  25011. summary: 资金流水查询(当前)
  25012. tags:
  25013. - 资金账户
  25014. /TaAccount/QueryHisAmountLog:
  25015. get:
  25016. parameters:
  25017. - description: 页码
  25018. in: query
  25019. name: page
  25020. type: integer
  25021. - description: 每页条数
  25022. in: query
  25023. name: pagesize
  25024. type: integer
  25025. - description: 资金账户 - 格式:1,2,3
  25026. in: query
  25027. name: accountID
  25028. required: true
  25029. type: string
  25030. - description: 资金操作类型 - 格式:1,2,3
  25031. in: query
  25032. name: OperateType
  25033. type: string
  25034. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  25035. in: query
  25036. name: startDate
  25037. type: string
  25038. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  25039. in: query
  25040. name: endDate
  25041. type: string
  25042. produces:
  25043. - application/json
  25044. responses:
  25045. "200":
  25046. description: OK
  25047. schema:
  25048. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  25049. "500":
  25050. description: Internal Server Error
  25051. schema:
  25052. $ref: '#/definitions/app.Response'
  25053. security:
  25054. - ApiKeyAuth: []
  25055. summary: 资金流水查询(历史)
  25056. tags:
  25057. - 资金账户
  25058. /Tjmd/QueryQuoteGoodsList:
  25059. get:
  25060. description: 用户类型必传, 查掉期报价列表 marketids=掉期市场id
  25061. parameters:
  25062. - description: 用户类型
  25063. in: query
  25064. name: usertype
  25065. required: true
  25066. type: integer
  25067. - description: 市场id, 格式 1,2,3
  25068. in: query
  25069. name: marketids
  25070. type: string
  25071. - description: 商品组id
  25072. in: query
  25073. name: goodsgroupid
  25074. type: integer
  25075. - description: 商品id
  25076. in: query
  25077. name: goodsid
  25078. type: integer
  25079. produces:
  25080. - application/json
  25081. responses:
  25082. "200":
  25083. description: OK
  25084. schema:
  25085. items:
  25086. $ref: '#/definitions/models.TjmdQuoteGoods'
  25087. type: array
  25088. "500":
  25089. description: Internal Server Error
  25090. schema:
  25091. $ref: '#/definitions/app.Response'
  25092. security:
  25093. - ApiKeyAuth: []
  25094. summary: 查询掉期报价列表
  25095. tags:
  25096. - 天津麦顿
  25097. /Tjmd/QueryTjmdTodayAccountMargin:
  25098. get:
  25099. parameters:
  25100. - description: 市场id
  25101. in: query
  25102. name: marketid
  25103. type: string
  25104. - description: 商品id
  25105. in: query
  25106. name: goodsid
  25107. type: string
  25108. - description: 资金账号
  25109. in: query
  25110. name: accountid
  25111. type: string
  25112. produces:
  25113. - application/json
  25114. responses:
  25115. "200":
  25116. description: OK
  25117. schema:
  25118. items:
  25119. $ref: '#/definitions/models.TjmdTodayAccountMargin'
  25120. type: array
  25121. "500":
  25122. description: Internal Server Error
  25123. schema:
  25124. $ref: '#/definitions/app.Response'
  25125. security:
  25126. - ApiKeyAuth: []
  25127. summary: 查询今日账户保证金配置
  25128. tags:
  25129. - 天津麦顿
  25130. /Tjmd/QueryTjmdTradeOrderDetail:
  25131. get:
  25132. description: 用户类型必传, 投资者只能看到自营会员的单, 反之亦然
  25133. parameters:
  25134. - description: 页码
  25135. in: query
  25136. name: page
  25137. type: integer
  25138. - description: 每页条数
  25139. in: query
  25140. name: pagesize
  25141. type: integer
  25142. - description: 用户id
  25143. in: query
  25144. name: userid
  25145. required: true
  25146. type: integer
  25147. - description: 用户类型
  25148. in: query
  25149. name: usertype
  25150. required: true
  25151. type: integer
  25152. - description: 市场id, 格式 1,2,3
  25153. in: query
  25154. name: marketids
  25155. type: string
  25156. - description: 商品id
  25157. in: query
  25158. name: goodsid
  25159. required: true
  25160. type: integer
  25161. - description: 买卖方向 0-买 1-卖
  25162. in: query
  25163. name: buyorsell
  25164. required: true
  25165. type: integer
  25166. produces:
  25167. - application/json
  25168. responses:
  25169. "200":
  25170. description: OK
  25171. schema:
  25172. items:
  25173. $ref: '#/definitions/models.TjmdTradeOrderDetail'
  25174. type: array
  25175. "500":
  25176. description: Internal Server Error
  25177. schema:
  25178. $ref: '#/definitions/app.Response'
  25179. security:
  25180. - ApiKeyAuth: []
  25181. summary: 查询掉期买卖大厅
  25182. tags:
  25183. - 天津麦顿
  25184. /Tjmd/QueryTjmdTransferApply:
  25185. get:
  25186. parameters:
  25187. - description: 类型 1-我的申请 2-对方申请
  25188. in: query
  25189. name: applytype
  25190. required: true
  25191. type: integer
  25192. - description: 市场id, 格式 1,2,3
  25193. in: query
  25194. name: marketids
  25195. type: string
  25196. - description: 资金账号, 格式 25000000001,25000000003
  25197. in: query
  25198. name: accountids
  25199. type: string
  25200. produces:
  25201. - application/json
  25202. responses:
  25203. "200":
  25204. description: OK
  25205. schema:
  25206. items:
  25207. $ref: '#/definitions/models.TjmdTransferApply'
  25208. type: array
  25209. "500":
  25210. description: Internal Server Error
  25211. schema:
  25212. $ref: '#/definitions/app.Response'
  25213. security:
  25214. - ApiKeyAuth: []
  25215. summary: 查询掉期协议单
  25216. tags:
  25217. - 天津麦顿
  25218. /Trade/QueryRecieptOrder:
  25219. get:
  25220. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  25221. parameters:
  25222. - description: 页码
  25223. in: query
  25224. name: page
  25225. type: integer
  25226. - description: 每页条数
  25227. in: query
  25228. name: pagesize
  25229. type: integer
  25230. - description: 商品ID
  25231. in: query
  25232. name: goodsID
  25233. required: true
  25234. type: integer
  25235. - description: 所属账户名称
  25236. in: query
  25237. name: accountName
  25238. type: string
  25239. - description: 市场ID
  25240. in: query
  25241. name: marketID
  25242. type: integer
  25243. - description: 方向 - 0:买 1:卖
  25244. in: query
  25245. name: buyorsell
  25246. required: true
  25247. type: integer
  25248. produces:
  25249. - application/json
  25250. responses:
  25251. "200":
  25252. description: OK
  25253. schema:
  25254. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  25255. "500":
  25256. description: Internal Server Error
  25257. schema:
  25258. $ref: '#/definitions/app.Response'
  25259. security:
  25260. - ApiKeyAuth: []
  25261. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  25262. tags:
  25263. - 通用交易
  25264. /User/AddMessageBoard:
  25265. post:
  25266. parameters:
  25267. - description: 用户ID
  25268. in: query
  25269. name: userID
  25270. required: true
  25271. type: integer
  25272. - description: 留言信息
  25273. in: query
  25274. name: message
  25275. required: true
  25276. type: string
  25277. - description: 联系电话
  25278. in: query
  25279. name: contactNum
  25280. required: true
  25281. type: string
  25282. produces:
  25283. - application/json
  25284. responses:
  25285. "200":
  25286. description: OK
  25287. schema:
  25288. $ref: '#/definitions/app.Response'
  25289. "500":
  25290. description: Internal Server Error
  25291. schema:
  25292. $ref: '#/definitions/app.Response'
  25293. security:
  25294. - ApiKeyAuth: []
  25295. summary: 添加用户留言板信息
  25296. tags:
  25297. - 用户信息
  25298. /User/AddUserFavoriteGoods:
  25299. post:
  25300. parameters:
  25301. - description: 用户ID
  25302. in: query
  25303. name: userID
  25304. required: true
  25305. type: integer
  25306. - description: 商品ID
  25307. in: query
  25308. name: goodsID
  25309. required: true
  25310. type: integer
  25311. produces:
  25312. - application/json
  25313. responses:
  25314. "200":
  25315. description: OK
  25316. schema:
  25317. $ref: '#/definitions/app.Response'
  25318. "500":
  25319. description: Internal Server Error
  25320. schema:
  25321. $ref: '#/definitions/app.Response'
  25322. security:
  25323. - ApiKeyAuth: []
  25324. summary: 添加用户商品收藏信息
  25325. tags:
  25326. - 用户信息
  25327. /User/GetLoginID:
  25328. get:
  25329. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  25330. parameters:
  25331. - description: 登录代码
  25332. in: query
  25333. name: username
  25334. required: true
  25335. type: string
  25336. produces:
  25337. - application/json
  25338. responses:
  25339. "200":
  25340. description: OK
  25341. schema:
  25342. $ref: '#/definitions/app.Response'
  25343. "500":
  25344. description: Internal Server Error
  25345. schema:
  25346. $ref: '#/definitions/app.Response'
  25347. summary: 获取登录ID
  25348. tags:
  25349. - 用户信息
  25350. /User/GetUserAccount:
  25351. get:
  25352. parameters:
  25353. - description: 用户ID
  25354. in: query
  25355. name: userID
  25356. required: true
  25357. type: integer
  25358. produces:
  25359. - application/json
  25360. responses:
  25361. "200":
  25362. description: OK
  25363. schema:
  25364. $ref: '#/definitions/models.Useraccount'
  25365. "500":
  25366. description: Internal Server Error
  25367. schema:
  25368. $ref: '#/definitions/app.Response'
  25369. security:
  25370. - ApiKeyAuth: []
  25371. summary: 获取用户账号信息
  25372. tags:
  25373. - 用户信息
  25374. /User/GetUserAuthStatus:
  25375. get:
  25376. parameters:
  25377. - description: 用户ID
  25378. in: query
  25379. name: userID
  25380. required: true
  25381. type: integer
  25382. produces:
  25383. - application/json
  25384. responses:
  25385. "200":
  25386. description: OK
  25387. schema:
  25388. $ref: '#/definitions/app.Response'
  25389. "500":
  25390. description: Internal Server Error
  25391. schema:
  25392. $ref: '#/definitions/app.Response'
  25393. security:
  25394. - ApiKeyAuth: []
  25395. summary: 获取用户实名认证状态
  25396. tags:
  25397. - 用户信息
  25398. /User/LoginQuery:
  25399. get:
  25400. parameters:
  25401. - description: 登录账号
  25402. in: query
  25403. name: loginID
  25404. required: true
  25405. type: integer
  25406. produces:
  25407. - application/json
  25408. responses:
  25409. "200":
  25410. description: OK
  25411. schema:
  25412. $ref: '#/definitions/user.LoginQueryRsp'
  25413. "500":
  25414. description: Internal Server Error
  25415. schema:
  25416. $ref: '#/definitions/app.Response'
  25417. security:
  25418. - ApiKeyAuth: []
  25419. summary: 账户登录后信息查询
  25420. tags:
  25421. - 用户信息
  25422. /User/QueryMessageBoard:
  25423. get:
  25424. parameters:
  25425. - description: 用户ID
  25426. in: query
  25427. name: userID
  25428. required: true
  25429. type: integer
  25430. produces:
  25431. - application/json
  25432. responses:
  25433. "200":
  25434. description: OK
  25435. schema:
  25436. $ref: '#/definitions/models.Messageboard'
  25437. "500":
  25438. description: Internal Server Error
  25439. schema:
  25440. $ref: '#/definitions/app.Response'
  25441. security:
  25442. - ApiKeyAuth: []
  25443. summary: 获取用户留言板信息
  25444. tags:
  25445. - 用户信息
  25446. /User/QueryUserFavoriteGoodses:
  25447. get:
  25448. parameters:
  25449. - description: 用户ID
  25450. in: query
  25451. name: userID
  25452. required: true
  25453. type: integer
  25454. produces:
  25455. - application/json
  25456. responses:
  25457. "200":
  25458. description: OK
  25459. schema:
  25460. $ref: '#/definitions/models.Userfavoritegoods'
  25461. "500":
  25462. description: Internal Server Error
  25463. schema:
  25464. $ref: '#/definitions/app.Response'
  25465. security:
  25466. - ApiKeyAuth: []
  25467. summary: 获取用户商品收藏信息
  25468. tags:
  25469. - 用户信息
  25470. /User/QueryUserInfo:
  25471. get:
  25472. parameters:
  25473. - description: 用户ID
  25474. in: query
  25475. name: userID
  25476. required: true
  25477. type: integer
  25478. - description: 是否解密
  25479. in: query
  25480. name: isDecrypt
  25481. type: boolean
  25482. produces:
  25483. - application/json
  25484. responses:
  25485. "200":
  25486. description: OK
  25487. schema:
  25488. $ref: '#/definitions/models.Userinfo'
  25489. "500":
  25490. description: Internal Server Error
  25491. schema:
  25492. $ref: '#/definitions/app.Response'
  25493. security:
  25494. - ApiKeyAuth: []
  25495. summary: 获取用户信息
  25496. tags:
  25497. - 用户信息
  25498. /User/QueryUserReferNum:
  25499. get:
  25500. parameters:
  25501. - description: 用户ID
  25502. in: query
  25503. name: userID
  25504. required: true
  25505. type: integer
  25506. produces:
  25507. - application/json
  25508. responses:
  25509. "200":
  25510. description: OK
  25511. schema:
  25512. $ref: '#/definitions/app.Response'
  25513. "500":
  25514. description: Internal Server Error
  25515. schema:
  25516. $ref: '#/definitions/app.Response'
  25517. summary: 获取用户邀请码
  25518. tags:
  25519. - 用户信息
  25520. /User/RemoveUserFavoriteGoods:
  25521. post:
  25522. parameters:
  25523. - description: 用户ID
  25524. in: query
  25525. name: userID
  25526. required: true
  25527. type: integer
  25528. - description: 商品ID
  25529. in: query
  25530. name: goodsID
  25531. required: true
  25532. type: integer
  25533. produces:
  25534. - application/json
  25535. responses:
  25536. "200":
  25537. description: OK
  25538. schema:
  25539. $ref: '#/definitions/app.Response'
  25540. "500":
  25541. description: Internal Server Error
  25542. schema:
  25543. $ref: '#/definitions/app.Response'
  25544. security:
  25545. - ApiKeyAuth: []
  25546. summary: 移除用户商品收藏信息
  25547. tags:
  25548. - 用户信息
  25549. /User/UpdateUserAccountStatus:
  25550. post:
  25551. parameters:
  25552. - description: 用户ID
  25553. in: query
  25554. name: userID
  25555. required: true
  25556. type: integer
  25557. - description: 账户状态 - 4:正常 6:注销(停用)
  25558. in: query
  25559. name: accountStatus
  25560. required: true
  25561. type: integer
  25562. produces:
  25563. - application/json
  25564. responses:
  25565. "200":
  25566. description: OK
  25567. schema:
  25568. $ref: '#/definitions/app.Response'
  25569. "500":
  25570. description: Internal Server Error
  25571. schema:
  25572. $ref: '#/definitions/app.Response'
  25573. security:
  25574. - ApiKeyAuth: []
  25575. summary: 更新用户状态
  25576. tags:
  25577. - 用户信息
  25578. /WRTrade/GetAllDeliveryGoods:
  25579. get:
  25580. produces:
  25581. - application/json
  25582. - application/json
  25583. responses:
  25584. "200":
  25585. description: OK
  25586. schema:
  25587. $ref: '#/definitions/app.Response'
  25588. "500":
  25589. description: Internal Server Error
  25590. schema:
  25591. $ref: '#/definitions/app.Response'
  25592. security:
  25593. - ApiKeyAuth: []
  25594. - ApiKeyAuth: []
  25595. summary: 获取带仓单分类的种类信息
  25596. tags:
  25597. - 仓单贸易
  25598. - 仓单贸易
  25599. /WrTrade2/QueryFaProductDetail:
  25600. get:
  25601. description: 页面 买卖大厅 -> 选择融资方案
  25602. parameters:
  25603. - description: 仓单要素id
  25604. in: query
  25605. name: wrfactortypeid
  25606. required: true
  25607. type: integer
  25608. produces:
  25609. - application/json
  25610. responses:
  25611. "200":
  25612. description: OK
  25613. schema:
  25614. items:
  25615. $ref: '#/definitions/models.WrFAProductDetail'
  25616. type: array
  25617. "500":
  25618. description: Internal Server Error
  25619. schema:
  25620. $ref: '#/definitions/app.Response'
  25621. security:
  25622. - ApiKeyAuth: []
  25623. summary: 查询融资产品列表
  25624. tags:
  25625. - 仓单贸易v2
  25626. /WrTrade2/QueryFilterItem:
  25627. get:
  25628. parameters:
  25629. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  25630. in: query
  25631. name: itype
  25632. required: true
  25633. type: string
  25634. produces:
  25635. - application/json
  25636. responses:
  25637. "200":
  25638. description: OK
  25639. schema:
  25640. items:
  25641. $ref: '#/definitions/models.WrFilterItem'
  25642. type: array
  25643. "500":
  25644. description: Internal Server Error
  25645. schema:
  25646. $ref: '#/definitions/app.Response'
  25647. security:
  25648. - ApiKeyAuth: []
  25649. summary: 查询筛选框列表 - 作废(以前给pcweb简单筛选框用的,后来改版了)
  25650. tags:
  25651. - 仓单贸易v2
  25652. /WrTrade2/QueryFtDeliveryGoods:
  25653. get:
  25654. produces:
  25655. - application/json
  25656. responses:
  25657. "200":
  25658. description: OK
  25659. schema:
  25660. items:
  25661. $ref: '#/definitions/models.WrFtDeliveryGoods'
  25662. type: array
  25663. "500":
  25664. description: Internal Server Error
  25665. schema:
  25666. $ref: '#/definitions/app.Response'
  25667. security:
  25668. - ApiKeyAuth: []
  25669. summary: 查询品种品类筛选框列表
  25670. tags:
  25671. - 仓单贸易v2
  25672. /WrTrade2/QueryHoldLB:
  25673. get:
  25674. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  25675. parameters:
  25676. - description: 资金账号
  25677. in: query
  25678. name: accountid
  25679. required: true
  25680. type: integer
  25681. - description: 仓库id
  25682. in: query
  25683. name: warehouseid
  25684. type: integer
  25685. - description: 品种id
  25686. in: query
  25687. name: deliverygoodsid
  25688. type: integer
  25689. - description: 品类id
  25690. in: query
  25691. name: wrstandardid
  25692. type: integer
  25693. - description: 仓单要素id
  25694. in: query
  25695. name: wrfactortypeid
  25696. type: integer
  25697. produces:
  25698. - application/json
  25699. responses:
  25700. "200":
  25701. description: OK
  25702. schema:
  25703. items:
  25704. $ref: '#/definitions/models.WrHoldLB'
  25705. type: array
  25706. "500":
  25707. description: Internal Server Error
  25708. schema:
  25709. $ref: '#/definitions/app.Response'
  25710. security:
  25711. - ApiKeyAuth: []
  25712. summary: 查询仓单持有记录
  25713. tags:
  25714. - 仓单贸易v2
  25715. /WrTrade2/QueryOrderQuote:
  25716. get:
  25717. description: 仓单交易 wrfactortypeid 唯一确定1条记录, 仓单预售 wrfactortypeid + deliverymonth 唯一确定1条记录
  25718. parameters:
  25719. - description: 页码
  25720. in: query
  25721. name: page
  25722. type: integer
  25723. - description: 每页条数
  25724. in: query
  25725. name: pagesize
  25726. type: integer
  25727. - description: 仓单贸易市场id
  25728. in: query
  25729. name: marketid
  25730. type: integer
  25731. - description: 价格方式 - 1:固定价 2-浮动价
  25732. in: query
  25733. name: wrpricetype
  25734. required: true
  25735. type: integer
  25736. - description: 0:仓单预售 1:仓单贸易
  25737. in: query
  25738. name: haswr
  25739. required: true
  25740. type: integer
  25741. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  25742. in: query
  25743. name: dgitemname
  25744. type: string
  25745. - description: 仓库id(筛选条件)
  25746. in: query
  25747. name: warehouseid
  25748. type: integer
  25749. - description: 品种id
  25750. in: query
  25751. name: deliverygoodsid
  25752. type: integer
  25753. - description: 品类id
  25754. in: query
  25755. name: wrstandardid
  25756. type: integer
  25757. - description: 仓单要素id
  25758. in: query
  25759. name: wrfactortypeid
  25760. type: integer
  25761. - description: 交收月(yyyy-mm) 仓单预售填写
  25762. in: query
  25763. name: deliverymonth
  25764. type: string
  25765. produces:
  25766. - application/json
  25767. responses:
  25768. "200":
  25769. description: OK
  25770. schema:
  25771. items:
  25772. $ref: '#/definitions/models.WrOrderQuote'
  25773. type: array
  25774. "500":
  25775. description: Internal Server Error
  25776. schema:
  25777. $ref: '#/definitions/app.Response'
  25778. security:
  25779. - ApiKeyAuth: []
  25780. summary: 查询大厅行情列表
  25781. tags:
  25782. - 仓单贸易v2
  25783. /WrTrade2/QueryOrderQuoteDetail:
  25784. get:
  25785. parameters:
  25786. - description: 页码
  25787. in: query
  25788. name: page
  25789. type: integer
  25790. - description: 每页条数
  25791. in: query
  25792. name: pagesize
  25793. type: integer
  25794. - description: 仓单贸易市场id
  25795. in: query
  25796. name: marketid
  25797. type: integer
  25798. - description: 价格方式 - 1:固定价 2-浮动价
  25799. in: query
  25800. name: wrpricetype
  25801. required: true
  25802. type: integer
  25803. - description: 0:仓单预售 1:仓单贸易
  25804. in: query
  25805. name: haswr
  25806. required: true
  25807. type: integer
  25808. - description: 仓单要素id
  25809. in: query
  25810. name: wrfactortypeid
  25811. required: true
  25812. type: integer
  25813. - description: 期货商品id(浮动价方式时填)
  25814. in: query
  25815. name: goodsid
  25816. type: integer
  25817. - description: 买卖方向 0-买 1-卖
  25818. in: query
  25819. name: buyorsell
  25820. required: true
  25821. type: integer
  25822. - description: 交收月(yyyy-mm) 查仓单预售的买卖大厅时填写
  25823. in: query
  25824. name: deliverymonth
  25825. type: string
  25826. produces:
  25827. - application/json
  25828. responses:
  25829. "200":
  25830. description: OK
  25831. schema:
  25832. items:
  25833. $ref: '#/definitions/models.WrOrderQuoteDetail'
  25834. type: array
  25835. "500":
  25836. description: Internal Server Error
  25837. schema:
  25838. $ref: '#/definitions/app.Response'
  25839. security:
  25840. - ApiKeyAuth: []
  25841. summary: 查询买卖大厅
  25842. tags:
  25843. - 仓单贸易v2
  25844. /WrTrade2/QueryOrderQuoteMyq:
  25845. get:
  25846. parameters:
  25847. - description: 页码
  25848. in: query
  25849. name: page
  25850. type: integer
  25851. - description: 每页条数
  25852. in: query
  25853. name: pagesize
  25854. type: integer
  25855. - description: 用户id
  25856. in: query
  25857. name: userid
  25858. required: true
  25859. type: integer
  25860. - description: 仓单贸易市场id
  25861. in: query
  25862. name: marketid
  25863. type: integer
  25864. - description: 0:仓单预售 1:仓单贸易
  25865. in: query
  25866. name: haswr
  25867. required: true
  25868. type: integer
  25869. - description: 买卖方向 0-买 1-卖
  25870. in: query
  25871. name: buyorsell
  25872. required: true
  25873. type: integer
  25874. - description: 品种id
  25875. in: query
  25876. name: deliverygoodsid
  25877. type: integer
  25878. - description: 品类id
  25879. in: query
  25880. name: wrstandardid
  25881. type: integer
  25882. - description: 交收月(yyyy-mm) 仓单预售填写
  25883. in: query
  25884. name: deliverymonth
  25885. type: string
  25886. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  25887. in: query
  25888. name: dgitemname
  25889. type: string
  25890. produces:
  25891. - application/json
  25892. responses:
  25893. "200":
  25894. description: OK
  25895. schema:
  25896. items:
  25897. $ref: '#/definitions/models.WrQuoteOrderMyq'
  25898. type: array
  25899. "500":
  25900. description: Internal Server Error
  25901. schema:
  25902. $ref: '#/definitions/app.Response'
  25903. security:
  25904. - ApiKeyAuth: []
  25905. summary: 查询贸易圈挂牌大厅
  25906. tags:
  25907. - 仓单贸易v2
  25908. /WrTrade2/QueryPerformancePlan:
  25909. get:
  25910. parameters:
  25911. - description: 用户id
  25912. in: query
  25913. name: userid
  25914. required: true
  25915. type: integer
  25916. - description: 买卖方向 0-买 1-卖
  25917. in: query
  25918. name: buyorsell
  25919. required: true
  25920. type: integer
  25921. produces:
  25922. - application/json
  25923. responses:
  25924. "200":
  25925. description: OK
  25926. schema:
  25927. items:
  25928. $ref: '#/definitions/models.WrPerformancePlan'
  25929. type: array
  25930. "500":
  25931. description: Internal Server Error
  25932. schema:
  25933. $ref: '#/definitions/app.Response'
  25934. security:
  25935. - ApiKeyAuth: []
  25936. summary: 查询履约信息
  25937. tags:
  25938. - 仓单贸易v2
  25939. /WrTrade2/QueryPermancePlanTmp:
  25940. get:
  25941. description: 返回指定用户的模板和公共模板(用户id为空)
  25942. parameters:
  25943. - description: 用户id
  25944. in: query
  25945. name: userid
  25946. type: integer
  25947. - description: 模板类型(逗号隔开), 0:通用 1:交割 2:仓单贸易 3:预售集采 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式--失效枚举:4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  25948. in: query
  25949. name: tmptype
  25950. type: string
  25951. - description: 是否包含公共模板(用户id为空的) 1-包含
  25952. in: query
  25953. name: includepub
  25954. type: integer
  25955. produces:
  25956. - application/json
  25957. responses:
  25958. "200":
  25959. description: OK
  25960. schema:
  25961. items:
  25962. $ref: '#/definitions/models.WrPerformanceTemplateEx'
  25963. type: array
  25964. "500":
  25965. description: Internal Server Error
  25966. schema:
  25967. $ref: '#/definitions/app.Response'
  25968. security:
  25969. - ApiKeyAuth: []
  25970. summary: 查询履约模板
  25971. tags:
  25972. - 仓单贸易v2
  25973. /WrTrade2/QueryWrAverageTradePrice:
  25974. get:
  25975. parameters:
  25976. - description: 页码
  25977. in: query
  25978. name: page
  25979. type: integer
  25980. - description: 每页条数
  25981. in: query
  25982. name: pagesize
  25983. type: integer
  25984. - description: 0:仓单预售 1:仓单贸易
  25985. in: query
  25986. name: haswr
  25987. required: true
  25988. type: integer
  25989. - description: 仓单要素id
  25990. in: query
  25991. name: wrfactortypeid
  25992. required: true
  25993. type: integer
  25994. produces:
  25995. - application/json
  25996. responses:
  25997. "200":
  25998. description: OK
  25999. schema:
  26000. items:
  26001. $ref: '#/definitions/models.WrAverageTradePrice'
  26002. type: array
  26003. "500":
  26004. description: Internal Server Error
  26005. schema:
  26006. $ref: '#/definitions/app.Response'
  26007. security:
  26008. - ApiKeyAuth: []
  26009. summary: 查询成交价(历史走势)
  26010. tags:
  26011. - 仓单贸易v2
  26012. /WrTrade2/QueryWrBsGoodsInfo:
  26013. get:
  26014. description: 合约交易/买卖大厅/详情
  26015. parameters:
  26016. - description: 商品id
  26017. in: query
  26018. name: goodsid
  26019. required: true
  26020. type: integer
  26021. produces:
  26022. - application/json
  26023. responses:
  26024. "200":
  26025. description: OK
  26026. schema:
  26027. items:
  26028. $ref: '#/definitions/models.WrBsGoodsInfo'
  26029. type: array
  26030. "500":
  26031. description: Internal Server Error
  26032. schema:
  26033. $ref: '#/definitions/app.Response'
  26034. security:
  26035. - ApiKeyAuth: []
  26036. summary: 查询合约交易买卖大厅详情
  26037. tags:
  26038. - 仓单贸易v2
  26039. /WrTrade2/QueryWrBuybackDetail:
  26040. get:
  26041. parameters:
  26042. - description: 融资合同id
  26043. in: query
  26044. name: scfcontractid
  26045. type: integer
  26046. produces:
  26047. - application/json
  26048. responses:
  26049. "200":
  26050. description: OK
  26051. schema:
  26052. items:
  26053. $ref: '#/definitions/models.WrBuybackDetail'
  26054. type: array
  26055. "500":
  26056. description: Internal Server Error
  26057. schema:
  26058. $ref: '#/definitions/app.Response'
  26059. security:
  26060. - ApiKeyAuth: []
  26061. summary: 查询仓单回购明细
  26062. tags:
  26063. - 仓单贸易v2
  26064. /WrTrade2/QueryWrDeliveryAvalidHoldLB:
  26065. get:
  26066. parameters:
  26067. - description: 资金账号
  26068. in: query
  26069. name: accountid
  26070. required: true
  26071. type: integer
  26072. - description: 商品id
  26073. in: query
  26074. name: goodsid
  26075. required: true
  26076. type: integer
  26077. produces:
  26078. - application/json
  26079. responses:
  26080. "200":
  26081. description: OK
  26082. schema:
  26083. items:
  26084. $ref: '#/definitions/models.WrDeliveryAvalidHoldLB'
  26085. type: array
  26086. "500":
  26087. description: Internal Server Error
  26088. schema:
  26089. $ref: '#/definitions/app.Response'
  26090. security:
  26091. - ApiKeyAuth: []
  26092. summary: 查询合约交收可点选仓单
  26093. tags:
  26094. - 仓单贸易v2
  26095. /WrTrade2/QueryWrDeliveryDetail:
  26096. get:
  26097. parameters:
  26098. - description: 用户id
  26099. in: query
  26100. name: userid
  26101. required: true
  26102. type: integer
  26103. - description: 资金账号id
  26104. in: query
  26105. name: accountid
  26106. type: integer
  26107. produces:
  26108. - application/json
  26109. responses:
  26110. "200":
  26111. description: OK
  26112. schema:
  26113. items:
  26114. $ref: '#/definitions/models.WrDeliveryDetail'
  26115. type: array
  26116. "500":
  26117. description: Internal Server Error
  26118. schema:
  26119. $ref: '#/definitions/app.Response'
  26120. security:
  26121. - ApiKeyAuth: []
  26122. summary: 查询交收
  26123. tags:
  26124. - 仓单贸易v2
  26125. /WrTrade2/QueryWrFactorTypeInfo:
  26126. get:
  26127. parameters:
  26128. - description: 仓单要素id
  26129. in: query
  26130. name: wrfactortypeid
  26131. required: true
  26132. type: integer
  26133. produces:
  26134. - application/json
  26135. responses:
  26136. "200":
  26137. description: OK
  26138. schema:
  26139. items:
  26140. $ref: '#/definitions/models.WrFactorTypeInfo'
  26141. type: array
  26142. "500":
  26143. description: Internal Server Error
  26144. schema:
  26145. $ref: '#/definitions/app.Response'
  26146. security:
  26147. - ApiKeyAuth: []
  26148. summary: 查询仓单要素详细信息
  26149. tags:
  26150. - 仓单贸易v2
  26151. /WrTrade2/QueryWrFactorTypeInfoEx:
  26152. get:
  26153. parameters:
  26154. - description: 仓单要素id
  26155. in: query
  26156. name: wrfactortypeid
  26157. required: true
  26158. type: integer
  26159. produces:
  26160. - application/json
  26161. responses:
  26162. "200":
  26163. description: OK
  26164. schema:
  26165. items:
  26166. $ref: '#/definitions/models.WrTypeItem'
  26167. type: array
  26168. "500":
  26169. description: Internal Server Error
  26170. schema:
  26171. $ref: '#/definitions/app.Response'
  26172. security:
  26173. - ApiKeyAuth: []
  26174. summary: 查询仓单要素详细信息列表项
  26175. tags:
  26176. - 仓单贸易v2
  26177. /WrTrade2/QueryWrFinanceBuyApply:
  26178. get:
  26179. description: 页面 融资信息+ / 申请单
  26180. parameters:
  26181. - description: 用户id
  26182. in: query
  26183. name: userid
  26184. required: true
  26185. type: integer
  26186. produces:
  26187. - application/json
  26188. responses:
  26189. "200":
  26190. description: OK
  26191. schema:
  26192. items:
  26193. $ref: '#/definitions/models.WrFinanceBuyApply'
  26194. type: array
  26195. "500":
  26196. description: Internal Server Error
  26197. schema:
  26198. $ref: '#/definitions/app.Response'
  26199. security:
  26200. - ApiKeyAuth: []
  26201. summary: 查询融资购买申请
  26202. tags:
  26203. - 仓单贸易v2
  26204. /WrTrade2/QueryWrFriendApply:
  26205. get:
  26206. parameters:
  26207. - description: 用户id
  26208. in: query
  26209. name: userid
  26210. required: true
  26211. type: integer
  26212. produces:
  26213. - application/json
  26214. responses:
  26215. "200":
  26216. description: OK
  26217. schema:
  26218. items:
  26219. $ref: '#/definitions/models.WrFriendApply'
  26220. type: array
  26221. "500":
  26222. description: Internal Server Error
  26223. schema:
  26224. $ref: '#/definitions/app.Response'
  26225. security:
  26226. - ApiKeyAuth: []
  26227. summary: 查询好友申请记录
  26228. tags:
  26229. - 仓单贸易v2
  26230. /WrTrade2/QueryWrGoodsInfo:
  26231. get:
  26232. parameters:
  26233. - description: 仓单贸易市场id
  26234. in: query
  26235. name: marketid
  26236. type: integer
  26237. - description: 0:仓单预售 1:仓单贸易
  26238. in: query
  26239. name: haswr
  26240. required: true
  26241. type: integer
  26242. - description: 仓单要素id
  26243. in: query
  26244. name: wrfactortypeid
  26245. required: true
  26246. type: integer
  26247. - description: 履约模板id(如果指定了履约模板id,履约信息将按模板id查, 否则去市场配置表中找模板)
  26248. in: query
  26249. name: tmplateid
  26250. type: integer
  26251. produces:
  26252. - application/json
  26253. responses:
  26254. "200":
  26255. description: OK
  26256. schema:
  26257. items:
  26258. $ref: '#/definitions/models.WrGoodsInfo'
  26259. type: array
  26260. "500":
  26261. description: Internal Server Error
  26262. schema:
  26263. $ref: '#/definitions/app.Response'
  26264. security:
  26265. - ApiKeyAuth: []
  26266. summary: 查询仓单商品信息
  26267. tags:
  26268. - 仓单贸易v2
  26269. /WrTrade2/QueryWrMarketTradeConfig:
  26270. get:
  26271. parameters:
  26272. - description: 市场id
  26273. in: query
  26274. name: marketid
  26275. type: integer
  26276. produces:
  26277. - application/json
  26278. responses:
  26279. "200":
  26280. description: OK
  26281. schema:
  26282. items:
  26283. $ref: '#/definitions/models.WrMarketTradeConfig'
  26284. type: array
  26285. "500":
  26286. description: Internal Server Error
  26287. schema:
  26288. $ref: '#/definitions/app.Response'
  26289. security:
  26290. - ApiKeyAuth: []
  26291. summary: 查询市场交易参数配置
  26292. tags:
  26293. - 仓单贸易v2
  26294. /WrTrade2/QueryWrOrderDetail:
  26295. get:
  26296. description: 页面 现货仓单 | 预售仓单 -> 挂单
  26297. parameters:
  26298. - description: 页码
  26299. in: query
  26300. name: page
  26301. type: integer
  26302. - description: 每页条数
  26303. in: query
  26304. name: pagesize
  26305. type: integer
  26306. - description: 用户id
  26307. in: query
  26308. name: userid
  26309. required: true
  26310. type: integer
  26311. - description: 仓单贸易市场id
  26312. in: query
  26313. name: marketid
  26314. type: integer
  26315. - description: 0:仓单预售 1:仓单贸易
  26316. in: query
  26317. name: haswr
  26318. required: true
  26319. type: integer
  26320. produces:
  26321. - application/json
  26322. responses:
  26323. "200":
  26324. description: OK
  26325. schema:
  26326. items:
  26327. $ref: '#/definitions/models.WrOrderDetail'
  26328. type: array
  26329. "500":
  26330. description: Internal Server Error
  26331. schema:
  26332. $ref: '#/definitions/app.Response'
  26333. security:
  26334. - ApiKeyAuth: []
  26335. summary: 查询仓单委托单(挂单)
  26336. tags:
  26337. - 仓单贸易v2
  26338. /WrTrade2/QueryWrOutInApply:
  26339. get:
  26340. parameters:
  26341. - description: 用户id
  26342. in: query
  26343. name: userid
  26344. required: true
  26345. type: integer
  26346. produces:
  26347. - application/json
  26348. responses:
  26349. "200":
  26350. description: OK
  26351. schema:
  26352. items:
  26353. $ref: '#/definitions/models.WrOutInApply'
  26354. type: array
  26355. "500":
  26356. description: Internal Server Error
  26357. schema:
  26358. $ref: '#/definitions/app.Response'
  26359. security:
  26360. - ApiKeyAuth: []
  26361. summary: 查询提货申请
  26362. tags:
  26363. - 仓单贸易v2
  26364. /WrTrade2/QueryWrPerformancePlanStep:
  26365. get:
  26366. parameters:
  26367. - description: 履约计划id(performanceplanid)
  26368. in: query
  26369. name: planid
  26370. required: true
  26371. type: integer
  26372. - description: 当前步骤id
  26373. in: query
  26374. name: curstepid
  26375. type: integer
  26376. produces:
  26377. - application/json
  26378. responses:
  26379. "200":
  26380. description: OK
  26381. schema:
  26382. items:
  26383. $ref: '#/definitions/models.WrPerformancePlanStep'
  26384. type: array
  26385. "500":
  26386. description: Internal Server Error
  26387. schema:
  26388. $ref: '#/definitions/app.Response'
  26389. security:
  26390. - ApiKeyAuth: []
  26391. summary: 查询履约信息详情
  26392. tags:
  26393. - 仓单贸易v2
  26394. /WrTrade2/QueryWrPerformanceStepType:
  26395. get:
  26396. produces:
  26397. - application/json
  26398. responses:
  26399. "200":
  26400. description: OK
  26401. schema:
  26402. items:
  26403. $ref: '#/definitions/models.WrPerformanceStepType'
  26404. type: array
  26405. "500":
  26406. description: Internal Server Error
  26407. schema:
  26408. $ref: '#/definitions/app.Response'
  26409. security:
  26410. - ApiKeyAuth: []
  26411. summary: 查询履约步骤枚举
  26412. tags:
  26413. - 仓单贸易v2
  26414. /WrTrade2/QueryWrPosition:
  26415. get:
  26416. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  26417. parameters:
  26418. - description: 用户id
  26419. in: query
  26420. name: userid
  26421. required: true
  26422. type: integer
  26423. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  26424. in: query
  26425. name: querytype
  26426. required: true
  26427. type: integer
  26428. - description: 0:仓单预售 1:仓单贸易
  26429. in: query
  26430. name: haswr
  26431. required: true
  26432. type: integer
  26433. - description: 商品要素项名称模糊匹配, 逗号隔开, 如 产地1,品牌1,规格12mm
  26434. in: query
  26435. name: dgitemname
  26436. type: string
  26437. - description: 仓库id(筛选条件)
  26438. in: query
  26439. name: warehouseid
  26440. type: integer
  26441. - description: 品种id
  26442. in: query
  26443. name: deliverygoodsid
  26444. type: integer
  26445. - description: 品类id
  26446. in: query
  26447. name: wrstandardid
  26448. type: integer
  26449. produces:
  26450. - application/json
  26451. responses:
  26452. "200":
  26453. description: OK
  26454. schema:
  26455. items:
  26456. $ref: '#/definitions/models.WrPosition'
  26457. type: array
  26458. "500":
  26459. description: Internal Server Error
  26460. schema:
  26461. $ref: '#/definitions/app.Response'
  26462. security:
  26463. - ApiKeyAuth: []
  26464. summary: 查询现货(预售)仓单持仓
  26465. tags:
  26466. - 仓单贸易v2
  26467. /WrTrade2/QueryWrScfContract:
  26468. get:
  26469. parameters:
  26470. - description: 用户id
  26471. in: query
  26472. name: userid
  26473. required: true
  26474. type: integer
  26475. - description: 融资合同id
  26476. in: query
  26477. name: scfcontractid
  26478. type: integer
  26479. produces:
  26480. - application/json
  26481. responses:
  26482. "200":
  26483. description: OK
  26484. schema:
  26485. items:
  26486. $ref: '#/definitions/models.WrScfContract'
  26487. type: array
  26488. "500":
  26489. description: Internal Server Error
  26490. schema:
  26491. $ref: '#/definitions/app.Response'
  26492. security:
  26493. - ApiKeyAuth: []
  26494. summary: 查询仓单贸易融资合同
  26495. tags:
  26496. - 仓单贸易v2
  26497. /WrTrade2/QueryWrScfContractInterest:
  26498. get:
  26499. parameters:
  26500. - description: 融资合同id
  26501. in: query
  26502. name: scfcontractid
  26503. type: integer
  26504. produces:
  26505. - application/json
  26506. responses:
  26507. "200":
  26508. description: OK
  26509. schema:
  26510. items:
  26511. $ref: '#/definitions/models.WrScfContractInterest'
  26512. type: array
  26513. "500":
  26514. description: Internal Server Error
  26515. schema:
  26516. $ref: '#/definitions/app.Response'
  26517. security:
  26518. - ApiKeyAuth: []
  26519. summary: 查询融资合同费用明细
  26520. tags:
  26521. - 仓单贸易v2
  26522. /WrTrade2/QueryWrSpecialMatchOrder:
  26523. get:
  26524. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  26525. parameters:
  26526. - description: 页码
  26527. in: query
  26528. name: page
  26529. type: integer
  26530. - description: 每页条数
  26531. in: query
  26532. name: pagesize
  26533. type: integer
  26534. - description: 用户id
  26535. in: query
  26536. name: userid
  26537. required: true
  26538. type: integer
  26539. - description: 仓单贸易市场id
  26540. in: query
  26541. name: marketid
  26542. type: integer
  26543. - description: 0:仓单预售 1:仓单贸易
  26544. in: query
  26545. name: haswr
  26546. required: true
  26547. type: integer
  26548. produces:
  26549. - application/json
  26550. responses:
  26551. "200":
  26552. description: OK
  26553. schema:
  26554. items:
  26555. $ref: '#/definitions/models.WrSpecialMatchOrder'
  26556. type: array
  26557. "500":
  26558. description: Internal Server Error
  26559. schema:
  26560. $ref: '#/definitions/app.Response'
  26561. security:
  26562. - ApiKeyAuth: []
  26563. summary: 查询指定成交
  26564. tags:
  26565. - 仓单贸易v2
  26566. /WrTrade2/QueryWrStandardFactoryItem:
  26567. get:
  26568. parameters:
  26569. - description: 品类id
  26570. in: query
  26571. name: wrstandardid
  26572. required: true
  26573. type: integer
  26574. produces:
  26575. - application/json
  26576. responses:
  26577. "200":
  26578. description: OK
  26579. schema:
  26580. items:
  26581. $ref: '#/definitions/models.WrStandardFactoryItemEx'
  26582. type: array
  26583. "500":
  26584. description: Internal Server Error
  26585. schema:
  26586. $ref: '#/definitions/app.Response'
  26587. security:
  26588. - ApiKeyAuth: []
  26589. summary: 查询品类要素定义项
  26590. tags:
  26591. - 仓单贸易v2
  26592. /WrTrade2/QueryWrTradeBargainApply:
  26593. get:
  26594. description: 1.页面 挂单/议价单, 只需传单号就行 2.页面 议价, 查的是作为摘牌方发起的议价单, 参数 userid=登录userid 3. 页面 议价/议价单, 和2类似, 但要指定单号 参数 userid, wrtradeorderid
  26595. parameters:
  26596. - description: 议价人id(摘牌方)
  26597. in: query
  26598. name: userid
  26599. type: integer
  26600. - description: 关联委托单id
  26601. in: query
  26602. name: wrtradeorderid
  26603. type: integer
  26604. - description: 0:仓单预售 1:仓单贸易
  26605. in: query
  26606. name: haswr
  26607. required: true
  26608. type: integer
  26609. produces:
  26610. - application/json
  26611. responses:
  26612. "200":
  26613. description: OK
  26614. schema:
  26615. items:
  26616. $ref: '#/definitions/models.WRTradeBargainApply'
  26617. type: array
  26618. "500":
  26619. description: Internal Server Error
  26620. schema:
  26621. $ref: '#/definitions/app.Response'
  26622. security:
  26623. - ApiKeyAuth: []
  26624. summary: 查询议价单
  26625. tags:
  26626. - 仓单贸易v2
  26627. /WrTrade2/QueryWrTradeDetail:
  26628. get:
  26629. parameters:
  26630. - description: 页码
  26631. in: query
  26632. name: page
  26633. type: integer
  26634. - description: 每页条数
  26635. in: query
  26636. name: pagesize
  26637. type: integer
  26638. - description: 用户id
  26639. in: query
  26640. name: userid
  26641. required: true
  26642. type: integer
  26643. - description: 仓单贸易市场id
  26644. in: query
  26645. name: marketid
  26646. type: integer
  26647. - description: 0:仓单预售 1:仓单贸易
  26648. in: query
  26649. name: haswr
  26650. required: true
  26651. type: integer
  26652. produces:
  26653. - application/json
  26654. responses:
  26655. "200":
  26656. description: OK
  26657. schema:
  26658. items:
  26659. $ref: '#/definitions/models.WrTradeDetail'
  26660. type: array
  26661. "500":
  26662. description: Internal Server Error
  26663. schema:
  26664. $ref: '#/definitions/app.Response'
  26665. security:
  26666. - ApiKeyAuth: []
  26667. summary: 查询仓单成交明细
  26668. tags:
  26669. - 仓单贸易v2
  26670. /WrTrade2/QueryWrTradeOrderDetail:
  26671. get:
  26672. parameters:
  26673. - description: 页码
  26674. in: query
  26675. name: page
  26676. type: integer
  26677. - description: 每页条数
  26678. in: query
  26679. name: pagesize
  26680. type: integer
  26681. - description: 商品id
  26682. in: query
  26683. name: goodsid
  26684. required: true
  26685. type: integer
  26686. - description: 买卖方向 0-买 1-卖
  26687. in: query
  26688. name: buyorsell
  26689. required: true
  26690. type: integer
  26691. produces:
  26692. - application/json
  26693. responses:
  26694. "200":
  26695. description: OK
  26696. schema:
  26697. items:
  26698. $ref: '#/definitions/models.WrTradeOrderDetail'
  26699. type: array
  26700. "500":
  26701. description: Internal Server Error
  26702. schema:
  26703. $ref: '#/definitions/app.Response'
  26704. security:
  26705. - ApiKeyAuth: []
  26706. summary: 查询合约交易买卖大厅
  26707. tags:
  26708. - 仓单贸易v2
  26709. /WrTrade2/QueryWrUserFriend:
  26710. get:
  26711. parameters:
  26712. - description: 用户id
  26713. in: query
  26714. name: userid
  26715. required: true
  26716. type: integer
  26717. - description: 新朋友userid, 如果填写了此项则查找新朋友
  26718. in: query
  26719. name: newuserid
  26720. type: integer
  26721. produces:
  26722. - application/json
  26723. responses:
  26724. "200":
  26725. description: OK
  26726. schema:
  26727. items:
  26728. $ref: '#/definitions/models.WrUserFriend'
  26729. type: array
  26730. "500":
  26731. description: Internal Server Error
  26732. schema:
  26733. $ref: '#/definitions/app.Response'
  26734. security:
  26735. - ApiKeyAuth: []
  26736. summary: 查询我的朋友
  26737. tags:
  26738. - 仓单贸易v2
  26739. /ZJ/GetBankTip:
  26740. get:
  26741. produces:
  26742. - application/json
  26743. responses:
  26744. "200":
  26745. description: OK
  26746. schema:
  26747. type: string
  26748. "500":
  26749. description: Internal Server Error
  26750. schema:
  26751. $ref: '#/definitions/app.Response'
  26752. summary: 获取中江网银端出入金提示信息
  26753. tags:
  26754. - 中江
  26755. /ZJ/GetCusBankChannels:
  26756. get:
  26757. produces:
  26758. - application/json
  26759. responses:
  26760. "200":
  26761. description: OK
  26762. schema:
  26763. items:
  26764. type: string
  26765. type: array
  26766. "500":
  26767. description: Internal Server Error
  26768. schema:
  26769. $ref: '#/definitions/app.Response'
  26770. summary: 获取中江出入金渠道显示列表
  26771. tags:
  26772. - 中江
  26773. securityDefinitions:
  26774. ApiKeyAuth:
  26775. in: header
  26776. name: Authorization
  26777. type: apiKey
  26778. swagger: "2.0"