swagger.yaml 647 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491
  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. type: object
  174. common.QueryTableDefineRsp:
  175. properties:
  176. columns:
  177. description: 列头信息数组
  178. items:
  179. $ref: '#/definitions/models.Tablecolumnconfig'
  180. type: array
  181. remark:
  182. description: Remark
  183. type: string
  184. tabelmenu:
  185. description: 列表菜单
  186. type: string
  187. tablekey:
  188. description: 列表Key
  189. type: string
  190. tablename:
  191. description: 列表名称
  192. type: string
  193. tabletype:
  194. description: 列表类型 - 1:管理端 2:终端
  195. type: integer
  196. required:
  197. - tablekey
  198. type: object
  199. common.QueryTraderMenuRsp:
  200. properties:
  201. OperationMenu:
  202. description: 功能菜单
  203. items:
  204. $ref: '#/definitions/models.OperationPrimaryMenu'
  205. type: array
  206. QuoteMenu:
  207. description: 报价牌分类菜单
  208. items:
  209. $ref: '#/definitions/models.QuotePrimaryMenu'
  210. type: array
  211. type: object
  212. cptrade.Cptradepositioncancel:
  213. properties:
  214. accountid:
  215. description: 申请人账户ID
  216. type: integer
  217. applystatus:
  218. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  219. type: integer
  220. applytime:
  221. description: 申请时间
  222. type: string
  223. cancelid:
  224. description: 注销ID(SEQ_CPTRADE_POSITIONCANCEL)
  225. type: integer
  226. cancelqty:
  227. description: 注销数量
  228. type: integer
  229. createtime:
  230. description: 创建时间
  231. type: string
  232. creatorid:
  233. description: 创建人ID
  234. type: integer
  235. creatorname:
  236. description: 创建人
  237. type: string
  238. goodscode:
  239. description: 订单商品代码
  240. type: string
  241. goodsid:
  242. description: 商品ID
  243. type: integer
  244. goodsname:
  245. description: 订单商品名称
  246. type: string
  247. goodunit:
  248. description: 报价单位
  249. type: string
  250. handlestatus:
  251. description: 处理状态
  252. type: integer
  253. marketid:
  254. description: 市场ID
  255. type: integer
  256. marketname:
  257. description: 市场名称
  258. type: string
  259. tradedate:
  260. description: 交易日(yyyyMMdd)
  261. type: string
  262. userid:
  263. description: 申请人ID
  264. type: integer
  265. required:
  266. - cancelid
  267. type: object
  268. cptrade.Cptradepresaleapply:
  269. properties:
  270. accountid:
  271. description: 申请人账户ID
  272. type: integer
  273. applyid:
  274. description: 申请ID(181+Unix秒时间戳(10位)+xxxxxx)
  275. type: integer
  276. applyremark:
  277. description: 申请备注
  278. type: string
  279. applystatus:
  280. description: 申请状态 - 1:已提交 2:初审通过 3:初审拒绝 4:初审失败 5复审通过 6:复审拒绝 7:复审失败 8:已撤销
  281. type: integer
  282. applytime:
  283. description: 申请时间
  284. type: string
  285. attachmenturl:
  286. description: 附件地址
  287. type: string
  288. endtime:
  289. description: 预售结束时间
  290. type: string
  291. goodscode:
  292. description: 商品代码
  293. type: string
  294. goodsid:
  295. description: 商品ID
  296. type: integer
  297. goodsname:
  298. description: 商品名称
  299. type: string
  300. goodunit:
  301. description: 报价单位
  302. type: string
  303. handlestatus:
  304. description: 处理状态
  305. type: integer
  306. marketid:
  307. description: 预售市场ID
  308. type: integer
  309. marketname:
  310. description: 预售市场名称
  311. type: string
  312. presaleqty:
  313. description: 预售数量
  314. type: integer
  315. relatedgoodscode:
  316. description: 关联交易合约代码
  317. type: string
  318. relatedgoodsid:
  319. description: 关联交易合约ID
  320. type: integer
  321. relatedgoodsname:
  322. description: 关联交易合约名称
  323. type: string
  324. starttime:
  325. description: 预售开始时间
  326. type: string
  327. tradedate:
  328. description: 交易日(yyyyMMdd)
  329. type: string
  330. trademode:
  331. description: 交易模式 - 16:挂牌点选 21:大宗竞拍
  332. type: integer
  333. userid:
  334. description: 申请人ID
  335. type: integer
  336. required:
  337. - applyid
  338. type: object
  339. cptrade.Cptradeusergoodsdata:
  340. properties:
  341. EnabledQty:
  342. description: 可用量
  343. type: integer
  344. GoodsCode:
  345. description: 订单商品代码
  346. type: string
  347. GoodsName:
  348. description: 订单商品名称
  349. type: string
  350. WRStandardCode:
  351. description: 仓单标准代码
  352. type: string
  353. WRStandardName:
  354. description: 仓单标准名称
  355. type: string
  356. accountid:
  357. description: 账户ID
  358. type: integer
  359. cancelqty:
  360. description: 注销量
  361. type: integer
  362. curpresaleqty:
  363. description: 当前预售量
  364. type: integer
  365. deliveryqty:
  366. description: 交割量
  367. type: integer
  368. freezeamount:
  369. description: 冻结金额
  370. type: number
  371. goodsid:
  372. description: 商品ID
  373. type: integer
  374. goodunit:
  375. description: 报价单位
  376. type: string
  377. hasspotfreeze:
  378. description: 是否有现货冻结 - 0:否 1:有
  379. type: integer
  380. inqty:
  381. description: 转入量(总数量)
  382. type: integer
  383. marketid:
  384. description: 市场ID
  385. type: integer
  386. presaledamount:
  387. description: 已预售总金额
  388. type: integer
  389. presaledqty:
  390. description: 已预售量
  391. type: integer
  392. userid:
  393. description: 用户ID
  394. type: integer
  395. wrstandardid:
  396. description: 仓单标准ID
  397. type: integer
  398. required:
  399. - accountid
  400. - goodsid
  401. type: object
  402. cptrade.QueryCPTradeMyBidRsp:
  403. properties:
  404. accountid:
  405. description: 账户ID[报价币种]
  406. type: integer
  407. goodsid:
  408. description: 商品ID
  409. type: integer
  410. goodunit:
  411. description: 报价单位
  412. type: string
  413. marketid:
  414. description: 市场ID
  415. type: integer
  416. orderid:
  417. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  418. type: integer
  419. orderprice:
  420. description: 委托价格
  421. type: number
  422. orderqty:
  423. description: 委托数量
  424. type: integer
  425. ordertime:
  426. description: 委托时间
  427. type: string
  428. ordertotalprice:
  429. description: 货款金额(委托总价格=委托价格*委托数量*合约单位)
  430. type: number
  431. ordertotalweight:
  432. description: 竞拍总重量(委托总重量=委托数量*合约单位)
  433. type: integer
  434. totaltotalprice:
  435. description: 成交货款金额(成交总价格=成交价格*成交数量*合约单位)
  436. type: number
  437. tradeprice:
  438. description: 成交价格
  439. type: number
  440. tradeqty:
  441. description: 成交数量
  442. type: integer
  443. required:
  444. - accountid
  445. - goodsid
  446. - marketid
  447. - orderid
  448. - orderqty
  449. - ordertime
  450. - tradeprice
  451. - tradeqty
  452. type: object
  453. cptrade.QueryCPTradeOrderDetailRsq:
  454. properties:
  455. accountid:
  456. description: 账户ID[报价币种]
  457. type: integer
  458. buildtype:
  459. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  460. type: integer
  461. buyorsell:
  462. description: 买卖 - 0:买 1:卖
  463. type: integer
  464. cancelorderid:
  465. description: 撤单单号(撤单时填写)
  466. type: integer
  467. cancelqty:
  468. description: 撤单数量
  469. type: integer
  470. clientordertime:
  471. description: 客户端委托时间
  472. type: string
  473. clientticket:
  474. description: 客户端流水号
  475. type: string
  476. clienttype:
  477. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  478. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  479. type: integer
  480. closeexchagechargevalue:
  481. description: 平仓交易所手续费设置值
  482. type: number
  483. closefeealgorithm:
  484. description: 平仓手续费收取方式 1:比率 2:固定
  485. type: integer
  486. closefreezecharge:
  487. description: 平仓冻结手续费(先建后平操作,需要记录)
  488. type: number
  489. closememberchargevalue:
  490. description: 平仓会员手续费设置值
  491. type: number
  492. closeqty:
  493. description: 平仓数量(先建后平操作 需要记录)
  494. type: integer
  495. closetradeqty:
  496. description: 平仓成交数量(先建后平操作,需要记录)
  497. type: integer
  498. closeunfreezecharge:
  499. description: 平仓解冻手续费(先建后平操作,需要记录)
  500. type: number
  501. delistingtype:
  502. description: 摘牌类型 - 1:价格最优 2:点选成交
  503. type: integer
  504. freezecharge:
  505. description: 冻结手续费
  506. type: number
  507. freezemargin:
  508. description: 冻结保证金(冻结交易金额)
  509. type: number
  510. gcaccountid:
  511. description: 账户ID[合约币种]
  512. type: integer
  513. goodsid:
  514. description: 商品ID
  515. type: integer
  516. isconfirmexercise:
  517. description: 是否确认行权- 0:否 1:是
  518. type: integer
  519. ispreexercise:
  520. description: 是否预申报- 0:否 1:是
  521. type: integer
  522. listingselecttype:
  523. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  524. type: integer
  525. marginalgorithm:
  526. description: 保证金收取方式 1:比率 2:固定
  527. type: integer
  528. marginvalue:
  529. description: 即市保证金设置值
  530. type: number
  531. marketid:
  532. description: 市场ID
  533. type: integer
  534. marketmaxsub:
  535. description: 市价最大偏移范围
  536. type: number
  537. memberuserid:
  538. description: 所属会员UserID
  539. type: integer
  540. openexchagechargevalue:
  541. description: 建仓交易所手续费设置值
  542. type: number
  543. openfeealgorithm:
  544. description: 建仓手续费收取方式 1:比率 2:固定
  545. type: integer
  546. openfreezecharge:
  547. description: 开仓冻结手续费(先建后平操作,需要记录)
  548. type: number
  549. openmemberchargevalue:
  550. description: 建仓会员手续费设置值
  551. type: number
  552. openqty:
  553. description: 开仓数量(先建后平操作,需要记录)
  554. type: integer
  555. opentradeqty:
  556. description: 开仓成交数量(先建后平操作,需要记录)
  557. type: integer
  558. openunfreezecharge:
  559. description: 开仓解冻手续费(先建后平操作,需要记录)
  560. type: number
  561. operatetype:
  562. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  563. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  564. 15:管理端协议转让
  565. type: integer
  566. operatorid:
  567. description: 登录账号(LoginID)
  568. type: integer
  569. optiontype:
  570. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  571. type: integer
  572. orderprice:
  573. description: 委托价格
  574. type: number
  575. orderqty:
  576. description: 委托数量
  577. type: integer
  578. ordersrc:
  579. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  580. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  581. type: integer
  582. orderstatus:
  583. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  584. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  585. 16:成交失败违约(荷兰式竞拍专用)
  586. type: integer
  587. ordertime:
  588. description: 委托时间
  589. type: string
  590. preexerciseprice:
  591. description: 预申报价格
  592. type: number
  593. premium:
  594. description: 权利金
  595. type: number
  596. preorderid:
  597. description: 关联预埋单号(止盈止损单时填写)
  598. type: integer
  599. pricemode:
  600. description: '取价方式 - 1:市价 2: 限价'
  601. type: integer
  602. quoteid:
  603. description: 报价单ID
  604. type: integer
  605. relatedid:
  606. description: 关联单号(交割单)
  607. type: integer
  608. retcode:
  609. description: 错误代码
  610. type: integer
  611. sessionid:
  612. description: 会话ID
  613. type: integer
  614. strorderid:
  615. description: 委托单号
  616. type: string
  617. tradedate:
  618. description: 交易日(yyyyMMdd)
  619. type: string
  620. tradeproperty:
  621. description: 交易属性
  622. type: integer
  623. tradeqty:
  624. description: 成交数量
  625. type: integer
  626. unfreezecharge:
  627. description: 解冻手续费
  628. type: number
  629. unfreezemargin:
  630. description: 解冻保证金
  631. type: number
  632. updatetime:
  633. description: 更新时间
  634. type: string
  635. uuid:
  636. description: 发起端唯一id
  637. type: string
  638. validtime:
  639. description: 有效期限
  640. type: string
  641. validtype:
  642. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  643. type: integer
  644. volumetype:
  645. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  646. type: integer
  647. required:
  648. - accountid
  649. - buildtype
  650. - buyorsell
  651. - goodsid
  652. - marketid
  653. - memberuserid
  654. - operatetype
  655. - orderqty
  656. - ordertime
  657. - pricemode
  658. - strorderid
  659. - tradedate
  660. - validtype
  661. type: object
  662. cptrade.QueryMyCPTradeGoodsRsp:
  663. properties:
  664. accountid:
  665. description: 卖方账户ID
  666. type: integer
  667. agreeunit:
  668. description: 合约单位
  669. type: number
  670. applyid:
  671. description: 关联申请ID
  672. type: integer
  673. attachmenturl:
  674. description: 附件地址
  675. type: string
  676. createtime:
  677. description: 创建时间
  678. type: string
  679. currencyid:
  680. description: 报价货币ID
  681. type: integer
  682. decimalplace:
  683. description: 报价小数位
  684. type: integer
  685. endtime:
  686. description: 预售结束时间
  687. type: string
  688. floorprice:
  689. description: 底价[大宗式竞拍]
  690. type: number
  691. goodscode:
  692. description: 商品代码(预售)
  693. type: string
  694. goodsdetail:
  695. description: 详情[大宗]
  696. type: string
  697. goodsid:
  698. description: 商品ID(自增ID SEQ_GOODS)
  699. type: integer
  700. goodsname:
  701. description: 商品名称(预售)
  702. type: string
  703. goodunit:
  704. description: 报价单位
  705. type: string
  706. goodunitid:
  707. description: 报价单位ID
  708. type: integer
  709. marketid:
  710. description: 所属市场ID
  711. type: integer
  712. marketname:
  713. description: 预售市场名称
  714. type: string
  715. presaledamount:
  716. description: 已预售总金额(预售结束时更新)
  717. type: number
  718. presaledqty:
  719. description: 已预售量(预售结束时更新)
  720. type: integer
  721. presalemode:
  722. description: 预售模式 - 1:一口价 2:大宗式竞拍
  723. type: integer
  724. presaleqty:
  725. description: 预售数量
  726. type: integer
  727. refprice:
  728. description: 参考价格[一口价]
  729. type: number
  730. relatedgoodscode:
  731. description: 商品代码(订单)
  732. type: string
  733. relatedgoodsid:
  734. description: 关联交易合约ID
  735. type: integer
  736. relatedgoodsname:
  737. description: 商品名称(订单)
  738. type: string
  739. relatedmarketid:
  740. description: 关联交易合约市场ID
  741. type: integer
  742. sellstatus:
  743. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  744. type: integer
  745. startprice:
  746. description: 起拍价[大宗式竞拍]
  747. type: number
  748. starttime:
  749. description: 预售开始时间
  750. type: string
  751. tradedate:
  752. description: 交易日(yyyyMMdd)
  753. type: string
  754. tradeprice:
  755. description: 成交价[大宗]
  756. type: number
  757. userid:
  758. description: 卖方用户ID
  759. type: integer
  760. required:
  761. - goodscode
  762. - goodsid
  763. - goodsname
  764. - marketid
  765. - relatedgoodscode
  766. - relatedgoodsname
  767. type: object
  768. cptrade.QueryPresaleGoodsExRsp:
  769. properties:
  770. attachmenturl:
  771. description: 附件地址
  772. type: string
  773. createtime:
  774. description: 创建时间
  775. type: string
  776. endtime:
  777. description: 预售结束时间
  778. type: string
  779. floorprice:
  780. description: 底价[大宗式竞拍]
  781. type: number
  782. goodsdetail:
  783. description: 详情[大宗]
  784. type: string
  785. goodsid:
  786. description: 商品ID(预售)
  787. type: integer
  788. goodunit:
  789. description: 报价单位
  790. type: string
  791. marketid:
  792. description: 预售市场ID - 根据预售模式选择市场
  793. type: integer
  794. presaledamount:
  795. description: 已预售总金额(预售结束时更新)
  796. type: number
  797. presaledqty:
  798. description: 已预售量(预售结束时更新)
  799. type: integer
  800. presalemode:
  801. description: 预售模式 - 1:一口价 2:大宗式竞拍
  802. type: integer
  803. presaleqty:
  804. description: 预售数量
  805. type: integer
  806. refprice:
  807. description: 参考价格[一口价]
  808. type: number
  809. relatedgoodsid:
  810. description: 关联交易合约ID
  811. type: integer
  812. relatedmarketid:
  813. description: 关联交易合约市场ID
  814. type: integer
  815. sellstatus:
  816. description: 卖方处理状态 - 1:卖方头寸未处理 2:卖方头寸已处理
  817. type: integer
  818. startprice:
  819. description: 起拍价[大宗式竞拍]
  820. type: number
  821. starttime:
  822. description: 预售开始时间
  823. type: string
  824. tradedate:
  825. description: 交易日(yyyyMMdd)
  826. type: string
  827. tradeprice:
  828. description: 成交价[大宗]
  829. type: number
  830. required:
  831. - goodsid
  832. type: object
  833. delivery.QueryDeliveryRelationRsp:
  834. properties:
  835. begindate:
  836. description: 起始日期(yyyyMMdd)
  837. type: string
  838. buytemplateid:
  839. description: 买履约计划模板ID
  840. type: integer
  841. deliverygoodscode:
  842. description: 品种代码
  843. type: string
  844. deliverygoodsid:
  845. description: 交割商品
  846. type: integer
  847. deliverygoodsname:
  848. description: 品种名称
  849. type: string
  850. deliverymode:
  851. description: 交割方式 - 1:点选式 2:申报式
  852. type: integer
  853. deliverypricerule:
  854. description: 交割价规则- 1:行情价 2:建仓价
  855. type: integer
  856. deliverytype:
  857. description: 交割模式 - 1:X交割 2:X+P交割 3:X+C交割 4:X+P+C交割
  858. type: integer
  859. enddate:
  860. description: 结束日期(yyyyMMdd)
  861. type: string
  862. goodscode:
  863. description: 商品代码
  864. type: string
  865. goodsid:
  866. description: 交易合约ID
  867. type: integer
  868. goodsname:
  869. description: 商品名称
  870. type: string
  871. marketid:
  872. description: 市场ID
  873. type: integer
  874. mindeliveryqty:
  875. description: 最小交割系数(K)
  876. type: integer
  877. p2deliveryprice:
  878. description: P2合约价格(商品价时填写0,固定值时填写固定值)
  879. type: number
  880. p2deliveryratio:
  881. description: P2合约系数(p)
  882. type: integer
  883. p2goodsid:
  884. description: P2合约ID
  885. type: integer
  886. p2pricemode:
  887. description: P2合约价格方式 - 1:商品价 2:固定值
  888. type: integer
  889. pdeliveryprice:
  890. description: P合约价格(商品价时填写0,固定值时填写固定值)
  891. type: number
  892. pdeliveryratio:
  893. description: P合约系数(n)
  894. type: integer
  895. pgoodsid:
  896. description: P合约ID
  897. type: integer
  898. ppricemode:
  899. description: P合约价格方式 - 1:商品价 2:固定值
  900. type: integer
  901. rratio:
  902. description: 兑换系数(R)
  903. type: integer
  904. rratio1:
  905. description: 兑换系数(交易合约)(R1)
  906. type: integer
  907. rratio2:
  908. description: 兑换系数(仓单标准)(R2)
  909. type: integer
  910. selltemplateid:
  911. description: 卖履约计划模板ID
  912. type: integer
  913. wrstandardid:
  914. description: 仓单标准ID
  915. type: integer
  916. xdeliveryratio:
  917. description: 交易合约系数(m)
  918. type: integer
  919. required:
  920. - begindate
  921. - enddate
  922. - goodsid
  923. - mindeliveryqty
  924. - xdeliveryratio
  925. type: object
  926. ermcp.ExposureDetailRsp:
  927. $ref: '#/definitions/models.ErmcpExposureDetailModel'
  928. ermcp.ExposureHedgePosDetailRsp:
  929. $ref: '#/definitions/models.ErmcpHedgePositionDetail'
  930. ermcp.ExposureHedgePositionRsp:
  931. $ref: '#/definitions/models.ErmcpHedgePosition'
  932. ermcp.ExposureSpotDetailRsp:
  933. $ref: '#/definitions/models.ErmcpAreaSpotDetailModel'
  934. ermcp.ExposureSpotRsp:
  935. $ref: '#/definitions/models.AreaSpotModel'
  936. ermcp.HisExposureRsp:
  937. $ref: '#/definitions/models.ErmcpHisExposureS'
  938. ermcp.PendingAuditCntRsp:
  939. $ref: '#/definitions/models.ErmcpPendingAudit'
  940. ermcp.QryAvalidGPRsp:
  941. $ref: '#/definitions/models.ErmcpAvalidGoodsGroupModel'
  942. ermcp.QryBusinessDjRsp:
  943. properties:
  944. amount:
  945. description: 点价金额=(点价价格+升贴水)*点价数量
  946. type: number
  947. applyid:
  948. description: 申请人
  949. type: string
  950. applyname:
  951. description: 申请人名称
  952. type: string
  953. applystatus:
  954. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  955. type: integer
  956. applytime:
  957. description: 申请时间
  958. type: string
  959. attachurl:
  960. description: 附件
  961. type: string
  962. auditid:
  963. description: 审核人ID
  964. type: string
  965. auditname:
  966. description: 审核人名称
  967. type: string
  968. audittime:
  969. description: 审核时间
  970. type: string
  971. buyusername:
  972. description: 采购方名称
  973. type: string
  974. contractno:
  975. description: 合同编号
  976. type: string
  977. contractstatus:
  978. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  979. type: integer
  980. contracttype:
  981. description: 现货合同类型 - 1:采购 -1:销售
  982. type: integer
  983. deliverygoodscode:
  984. description: 现货品种代码
  985. type: string
  986. deliverygoodsid:
  987. description: 现货商品ID
  988. type: integer
  989. deliverygoodsname:
  990. description: 现货品种名称
  991. type: string
  992. enumdicname:
  993. description: 单位名称
  994. type: string
  995. goodscode:
  996. description: 点价合约
  997. type: string
  998. goodsname:
  999. description: 商品名称
  1000. type: string
  1001. operateapplyid:
  1002. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1003. type: string
  1004. operateapplytype:
  1005. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1006. type: integer
  1007. pricedPrice:
  1008. description: 点价价格(非必填)
  1009. type: number
  1010. pricedQty:
  1011. description: 点价数量(非必填)
  1012. type: number
  1013. pricemove:
  1014. description: 升贴水
  1015. type: number
  1016. pricetype:
  1017. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1018. type: integer
  1019. relatedid:
  1020. description: 现货合同ID
  1021. type: string
  1022. sellusername:
  1023. description: 销售方名字
  1024. type: string
  1025. userid:
  1026. description: 用户ID
  1027. type: integer
  1028. wrstandardcode:
  1029. description: 品类代码
  1030. type: string
  1031. wrstandardid:
  1032. description: 品类id
  1033. type: integer
  1034. wrstandardname:
  1035. description: 品类名称
  1036. type: string
  1037. type: object
  1038. ermcp.QryBussinessFpRsp:
  1039. properties:
  1040. applyid:
  1041. description: 申请人
  1042. type: string
  1043. applyname:
  1044. description: 申请人名称
  1045. type: string
  1046. applystatus:
  1047. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1048. type: integer
  1049. applytime:
  1050. description: 申请时间
  1051. type: string
  1052. attachurl:
  1053. description: 附件
  1054. type: string
  1055. auditid:
  1056. description: 审核人ID
  1057. type: string
  1058. auditname:
  1059. description: 审核人名称
  1060. type: string
  1061. audittime:
  1062. description: 审核时间
  1063. type: string
  1064. buyusername:
  1065. description: 采购方名称
  1066. type: string
  1067. contractno:
  1068. description: 合同编号
  1069. type: string
  1070. contractstatus:
  1071. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1072. type: integer
  1073. contracttype:
  1074. description: 现货合同类型 - 1:采购 -1:销售
  1075. type: integer
  1076. deliverygoodscode:
  1077. description: 现货品种代码
  1078. type: string
  1079. deliverygoodsid:
  1080. description: 现货商品ID
  1081. type: integer
  1082. deliverygoodsname:
  1083. description: 现货品种名称
  1084. type: string
  1085. enumdicname:
  1086. description: 单位名称
  1087. type: string
  1088. goodscode:
  1089. description: 点价合约
  1090. type: string
  1091. goodsname:
  1092. description: 商品名称
  1093. type: string
  1094. invoiceAmount:
  1095. description: 已开收票金额(销售为开票,采购为收票)
  1096. type: number
  1097. operateapplyid:
  1098. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1099. type: string
  1100. operateapplytype:
  1101. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1102. type: integer
  1103. pricemove:
  1104. description: 升贴水
  1105. type: number
  1106. pricetype:
  1107. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1108. type: integer
  1109. relatedid:
  1110. description: 现货合同ID
  1111. type: string
  1112. sellusername:
  1113. description: 销售方名字
  1114. type: string
  1115. userid:
  1116. description: 用户ID
  1117. type: integer
  1118. wrstandardcode:
  1119. description: 品类代码
  1120. type: string
  1121. wrstandardid:
  1122. description: 品类id
  1123. type: integer
  1124. wrstandardname:
  1125. description: 品类名称
  1126. type: string
  1127. type: object
  1128. ermcp.QryBussinessJsExRsp:
  1129. properties:
  1130. applyid:
  1131. description: 申请人
  1132. type: string
  1133. applyname:
  1134. description: 申请人名称
  1135. type: string
  1136. applystatus:
  1137. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1138. type: integer
  1139. applytime:
  1140. description: 申请时间
  1141. type: string
  1142. attachurl:
  1143. description: 附件
  1144. type: string
  1145. auditid:
  1146. description: 审核人ID
  1147. type: string
  1148. auditname:
  1149. description: 审核人名称
  1150. type: string
  1151. audittime:
  1152. description: 审核时间
  1153. type: string
  1154. buyusername:
  1155. description: 采购方名称
  1156. type: string
  1157. contractno:
  1158. description: 合同编号
  1159. type: string
  1160. contractstatus:
  1161. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1162. type: integer
  1163. contracttype:
  1164. description: 现货合同类型 - 1:采购 -1:销售
  1165. type: integer
  1166. deliverygoodscode:
  1167. description: 现货品种代码
  1168. type: string
  1169. deliverygoodsid:
  1170. description: 现货商品ID
  1171. type: integer
  1172. deliverygoodsname:
  1173. description: 现货品种名称
  1174. type: string
  1175. enumdicname:
  1176. description: 单位名称
  1177. type: string
  1178. goodscode:
  1179. description: 点价合约
  1180. type: string
  1181. goodsname:
  1182. description: 商品名称
  1183. type: string
  1184. operateapplyid:
  1185. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1186. type: string
  1187. operateapplytype:
  1188. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1189. type: integer
  1190. pricemove:
  1191. description: 升贴水
  1192. type: number
  1193. pricetype:
  1194. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1195. type: integer
  1196. reckontype:
  1197. description: 结算类型
  1198. type: string
  1199. reckonvalue:
  1200. description: 值
  1201. type: number
  1202. relatedid:
  1203. description: 现货合同ID
  1204. type: string
  1205. sellusername:
  1206. description: 销售方名字
  1207. type: string
  1208. userid:
  1209. description: 用户ID
  1210. type: integer
  1211. wrstandardcode:
  1212. description: 品类代码
  1213. type: string
  1214. wrstandardid:
  1215. description: 品类id
  1216. type: integer
  1217. wrstandardname:
  1218. description: 品类名称
  1219. type: string
  1220. type: object
  1221. ermcp.QryBussinessJsRsp:
  1222. properties:
  1223. addmargin:
  1224. description: 追加保证金(非必填)
  1225. type: number
  1226. applyid:
  1227. description: 申请人
  1228. type: string
  1229. applyname:
  1230. description: 申请人名称
  1231. type: string
  1232. applystatus:
  1233. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1234. type: integer
  1235. applytime:
  1236. description: 申请时间
  1237. type: string
  1238. attachurl:
  1239. description: 附件
  1240. type: string
  1241. auditid:
  1242. description: 审核人ID
  1243. type: string
  1244. auditname:
  1245. description: 审核人名称
  1246. type: string
  1247. audittime:
  1248. description: 审核时间
  1249. type: string
  1250. buyusername:
  1251. description: 采购方名称
  1252. type: string
  1253. contractno:
  1254. description: 合同编号
  1255. type: string
  1256. contractstatus:
  1257. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1258. type: integer
  1259. contracttype:
  1260. description: 现货合同类型 - 1:采购 -1:销售
  1261. type: integer
  1262. decmargin:
  1263. description: 减少保证金(非必填)
  1264. type: number
  1265. deliverygoodscode:
  1266. description: 现货品种代码
  1267. type: string
  1268. deliverygoodsid:
  1269. description: 现货商品ID
  1270. type: integer
  1271. deliverygoodsname:
  1272. description: 现货品种名称
  1273. type: string
  1274. enumdicname:
  1275. description: 单位名称
  1276. type: string
  1277. goodscode:
  1278. description: 点价合约
  1279. type: string
  1280. goodsname:
  1281. description: 商品名称
  1282. type: string
  1283. operateapplyid:
  1284. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1285. type: string
  1286. operateapplytype:
  1287. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1288. type: integer
  1289. pricemove:
  1290. description: 升贴水
  1291. type: number
  1292. pricetype:
  1293. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1294. type: integer
  1295. reckonadjustamount:
  1296. description: 结算调整金额(非必填)
  1297. type: number
  1298. reckonosamount:
  1299. description: 结算溢短金额(非必填)
  1300. type: number
  1301. reckonotheramount:
  1302. description: 结算其他费用(非必填)
  1303. type: number
  1304. reckonrealqty:
  1305. description: 结算实际数量(非必填)
  1306. type: number
  1307. relatedid:
  1308. description: 现货合同ID
  1309. type: string
  1310. sellusername:
  1311. description: 销售方名字
  1312. type: string
  1313. userid:
  1314. description: 用户ID
  1315. type: integer
  1316. wrstandardcode:
  1317. description: 品类代码
  1318. type: string
  1319. wrstandardid:
  1320. description: 品类id
  1321. type: integer
  1322. wrstandardname:
  1323. description: 品类名称
  1324. type: string
  1325. type: object
  1326. ermcp.QryBussinessKxRsp:
  1327. properties:
  1328. applyid:
  1329. description: 申请人
  1330. type: string
  1331. applyname:
  1332. description: 申请人名称
  1333. type: string
  1334. applystatus:
  1335. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  1336. type: integer
  1337. applytime:
  1338. description: 申请时间
  1339. type: string
  1340. attachurl:
  1341. description: 附件
  1342. type: string
  1343. auditid:
  1344. description: 审核人ID
  1345. type: string
  1346. auditname:
  1347. description: 审核人名称
  1348. type: string
  1349. audittime:
  1350. description: 审核时间
  1351. type: string
  1352. buyusername:
  1353. description: 采购方名称
  1354. type: string
  1355. contractno:
  1356. description: 合同编号
  1357. type: string
  1358. contractstatus:
  1359. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  1360. type: integer
  1361. contracttype:
  1362. description: 现货合同类型 - 1:采购 -1:销售
  1363. type: integer
  1364. deductamount:
  1365. description: 退款(非必填)
  1366. type: number
  1367. deliverygoodscode:
  1368. description: 现货品种代码
  1369. type: string
  1370. deliverygoodsid:
  1371. description: 现货商品ID
  1372. type: integer
  1373. deliverygoodsname:
  1374. description: 现货品种名称
  1375. type: string
  1376. enumdicname:
  1377. description: 单位名称
  1378. type: string
  1379. goodscode:
  1380. description: 点价合约
  1381. type: string
  1382. goodsname:
  1383. description: 商品名称
  1384. type: string
  1385. kxtype:
  1386. description: 款项类型 1-收付款(PayAmount字段有值) 2-退款(DeductAmount字段有值) 3-收付款/退款(2个字段都有)
  1387. type: integer
  1388. operateapplyid:
  1389. description: 操作申请ID(603+Unix秒时间戳(10位)+xxxxxx)
  1390. type: string
  1391. operateapplytype:
  1392. description: 操作申请类型 - 1:点价 2:结算登记 3:款项登记 4:发票登记
  1393. type: integer
  1394. payamount:
  1395. description: 收付款(非必填)
  1396. type: number
  1397. pricemove:
  1398. description: 升贴水
  1399. type: number
  1400. pricetype:
  1401. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  1402. type: integer
  1403. relatedid:
  1404. description: 现货合同ID
  1405. type: string
  1406. sellusername:
  1407. description: 销售方名字
  1408. type: string
  1409. userid:
  1410. description: 用户ID
  1411. type: integer
  1412. wrstandardcode:
  1413. description: 品类代码
  1414. type: string
  1415. wrstandardid:
  1416. description: 品类id
  1417. type: integer
  1418. wrstandardname:
  1419. description: 品类名称
  1420. type: string
  1421. type: object
  1422. ermcp.QryGGCovertCfgRsp:
  1423. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  1424. ermcp.QryMGChangeLogRsp:
  1425. $ref: '#/definitions/models.ErmcpMiddleGoodsChangeLog'
  1426. ermcp.QryMiddleGoodsDetailRsp:
  1427. $ref: '#/definitions/models.ErmcpMiddleGoodsDetail'
  1428. ermcp.QryMiddleGoodsRsp:
  1429. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  1430. ermcp.QryOPLogRsp:
  1431. $ref: '#/definitions/models.ErmcpOPLogModel'
  1432. ermcp.QryUserInfoRsp:
  1433. $ref: '#/definitions/models.ErmcpUserModel'
  1434. ermcp.QryWarehouseRsp:
  1435. $ref: '#/definitions/models.ErmcpWareHouseInfo'
  1436. ermcp.QueryErmcpTradePositionRsp:
  1437. properties:
  1438. agreeunit:
  1439. description: 合约单位
  1440. type: number
  1441. buyorsell:
  1442. description: 方向 - 0:买 1:卖
  1443. type: integer
  1444. curpositionqty:
  1445. description: 持仓(总仓数量, 期末头寸)
  1446. type: integer
  1447. curtdposition:
  1448. description: 今仓数量(期末今日头寸)
  1449. type: integer
  1450. curtdpositionenabled:
  1451. description: 今仓可用
  1452. type: integer
  1453. decimalplace:
  1454. description: 报价小数位
  1455. type: integer
  1456. enableqty:
  1457. description: 可用(总仓可用)
  1458. type: integer
  1459. exexchangename:
  1460. description: 外部交易所名称
  1461. type: string
  1462. goodscode:
  1463. description: 商品代码(内部)
  1464. type: string
  1465. goodsid:
  1466. description: 商品ID(自增ID SEQ_GOODS)
  1467. type: integer
  1468. goodsname:
  1469. description: 商品名称
  1470. type: string
  1471. last:
  1472. description: 现价
  1473. type: number
  1474. marketid:
  1475. description: 所属市场ID
  1476. type: integer
  1477. openaverageprice:
  1478. description: 开仓均价【头寸变化更新】 = 开仓成本 / 期末头寸 / 合约单位
  1479. type: number
  1480. opencost:
  1481. description: 开仓成本
  1482. type: number
  1483. openpl:
  1484. description: 逐笔浮盈【实时行情更新】(MTP:开仓盈亏、平仓盈亏) 买方向 = (最新价 - 开仓均价) * 买期末头寸 * 合约单位;卖方向
  1485. = (开仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1486. type: number
  1487. outgoodscode:
  1488. description: 商品代码(外部)
  1489. type: string
  1490. positionaverageprice:
  1491. description: 持仓均价【头寸变化更新】= 持仓成本 / 期末头寸 / 合约单位
  1492. type: number
  1493. positioncost:
  1494. description: 持仓成本
  1495. type: number
  1496. positionpl:
  1497. description: 盯市浮盈【实时行情更新】(MTP:浮动盈亏、持仓盈亏) 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向
  1498. = (持仓均价 - 最新价) * 卖期末头寸 * 合约单位
  1499. type: number
  1500. positionplrate:
  1501. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  1502. type: number
  1503. usedmargin:
  1504. description: 占用保证金
  1505. type: number
  1506. type: object
  1507. ermcp.RealtimeExposurePositionRsp:
  1508. $ref: '#/definitions/models.ErmcpExposurePostion'
  1509. ermcp.RealtimeExposureRsp:
  1510. $ref: '#/definitions/models.ErmcpRealExposureModel'
  1511. erms2.QueryArbitrageStrategyRsp:
  1512. properties:
  1513. applybasis:
  1514. description: 申请基差
  1515. type: number
  1516. asapplyid:
  1517. description: 策略申请ID(702+Unix秒时间戳(10位)+xxxxxx)
  1518. type: string
  1519. asname:
  1520. description: 策略名称
  1521. type: string
  1522. asno:
  1523. description: 策略编号
  1524. type: string
  1525. basischangepl:
  1526. description: 基差变动损益[结算更新]
  1527. type: number
  1528. biztype:
  1529. description: 业务类型 - 1:正向套利 -1:反向套利
  1530. type: integer
  1531. closetradedate:
  1532. description: 完结交易日(yyyyMMdd)
  1533. type: string
  1534. curbasis:
  1535. description: 当前基差[结算更新]
  1536. type: number
  1537. deliverygoodsid:
  1538. description: 现货品种ID
  1539. type: integer
  1540. futureavgprice:
  1541. description: 期货建仓均价
  1542. type: number
  1543. futurecloseamount:
  1544. description: 期货平仓金额
  1545. type: number
  1546. futurecloseqty:
  1547. description: 期货平仓数量
  1548. type: number
  1549. futureopenamount:
  1550. description: 期货开仓金额
  1551. type: number
  1552. futureopenqty:
  1553. description: 期货开仓数量
  1554. type: number
  1555. futurepl:
  1556. description: 期货总盈亏[结算更新]
  1557. type: number
  1558. futureqty:
  1559. description: 期货持仓数量
  1560. type: number
  1561. futurequote:
  1562. description: 期货额度
  1563. type: number
  1564. goodsgroupid:
  1565. description: 期货品种ID
  1566. type: integer
  1567. marketid:
  1568. description: 市场ID
  1569. type: integer
  1570. netexposure:
  1571. description: 单笔业务头寸净敞口 = 期货持仓数量 + 已定价现货不含税数量
  1572. type: number
  1573. netexposurepl:
  1574. description: 净敞口损益 = TotalPL - BasisChangePL[结算更新]
  1575. type: number
  1576. netexposurerate:
  1577. description: 净敞口比例 - 0:未结束 = (NetExposure/PriceSpotQtyNoTax) ; 已结束为0
  1578. type: number
  1579. openbasis:
  1580. description: 建仓基差
  1581. type: number
  1582. pricedspotqty:
  1583. description: 已定价现货数量
  1584. type: number
  1585. pricedspotqtynotax:
  1586. description: 已定价现货不含税数量
  1587. type: number
  1588. remark:
  1589. description: 备注
  1590. type: string
  1591. spotavgprice:
  1592. description: 现货均价
  1593. type: number
  1594. spotbuyamount:
  1595. description: 现货采购金额
  1596. type: number
  1597. spotbuyqty:
  1598. description: 现货采购数量
  1599. type: number
  1600. spotpl:
  1601. description: 现货总盈亏[结算更新]
  1602. type: number
  1603. spotquota:
  1604. description: 现货额度
  1605. type: number
  1606. spotsellamount:
  1607. description: 现货销售金额
  1608. type: number
  1609. spotsellqty:
  1610. description: 现货销售数量
  1611. type: number
  1612. spotusedquota:
  1613. description: 现货占用资金
  1614. type: number
  1615. strategystatus:
  1616. description: 策略状态 - 0:未结束 1:已结束
  1617. type: integer
  1618. totalpl:
  1619. description: 业务合计损益 = FuturePL + SpotPL [结算更新]
  1620. type: number
  1621. tradedate:
  1622. description: 交易日(yyyyMMdd)
  1623. type: string
  1624. updatetime:
  1625. description: 更新时间
  1626. type: string
  1627. usedquota:
  1628. description: 已占用资金
  1629. type: number
  1630. userid:
  1631. description: 所属机构
  1632. type: integer
  1633. required:
  1634. - asapplyid
  1635. type: object
  1636. erms2.QueryInnerTradeDetailRsp:
  1637. properties:
  1638. accountid:
  1639. description: 账号ID
  1640. type: integer
  1641. agreeunit:
  1642. description: 合约单位
  1643. type: number
  1644. asapplyid:
  1645. description: 策略申请ID
  1646. type: integer
  1647. asname:
  1648. description: 策略名称
  1649. type: string
  1650. asno:
  1651. description: 策略编号
  1652. type: string
  1653. buyorsell:
  1654. description: 方向 - 0:买 1:卖
  1655. type: integer
  1656. channelbuildtype:
  1657. description: 委托单据类型 0:无 1:建仓 2:平仓
  1658. type: integer
  1659. closetype:
  1660. description: 平仓方式 - 0:无 1:平今 2:平昨
  1661. type: integer
  1662. decimalplace:
  1663. description: 报价小数位
  1664. type: integer
  1665. detailtype:
  1666. description: 明细类型 - 1:套利对冲 2:期货换月 3:期货仓位调整
  1667. type: integer
  1668. exexchangecode:
  1669. description: 外部交易所代码
  1670. type: string
  1671. exexchangename:
  1672. description: 外部交易所名称
  1673. type: string
  1674. goodscode:
  1675. description: 商品代码(合约)
  1676. type: string
  1677. goodsgroupid:
  1678. description: 商品组ID(品种ID)
  1679. type: integer
  1680. goodsgroupname:
  1681. description: 商品组名称(品种)
  1682. type: string
  1683. goodsid:
  1684. description: 商品ID
  1685. type: integer
  1686. goodsname:
  1687. description: 商品名称(合约)
  1688. type: string
  1689. goodunit:
  1690. description: 报价单位
  1691. type: string
  1692. marketid:
  1693. description: 市场ID
  1694. type: integer
  1695. orderid:
  1696. description: 委托单号
  1697. type: string
  1698. outgoodscode:
  1699. description: 商品代码(外部)
  1700. type: string
  1701. relatedouttradeid:
  1702. description: 关联外部成交单ID
  1703. type: string
  1704. remark:
  1705. description: 备注
  1706. type: string
  1707. spotcontractid:
  1708. description: 现货合同ID [1:套利对冲 为合同ID,2:期货换月\3:期货仓位调整时为0]
  1709. type: integer
  1710. spotcontractno:
  1711. description: 现货合同编号
  1712. type: string
  1713. tradeid:
  1714. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  1715. type: string
  1716. tradeprice:
  1717. description: 成交价格
  1718. type: number
  1719. tradeqty:
  1720. description: 成交数量
  1721. type: integer
  1722. tradetime:
  1723. description: 成交时间
  1724. type: string
  1725. updatetime:
  1726. description: 更新时间
  1727. type: string
  1728. required:
  1729. - asapplyid
  1730. - buyorsell
  1731. - goodscode
  1732. - goodsgroupid
  1733. - goodsgroupname
  1734. - goodsname
  1735. - tradeid
  1736. type: object
  1737. erms2.QuerySpotContractRsp:
  1738. properties:
  1739. accountid:
  1740. description: 资金账户ID
  1741. type: integer
  1742. areauserid:
  1743. description: 所属机构
  1744. type: integer
  1745. closedate:
  1746. description: 终止日期
  1747. type: string
  1748. closeremark:
  1749. description: 结束备注
  1750. type: string
  1751. closetradedate:
  1752. description: 完结交易日(yyyyMMdd)
  1753. type: string
  1754. closetype:
  1755. description: 终止类型 - 1:违约 2:提前终止
  1756. type: integer
  1757. contractamount:
  1758. description: 合同金额
  1759. type: number
  1760. contractattachment:
  1761. description: 合同附件
  1762. type: string
  1763. contractno:
  1764. description: 现货合同编号
  1765. type: string
  1766. contractqty:
  1767. description: 合同数量(数值) (用于计算)
  1768. type: number
  1769. contractqtychar:
  1770. description: 合同数量\已订价数量 (用于显示)
  1771. type: string
  1772. contractstatus:
  1773. description: 合同状态 - 0:未结束 1:已结束
  1774. type: integer
  1775. contracttype:
  1776. description: 现货合同类型 - 1:采购合同 -1:销售合同
  1777. type: integer
  1778. customeraccountid:
  1779. description: 客户资金账户ID
  1780. type: integer
  1781. customeruserid:
  1782. description: 客户ID
  1783. type: integer
  1784. deliverygoodsdesc:
  1785. description: 品种说明
  1786. type: string
  1787. deliverygoodsid:
  1788. description: 现货品种ID
  1789. type: integer
  1790. handlestatus:
  1791. description: 处理状态
  1792. type: integer
  1793. invoiceatt:
  1794. description: 发票附件
  1795. type: string
  1796. invoicedatetime:
  1797. description: 开收票更新时间
  1798. type: string
  1799. invoiceopentime:
  1800. description: 开票时间
  1801. type: string
  1802. invoiceremark:
  1803. description: 发票备注
  1804. type: string
  1805. invoicestatus:
  1806. description: 开收票状态 - 0:未开票 1:已开票
  1807. type: integer
  1808. lastdate:
  1809. description: 交货时间
  1810. type: string
  1811. marketid:
  1812. description: 市场ID
  1813. type: integer
  1814. paydatetime:
  1815. description: 收付款更新时间
  1816. type: string
  1817. payremark:
  1818. description: 收付款备注
  1819. type: string
  1820. paystatus:
  1821. description: 收付款状态 - 0:未支付 1:已收款 2:已付款
  1822. type: integer
  1823. positionqty:
  1824. description: 头寸数量 - 合同数量去小数部分
  1825. type: integer
  1826. producttype:
  1827. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  1828. type: integer
  1829. relatedqty:
  1830. description: 已关联数量
  1831. type: number
  1832. relatedstatus:
  1833. description: 关联完结状态 - 0:未结束 1:已结束
  1834. type: integer
  1835. remark:
  1836. description: 备注
  1837. type: string
  1838. signdate:
  1839. description: 签订日期
  1840. type: string
  1841. spotcontractid:
  1842. description: 现货合同ID(701+Unix秒时间戳(10位)+xxxxxx)
  1843. type: string
  1844. spotdatetime:
  1845. description: 收发货更新时间
  1846. type: string
  1847. spotprice:
  1848. description: 价格
  1849. type: number
  1850. spotremark:
  1851. description: 收发货备注
  1852. type: string
  1853. spotstatus:
  1854. description: 收发货状态 - 0:未交收 1:已发货 2:已发货
  1855. type: integer
  1856. tradedate:
  1857. description: 交易日(yyyyMMdd)
  1858. type: string
  1859. userid:
  1860. description: 业务员用户ID
  1861. type: integer
  1862. warehouseid:
  1863. description: 仓库ID
  1864. type: integer
  1865. wrfactortypeid:
  1866. description: 仓单要素类型ID
  1867. type: integer
  1868. wrstandardid:
  1869. description: 仓单标准ID(SEQ_WRSTANDARD)
  1870. type: integer
  1871. required:
  1872. - spotcontractid
  1873. type: object
  1874. erms3.AddErms2ASApplyReq:
  1875. properties:
  1876. applybasis:
  1877. description: 申请基差
  1878. type: number
  1879. applystatus:
  1880. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1881. type: integer
  1882. asapplyid:
  1883. description: 策略申请ID(342+Unix秒时间戳(10位)+xxxxxx)
  1884. type: integer
  1885. asname:
  1886. description: 策略名称
  1887. type: string
  1888. asno:
  1889. description: 策略编号
  1890. type: string
  1891. auditid:
  1892. description: 审核人
  1893. type: integer
  1894. auditremark:
  1895. description: 审核备注
  1896. type: string
  1897. audittime:
  1898. description: 审核时间
  1899. type: string
  1900. biztype:
  1901. description: 业务类型 - 1:正向套利 2:反向套利
  1902. type: integer
  1903. createtime:
  1904. description: 创建时间
  1905. type: string
  1906. creatorid:
  1907. description: 创建人
  1908. type: integer
  1909. deliverygoodsid:
  1910. description: 现货品种ID
  1911. type: integer
  1912. futurequote:
  1913. description: 期货额度
  1914. type: number
  1915. goodsgroupid:
  1916. description: 期货品种ID
  1917. type: integer
  1918. marketid:
  1919. description: 市场ID
  1920. type: integer
  1921. remark:
  1922. description: 备注
  1923. type: string
  1924. spotquota:
  1925. description: 现货额度
  1926. type: number
  1927. tradedate:
  1928. description: 交易日(yyyyMMdd)
  1929. type: string
  1930. userid:
  1931. description: 所属机构
  1932. type: integer
  1933. required:
  1934. - asapplyid
  1935. type: object
  1936. erms3.AddErms2SpotTradeApplyReq:
  1937. properties:
  1938. applyjsondetail:
  1939. description: 申请明细(JSON)
  1940. type: string
  1941. applystatus:
  1942. description: 申请状态 - 0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  1943. type: integer
  1944. areauserid:
  1945. description: 所属机构
  1946. type: integer
  1947. auditid:
  1948. description: 审核人
  1949. type: integer
  1950. auditremark:
  1951. description: 审核备注
  1952. type: string
  1953. audittime:
  1954. description: 审核时间
  1955. type: string
  1956. createtime:
  1957. description: 创建时间
  1958. type: string
  1959. creatorid:
  1960. description: 创建人
  1961. type: integer
  1962. deliverygoodsid:
  1963. description: 现货品种ID
  1964. type: integer
  1965. futureaccountid:
  1966. description: 期货资金账户
  1967. type: integer
  1968. goodsgroupid:
  1969. description: 期货品种
  1970. type: integer
  1971. marketid:
  1972. description: 市场ID
  1973. type: integer
  1974. remark:
  1975. description: 备注
  1976. type: string
  1977. spotaccountid:
  1978. description: 现货资金账户
  1979. type: integer
  1980. spottradeid:
  1981. description: 业务ID(341+Unix秒时间戳(10位)+xxxxxx)
  1982. type: integer
  1983. spottradename:
  1984. description: 业务名称
  1985. type: string
  1986. spottradeno:
  1987. description: 业务编号
  1988. type: string
  1989. tradedate:
  1990. description: 交易日(yyyyMMdd)
  1991. type: string
  1992. wrstandardid:
  1993. description: 仓单标准ID
  1994. type: integer
  1995. required:
  1996. - spottradeid
  1997. type: object
  1998. erms3.AddSpotContractApplyReq:
  1999. properties:
  2000. accountid:
  2001. description: 资金账户ID
  2002. type: integer
  2003. areauserid:
  2004. description: 所属机构
  2005. type: integer
  2006. contractattachment:
  2007. description: 合同附件
  2008. type: string
  2009. contractno:
  2010. description: 现货合同编号
  2011. type: string
  2012. contracttype:
  2013. description: 现货合同类型 - 1:采购 -1:销售
  2014. type: integer
  2015. creatorid:
  2016. description: 申请人
  2017. type: integer
  2018. customeraccountid:
  2019. description: 客户资金账户ID
  2020. type: integer
  2021. customeruserid:
  2022. description: 客户ID
  2023. type: integer
  2024. details:
  2025. description: 明细
  2026. items:
  2027. $ref: '#/definitions/erms3.SoptContractDetail'
  2028. type: array
  2029. orimargin:
  2030. description: 初始保证金
  2031. type: number
  2032. remark:
  2033. description: 备注
  2034. type: string
  2035. signdate:
  2036. description: 签订日期
  2037. type: string
  2038. required:
  2039. - accountid
  2040. - areauserid
  2041. - contractno
  2042. - contracttype
  2043. - customeraccountid
  2044. - customeruserid
  2045. - details
  2046. - orimargin
  2047. - signdate
  2048. type: object
  2049. erms3.AddSpotContractApplyRsp:
  2050. properties:
  2051. contractno:
  2052. description: 现货合同编号
  2053. type: string
  2054. spotcontractid:
  2055. description: 现货合同ID(345+Unix秒时间戳(10位)+xxxxxx)
  2056. type: integer
  2057. required:
  2058. - contractno
  2059. type: object
  2060. erms3.AddUserInfoApplyReq:
  2061. properties:
  2062. accountid:
  2063. description: 交易系统帐号Id (加密存储)
  2064. type: integer
  2065. areacode:
  2066. description: 机构代码
  2067. type: string
  2068. areaid:
  2069. description: 机构Id
  2070. type: integer
  2071. attachment1:
  2072. description: 附件1
  2073. type: string
  2074. attachment2:
  2075. description: 附件2
  2076. type: string
  2077. attachment3:
  2078. description: 附件3
  2079. type: string
  2080. attachment4:
  2081. description: 附件4
  2082. type: string
  2083. attachment5:
  2084. description: 附件5
  2085. type: string
  2086. auditedby:
  2087. description: 审核人
  2088. type: string
  2089. auditime:
  2090. description: 审核时间
  2091. type: string
  2092. auditsrc:
  2093. description: 审核来源 - 1:管理端 2:终端
  2094. type: integer
  2095. bankaccount:
  2096. description: 银行帐号 (加密存储)
  2097. type: string
  2098. bankaccountname:
  2099. description: 收款人名称
  2100. type: string
  2101. bankcardbackphotourl:
  2102. description: 银行卡背面照地址
  2103. type: string
  2104. bankcardfrontphotourl:
  2105. description: 银行卡正面照地址
  2106. type: string
  2107. bankid:
  2108. description: 银行编码
  2109. type: string
  2110. bankname:
  2111. description: 银行名称
  2112. type: string
  2113. bankpictureurl:
  2114. description: 银行卡正面地址
  2115. type: string
  2116. biznature:
  2117. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2118. type: integer
  2119. bizscope:
  2120. description: 企业经营范围(企业)
  2121. type: string
  2122. biztype:
  2123. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2124. type: integer
  2125. brokerid:
  2126. description: 经纪人ID(加密存储)
  2127. type: string
  2128. cardaddress:
  2129. description: 证件地址 (加密存储)
  2130. type: string
  2131. cardbackphotourl:
  2132. description: 背面证件照地址
  2133. type: string
  2134. cardfrontphotourl:
  2135. description: 正面证件照地址
  2136. type: string
  2137. cardnum:
  2138. description: 证件号码 (加密存储)
  2139. type: string
  2140. cardtype:
  2141. description: 证件类型
  2142. type: integer
  2143. cityid:
  2144. description: 市
  2145. type: integer
  2146. company:
  2147. description: 公司(个人)
  2148. type: string
  2149. contactcardbackphotourl:
  2150. description: 联系人证件背面图片地址
  2151. type: string
  2152. contactcardfrontphotourl:
  2153. description: 联系人证件正面图片地址
  2154. type: string
  2155. contactname:
  2156. description: 联系人
  2157. type: string
  2158. countryid:
  2159. description: 国家
  2160. type: integer
  2161. createtime:
  2162. description: 开户申请时间
  2163. type: string
  2164. cusbankid:
  2165. description: 签约类型
  2166. type: string
  2167. cusbankname:
  2168. description: 签约类型名称
  2169. type: string
  2170. customername:
  2171. description: 客户名称(企业名称)
  2172. type: string
  2173. districtid:
  2174. description: 地区
  2175. type: integer
  2176. email:
  2177. description: Email地址(加密存储)
  2178. type: string
  2179. halfbodyphotourl:
  2180. description: 半身照地址
  2181. type: string
  2182. headurl:
  2183. description: 头像地址
  2184. type: string
  2185. ipaddress:
  2186. description: IP地址
  2187. type: string
  2188. isvalidate:
  2189. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2190. type: string
  2191. legalcardbackphotourl:
  2192. description: 法人身份证背面照地址
  2193. type: string
  2194. legalcardfrontphotourl:
  2195. description: 法人身份证正面照地址
  2196. type: string
  2197. legalpersonname:
  2198. description: 法人姓名(企业)
  2199. type: string
  2200. logincode:
  2201. description: 登录帐号 (加密存储)
  2202. type: string
  2203. memberareaid:
  2204. description: 所属会员ID
  2205. type: integer
  2206. mobile2:
  2207. description: 手机号码[明文-尚志]
  2208. type: string
  2209. mobilephone:
  2210. description: 手机号码 (加密存储)
  2211. type: string
  2212. modifiedby:
  2213. description: 修改人帐号
  2214. type: integer
  2215. modifiedtime:
  2216. description: 修改时间
  2217. type: string
  2218. nickname:
  2219. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2220. type: string
  2221. openmode:
  2222. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2223. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2224. type: integer
  2225. otherurl:
  2226. description: 其它图片地址[使用分号分隔]
  2227. type: string
  2228. postalcode:
  2229. description: 邮政编码
  2230. type: string
  2231. provinceid:
  2232. description: 省
  2233. type: integer
  2234. proxystatementurl:
  2235. description: 授权委托书
  2236. type: string
  2237. qq:
  2238. description: QQ(加密存储
  2239. type: string
  2240. referral:
  2241. description: 推荐人编码
  2242. type: string
  2243. remark:
  2244. description: 备注
  2245. type: string
  2246. removebeforestatus:
  2247. description: REMOVEBEFORESTATUS
  2248. type: integer
  2249. sex:
  2250. description: 性别 - 0:女 1:男
  2251. type: integer
  2252. signedstatus:
  2253. description: 账户一号签签约状态
  2254. type: integer
  2255. signpdfurl:
  2256. description: 签约pdf文件
  2257. type: string
  2258. subbranch:
  2259. description: 开户支行
  2260. type: string
  2261. taxpayernum:
  2262. description: 纳税人识别号
  2263. type: string
  2264. telphone:
  2265. description: 联系电话(加密存储)
  2266. type: string
  2267. userid:
  2268. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  2269. type: integer
  2270. userinfotype:
  2271. description: 用户信息类型 - 1:个人 2:企业
  2272. type: integer
  2273. username:
  2274. description: 用户姓名
  2275. type: string
  2276. userstate:
  2277. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2278. type: integer
  2279. usertype:
  2280. description: 用户类型 - 1:投资者 2:机构
  2281. type: integer
  2282. videourl:
  2283. description: 视频地址
  2284. type: string
  2285. wechat:
  2286. description: 微信号 (加密存储)
  2287. type: string
  2288. required:
  2289. - userid
  2290. type: object
  2291. erms3.CustomerInfo:
  2292. properties:
  2293. accountids:
  2294. description: 资金账户ID列表
  2295. items:
  2296. type: integer
  2297. type: array
  2298. customername:
  2299. description: 名称(企业名称)
  2300. type: string
  2301. mobile:
  2302. description: 手机号码
  2303. type: string
  2304. userid:
  2305. description: 用户ID
  2306. type: integer
  2307. required:
  2308. - userid
  2309. type: object
  2310. erms3.ModifyUserInfoApplyReq:
  2311. properties:
  2312. accountid:
  2313. description: 交易系统帐号Id (加密存储)
  2314. type: integer
  2315. areacode:
  2316. description: 机构代码
  2317. type: string
  2318. areaid:
  2319. description: 机构Id
  2320. type: integer
  2321. attachment1:
  2322. description: 附件1
  2323. type: string
  2324. attachment2:
  2325. description: 附件2
  2326. type: string
  2327. attachment3:
  2328. description: 附件3
  2329. type: string
  2330. attachment4:
  2331. description: 附件4
  2332. type: string
  2333. attachment5:
  2334. description: 附件5
  2335. type: string
  2336. auditedby:
  2337. description: 审核人
  2338. type: string
  2339. auditime:
  2340. description: 审核时间
  2341. type: string
  2342. auditsrc:
  2343. description: 审核来源 - 1:管理端 2:终端
  2344. type: integer
  2345. bankaccount:
  2346. description: 银行帐号 (加密存储)
  2347. type: string
  2348. bankaccountname:
  2349. description: 收款人名称
  2350. type: string
  2351. bankcardbackphotourl:
  2352. description: 银行卡背面照地址
  2353. type: string
  2354. bankcardfrontphotourl:
  2355. description: 银行卡正面照地址
  2356. type: string
  2357. bankid:
  2358. description: 银行编码
  2359. type: string
  2360. bankname:
  2361. description: 银行名称
  2362. type: string
  2363. bankpictureurl:
  2364. description: 银行卡正面地址
  2365. type: string
  2366. biznature:
  2367. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2368. type: integer
  2369. bizscope:
  2370. description: 企业经营范围(企业)
  2371. type: string
  2372. biztype:
  2373. description: 企业类型 - 1:进口/生产 2:销售 3:零售 4:运输 5:仓储
  2374. type: integer
  2375. brokerid:
  2376. description: 经纪人ID(加密存储)
  2377. type: string
  2378. cardaddress:
  2379. description: 证件地址 (加密存储)
  2380. type: string
  2381. cardbackphotourl:
  2382. description: 背面证件照地址
  2383. type: string
  2384. cardfrontphotourl:
  2385. description: 正面证件照地址
  2386. type: string
  2387. cardnum:
  2388. description: 证件号码 (加密存储)
  2389. type: string
  2390. cardtype:
  2391. description: 证件类型
  2392. type: integer
  2393. cityid:
  2394. description: 市
  2395. type: integer
  2396. company:
  2397. description: 公司(个人)
  2398. type: string
  2399. contactcardbackphotourl:
  2400. description: 联系人证件背面图片地址
  2401. type: string
  2402. contactcardfrontphotourl:
  2403. description: 联系人证件正面图片地址
  2404. type: string
  2405. contactname:
  2406. description: 联系人
  2407. type: string
  2408. countryid:
  2409. description: 国家
  2410. type: integer
  2411. createtime:
  2412. description: 开户申请时间
  2413. type: string
  2414. cusbankid:
  2415. description: 签约类型
  2416. type: string
  2417. cusbankname:
  2418. description: 签约类型名称
  2419. type: string
  2420. customername:
  2421. description: 客户名称(企业名称)
  2422. type: string
  2423. districtid:
  2424. description: 地区
  2425. type: integer
  2426. email:
  2427. description: Email地址(加密存储)
  2428. type: string
  2429. halfbodyphotourl:
  2430. description: 半身照地址
  2431. type: string
  2432. headurl:
  2433. description: 头像地址
  2434. type: string
  2435. ipaddress:
  2436. description: IP地址
  2437. type: string
  2438. isvalidate:
  2439. description: 是否有效 (删除后标记为失效) - 0:无效 1:有效
  2440. type: string
  2441. legalcardbackphotourl:
  2442. description: 法人身份证背面照地址
  2443. type: string
  2444. legalcardfrontphotourl:
  2445. description: 法人身份证正面照地址
  2446. type: string
  2447. legalpersonname:
  2448. description: 法人姓名(企业)
  2449. type: string
  2450. logincode:
  2451. description: 登录帐号 (加密存储)
  2452. type: string
  2453. memberareaid:
  2454. description: 所属会员ID
  2455. type: integer
  2456. mobile2:
  2457. description: 手机号码[明文-尚志]
  2458. type: string
  2459. mobilephone:
  2460. description: 手机号码 (加密存储)
  2461. type: string
  2462. modifiedby:
  2463. description: 修改人帐号
  2464. type: integer
  2465. modifiedtime:
  2466. description: 修改时间
  2467. type: string
  2468. nickname:
  2469. description: 昵称:默认为手机号脱敏(139****9999) 或 名称脱敏(张**)
  2470. type: string
  2471. openmode:
  2472. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网-手机号) 3:微信开户 4:网页交易端注册 5:安卓手机端注册
  2473. 6:苹果手机端注册 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户 11:网上开户注册(会员官网-微信认证) 12:网上开户注册(会员官网-支付宝认证)
  2474. type: integer
  2475. otherurl:
  2476. description: 其它图片地址[使用分号分隔]
  2477. type: string
  2478. postalcode:
  2479. description: 邮政编码
  2480. type: string
  2481. provinceid:
  2482. description: 省
  2483. type: integer
  2484. proxystatementurl:
  2485. description: 授权委托书
  2486. type: string
  2487. qq:
  2488. description: QQ(加密存储
  2489. type: string
  2490. referral:
  2491. description: 推荐人编码
  2492. type: string
  2493. remark:
  2494. description: 备注
  2495. type: string
  2496. removebeforestatus:
  2497. description: REMOVEBEFORESTATUS
  2498. type: integer
  2499. sex:
  2500. description: 性别 - 0:女 1:男
  2501. type: integer
  2502. signedstatus:
  2503. description: 账户一号签签约状态
  2504. type: integer
  2505. signpdfurl:
  2506. description: 签约pdf文件
  2507. type: string
  2508. subbranch:
  2509. description: 开户支行
  2510. type: string
  2511. taxpayernum:
  2512. description: 纳税人识别号
  2513. type: string
  2514. telphone:
  2515. description: 联系电话(加密存储)
  2516. type: string
  2517. userid:
  2518. description: 用户ID(自增ID)SEQ_WSKH_USERINFO
  2519. type: integer
  2520. userinfotype:
  2521. description: 用户信息类型 - 1:个人 2:企业
  2522. type: integer
  2523. username:
  2524. description: 用户姓名
  2525. type: string
  2526. userstate:
  2527. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2528. type: integer
  2529. usertype:
  2530. description: 用户类型 - 1:投资者 2:机构
  2531. type: integer
  2532. videourl:
  2533. description: 视频地址
  2534. type: string
  2535. wechat:
  2536. description: 微信号 (加密存储)
  2537. type: string
  2538. required:
  2539. - userid
  2540. type: object
  2541. erms3.QryAuditContractRsp:
  2542. properties:
  2543. accountid:
  2544. description: 交易员ID
  2545. type: string
  2546. applystatus:
  2547. description: 申请状态 - 0:未审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  2548. type: integer
  2549. curdeliveryqty:
  2550. description: 未交收量
  2551. type: integer
  2552. customername:
  2553. description: 采购方ID
  2554. type: string
  2555. deliverygoodsid:
  2556. description: 品种ID
  2557. type: string
  2558. deliveryqty:
  2559. description: 交收量
  2560. type: integer
  2561. enumdicname:
  2562. description: 单位名称
  2563. type: string
  2564. matchaccountid:
  2565. description: 业务员ID
  2566. type: string
  2567. matchcustomername:
  2568. description: 销售方ID
  2569. type: string
  2570. pricedqty:
  2571. description: 定价量
  2572. type: number
  2573. signdate:
  2574. description: 签订日期
  2575. type: string
  2576. spotcontractid:
  2577. description: 合同ID
  2578. type: string
  2579. totaldqty:
  2580. description: 合同量
  2581. type: number
  2582. unpricedqty:
  2583. description: 未定价量
  2584. type: number
  2585. wrstandardname:
  2586. description: 商品名称
  2587. type: string
  2588. required:
  2589. - matchcustomername
  2590. - spotcontractid
  2591. type: object
  2592. erms3.QryPendingBizRsp:
  2593. $ref: '#/definitions/models.PendingAuditBizModel'
  2594. erms3.QueryBusinessInfoRsp:
  2595. properties:
  2596. businessid:
  2597. description: 业务ID.
  2598. type: integer
  2599. buyamount:
  2600. description: 采购额.
  2601. type: number
  2602. buyqty:
  2603. description: 采购量.
  2604. type: string
  2605. futurepl:
  2606. description: 期货盈亏.
  2607. type: number
  2608. futureqty:
  2609. description: 期货敞口.
  2610. type: string
  2611. goodsid:
  2612. description: 商品名称/商品代码.
  2613. type: string
  2614. hedgingqty:
  2615. description: 套保量.
  2616. type: string
  2617. sellamount:
  2618. description: 销售额.
  2619. type: number
  2620. sellqty:
  2621. description: 销售量.
  2622. type: string
  2623. spotmarketvalue:
  2624. description: 现货市值.
  2625. type: number
  2626. spotpl:
  2627. description: 浮动权益.
  2628. type: number
  2629. spotqty:
  2630. description: 现货量.
  2631. type: string
  2632. statu:
  2633. description: 状态,0-未结束 1-已结束.
  2634. type: integer
  2635. totalpl:
  2636. description: 总盈亏.
  2637. type: number
  2638. totalqty:
  2639. description: 总敞口.
  2640. type: string
  2641. type:
  2642. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易.
  2643. type: integer
  2644. type: object
  2645. erms3.QuerySpotContractAppleFormRsp:
  2646. properties:
  2647. goodses:
  2648. description: 合约列表
  2649. items:
  2650. $ref: '#/definitions/models.GoodsIDAndName'
  2651. type: array
  2652. oppositeusers:
  2653. description: 对方账号列表
  2654. items:
  2655. $ref: '#/definitions/erms3.CustomerInfo'
  2656. type: array
  2657. ouruser:
  2658. $ref: '#/definitions/erms3.CustomerInfo'
  2659. description: 我方账号
  2660. type: object
  2661. warehouseinfos:
  2662. description: 仓库信息列表
  2663. items:
  2664. $ref: '#/definitions/models.Warehouseinfo'
  2665. type: array
  2666. wrstandards:
  2667. description: 仓单标准列表
  2668. items:
  2669. $ref: '#/definitions/models.WRStandardInfo'
  2670. type: array
  2671. type: object
  2672. erms3.QuerySpotContractInfoRsp:
  2673. properties:
  2674. accountid:
  2675. description: 表示交易员ID.
  2676. type: integer
  2677. curdeliveryqty:
  2678. description: 表示未交收量.
  2679. type: number
  2680. customername:
  2681. description: 若合同类型为采购合同,表示采购方ID;若合同类型为销售合同,表示销售方ID.
  2682. type: string
  2683. deliverygoodsid:
  2684. description: 表示品种ID.
  2685. type: string
  2686. deliveryqty:
  2687. description: 表示交收量.
  2688. type: number
  2689. matchaccountid:
  2690. description: 表示业务员ID.
  2691. type: integer
  2692. matchcustomername:
  2693. description: 若合同类型为采购合同,表示销售方;若合同类型为销售合同,表示采购方ID.
  2694. type: string
  2695. priceqty:
  2696. description: 表示定价量.
  2697. type: number
  2698. relatedbizid:
  2699. description: 表示业务ID.
  2700. type: string
  2701. signdate:
  2702. description: 表示签订日期.
  2703. type: string
  2704. spotcontractid:
  2705. description: 合同ID
  2706. type: string
  2707. status:
  2708. description: 表示状态,0-履约中 1-已完成.
  2709. type: integer
  2710. totalqty:
  2711. description: 表示合同量.
  2712. type: number
  2713. unpricedqty:
  2714. description: 表示未定价量.
  2715. type: number
  2716. wrstandardname:
  2717. description: 表示商品ID.
  2718. type: string
  2719. type: object
  2720. erms3.QueryUserInfoAppliesRsp:
  2721. properties:
  2722. biznature:
  2723. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2724. type: integer
  2725. contactname:
  2726. description: 联系人
  2727. type: string
  2728. createtime:
  2729. description: 开户申请时间
  2730. type: string
  2731. userid:
  2732. description: 用户ID(自增ID)
  2733. type: integer
  2734. userinfotype:
  2735. description: 用户信息类型 - 1:个人 2:企业
  2736. type: integer
  2737. username:
  2738. description: 用户姓名
  2739. type: string
  2740. userstate:
  2741. description: '开户状态 - 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过'
  2742. type: integer
  2743. required:
  2744. - userid
  2745. type: object
  2746. erms3.QueryUserInfosRsp:
  2747. properties:
  2748. biznature:
  2749. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  2750. type: integer
  2751. contactname:
  2752. description: 联系人
  2753. type: string
  2754. customername:
  2755. description: 客户名称(企业名称)
  2756. type: string
  2757. userid:
  2758. description: 用户ID
  2759. type: integer
  2760. userinfotype:
  2761. description: 用户信息类型 - 1:个人 2:企业
  2762. type: integer
  2763. userstatus:
  2764. description: 用户状态 - 1:正常 2:注销
  2765. type: integer
  2766. required:
  2767. - userid
  2768. type: object
  2769. erms3.SoptContractDetail:
  2770. properties:
  2771. deliverygoodsdesc:
  2772. description: 现货品种说明
  2773. type: string
  2774. deliverygoodsid:
  2775. description: 现货品种ID
  2776. type: integer
  2777. deliverygoodsname:
  2778. description: 现货品种名称
  2779. type: string
  2780. pointdesc:
  2781. description: 点价描述
  2782. type: string
  2783. producttype:
  2784. description: 产品类型 1:标准仓单 2:等标 3:非标
  2785. type: integer
  2786. producttypename:
  2787. description: 产品类型名称
  2788. type: string
  2789. spotPointOrderVoList:
  2790. description: 点价列表
  2791. items:
  2792. $ref: '#/definitions/erms3.SpotPointOrder'
  2793. type: array
  2794. spotPriceOrderList:
  2795. description: 定价列表
  2796. items:
  2797. $ref: '#/definitions/erms3.SpotPriceOrder'
  2798. type: array
  2799. unitname:
  2800. description: 单位名称
  2801. type: string
  2802. warehouseid:
  2803. description: 仓库ID
  2804. type: integer
  2805. warehousename:
  2806. description: 仓库名称
  2807. type: string
  2808. wrstandardid:
  2809. description: 交易标的ID
  2810. type: integer
  2811. wrstandardname:
  2812. description: 交易标的名称
  2813. type: string
  2814. required:
  2815. - deliverygoodsid
  2816. - producttype
  2817. - unitname
  2818. - warehouseid
  2819. - wrstandardid
  2820. - wrstandardname
  2821. type: object
  2822. erms3.SpotPointOrder:
  2823. properties:
  2824. basic:
  2825. description: 基差
  2826. type: number
  2827. deliveryenddate:
  2828. description: 交收结束日期
  2829. type: string
  2830. deliverystartdate:
  2831. description: 交收开始日期
  2832. type: string
  2833. enddate:
  2834. description: 点价结束日期
  2835. type: string
  2836. goodsid:
  2837. description: 商品ID
  2838. type: integer
  2839. goodsname:
  2840. description: 商品名称
  2841. type: string
  2842. qty:
  2843. description: 数量
  2844. type: number
  2845. startdate:
  2846. description: 点价开始日期
  2847. type: string
  2848. required:
  2849. - basic
  2850. - goodsid
  2851. - qty
  2852. type: object
  2853. erms3.SpotPriceOrder:
  2854. properties:
  2855. amount:
  2856. description: 金额
  2857. type: number
  2858. deliveryenddate:
  2859. description: 交收结束日期
  2860. type: string
  2861. deliverystartdate:
  2862. description: 交收开始日期
  2863. type: string
  2864. price:
  2865. description: 价格
  2866. type: number
  2867. qty:
  2868. description: 数量
  2869. type: number
  2870. required:
  2871. - amount
  2872. - price
  2873. - qty
  2874. type: object
  2875. hsby.GetHsbyMyCountRsp:
  2876. properties:
  2877. myCouponCount:
  2878. description: 我的优惠卷数量
  2879. type: integer
  2880. myOrderDetailListingCount:
  2881. description: 我的订单求购中数量
  2882. type: integer
  2883. myOrderDetailPreCount:
  2884. description: 我的订单抢购中数量
  2885. type: integer
  2886. myPackageUnReceiveCount:
  2887. description: 我的包裹待收货数量
  2888. type: integer
  2889. myPackageUnSendCount:
  2890. description: 我的包裹待发货数量
  2891. type: integer
  2892. myPayOrderCount:
  2893. description: 我的订单待付款数量
  2894. type: integer
  2895. type: object
  2896. hsby.QueryProvincesAndCitiesRsp:
  2897. properties:
  2898. cities:
  2899. description: 市
  2900. items:
  2901. $ref: '#/definitions/models.Division'
  2902. type: array
  2903. province:
  2904. $ref: '#/definitions/models.Division'
  2905. description: 省
  2906. type: object
  2907. type: object
  2908. models.AreaSpotModel:
  2909. properties:
  2910. areauserid:
  2911. description: 所属机构
  2912. type: integer
  2913. decreaseqty:
  2914. description: 减少数量=-(销售已定价数量+采购计划数量)
  2915. type: number
  2916. increaseqty:
  2917. description: 增加数量=销售计划数量+采购已定价数量
  2918. type: number
  2919. oritoalspotqty:
  2920. description: 昨日数量
  2921. type: number
  2922. totalspotqty:
  2923. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  2924. type: number
  2925. updatetime:
  2926. description: 更新时间
  2927. type: string
  2928. wrstandardcode:
  2929. description: 现货品种代码
  2930. type: string
  2931. wrstandardid:
  2932. description: 现货商品ID
  2933. type: integer
  2934. wrstandardname:
  2935. description: 现货品种
  2936. type: string
  2937. type: object
  2938. models.Arearole:
  2939. properties:
  2940. createtime:
  2941. description: 创建时间
  2942. type: string
  2943. creatorid:
  2944. description: 创建人ID
  2945. type: integer
  2946. fromuserid:
  2947. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  2948. type: integer
  2949. isreturnscore:
  2950. description: 是否返还积分 [经纪会员-辽东湾] - 0:不返还 1:返还
  2951. type: integer
  2952. modifierid:
  2953. description: 修改人ID
  2954. type: integer
  2955. modifytime:
  2956. description: 修改时间
  2957. type: string
  2958. orgtype:
  2959. description: 组织机构类型 1:机构\分支节点 2:交易员\叶子节点 3:部门\分支节点
  2960. type: integer
  2961. outuserid:
  2962. description: 外部账户[场外期权做市商]
  2963. type: string
  2964. parentuserid:
  2965. description: 上级组织机构(组织机构)
  2966. type: integer
  2967. roletype:
  2968. description: 角色类型 - 1:交易所 2:运营机构 3:营销中心 4:仓库机构 5:三方服务机构 6:自营会员 7:经纪会员 8:做市会员
  2969. 9:产业会员 10:金融机构 11:商城店铺 12:子机构 13:报价商 14:积分服务商 15:供货商 16:圈内会员 17:物流机构 18:报价配置机构
  2970. 19:场外期权做市商 20:组织机构 21:顶级机构 22:业务员 23:跟单员 24:交易员 25:客户 98:代理 99:门店
  2971. type: integer
  2972. rootuserid:
  2973. description: 顶级组织机构用户ID(组织机构)
  2974. type: integer
  2975. shoppassword:
  2976. description: 商城店铺登陆密码(商城店铺角色使用)
  2977. type: string
  2978. sublevelpath:
  2979. description: 组织机构层级路径(逗号分隔,首尾加逗号)
  2980. type: string
  2981. suborgtype:
  2982. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  2983. type: integer
  2984. tradeaccountid:
  2985. description: 默认交易资金账号ID(做市会员被动接单使用、商城店铺默认资金账 号、圈内会员默认资金账号) - 作废, 使用UserReckonAccount
  2986. type: integer
  2987. transurl:
  2988. description: 物流地址(物流机构)
  2989. type: string
  2990. userid:
  2991. description: 机构用户ID其他做市关系,都设置为 1
  2992. type: integer
  2993. required:
  2994. - roletype
  2995. - userid
  2996. type: object
  2997. models.Clientfixedadconfig:
  2998. properties:
  2999. adsort:
  3000. description: 排序
  3001. type: integer
  3002. adtype:
  3003. description: 广告位类型 - 1:新品抢购(HSBY)
  3004. type: integer
  3005. areauserid:
  3006. description: 所属机构ID
  3007. type: integer
  3008. createdate:
  3009. description: 创建时间
  3010. type: string
  3011. creatorid:
  3012. description: 创建人
  3013. type: integer
  3014. imagepath:
  3015. description: 图片
  3016. type: string
  3017. isshow:
  3018. description: 是否展示 - 0:不展示 1:展示
  3019. type: integer
  3020. modifierid:
  3021. description: 操作人
  3022. type: integer
  3023. recsize:
  3024. description: 推荐尺寸
  3025. type: string
  3026. title:
  3027. description: 标题
  3028. type: string
  3029. updatedate:
  3030. description: 更新时间
  3031. type: string
  3032. urlcontent:
  3033. description: 链接(地址或商品ID)
  3034. type: string
  3035. urltype:
  3036. description: 链接类型 - 1:直接地址 2:商品ID
  3037. type: integer
  3038. required:
  3039. - adsort
  3040. - adtype
  3041. type: object
  3042. models.Division:
  3043. properties:
  3044. autoid:
  3045. description: 自增ID
  3046. type: integer
  3047. divisioncode:
  3048. description: 行政代码
  3049. type: string
  3050. divisionlevel:
  3051. description: 行政级别
  3052. type: string
  3053. divisionname:
  3054. description: 行政名称
  3055. type: string
  3056. modifierid:
  3057. description: 修改人
  3058. type: integer
  3059. modifytime:
  3060. description: 修改时间
  3061. type: string
  3062. parentcode:
  3063. description: 上级行政代码
  3064. type: string
  3065. pathname:
  3066. description: 路径名称
  3067. type: string
  3068. postcode:
  3069. description: 邮政编码
  3070. type: string
  3071. separablename:
  3072. description: 可拆分的全称
  3073. type: string
  3074. shortcode:
  3075. description: 地区简码
  3076. type: string
  3077. required:
  3078. - autoid
  3079. - divisioncode
  3080. type: object
  3081. models.Enumdicitem:
  3082. properties:
  3083. autoid:
  3084. description: 自增ID
  3085. type: integer
  3086. bankmappedvalue:
  3087. description: 银行服务对应值
  3088. type: string
  3089. enumdiccode:
  3090. description: 所属枚举代码
  3091. type: string
  3092. enumdicid:
  3093. description: 所属枚举ID
  3094. type: integer
  3095. enumdicname:
  3096. description: 枚举项名称
  3097. type: string
  3098. enumitemname:
  3099. description: 枚举项值
  3100. type: integer
  3101. enumitemstatus:
  3102. description: 枚举项状态 - 1.启用 2.不启用
  3103. type: integer
  3104. enumitemvalue:
  3105. description: 通用值 - [币种通用简写]
  3106. type: string
  3107. param1:
  3108. description: 参数1[币种:币种小数位]
  3109. type: string
  3110. param2:
  3111. description: 参数1[币种:币种显示单位]
  3112. type: string
  3113. remark:
  3114. description: 备注
  3115. type: string
  3116. required:
  3117. - autoid
  3118. - enumdiccode
  3119. - enumdicid
  3120. - enumitemname
  3121. type: object
  3122. models.Ermcp3AreaSpot:
  3123. properties:
  3124. areauserid:
  3125. description: 所属机构
  3126. type: integer
  3127. decreaseqty:
  3128. description: 减少数量=-(销售已定价数量+采购计划数量)
  3129. type: number
  3130. deliverygoodscode:
  3131. description: 现货品种代码
  3132. type: string
  3133. deliverygoodsid:
  3134. description: 现货品种id
  3135. type: integer
  3136. deliverygoodsname:
  3137. description: 现货品种名称
  3138. type: string
  3139. enumdicname:
  3140. description: 单位名称
  3141. type: string
  3142. goodsunitid:
  3143. description: 现货品种单位id
  3144. type: integer
  3145. increaseqty:
  3146. description: 增加数量=销售计划数量+采购已定价数量
  3147. type: number
  3148. oritoalspotqty:
  3149. description: 昨日数量
  3150. type: number
  3151. totalspotqty:
  3152. description: 当前数量(现货头寸总量) = (销售计划数量 - 销售已定价数量) - (采购计划数量 - 采购已定价数量)
  3153. type: number
  3154. updatetime:
  3155. description: 更新时间
  3156. type: string
  3157. type: object
  3158. models.Ermcp3AreaSpotDetail:
  3159. properties:
  3160. contracttype:
  3161. description: 合同类型 1-采购 -1-销售
  3162. type: integer
  3163. createtime:
  3164. description: 创建时间
  3165. type: string
  3166. deliverygoodscode:
  3167. description: 现货品种代码
  3168. type: string
  3169. deliverygoodsid:
  3170. description: 现货品种id
  3171. type: integer
  3172. deliverygoodsname:
  3173. description: 现货品种名称
  3174. type: string
  3175. enumdicname:
  3176. description: 现货商品单位名称
  3177. type: string
  3178. logtype:
  3179. description: 记录类型 1-套保 2-现货合同
  3180. type: integer
  3181. qty:
  3182. description: 数量
  3183. type: number
  3184. recordname:
  3185. description: 类型名称
  3186. type: string
  3187. relatedid:
  3188. description: 套保计划ID/现货合同ID
  3189. type: string
  3190. relatedno:
  3191. description: 编号
  3192. type: string
  3193. strtime:
  3194. description: 时间
  3195. type: string
  3196. type: object
  3197. models.Ermcp3AreaSpotPLReport:
  3198. properties:
  3199. accountid:
  3200. description: 期货账户ID (作废, 默认为0)
  3201. type: integer
  3202. accountname:
  3203. description: 机构名称
  3204. type: string
  3205. actualpl:
  3206. description: 现货损益
  3207. type: number
  3208. areauserid:
  3209. description: 所属机构\交易用户ID
  3210. type: integer
  3211. begindate:
  3212. description: 开始交易日
  3213. type: string
  3214. biztype:
  3215. description: 业务类型 - 1:套保 2:套利
  3216. type: integer
  3217. brandname:
  3218. description: 品牌名称
  3219. type: string
  3220. curamount:
  3221. description: 期末额
  3222. type: number
  3223. curaverageprice:
  3224. description: 期末均价
  3225. type: number
  3226. curbuyamount:
  3227. description: 期末采购总额
  3228. type: number
  3229. curbuyqty:
  3230. description: 期末采购总量
  3231. type: number
  3232. curmarketvalue:
  3233. description: 参考市值(期末市值)
  3234. type: number
  3235. curqty:
  3236. description: 期末量
  3237. type: number
  3238. currencyid:
  3239. description: 结算币种ID【原值】
  3240. type: integer
  3241. currencyname:
  3242. description: 币种名称
  3243. type: string
  3244. cursellamount:
  3245. description: 期末销售总额
  3246. type: number
  3247. cursellqty:
  3248. description: 期末销售总量
  3249. type: number
  3250. curspotprice:
  3251. description: 参考市价(最新价)
  3252. type: number
  3253. cycletime:
  3254. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3255. type: string
  3256. cycletype:
  3257. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3258. type: integer
  3259. deliverygoodscode:
  3260. description: 现货商品代码
  3261. type: string
  3262. deliverygoodsid:
  3263. description: 现货品种ID
  3264. type: integer
  3265. deliverygoodsname:
  3266. description: 现货商品名称
  3267. type: string
  3268. enddate:
  3269. description: 结束交易日
  3270. type: string
  3271. enumdicname:
  3272. description: 现货商品单位名称
  3273. type: string
  3274. floatpl:
  3275. description: 浮动损益
  3276. type: number
  3277. goodsunitid:
  3278. description: 现货商品单位id
  3279. type: integer
  3280. oriamount:
  3281. description: 期初额
  3282. type: number
  3283. oriaverageprice:
  3284. description: 期初均价
  3285. type: number
  3286. oribuyamount:
  3287. description: 期初采购总额
  3288. type: number
  3289. oribuyqty:
  3290. description: 期初采购总量
  3291. type: number
  3292. oriqty:
  3293. description: 期初量
  3294. type: number
  3295. orisellamount:
  3296. description: 期初销售总额
  3297. type: number
  3298. orisellqty:
  3299. description: 期初销售总量
  3300. type: number
  3301. reckondate:
  3302. description: 日照时期(yyyyMMdd)
  3303. type: string
  3304. spotgoodsbrandid:
  3305. description: 现货品牌ID
  3306. type: integer
  3307. todaybuyamount:
  3308. description: 今日采购额(今采购额)
  3309. type: number
  3310. todaybuyaverageprice:
  3311. description: 今日采购均价
  3312. type: number
  3313. todaybuyqty:
  3314. description: 今日采购量(今采购量)
  3315. type: number
  3316. todayinqty:
  3317. description: 今日入库量(今入库量)
  3318. type: number
  3319. todayoutqty:
  3320. description: 今日出库量(今出库量)
  3321. type: number
  3322. todaysellamount:
  3323. description: 今日销售额(今销售额)
  3324. type: number
  3325. todaysellaverageprice:
  3326. description: 今日销售均价
  3327. type: number
  3328. todaysellqty:
  3329. description: 今日销售量(今销售量)
  3330. type: number
  3331. unitid:
  3332. description: 品类单位id
  3333. type: integer
  3334. unitidname:
  3335. description: 品类单位名称
  3336. type: string
  3337. updatetime:
  3338. description: 更新时间
  3339. type: string
  3340. wrfactortypeid:
  3341. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  3342. type: integer
  3343. wrstandardcode:
  3344. description: 品类代码
  3345. type: string
  3346. wrstandardid:
  3347. description: 现货品类ID
  3348. type: integer
  3349. wrstandardname:
  3350. description: 品类名称
  3351. type: string
  3352. type: object
  3353. models.Ermcp3AreaStock:
  3354. properties:
  3355. brandname:
  3356. description: 品牌名称
  3357. type: string
  3358. curstock:
  3359. description: 期末库存量(今日量)
  3360. type: number
  3361. deliverygoodscode:
  3362. description: 现货品种代码
  3363. type: string
  3364. deliverygoodsid:
  3365. description: 现货品种id
  3366. type: integer
  3367. deliverygoodsname:
  3368. description: 现货品种名称
  3369. type: string
  3370. enumdicname:
  3371. description: 单位名称
  3372. type: string
  3373. goodsunitid:
  3374. description: 现货商品单位id
  3375. type: integer
  3376. oristock:
  3377. description: 期初库存量(昨日量)
  3378. type: number
  3379. spotgoodsbrandid:
  3380. description: 现货品牌ID
  3381. type: integer
  3382. todaybuyinqty:
  3383. description: 今日采购入库量
  3384. type: number
  3385. todayproduceinqty:
  3386. description: 今日生产入库量
  3387. type: number
  3388. todayproduceoutqty:
  3389. description: 今日生产出库量
  3390. type: number
  3391. todayselloutqty:
  3392. description: 今日销售出库量
  3393. type: number
  3394. unitid:
  3395. description: 单位id
  3396. type: integer
  3397. updatetime:
  3398. description: 更新时间
  3399. type: string
  3400. userid:
  3401. description: 机构ID
  3402. type: integer
  3403. username:
  3404. description: 机构名称
  3405. type: string
  3406. warehousecode:
  3407. description: 仓库代码
  3408. type: string
  3409. warehouseinfoid:
  3410. description: 仓库ID
  3411. type: string
  3412. warehousename:
  3413. description: 仓库名称
  3414. type: string
  3415. warehousetype:
  3416. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3417. type: integer
  3418. wrstandardcode:
  3419. description: 品类代码
  3420. type: string
  3421. wrstandardid:
  3422. description: 品类ID
  3423. type: string
  3424. wrstandardname:
  3425. description: 品类名称
  3426. type: string
  3427. required:
  3428. - userid
  3429. type: object
  3430. models.Ermcp3AreaStockApply:
  3431. properties:
  3432. applyid:
  3433. description: 申请人
  3434. type: integer
  3435. applyname:
  3436. description: 申请人名称
  3437. type: string
  3438. applyremark:
  3439. description: 申请备注
  3440. type: string
  3441. applysrc:
  3442. description: 申请来源 - 1:管理端 2:终端
  3443. type: integer
  3444. applystatus:
  3445. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  3446. type: integer
  3447. applytime:
  3448. description: 申请时间
  3449. type: string
  3450. auditid:
  3451. description: 审核人
  3452. type: integer
  3453. auditname:
  3454. description: 审核人名称
  3455. type: string
  3456. auditremark:
  3457. description: 审核备注
  3458. type: string
  3459. auditsrc:
  3460. description: 审核来源 - 1:管理端 2:终端
  3461. type: integer
  3462. audittime:
  3463. description: 审核时间
  3464. type: string
  3465. audittradedate:
  3466. description: 审核交易日(yyyyMMdd)
  3467. type: string
  3468. brandname:
  3469. description: 品牌名称
  3470. type: string
  3471. buynickname:
  3472. description: 采购方昵称
  3473. type: string
  3474. buyuserid:
  3475. description: 采购方userid
  3476. type: integer
  3477. buyusername:
  3478. description: 采购方名称
  3479. type: string
  3480. contractno:
  3481. description: 合同编号
  3482. type: string
  3483. contractqty:
  3484. description: 合同量
  3485. type: number
  3486. contracttype:
  3487. description: 现货合同类型 - 1:采购 -1:销售
  3488. type: integer
  3489. deliverygoodscode:
  3490. description: 现货品种代码
  3491. type: string
  3492. deliverygoodsid:
  3493. description: 现货品种id
  3494. type: integer
  3495. deliverygoodsname:
  3496. description: 现货品种名称
  3497. type: string
  3498. detailjson:
  3499. description: 明细数据
  3500. type: string
  3501. enumdicname:
  3502. description: 现货商品单位名称
  3503. type: string
  3504. inoutapplyid:
  3505. description: 申请ID(607+Unix秒时间戳(10位)+xxxxxx)
  3506. type: string
  3507. inouttype:
  3508. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  3509. type: integer
  3510. pricetype:
  3511. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3512. type: integer
  3513. qty:
  3514. description: 数量
  3515. type: number
  3516. sellnickname:
  3517. description: 销售方昵称
  3518. type: string
  3519. selluserid:
  3520. description: 销售方userid
  3521. type: integer
  3522. sellusername:
  3523. description: 销售方名称
  3524. type: string
  3525. spotcontractid:
  3526. description: 关联现货合同ID
  3527. type: string
  3528. spotgoodsbrandid:
  3529. description: 现货品牌ID
  3530. type: integer
  3531. unitid:
  3532. description: 单位id
  3533. type: integer
  3534. userid:
  3535. description: 机构ID
  3536. type: integer
  3537. warehousecode:
  3538. description: 仓库代码
  3539. type: string
  3540. warehouseinfoid:
  3541. description: 现货仓库ID
  3542. type: string
  3543. warehousename:
  3544. description: 仓库名称
  3545. type: string
  3546. warehousetype:
  3547. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3548. type: integer
  3549. wrstandardcode:
  3550. description: 品类代码
  3551. type: string
  3552. wrstandardid:
  3553. description: 品类ID
  3554. type: integer
  3555. wrstandardname:
  3556. description: 品类名称
  3557. type: string
  3558. type: object
  3559. models.Ermcp3AreaStockApplySum:
  3560. properties:
  3561. brandname:
  3562. description: 品牌名称
  3563. type: string
  3564. inouttype:
  3565. description: 出入库类型 - 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  3566. type: integer
  3567. spotcontractid:
  3568. description: 关联现货合同ID
  3569. type: string
  3570. spotgoodsbrandid:
  3571. description: 品牌id
  3572. type: integer
  3573. totalqty:
  3574. description: 总数量
  3575. type: number
  3576. wrstandardid:
  3577. description: 品类id
  3578. type: integer
  3579. wrstandardname:
  3580. description: 品类名称
  3581. type: string
  3582. type: object
  3583. models.Ermcp3AreaStockReportEx:
  3584. properties:
  3585. begindate:
  3586. description: 开始交易日
  3587. type: string
  3588. brandname:
  3589. description: 品牌名称
  3590. type: string
  3591. curstock:
  3592. description: 期末库存量
  3593. type: number
  3594. cycletime:
  3595. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3596. type: string
  3597. cycletype:
  3598. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3599. type: integer
  3600. deliverygoodscode:
  3601. description: 现货品种代码
  3602. type: string
  3603. deliverygoodsid:
  3604. description: 现货品种id
  3605. type: integer
  3606. deliverygoodsname:
  3607. description: 现货品种名称
  3608. type: string
  3609. diffqty:
  3610. description: 库存变化量 = 期末 - 期初
  3611. type: number
  3612. enddate:
  3613. description: 结束交易日
  3614. type: string
  3615. enumdicname:
  3616. description: 单位名称
  3617. type: string
  3618. goodsunitid:
  3619. description: 现货单位id
  3620. type: integer
  3621. oristock:
  3622. description: 期初库存量
  3623. type: number
  3624. reckondate:
  3625. description: 日照时期(yyyyMMdd)
  3626. type: string
  3627. spotgoodsbrandid:
  3628. description: 现货品牌ID
  3629. type: integer
  3630. todaybuyinqty:
  3631. description: 今采购入库量
  3632. type: number
  3633. todayproduceinqty:
  3634. description: 今内部入库量
  3635. type: number
  3636. todayproduceoutqty:
  3637. description: 今内部出库量
  3638. type: number
  3639. todayselloutqty:
  3640. description: 今销售出库量
  3641. type: number
  3642. unbuyinqty:
  3643. description: 采购未入库量(数据库未找到相关字段?)
  3644. type: number
  3645. unitid:
  3646. description: 品类单位id
  3647. type: integer
  3648. unselloutqty:
  3649. description: 销售未出库量(数据库未找到相关字段?)
  3650. type: number
  3651. updatetime:
  3652. description: 更新时间
  3653. type: string
  3654. userid:
  3655. description: 机构ID
  3656. type: integer
  3657. username:
  3658. description: 机构名称
  3659. type: string
  3660. warehousecode:
  3661. description: 仓库代码
  3662. type: string
  3663. warehouseinfoid:
  3664. description: 仓库ID
  3665. type: string
  3666. warehousename:
  3667. description: 仓库名称
  3668. type: string
  3669. warehousetype:
  3670. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  3671. type: integer
  3672. wrstandardcode:
  3673. description: 品类代码
  3674. type: string
  3675. wrstandardid:
  3676. description: 品类ID
  3677. type: integer
  3678. wrstandardname:
  3679. description: 品类名称
  3680. type: string
  3681. type: object
  3682. models.Ermcp3ArealSumPL:
  3683. properties:
  3684. accountname:
  3685. description: 机构名称
  3686. type: string
  3687. areauserid:
  3688. description: 所属机构\交易用户ID
  3689. type: integer
  3690. begindate:
  3691. description: 开始交易日
  3692. type: string
  3693. currencyid:
  3694. description: 结算币种ID
  3695. type: integer
  3696. currencyname:
  3697. description: 币种名称
  3698. type: string
  3699. cycletime:
  3700. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  3701. type: string
  3702. cycletype:
  3703. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  3704. type: integer
  3705. enddate:
  3706. description: 结束交易日
  3707. type: string
  3708. enumdicname:
  3709. description: 单位名称(套保品种)
  3710. type: string
  3711. futureactualpl:
  3712. description: 期货损益
  3713. type: number
  3714. futurefloatpl:
  3715. description: 期货浮动损益
  3716. type: number
  3717. goodsunitid:
  3718. description: 套保品种单位id
  3719. type: integer
  3720. middlegoodscode:
  3721. description: 套保品种代码
  3722. type: string
  3723. middlegoodsid:
  3724. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  3725. type: integer
  3726. middlegoodsname:
  3727. description: 套保品种名称
  3728. type: string
  3729. reckondate:
  3730. description: 日照时期(yyyyMMdd)
  3731. type: string
  3732. spotactualpl:
  3733. description: 现货损益
  3734. type: number
  3735. spotfloatpl:
  3736. description: 现货浮动损益
  3737. type: number
  3738. sumactualpl:
  3739. description: 实际损益 = (ActualPL + FutureActualPL)
  3740. type: number
  3741. sumpl:
  3742. description: 汇总损益
  3743. type: number
  3744. updatetime:
  3745. description: 更新时间
  3746. type: string
  3747. type: object
  3748. models.Ermcp3Brand:
  3749. properties:
  3750. areauserid:
  3751. description: 用户id
  3752. type: integer
  3753. brandid:
  3754. description: 品牌id
  3755. type: integer
  3756. brandname:
  3757. description: 品牌名称
  3758. type: string
  3759. deliverygoodsid:
  3760. description: 品种ID
  3761. type: integer
  3762. type: object
  3763. models.Ermcp3Contract:
  3764. properties:
  3765. accountid:
  3766. description: 期货账户id
  3767. type: string
  3768. amount:
  3769. description: 金额 [1:一口价、3:暂定价]
  3770. type: number
  3771. attachment:
  3772. description: 附件
  3773. type: string
  3774. auditremark:
  3775. description: 审核意见
  3776. type: string
  3777. audittime:
  3778. description: 审核时间
  3779. type: string
  3780. biztype:
  3781. description: 业务类型 1-套保 2-套利
  3782. type: integer
  3783. brandname:
  3784. description: 品牌名称
  3785. type: string
  3786. buynickname:
  3787. description: 销售方昵称
  3788. type: string
  3789. buyuserid:
  3790. description: 采购方ID
  3791. type: integer
  3792. buyusername:
  3793. description: 采购方名称
  3794. type: string
  3795. contracctstatus:
  3796. description: 合同状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  3797. type: integer
  3798. contractmargin:
  3799. description: 合同保证金
  3800. type: number
  3801. contractno:
  3802. description: 现货合同编号
  3803. type: string
  3804. contracttype:
  3805. description: 现货合同类型 - 1:采购 -1:销售
  3806. type: integer
  3807. convertfactor:
  3808. description: 标仓系数(品类)
  3809. type: number
  3810. createtime:
  3811. description: 创建时间
  3812. type: string
  3813. currencyid:
  3814. description: 币种id
  3815. type: integer
  3816. currencyname:
  3817. description: 币种名称
  3818. type: string
  3819. deliveryenddate:
  3820. description: 交收期(结束)
  3821. type: string
  3822. deliverygoodscode:
  3823. description: 现货品种代码
  3824. type: string
  3825. deliverygoodsid:
  3826. description: 现货品种ID
  3827. type: integer
  3828. deliverygoodsname:
  3829. description: 现货品种名称
  3830. type: string
  3831. deliverystartdate:
  3832. description: 交收期(开始)
  3833. type: string
  3834. enddate:
  3835. description: 点价结束日期 [2:点价 3:暂定价]
  3836. type: string
  3837. enumdicname:
  3838. description: 单位名称
  3839. type: string
  3840. goodscode:
  3841. description: 点价合约代码
  3842. type: string
  3843. goodsid:
  3844. description: 点价合约ID - 0:为现货,其它为期货商品合约ID [2:点价 3:暂定价]
  3845. type: integer
  3846. goodsname:
  3847. description: 点价商品名称
  3848. type: string
  3849. margin:
  3850. description: 当前保证金
  3851. type: number
  3852. meruserid:
  3853. description: 跟单员id
  3854. type: integer
  3855. meruserlogincode:
  3856. description: 跟单员登录代码
  3857. type: string
  3858. merusername:
  3859. description: 跟单员名称
  3860. type: string
  3861. price:
  3862. description: 价格\暂定价 [1:一口价、3:暂定价]
  3863. type: number
  3864. pricemove:
  3865. description: 升贴水 [2:点价 3:暂定价]
  3866. type: number
  3867. pricetype:
  3868. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  3869. type: integer
  3870. producttype:
  3871. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  3872. type: integer
  3873. qty:
  3874. description: 数量
  3875. type: number
  3876. remark:
  3877. description: 备注
  3878. type: string
  3879. saleuserid:
  3880. description: 业务员id
  3881. type: integer
  3882. saleuserlogincode:
  3883. description: 业务员登录代码
  3884. type: string
  3885. saleusername:
  3886. description: 业务员名称
  3887. type: string
  3888. sellnickname:
  3889. description: 采购方昵称
  3890. type: string
  3891. selluserid:
  3892. description: 销售方ID
  3893. type: integer
  3894. sellusername:
  3895. description: 销售方名称
  3896. type: string
  3897. spotcontractid:
  3898. description: 现货合同ID(602+Unix秒时间戳(10位)+xxxxxx)
  3899. type: string
  3900. spotgoodsbrandid:
  3901. description: 现货品牌ID(DGFactoryItem表的ID)
  3902. type: integer
  3903. spotgoodsdesc:
  3904. description: 商品型号
  3905. type: string
  3906. startdate:
  3907. description: 点价开始日期 [2:点价 3:暂定价]
  3908. type: string
  3909. tradeuserid:
  3910. description: 交易员id
  3911. type: integer
  3912. tradeuserlogincode:
  3913. description: 交易员登录代码
  3914. type: string
  3915. tradeusername:
  3916. description: 交易员名称
  3917. type: string
  3918. unitid:
  3919. description: 单位id(取品类上的单位id)
  3920. type: integer
  3921. updatetime:
  3922. description: 更新时间
  3923. type: string
  3924. userid:
  3925. description: 所属机构ID
  3926. type: integer
  3927. wrstandardcode:
  3928. description: 品类代码
  3929. type: string
  3930. wrstandardid:
  3931. description: 品类ID
  3932. type: integer
  3933. wrstandardname:
  3934. description: 品类名称
  3935. type: string
  3936. type: object
  3937. models.Ermcp3ExposureContractDetail:
  3938. properties:
  3939. biztype:
  3940. description: 业务类型 1-套保 2-套利
  3941. type: integer
  3942. brandname:
  3943. description: 品牌名称
  3944. type: string
  3945. buyuserid:
  3946. description: 采购方id
  3947. type: integer
  3948. buyusername:
  3949. description: 采购方名称
  3950. type: string
  3951. contractno:
  3952. description: 合同编号
  3953. type: string
  3954. contracttype:
  3955. description: 现货合同类型 - 1:采购 -1:销售
  3956. type: integer
  3957. convertfactor:
  3958. description: 标仓系数
  3959. type: number
  3960. convertratio:
  3961. description: 折算系数(套保品种)
  3962. type: number
  3963. curqty:
  3964. description: 今定价量
  3965. type: number
  3966. deliverygoodscode:
  3967. description: 现货商品代码
  3968. type: string
  3969. deliverygoodsid:
  3970. description: 现货商品id
  3971. type: integer
  3972. deliverygoodsname:
  3973. description: 现货商品名称
  3974. type: string
  3975. diffhedgeqty:
  3976. description: 套保变动量
  3977. type: number
  3978. diffneedhedgeqty:
  3979. description: 应套保变动量
  3980. type: number
  3981. diffqty:
  3982. description: 套保品种今变动量
  3983. type: number
  3984. enumdicname:
  3985. description: 单位名称
  3986. type: string
  3987. middlegoodscode:
  3988. description: 套保品种代码
  3989. type: string
  3990. middlegoodsid:
  3991. description: 套保品种id
  3992. type: integer
  3993. middlegoodsname:
  3994. description: 套保品种名称
  3995. type: string
  3996. needarbitrageratio:
  3997. description: 应套利比例
  3998. type: number
  3999. needhedgeratio:
  4000. description: 应套保比例
  4001. type: number
  4002. pricedqty:
  4003. description: 已定价量
  4004. type: number
  4005. qty:
  4006. description: 合同量
  4007. type: number
  4008. selluserid:
  4009. description: 销售方id
  4010. type: integer
  4011. sellusername:
  4012. description: 销售方名称
  4013. type: string
  4014. spotcontractid:
  4015. description: 合同id
  4016. type: string
  4017. todaypricedqty:
  4018. description: 今定价量
  4019. type: number
  4020. tradedate:
  4021. description: 交易日
  4022. type: string
  4023. unitid:
  4024. description: 品类单位id
  4025. type: integer
  4026. userid:
  4027. description: 机构id
  4028. type: integer
  4029. wrstandardcode:
  4030. description: 品类代码
  4031. type: string
  4032. wrstandardid:
  4033. description: 品类id
  4034. type: integer
  4035. wrstandardname:
  4036. description: 品类名称
  4037. type: string
  4038. type: object
  4039. models.Ermcp3ExposureDetail:
  4040. properties:
  4041. areauserid:
  4042. description: 机构ID
  4043. type: integer
  4044. changeQty:
  4045. description: 套保变动量
  4046. type: number
  4047. contracttype:
  4048. description: 现货合同类型 - 1:采购 -1:销售
  4049. type: integer
  4050. convertfactor:
  4051. description: 标仓系数
  4052. type: number
  4053. convertratio:
  4054. description: 套保系数
  4055. type: number
  4056. createtime:
  4057. description: 时间
  4058. type: string
  4059. deliverygoodscode:
  4060. description: 现货品种代码
  4061. type: string
  4062. deliverygoodsid:
  4063. description: 现货品种id
  4064. type: integer
  4065. deliverygoodsname:
  4066. description: 现货品种名称
  4067. type: string
  4068. enumdicname:
  4069. description: 现货商品单位名称
  4070. type: string
  4071. logtype:
  4072. description: 类型 - 1:套保计划 2:现货合同
  4073. type: integer
  4074. mgunitid:
  4075. description: 套保品种单位id
  4076. type: integer
  4077. mgunitidname:
  4078. description: 套保品种单位名称
  4079. type: string
  4080. middlegoodsId:
  4081. description: 套保商品id
  4082. type: integer
  4083. middlegoodscode:
  4084. description: 套保商品代码
  4085. type: string
  4086. middlegoodsname:
  4087. description: 套保商品名称
  4088. type: string
  4089. qty:
  4090. description: 数量
  4091. type: number
  4092. relateNo:
  4093. description: 现货合同/套保计划编号
  4094. type: string
  4095. type: object
  4096. models.Ermcp3ExposureFutuDetail:
  4097. properties:
  4098. accountid:
  4099. description: 交易账户id
  4100. type: integer
  4101. accountname:
  4102. description: 交易账户
  4103. type: string
  4104. begindate:
  4105. description: 开始交易日
  4106. type: string
  4107. buyorsell:
  4108. description: 方向 0-买 1-卖
  4109. type: integer
  4110. diffmgqty:
  4111. description: 套保品种今变化量
  4112. type: number
  4113. diffneedqty:
  4114. description: 应套保总量变化量
  4115. type: number
  4116. difftradeqty:
  4117. description: 交易品种今变化量
  4118. type: number
  4119. enddate:
  4120. description: 结束交易日
  4121. type: string
  4122. enumdicname:
  4123. description: 单位名称
  4124. type: string
  4125. goodscode:
  4126. description: 商品代码
  4127. type: string
  4128. goodsid:
  4129. description: 商品id
  4130. type: integer
  4131. goodsname:
  4132. description: 商品名称
  4133. type: string
  4134. holdqty:
  4135. description: 期末持仓量
  4136. type: number
  4137. middlegoodscode:
  4138. description: 套保商品代码
  4139. type: string
  4140. middlegoodsid:
  4141. description: 套保商品id
  4142. type: integer
  4143. middlegoodsname:
  4144. description: 套保商品名称
  4145. type: string
  4146. oriholdqty:
  4147. description: 期初持仓量
  4148. type: number
  4149. todaycloseqty:
  4150. description: 今平仓量
  4151. type: number
  4152. todayopenqty:
  4153. description: 今开仓量
  4154. type: number
  4155. tradedate:
  4156. description: 交易日
  4157. type: string
  4158. type: object
  4159. models.Ermcp3ExposureHedgeplanDetail:
  4160. properties:
  4161. biztype:
  4162. description: 业务类型(期现用途,业务类型就是期现用途) 1-套保 2-套利
  4163. type: integer
  4164. changqty:
  4165. description: 应套保总量变化量
  4166. type: number
  4167. contracttype:
  4168. description: 计划类型 - 1:采购 -1:销售
  4169. type: integer
  4170. convertratio:
  4171. description: 折算系数(套保品种)
  4172. type: number
  4173. deliverygoodscode:
  4174. description: 现货商品代码
  4175. type: string
  4176. deliverygoodsid:
  4177. description: 现货商品id
  4178. type: integer
  4179. deliverygoodsname:
  4180. description: 现货商吕名称
  4181. type: string
  4182. dgunitid:
  4183. description: 现货商品单位id
  4184. type: integer
  4185. dgunitidname:
  4186. description: 单位名称(现货商品)
  4187. type: string
  4188. diffqty:
  4189. description: 套保品种今变动量
  4190. type: number
  4191. enumdicname:
  4192. description: 单位名称(品类)
  4193. type: string
  4194. hedgeplanid:
  4195. description: 套保计划id
  4196. type: string
  4197. hedgeplanno:
  4198. description: 套保计划名称
  4199. type: string
  4200. hedgeplanstatus:
  4201. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4202. type: integer
  4203. mgunitidname:
  4204. description: 单位名称(套保商品)
  4205. type: string
  4206. middlegoodscode:
  4207. description: 套保品种代码
  4208. type: string
  4209. middlegoodsid:
  4210. description: 套保品种id
  4211. type: integer
  4212. middlegoodsname:
  4213. description: 套保品种名称
  4214. type: string
  4215. needarbitrageratio:
  4216. description: 应套利比例
  4217. type: number
  4218. needhedgeratio:
  4219. description: 应套保比例
  4220. type: number
  4221. pricedqty:
  4222. description: 已定价量
  4223. type: number
  4224. qty:
  4225. description: 合同量
  4226. type: number
  4227. tradedate:
  4228. description: 交易日(登记日)
  4229. type: string
  4230. unitid:
  4231. description: 品类单位id
  4232. type: integer
  4233. userid:
  4234. description: 机构id
  4235. type: integer
  4236. wrstandardcode:
  4237. description: 品类代码
  4238. type: string
  4239. wrstandardid:
  4240. description: 品类id
  4241. type: integer
  4242. wrstandardname:
  4243. description: 品类名称
  4244. type: string
  4245. type: object
  4246. models.Ermcp3ExposureParamChLog:
  4247. properties:
  4248. accountid:
  4249. description: 期货账户ID (作废, 默认为0)
  4250. type: integer
  4251. aftervalue:
  4252. description: 应套保\套利量变更后(调整后应套保总量)
  4253. type: number
  4254. areauserid:
  4255. description: 所属机构\交易用户ID
  4256. type: integer
  4257. beforevalue:
  4258. description: 应套保\套利量变更前(调整前应套保总量)
  4259. type: number
  4260. begindate:
  4261. description: 开始交易日
  4262. type: string
  4263. changelogtype:
  4264. description: 变更流水类型 - 1:套保比率变更 2:套利比率变更
  4265. type: integer
  4266. curvalue:
  4267. description: 当前套保\套利量(套保总量|套利总量)
  4268. type: number
  4269. diffvalue:
  4270. description: 应套保总量变化量
  4271. type: number
  4272. enddate:
  4273. description: 结束交易日
  4274. type: string
  4275. logdatetime:
  4276. description: 流水日期
  4277. type: string
  4278. logid:
  4279. description: 流水ID(609+Unix秒时间戳(10位)+xxxxxx)
  4280. type: string
  4281. middlegoodscode:
  4282. description: 套保品种代码
  4283. type: string
  4284. middlegoodsid:
  4285. description: 套保品种
  4286. type: integer
  4287. middlegoodsname:
  4288. description: 套保品种名称
  4289. type: string
  4290. paramaftervalue:
  4291. description: 参数变更后(调整后参数值)
  4292. type: number
  4293. parambeforevalue:
  4294. description: 参数变更前(调整前参数值)
  4295. type: number
  4296. tradedate:
  4297. description: 交易日(yyyyMMdd)
  4298. type: string
  4299. type: object
  4300. models.Ermcp3ExpourseReport:
  4301. properties:
  4302. accountid:
  4303. description: 期货账户ID (作废, 默认为0)
  4304. type: integer
  4305. accountname:
  4306. description: 机构名称
  4307. type: string
  4308. arbitrageqty:
  4309. description: 套利量
  4310. type: number
  4311. areauserid:
  4312. description: 所属机构\交易用户ID
  4313. type: integer
  4314. begindate:
  4315. description: 开始交易日
  4316. type: string
  4317. buyfutureqty:
  4318. description: 买入期货数量
  4319. type: number
  4320. buyplanqty:
  4321. description: 采购计划数量
  4322. type: number
  4323. buypricedqty:
  4324. description: 采购合同已定价数量
  4325. type: number
  4326. cycletime:
  4327. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4328. type: string
  4329. cycletype:
  4330. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4331. type: integer
  4332. diffexposure:
  4333. description: 变动量(套保敞口)
  4334. type: number
  4335. difffutuqty:
  4336. description: 变动量(期货)
  4337. type: number
  4338. diffhedgeqty:
  4339. description: 变动量(现货应套保总量)
  4340. type: number
  4341. diffmgqtya:
  4342. description: 套保变动量
  4343. type: number
  4344. diffmgqtyb:
  4345. description: 套利变动量
  4346. type: number
  4347. diffqty:
  4348. description: 变动量(总敞口)
  4349. type: number
  4350. diffspotqty:
  4351. description: 变动量(现货)
  4352. type: number
  4353. enddate:
  4354. description: 结束交易日
  4355. type: string
  4356. enumdicname:
  4357. description: 单位名称
  4358. type: string
  4359. hedgeqty:
  4360. description: 套保量
  4361. type: number
  4362. mgneedhedgeratio:
  4363. description: 套保比例(套保品的)
  4364. type: number
  4365. middlegoodsid:
  4366. description: 套保品种ID
  4367. type: integer
  4368. middlegoodsname:
  4369. description: 套保商品名称
  4370. type: string
  4371. middlgoodscode:
  4372. description: 套保商品代码
  4373. type: string
  4374. needarbitrageqty:
  4375. description: 应套利量
  4376. type: number
  4377. needarbitrageratio:
  4378. description: 套利比例(套保品的)
  4379. type: number
  4380. needhedgeexposoure:
  4381. description: 应套保敞口(套保敞口)
  4382. type: number
  4383. needhedgeqty:
  4384. description: 应套保量
  4385. type: number
  4386. needhedgeratio:
  4387. description: 应套保敞口比例
  4388. type: number
  4389. oriarbitrageqty:
  4390. description: 期初套利量
  4391. type: number
  4392. oribuyfutureqty:
  4393. description: 期初买入期货数量
  4394. type: number
  4395. oribuyplanqty:
  4396. description: 期初采购计划数量
  4397. type: number
  4398. oribuypricedqty:
  4399. description: 期初采购合同已定价数量
  4400. type: number
  4401. orihedgeqty:
  4402. description: 期初套保量
  4403. type: number
  4404. orineedarbitrageqty:
  4405. description: 期初应套利量
  4406. type: number
  4407. orineedhedgeexposoure:
  4408. description: 期初应套保敞口
  4409. type: number
  4410. orineedhedgeqty:
  4411. description: 期初应套保量
  4412. type: number
  4413. orisellfutureqty:
  4414. description: 期初卖出期货数量
  4415. type: number
  4416. orisellplanqty:
  4417. description: 期初销售计划数量
  4418. type: number
  4419. orisellpricedqty:
  4420. description: 期初销售合同已定价数量
  4421. type: number
  4422. oritotalexposure:
  4423. description: 期初实时总敞口
  4424. type: number
  4425. oritotalfutureqty:
  4426. description: 期初期货头寸总量
  4427. type: number
  4428. oritotalneedhedgeqty:
  4429. description: 期初应套保总量
  4430. type: number
  4431. oritotalspotqty:
  4432. description: 期初现货头寸总量
  4433. type: number
  4434. reckondate:
  4435. description: 日照时期(yyyyMMdd)
  4436. type: string
  4437. sellfutureqty:
  4438. description: 卖出期货数量
  4439. type: number
  4440. sellplanqty:
  4441. description: 销售计划数量
  4442. type: number
  4443. sellpricedqty:
  4444. description: 销售合同已定价数量
  4445. type: number
  4446. totalexposure:
  4447. description: 实时总敞口(总敞口)
  4448. type: number
  4449. totalfutureqty:
  4450. description: 期货头寸总量(期货总量)
  4451. type: number
  4452. totalhedgeratio:
  4453. description: 敞口比例
  4454. type: number
  4455. totalneedhedgeqty:
  4456. description: 应套保总量(现货应套保总量)
  4457. type: number
  4458. totalspotqty:
  4459. description: 现货头寸总量
  4460. type: number
  4461. unitid:
  4462. description: 单位id
  4463. type: integer
  4464. updatetime:
  4465. description: 更新时间
  4466. type: string
  4467. type: object
  4468. models.Ermcp3FinanceReport:
  4469. properties:
  4470. accountname:
  4471. description: 机构名称
  4472. type: string
  4473. areauserid:
  4474. description: 所属机构\交易用户ID
  4475. type: integer
  4476. begindate:
  4477. description: 开始交易日
  4478. type: string
  4479. biztype:
  4480. description: 业务类型 - 1:套保 2:套利
  4481. type: integer
  4482. brandname:
  4483. description: 品牌名称
  4484. type: string
  4485. buypreinvoicedamount:
  4486. description: 采购预收票额(预收票额)
  4487. type: number
  4488. buyprepaidamount:
  4489. description: 采购预付款额(预付货款额)
  4490. type: number
  4491. buytodayinvoiceamount:
  4492. description: 采购今收票额(今收票额)
  4493. type: number
  4494. buytodayrefundamount:
  4495. description: 采购今收退款额(今收退款额)
  4496. type: number
  4497. buytodaysettleamount:
  4498. description: 采购今付款额(今付货款额)
  4499. type: number
  4500. buyuninvoicedamount:
  4501. description: 采购应收票额(应收票额)
  4502. type: number
  4503. buyunpaidamount:
  4504. description: 采购应付款额(应付货款额)
  4505. type: number
  4506. currencyid:
  4507. description: 结算币种ID
  4508. type: integer
  4509. currencyname:
  4510. description: 币种名称
  4511. type: string
  4512. cycletime:
  4513. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  4514. type: string
  4515. cycletype:
  4516. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  4517. type: integer
  4518. deliverygoodscode:
  4519. description: 现货品种代码
  4520. type: string
  4521. deliverygoodsid:
  4522. description: 现货品种ID
  4523. type: integer
  4524. deliverygoodsname:
  4525. description: 现货品种名称
  4526. type: string
  4527. enddate:
  4528. description: 结束交易日
  4529. type: string
  4530. reckondate:
  4531. description: 日照时期(yyyyMMdd)
  4532. type: string
  4533. sellpreinvoicedamount:
  4534. description: 销售预开票额(预开票额)
  4535. type: number
  4536. sellprepaidamount:
  4537. description: 销售预收款额(预收货款额)
  4538. type: number
  4539. selltodayinvoiceamount:
  4540. description: 销售今开票额(今开票额)
  4541. type: number
  4542. selltodayrefundamount:
  4543. description: 销售今付退款额(今付退款额)
  4544. type: number
  4545. selltodaysettleamount:
  4546. description: 销售今收款额(今收货款额)
  4547. type: number
  4548. selluninvoicedamount:
  4549. description: 销售应开票额(应开票额)
  4550. type: number
  4551. sellunpaidamount:
  4552. description: 销售应收款额(应收货款额)
  4553. type: number
  4554. spotgoodsbrandid:
  4555. description: 现货品牌ID
  4556. type: integer
  4557. todaypaysum:
  4558. description: 今付款合计
  4559. type: number
  4560. todayreceivesum:
  4561. description: 今收款合计
  4562. type: number
  4563. updatetime:
  4564. description: 更新时间
  4565. type: string
  4566. wrfactortypeid:
  4567. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  4568. type: integer
  4569. wrstandardcode:
  4570. description: 品类代码
  4571. type: string
  4572. wrstandardid:
  4573. description: 现货商品ID
  4574. type: integer
  4575. wrstandardname:
  4576. description: 品类名称
  4577. type: string
  4578. type: object
  4579. models.Ermcp3Goods:
  4580. properties:
  4581. agreeunit:
  4582. description: 合约单位(合约乘数)
  4583. type: number
  4584. enumdicname:
  4585. description: 单位名称
  4586. type: string
  4587. exexchangecode:
  4588. description: 交易所代码
  4589. type: string
  4590. goodscode:
  4591. description: 期货商品代码
  4592. type: string
  4593. goodsid:
  4594. description: 期货商品id
  4595. type: integer
  4596. goodsname:
  4597. description: 期货商品名称
  4598. type: string
  4599. type: object
  4600. models.Ermcp3GoodsGroup:
  4601. properties:
  4602. agreeunit:
  4603. description: 合约单位
  4604. type: number
  4605. areauserid:
  4606. description: 所属机构id(套保品是有areauserid的,当要排除已配置商品组时需要areauserid过滤)
  4607. type: integer
  4608. canshort:
  4609. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  4610. type: integer
  4611. closepricemode:
  4612. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  4613. type: integer
  4614. createtime:
  4615. description: 创建时间
  4616. type: string
  4617. creatorid:
  4618. description: 创建人
  4619. type: integer
  4620. currencyid:
  4621. description: 报价货币ID
  4622. type: integer
  4623. decimalplace:
  4624. description: 报价小数位
  4625. type: integer
  4626. enumdicname:
  4627. description: 单位名称
  4628. type: string
  4629. exchangefullname:
  4630. description: 交易所全称
  4631. type: string
  4632. excludecfg:
  4633. description: 排除套保品已配置期货分类下的商品组(但显示已配置商品组) 1-排除
  4634. type: integer
  4635. exexchangecode:
  4636. description: 交易所代码
  4637. type: string
  4638. exexchangeid:
  4639. description: 外部交易所ID[通道交易]
  4640. type: integer
  4641. exexchangename:
  4642. description: 交易所名称
  4643. type: string
  4644. goodsgroupid:
  4645. description: 商品组ID(自增ID)
  4646. type: integer
  4647. goodsgroupname:
  4648. description: 商品组名称
  4649. type: string
  4650. goodsgroupstatus:
  4651. description: 商品组状态 - 1:正常 2:注销
  4652. type: integer
  4653. goodunitid:
  4654. description: 报价单位ID
  4655. type: integer
  4656. groupcategroyid:
  4657. description: 品种分类ID
  4658. type: integer
  4659. innerdealmode:
  4660. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  4661. type: integer
  4662. marketid:
  4663. description: 所属市场ID
  4664. type: integer
  4665. modifierid:
  4666. description: 修改人
  4667. type: integer
  4668. modifytime:
  4669. description: 修改时间
  4670. type: string
  4671. outerdealmode:
  4672. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  4673. type: integer
  4674. outergroupcode:
  4675. description: 外部商品组代码[通道交易]
  4676. type: string
  4677. quoteminunit:
  4678. description: 行情最小变动单位 [整数,报价小数位一起使用]
  4679. type: integer
  4680. quotesourcegroupid:
  4681. description: 所属行情源分组ID[参考行情市场用\通道交易]
  4682. type: integer
  4683. syncgoodsqty:
  4684. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  4685. type: integer
  4686. required:
  4687. - areauserid
  4688. type: object
  4689. models.Ermcp3GoodsGroupEx:
  4690. properties:
  4691. convertratio:
  4692. description: 折算系数(品种系数)
  4693. type: number
  4694. enumdicname:
  4695. description: 单位名称
  4696. type: string
  4697. exexchangecode:
  4698. description: 交易所代码
  4699. type: string
  4700. glist:
  4701. description: 合约列表
  4702. items:
  4703. $ref: '#/definitions/models.Ermcp3Goods'
  4704. type: array
  4705. goodsgroupid:
  4706. description: 商品组id
  4707. type: integer
  4708. goodsgroupname:
  4709. description: 商品组名称
  4710. type: string
  4711. goodsunitid:
  4712. description: 单位id
  4713. type: integer
  4714. middlegoodsid:
  4715. description: 套保商品id
  4716. type: integer
  4717. type: object
  4718. models.Ermcp3HedgePlan:
  4719. properties:
  4720. accountid:
  4721. description: 资金账号
  4722. type: integer
  4723. areauserid:
  4724. description: 用户ID
  4725. type: integer
  4726. auditid:
  4727. description: 审核id
  4728. type: integer
  4729. auditname:
  4730. description: 审核人名称
  4731. type: string
  4732. auditremark:
  4733. description: 审核备注
  4734. type: string
  4735. auditsrc:
  4736. description: 审核来源 1-管理端 2-终端
  4737. type: integer
  4738. audittime:
  4739. description: 审核时间
  4740. type: string
  4741. contracttype:
  4742. description: 计划类型 - 1:采购 -1:销售
  4743. type: integer
  4744. convertfactor:
  4745. description: 标仓系数
  4746. type: number
  4747. createtime:
  4748. description: 创建时间
  4749. type: string
  4750. currencyid:
  4751. description: 币种id
  4752. type: integer
  4753. currencyname:
  4754. description: 币种名称
  4755. type: string
  4756. deliverygoodscode:
  4757. description: 现货品种代码
  4758. type: string
  4759. deliverygoodsid:
  4760. description: 现货品种ID
  4761. type: integer
  4762. deliverygoodsname:
  4763. description: 现货品种名称
  4764. type: string
  4765. enumdicname:
  4766. description: 单位名称(现货商品)
  4767. type: string
  4768. hedgeplanid:
  4769. description: 套保计划ID(601+Unix秒时间戳(10位)+xxxxxx)
  4770. type: string
  4771. hedgeplanno:
  4772. description: 套保计划编号(名称)
  4773. type: string
  4774. hedgeplanstatus:
  4775. description: 套保计划状态 - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4776. type: integer
  4777. planqty:
  4778. description: 计划数量
  4779. type: number
  4780. plantime:
  4781. description: 计划时间
  4782. type: string
  4783. producttype:
  4784. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  4785. type: integer
  4786. remark:
  4787. description: 备注
  4788. type: string
  4789. spotgoodsdesc:
  4790. description: 商品型号
  4791. type: string
  4792. taaccountname:
  4793. description: 资金账号名称
  4794. type: string
  4795. tradeuserid:
  4796. description: 交易用户id
  4797. type: integer
  4798. tradeusername:
  4799. description: 交易用户名称
  4800. type: string
  4801. unitid:
  4802. description: 单位id(现货商品)
  4803. type: integer
  4804. updatetime:
  4805. description: 更新时间
  4806. type: string
  4807. wrstandardcode:
  4808. description: 品类代码
  4809. type: string
  4810. wrstandardid:
  4811. description: 品类id
  4812. type: integer
  4813. wrstandardname:
  4814. description: 品类名称
  4815. type: string
  4816. wrunitid:
  4817. description: 品类单位id
  4818. type: integer
  4819. wrunitidame:
  4820. description: 品类单位名称
  4821. type: string
  4822. type: object
  4823. models.Ermcp3MiddleGoodsDetail2:
  4824. properties:
  4825. convertratio:
  4826. description: 套保系数(折算系数)
  4827. type: number
  4828. gplist:
  4829. description: 关联商品组列表
  4830. items:
  4831. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  4832. type: array
  4833. mg:
  4834. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  4835. description: 套保商品信息
  4836. type: object
  4837. type: object
  4838. models.Ermcp3MiddleGoodsDetailEx:
  4839. properties:
  4840. dglist:
  4841. description: 关联的现货品种列表
  4842. items:
  4843. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetail2'
  4844. type: array
  4845. gplist:
  4846. description: 关联商品组列表
  4847. items:
  4848. $ref: '#/definitions/models.Ermcp3GoodsGroupEx'
  4849. type: array
  4850. mg:
  4851. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  4852. description: 套保商品信息
  4853. type: object
  4854. type: object
  4855. models.Ermcp3RootUserAccount:
  4856. properties:
  4857. accountname:
  4858. description: 账户名称(机构名称)
  4859. type: string
  4860. accountstatus:
  4861. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  4862. type: integer
  4863. applysrc:
  4864. description: 申请来源 - 1:管理端 2:终端
  4865. type: integer
  4866. auditremark:
  4867. description: 审核备注
  4868. type: string
  4869. auditsrc:
  4870. description: 审核来源 - 1:管理端 2:终端
  4871. type: integer
  4872. audittime:
  4873. description: 审核时间
  4874. type: string
  4875. audituserid:
  4876. description: 审核人
  4877. type: integer
  4878. broker:
  4879. description: 所属经纪人ID
  4880. type: integer
  4881. canceltime:
  4882. description: 销户时间
  4883. type: string
  4884. canceluserid:
  4885. description: 销户人
  4886. type: integer
  4887. canrecommend:
  4888. description: 是否可推荐 - 0:不可 1;可
  4889. type: integer
  4890. createtime:
  4891. description: 创建时间
  4892. type: string
  4893. creatorid:
  4894. description: 创建人
  4895. type: integer
  4896. hasauth:
  4897. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  4898. type: integer
  4899. isanonymous:
  4900. description: 是否匿名下单 - 0:否 1:是
  4901. type: integer
  4902. maxinvestornum:
  4903. description: 最大用户数(经纪会员下投资者个数)
  4904. type: integer
  4905. memberuserid:
  4906. description: 所属会员ID
  4907. type: integer
  4908. modifierid:
  4909. description: 修改人
  4910. type: integer
  4911. modifyremark:
  4912. description: 变更备注
  4913. type: string
  4914. modifystatus:
  4915. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  4916. type: integer
  4917. modifytime:
  4918. description: 修改时间
  4919. type: string
  4920. parenttopuser:
  4921. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  4922. type: string
  4923. parentuserid:
  4924. description: 所属机构ID
  4925. type: integer
  4926. reckonaccountid:
  4927. description: 默认结算资金账号ID(机构分润使用) 作废
  4928. type: integer
  4929. refercount:
  4930. description: 推荐总人数
  4931. type: integer
  4932. refereeuserid:
  4933. description: 推荐人ID
  4934. type: integer
  4935. refernum:
  4936. description: 推荐码
  4937. type: string
  4938. rootuserid:
  4939. description: 根用户ID
  4940. type: integer
  4941. subaccountlevel:
  4942. description: 子账户层数
  4943. type: integer
  4944. subarealevelpath:
  4945. description: 子机构层级路径(逗号分隔,首尾加逗号)
  4946. type: string
  4947. userid:
  4948. description: 用户ID
  4949. type: integer
  4950. usertype:
  4951. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  4952. type: integer
  4953. type: object
  4954. models.Ermcp3SellBuyContract:
  4955. properties:
  4956. accountid:
  4957. description: 期货账户id
  4958. type: string
  4959. accountname:
  4960. description: 账户名称
  4961. type: string
  4962. attachment:
  4963. description: 附件
  4964. type: string
  4965. audittime:
  4966. description: 审核时间
  4967. type: string
  4968. biztype:
  4969. description: 业务类型 1-套保 2-套利
  4970. type: integer
  4971. brandname:
  4972. description: 品牌名称
  4973. type: string
  4974. contracctstatus:
  4975. description: 合同状态- 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  4976. type: integer
  4977. contractmargin:
  4978. description: 合同保证金
  4979. type: number
  4980. contractno:
  4981. description: 合同编号
  4982. type: string
  4983. contracttype:
  4984. description: 合同类型 1-采购, -1-销售
  4985. type: integer
  4986. convertfactor:
  4987. description: 标仓系数(品类)
  4988. type: number
  4989. createtime:
  4990. description: 创建时间
  4991. type: string
  4992. currencyid:
  4993. description: 币种id
  4994. type: integer
  4995. currencyname:
  4996. description: 币种名称
  4997. type: string
  4998. daikaiamount:
  4999. description: 应收(开)票额
  5000. type: number
  5001. deliveryenddate:
  5002. description: 交割结束日
  5003. type: string
  5004. deliverygoodscode:
  5005. description: 现货品种代码
  5006. type: string
  5007. deliverygoodsid:
  5008. description: 现货商品ID
  5009. type: integer
  5010. deliverygoodsname:
  5011. description: 现货品种名称
  5012. type: string
  5013. deliverystartdate:
  5014. description: 交割开始日
  5015. type: string
  5016. enddate:
  5017. description: 点价结束日
  5018. type: string
  5019. enumdicname:
  5020. description: 单位名称
  5021. type: string
  5022. goodscode:
  5023. description: 点价商品代码
  5024. type: string
  5025. goodsid:
  5026. description: 点价商品ID
  5027. type: integer
  5028. goodsname:
  5029. description: 点价商品名称
  5030. type: string
  5031. invoiceamount:
  5032. description: 已开票额
  5033. type: number
  5034. loanamount:
  5035. description: 贷款总额=已定价额+调整金额
  5036. type: number
  5037. margin:
  5038. description: 保证金
  5039. type: number
  5040. meruserid:
  5041. description: 跟单员id
  5042. type: integer
  5043. meruserlogincode:
  5044. description: 跟单员登录代码
  5045. type: string
  5046. merusername:
  5047. description: 跟单员名称
  5048. type: string
  5049. nickname:
  5050. description: 账户昵称
  5051. type: string
  5052. payamount:
  5053. description: 已收付额(收款或付款)
  5054. type: number
  5055. preinvoiceamount:
  5056. description: 预收(开)票额
  5057. type: number
  5058. prepayamount:
  5059. description: 预收付额
  5060. type: number
  5061. price:
  5062. description: 价格
  5063. type: number
  5064. pricedamount:
  5065. description: 已定价额
  5066. type: number
  5067. pricedavg:
  5068. description: 已点均价
  5069. type: number
  5070. pricedqty:
  5071. description: 已定价量
  5072. type: number
  5073. pricemove:
  5074. description: 升贴水
  5075. type: number
  5076. pricetype:
  5077. description: 定价类型 - 1:一口价 2:点价 3:暂定价
  5078. type: integer
  5079. producttype:
  5080. description: 产品类型 - 1:标准仓单 2:等标 3:非标
  5081. type: integer
  5082. qty:
  5083. description: 合同量
  5084. type: number
  5085. reckonadjustamount:
  5086. description: 调整金额
  5087. type: number
  5088. reckonedamount:
  5089. description: 实际已收付额(已确定额,已收付总额-已退款总额)
  5090. type: number
  5091. reckonotheramount:
  5092. description: 其它费用
  5093. type: number
  5094. reckonrealqty:
  5095. description: 已确定量
  5096. type: number
  5097. remark:
  5098. description: 备注
  5099. type: string
  5100. saleuserid:
  5101. description: 业务员id
  5102. type: integer
  5103. saleuserlogincode:
  5104. description: 业务员登录代码
  5105. type: string
  5106. saleusername:
  5107. description: 业务员名称
  5108. type: string
  5109. spotcontractid:
  5110. description: 合同ID
  5111. type: string
  5112. spotgoodsbrandid:
  5113. description: 现货品牌ID(DGFactoryItem表的ID)
  5114. type: integer
  5115. spotgoodsdesc:
  5116. description: 商品型号(商品规格)
  5117. type: string
  5118. startdate:
  5119. description: 点价开始日
  5120. type: string
  5121. totalamount:
  5122. description: 合计总额
  5123. type: number
  5124. tradeuserid:
  5125. description: 交易员id
  5126. type: integer
  5127. tradeuserlogincode:
  5128. description: 交易员登录代码
  5129. type: string
  5130. tradeusername:
  5131. description: 交易员名称
  5132. type: string
  5133. unpayamount:
  5134. description: 应收付款额(应支付或应收款)
  5135. type: number
  5136. unpricedqty:
  5137. description: 未定价量
  5138. type: number
  5139. unsureqty:
  5140. description: 未确定量
  5141. type: number
  5142. userid:
  5143. description: 机构ID
  5144. type: integer
  5145. wrstandardcode:
  5146. description: 品类代码
  5147. type: string
  5148. wrstandardid:
  5149. description: 品类ID
  5150. type: integer
  5151. wrstandardname:
  5152. description: 品类名称
  5153. type: string
  5154. type: object
  5155. models.Ermcp3SpotGoodsPrice:
  5156. properties:
  5157. areauserid:
  5158. description: 所属机构id
  5159. type: integer
  5160. brandname:
  5161. description: 品牌名称
  5162. type: string
  5163. currencyid:
  5164. description: 报价货币ID
  5165. type: integer
  5166. currencyname:
  5167. description: 币种名称
  5168. type: string
  5169. deliverygoodscode:
  5170. description: 现货商品代码
  5171. type: string
  5172. deliverygoodsid:
  5173. description: 现货商品id
  5174. type: integer
  5175. deliverygoodsname:
  5176. description: 现货商品名称
  5177. type: string
  5178. enumdicname:
  5179. description: 现货商品单位名称
  5180. type: string
  5181. gbenumdicname:
  5182. description: 品类单位名称
  5183. type: string
  5184. gmunitid:
  5185. description: 品类单位id
  5186. type: integer
  5187. isvalid:
  5188. description: 是否有效 - 0:无效 1:有效
  5189. type: integer
  5190. operateid:
  5191. description: 最后操作人
  5192. type: integer
  5193. operatesrc:
  5194. description: 最后操作来源 - 1:管理端 2:终端
  5195. type: integer
  5196. operatetime:
  5197. description: 最后操作时间
  5198. type: string
  5199. operatorname:
  5200. description: 操作人名称
  5201. type: string
  5202. spotgoodsbrandid:
  5203. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  5204. type: integer
  5205. spotgoodsprice:
  5206. description: 现货价格
  5207. type: number
  5208. tradedate:
  5209. description: 交易日(yyyyMMdd)
  5210. type: string
  5211. unitid:
  5212. description: 现货商品单位id
  5213. type: integer
  5214. wrstandardcode:
  5215. description: 品类代码
  5216. type: string
  5217. wrstandardid:
  5218. description: 现货品类ID(通用则为0)
  5219. type: integer
  5220. wrstandardname:
  5221. description: 品类名称
  5222. type: string
  5223. type: object
  5224. models.Ermcp3SpotGoodsPriceLog:
  5225. properties:
  5226. areauserid:
  5227. description: 所属机构id
  5228. type: integer
  5229. brandname:
  5230. description: 品牌名称
  5231. type: string
  5232. currencyid:
  5233. description: 报价货币ID
  5234. type: integer
  5235. deliverygoodscode:
  5236. description: 现货商品代码
  5237. type: string
  5238. deliverygoodsid:
  5239. description: 现货商品id
  5240. type: integer
  5241. deliverygoodsname:
  5242. description: 现货商品名称
  5243. type: string
  5244. enumdicname:
  5245. description: 现货商品单位名称
  5246. type: string
  5247. gbenumdicname:
  5248. description: 品类单位名称
  5249. type: string
  5250. gmunitid:
  5251. description: 品类单位id
  5252. type: integer
  5253. logid:
  5254. description: 日志id
  5255. type: integer
  5256. operateid:
  5257. description: 最后操作人
  5258. type: integer
  5259. operatesrc:
  5260. description: 最后操作来源 - 1:管理端 2:终端
  5261. type: integer
  5262. operatetime:
  5263. description: 最后操作时间
  5264. type: string
  5265. operatorname:
  5266. description: 操作人名称
  5267. type: string
  5268. spotgoodsbrandid:
  5269. description: 现货品牌ID(通用则为0, 不为0则须先有品类ID)
  5270. type: integer
  5271. spotgoodsprice:
  5272. description: 现货价格
  5273. type: number
  5274. tradedate:
  5275. description: 交易日(yyyyMMdd)
  5276. type: string
  5277. unitid:
  5278. description: 现货商品单位id
  5279. type: integer
  5280. wrstandardcode:
  5281. description: 品类代码
  5282. type: string
  5283. wrstandardid:
  5284. description: 现货品类ID(通用则为0)
  5285. type: integer
  5286. wrstandardname:
  5287. description: 品类名称
  5288. type: string
  5289. type: object
  5290. models.Ermcp3TaFutuReDataReport:
  5291. properties:
  5292. accountid:
  5293. description: 交易账户
  5294. type: integer
  5295. accountname:
  5296. description: 交易账号名称
  5297. type: string
  5298. begindate:
  5299. description: 开始交易日
  5300. type: string
  5301. buyorsell:
  5302. description: 持仓方向
  5303. type: integer
  5304. charge:
  5305. description: 手续费
  5306. type: number
  5307. closeavgprice:
  5308. description: 平仓均价
  5309. type: number
  5310. closepl:
  5311. description: 平仓损益
  5312. type: number
  5313. currencyid:
  5314. description: 结算币种ID
  5315. type: integer
  5316. currencyname:
  5317. description: 币种名称
  5318. type: string
  5319. cycletime:
  5320. description: 周期时间 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYIW) 全(0)【原值】
  5321. type: string
  5322. cycletype:
  5323. description: 周期类型 - 1:月 2:季 3:年 4:周 5:全报表【原值】
  5324. type: integer
  5325. enddate:
  5326. description: 结束交易日
  5327. type: string
  5328. enumdicname:
  5329. description: 单位名称
  5330. type: string
  5331. floatpl:
  5332. description: 浮动损益
  5333. type: number
  5334. goodscode:
  5335. description: 交易合约代码
  5336. type: string
  5337. goodsgroupid:
  5338. description: 交易品种
  5339. type: integer
  5340. goodsgroupname:
  5341. description: 交易品种名称
  5342. type: string
  5343. goodsgroupspotqty:
  5344. description: 交易品种期末量 (= 期末持仓量 * 合约乘数)
  5345. type: number
  5346. goodsid:
  5347. description: 交易合约
  5348. type: integer
  5349. goodsname:
  5350. description: 交易合约名称
  5351. type: string
  5352. goodunitid:
  5353. description: 交易合约单位id
  5354. type: integer
  5355. holdamount:
  5356. description: 期末持仓额
  5357. type: number
  5358. holdqty:
  5359. description: 期末持仓量
  5360. type: number
  5361. lastholdamount:
  5362. description: 当前持仓额
  5363. type: number
  5364. lastprice:
  5365. description: 最新价
  5366. type: number
  5367. middlegoodsqty:
  5368. description: 套保品种期末量 (=交易品种期末量 * 期货品种折算系数)
  5369. type: number
  5370. openamount:
  5371. description: 期末开仓额
  5372. type: number
  5373. openavgprice:
  5374. description: 开仓均价
  5375. type: number
  5376. oriholdamount:
  5377. description: 期初持仓额
  5378. type: number
  5379. oriholdqty:
  5380. description: 期初持仓量
  5381. type: number
  5382. oriopenamount:
  5383. description: 期初开仓额
  5384. type: number
  5385. outergroupcode:
  5386. description: 交易品种代码
  5387. type: string
  5388. reckondate:
  5389. description: 日照时期(yyyyMMdd)
  5390. type: string
  5391. reckonholdamount:
  5392. description: 结算持仓额
  5393. type: number
  5394. reckonpl:
  5395. description: 结算损益
  5396. type: number
  5397. reckonpl2:
  5398. description: 结算逐笔盈亏
  5399. type: number
  5400. reckonprice:
  5401. description: 结算价
  5402. type: number
  5403. relateduserid:
  5404. description: 账户关联用户ID
  5405. type: integer
  5406. todaycloseamount:
  5407. description: 今平仓额
  5408. type: number
  5409. todaycloseqty:
  5410. description: 今平仓量
  5411. type: number
  5412. todaygoodsgroupspotqty:
  5413. description: 交易品种变化量 (=(期末持仓量 - 期初持仓量)* 合约乘数)
  5414. type: number
  5415. todaymiddlegoodsqty:
  5416. description: 套保品种变化量 (= 交易品种变化量*期货品种折算系数)
  5417. type: number
  5418. todayopenamount:
  5419. description: 今开仓额
  5420. type: number
  5421. todayopenqty:
  5422. description: 今开仓量
  5423. type: number
  5424. userid:
  5425. description: 账户所属用户ID
  5426. type: integer
  5427. type: object
  5428. models.Ermcp3Wrstandard:
  5429. properties:
  5430. areauserid:
  5431. description: 所属机构
  5432. type: integer
  5433. convertfactor:
  5434. description: 标仓系数
  5435. type: number
  5436. createtime:
  5437. description: 创建时间
  5438. type: string
  5439. creatorid:
  5440. description: 创建人
  5441. type: integer
  5442. deliverygoodsid:
  5443. description: 现货品种ID
  5444. type: integer
  5445. enumdicname:
  5446. description: 品类单位名称
  5447. type: string
  5448. isvalid:
  5449. description: 是否有效 0-无效(停用) 1-有效(正常)
  5450. type: integer
  5451. minivalue:
  5452. description: 最小变动值
  5453. type: integer
  5454. minivaluedp:
  5455. description: 最小变动值小数位
  5456. type: integer
  5457. realminivalue:
  5458. description: 实际最小变动值
  5459. type: integer
  5460. realminivaluedp:
  5461. description: 实际最小变动值小数位
  5462. type: integer
  5463. remark:
  5464. description: 备注
  5465. type: string
  5466. unitid:
  5467. description: 品类单位ID
  5468. type: integer
  5469. updatetime:
  5470. description: 更新时间
  5471. type: string
  5472. wrstandardcode:
  5473. description: 品类代码
  5474. type: string
  5475. wrstandardid:
  5476. description: 品类ID(SEQ_WRSTANDARD)
  5477. type: integer
  5478. wrstandardname:
  5479. description: 品类名称
  5480. type: string
  5481. type: object
  5482. models.ErmcpAreaSpotDetailModel:
  5483. properties:
  5484. contracttype:
  5485. description: 合同类型 1-采购 -1-销售
  5486. type: integer
  5487. createtime:
  5488. description: 创建时间
  5489. type: string
  5490. enumdicname:
  5491. description: 现货商品单位名称
  5492. type: string
  5493. logtype:
  5494. description: 记录类型 1-套保 2-现货合同
  5495. type: integer
  5496. qty:
  5497. description: 数量
  5498. type: number
  5499. recordname:
  5500. description: 类型名称
  5501. type: string
  5502. relatedid:
  5503. description: 套保计划ID/现货合同ID
  5504. type: string
  5505. relatedno:
  5506. description: 编号
  5507. type: string
  5508. strtime:
  5509. description: 时间
  5510. type: string
  5511. wrstandardcode:
  5512. description: 现货商品代码
  5513. type: string
  5514. wrstandardname:
  5515. description: 现货商品名称
  5516. type: string
  5517. type: object
  5518. models.ErmcpAvalidGoodsGroupModel:
  5519. properties:
  5520. goodsgroupid:
  5521. description: 期货品种id
  5522. type: integer
  5523. goodsgroupname:
  5524. description: 期货品种名称
  5525. type: string
  5526. goodunitid:
  5527. description: 品种单位id
  5528. type: integer
  5529. goodunitname:
  5530. description: 品种单位名称
  5531. type: string
  5532. outergroupcode:
  5533. description: 期货品种代码
  5534. type: string
  5535. type: object
  5536. models.ErmcpBizGroupEx:
  5537. properties:
  5538. acclist:
  5539. description: 账号列表
  5540. items:
  5541. $ref: '#/definitions/models.ErmcpBizGroupTaAccount'
  5542. type: array
  5543. bizgroupid:
  5544. description: 业务分组id
  5545. type: integer
  5546. biztype:
  5547. description: 业务类型 1-套保 2-套利
  5548. type: integer
  5549. wrlist:
  5550. description: 现货商品表
  5551. items:
  5552. $ref: '#/definitions/models.ErmcpBizGroupSpotGoods'
  5553. type: array
  5554. type: object
  5555. models.ErmcpBizGroupSpotGoods:
  5556. properties:
  5557. areauserid:
  5558. description: 所属机构id
  5559. type: integer
  5560. bizgroupid:
  5561. description: 分组id
  5562. type: integer
  5563. biztype:
  5564. description: 业务类型 1-套保 2-套利
  5565. type: integer
  5566. deliverygoodscode:
  5567. description: 现货商品代码
  5568. type: string
  5569. deliverygoodsid:
  5570. description: 现货商品id
  5571. type: integer
  5572. deliverygoodsname:
  5573. description: 现货商品名称
  5574. type: string
  5575. unitid:
  5576. description: 现货商品单位id
  5577. type: integer
  5578. type: object
  5579. models.ErmcpBizGroupTaAccount:
  5580. properties:
  5581. accountid:
  5582. description: 账号id
  5583. type: integer
  5584. accountname:
  5585. description: 账号名称
  5586. type: string
  5587. areauserid:
  5588. description: 所属机构id
  5589. type: integer
  5590. bizgroupid:
  5591. description: 业务分组id
  5592. type: integer
  5593. ismain:
  5594. description: 是否主账号 1-是 0-否
  5595. type: integer
  5596. type: object
  5597. models.ErmcpDGFactoryItem:
  5598. properties:
  5599. areauserid:
  5600. description: 用户id
  5601. type: integer
  5602. deliverygoodsid:
  5603. description: 现货品种ID
  5604. type: integer
  5605. dgfactoryitemid:
  5606. description: 选择项ID(SEQ_DGFACTORYITEM)
  5607. type: integer
  5608. dgfactoryitemtypeid:
  5609. description: 要素项类型
  5610. type: integer
  5611. dgfactoryitemvalue:
  5612. description: 要素项值(类型为仓库时填写仓库名称)
  5613. type: string
  5614. isvalid:
  5615. description: 是否有效 - 0:无效 1:有效
  5616. type: integer
  5617. orderindex:
  5618. description: 顺序
  5619. type: integer
  5620. warehouseid:
  5621. description: 仓库ID(类型为仓库时填写)
  5622. type: integer
  5623. type: object
  5624. models.ErmcpDeliveryGoods:
  5625. properties:
  5626. agreeunit:
  5627. description: 合约单位[散货时默认为1, 整装时默认为标准数量]
  5628. type: integer
  5629. areauserid:
  5630. description: 所属机构
  5631. type: integer
  5632. auditflag:
  5633. description: 交割是否需要审核 - 0:不需要 1:需要审核 默认为0
  5634. type: integer
  5635. categoryid:
  5636. description: 类别ID(SEQ_WRCATEGORY)
  5637. type: integer
  5638. deliverygoodscode:
  5639. description: 现货品种代码
  5640. type: string
  5641. deliverygoodsid:
  5642. description: 现货品种ID(SEQ_DELIVERYGOODS)
  5643. type: integer
  5644. deliverygoodsname:
  5645. description: 现货品种名称
  5646. type: string
  5647. deliverygoodstype:
  5648. description: '现货品种类型: 1-整装不拆分 2-散装记录明细 3:整装拆分 4:散装不记录明细'
  5649. type: integer
  5650. dgstatus:
  5651. description: 品种状态 - 作废 - 0:未激活 1:正常
  5652. type: integer
  5653. enumdicname:
  5654. description: 现货品种单位名称
  5655. type: string
  5656. goodsunitid:
  5657. description: 现货品种单位ID
  5658. type: integer
  5659. isvalid:
  5660. description: 是否有效 - 0:无效 1:有效
  5661. type: integer
  5662. qtydecimalplace:
  5663. description: 成交量小数位
  5664. type: integer
  5665. remark:
  5666. description: 备注
  5667. type: string
  5668. standardqty:
  5669. description: 标准数量(库位数量) [标准品特有]
  5670. type: integer
  5671. standardqtyrange:
  5672. description: 标准数量偏差范围 [标准品特有]
  5673. type: integer
  5674. type: object
  5675. models.ErmcpDeliveryGoodsDetail2:
  5676. properties:
  5677. convertratio:
  5678. description: 套保系数(折算系数)
  5679. type: number
  5680. data:
  5681. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5682. description: 现货商品基本信息(交割品种)
  5683. type: object
  5684. gblist:
  5685. description: 品牌列表
  5686. items:
  5687. $ref: '#/definitions/models.Ermcp3Brand'
  5688. type: array
  5689. gmlist:
  5690. description: 品类列表(仓单标准)
  5691. items:
  5692. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5693. type: array
  5694. type: object
  5695. models.ErmcpDeliveryGoodsDetailEx:
  5696. properties:
  5697. data:
  5698. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  5699. description: 现货商品基本信息(交割品种)
  5700. type: object
  5701. gblist:
  5702. description: 品牌列表
  5703. items:
  5704. $ref: '#/definitions/models.Ermcp3Brand'
  5705. type: array
  5706. gmlist:
  5707. description: 品类列表(仓单标准)
  5708. items:
  5709. $ref: '#/definitions/models.Ermcp3Wrstandard'
  5710. type: array
  5711. mgList:
  5712. description: 套保列表
  5713. items:
  5714. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetail2'
  5715. type: array
  5716. type: object
  5717. models.ErmcpExposureDetailModel:
  5718. properties:
  5719. areauserid:
  5720. description: 机构ID
  5721. type: integer
  5722. changeQty:
  5723. description: 套保变动量
  5724. type: number
  5725. contracttype:
  5726. description: 现货合同类型 - 1:采购 -1:销售
  5727. type: integer
  5728. convertfactor:
  5729. description: 标仓系数
  5730. type: number
  5731. convertratio:
  5732. description: 套保系数
  5733. type: number
  5734. createtime:
  5735. description: 时间
  5736. type: string
  5737. enumdicname:
  5738. description: 现货商品单位名称
  5739. type: string
  5740. logtype:
  5741. description: 类型 - 1:套保计划 2:现货合同
  5742. type: integer
  5743. middlegoodsId:
  5744. description: 套保商品id
  5745. type: integer
  5746. middlegoodscode:
  5747. description: 套保商品代码
  5748. type: string
  5749. middlegoodsname:
  5750. description: 套保商品名称
  5751. type: string
  5752. qty:
  5753. description: 数量
  5754. type: number
  5755. relateNo:
  5756. description: 现货合同/套保计划编号
  5757. type: string
  5758. wrstandardcode:
  5759. description: 现货商品代码
  5760. type: string
  5761. wrstandardid:
  5762. description: 现货商品ID
  5763. type: integer
  5764. wrstandardname:
  5765. description: 现货商品名称
  5766. type: string
  5767. type: object
  5768. models.ErmcpExposurePostion:
  5769. properties:
  5770. agreeunit:
  5771. description: 合约单位
  5772. type: string
  5773. areauserid:
  5774. description: 所属机构id
  5775. type: integer
  5776. convertratio:
  5777. description: 期货品种系数(折算系数)
  5778. type: number
  5779. curqty:
  5780. description: 当前持仓
  5781. type: integer
  5782. diffhedgeqty:
  5783. description: 套保品种变动量=持仓变动量*期货合约单位*期货品种系数
  5784. type: number
  5785. diffqty:
  5786. description: 持仓变动量=当前持仓-昨日持仓
  5787. type: integer
  5788. goodscode:
  5789. description: 商品代码
  5790. type: string
  5791. goodsid:
  5792. description: 商品id
  5793. type: integer
  5794. goodsname:
  5795. description: 商品名称
  5796. type: string
  5797. middlegoodsid:
  5798. description: 套保商品id
  5799. type: integer
  5800. ydqty:
  5801. description: 昨日持仓
  5802. type: integer
  5803. type: object
  5804. models.ErmcpFuturesCompany:
  5805. properties:
  5806. brokerid:
  5807. description: 经纪公司代码
  5808. type: string
  5809. channeladdress:
  5810. description: 对冲渠道服务地址(多个地址用逗号分隔) -- 192.168.30.10:3000,192.168.30.10:3001
  5811. type: string
  5812. channelid:
  5813. description: 对冲渠道ID
  5814. type: string
  5815. createtime:
  5816. description: 创建时间
  5817. type: string
  5818. creatorid:
  5819. description: 创建人
  5820. type: string
  5821. fcid:
  5822. description: 期货公司ID(SEQ_ERMCP_FUTURESCOMPANY)
  5823. type: integer
  5824. fcname:
  5825. description: 期货公司名称
  5826. type: string
  5827. isvalid:
  5828. description: 是否有效 - 0:无效 1:有效
  5829. type: integer
  5830. mhpaddress:
  5831. description: MHP服务地址(IP:Port)
  5832. type: string
  5833. riskrulegroupid:
  5834. description: 风控规则组ID
  5835. type: string
  5836. tradefeetmpid:
  5837. description: 手续费模板ID[TradeConfigTmpType为2]
  5838. type: string
  5839. trademargintmpid:
  5840. description: 保证金模板ID [TradeConfigTmpType为1]
  5841. type: string
  5842. traderatetmpid:
  5843. description: 汇率模板ID[TradeConfigTmpType为3]
  5844. type: string
  5845. updatetime:
  5846. description: 更新时间
  5847. type: string
  5848. updatorid:
  5849. description: 更新人
  5850. type: string
  5851. type: object
  5852. models.ErmcpGGConvertCfg:
  5853. properties:
  5854. convertratio:
  5855. description: 折算系数
  5856. type: number
  5857. destgoodsgroupid:
  5858. description: 目标品种ID
  5859. type: integer
  5860. dstcode:
  5861. description: 目录品种代码
  5862. type: string
  5863. dstexchangecode:
  5864. description: 目标期货交易所
  5865. type: string
  5866. dstname:
  5867. description: 目标品种名称
  5868. type: string
  5869. dstunitid:
  5870. description: 目标品种单位ID
  5871. type: integer
  5872. dstunitidname:
  5873. description: 目标品种单位名称
  5874. type: string
  5875. modifytime:
  5876. description: 修改时间
  5877. type: string
  5878. srccode:
  5879. description: 源品种代码
  5880. type: string
  5881. srcexchangecode:
  5882. description: 源期货交易所
  5883. type: string
  5884. srcgoodsgroupid:
  5885. description: 源品种ID
  5886. type: integer
  5887. srcname:
  5888. description: 源品种名称
  5889. type: string
  5890. srcunitid:
  5891. description: 源品种单位ID
  5892. type: integer
  5893. srcunitidname:
  5894. description: 源品种单位名称
  5895. type: string
  5896. type: object
  5897. models.ErmcpGoods:
  5898. properties:
  5899. agreeunit:
  5900. description: 合约单位
  5901. type: number
  5902. areauserid:
  5903. description: 所属机构
  5904. type: integer
  5905. auditaccountid:
  5906. description: 审核操作员账号
  5907. type: integer
  5908. audittime:
  5909. description: 审核时间
  5910. type: string
  5911. cancelaccountid:
  5912. description: 注销操作员账号
  5913. type: integer
  5914. canceltime:
  5915. description: 注销时间
  5916. type: string
  5917. closepricemode:
  5918. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  5919. type: integer
  5920. closepriceparam:
  5921. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  5922. type: number
  5923. createtime:
  5924. description: 创建时间
  5925. type: string
  5926. creatorid:
  5927. description: 创建人
  5928. type: integer
  5929. currencyid:
  5930. description: 报价货币ID
  5931. type: integer
  5932. cutmode:
  5933. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  5934. type: integer
  5935. decimalplace:
  5936. description: 报价小数位
  5937. type: integer
  5938. delistingdate:
  5939. description: 商品退市时间(状态:退市) -- 已作废
  5940. type: string
  5941. delistingmode:
  5942. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  5943. type: integer
  5944. deliveryflag:
  5945. description: 交割标志 - 0:不可交割 1:可交割
  5946. type: integer
  5947. enumdicname:
  5948. description: 单位名称
  5949. type: string
  5950. forceclosemode:
  5951. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  5952. type: integer
  5953. forceclosevalue:
  5954. description: 定期强平参数 [收益权]
  5955. type: integer
  5956. goodscode:
  5957. description: 商品代码(内部)
  5958. type: string
  5959. goodscurrencyid:
  5960. description: 合约货币ID
  5961. type: integer
  5962. goodsgroupid:
  5963. description: 所属商品组ID
  5964. type: integer
  5965. goodsid:
  5966. description: 商品ID(自增ID SEQ_GOODS)
  5967. type: integer
  5968. goodsname:
  5969. description: 商品名称
  5970. type: string
  5971. goodsquotetype:
  5972. description: '合约报价类型: 1-直接报价 2-间接报价'
  5973. type: integer
  5974. goodsstatus:
  5975. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  5976. type: integer
  5977. goodstradetype:
  5978. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  5979. type: integer
  5980. goodunitid:
  5981. description: 报价单位ID
  5982. type: integer
  5983. hasquoter:
  5984. description: 是否有报价商 - 0:无报价商 1:有报价商
  5985. type: integer
  5986. hqprotecttime:
  5987. description: 行情保护时间(秒)
  5988. type: integer
  5989. innerdealmode:
  5990. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  5991. type: integer
  5992. isbuylimited:
  5993. description: 是否限制建仓量 - 0:不限制 1:限制
  5994. type: integer
  5995. isvisible:
  5996. description: 游客是否可见 - 0:不可见 1:可见
  5997. type: integer
  5998. lasttradedate:
  5999. description: 最后交易日期(状态:待退市)
  6000. type: string
  6001. listingdate:
  6002. description: 交易开始日期
  6003. type: string
  6004. marketid:
  6005. description: 所属市场ID
  6006. type: integer
  6007. modifierid:
  6008. description: 修改人
  6009. type: integer
  6010. modifystatus:
  6011. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  6012. type: integer
  6013. modifytime:
  6014. description: 修改时间
  6015. type: string
  6016. outerdealmode:
  6017. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  6018. type: integer
  6019. outgoodscode:
  6020. description: 商品代码(外部)
  6021. type: string
  6022. pictureurl:
  6023. description: 商品图片
  6024. type: string
  6025. qtydecimalplace:
  6026. description: 成交量小数位
  6027. type: integer
  6028. quotegear:
  6029. description: 行情档位(1-10)
  6030. type: integer
  6031. quoteminunit:
  6032. description: 行情最小变动单位 [整数,报价小数位一起使用]
  6033. type: integer
  6034. quoteshowtype:
  6035. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  6036. type: integer
  6037. quoteshowtypeinterval:
  6038. description: 行情报价间隔时间(秒)(成交价时为0)
  6039. type: integer
  6040. relatedgoodsid:
  6041. description: 关联参考商品ID
  6042. type: integer
  6043. remark:
  6044. description: 备注
  6045. type: string
  6046. trademode:
  6047. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  6048. 21:竞拍-大宗式 22:受托竞价
  6049. type: integer
  6050. required:
  6051. - goodscode
  6052. - goodsid
  6053. - goodsname
  6054. - marketid
  6055. type: object
  6056. models.ErmcpGoodsBrand:
  6057. properties:
  6058. areauserid:
  6059. description: 所属机构
  6060. type: integer
  6061. brandid:
  6062. description: BrandID(SEQ_SPOTGOODSBRAND)
  6063. type: integer
  6064. brandname:
  6065. description: 品牌名称
  6066. type: string
  6067. createtime:
  6068. description: 创建时间
  6069. type: string
  6070. creatorid:
  6071. description: 创建人
  6072. type: integer
  6073. creatorsrc:
  6074. description: 创建人来源 - 1:管理端 2:终端
  6075. type: integer
  6076. deliverygoodsid:
  6077. description: 现货品种ID
  6078. type: integer
  6079. isvalid:
  6080. description: 是否有效 - 0:无效 1:有效
  6081. type: integer
  6082. updatetime:
  6083. description: 更新时间
  6084. type: string
  6085. updatorid:
  6086. description: 更新人
  6087. type: integer
  6088. updatorsrc:
  6089. description: 更新人来源 - 1:管理端 2:终端
  6090. type: integer
  6091. wrstandardid:
  6092. description: 现货商品ID
  6093. type: integer
  6094. type: object
  6095. models.ErmcpGoodsModel:
  6096. properties:
  6097. areauserid:
  6098. description: 所属机构
  6099. type: integer
  6100. convertfactor:
  6101. description: 标仓系数
  6102. type: number
  6103. createtime:
  6104. description: 创建时间
  6105. type: string
  6106. creatorid:
  6107. description: 创建人
  6108. type: integer
  6109. creatorsrc:
  6110. description: 创建人来源 - 1:管理端 2:终端
  6111. type: integer
  6112. deliverygoodsid:
  6113. description: 现货品种ID
  6114. type: integer
  6115. isvalid:
  6116. description: 是否有效 - 0:无效 1:有效
  6117. type: integer
  6118. modelid:
  6119. description: ModelID(SEQ_SPOTGOODSMODEL)
  6120. type: integer
  6121. modelname:
  6122. description: 型号名称
  6123. type: string
  6124. updatetime:
  6125. description: 更新时间
  6126. type: string
  6127. updatorid:
  6128. description: 更新人
  6129. type: integer
  6130. updatorsrc:
  6131. description: 更新人来源 - 1:管理端 2:终端
  6132. type: integer
  6133. wrstandardid:
  6134. description: 现货商品ID
  6135. type: integer
  6136. type: object
  6137. models.ErmcpHedgePosition:
  6138. properties:
  6139. accountid:
  6140. description: 资金账号[外部母账户]
  6141. type: integer
  6142. curbuyposition:
  6143. description: 期末买头寸
  6144. type: integer
  6145. cursellposition:
  6146. description: 期末卖头寸
  6147. type: integer
  6148. curtdbuyposition:
  6149. description: 期末今日买头寸
  6150. type: integer
  6151. curtdsellposition:
  6152. description: 期末今日卖头寸
  6153. type: integer
  6154. curydbuyposition:
  6155. description: 期末上日买头寸
  6156. type: integer
  6157. curydsellposition:
  6158. description: 期末上日卖头寸
  6159. type: integer
  6160. decreaseqty:
  6161. description: 减少数量 = (期末卖头寸 - 期初卖头寸)*-1
  6162. type: integer
  6163. fretdbuyposition:
  6164. description: 冻结今日买头寸
  6165. type: integer
  6166. fretdsellposition:
  6167. description: 冻结今日卖头寸
  6168. type: integer
  6169. freydbuyposition:
  6170. description: 冻结上日买头寸
  6171. type: integer
  6172. freydsellposition:
  6173. description: 冻结上日卖头寸
  6174. type: integer
  6175. goodscode:
  6176. description: 商品代码
  6177. type: string
  6178. goodsid:
  6179. description: 商品id
  6180. type: integer
  6181. goodsname:
  6182. description: 商品名称
  6183. type: string
  6184. hedgeaccountcode:
  6185. description: 对冲账号
  6186. type: string
  6187. hedgegoodsid:
  6188. description: 对冲合约ID
  6189. type: integer
  6190. increaseqty:
  6191. description: 增加数量 = 期末买头寸 - 期初买头寸
  6192. type: integer
  6193. marketid:
  6194. description: 市场ID
  6195. type: integer
  6196. relateduserid:
  6197. description: 关联用户id
  6198. type: integer
  6199. totalcurqty:
  6200. description: 当前数量(净头寸) = 期末买头寸 - 期末卖头寸
  6201. type: integer
  6202. totalydqty:
  6203. description: 昨日数量(净头寸) = 期初买头寸 - 期初卖头寸
  6204. type: integer
  6205. tradedate:
  6206. description: 交易日(yyyyMMdd)
  6207. type: string
  6208. ydbuyposition:
  6209. description: 期初买头寸
  6210. type: integer
  6211. ydsellposition:
  6212. description: 期初卖头寸
  6213. type: integer
  6214. type: object
  6215. models.ErmcpHedgePositionDetail:
  6216. properties:
  6217. buyorsell:
  6218. description: 买卖方向 0-买 1-卖
  6219. type: integer
  6220. channelbuildtype:
  6221. description: 开平方向 1-建仓 2-平仓
  6222. type: integer
  6223. goodscode:
  6224. description: 商品代码
  6225. type: string
  6226. goodsname:
  6227. description: 商品名称
  6228. type: string
  6229. hedgegoodsid:
  6230. description: 商品id
  6231. type: integer
  6232. tradeqty:
  6233. description: 数量(成交数量)
  6234. type: integer
  6235. tradetime:
  6236. description: 时间(成交时间)
  6237. type: string
  6238. type: object
  6239. models.ErmcpHisExposure:
  6240. properties:
  6241. needhedgeexposoure:
  6242. description: 应套保敞口
  6243. type: number
  6244. reckondate:
  6245. description: 日照时期(yyyyMMdd)
  6246. type: string
  6247. totalexposure:
  6248. description: 总敞口
  6249. type: number
  6250. type: object
  6251. models.ErmcpHisExposureS:
  6252. properties:
  6253. data:
  6254. description: 历史敞口
  6255. items:
  6256. $ref: '#/definitions/models.ErmcpHisExposure'
  6257. type: array
  6258. enumdicname:
  6259. description: 单位名称
  6260. type: string
  6261. middlegoodscode:
  6262. description: 套保品种代码
  6263. type: string
  6264. middlegoodsid:
  6265. description: 套保品种ID
  6266. type: integer
  6267. middlegoodsname:
  6268. description: 套保品种名称
  6269. type: string
  6270. type: object
  6271. models.ErmcpLoginTaAccount:
  6272. properties:
  6273. accountid:
  6274. description: 账号id
  6275. type: integer
  6276. accountname:
  6277. description: 账号名称
  6278. type: string
  6279. type: object
  6280. models.ErmcpLoginUser:
  6281. properties:
  6282. acclist:
  6283. description: 关联资金账号
  6284. items:
  6285. $ref: '#/definitions/models.ErmcpLoginTaAccount'
  6286. type: array
  6287. accountname:
  6288. description: 用户名称
  6289. type: string
  6290. clientroleid:
  6291. description: 角色id(usertype=2)
  6292. type: integer
  6293. createtime:
  6294. description: 创建时间
  6295. type: string
  6296. logincode:
  6297. description: 登录代码
  6298. type: string
  6299. loginid:
  6300. description: 登录id(LOGINID)
  6301. type: integer
  6302. loginname:
  6303. description: 登录名称(loginaccount表中的accountname字段)
  6304. type: string
  6305. loginstatus:
  6306. description: 登录账户状态 - 1:正常 2:冻结 3:无效
  6307. type: integer
  6308. memberuserid:
  6309. description: 所属会员id
  6310. type: integer
  6311. mobile:
  6312. description: 手机号
  6313. type: string
  6314. modifytime:
  6315. description: 修改时间
  6316. type: string
  6317. password:
  6318. description: 密码(不可解密)
  6319. type: string
  6320. rolename:
  6321. description: 角色名称
  6322. type: string
  6323. rolestatus:
  6324. description: 角色状态 1-启用 2-停用
  6325. type: integer
  6326. roletype:
  6327. description: 角色类型(逗号隔开,如22,23), 22:业务员 23:跟单员 24:交易员
  6328. type: string
  6329. userid:
  6330. description: 用户id
  6331. type: integer
  6332. usertype:
  6333. description: 用户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  6334. type: integer
  6335. type: object
  6336. models.ErmcpLoginUserEx:
  6337. properties:
  6338. accountstatus:
  6339. description: 账户的状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  6340. type: integer
  6341. mobile:
  6342. description: 手机号
  6343. type: string
  6344. querytype:
  6345. description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  6346. type: integer
  6347. roleid:
  6348. description: 角色id(交易账户->用户id)
  6349. type: integer
  6350. rolename:
  6351. description: 角色名称(交易账户->用户名称)
  6352. type: string
  6353. userlist:
  6354. description: 用户列表
  6355. items:
  6356. $ref: '#/definitions/models.ErmcpLoginUser'
  6357. type: array
  6358. usertype:
  6359. description: 用户类型 2-机构 7-企业成员(云平台)
  6360. type: integer
  6361. type: object
  6362. models.ErmcpMiddleGoodsChangeLog:
  6363. properties:
  6364. aftervalue:
  6365. description: 变更后
  6366. type: number
  6367. applyid:
  6368. description: 操作人
  6369. type: integer
  6370. applyname:
  6371. description: 操作人名称
  6372. type: string
  6373. applysrc:
  6374. description: 操作来源 - 1:管理端 2:终端
  6375. type: integer
  6376. beforevalue:
  6377. description: 变更前
  6378. type: number
  6379. changelogtype:
  6380. description: 变更流水类型 - 1:套保比率变更
  6381. type: integer
  6382. handlestatus:
  6383. description: 处理状态
  6384. type: integer
  6385. logdatetime:
  6386. description: 流水日期
  6387. type: string
  6388. logid:
  6389. description: 流水ID
  6390. type: integer
  6391. logremark:
  6392. description: 流水备注
  6393. type: string
  6394. middlegoodsid:
  6395. description: 套保品种ID
  6396. type: integer
  6397. tradedate:
  6398. description: 交易日(yyyyMMdd)
  6399. type: string
  6400. updatetime:
  6401. description: 更新时间
  6402. type: string
  6403. type: object
  6404. models.ErmcpMiddleGoodsDetail:
  6405. properties:
  6406. cvList:
  6407. description: 期货品种折算列表
  6408. items:
  6409. $ref: '#/definitions/models.ErmcpGGConvertCfg'
  6410. type: array
  6411. mg:
  6412. $ref: '#/definitions/models.ErmcpMiddleGoodsModel'
  6413. description: 套保品种基本信息
  6414. type: object
  6415. wrcList:
  6416. description: 现货品种列表(现货商品折算配置)
  6417. items:
  6418. $ref: '#/definitions/models.WRSConverTDetail'
  6419. type: array
  6420. type: object
  6421. models.ErmcpMiddleGoodsModel:
  6422. properties:
  6423. areauserid:
  6424. description: 机构用户ID
  6425. type: integer
  6426. createtime:
  6427. description: 修改时间
  6428. type: string
  6429. enumdicname:
  6430. description: 单位名称
  6431. type: string
  6432. evaluateratio:
  6433. description: 估价系数
  6434. type: number
  6435. goodsgroupid:
  6436. description: 关联期货品种ID
  6437. type: integer
  6438. goodsunitid:
  6439. description: 单位ID
  6440. type: integer
  6441. isvalid:
  6442. description: 状态 0-无效(停用) 1-有效(正常)
  6443. type: integer
  6444. middlegoodscode:
  6445. description: 套保品种代码
  6446. type: string
  6447. middlegoodsid:
  6448. description: 套保品种ID(SEQ_ERMS_MIDDLEGOODS)
  6449. type: integer
  6450. middlegoodsname:
  6451. description: 套保品种名称
  6452. type: string
  6453. modifytime:
  6454. description: 修改时间
  6455. type: string
  6456. needarbitrageratio:
  6457. description: 套利比例
  6458. type: number
  6459. needhedgeratio:
  6460. description: 套保比率
  6461. type: number
  6462. qtydecimalplace:
  6463. description: 数量小数位
  6464. type: integer
  6465. relatedgoodsid:
  6466. description: 关联交易商品ID
  6467. type: integer
  6468. relatedgoodstype:
  6469. description: 关联商品类型 - 1:期货合约 2:现货品种
  6470. type: integer
  6471. remark:
  6472. description: 备注
  6473. type: string
  6474. type: object
  6475. models.ErmcpMiddlegoodsRelateGoods:
  6476. properties:
  6477. agreeunit:
  6478. description: 合约乘数
  6479. type: number
  6480. convertratio:
  6481. description: 折算系数
  6482. type: number
  6483. enumdicname:
  6484. description: 单位名称(交易商品)
  6485. type: string
  6486. goodscode:
  6487. description: 交易商品代码
  6488. type: string
  6489. goodsgroupid:
  6490. description: 交易品种id
  6491. type: integer
  6492. goodsid:
  6493. description: 商品Id
  6494. type: integer
  6495. goodsname:
  6496. description: 交易商品名称
  6497. type: string
  6498. goodunitid:
  6499. description: 交易商品单位id
  6500. type: integer
  6501. middlegoodsid:
  6502. description: 套保商品id
  6503. type: integer
  6504. middlegoodsname:
  6505. description: 套保商品名称
  6506. type: string
  6507. middlegoodsswcode:
  6508. description: 套保商品代码
  6509. type: string
  6510. needarbitrageratio:
  6511. description: 应套利比例
  6512. type: number
  6513. needhedgeratio:
  6514. description: 应套保比例
  6515. type: number
  6516. type: object
  6517. models.ErmcpOPLogModel:
  6518. properties:
  6519. aftervalue:
  6520. description: 变更后
  6521. type: number
  6522. applyid:
  6523. description: 操作人ID
  6524. type: string
  6525. applyname:
  6526. description: 操作人名称
  6527. type: string
  6528. beforevalue:
  6529. description: 变更前
  6530. type: number
  6531. biztype:
  6532. description: 业务类型 - 1:套保计划 2:现货合同
  6533. type: integer
  6534. contracttype:
  6535. description: 现货合同类型 - 1:采购 -1:销售
  6536. type: integer
  6537. logvalue:
  6538. description: 数值
  6539. type: number
  6540. operatelogtype:
  6541. description: 操作流水类型
  6542. type: integer
  6543. operatelogtypedesc:
  6544. description: 操作流水类型名称
  6545. type: string
  6546. relatedid:
  6547. description: 现货合同ID\套保计划
  6548. type: string
  6549. updatetime:
  6550. description: 更新时间
  6551. type: string
  6552. type: object
  6553. models.ErmcpPendingAudit:
  6554. properties:
  6555. areastockqty:
  6556. description: '待审核数量: 库存申请'
  6557. type: integer
  6558. businessdjqty:
  6559. description: '待审核数量: 点价'
  6560. type: integer
  6561. businessfpqty:
  6562. description: '待审核数量: 发票'
  6563. type: integer
  6564. businessjsqty:
  6565. description: '待审核数量: 结算'
  6566. type: integer
  6567. businesskxqty:
  6568. description: '待审核数量: 款项'
  6569. type: integer
  6570. hedgeplanqty:
  6571. description: '待审核数量: 套保计划'
  6572. type: integer
  6573. spotcontractqty:
  6574. description: '待审核数量: 现货合同'
  6575. type: integer
  6576. userqty:
  6577. description: '待审核数量: 用户'
  6578. type: integer
  6579. type: object
  6580. models.ErmcpRealExposureModel:
  6581. properties:
  6582. AreaUserID:
  6583. description: 所属机构
  6584. type: integer
  6585. BuyFutureQty:
  6586. description: 买入期货数量
  6587. type: number
  6588. BuyPlanQty:
  6589. description: 采购计划数量
  6590. type: number
  6591. BuyPricedQty:
  6592. description: 采购合同已定价数量
  6593. type: number
  6594. MiddleGoodsCode:
  6595. description: 套保品种代码
  6596. type: string
  6597. MiddleGoodsHedgeRatio:
  6598. description: 套保比例
  6599. type: number
  6600. MiddleGoodsID:
  6601. description: 套保品种
  6602. type: integer
  6603. MiddleGoodsName:
  6604. description: 套保品种名称
  6605. type: string
  6606. NeedHedgeExposoure:
  6607. description: 应套保敞口(套保敞口)
  6608. type: number
  6609. NeedHedgeRatio:
  6610. description: 应套保敞口比例
  6611. type: number
  6612. OriBuyFutureQty:
  6613. description: 期初买入期货数量
  6614. type: number
  6615. OriBuyPlanQty:
  6616. description: 期初采购计划数量
  6617. type: number
  6618. OriBuyPricedQty:
  6619. description: 期初采购合同已定价数量
  6620. type: number
  6621. OriSellFutureQty:
  6622. description: 期初卖出期货数量
  6623. type: number
  6624. OriSellPlanQty:
  6625. description: 期初销售计划数量
  6626. type: number
  6627. OriSellPricedQty:
  6628. description: 期初销售合同已定价数量
  6629. type: number
  6630. SellFutureQty:
  6631. description: 卖出期货数量
  6632. type: number
  6633. SellPlanQty:
  6634. description: 销售计划数量
  6635. type: number
  6636. SellPricedQty:
  6637. description: 销售合同已定价数量
  6638. type: number
  6639. TotalExposure:
  6640. description: 总敞口
  6641. type: number
  6642. TotalFutureQty:
  6643. description: 期货总量
  6644. type: number
  6645. TotalHedgeRatio:
  6646. description: 敞口比例
  6647. type: number
  6648. TotalNeedHedgeQty:
  6649. description: 应套保总量(现货应套保总量)
  6650. type: number
  6651. TotalSpotQty:
  6652. description: 现货总量
  6653. type: number
  6654. arbitrageqty:
  6655. description: 套利量
  6656. type: number
  6657. diffArbitrageQty:
  6658. description: 套利变动量
  6659. type: number
  6660. diffExposoureQty:
  6661. description: 变动量(套保敞口)
  6662. type: number
  6663. diffFutuQty:
  6664. description: 变动量(期货总量)
  6665. type: number
  6666. diffHedgeQty:
  6667. description: 套保变动量
  6668. type: number
  6669. diffQty:
  6670. description: 变动量(总敞口)
  6671. type: number
  6672. diffSpotHedgeQty:
  6673. description: 变动量(现货应套保总量)
  6674. type: number
  6675. diffSpotQty:
  6676. description: 变动量(现货总量) = 现货数量 - 期初现货数量
  6677. type: number
  6678. enumdicname:
  6679. description: 单位名称
  6680. type: string
  6681. hedgeqty:
  6682. description: 套保量
  6683. type: number
  6684. needarbitrageqty:
  6685. description: 应套利量
  6686. type: number
  6687. needarbitrageratio:
  6688. description: 套利比例
  6689. type: number
  6690. needhedgeqty:
  6691. description: 应套保量
  6692. type: number
  6693. oriTotalFutuQty:
  6694. description: 期初期货数量=期初买入期货数量-期初卖出期货数量
  6695. type: number
  6696. oriTotalSpotQty:
  6697. description: 期初现货数量=(期初销售计划数量-期初销售合同已定价数量)-(期初采购计划数量-期初采购合同已定价数量)
  6698. type: number
  6699. oriarbitrageqty:
  6700. description: 期初套利量
  6701. type: number
  6702. orihedgeqty:
  6703. description: 期初套保量
  6704. type: number
  6705. orineedhedgeexposoure:
  6706. description: 期初套保敞口
  6707. type: number
  6708. oritotalexposure:
  6709. description: 期初总敞口
  6710. type: number
  6711. oritotalfutureqty:
  6712. description: 期初期货总量
  6713. type: number
  6714. oritotalneedhedgeqty:
  6715. description: 期初现货应套保量
  6716. type: number
  6717. type: object
  6718. models.ErmcpRole:
  6719. properties:
  6720. areauserid:
  6721. description: 所属机构
  6722. type: integer
  6723. autoid:
  6724. description: 角色ID(自增ID)
  6725. type: integer
  6726. modifierid:
  6727. description: 修改人(创建人)
  6728. type: integer
  6729. modifiername:
  6730. description: 修改人名称
  6731. type: string
  6732. modifytime:
  6733. description: 修改时间(创建时间)
  6734. type: string
  6735. rolename:
  6736. description: 角色名称
  6737. type: string
  6738. rolestatus:
  6739. description: 角色状态 - 1:启用 2:停用
  6740. type: integer
  6741. roletype:
  6742. description: 角色类型 - 1- 管理端 2- 交易端
  6743. type: integer
  6744. type: object
  6745. models.ErmcpRoleMenu:
  6746. properties:
  6747. iconame:
  6748. description: 菜单图标
  6749. type: string
  6750. ishadrole:
  6751. description: 是否有权限
  6752. type: boolean
  6753. menutype:
  6754. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  6755. type: integer
  6756. parentcode:
  6757. description: 上级资源代码
  6758. type: string
  6759. remark:
  6760. description: 菜单备注
  6761. type: string
  6762. resourcecode:
  6763. description: 菜单代码
  6764. type: string
  6765. resourcelevel:
  6766. description: 级别
  6767. type: integer
  6768. resourcename:
  6769. description: 菜单名称
  6770. type: string
  6771. roleid:
  6772. description: 角色id
  6773. type: integer
  6774. sort:
  6775. description: 排序
  6776. type: integer
  6777. url:
  6778. description: URL
  6779. type: string
  6780. userid:
  6781. description: 用户id
  6782. type: integer
  6783. type: object
  6784. models.ErmcpRoleMenuEx:
  6785. properties:
  6786. menu:
  6787. $ref: '#/definitions/models.ErmcpRoleMenu'
  6788. description: 父级菜单
  6789. type: object
  6790. subMenu:
  6791. description: 子级菜单
  6792. items:
  6793. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  6794. type: array
  6795. type: object
  6796. models.ErmcpTaAccount:
  6797. properties:
  6798. accountid:
  6799. description: 账户id
  6800. type: integer
  6801. accountname:
  6802. description: 账户名称
  6803. type: string
  6804. currencyid:
  6805. description: 币种id
  6806. type: integer
  6807. hedgeaccountcode:
  6808. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  6809. type: string
  6810. ismain:
  6811. description: 是否主账户 0-否 1-是
  6812. type: integer
  6813. parentaccountid:
  6814. description: 父账户id
  6815. type: integer
  6816. relateduserid:
  6817. description: 关联userid
  6818. type: integer
  6819. tradefeetmpid:
  6820. description: 手续费模板id
  6821. type: integer
  6822. tradefeetmpname:
  6823. description: 手续费模板名称
  6824. type: string
  6825. trademargintmpid:
  6826. description: 保证金模板id
  6827. type: integer
  6828. trademargintmpname:
  6829. description: 保证金模板名称
  6830. type: string
  6831. traderatetmpid:
  6832. description: 汇率模板id
  6833. type: integer
  6834. traderatetmpname:
  6835. description: 汇率模板名称
  6836. type: string
  6837. tradestatus:
  6838. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6839. type: integer
  6840. userid:
  6841. description: 用户id
  6842. type: integer
  6843. type: object
  6844. models.ErmcpTaAccountEx:
  6845. properties:
  6846. mainAcc:
  6847. $ref: '#/definitions/models.ErmcpTaAccountM'
  6848. description: 主账号
  6849. type: object
  6850. subacclist:
  6851. description: 子账号列表
  6852. items:
  6853. $ref: '#/definitions/models.ErmcpTaAccount'
  6854. type: array
  6855. type: object
  6856. models.ErmcpTaAccountInfo:
  6857. properties:
  6858. accountid:
  6859. description: 资金账户ID
  6860. type: integer
  6861. accountname:
  6862. description: 账户名称
  6863. type: string
  6864. balance:
  6865. description: 期初余额
  6866. type: number
  6867. capitalbalance:
  6868. description: 本金余额[外部子账户实际出入金余额]
  6869. type: number
  6870. closepl:
  6871. description: 今日平仓盈亏
  6872. type: number
  6873. creditdecrease:
  6874. description: 今日授信减少
  6875. type: number
  6876. creditincrease:
  6877. description: 今日授信增加
  6878. type: number
  6879. curdebt:
  6880. description: 期末欠款
  6881. type: number
  6882. currencyid:
  6883. description: 货币ID
  6884. type: integer
  6885. currentbalance:
  6886. description: 期末余额
  6887. type: number
  6888. freezecharge:
  6889. description: 手续费冻结
  6890. type: number
  6891. freezemargin:
  6892. description: 冻结保证金
  6893. type: number
  6894. fromaccountid:
  6895. description: 所属上级账户
  6896. type: integer
  6897. inamount:
  6898. description: 今日入金金额(包括三方入金)
  6899. type: number
  6900. ismain:
  6901. description: 是否母账号 0:不是母账户 1:是母账户
  6902. type: integer
  6903. mortgagecredit:
  6904. description: 授信金额
  6905. type: number
  6906. oridebt:
  6907. description: 期初欠款
  6908. type: number
  6909. orifreezecharge:
  6910. description: 期初手续费冻结
  6911. type: number
  6912. orifreezemargin:
  6913. description: 期初冻结保证金
  6914. type: number
  6915. orimortgagecredit:
  6916. description: 期初授信金额
  6917. type: number
  6918. oriothercredit:
  6919. description: 期初其它授信金额
  6920. type: number
  6921. oriotherfreezemargin:
  6922. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  6923. type: number
  6924. orioutamountfreeze:
  6925. description: 期初出金冻结
  6926. type: number
  6927. oriusedmargin:
  6928. description: 期初占用保证金
  6929. type: number
  6930. othercredit:
  6931. description: 其它授信金额
  6932. type: number
  6933. othercreditdecrease:
  6934. description: 今日其它授信减少
  6935. type: number
  6936. othercreditincrease:
  6937. description: 今日其它授信增加
  6938. type: number
  6939. otherfreezemargin:
  6940. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  6941. type: number
  6942. outamount:
  6943. description: 今日出金金额(包括三方出金)
  6944. type: number
  6945. outamountfreeze:
  6946. description: 出金冻结
  6947. type: number
  6948. outthreshold:
  6949. description: 出金阈值
  6950. type: number
  6951. parentaccountid:
  6952. description: 所属根账号
  6953. type: integer
  6954. paycharge:
  6955. description: 今日手续费支出
  6956. type: number
  6957. relateduserid:
  6958. description: 关联用户
  6959. type: integer
  6960. signstatus:
  6961. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  6962. type: integer
  6963. sublevelpath:
  6964. description: 账号层级路径(逗号分隔,首尾加逗号)
  6965. type: string
  6966. taaccounttype:
  6967. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  6968. type: integer
  6969. thirdinamount:
  6970. description: 今日三方入金
  6971. type: number
  6972. thirdoutamount:
  6973. description: 今日三方出金
  6974. type: number
  6975. tradestatus:
  6976. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  6977. type: integer
  6978. transferamount:
  6979. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  6980. type: number
  6981. usedmargin:
  6982. description: 占用保证金
  6983. type: number
  6984. userid:
  6985. description: 用户ID
  6986. type: integer
  6987. type: object
  6988. models.ErmcpTaAccountM:
  6989. properties:
  6990. accountid:
  6991. description: 账户id
  6992. type: integer
  6993. accountname:
  6994. description: 账户名称
  6995. type: string
  6996. currencyid:
  6997. description: 币种id
  6998. type: integer
  6999. fcid:
  7000. description: 期货公司id
  7001. type: integer
  7002. fcname:
  7003. description: 期货公司代码
  7004. type: string
  7005. hedgeaccountcode:
  7006. description: 主账号登录代码(仅当是主账号时有值,子账号没有登录账号)
  7007. type: string
  7008. ismain:
  7009. description: 是否主账户 0-否 1-是
  7010. type: integer
  7011. parentaccountid:
  7012. description: 父账户id
  7013. type: integer
  7014. relateduserid:
  7015. description: 关联userid
  7016. type: integer
  7017. tradefeetmpid:
  7018. description: 手续费模板id
  7019. type: integer
  7020. tradefeetmpname:
  7021. description: 手续费模板名称
  7022. type: string
  7023. trademargintmpid:
  7024. description: 保证金模板id
  7025. type: integer
  7026. trademargintmpname:
  7027. description: 保证金模板名称
  7028. type: string
  7029. traderatetmpid:
  7030. description: 汇率模板id
  7031. type: integer
  7032. traderatetmpname:
  7033. description: 汇率模板名称
  7034. type: string
  7035. tradestatus:
  7036. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  7037. type: integer
  7038. userid:
  7039. description: 用户id
  7040. type: integer
  7041. type: object
  7042. models.ErmcpTradeConfigTMP:
  7043. properties:
  7044. areauserid:
  7045. description: 所属机构
  7046. type: integer
  7047. basiccurrencyid:
  7048. description: 基本币种ID[汇率] - 目标币种
  7049. type: integer
  7050. mainaccountid:
  7051. description: 主账户ID
  7052. type: integer
  7053. modifierid:
  7054. description: 修改人
  7055. type: integer
  7056. remark:
  7057. description: 备注
  7058. type: string
  7059. tradeconfigtmpid:
  7060. description: 交易配置模板ID(SEQ_TRADECONFIGTMP)
  7061. type: integer
  7062. tradeconfigtmpname:
  7063. description: 交易配置模板名称
  7064. type: string
  7065. tradeconfigtmptype:
  7066. description: 交易配置模板类型 - 1:保证金 2:手续费 3:汇率
  7067. type: integer
  7068. updatetime:
  7069. description: 更新时间
  7070. type: string
  7071. type: object
  7072. models.ErmcpUserModel:
  7073. properties:
  7074. address:
  7075. description: 通讯地址
  7076. type: string
  7077. attachment1:
  7078. description: 附件1
  7079. type: string
  7080. audittime:
  7081. description: 审核时间
  7082. type: string
  7083. cardbackphotourl:
  7084. description: 证件反面图片地址
  7085. type: string
  7086. cardfrontphotourl:
  7087. description: 证件正面图片地址
  7088. type: string
  7089. cardnum:
  7090. description: 证件号码
  7091. type: string
  7092. cardtype:
  7093. description: 证件类型
  7094. type: integer
  7095. cardtypename:
  7096. description: 证件类型名称
  7097. type: string
  7098. cityid:
  7099. description: 市
  7100. type: integer
  7101. contactname:
  7102. description: 联系人
  7103. type: string
  7104. countryid:
  7105. description: 国家
  7106. type: integer
  7107. createtime:
  7108. description: 创建时间
  7109. type: string
  7110. customername:
  7111. description: 企业名称
  7112. type: string
  7113. districtid:
  7114. description: 区域
  7115. type: integer
  7116. email:
  7117. description: 邮件
  7118. type: string
  7119. legalpersonname:
  7120. description: 法人姓名(企业)
  7121. type: string
  7122. memberuserid:
  7123. description: 所属机构ID
  7124. type: integer
  7125. mobile:
  7126. description: 手机号码
  7127. type: string
  7128. modifytime:
  7129. description: 修改时间
  7130. type: string
  7131. nickname:
  7132. description: 昵称
  7133. type: string
  7134. provinceid:
  7135. description: 省
  7136. type: integer
  7137. remark:
  7138. description: 备注
  7139. type: string
  7140. status:
  7141. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  7142. type: integer
  7143. statusdesc:
  7144. description: 账户状态中文描述
  7145. type: string
  7146. taxpayernum:
  7147. description: 纳税人识别号
  7148. type: string
  7149. telphone:
  7150. description: 联系电话
  7151. type: string
  7152. userid:
  7153. description: 用户ID
  7154. type: integer
  7155. userinfotype:
  7156. description: 客户类型
  7157. type: string
  7158. type: object
  7159. models.ErmcpWareHouseInfo:
  7160. properties:
  7161. address:
  7162. description: 详细地址
  7163. type: string
  7164. areauserid:
  7165. description: 所属机构
  7166. type: integer
  7167. autoid:
  7168. description: 自增ID(仓库ID)
  7169. type: integer
  7170. cityid:
  7171. description: 市
  7172. type: integer
  7173. contactname:
  7174. description: 联系人
  7175. type: string
  7176. contactnum:
  7177. description: 联系电话
  7178. type: string
  7179. countryid:
  7180. description: 国家
  7181. type: integer
  7182. createtime:
  7183. description: 创建时间
  7184. type: string
  7185. districtid:
  7186. description: 区
  7187. type: integer
  7188. hasvideo:
  7189. description: 是否有视频 - 0:无 1:有
  7190. type: integer
  7191. provinceid:
  7192. description: 省
  7193. type: integer
  7194. remark:
  7195. description: 审核备注
  7196. type: string
  7197. videourl:
  7198. description: 视频地址
  7199. type: string
  7200. warehousecode:
  7201. description: 仓库代码
  7202. type: string
  7203. warehousename:
  7204. description: 仓库名称
  7205. type: string
  7206. warehousestatus:
  7207. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  7208. type: integer
  7209. warehousetype:
  7210. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  7211. type: integer
  7212. type: object
  7213. models.Externalexchange:
  7214. properties:
  7215. autoid:
  7216. description: AutoID - SEQ_EXTERNALEXCHANGE
  7217. type: integer
  7218. exchangefullname:
  7219. description: 外部交易所全称
  7220. type: string
  7221. exexchangecode:
  7222. description: 外部交易所代码
  7223. type: string
  7224. exexchangename:
  7225. description: 外部交易所名称(简称)
  7226. type: string
  7227. ismarketprice:
  7228. description: 是否支持市价 - 0:不支持 1:支持
  7229. type: integer
  7230. quotegear:
  7231. description: 行情档位(1-10)
  7232. type: integer
  7233. showbrokerflag:
  7234. description: 是否显示买卖经纪盘 - 0:不显示 1:显示
  7235. type: integer
  7236. updatetime:
  7237. description: 更新时间
  7238. type: string
  7239. required:
  7240. - autoid
  7241. type: object
  7242. models.Funcmenulist:
  7243. properties:
  7244. iconame:
  7245. description: 菜单图标
  7246. type: string
  7247. menutype:
  7248. description: 菜单类型 1-管理端 2-交易端 3-终端权限
  7249. type: integer
  7250. parentcode:
  7251. description: 上级资源代码
  7252. type: string
  7253. remark:
  7254. description: 备注
  7255. type: string
  7256. resourcecode:
  7257. description: 资源代码
  7258. type: string
  7259. resourcelevel:
  7260. description: 级别 1-一级 2-二级 3-三级 4-四级
  7261. type: integer
  7262. resourcename:
  7263. description: 资源名
  7264. type: string
  7265. sort:
  7266. description: 排序 - 一级时,是所有一级菜单的排序顺序;二级时是所属同一个一级菜单下的排序、三级时是同一个二级菜单下的排序
  7267. type: integer
  7268. url:
  7269. description: URL
  7270. type: string
  7271. required:
  7272. - resourcecode
  7273. type: object
  7274. models.Goods:
  7275. properties:
  7276. agreeunit:
  7277. description: 合约单位
  7278. type: number
  7279. areauserid:
  7280. description: 所属机构
  7281. type: integer
  7282. auditaccountid:
  7283. description: 审核操作员账号
  7284. type: integer
  7285. audittime:
  7286. description: 审核时间
  7287. type: string
  7288. cancelaccountid:
  7289. description: 注销操作员账号
  7290. type: integer
  7291. canceltime:
  7292. description: 注销时间
  7293. type: string
  7294. closepricemode:
  7295. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7296. type: integer
  7297. closepriceparam:
  7298. description: 强平最新价浮动比例 - 方式为2时使用 (<1)买 上浮 (1+x)*最新价卖 下浮 (1-x)*最新价
  7299. type: number
  7300. createtime:
  7301. description: 创建时间
  7302. type: string
  7303. creatorid:
  7304. description: 创建人
  7305. type: integer
  7306. currencyid:
  7307. description: 报价货币ID
  7308. type: integer
  7309. cutmode:
  7310. description: 斩仓方式 - 1:不斩仓 2:自动斩仓 3:半自动斩仓
  7311. type: integer
  7312. decimalplace:
  7313. description: 报价小数位
  7314. type: integer
  7315. delistingdate:
  7316. description: 商品退市时间(状态:退市) -- 已作废
  7317. type: string
  7318. delistingmode:
  7319. description: 退市方式 - 1:退市平仓 2:退市交收 3:不处理(仅期权\币币兑换)
  7320. type: integer
  7321. deliveryflag:
  7322. description: 交割标志 - 0:不可交割 1:可交割
  7323. type: integer
  7324. forceclosemode:
  7325. description: 定期强平方式 - 1:无 2:每日 3:每周 4:每月[收益权]
  7326. type: integer
  7327. forceclosevalue:
  7328. description: 定期强平参数 [收益权]
  7329. type: integer
  7330. goodscode:
  7331. description: 商品代码(内部)
  7332. type: string
  7333. goodscurrencyid:
  7334. description: 合约货币ID
  7335. type: integer
  7336. goodsgroupid:
  7337. description: 所属商品组ID
  7338. type: integer
  7339. goodsid:
  7340. description: 商品ID(自增ID SEQ_GOODS)
  7341. type: integer
  7342. goodsname:
  7343. description: 商品名称
  7344. type: string
  7345. goodsquotetype:
  7346. description: '合约报价类型: 1-直接报价 2-间接报价'
  7347. type: integer
  7348. goodsstatus:
  7349. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  7350. type: integer
  7351. goodstradetype:
  7352. description: 商品交易权限类型 - 1:可建可平 3:不可建可平
  7353. type: integer
  7354. goodunitid:
  7355. description: 报价单位ID
  7356. type: integer
  7357. hasquoter:
  7358. description: 是否有报价商 - 0:无报价商 1:有报价商
  7359. type: integer
  7360. hqprotecttime:
  7361. description: 行情保护时间(秒)
  7362. type: integer
  7363. innerdealmode:
  7364. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7365. type: integer
  7366. isbuylimited:
  7367. description: 是否限制建仓量 - 0:不限制 1:限制
  7368. type: integer
  7369. isvisible:
  7370. description: 游客是否可见 - 0:不可见 1:可见
  7371. type: integer
  7372. lasttradedate:
  7373. description: 最后交易日期(状态:待退市)
  7374. type: string
  7375. listingdate:
  7376. description: 交易开始日期
  7377. type: string
  7378. marketid:
  7379. description: 所属市场ID
  7380. type: integer
  7381. modifierid:
  7382. description: 修改人
  7383. type: integer
  7384. modifystatus:
  7385. description: 变更状态 - 1:未变更 2:变更中 3:待审核 4:已审核
  7386. type: integer
  7387. modifytime:
  7388. description: 修改时间
  7389. type: string
  7390. outerdealmode:
  7391. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7392. type: integer
  7393. outgoodscode:
  7394. description: 商品代码(外部)
  7395. type: string
  7396. pictureurl:
  7397. description: 商品图片
  7398. type: string
  7399. qtydecimalplace:
  7400. description: 成交量小数位
  7401. type: integer
  7402. quotegear:
  7403. description: 行情档位(1-10)
  7404. type: integer
  7405. quoteminunit:
  7406. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7407. type: integer
  7408. quoteshowtype:
  7409. description: '行情报价类型: 1:成交价 2:买卖中间价 3:含买价 4:含卖价做市模式固定为3:含买价'
  7410. type: integer
  7411. quoteshowtypeinterval:
  7412. description: 行情报价间隔时间(秒)(成交价时为0)
  7413. type: integer
  7414. remark:
  7415. description: 备注
  7416. type: string
  7417. required:
  7418. - goodscode
  7419. - goodsid
  7420. - goodsname
  7421. - marketid
  7422. type: object
  7423. models.GoodsIDAndName:
  7424. properties:
  7425. goodscode:
  7426. description: 商品代码(内部)
  7427. type: string
  7428. goodsid:
  7429. description: 商品ID(自增ID SEQ_GOODS)
  7430. type: integer
  7431. goodsname:
  7432. description: 商品名称
  7433. type: string
  7434. marketid:
  7435. description: 所属市场ID
  7436. type: integer
  7437. required:
  7438. - goodscode
  7439. - goodsid
  7440. - goodsname
  7441. - marketid
  7442. type: object
  7443. models.Goodsgroup:
  7444. properties:
  7445. agreeunit:
  7446. description: 合约单位
  7447. type: number
  7448. canshort:
  7449. description: 是否允许做空[通道交易] - 0:不能做空 1:可以做空
  7450. type: integer
  7451. closepricemode:
  7452. description: 强平价格方式 - 1:市价 2:最新价 3:涨跌停(未实现)
  7453. type: integer
  7454. closepriceparam:
  7455. description: 强平最新价浮动比例 - 方式为2时使用
  7456. type: number
  7457. createtime:
  7458. description: 创建时间
  7459. type: string
  7460. creatorid:
  7461. description: 创建人
  7462. type: integer
  7463. currencyid:
  7464. description: 报价货币ID
  7465. type: integer
  7466. decimalplace:
  7467. description: 报价小数位
  7468. type: integer
  7469. exercisetype:
  7470. description: 行权类型[场外期权]-1:欧式期权 2:美式期权
  7471. type: integer
  7472. exexchangeid:
  7473. description: 外部交易所ID[通道交易]
  7474. type: integer
  7475. goodsgroupid:
  7476. description: 商品组ID(自增ID)
  7477. type: integer
  7478. goodsgroupname:
  7479. description: 商品组名称
  7480. type: string
  7481. goodsgroupstatus:
  7482. description: 商品组状态 - 1:正常 2:注销
  7483. type: integer
  7484. goodunitid:
  7485. description: 报价单位ID
  7486. type: integer
  7487. innerdealmode:
  7488. description: 内部成交方式[通道交易] - 1:净头寸 2:开平 3:平今
  7489. type: integer
  7490. isbuylimited:
  7491. description: 是否限制建仓量 - 0:不限制 1:限制
  7492. type: integer
  7493. marketid:
  7494. description: 所属市场ID
  7495. type: integer
  7496. modifierid:
  7497. description: 修改人
  7498. type: integer
  7499. modifytime:
  7500. description: 修改时间
  7501. type: string
  7502. outerdealmode:
  7503. description: 外部成交方式[通道交易]- 1:净头寸 2:开平 3:平今
  7504. type: integer
  7505. outergroupcode:
  7506. description: 外部商品组代码[通道交易]
  7507. type: string
  7508. premiumdecimalplace:
  7509. description: 权利金小数位[场外期权]
  7510. type: integer
  7511. premiumspreadalgorithm:
  7512. description: 权利金点差方式[场外期权] 1:比率 2:固定
  7513. type: integer
  7514. premiumspreadvalue:
  7515. description: 权利金点差值[场外期权]
  7516. type: number
  7517. qtydecimalplace:
  7518. description: 成交量小数位
  7519. type: integer
  7520. quotegear:
  7521. description: 行情档位(1-10)
  7522. type: integer
  7523. quoteminunit:
  7524. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7525. type: integer
  7526. quoterid:
  7527. description: 报价商ID[场外期权]
  7528. type: integer
  7529. quotesourcegroupid:
  7530. description: 所属行情源分组ID[参考行情市场用\通道交易]
  7531. type: integer
  7532. syncgoodsqty:
  7533. description: 同步合约数[通道交易-投资管理用] - 0表示不限
  7534. type: integer
  7535. required:
  7536. - goodsgroupid
  7537. - goodsgroupname
  7538. - goodsgroupstatus
  7539. - marketid
  7540. type: object
  7541. models.Goodssortbypreposition:
  7542. properties:
  7543. goodscode:
  7544. description: 合约代码 - 易盛接口:合约代码=品种代码+合约代码
  7545. type: string
  7546. goodsgroupcode:
  7547. description: 品种代码
  7548. type: string
  7549. prepositionqty:
  7550. description: 昨持仓量
  7551. type: integer
  7552. sortindex:
  7553. description: 排序
  7554. type: integer
  7555. tradedate:
  7556. description: 交易日
  7557. type: string
  7558. updatetime:
  7559. description: 更新时间
  7560. type: string
  7561. required:
  7562. - goodscode
  7563. - tradedate
  7564. type: object
  7565. models.Hedgeinnerholderdetail:
  7566. properties:
  7567. accountid:
  7568. description: 账号ID
  7569. type: integer
  7570. buyorsell:
  7571. description: 方向 - 0:买 1:卖
  7572. type: integer
  7573. freezeqty:
  7574. description: 冻结数量 - 按单平使用
  7575. type: integer
  7576. goodsid:
  7577. description: 商品ID
  7578. type: integer
  7579. holderamount:
  7580. description: 持仓金额 [商品币种]
  7581. type: number
  7582. holderdays:
  7583. description: 剩余冻结天数
  7584. type: integer
  7585. holderprice:
  7586. description: 持仓价格
  7587. type: number
  7588. holderqty:
  7589. description: 持仓数量
  7590. type: integer
  7591. marketid:
  7592. description: 市场ID
  7593. type: integer
  7594. openprice:
  7595. description: 建仓价格
  7596. type: number
  7597. openqty:
  7598. description: 建仓数量
  7599. type: integer
  7600. parentaccountid:
  7601. description: 所属母账户
  7602. type: integer
  7603. releaseamount:
  7604. description: 释放持仓金额[商品币种]
  7605. type: number
  7606. tradeamount:
  7607. description: 成交金额[账户]
  7608. type: number
  7609. tradedate:
  7610. description: 交易日(yyyyMMdd)
  7611. type: string
  7612. tradeid:
  7613. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7614. type: string
  7615. tradetime:
  7616. description: 交易时间
  7617. type: string
  7618. required:
  7619. - buyorsell
  7620. - tradeid
  7621. type: object
  7622. models.Hedgemarketopenlog:
  7623. properties:
  7624. accountid:
  7625. description: 资金账号[外部母账户]
  7626. type: integer
  7627. fcname:
  7628. description: 期货公司名称
  7629. type: string
  7630. handlestatus:
  7631. description: 处理状态 - 1:登陆Mhp成功 2:登陆Mhp失败 3:登出Mhp
  7632. type: integer
  7633. marketid:
  7634. description: 市场ID
  7635. type: integer
  7636. status:
  7637. description: 状态 - 1:待开市 2:开市 4:手工休市 5:闭市 10:日终处理开始 11:日终处理成功 12:日终处理失败
  7638. type: integer
  7639. tradedate:
  7640. description: 交易日(yyyyMMdd)
  7641. type: string
  7642. updatetime:
  7643. description: 更新时间
  7644. type: string
  7645. required:
  7646. - accountid
  7647. type: object
  7648. models.HsbyBuyMyPayOrder:
  7649. properties:
  7650. agreeunit:
  7651. description: 合约单位
  7652. type: number
  7653. buyaccountid:
  7654. description: 买方账号ID[报价币种]
  7655. type: integer
  7656. buyorderid:
  7657. description: 买方委托单号
  7658. type: string
  7659. createtime:
  7660. description: 创建时间
  7661. type: string
  7662. currencysign:
  7663. description: 货币符号
  7664. type: string
  7665. decimalplace:
  7666. description: 报价小数位
  7667. type: integer
  7668. goodscode:
  7669. description: 商品代码(内部)
  7670. type: string
  7671. goodsid:
  7672. description: 商品ID
  7673. type: integer
  7674. goodsname:
  7675. description: 商品名称
  7676. type: string
  7677. marketid:
  7678. description: 市场ID
  7679. type: integer
  7680. offamount:
  7681. description: 优惠金额
  7682. type: number
  7683. originalamount:
  7684. description: 原金额 = TradeAmount + TradeCharge + OffAmount
  7685. type: number
  7686. payamount:
  7687. description: 支付金额 = TradeAmount + TradeCharge
  7688. type: number
  7689. payflag:
  7690. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  7691. type: integer
  7692. paylimitedtime:
  7693. description: 支付期限
  7694. type: string
  7695. paytime:
  7696. description: 付款时间
  7697. type: string
  7698. picurls1:
  7699. description: 预售商品介绍图片[多张用逗号分隔]
  7700. type: string
  7701. picurls2:
  7702. description: 挂牌商品介绍图片[多张用逗号分隔]
  7703. type: string
  7704. sellaccountid:
  7705. description: 卖方账号ID[报价币种]
  7706. type: integer
  7707. sellorderid:
  7708. description: 卖方委托单号
  7709. type: string
  7710. tradeamount:
  7711. description: 成交金额
  7712. type: number
  7713. tradecharge:
  7714. description: 成交手续费(买方)
  7715. type: number
  7716. tradedate:
  7717. description: 交易日(yyyyMMdd)
  7718. type: string
  7719. tradeid:
  7720. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7721. type: string
  7722. trademode:
  7723. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7724. 21:竞拍-大宗式 22:受托竞价
  7725. type: integer
  7726. tradeprice:
  7727. description: 成交价格
  7728. type: number
  7729. tradeqty:
  7730. description: 成交数量
  7731. type: integer
  7732. vendorname1:
  7733. description: 预售商品供应商名称
  7734. type: string
  7735. vendorname2:
  7736. description: 挂牌商品供应商名称
  7737. type: string
  7738. required:
  7739. - goodscode
  7740. - goodsname
  7741. - tradeid
  7742. - trademode
  7743. type: object
  7744. models.HsbyBuyMyTradeDetail:
  7745. properties:
  7746. accountid:
  7747. description: 账户ID[报价币种]
  7748. type: integer
  7749. agreeunit:
  7750. description: 合约单位
  7751. type: number
  7752. amount:
  7753. description: 金额 = 价格 * 数量 * 合约单位
  7754. type: number
  7755. buyorsell:
  7756. description: 买卖 - 0:买 1:卖
  7757. type: integer
  7758. currencysign:
  7759. description: 货币符号
  7760. type: string
  7761. decimalplace:
  7762. description: 报价小数位
  7763. type: integer
  7764. goodscode:
  7765. description: 商品代码(内部)
  7766. type: string
  7767. goodsid:
  7768. description: 商品ID
  7769. type: integer
  7770. goodsname:
  7771. description: 商品名称
  7772. type: string
  7773. marketid:
  7774. description: 市场ID
  7775. type: integer
  7776. orderamount:
  7777. description: 委托金额
  7778. type: number
  7779. orderid:
  7780. description: 单号(成交单号)
  7781. type: string
  7782. picurls1:
  7783. description: 预售商品介绍图片[多张用逗号分隔]
  7784. type: string
  7785. picurls2:
  7786. description: 挂牌商品介绍图片[多张用逗号分隔]
  7787. type: string
  7788. price:
  7789. description: 价格
  7790. type: number
  7791. qty:
  7792. description: 数量
  7793. type: integer
  7794. time:
  7795. description: 时间
  7796. type: string
  7797. trademode:
  7798. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7799. 21:竞拍-大宗式 22:受托竞价
  7800. type: integer
  7801. vendorname1:
  7802. description: 预售商品供应商名称
  7803. type: string
  7804. vendorname2:
  7805. description: 挂牌商品供应商名称
  7806. type: string
  7807. required:
  7808. - accountid
  7809. - buyorsell
  7810. - goodscode
  7811. - goodsid
  7812. - goodsname
  7813. - marketid
  7814. - orderid
  7815. - qty
  7816. - time
  7817. - trademode
  7818. type: object
  7819. models.HsbyGoodsOrderDetail:
  7820. properties:
  7821. buyorsell:
  7822. description: 买卖 - 0:买 1:卖
  7823. type: integer
  7824. currencysign:
  7825. description: 货币符号
  7826. type: string
  7827. customername:
  7828. description: 客户名称(企业名称),已脱敏
  7829. type: string
  7830. enableqty:
  7831. description: 可用数量
  7832. type: integer
  7833. goodunit:
  7834. description: 报价单位
  7835. type: string
  7836. orderid:
  7837. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7838. type: string
  7839. orderprice:
  7840. description: 委托价格
  7841. type: number
  7842. ordertime:
  7843. description: 委托时间
  7844. type: string
  7845. required:
  7846. - buyorsell
  7847. - orderid
  7848. - ordertime
  7849. type: object
  7850. models.HsbyListingGoodsDetail:
  7851. properties:
  7852. agreeunit:
  7853. description: 合约单位
  7854. type: number
  7855. buymaxqty:
  7856. description: 购买上限 [71] - 0为不限
  7857. type: integer
  7858. currency:
  7859. description: 货币
  7860. type: string
  7861. currencysign:
  7862. description: 货币符号
  7863. type: string
  7864. decimalplace:
  7865. description: 报价小数位
  7866. type: integer
  7867. desccityid:
  7868. description: 目的地(市)ID
  7869. type: integer
  7870. descprovinceid:
  7871. description: 目的地(省)ID
  7872. type: integer
  7873. goodscode:
  7874. description: 商品代码(内部)
  7875. type: string
  7876. goodsdesc:
  7877. description: 商品详情
  7878. type: string
  7879. goodsid:
  7880. description: 商品ID(自增ID SEQ_GOODS)
  7881. type: integer
  7882. goodsname:
  7883. description: 商品名称
  7884. type: string
  7885. goodsprice:
  7886. description: 商品价格
  7887. type: number
  7888. hotindex:
  7889. description: 景点热度
  7890. type: integer
  7891. last:
  7892. description: 现价
  7893. type: number
  7894. limitdown:
  7895. description: 跌停价
  7896. type: number
  7897. limitup:
  7898. description: 涨停价
  7899. type: number
  7900. lotsize:
  7901. description: 手数最小变动单位
  7902. type: integer
  7903. marketid:
  7904. description: 所属市场ID
  7905. type: integer
  7906. picurls:
  7907. description: 介绍图片[多张用逗号分隔]
  7908. type: string
  7909. quoteminunit:
  7910. description: 行情最小变动单位 [整数,报价小数位一起使用]
  7911. type: integer
  7912. stepvalue:
  7913. description: 价格最小变动单位
  7914. type: number
  7915. trademode:
  7916. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  7917. 21:竞拍-大宗式 22:受托竞价
  7918. type: integer
  7919. vendorattr:
  7920. description: 供应商附件(多张,逗号分隔)
  7921. type: string
  7922. vendorname:
  7923. description: 供应商名称
  7924. type: string
  7925. vendorphone:
  7926. description: 供应商客服电话
  7927. type: string
  7928. videourls:
  7929. description: 介绍视频[多张用逗号分隔]
  7930. type: string
  7931. required:
  7932. - goodscode
  7933. - goodsid
  7934. - goodsname
  7935. - marketid
  7936. - trademode
  7937. type: object
  7938. models.HsbyMarketGoods:
  7939. properties:
  7940. accountid:
  7941. description: 账户ID[报价币种]
  7942. type: integer
  7943. agreeunit:
  7944. description: 合约单位
  7945. type: number
  7946. buyorsell:
  7947. description: 买卖 - 0:买 1:卖
  7948. type: integer
  7949. categoryid:
  7950. description: 类别ID(WRCATEGORY)
  7951. type: integer
  7952. currency:
  7953. description: 货币
  7954. type: string
  7955. currencysign:
  7956. description: 货币符号
  7957. type: string
  7958. customername:
  7959. description: 卖家名称
  7960. type: string
  7961. decimalplace:
  7962. description: 报价小数位
  7963. type: integer
  7964. goodscode:
  7965. description: 商品代码(内部)
  7966. type: string
  7967. goodsid:
  7968. description: 商品ID
  7969. type: integer
  7970. goodsname:
  7971. description: 商品名称
  7972. type: string
  7973. goodsprice:
  7974. description: 商品价格
  7975. type: number
  7976. hascoupon:
  7977. description: 是否可用优惠卷
  7978. type: boolean
  7979. hotindex:
  7980. description: 景点热度
  7981. type: integer
  7982. marketid:
  7983. description: 市场ID
  7984. type: integer
  7985. orderid:
  7986. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  7987. type: string
  7988. orderprice:
  7989. description: 委托价格
  7990. type: number
  7991. orderstatus:
  7992. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  7993. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  7994. 16:成交失败违约(荷兰式竞拍专用)
  7995. type: integer
  7996. picurls:
  7997. description: 介绍图片[多张用逗号分隔]
  7998. type: string
  7999. quoteminunit:
  8000. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8001. type: integer
  8002. sellUserID:
  8003. description: 卖方UserID
  8004. type: integer
  8005. trademode:
  8006. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8007. 21:竞拍-大宗式 22:受托竞价
  8008. type: integer
  8009. videourls:
  8010. description: 介绍视频[多张用逗号分隔]
  8011. type: string
  8012. required:
  8013. - accountid
  8014. - buyorsell
  8015. - goodscode
  8016. - goodsid
  8017. - goodsname
  8018. - marketid
  8019. - orderid
  8020. - trademode
  8021. type: object
  8022. models.HsbyMarketGoodsDetail:
  8023. properties:
  8024. accountid:
  8025. description: 账户ID[报价币种]
  8026. type: integer
  8027. agreeunit:
  8028. description: 合约单位
  8029. type: number
  8030. buymaxqty:
  8031. description: 购买上限 [71] - 0为不限
  8032. type: integer
  8033. buyorsell:
  8034. description: 买卖 - 0:买 1:卖
  8035. type: integer
  8036. cancelqty:
  8037. description: 撤单数量
  8038. type: integer
  8039. categoryid:
  8040. description: 类别ID(WRCATEGORY)
  8041. type: integer
  8042. currency:
  8043. description: 货币
  8044. type: string
  8045. currencysign:
  8046. description: 货币符号
  8047. type: string
  8048. customername:
  8049. description: 卖家名称
  8050. type: string
  8051. decimalplace:
  8052. description: 报价小数位
  8053. type: integer
  8054. goodscode:
  8055. description: 商品代码(内部)
  8056. type: string
  8057. goodsdesc:
  8058. description: 商品详情
  8059. type: string
  8060. goodsid:
  8061. description: 商品ID
  8062. type: integer
  8063. goodsname:
  8064. description: 商品名称
  8065. type: string
  8066. goodsprice:
  8067. description: 商品价格
  8068. type: number
  8069. hotindex:
  8070. description: 景点热度
  8071. type: integer
  8072. lotsize:
  8073. description: 手数最小变动单位
  8074. type: integer
  8075. marketid:
  8076. description: 市场ID
  8077. type: integer
  8078. orderid:
  8079. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8080. type: string
  8081. orderprice:
  8082. description: 委托价格
  8083. type: number
  8084. orderqty:
  8085. description: 委托数量
  8086. type: integer
  8087. orderstatus:
  8088. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8089. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8090. 16:成交失败违约(荷兰式竞拍专用)
  8091. type: integer
  8092. picurls:
  8093. description: 介绍图片[多张用逗号分隔]
  8094. type: string
  8095. quoteminunit:
  8096. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8097. type: integer
  8098. sellUserID:
  8099. description: 卖方UserID
  8100. type: integer
  8101. trademode:
  8102. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8103. 21:竞拍-大宗式 22:受托竞价
  8104. type: integer
  8105. tradeqty:
  8106. description: 成交数量
  8107. type: integer
  8108. vendorattr:
  8109. description: 供应商附件(多张,逗号分隔)
  8110. type: string
  8111. vendorname:
  8112. description: 供应商名称
  8113. type: string
  8114. vendorphone:
  8115. description: 供应商客服电话
  8116. type: string
  8117. videourls:
  8118. description: 介绍视频[多张用逗号分隔]
  8119. type: string
  8120. required:
  8121. - accountid
  8122. - buyorsell
  8123. - goodscode
  8124. - goodsid
  8125. - goodsname
  8126. - marketid
  8127. - orderid
  8128. - orderqty
  8129. - trademode
  8130. type: object
  8131. models.HsbyMarketInfo:
  8132. properties:
  8133. marketid:
  8134. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8135. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8136. type: integer
  8137. marketname:
  8138. description: 市场名称
  8139. type: string
  8140. marketstatus:
  8141. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8142. type: integer
  8143. trademode:
  8144. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8145. 21:竞拍-大宗式 22:受托竞价
  8146. type: integer
  8147. required:
  8148. - marketid
  8149. - marketstatus
  8150. - trademode
  8151. type: object
  8152. models.HsbyMyGoods:
  8153. properties:
  8154. accountid:
  8155. description: 账号Id
  8156. type: integer
  8157. agreeunit:
  8158. description: 合约单位
  8159. type: number
  8160. buyaverageprice:
  8161. description: 持仓均价
  8162. type: number
  8163. buycurholderamount:
  8164. description: 买当前持仓总金额[商品币种]
  8165. type: number
  8166. buycurpositionqty:
  8167. description: 买当前持仓总数量
  8168. type: integer
  8169. buymaxqty:
  8170. description: 购买上限 [71] - 0为不限
  8171. type: integer
  8172. currencysign:
  8173. description: 货币符号
  8174. type: string
  8175. decimalplace:
  8176. description: 报价小数位
  8177. type: integer
  8178. enableqty:
  8179. description: 可用数量
  8180. type: integer
  8181. goodscode:
  8182. description: 商品代码(内部)
  8183. type: string
  8184. goodsid:
  8185. description: 商品Id
  8186. type: integer
  8187. goodsname:
  8188. description: 商品名称
  8189. type: string
  8190. goodsprice:
  8191. description: 商品价格
  8192. type: number
  8193. goodsstatus:
  8194. description: 商品状态- 1:待审核 2:未上市 3:上市 4:已注销 5:审核拒绝 6:退市 7:待退市
  8195. type: integer
  8196. last:
  8197. description: 现价(仅使用于挂牌点选)
  8198. type: number
  8199. limitdown:
  8200. description: 跌停价(仅使用于挂牌点选)
  8201. type: number
  8202. limitup:
  8203. description: 涨停价(仅使用于挂牌点选)
  8204. type: number
  8205. lotsize:
  8206. description: 手数最小变动单位
  8207. type: integer
  8208. marketid:
  8209. description: 所属市场ID
  8210. type: integer
  8211. picurls:
  8212. description: 介绍图片[多张用逗号分隔]
  8213. type: string
  8214. quoteminunit:
  8215. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8216. type: integer
  8217. stepvalue:
  8218. description: 价格最小变动单位
  8219. type: number
  8220. trademode:
  8221. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8222. 21:竞拍-大宗式 22:受托竞价
  8223. type: integer
  8224. required:
  8225. - accountid
  8226. - goodscode
  8227. - goodsid
  8228. - goodsname
  8229. - marketid
  8230. - trademode
  8231. type: object
  8232. models.HsbyMyPackage:
  8233. properties:
  8234. accountid:
  8235. description: 账户ID
  8236. type: integer
  8237. address:
  8238. description: 提货人详细地址
  8239. type: string
  8240. agreeunit:
  8241. description: 合约单位
  8242. type: number
  8243. amount:
  8244. description: 提货金额
  8245. type: number
  8246. auditer:
  8247. description: 审核人
  8248. type: integer
  8249. audittime:
  8250. description: 审核时间
  8251. type: string
  8252. averageprice:
  8253. description: 均价
  8254. type: number
  8255. cardnum:
  8256. description: 提货人证件号码
  8257. type: string
  8258. cardtypeid:
  8259. description: 提货人证件类型
  8260. type: integer
  8261. checkremark:
  8262. description: 审核备注
  8263. type: string
  8264. currencysign:
  8265. description: 货币符号
  8266. type: string
  8267. decimalplace:
  8268. description: 报价小数位
  8269. type: integer
  8270. goodscode:
  8271. description: 商品代码(内部)
  8272. type: string
  8273. goodsid:
  8274. description: 商品ID
  8275. type: integer
  8276. goodsname:
  8277. description: 商品名称
  8278. type: string
  8279. handlestatus:
  8280. description: 处理状态
  8281. type: integer
  8282. marketid:
  8283. description: 市场ID
  8284. type: integer
  8285. phonenum:
  8286. description: 提货人联系方式
  8287. type: string
  8288. picurls:
  8289. description: 介绍图片[多张用逗号分隔]
  8290. type: string
  8291. qty:
  8292. description: 提货数量
  8293. type: number
  8294. recivername:
  8295. description: 提货人姓名
  8296. type: string
  8297. reqtime:
  8298. description: 更新时间
  8299. type: string
  8300. takemode:
  8301. description: 提货方式 - 2:自提 3:配送
  8302. type: integer
  8303. takeorderid:
  8304. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  8305. type: string
  8306. takeorderstatus:
  8307. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  8308. type: integer
  8309. takeremark:
  8310. description: 提货备注
  8311. type: string
  8312. tradedate:
  8313. description: 交易日(yyyyMMdd)
  8314. type: string
  8315. trademode:
  8316. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8317. 21:竞拍-大宗式 22:受托竞价
  8318. type: integer
  8319. userid:
  8320. description: 用户ID
  8321. type: integer
  8322. vendorname:
  8323. description: 供应商名称
  8324. type: string
  8325. required:
  8326. - goodscode
  8327. - goodsname
  8328. - takeorderid
  8329. - trademode
  8330. type: object
  8331. models.HsbyPreGoods:
  8332. properties:
  8333. agreeunit:
  8334. description: 合约单位
  8335. type: number
  8336. currency:
  8337. description: 货币
  8338. type: string
  8339. currencysign:
  8340. description: 货币符号
  8341. type: string
  8342. decimalplace:
  8343. description: 报价小数位
  8344. type: integer
  8345. desccityid:
  8346. description: 目的地(市)
  8347. type: integer
  8348. descprovinceid:
  8349. description: 目的地(省)
  8350. type: integer
  8351. enableqty:
  8352. description: 剩余数量
  8353. type: integer
  8354. goodscode:
  8355. description: 商品代码(内部)
  8356. type: string
  8357. goodsid:
  8358. description: 商品ID(自增ID SEQ_GOODS)
  8359. type: integer
  8360. goodsname:
  8361. description: 商品名称
  8362. type: string
  8363. goodsstatus:
  8364. description: 商品状态- 2:未上市 3:上市
  8365. type: integer
  8366. lasttradedate:
  8367. description: 最后交易日期(状态:待退市)
  8368. type: string
  8369. listingdate:
  8370. description: 交易开始日期
  8371. type: string
  8372. marketid:
  8373. description: 所属市场ID
  8374. type: integer
  8375. picurls:
  8376. description: 介绍图片[多张用逗号分隔]
  8377. type: string
  8378. presaledqty:
  8379. description: 已预售量(预售结束时更新)
  8380. type: integer
  8381. presaleqty:
  8382. description: 预售数量
  8383. type: integer
  8384. quoteminunit:
  8385. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8386. type: integer
  8387. refprice:
  8388. description: 参考价格[一口价]
  8389. type: number
  8390. relatedgoodsid:
  8391. description: 关联交易合约ID
  8392. type: integer
  8393. trademode:
  8394. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8395. 21:竞拍-大宗式 22:受托竞价
  8396. type: integer
  8397. videourls:
  8398. description: 介绍视频[多张用逗号分隔]
  8399. type: string
  8400. required:
  8401. - goodscode
  8402. - goodsid
  8403. - goodsname
  8404. - marketid
  8405. - trademode
  8406. type: object
  8407. models.HsbyPreGoodsDetail:
  8408. properties:
  8409. agreeunit:
  8410. description: 合约单位
  8411. type: number
  8412. buymaxqty:
  8413. description: 购买上限 [71] - 0为不限
  8414. type: integer
  8415. currency:
  8416. description: 货币
  8417. type: string
  8418. currencysign:
  8419. description: 货币符号
  8420. type: string
  8421. customername:
  8422. description: 发行单位
  8423. type: string
  8424. decimalplace:
  8425. description: 报价小数位
  8426. type: integer
  8427. desccityid:
  8428. description: 目的地(市)ID
  8429. type: integer
  8430. descprovinceid:
  8431. description: 目的地(省)ID
  8432. type: integer
  8433. enableqty:
  8434. description: 剩余数量
  8435. type: integer
  8436. goodscode:
  8437. description: 商品代码(内部)
  8438. type: string
  8439. goodsdesc:
  8440. description: 商品详情
  8441. type: string
  8442. goodsid:
  8443. description: 商品ID(自增ID SEQ_GOODS)
  8444. type: integer
  8445. goodsname:
  8446. description: 商品名称
  8447. type: string
  8448. goodsstatus:
  8449. description: 商品状态- 2:未上市 3:上市
  8450. type: integer
  8451. goodunit:
  8452. description: 报价单位
  8453. type: string
  8454. lasttradedate:
  8455. description: 最后交易日期(状态:待退市)
  8456. type: string
  8457. listingdate:
  8458. description: 交易开始日期
  8459. type: string
  8460. lotsize:
  8461. description: 手数最小变动单位
  8462. type: integer
  8463. marketid:
  8464. description: 所属市场ID
  8465. type: integer
  8466. picurls:
  8467. description: 介绍图片[多张用逗号分隔]
  8468. type: string
  8469. presaledqty:
  8470. description: 已预售量(预售结束时更新)
  8471. type: integer
  8472. presaleqty:
  8473. description: 预售数量
  8474. type: integer
  8475. quoteminunit:
  8476. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8477. type: integer
  8478. refprice:
  8479. description: 参考价格[一口价]
  8480. type: number
  8481. relatedgoodsid:
  8482. description: 关联交易合约ID
  8483. type: integer
  8484. stepvalue:
  8485. description: 价格最小变动单位
  8486. type: number
  8487. trademode:
  8488. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8489. 21:竞拍-大宗式 22:受托竞价
  8490. type: integer
  8491. vendorattr:
  8492. description: 供应商附件(多张,逗号分隔)
  8493. type: string
  8494. vendorname:
  8495. description: 供应商名称
  8496. type: string
  8497. vendorphone:
  8498. description: 供应商客服电话
  8499. type: string
  8500. videourls:
  8501. description: 介绍视频[多张用逗号分隔]
  8502. type: string
  8503. required:
  8504. - goodscode
  8505. - goodsid
  8506. - goodsname
  8507. - marketid
  8508. - trademode
  8509. type: object
  8510. models.HsbySellCollectionOrder:
  8511. properties:
  8512. agreeunit:
  8513. description: 合约单位
  8514. type: number
  8515. buyaccountid:
  8516. description: 买方账号ID[报价币种]
  8517. type: integer
  8518. buyorderid:
  8519. description: 买方委托单号
  8520. type: string
  8521. createtime:
  8522. description: 创建时间
  8523. type: string
  8524. currencysign:
  8525. description: 货币符号
  8526. type: string
  8527. decimalplace:
  8528. description: 报价小数位
  8529. type: integer
  8530. goodscode:
  8531. description: 商品代码(内部)
  8532. type: string
  8533. goodsid:
  8534. description: 商品ID
  8535. type: integer
  8536. goodsname:
  8537. description: 商品名称
  8538. type: string
  8539. marketid:
  8540. description: 市场ID
  8541. type: integer
  8542. offamount:
  8543. description: 优惠金额
  8544. type: number
  8545. payamount:
  8546. description: 支付金额 = TradeAmount + TradeCharge - OffAmount
  8547. type: number
  8548. payflag:
  8549. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  8550. type: integer
  8551. paylimitedtime:
  8552. description: 支付期限
  8553. type: string
  8554. paytime:
  8555. description: 付款时间
  8556. type: string
  8557. picurls:
  8558. description: 商品介绍图片[多张用逗号分隔]
  8559. type: string
  8560. sellaccountid:
  8561. description: 卖方账号ID[报价币种]
  8562. type: integer
  8563. sellorderid:
  8564. description: 卖方委托单号
  8565. type: string
  8566. tradeamount:
  8567. description: 成交金额
  8568. type: number
  8569. tradecharge:
  8570. description: 成交手续费(买方)
  8571. type: number
  8572. tradedate:
  8573. description: 交易日(yyyyMMdd)
  8574. type: string
  8575. tradeid:
  8576. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8577. type: string
  8578. trademode:
  8579. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8580. 21:竞拍-大宗式 22:受托竞价
  8581. type: integer
  8582. tradeprice:
  8583. description: 成交价格
  8584. type: number
  8585. tradeqty:
  8586. description: 成交数量
  8587. type: integer
  8588. required:
  8589. - goodscode
  8590. - goodsname
  8591. - tradeid
  8592. - trademode
  8593. type: object
  8594. models.HsbySellMyDetail:
  8595. properties:
  8596. accountid:
  8597. description: 账户ID[报价币种]
  8598. type: integer
  8599. agreeunit:
  8600. description: 合约单位
  8601. type: number
  8602. buyorsell:
  8603. description: 买卖 - 0:买 1:卖
  8604. type: integer
  8605. currencysign:
  8606. description: 货币符号
  8607. type: string
  8608. decimalplace:
  8609. description: 报价小数位
  8610. type: integer
  8611. goodscode:
  8612. description: 商品代码(内部)
  8613. type: string
  8614. goodsid:
  8615. description: 商品ID
  8616. type: integer
  8617. goodsname:
  8618. description: 商品名称
  8619. type: string
  8620. marketid:
  8621. description: 市场ID
  8622. type: integer
  8623. orderid:
  8624. description: 单号(发布中 - 委托单号;已完成 - 成交单号)
  8625. type: string
  8626. ordertype:
  8627. description: 单据类型:0 - 发布中, 1 - 已完成
  8628. type: integer
  8629. picurls:
  8630. description: 介绍图片[多张用逗号分隔]
  8631. type: string
  8632. price:
  8633. description: 价格
  8634. type: number
  8635. qty:
  8636. description: 数量
  8637. type: integer
  8638. time:
  8639. description: 时间
  8640. type: string
  8641. trademode:
  8642. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8643. 21:竞拍-大宗式 22:受托竞价
  8644. type: integer
  8645. vendorname:
  8646. description: 供应商名称
  8647. type: string
  8648. required:
  8649. - accountid
  8650. - buyorsell
  8651. - goodscode
  8652. - goodsid
  8653. - goodsname
  8654. - marketid
  8655. - orderid
  8656. - time
  8657. - trademode
  8658. type: object
  8659. models.HsbyTopGoods:
  8660. properties:
  8661. agreeunit:
  8662. description: 合约单位
  8663. type: number
  8664. currency:
  8665. description: 货币
  8666. type: string
  8667. currencysign:
  8668. description: 货币符号
  8669. type: string
  8670. decimalplace:
  8671. description: 报价小数位
  8672. type: integer
  8673. desccityid:
  8674. description: 目的地(市)
  8675. type: integer
  8676. descprovinceid:
  8677. description: 目的地(省)
  8678. type: integer
  8679. goodscode:
  8680. description: 商品代码(内部)
  8681. type: string
  8682. goodsid:
  8683. description: 商品ID(自增ID SEQ_GOODS)
  8684. type: integer
  8685. goodsname:
  8686. description: 商品名称
  8687. type: string
  8688. hotindex:
  8689. description: 景点热度
  8690. type: integer
  8691. last:
  8692. description: 现价
  8693. type: number
  8694. marketid:
  8695. description: 所属市场ID
  8696. type: integer
  8697. picurls:
  8698. description: 介绍图片[多张用逗号分隔]
  8699. type: string
  8700. quoteminunit:
  8701. description: 行情最小变动单位 [整数,报价小数位一起使用]
  8702. type: integer
  8703. trademode:
  8704. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8705. 21:竞拍-大宗式 22:受托竞价
  8706. type: integer
  8707. videourls:
  8708. description: 介绍视频[多张用逗号分隔]
  8709. type: string
  8710. required:
  8711. - goodscode
  8712. - goodsid
  8713. - goodsname
  8714. - marketid
  8715. - trademode
  8716. type: object
  8717. models.HybsMyBuyOrderDetail:
  8718. properties:
  8719. accountid:
  8720. description: 账户ID[报价币种]
  8721. type: integer
  8722. agreeunit:
  8723. description: 合约单位
  8724. type: number
  8725. buyorsell:
  8726. description: 买卖 - 0:买 1:卖
  8727. type: integer
  8728. cancelqty:
  8729. description: 撤单数量
  8730. type: integer
  8731. currencysign:
  8732. description: 货币符号
  8733. type: string
  8734. decimalplace:
  8735. description: 报价小数位
  8736. type: integer
  8737. goodscode:
  8738. description: 商品代码(内部)
  8739. type: string
  8740. goodsid:
  8741. description: 商品ID
  8742. type: integer
  8743. goodsname:
  8744. description: 商品名称
  8745. type: string
  8746. listingselecttype:
  8747. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  8748. type: integer
  8749. marketid:
  8750. description: 市场ID
  8751. type: integer
  8752. mybuystatus:
  8753. description: '"我的订单"显示状态- 1:抢购中 2:求购中 3:已完成 4:已撤消 5:委托失败'
  8754. type: integer
  8755. orderamount:
  8756. description: 委托金额
  8757. type: number
  8758. orderid:
  8759. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  8760. type: string
  8761. orderprice:
  8762. description: 委托价格
  8763. type: number
  8764. orderqty:
  8765. description: 委托数量
  8766. type: integer
  8767. orderstatus:
  8768. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  8769. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  8770. 16:成交失败违约(荷兰式竞拍专用)
  8771. type: integer
  8772. ordertime:
  8773. description: 委托时间
  8774. type: string
  8775. picurls1:
  8776. description: 预售商品介绍图片[多张用逗号分隔]
  8777. type: string
  8778. picurls2:
  8779. description: 挂牌商品介绍图片[多张用逗号分隔]
  8780. type: string
  8781. trademode:
  8782. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  8783. 21:竞拍-大宗式 22:受托竞价
  8784. type: integer
  8785. tradeqty:
  8786. description: 成交数量
  8787. type: integer
  8788. vendorname1:
  8789. description: 预售商品供应商名称
  8790. type: string
  8791. vendorname2:
  8792. description: 挂牌商品供应商名称
  8793. type: string
  8794. required:
  8795. - accountid
  8796. - buyorsell
  8797. - goodscode
  8798. - goodsid
  8799. - goodsname
  8800. - marketid
  8801. - orderid
  8802. - orderqty
  8803. - ordertime
  8804. - trademode
  8805. type: object
  8806. models.Loginaccount:
  8807. properties:
  8808. accountname:
  8809. description: 账户名称
  8810. type: string
  8811. canoutin:
  8812. description: 是否可出入金 - 0:不可 1:可
  8813. type: integer
  8814. clientroleid:
  8815. description: 终端角色ID
  8816. type: integer
  8817. haslogined:
  8818. description: 是否已登录 - 0:未登录 1:已登录
  8819. type: integer
  8820. hasupdatedpwd:
  8821. description: 是否已更改密码 - 0:未修改 1:已修改
  8822. type: integer
  8823. lastloginip:
  8824. description: 最新登录地址
  8825. type: string
  8826. lastloginmode:
  8827. description: 最新登录方式(客户端类型) - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端
  8828. 5:微信客户端 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  8829. type: integer
  8830. lastloginremark:
  8831. description: 最新登录描述
  8832. type: string
  8833. lastlogintime:
  8834. description: 最新登录时间
  8835. type: string
  8836. logincode:
  8837. description: 登录代码
  8838. type: string
  8839. loginfailnum:
  8840. description: 连续登录失败次数(登录成功时清零)
  8841. type: integer
  8842. loginid:
  8843. description: 登陆账号
  8844. type: integer
  8845. loginport:
  8846. description: 最新登录端口
  8847. type: integer
  8848. loginstatus:
  8849. description: 登录账号状态 1:正常 2:冻结(停用) 3:无效(注销)
  8850. type: integer
  8851. loginusertype:
  8852. description: 登录账号类型 - 1:投资者 2:机构交易员
  8853. type: integer
  8854. mobile:
  8855. description: 手机号码(加密存储)
  8856. type: string
  8857. modifierid:
  8858. description: 修改人
  8859. type: integer
  8860. modifysrc:
  8861. description: 审核来源 - 1:管理端 2:终端
  8862. type: integer
  8863. modifytime:
  8864. description: 修改时间
  8865. type: string
  8866. password:
  8867. description: 登陆密码
  8868. type: string
  8869. pwdwrongcount:
  8870. description: 密码错误次数
  8871. type: integer
  8872. relateduserid:
  8873. description: 关联用户ID(机构)
  8874. type: integer
  8875. taaccountrighttype:
  8876. description: 资金账号权限类型 - 1:不选默认为所有权限 2:不选默认为无权限
  8877. type: integer
  8878. unfreezetime:
  8879. description: 账户解冻时间
  8880. type: string
  8881. userid:
  8882. description: 用户ID
  8883. type: integer
  8884. required:
  8885. - loginid
  8886. type: object
  8887. models.MainAccountInfo:
  8888. properties:
  8889. accountid:
  8890. description: 账号id
  8891. type: integer
  8892. accountname:
  8893. description: 账号名称(taaccount表中的名称)
  8894. type: string
  8895. appid:
  8896. description: AppID
  8897. type: string
  8898. authcode:
  8899. description: 授权码
  8900. type: string
  8901. brokerid:
  8902. description: 经纪商id
  8903. type: string
  8904. fcid:
  8905. description: 期货公司id
  8906. type: integer
  8907. fcname:
  8908. description: 期货公司代码
  8909. type: string
  8910. hedgeaccountcode:
  8911. description: 外部账号代码(主账号登录代码)
  8912. type: string
  8913. hedgeaccountpwd:
  8914. description: 密码
  8915. type: string
  8916. ismain:
  8917. description: 是否主账号
  8918. type: integer
  8919. relateduserid:
  8920. description: 关联用户id
  8921. type: integer
  8922. userid:
  8923. description: 关联用户id
  8924. type: integer
  8925. type: object
  8926. models.Market:
  8927. properties:
  8928. auctionwrtype:
  8929. description: 竞拍仓单类型 - 1:无仓单 2:有仓单 3;有无仓单均可
  8930. type: integer
  8931. canacceptquote:
  8932. description: 确认行权是否接收行情 - 0:不接受 1:接受 [可确认权的挂牌期权市场可配置]
  8933. type: integer
  8934. cangoodsexercise:
  8935. description: '[期权]是否可现货行权- 0:否 1:是'
  8936. type: integer
  8937. cangoodsexercisetype:
  8938. description: 可现货行权期权类型 - 1:认购 2认沽 3:认购认沽 [CanGoodsExercise = 1时可设置]
  8939. type: integer
  8940. canmanualquotestrike:
  8941. description: 是否可手动报行权价- 0:否 1:是 [期权]
  8942. type: integer
  8943. canmutistage:
  8944. description: 是否可多段运行 – 0:不可 1:可 [挂牌期权]
  8945. type: integer
  8946. canpreexercise:
  8947. description: '[期权]是否可预申报- 0:否 1:是'
  8948. type: integer
  8949. clearinterval:
  8950. description: 待开市间隔(交易市场开盘前多久发市场待开市信号(单位分钟))
  8951. type: integer
  8952. contracttmp:
  8953. description: 合同模板[荷兰式][竞价式][仓单贸易]
  8954. type: string
  8955. exchareaid:
  8956. description: 所属交易所,可以没有
  8957. type: integer
  8958. goodstype:
  8959. description: 商品类型 - 1:交易商品 2:仓单商品
  8960. type: integer
  8961. hasrebate:
  8962. description: 是否返利[竞价式] 0:不返,1:返利 -- 根据系统参数088显示或隐藏
  8963. type: integer
  8964. hastradecredit:
  8965. description: 是否交易授信[做市收益权] - 0:不授信 1:授信
  8966. type: integer
  8967. haswr:
  8968. description: '[竞拍]是否需要仓单 - 0:不需要 1:需要-作废'
  8969. type: integer
  8970. isdeductmargin:
  8971. description: 竞拍违约是否扣除保证金[竞拍-降价式] - 0:不扣 1:扣除
  8972. type: integer
  8973. isrecordsource:
  8974. description: 是否记录成交源 - 0:不记录 1:记录 [所有权]
  8975. type: integer
  8976. isreleasemargin:
  8977. description: 成交参与保证金是否释放[竞价式] - 0:不释放 1释放
  8978. type: integer
  8979. marginformula:
  8980. description: 持仓保证金公式 - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  8981. type: integer
  8982. marginformula2:
  8983. description: 持仓保证金公式(仅受托竞价) - 1:双边收 2:净头寸收 3:大小边差异收 4:大边收 5:卖持仓收(仅期权)
  8984. type: integer
  8985. marketid:
  8986. description: 市场ID正常5位,前三位固定:两位表示交易模式, 一位表示交易属性(1:收益权,2:所有权) 其它特殊市场:0-系统 1-交割服务
  8987. 2-账户服务3-履约服务 4-仓单服务 5-积分服务 6-银行服务
  8988. type: integer
  8989. marketname:
  8990. description: 市场名称
  8991. type: string
  8992. marketserviceid:
  8993. description: 市场服务ID
  8994. type: integer
  8995. marketstatus:
  8996. description: '生效状态(ValidStatus枚举): 1:待生效 2:正常 3:注销'
  8997. type: integer
  8998. markettype:
  8999. description: 市场类型- 1:非交易服务 2:交易服务
  9000. type: integer
  9001. matchermode:
  9002. description: 指定对手模式[仓单贸易模式专用] - 1:任意对手
  9003. type: integer
  9004. openmethod:
  9005. description: 开盘模式 - 0 自动 1手动
  9006. type: integer
  9007. otcuserid:
  9008. description: 场外期权做市商[场外期权]
  9009. type: integer
  9010. outersynctime:
  9011. description: 外部同步时间点(h24:mi:ss)[场外期权]
  9012. type: string
  9013. pendingflag:
  9014. description: 待开市时间标识[通道交易-对冲] - 0:当日 1:上日
  9015. type: integer
  9016. pendingtime:
  9017. description: 待开市时间[通道交易-对冲](HH:mm)
  9018. type: string
  9019. performancetempid:
  9020. description: 履约计划模板ID - 作废
  9021. type: integer
  9022. premiumquotemode:
  9023. description: 权利金报价方式 - 1:自动 2:手动
  9024. type: integer
  9025. rebateratio:
  9026. description: 返利比率[竞价式]
  9027. type: number
  9028. reckonorder:
  9029. description: 结算顺序
  9030. type: integer
  9031. reckonpricealgorithm:
  9032. description: '结算价算法: 1:最后多少笔成交价加权平均 2:最后多少秒成交价加权平均 3:全天加权平均 4:最后一口价 5.买一价
  9033. 6.卖一价 7.买一卖一均价 8.外部结算价'
  9034. type: integer
  9035. reckonpriceparam:
  9036. description: 结算价参数
  9037. type: integer
  9038. reckontime:
  9039. description: 结算时间[通道交易-对冲](HH:mm)
  9040. type: string
  9041. roleprioritytype:
  9042. description: 角色优先类型 - 1:无 2:报价商优先 3:非报价商优先 [16:挂牌点选]
  9043. type: integer
  9044. selllistingauditflag:
  9045. description: 卖挂牌是否需要审核(仓单贸易) - 0:不需要 1:需要
  9046. type: integer
  9047. trademarkettype:
  9048. description: 交易市场类型 - 1:合约市场 2:外部市场 3:仓单市场
  9049. type: integer
  9050. trademode:
  9051. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  9052. 21:竞拍-大宗式 22:受托竞价
  9053. type: integer
  9054. tradeproperty:
  9055. description: 交易属性 - 1:收益权(可做空) 2:所有权(不可做空) 3:期权 4:现货 5:参考行情 6:通道交易 7:币交易
  9056. 8:场外期权
  9057. type: integer
  9058. tradetype:
  9059. description: 下单方式[通道交易] - 1:直接转单 2:净头寸下单
  9060. type: integer
  9061. required:
  9062. - marketid
  9063. - marketstatus
  9064. - openmethod
  9065. - reckonpricealgorithm
  9066. - trademode
  9067. - tradeproperty
  9068. type: object
  9069. models.Marketrun:
  9070. properties:
  9071. afternexttradedate:
  9072. description: 下下交易日
  9073. type: string
  9074. clearquoteflag:
  9075. description: 行情清盘标志- 1:未发送 2:已发送 3:已回复
  9076. type: integer
  9077. lastreckondate:
  9078. description: 最新交易日(结算成功)
  9079. type: string
  9080. machinedate:
  9081. description: 机器时间
  9082. type: string
  9083. manualflag:
  9084. description: 手动开市标志- 0:否 1:是 (市场为手动时,是否触发了手动开市标志)
  9085. type: integer
  9086. marketid:
  9087. description: 市场ID
  9088. type: integer
  9089. nexttradedate:
  9090. description: 下一交易日
  9091. type: string
  9092. pretradedate:
  9093. description: 上一交易日
  9094. type: string
  9095. reckonflag:
  9096. description: '结算标识 - 0: 停止结算 1: 正常(管理端控制此字段,交易服务根据此字段判断是否做结算)'
  9097. type: integer
  9098. runstatus:
  9099. description: 运行状态 - 0:初始化 1:待开市 2:开市 3:休市 4:手工休市 5:闭市 6:确认行权开始 7:确认行权结束 10:日终处理开始
  9100. 11:日终处理成功 12:日终处理失败 13基础服务结算开始 14基础服务结算成功 23.资金结算开始 24.资金结算成功 25.资金结算失败
  9101. 26.系统结算成功 27.系统结算失败 28.盘中处理开始 29.盘中处理成功 30.盘中处理失败 31.资金结算开始(内) 32.资金结算成功(内)
  9102. 33.资金结算失败(内) 40.签到开始 41.签到成功 42.签到部份成功 43.签到失败 44.签退开始 45.签退成功 46.签退部份成功
  9103. 47.签退失败 48.对账开始 49.对账成功 50.对账失败 51.清算开始 52.清算成功 53.清算失败 54.清算部分成功 55. 系统结算开始
  9104. 62.今日免清算
  9105. type: integer
  9106. sectionid:
  9107. description: 时间段号[多时段时用]
  9108. type: integer
  9109. tradedate:
  9110. description: 当前交易日(服务) 资金结算完成即变更,供交易服务使用
  9111. type: string
  9112. tradedate2:
  9113. description: 当前交易日(行情) 在第一个市场待开市时变更为TradeDate,供行情及终端系统使用
  9114. type: string
  9115. updatetime:
  9116. description: 更新时间
  9117. type: string
  9118. required:
  9119. - marketid
  9120. - nexttradedate
  9121. - reckonflag
  9122. - runstatus
  9123. - tradedate
  9124. - tradedate2
  9125. type: object
  9126. models.Messageboard:
  9127. properties:
  9128. contactnum:
  9129. description: 联系电话
  9130. type: string
  9131. createtime:
  9132. description: 创建时间
  9133. type: string
  9134. message:
  9135. description: 留言信息
  9136. type: string
  9137. messageboardid:
  9138. description: 留言簿ID(SEQ_MessageBoard)
  9139. type: integer
  9140. userid:
  9141. description: 用户ID
  9142. type: integer
  9143. required:
  9144. - messageboardid
  9145. type: object
  9146. models.MyCoupon:
  9147. properties:
  9148. accountid:
  9149. description: 资金账户ID
  9150. type: integer
  9151. areauserid:
  9152. description: 所属机构
  9153. type: integer
  9154. conditionvalue:
  9155. description: 条件阈值(可为0)
  9156. type: number
  9157. couponcategroy:
  9158. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单张)
  9159. type: integer
  9160. couponname:
  9161. description: 优惠券名称
  9162. type: string
  9163. coupontypeid:
  9164. description: 优惠券类型ID
  9165. type: string
  9166. couponvalue:
  9167. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9168. type: number
  9169. curfreezeqty:
  9170. description: 期末冻结数量
  9171. type: integer
  9172. curqty:
  9173. description: 期末数量
  9174. type: integer
  9175. isgeneral:
  9176. description: 是否通用券 - 0:否 1:是
  9177. type: integer
  9178. isunusable:
  9179. description: 是否不可用
  9180. type: boolean
  9181. limitedflag:
  9182. description: 是否指定商品 - 0:不限 1:限制
  9183. type: integer
  9184. limitedgoodsids:
  9185. description: 指定商品IDs[逗号分隔,前后加逗号]
  9186. type: string
  9187. orifreezeqty:
  9188. description: 期初冻结数量
  9189. type: integer
  9190. oriqty:
  9191. description: 期初数量
  9192. type: integer
  9193. reasontype:
  9194. description: 不可用原因 - 0:未确认 1:不可用于此商品 2:不可用于此卖家
  9195. type: integer
  9196. todaydecrease:
  9197. description: 今日减少
  9198. type: integer
  9199. todayincrease:
  9200. description: 今日增加
  9201. type: integer
  9202. userid:
  9203. description: 用户ID
  9204. type: integer
  9205. userscope:
  9206. description: 卖家范围(用户ID,逗号分隔,前后加逗号) [IsGeneral =0时使用]
  9207. type: string
  9208. required:
  9209. - accountid
  9210. - coupontypeid
  9211. type: object
  9212. models.MyCouponHold:
  9213. properties:
  9214. accountid:
  9215. description: 资金账户ID
  9216. type: integer
  9217. conditionvalue:
  9218. description: 条件阈值(可为0)
  9219. type: number
  9220. couponcategroy:
  9221. description: 种类 - 1:现金券 2:折扣券 3:折扣券(单个商品)
  9222. type: integer
  9223. couponholdid:
  9224. description: 优惠券持仓ID(229+Unix秒时间戳(10位)+xxxxxx)
  9225. type: string
  9226. couponname:
  9227. description: 优惠券名称
  9228. type: string
  9229. coupontypeid:
  9230. description: 优惠券类型ID - SEQ_COUPONTYPE
  9231. type: string
  9232. couponvalue:
  9233. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值]
  9234. type: number
  9235. createtime:
  9236. description: 创建时间
  9237. type: string
  9238. enddate:
  9239. description: 结束日期
  9240. type: string
  9241. giveapplyid:
  9242. description: 发放申请ID(SEQ_COUPONGIVEAPPLY)
  9243. type: integer
  9244. holdstatus:
  9245. description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期
  9246. type: integer
  9247. isgeneral:
  9248. description: 是否通用券 - 0:否 1:是
  9249. type: integer
  9250. limitedflag:
  9251. description: 是否指定商品 - 0:不限 1:限制
  9252. type: integer
  9253. limitedgoodsids:
  9254. description: 指定商品IDs[逗号分隔]
  9255. type: string
  9256. qty:
  9257. description: 数量(按1平铺)
  9258. type: integer
  9259. startdate:
  9260. description: 开始日期
  9261. type: string
  9262. userid:
  9263. description: 用户ID
  9264. type: integer
  9265. userscope:
  9266. description: 卖家范围(用户ID,逗号分隔) [IsGeneral =0时使用]
  9267. type: string
  9268. required:
  9269. - couponholdid
  9270. type: object
  9271. models.MyUsedCoupon:
  9272. properties:
  9273. accountid:
  9274. description: 资金账户ID(买方)
  9275. type: integer
  9276. conditionvalue:
  9277. description: 条件阈值(可为0)
  9278. type: number
  9279. couponcategroy:
  9280. description: 种类 - 1:现金券 2:折扣券
  9281. type: integer
  9282. couponname:
  9283. description: 优惠券名称
  9284. type: string
  9285. coupontypeid:
  9286. description: 优惠券类型ID(买方)
  9287. type: string
  9288. couponvalue:
  9289. description: 面值[1:现金券 - 抵扣值 2:折扣券-折扣值(0-100)]
  9290. type: number
  9291. createtime:
  9292. description: 创建时间
  9293. type: string
  9294. goodsid:
  9295. description: 商品ID
  9296. type: integer
  9297. handlestatus:
  9298. description: 处理状态
  9299. type: integer
  9300. marketid:
  9301. description: 市场ID
  9302. type: integer
  9303. offamount:
  9304. description: 优惠金额
  9305. type: number
  9306. orderid:
  9307. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9308. type: string
  9309. sellaccountid:
  9310. description: 资金账户ID(卖方)
  9311. type: integer
  9312. tradeamount:
  9313. description: 成交金额
  9314. type: number
  9315. tradeid:
  9316. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9317. type: string
  9318. usedqty:
  9319. description: 使用数量
  9320. type: integer
  9321. required:
  9322. - coupontypeid
  9323. - orderid
  9324. type: object
  9325. models.OperationPrimaryMenu:
  9326. properties:
  9327. Children:
  9328. description: 二级功能菜单
  9329. items:
  9330. $ref: '#/definitions/models.OperationSecondaryMenu'
  9331. type: array
  9332. Key:
  9333. description: 菜单KEY
  9334. type: string
  9335. Label:
  9336. description: 菜单标题
  9337. type: string
  9338. type: object
  9339. models.OperationSecondaryMenu:
  9340. properties:
  9341. Key:
  9342. description: 菜单KEY
  9343. type: string
  9344. Label:
  9345. description: 菜单标题
  9346. type: string
  9347. TabList:
  9348. description: 三级功能菜单
  9349. items:
  9350. $ref: '#/definitions/models.OperationTabMenu'
  9351. type: array
  9352. type: object
  9353. models.OperationTabMenu:
  9354. properties:
  9355. Key:
  9356. description: 菜单KEY
  9357. type: string
  9358. Label:
  9359. description: 菜单标题
  9360. type: string
  9361. type: object
  9362. models.PendingAuditBizModel:
  9363. properties:
  9364. accountid:
  9365. description: 现货账户
  9366. type: string
  9367. areaname:
  9368. description: 所属部门
  9369. type: string
  9370. bizid:
  9371. description: 业务ID
  9372. type: string
  9373. bizname:
  9374. description: 业务名称
  9375. type: string
  9376. status:
  9377. description: 状态,0:待审核 1:审核通过 2:审核中 3:审核失败 4已撤销 5:审核拒绝
  9378. type: integer
  9379. type:
  9380. description: 业务类型,1-期现套利,2-仓单回购,3-现货贸易
  9381. type: integer
  9382. type: object
  9383. models.QhjAccountOutInApply:
  9384. properties:
  9385. accountcode:
  9386. description: 资金账号
  9387. type: string
  9388. accountname:
  9389. description: 用户名称(名称)
  9390. type: string
  9391. accountpwd:
  9392. description: 资金密码
  9393. type: string
  9394. accountticket:
  9395. description: 最新账户服务流水号
  9396. type: string
  9397. amount:
  9398. description: 金额
  9399. type: number
  9400. applyremark:
  9401. description: 申请备注
  9402. type: string
  9403. applystatus:
  9404. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  9405. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  9406. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  9407. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  9408. type: integer
  9409. auditid:
  9410. description: 审核人
  9411. type: integer
  9412. audittime:
  9413. description: 审核时间
  9414. type: string
  9415. bank_apply_ticket:
  9416. description: 银行申请流水
  9417. type: string
  9418. bankaccountname:
  9419. description: 银行账户名
  9420. type: string
  9421. bankaccountno:
  9422. description: 银行卡号
  9423. type: string
  9424. bankid:
  9425. description: 银行编号
  9426. type: string
  9427. bankticket:
  9428. description: 银行流水
  9429. type: string
  9430. branchbankid:
  9431. description: 银行支行号
  9432. type: string
  9433. branchbankname:
  9434. description: 银行支行名称
  9435. type: string
  9436. capamountout:
  9437. description: 出金(劣后本金) - 外部子账户
  9438. type: number
  9439. certificatephotourl:
  9440. description: 凭证地址
  9441. type: string
  9442. charge:
  9443. description: 手续费
  9444. type: number
  9445. checkerrorflag:
  9446. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  9447. type: integer
  9448. currency:
  9449. description: 币种
  9450. type: string
  9451. cusbankid:
  9452. description: 托管银行编号
  9453. type: string
  9454. exchticket:
  9455. description: 银行服务流水号
  9456. type: string
  9457. executetype:
  9458. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  9459. 7:外部子账户:入金 8:外部子账户:出金'
  9460. type: integer
  9461. extendinfo:
  9462. description: 扩展信息
  9463. type: string
  9464. extoperateid:
  9465. description: 交易服务流水号
  9466. type: integer
  9467. infamount:
  9468. description: 劣后金额(自有)
  9469. type: number
  9470. logincode:
  9471. description: 登录账号(账号)
  9472. type: string
  9473. netaddr:
  9474. description: 调转网址
  9475. type: string
  9476. priamount:
  9477. description: 优先金额(授信)
  9478. type: number
  9479. reauditid:
  9480. description: 复审人
  9481. type: integer
  9482. reauditremark:
  9483. description: 复审备注
  9484. type: string
  9485. reaudittime:
  9486. description: 复审时间
  9487. type: string
  9488. relatedorderid:
  9489. description: 三方关联ID
  9490. type: string
  9491. remark:
  9492. description: 备注
  9493. type: string
  9494. remark2:
  9495. description: 备注(失败原因)
  9496. type: string
  9497. soucreamount:
  9498. description: 原始出入金金额
  9499. type: number
  9500. soucrecurrencyid:
  9501. description: 原始出入金币种
  9502. type: integer
  9503. tradedate:
  9504. description: 交易日(yyyyMMdd)
  9505. type: string
  9506. updatetime:
  9507. description: 更新时间(申请时间)
  9508. type: string
  9509. userid:
  9510. description: 用户id
  9511. type: integer
  9512. userinfotype:
  9513. description: 账户类型 1-个人 2-企业
  9514. type: integer
  9515. type: object
  9516. models.QhjAgreementChangeLog:
  9517. properties:
  9518. agreementcontent:
  9519. description: 协议内容
  9520. type: string
  9521. agreementfrequency:
  9522. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  9523. type: integer
  9524. agreementid:
  9525. description: 协议ID
  9526. type: integer
  9527. agreementname:
  9528. description: 协议名称
  9529. type: string
  9530. agreementno:
  9531. description: 协议编号
  9532. type: string
  9533. agreementtype:
  9534. description: 协议类型 - 1:注册 2:登录 3:交易
  9535. type: integer
  9536. agreementversion:
  9537. description: 协议版本号
  9538. type: integer
  9539. logid:
  9540. description: 流水ID(SEQ_QHJ_AGREEMENTCHANGELOG)
  9541. type: integer
  9542. reviserid:
  9543. description: 修改人
  9544. type: integer
  9545. revisersrc:
  9546. description: 修改来源 - 1:管理端 2:终端
  9547. type: integer
  9548. updatetime:
  9549. description: 更新时间
  9550. type: string
  9551. type: object
  9552. models.QhjAgreementConfig:
  9553. properties:
  9554. agreementcontent:
  9555. description: 协议内容
  9556. type: string
  9557. agreementfrequency:
  9558. description: 协议频率 - 1:首次 2:每次 [登录为2, 其它为1]
  9559. type: integer
  9560. agreementid:
  9561. description: 协议ID(SEQ_QHJ_AGREEMENTCONFIG)
  9562. type: integer
  9563. agreementname:
  9564. description: 协议名称
  9565. type: string
  9566. agreementno:
  9567. description: 协议编号
  9568. type: string
  9569. agreementtype:
  9570. description: 协议类型 - 1:注册 2:登录 3:交易
  9571. type: integer
  9572. agreementversion:
  9573. description: 协议版本号(从1开始每次修改加1)
  9574. type: integer
  9575. createtime:
  9576. description: 创建时间
  9577. type: string
  9578. creatorid:
  9579. description: 创建人
  9580. type: integer
  9581. creatorsrc:
  9582. description: 创建来源 - 1:管理端 2:终端
  9583. type: integer
  9584. isvalid:
  9585. description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  9586. type: integer
  9587. reviserid:
  9588. description: 修改人
  9589. type: integer
  9590. revisersrc:
  9591. description: 修改来源 - 1:管理端 2:终端
  9592. type: integer
  9593. updatetime:
  9594. description: 更新时间
  9595. type: string
  9596. type: object
  9597. models.QhjAreaFinanceConfig:
  9598. properties:
  9599. additionalratio:
  9600. description: 追加款比例
  9601. type: number
  9602. advanceratio:
  9603. description: 预付款比例
  9604. type: number
  9605. alarmratio:
  9606. description: 告警比例
  9607. type: number
  9608. consumptiondirectreward:
  9609. description: 消费直推奖励值
  9610. type: number
  9611. consumptionenabled:
  9612. description: 是否启用消费奖励 - 0:不启用 1:启用
  9613. type: integer
  9614. consumptionindirectreward:
  9615. description: 消费间推奖励值
  9616. type: number
  9617. consumptionmodel:
  9618. description: 消费奖励方式 - 1:比率 2:固定
  9619. type: integer
  9620. customerservicenum:
  9621. description: 客服电话
  9622. type: string
  9623. dayinterestrate:
  9624. description: 日利率
  9625. type: number
  9626. disableconsumptiontips:
  9627. description: 关闭消费奖励提示
  9628. type: string
  9629. modifierid:
  9630. description: 修改人ID
  9631. type: integer
  9632. modifysrc:
  9633. description: 审核来源 - 1:管理端 2:终端
  9634. type: integer
  9635. modifytime:
  9636. description: 修改时间
  9637. type: string
  9638. promotionvalue:
  9639. description: 推广奖励值(固定)
  9640. type: number
  9641. scoreconfigvalue1:
  9642. description: 提货积分配置1
  9643. type: integer
  9644. scoreconfigvalue2:
  9645. description: 提货积分配置2
  9646. type: integer
  9647. userid:
  9648. description: 机构用户ID其他做市关系,都设置为 1
  9649. type: integer
  9650. username:
  9651. description: 用户名称
  9652. type: string
  9653. type: object
  9654. models.QhjBankAccountSign:
  9655. properties:
  9656. accountcode:
  9657. description: 资金账号
  9658. type: string
  9659. accountname:
  9660. description: 资金账号对应的账号名(UserName)
  9661. type: string
  9662. accountname2:
  9663. description: 资金账号对应的账号名(UserName) - 密文
  9664. type: string
  9665. accounttype:
  9666. description: 账户类型(UserType)
  9667. type: integer
  9668. applicationtime:
  9669. description: 最后一次更新的时间
  9670. type: string
  9671. applyexchticket:
  9672. description: 申请流水
  9673. type: string
  9674. auditid:
  9675. description: 审核人
  9676. type: integer
  9677. audittime:
  9678. description: 审核时间
  9679. type: string
  9680. bankaccountname:
  9681. description: 签约银行卡账号名
  9682. type: string
  9683. bankaccountname2:
  9684. description: 签约银行卡账号名 - 密文
  9685. type: string
  9686. bankaccountno:
  9687. description: 银行卡号
  9688. type: string
  9689. bankaccountno2:
  9690. description: 银行卡号 - 密文
  9691. type: string
  9692. bankaccounttype:
  9693. description: 银行账户类型 - 1-对私; 2-对公
  9694. type: integer
  9695. bankcardtype:
  9696. description: 银行卡类型
  9697. type: integer
  9698. bankchildaccount:
  9699. description: 银行子账号(签约成功后,很多银行会返回对应的这个虚拟账号)
  9700. type: string
  9701. bankcity:
  9702. description: 开户行城市
  9703. type: string
  9704. bankid:
  9705. description: 签约银行ID
  9706. type: string
  9707. bankname:
  9708. description: 签约银行名称
  9709. type: string
  9710. bankprovince:
  9711. description: 开户行省份
  9712. type: string
  9713. branchbankid:
  9714. description: 签约银行支行号
  9715. type: string
  9716. branchbankname:
  9717. description: 签约银行支行名称
  9718. type: string
  9719. cardno:
  9720. description: 证件号码
  9721. type: string
  9722. cardno2:
  9723. description: 证件号码 - 密文
  9724. type: string
  9725. cardtype:
  9726. description: 证件类型
  9727. type: string
  9728. currency:
  9729. description: 币种
  9730. type: string
  9731. cusbankid:
  9732. description: 托管银行编号
  9733. type: string
  9734. direct:
  9735. description: 方向(可以判断那方先发起的签约)
  9736. type: integer
  9737. exchticket:
  9738. description: 最后一次签约成功的流水号
  9739. type: string
  9740. extendinfo:
  9741. description: 扩展信息(JSON字符串)
  9742. type: string
  9743. mobilephone:
  9744. description: 手机号
  9745. type: string
  9746. mobilephone2:
  9747. description: 手机号 - 密文
  9748. type: string
  9749. netaddr:
  9750. description: 调转网址
  9751. type: string
  9752. relateduserid:
  9753. description: 关联使用者userid
  9754. type: integer
  9755. signstatus:
  9756. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  9757. 10:审核拒绝 11:换签待审核
  9758. type: integer
  9759. updatetime:
  9760. description: 更新时间(签解约更新时间)
  9761. type: string
  9762. type: object
  9763. models.QhjBankInfo:
  9764. properties:
  9765. bankid:
  9766. description: 银行ID
  9767. type: string
  9768. bankname:
  9769. description: 银行名称
  9770. type: string
  9771. clearbankno:
  9772. description: 清算系统银行编号
  9773. type: string
  9774. orderindex:
  9775. description: 排序顺序
  9776. type: integer
  9777. status:
  9778. description: 状态 - 0:正常 1:注销
  9779. type: integer
  9780. type: object
  9781. models.QhjBrokerApply:
  9782. properties:
  9783. applicantid:
  9784. description: 申请人
  9785. type: integer
  9786. applysrc:
  9787. description: 申请来源 - 1:管理端 2:终端
  9788. type: integer
  9789. applystatus:
  9790. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  9791. type: integer
  9792. applytime:
  9793. description: 申请时间
  9794. type: string
  9795. auditorid:
  9796. description: 审核人
  9797. type: integer
  9798. auditremark:
  9799. description: 审核备注
  9800. type: string
  9801. auditsrc:
  9802. description: 审核来源 - 1:管理端 2:终端
  9803. type: integer
  9804. audittime:
  9805. description: 审核时间
  9806. type: string
  9807. audittradedate:
  9808. description: 审核交易日(yyyyMMdd)
  9809. type: string
  9810. brokerapplyid:
  9811. description: 申请ID(SEQ_BROKERAPPLY)
  9812. type: integer
  9813. cardbackphotourl:
  9814. description: 证件背面图片地址
  9815. type: string
  9816. cardfrontphotourl:
  9817. description: 证件正面图片地址
  9818. type: string
  9819. cardnum:
  9820. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  9821. type: string
  9822. customername:
  9823. description: 姓名
  9824. type: string
  9825. logincode:
  9826. description: 登录代码
  9827. type: string
  9828. mobile:
  9829. description: 手机号码
  9830. type: string
  9831. parentuserid:
  9832. description: 所属机构id
  9833. type: integer
  9834. parentusername:
  9835. description: 所属机构名称
  9836. type: string
  9837. refereeuserid:
  9838. description: 推荐人id(经纪人)
  9839. type: integer
  9840. refernum:
  9841. description: 推荐码
  9842. type: string
  9843. remark:
  9844. description: 备注
  9845. type: string
  9846. subarealevelpath:
  9847. description: 层级路径
  9848. type: string
  9849. tradedate:
  9850. description: 交易日(yyyyMMdd)
  9851. type: string
  9852. userid:
  9853. description: 申请人用户ID
  9854. type: integer
  9855. userinfotype:
  9856. description: 用户类型 1-个人 2-企业
  9857. type: integer
  9858. username:
  9859. description: 用户名称
  9860. type: string
  9861. type: object
  9862. models.QhjBrokerApplyEx:
  9863. properties:
  9864. applylist:
  9865. description: 经纪人申请记录(只返回最新一条)
  9866. items:
  9867. $ref: '#/definitions/models.QhjBrokerApply'
  9868. type: array
  9869. canrecommend:
  9870. description: 是否经纪人 0-不是 1-是
  9871. type: integer
  9872. refernum:
  9873. description: 推荐码
  9874. type: string
  9875. userid:
  9876. description: 用户id
  9877. type: integer
  9878. userinfotype:
  9879. description: 用户类型 1-个人 2-企业
  9880. type: integer
  9881. type: object
  9882. models.QhjBrokerRewardLog:
  9883. properties:
  9884. accountid:
  9885. description: 资金账号ID
  9886. type: integer
  9887. createtime:
  9888. description: 创建时间(时间)
  9889. type: string
  9890. handlestatus:
  9891. description: 处理状态
  9892. type: integer
  9893. logid:
  9894. description: 奖励流水ID(912+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  9895. type: string
  9896. marketid:
  9897. description: 市场ID
  9898. type: integer
  9899. mmaccountid:
  9900. description: 做市商资金账号ID
  9901. type: string
  9902. mmuserid:
  9903. description: 做市商用户ID
  9904. type: string
  9905. rewardamount:
  9906. description: 奖励金额
  9907. type: number
  9908. rewardmodel:
  9909. description: 消费奖励方式 - 1:比率 2:固定
  9910. type: integer
  9911. rewardtype:
  9912. description: 奖励类型 - 1:推广 2:消费1级 3:消费2级
  9913. type: integer
  9914. rewardvalue:
  9915. description: 配置奖励值
  9916. type: number
  9917. srcamount:
  9918. description: 成交金额 [消费奖励] (金额)
  9919. type: number
  9920. srcgoodsid:
  9921. description: 来源商品ID [消费奖励]
  9922. type: string
  9923. srctime:
  9924. description: 来源时间 (成交时间) [消费奖励]
  9925. type: string
  9926. srctradeid:
  9927. description: 来源成交单ID [消费奖励] - 排除提货成交
  9928. type: string
  9929. srcuserid:
  9930. description: 来源用户ID(推广账户)
  9931. type: string
  9932. srcusername:
  9933. description: 推广账户名称
  9934. type: string
  9935. tradedate:
  9936. description: 交易日(yyyyMMdd)
  9937. type: string
  9938. userid:
  9939. description: 经纪人用户ID
  9940. type: integer
  9941. type: object
  9942. models.QhjContract:
  9943. properties:
  9944. contractconfirmtime:
  9945. description: 合同确认时间(时间)
  9946. type: string
  9947. currisklevel:
  9948. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  9949. type: integer
  9950. decimalplace:
  9951. description: 商品报价小数位
  9952. type: integer
  9953. enumdicname:
  9954. description: 单位名称
  9955. type: string
  9956. goodscode:
  9957. description: 商品代码
  9958. type: string
  9959. goodsid:
  9960. description: 商品ID [5:融资单]
  9961. type: integer
  9962. goodsname:
  9963. description: 商品名称
  9964. type: string
  9965. goodunitid:
  9966. description: 商品单位id
  9967. type: integer
  9968. initmargin:
  9969. description: 初始保证金(首付款)
  9970. type: number
  9971. lenderamount:
  9972. description: 贷款金额(总额|订单总额)
  9973. type: number
  9974. marginratio:
  9975. description: 保证金比率(首付比例)
  9976. type: number
  9977. payamount:
  9978. description: 已付(已付货款)
  9979. type: number
  9980. reckonrecovermargin:
  9981. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  9982. type: number
  9983. recoveredmargin:
  9984. description: 已追缴保证金
  9985. type: number
  9986. remainamount:
  9987. description: 合同剩余金额(融资额)
  9988. type: number
  9989. scfcontractid:
  9990. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  9991. type: string
  9992. scfcontractstatus:
  9993. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  9994. 9:违约结束 10:已注销 11:已关闭 99:未提交
  9995. type: integer
  9996. scfcontracttype:
  9997. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  9998. type: integer
  9999. totalinterest:
  10000. description: 已计总利息(利息)
  10001. type: number
  10002. tradeprice:
  10003. description: 成交价格(成本价格)
  10004. type: number
  10005. userid:
  10006. description: 用户ID
  10007. type: integer
  10008. username:
  10009. description: 用户名称
  10010. type: string
  10011. wrqty:
  10012. description: 仓单数量(数量)
  10013. type: number
  10014. type: object
  10015. models.QhjContractLog:
  10016. properties:
  10017. amount:
  10018. description: 支付金额
  10019. type: number
  10020. amounttype:
  10021. description: 资金类型 - 1:首付款 2:尾款 3:利息 4:追加款
  10022. type: integer
  10023. logid:
  10024. description: LogID(315+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  10025. type: string
  10026. remainamount:
  10027. description: 剩余货款
  10028. type: number
  10029. scfcontractid:
  10030. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10031. type: integer
  10032. updatetime:
  10033. description: 更新时间
  10034. type: string
  10035. type: object
  10036. models.QhjCusBankSignBankEx:
  10037. properties:
  10038. banklst:
  10039. description: 银行列表
  10040. items:
  10041. $ref: '#/definitions/models.QhjBankInfo'
  10042. type: array
  10043. canallot:
  10044. description: 是否支持跨行调拨 - 0:不支持 1:支持
  10045. type: integer
  10046. canallotquery:
  10047. description: 是否支持跨行调拨查询 - 0:不支持 1:支持
  10048. type: integer
  10049. canbindcard:
  10050. description: 是否可绑卡与解卡 - 0:不可 1:可以
  10051. type: integer
  10052. caninamount:
  10053. description: 是否可入金 - 0:不可 1:可以
  10054. type: integer
  10055. caninamount2:
  10056. description: 是否可入金(网银端) - 0:不可 1:可以
  10057. type: integer
  10058. canmodifybankcard:
  10059. description: 是否可修改银行卡号 - 0:不可 1:可以
  10060. type: integer
  10061. canmodifyphone:
  10062. description: 是否可修改手机号 - 0:不可 1:可以
  10063. type: integer
  10064. canmodifysigninfo:
  10065. description: 是否可修改签约信息 - 0:不可 1:可以
  10066. type: integer
  10067. canoutamount:
  10068. description: 是否可出金 - 0:不可 1:可以
  10069. type: integer
  10070. canoutamount2:
  10071. description: 是否可出金(网银端) - 0:不可 1:可以
  10072. type: integer
  10073. canrelease:
  10074. description: 是否可解约 - 0:不可 1:可以
  10075. type: integer
  10076. canrelease2:
  10077. description: 是否可解约(网银端) - 0:不可 1:可以
  10078. type: integer
  10079. cansign:
  10080. description: 是否可签约 - 0:不可 1:可以
  10081. type: integer
  10082. cansign2:
  10083. description: 是否可签约(网银端) - 0:不可 1:可以
  10084. type: integer
  10085. currency:
  10086. description: 币种
  10087. type: string
  10088. cusbankid:
  10089. description: 托管银行编号(对应清算中心TRAN_NO)
  10090. type: string
  10091. cusbankname:
  10092. description: 银行业务名称
  10093. type: string
  10094. cusbankshortname:
  10095. description: 银行业务简称
  10096. type: string
  10097. exchbankid:
  10098. description: 交易所开户银行ID
  10099. type: string
  10100. exchpaybankaccname:
  10101. description: 交易所支出结算账户户名
  10102. type: string
  10103. exchpaybankaccno:
  10104. description: 交易所支出结算账户
  10105. type: string
  10106. isneedcheck:
  10107. description: 是否需要对账 - 0:需要 1:不需要 [不需要界面配置]
  10108. type: integer
  10109. isneedclear:
  10110. description: 是否需要清算 - 0:不需要 1:需要
  10111. type: integer
  10112. lastcheckstatus:
  10113. description: 最后对账状态 - 对账状态 - 1:未对账 2:对账成功 3:对账失败
  10114. type: integer
  10115. lastchecktime:
  10116. description: 最后对账时间
  10117. type: string
  10118. lastclearstatus:
  10119. description: 最后清算状态 - 1:未清算 2:清算成功 3:清算失败 4:清算部分成功
  10120. type: integer
  10121. lastcleartime:
  10122. description: 最后清算时间
  10123. type: string
  10124. lastsignintime:
  10125. description: 最后签到时间
  10126. type: string
  10127. lastsignouttime:
  10128. description: 最后签退时间
  10129. type: string
  10130. riskinfo:
  10131. description: 签约风险提示书
  10132. type: string
  10133. signstatus:
  10134. description: 当前签到/签退状态 - 1:签到 2:签退
  10135. type: integer
  10136. tradedate:
  10137. description: 交易日(yyyyMMdd)
  10138. type: string
  10139. updatetime:
  10140. description: 当前签到/签退更新时间
  10141. type: string
  10142. type: object
  10143. models.QhjCustomer:
  10144. properties:
  10145. address:
  10146. description: 通讯地址
  10147. type: string
  10148. attachment1:
  10149. description: 附件1
  10150. type: string
  10151. audittime:
  10152. description: 审核时间
  10153. type: string
  10154. cardbackphotourl:
  10155. description: 证件反面图片地址
  10156. type: string
  10157. cardfrontphotourl:
  10158. description: 证件正面图片地址
  10159. type: string
  10160. cardnum:
  10161. description: 证件号码
  10162. type: string
  10163. cardtype:
  10164. description: 证件类型
  10165. type: integer
  10166. cardtypename:
  10167. description: 证件类型名称
  10168. type: string
  10169. cityid:
  10170. description: 市
  10171. type: integer
  10172. cityname:
  10173. description: 城市名称
  10174. type: string
  10175. contactname:
  10176. description: 联系人
  10177. type: string
  10178. countryid:
  10179. description: 国家
  10180. type: integer
  10181. countryname:
  10182. description: 国家名称
  10183. type: string
  10184. createtime:
  10185. description: 创建时间
  10186. type: string
  10187. customername:
  10188. description: 客户名称
  10189. type: string
  10190. districtid:
  10191. description: 区域
  10192. type: integer
  10193. districtname:
  10194. description: 地区名称
  10195. type: string
  10196. email:
  10197. description: 邮件
  10198. type: string
  10199. legalpersonname:
  10200. description: 法人姓名(企业)
  10201. type: string
  10202. logincode:
  10203. description: 登录账号(代码)
  10204. type: string
  10205. memberuserid:
  10206. description: 所属机构ID(所属会员)
  10207. type: integer
  10208. memberusername:
  10209. description: 所属会员名称
  10210. type: string
  10211. mobile:
  10212. description: 手机号码
  10213. type: string
  10214. modifytime:
  10215. description: 修改时间
  10216. type: string
  10217. nickname:
  10218. description: 昵称
  10219. type: string
  10220. parentuserid:
  10221. description: 上级机构(所属机构)
  10222. type: integer
  10223. parentusername:
  10224. description: 所属机构名称
  10225. type: string
  10226. provinceid:
  10227. description: 省
  10228. type: integer
  10229. provincename:
  10230. description: 省名称
  10231. type: string
  10232. proxystatementurl:
  10233. description: 授权委托书
  10234. type: string
  10235. remark:
  10236. description: 备注
  10237. type: string
  10238. status:
  10239. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:注销
  10240. type: integer
  10241. statusdesc:
  10242. description: 账户状态中文描述
  10243. type: string
  10244. taxpayernum:
  10245. description: 纳税人识别号
  10246. type: string
  10247. telphone:
  10248. description: 联系电话
  10249. type: string
  10250. userid:
  10251. description: 用户ID
  10252. type: integer
  10253. userinfotype:
  10254. description: 客户类型 1-个人 2-企业
  10255. type: integer
  10256. username:
  10257. description: 用户名称
  10258. type: string
  10259. type: object
  10260. models.QhjCustomerSignLog:
  10261. properties:
  10262. agreementcontent:
  10263. description: 协议内容
  10264. type: string
  10265. agreementid:
  10266. description: 协议ID
  10267. type: integer
  10268. agreementname:
  10269. description: 协议名称
  10270. type: string
  10271. agreementno:
  10272. description: 协议编号
  10273. type: string
  10274. agreementtype:
  10275. description: 协议类型 - 1:注册 2:登录 3:交易
  10276. type: integer
  10277. agreementversion:
  10278. description: 协议版本号
  10279. type: integer
  10280. createtime:
  10281. description: 创建时间
  10282. type: string
  10283. goodscode:
  10284. description: 商品代码
  10285. type: string
  10286. goodsid:
  10287. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  10288. type: integer
  10289. goodsname:
  10290. description: 商品名称
  10291. type: string
  10292. logid:
  10293. description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  10294. type: integer
  10295. nodetype:
  10296. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  10297. type: integer
  10298. signadressurl:
  10299. description: 签约文件地址
  10300. type: string
  10301. signtimestamp:
  10302. description: 签约状态时间戳
  10303. type: string
  10304. userid:
  10305. description: 客户ID
  10306. type: integer
  10307. username:
  10308. description: 客户名称
  10309. type: string
  10310. type: object
  10311. models.QhjCustomerSignStatus:
  10312. properties:
  10313. createtime:
  10314. description: 创建时间
  10315. type: string
  10316. goodscode:
  10317. description: 商品代码
  10318. type: string
  10319. goodsid:
  10320. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  10321. type: integer
  10322. goodsname:
  10323. description: 商品名称
  10324. type: string
  10325. nodetype:
  10326. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  10327. type: integer
  10328. signtimestamp:
  10329. description: 签约状态时间戳
  10330. type: string
  10331. tradedate:
  10332. description: 创建交易日(yyyyMMdd)
  10333. type: string
  10334. updatetime:
  10335. description: 更新时间
  10336. type: string
  10337. userid:
  10338. description: 客户ID
  10339. type: integer
  10340. username:
  10341. description: 客户名称
  10342. type: string
  10343. type: object
  10344. models.QhjMgrAccountOutInApply:
  10345. properties:
  10346. accountcode:
  10347. description: 资金账号
  10348. type: string
  10349. accountname:
  10350. description: 用户名称(名称)
  10351. type: string
  10352. accountpwd:
  10353. description: 资金密码
  10354. type: string
  10355. accountticket:
  10356. description: 最新账户服务流水号
  10357. type: string
  10358. amount:
  10359. description: 金额
  10360. type: number
  10361. applyremark:
  10362. description: 申请备注
  10363. type: string
  10364. applystatus:
  10365. description: '申请状态 - 1:待审核 2:待复审 3:初审拒绝 4:交易冻结中 5:交易解冻中 6:交易解冻扣款中 7:交易入金中
  10366. 8:交易冻结/解冻/扣款中(银行发起出金时用) 9:银行出金中 10:银行入金中 11:成功 12:失败 13:银行审核中 14:账户服务入金失败;
  10367. 15:账户服务解冻失败; 16:账户服务解冻扣款失败; 17:账户服务出金失败 18:复审通过 19:复审拒绝 20:提交审核,账户冻结中 21:审核拒绝,账户解冻中;22:
  10368. 待审核,账户服务解冻回滚中; 23:待复审,账户服务解冻回滚中; 24: 审核通过,账户冻结金额检查中;25: 复审通过,账户冻结金额检查中;'
  10369. type: integer
  10370. auditid:
  10371. description: 审核人
  10372. type: integer
  10373. audittime:
  10374. description: 审核时间
  10375. type: string
  10376. bank_apply_ticket:
  10377. description: 银行申请流水
  10378. type: string
  10379. bankaccountname:
  10380. description: 银行账户名
  10381. type: string
  10382. bankaccountno:
  10383. description: 银行卡号
  10384. type: string
  10385. bankid:
  10386. description: 银行编号
  10387. type: string
  10388. bankname:
  10389. description: 银行名称
  10390. type: string
  10391. bankticket:
  10392. description: 银行流水
  10393. type: string
  10394. branchbankid:
  10395. description: 银行支行号
  10396. type: string
  10397. branchbankname:
  10398. description: 银行支行名称
  10399. type: string
  10400. capamountout:
  10401. description: 出金(劣后本金) - 外部子账户
  10402. type: number
  10403. certificatephotourl:
  10404. description: 凭证地址
  10405. type: string
  10406. charge:
  10407. description: 手续费
  10408. type: number
  10409. checkerrorflag:
  10410. description: 对账差错标志 - 1:为单边账;其它为正常出入金
  10411. type: integer
  10412. currency:
  10413. description: 币种
  10414. type: string
  10415. cusbankid:
  10416. description: 托管银行编号
  10417. type: string
  10418. exchticket:
  10419. description: 银行服务流水号
  10420. type: string
  10421. executetype:
  10422. description: '申请类型 - 1:出金 2:入金 3: 单边账调整:入金; 4:单边账调整:出金 5:外部母账户调整:入金 6:外部母账户调整:出金
  10423. 7:外部子账户:入金 8:外部子账户:出金'
  10424. type: integer
  10425. extendinfo:
  10426. description: 扩展信息
  10427. type: string
  10428. extoperateid:
  10429. description: 交易服务流水号
  10430. type: integer
  10431. infamount:
  10432. description: 劣后金额(自有)
  10433. type: number
  10434. logincode:
  10435. description: 登录账号(账号)
  10436. type: string
  10437. netaddr:
  10438. description: 调转网址
  10439. type: string
  10440. priamount:
  10441. description: 优先金额(授信)
  10442. type: number
  10443. reauditid:
  10444. description: 复审人
  10445. type: integer
  10446. reauditremark:
  10447. description: 复审备注
  10448. type: string
  10449. reaudittime:
  10450. description: 复审时间
  10451. type: string
  10452. relatedorderid:
  10453. description: 三方关联ID
  10454. type: string
  10455. remark:
  10456. description: 备注
  10457. type: string
  10458. remark2:
  10459. description: 备注(失败原因)
  10460. type: string
  10461. soucreamount:
  10462. description: 原始出入金金额
  10463. type: number
  10464. soucrecurrencyid:
  10465. description: 原始出入金币种
  10466. type: integer
  10467. tradedate:
  10468. description: 交易日(yyyyMMdd)
  10469. type: string
  10470. updatetime:
  10471. description: 更新时间(申请时间)
  10472. type: string
  10473. userid:
  10474. description: 用户id
  10475. type: integer
  10476. userinfotype:
  10477. description: 账户类型 1-个人 2-企业
  10478. type: integer
  10479. type: object
  10480. models.QhjMgrBrokerApply:
  10481. properties:
  10482. applicantid:
  10483. description: 申请人
  10484. type: integer
  10485. applysrc:
  10486. description: 申请来源 - 1:管理端 2:终端
  10487. type: integer
  10488. applystatus:
  10489. description: 申请状态 - 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  10490. type: integer
  10491. applytime:
  10492. description: 申请时间
  10493. type: string
  10494. auditorid:
  10495. description: 审核人
  10496. type: integer
  10497. auditremark:
  10498. description: 审核备注
  10499. type: string
  10500. auditsrc:
  10501. description: 审核来源 - 1:管理端 2:终端
  10502. type: integer
  10503. audittime:
  10504. description: 审核时间
  10505. type: string
  10506. audittradedate:
  10507. description: 审核交易日(yyyyMMdd)
  10508. type: string
  10509. brokerapplyid:
  10510. description: 申请ID(SEQ_BROKERAPPLY)
  10511. type: integer
  10512. cardbackphotourl:
  10513. description: 证件背面图片地址
  10514. type: string
  10515. cardfrontphotourl:
  10516. description: 证件正面图片地址
  10517. type: string
  10518. cardnum:
  10519. description: 证件号码(加密存储) 注:数据库没存证件类型字段,产品说类型固定为身份证
  10520. type: string
  10521. customername:
  10522. description: 姓名
  10523. type: string
  10524. filterstatus:
  10525. description: 筛选条件
  10526. type: string
  10527. logincode:
  10528. description: 登录代码
  10529. type: string
  10530. mobile:
  10531. description: 手机号码
  10532. type: string
  10533. parentuserid:
  10534. description: 所属机构id
  10535. type: integer
  10536. parentusername:
  10537. description: 所属机构名称
  10538. type: string
  10539. refereeuserid:
  10540. description: 推荐人id(经纪人)
  10541. type: integer
  10542. refernum:
  10543. description: 推荐码
  10544. type: string
  10545. remark:
  10546. description: 备注
  10547. type: string
  10548. subarealevelpath:
  10549. description: 层级路径
  10550. type: string
  10551. tradedate:
  10552. description: 交易日(yyyyMMdd)
  10553. type: string
  10554. userid:
  10555. description: 申请人用户ID
  10556. type: integer
  10557. userinfotype:
  10558. description: 用户类型 1-个人 2-企业
  10559. type: integer
  10560. username:
  10561. description: 用户名称
  10562. type: string
  10563. type: object
  10564. models.QhjMgrBrokerRewardReport:
  10565. properties:
  10566. createtime:
  10567. description: 创建时间(注册时间)
  10568. type: string
  10569. cycletime:
  10570. description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  10571. type: string
  10572. cycletype:
  10573. description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  10574. type: integer
  10575. directtotalnum:
  10576. description: 直推总人数【期末】
  10577. type: integer
  10578. indirecttotalnum:
  10579. description: 间推总人数【期末】
  10580. type: integer
  10581. mobile:
  10582. description: 电话号码
  10583. type: string
  10584. refereeuserid:
  10585. description: 推荐人id(经纪人id)
  10586. type: integer
  10587. refereeusername:
  10588. description: 推荐人名称(经纪人) 上级经纪人名称
  10589. type: string
  10590. refernum:
  10591. description: 推荐码
  10592. type: string
  10593. subarealevelpath:
  10594. description: 用户层级路径
  10595. type: string
  10596. todayrewardamount:
  10597. description: 奖励总金额【汇总】
  10598. type: number
  10599. updatetime:
  10600. description: 更新时间
  10601. type: string
  10602. userid:
  10603. description: 经纪人用户ID
  10604. type: integer
  10605. userinfotype:
  10606. description: 用户类型 1-个人 2-企业
  10607. type: integer
  10608. username:
  10609. description: 用户名称
  10610. type: string
  10611. type: object
  10612. models.QhjMgrContract:
  10613. properties:
  10614. contractconfirmtime:
  10615. description: 合同确认时间(时间)
  10616. type: string
  10617. currisklevel:
  10618. description: 风险级别 - 1:正常 2:追加货款 3:支付尾款
  10619. type: integer
  10620. decimalplace:
  10621. description: 商品报价小数位
  10622. type: integer
  10623. enumdicname:
  10624. description: 单位名称
  10625. type: string
  10626. goodscode:
  10627. description: 商品代码
  10628. type: string
  10629. goodsid:
  10630. description: 商品ID [5:融资单]
  10631. type: integer
  10632. goodsname:
  10633. description: 商品名称
  10634. type: string
  10635. goodunitid:
  10636. description: 商品单位id
  10637. type: integer
  10638. initmargin:
  10639. description: 初始保证金(首付款)
  10640. type: number
  10641. lenderamount:
  10642. description: 贷款金额(总额|订单总额)
  10643. type: number
  10644. logincode:
  10645. description: 账号(登录代码)
  10646. type: string
  10647. marginratio:
  10648. description: 保证金比率(首付比例)
  10649. type: number
  10650. mobile:
  10651. description: 电话号码(用户资料里的电话)
  10652. type: string
  10653. payamount:
  10654. description: 已付(已付货款)
  10655. type: number
  10656. reckonrecovermargin:
  10657. description: 结算应追缴保底金(结算时到过风险率时临时存储) - [仓单回购\仓单质押]
  10658. type: number
  10659. recoveredmargin:
  10660. description: 已追缴保证金
  10661. type: number
  10662. remainamount:
  10663. description: 合同剩余金额(融资额)
  10664. type: number
  10665. scfcontractid:
  10666. description: SCF合同ID(310+Unix秒时间戳(10位)+xxxxxx)
  10667. type: string
  10668. scfcontractstatus:
  10669. description: 合同状态 - 1:待确认 2:已确认 3:确认拒绝 4:已支付保证金 5:已激活 6:已违约 7:到期结束 8:延期结束
  10670. 9:违约结束 10:已注销 11:已关闭 99:未提交
  10671. type: integer
  10672. scfcontracttype:
  10673. description: 合同类型 - 1:仓单回购 2:仓单质押 3:合作套保 4:资金贷款 5:融资单
  10674. type: integer
  10675. totalinterest:
  10676. description: 已计总利息(利息)
  10677. type: number
  10678. tradedate:
  10679. description: 交易日
  10680. type: string
  10681. tradeprice:
  10682. description: 成交价格(成本价格)
  10683. type: number
  10684. userid:
  10685. description: 用户ID
  10686. type: integer
  10687. userinfotype:
  10688. description: 用户类型 1-个人 2-企业
  10689. type: integer
  10690. username:
  10691. description: 用户名称
  10692. type: string
  10693. wrqty:
  10694. description: 仓单数量(数量)
  10695. type: number
  10696. type: object
  10697. models.QhjMgrCustomer:
  10698. properties:
  10699. address:
  10700. description: 通讯地址
  10701. type: string
  10702. attachment1:
  10703. description: 附件1
  10704. type: string
  10705. audittime:
  10706. description: 审核时间
  10707. type: string
  10708. cardbackphotourl:
  10709. description: 证件反面图片地址
  10710. type: string
  10711. cardfrontphotourl:
  10712. description: 证件正面图片地址
  10713. type: string
  10714. cardnum:
  10715. description: 证件号码
  10716. type: string
  10717. cardtype:
  10718. description: 证件类型
  10719. type: integer
  10720. cardtypename:
  10721. description: 证件类型名称
  10722. type: string
  10723. cityid:
  10724. description: 市
  10725. type: integer
  10726. cityname:
  10727. description: 城市名称
  10728. type: string
  10729. contactname:
  10730. description: 联系人
  10731. type: string
  10732. countryid:
  10733. description: 国家
  10734. type: integer
  10735. countryname:
  10736. description: 国家名称
  10737. type: string
  10738. createtime:
  10739. description: 创建时间
  10740. type: string
  10741. customername:
  10742. description: 客户名称
  10743. type: string
  10744. districtid:
  10745. description: 区域
  10746. type: integer
  10747. districtname:
  10748. description: 地区名称
  10749. type: string
  10750. email:
  10751. description: 邮件
  10752. type: string
  10753. legalpersonname:
  10754. description: 法人姓名(企业)
  10755. type: string
  10756. logincode:
  10757. description: 登录账号(代码)
  10758. type: string
  10759. memberuserid:
  10760. description: 所属机构ID(所属会员)
  10761. type: integer
  10762. memberusername:
  10763. description: 所属会员名称
  10764. type: string
  10765. mobile:
  10766. description: 手机号码
  10767. type: string
  10768. modifytime:
  10769. description: 修改时间
  10770. type: string
  10771. nickname:
  10772. description: 昵称
  10773. type: string
  10774. parentuserid:
  10775. description: 上级机构(所属机构)
  10776. type: integer
  10777. parentusername:
  10778. description: 所属机构名称
  10779. type: string
  10780. provinceid:
  10781. description: 省
  10782. type: integer
  10783. provincename:
  10784. description: 省名称
  10785. type: string
  10786. proxystatementurl:
  10787. description: 授权委托书
  10788. type: string
  10789. querytype:
  10790. description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  10791. type: integer
  10792. remark:
  10793. description: 备注
  10794. type: string
  10795. status:
  10796. description: '开户状态(网上开户表wskh_userinfo) 1:未提交 2: 待初审 3:初审拒绝 4:待复审 5:复审拒绝 6:测评不通过
  10797. ; 账户状态(正式表useraccount) 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)'
  10798. type: integer
  10799. statusdesc:
  10800. description: 账户状态中文描述
  10801. type: string
  10802. taxpayernum:
  10803. description: 纳税人识别号
  10804. type: string
  10805. telphone:
  10806. description: 联系电话
  10807. type: string
  10808. userid:
  10809. description: 用户ID
  10810. type: integer
  10811. userinfotype:
  10812. description: 客户类型 1-个人 2-企业
  10813. type: integer
  10814. username:
  10815. description: 用户名称
  10816. type: string
  10817. type: object
  10818. models.QhjMgrPickGoods:
  10819. properties:
  10820. enumdicname:
  10821. description: 单位名称(提货商品)
  10822. type: string
  10823. goodsid:
  10824. description: 商品id
  10825. type: integer
  10826. imageaddress:
  10827. description: 图片
  10828. type: string
  10829. modifierid:
  10830. description: 修改人
  10831. type: integer
  10832. modifiername:
  10833. description: 修改人名称
  10834. type: string
  10835. modifysrc:
  10836. description: 修改来源 - 1:管理端 2:终端
  10837. type: integer
  10838. pickupgoodsagreeunit:
  10839. description: 合约乘数
  10840. type: number
  10841. pickupgoodsdesc:
  10842. description: 描述
  10843. type: string
  10844. pickupgoodsid:
  10845. description: 提货商品ID
  10846. type: string
  10847. pickupgoodsname:
  10848. description: 提货商品名称
  10849. type: string
  10850. pickupgoodsstatus:
  10851. description: 状态 - 1:正常 2:停用 3:注销
  10852. type: integer
  10853. pickupgoodsunitid:
  10854. description: 单位ID
  10855. type: integer
  10856. pickupratio:
  10857. description: 提货系数
  10858. type: number
  10859. preparedays:
  10860. description: 备货期(天)
  10861. type: integer
  10862. remark:
  10863. description: 备注
  10864. type: string
  10865. updatetime:
  10866. description: 更新时间
  10867. type: string
  10868. type: object
  10869. models.QhjMgrPositionRsp:
  10870. properties:
  10871. accountid:
  10872. description: 账号Id
  10873. type: integer
  10874. accountname:
  10875. description: 用户名称
  10876. type: string
  10877. agreeunit:
  10878. description: 合约乘数
  10879. type: number
  10880. averageprice:
  10881. description: 均价
  10882. type: number
  10883. avialqty:
  10884. description: 可用数量
  10885. type: number
  10886. decimalplace:
  10887. description: 报价小数位
  10888. type: integer
  10889. enumdicname:
  10890. description: 单位名称(商品)
  10891. type: string
  10892. frozenqty:
  10893. description: 冻结数量
  10894. type: number
  10895. goodscode:
  10896. description: 商品代码(内部)
  10897. type: string
  10898. goodsid:
  10899. description: 商品Id
  10900. type: integer
  10901. goodsname:
  10902. description: 商品名称
  10903. type: string
  10904. goodunitid:
  10905. description: 报价单位ID
  10906. type: integer
  10907. holderamount:
  10908. description: 金额
  10909. type: number
  10910. holderqty:
  10911. description: 持有数量
  10912. type: number
  10913. holdertype:
  10914. description: 持仓类别 - 1:单边持仓 2:双边持仓
  10915. type: integer
  10916. logincode:
  10917. description: 登录代码(账户)
  10918. type: string
  10919. marketid:
  10920. description: 市场id
  10921. type: integer
  10922. qtydecimalplace:
  10923. description: 成交量小数位
  10924. type: integer
  10925. trademode:
  10926. description: 交易模式
  10927. type: integer
  10928. userid:
  10929. description: 用户id
  10930. type: integer
  10931. userinfotype:
  10932. description: 账户类型 1-个人 2-企业
  10933. type: integer
  10934. type: object
  10935. models.QhjMgrSubArea:
  10936. properties:
  10937. accountname:
  10938. description: 账户名称(机构名称)
  10939. type: string
  10940. memberuserid:
  10941. description: 所属会员ID
  10942. type: integer
  10943. parenttopuser:
  10944. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  10945. type: string
  10946. parentuserid:
  10947. description: 所属机构ID
  10948. type: integer
  10949. rootuserid:
  10950. description: 根用户ID
  10951. type: string
  10952. subaccountlevel:
  10953. description: 子账户层数
  10954. type: integer
  10955. subarealevelpath:
  10956. description: 子机构层级路径(逗号分隔,首尾加逗号)
  10957. type: string
  10958. userid:
  10959. description: 用户ID
  10960. type: integer
  10961. usertype:
  10962. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  10963. type: integer
  10964. type: object
  10965. models.QhjMgrTradeDetailRsp:
  10966. properties:
  10967. accountid:
  10968. description: 资金账号
  10969. type: integer
  10970. accountname:
  10971. description: 用户名称
  10972. type: string
  10973. agreeunit:
  10974. description: 合约乘数
  10975. type: number
  10976. buyorsell:
  10977. description: 成交类型(方向) 0:买 1:卖
  10978. type: integer
  10979. decimalplace:
  10980. description: 报价小数位
  10981. type: integer
  10982. enumdicname:
  10983. description: 单位名称(商品)
  10984. type: string
  10985. goodscode:
  10986. description: 商品代码(内部)
  10987. type: string
  10988. goodsid:
  10989. description: 商品id
  10990. type: integer
  10991. goodsname:
  10992. description: 商品名称
  10993. type: string
  10994. goodunitid:
  10995. description: 报价单位ID
  10996. type: integer
  10997. logincode:
  10998. description: 登录代码(账户)
  10999. type: string
  11000. marketid:
  11001. description: 市场id
  11002. type: integer
  11003. orderid:
  11004. description: 关联委托单号
  11005. type: string
  11006. qtydecimalplace:
  11007. description: 成交量小数位
  11008. type: integer
  11009. tradeamount:
  11010. description: 金额
  11011. type: number
  11012. tradedate:
  11013. description: 交易日
  11014. type: string
  11015. tradeid:
  11016. description: 成交单号
  11017. type: string
  11018. trademode:
  11019. description: 交易模式
  11020. type: integer
  11021. tradeprice:
  11022. description: 价格
  11023. type: number
  11024. tradeqty:
  11025. description: 数量
  11026. type: number
  11027. tradetime:
  11028. description: 成交时间
  11029. type: string
  11030. userid:
  11031. description: 用户id
  11032. type: integer
  11033. userinfotype:
  11034. description: 账户类型 1-个人 2-企业
  11035. type: integer
  11036. type: object
  11037. models.QhjMgrTradeOrderDetailRsp:
  11038. properties:
  11039. accountid:
  11040. description: 资金账号
  11041. type: integer
  11042. accountname:
  11043. description: 用户名称
  11044. type: string
  11045. agreeunit:
  11046. description: 合约乘数
  11047. type: number
  11048. amount:
  11049. description: 金额
  11050. type: number
  11051. decimalplace:
  11052. description: 报价小数位
  11053. type: integer
  11054. enumdicname:
  11055. description: 单位名称(商品)
  11056. type: string
  11057. goodscode:
  11058. description: 商品代码(内部)
  11059. type: string
  11060. goodsid:
  11061. description: 商品id
  11062. type: integer
  11063. goodsname:
  11064. description: 商品名称
  11065. type: string
  11066. goodunitid:
  11067. description: 报价单位ID
  11068. type: integer
  11069. logincode:
  11070. description: 登录代码(账户)
  11071. type: string
  11072. marketid:
  11073. description: 市场id
  11074. type: integer
  11075. orderid:
  11076. description: 关联委托单号
  11077. type: string
  11078. orderprice:
  11079. description: 价格
  11080. type: number
  11081. orderqty:
  11082. description: 数量
  11083. type: number
  11084. orderstatus:
  11085. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  11086. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  11087. 16:成交失败违约(荷兰式竞拍专用)
  11088. type: integer
  11089. ordertime:
  11090. description: 委托时间
  11091. type: string
  11092. qtydecimalplace:
  11093. description: 成交量小数位
  11094. type: integer
  11095. tradedate:
  11096. description: 交易日
  11097. type: string
  11098. trademode:
  11099. description: 交易模式
  11100. type: integer
  11101. userid:
  11102. description: 用户id
  11103. type: integer
  11104. userinfotype:
  11105. description: 账户类型 1-个人 2-企业
  11106. type: integer
  11107. type: object
  11108. models.QhjMgrTradePayOrder:
  11109. properties:
  11110. accountname:
  11111. description: 用户名称
  11112. type: string
  11113. advanceratio:
  11114. description: 首付比率
  11115. type: number
  11116. agreeunit:
  11117. description: 合约乘数
  11118. type: number
  11119. buyaccountid:
  11120. description: 买方账号ID[报价币种]
  11121. type: integer
  11122. buyorderid:
  11123. description: 买方委托单号(关联单号)
  11124. type: string
  11125. createtime:
  11126. description: 创建时间
  11127. type: string
  11128. decimalplace:
  11129. description: 报价小数位
  11130. type: integer
  11131. enumdicname:
  11132. description: 单位名称(商品)
  11133. type: string
  11134. goodscode:
  11135. description: 商品代码(内部)
  11136. type: string
  11137. goodsid:
  11138. description: 商品ID
  11139. type: integer
  11140. goodsname:
  11141. description: 商品名称
  11142. type: string
  11143. goodunitid:
  11144. description: 报价单位ID
  11145. type: integer
  11146. logincode:
  11147. description: 登录代码(账户)
  11148. type: string
  11149. marketid:
  11150. description: 市场id
  11151. type: integer
  11152. offamount:
  11153. description: 优惠金额
  11154. type: number
  11155. operatetype:
  11156. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11157. type: integer
  11158. payamount:
  11159. description: 支付金额(金额)
  11160. type: number
  11161. payflag:
  11162. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11163. type: integer
  11164. paylimitedtime:
  11165. description: 支付期限
  11166. type: string
  11167. paytime:
  11168. description: 付款时间
  11169. type: string
  11170. qtydecimalplace:
  11171. description: 成交量小数位
  11172. type: integer
  11173. sellaccountid:
  11174. description: 卖方账号ID[报价币种]
  11175. type: integer
  11176. sellorderid:
  11177. description: 卖方委托单号
  11178. type: string
  11179. tradeamount:
  11180. description: 成交金额(优惠后金额)
  11181. type: number
  11182. tradecharge:
  11183. description: 成交手续费(买方)
  11184. type: number
  11185. tradedate:
  11186. description: 交易日(yyyyMMdd)
  11187. type: string
  11188. tradeid:
  11189. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11190. type: string
  11191. trademode:
  11192. description: 交易模式
  11193. type: integer
  11194. tradeprice:
  11195. description: 成交价格(价格)
  11196. type: number
  11197. tradeqty:
  11198. description: 成交数量(数量)
  11199. type: number
  11200. tradetime:
  11201. description: 成交时间
  11202. type: string
  11203. userid:
  11204. description: 用户id
  11205. type: integer
  11206. userinfotype:
  11207. description: 账户类型 1-个人 2-企业
  11208. type: integer
  11209. type: object
  11210. models.QhjMyTeamEx:
  11211. properties:
  11212. accountname:
  11213. description: 用户名称
  11214. type: string
  11215. accountstatus:
  11216. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  11217. type: integer
  11218. createtime:
  11219. description: 创建时间
  11220. type: string
  11221. mobile:
  11222. description: 手机号码
  11223. type: string
  11224. refereeuserid:
  11225. description: 推荐人id
  11226. type: integer
  11227. refernum:
  11228. description: 推荐码
  11229. type: string
  11230. subList:
  11231. items:
  11232. $ref: '#/definitions/models.QhjMyTeamEx'
  11233. type: array
  11234. userid:
  11235. description: 用户id
  11236. type: integer
  11237. userinfotype:
  11238. description: 用户类型 1-个人 2-企业
  11239. type: integer
  11240. type: object
  11241. models.QhjNodeAgreementConfig:
  11242. properties:
  11243. agreementcontent:
  11244. description: 协议内容
  11245. type: string
  11246. agreementid:
  11247. description: 协议ID
  11248. type: integer
  11249. agreementname:
  11250. description: 协议名称
  11251. type: string
  11252. agreementno:
  11253. description: 协议编号
  11254. type: string
  11255. agreementtype:
  11256. description: 协议类型 - 1:注册 2:登录 3:交易
  11257. type: integer
  11258. agreementversion:
  11259. description: 协议版本号
  11260. type: integer
  11261. configid:
  11262. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  11263. type: integer
  11264. createtime:
  11265. description: 创建时间
  11266. type: string
  11267. goodsid:
  11268. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  11269. type: integer
  11270. nodetype:
  11271. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  11272. type: integer
  11273. type: object
  11274. models.QhjParentAreaList:
  11275. properties:
  11276. accountname:
  11277. description: 账户名称(机构名称)
  11278. type: string
  11279. userid:
  11280. description: 用户ID
  11281. type: integer
  11282. usertype:
  11283. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  11284. type: integer
  11285. type: object
  11286. models.QhjPayOrder:
  11287. properties:
  11288. advanceratio:
  11289. description: 首付比率
  11290. type: number
  11291. buyaccountid:
  11292. description: 买方账号ID[报价币种]
  11293. type: integer
  11294. buyorderid:
  11295. description: 买方委托单号
  11296. type: string
  11297. createtime:
  11298. description: 创建时间
  11299. type: string
  11300. decimalplace:
  11301. description: 商品报价小数位
  11302. type: integer
  11303. enumdicname:
  11304. description: 单位名称
  11305. type: string
  11306. goodscode:
  11307. description: 商品代码
  11308. type: string
  11309. goodsid:
  11310. description: 商品ID
  11311. type: integer
  11312. goodsname:
  11313. description: 商品名称
  11314. type: string
  11315. goodunitid:
  11316. description: 商品单位id
  11317. type: integer
  11318. marketid:
  11319. description: 市场ID
  11320. type: integer
  11321. offamount:
  11322. description: 优惠金额
  11323. type: number
  11324. operatetype:
  11325. description: 买委托操作类型 - 1:正常下单 16:融资买入
  11326. type: integer
  11327. payamount:
  11328. description: 支付金额
  11329. type: number
  11330. payflag:
  11331. description: 付款标识 - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  11332. type: integer
  11333. paylimitedtime:
  11334. description: 支付期限
  11335. type: string
  11336. paytime:
  11337. description: 付款时间
  11338. type: string
  11339. qtydecimalplace:
  11340. description: 成交量小数位
  11341. type: integer
  11342. sellaccountid:
  11343. description: 卖方账号ID[报价币种]
  11344. type: integer
  11345. sellorderid:
  11346. description: 卖方委托单号
  11347. type: string
  11348. tradeamount:
  11349. description: 成交金额(优惠后金额)
  11350. type: number
  11351. tradecharge:
  11352. description: 成交手续费(买方)
  11353. type: number
  11354. tradedate:
  11355. description: 交易日(yyyyMMdd)
  11356. type: string
  11357. tradeid:
  11358. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11359. type: string
  11360. tradeprice:
  11361. description: 成交价格
  11362. type: number
  11363. tradeqty:
  11364. description: 成交数量
  11365. type: number
  11366. type: object
  11367. models.QhjPickArea:
  11368. properties:
  11369. address:
  11370. description: 详细地址
  11371. type: string
  11372. cityid:
  11373. description: 市
  11374. type: integer
  11375. cityname:
  11376. description: 城市名称
  11377. type: string
  11378. countryid:
  11379. description: 国家
  11380. type: integer
  11381. countryname:
  11382. description: 国家名称
  11383. type: string
  11384. districtid:
  11385. description: 地区
  11386. type: integer
  11387. districtname:
  11388. description: 地区名称
  11389. type: string
  11390. fromuserid:
  11391. description: 所属机构(组织机构)( OrgType = 1时为自己, = 2\3时取上级机构的所属机构)
  11392. type: integer
  11393. fromusername:
  11394. description: 所属机构名称
  11395. type: string
  11396. provinceid:
  11397. description: 省
  11398. type: integer
  11399. provincename:
  11400. description: 省名称
  11401. type: string
  11402. suborgtype:
  11403. description: 子机构类型(千海金) - 0:机构 1:代理 2:门店
  11404. type: integer
  11405. userid:
  11406. description: 机构用户ID 其他做市关系,都设置为 1
  11407. type: integer
  11408. username:
  11409. description: 机构用户名称(门店门称)
  11410. type: string
  11411. type: object
  11412. models.QhjPickGoods:
  11413. properties:
  11414. enumdicname:
  11415. description: 单位名称(提货商品)
  11416. type: string
  11417. goodsid:
  11418. description: 商品id
  11419. type: integer
  11420. imageaddress:
  11421. description: 图片
  11422. type: string
  11423. modifierid:
  11424. description: 修改人
  11425. type: integer
  11426. modifiername:
  11427. description: 修改人名称
  11428. type: string
  11429. modifysrc:
  11430. description: 修改来源 - 1:管理端 2:终端
  11431. type: integer
  11432. pickupgoodsagreeunit:
  11433. description: 合约乘数
  11434. type: number
  11435. pickupgoodsdesc:
  11436. description: 描述
  11437. type: string
  11438. pickupgoodsid:
  11439. description: 提货商品ID
  11440. type: string
  11441. pickupgoodsname:
  11442. description: 提货商品名称
  11443. type: string
  11444. pickupgoodsstatus:
  11445. description: 状态 - 1:正常 2:停用 3:注销
  11446. type: integer
  11447. pickupgoodsunitid:
  11448. description: 单位ID
  11449. type: integer
  11450. pickupratio:
  11451. description: 提货系数
  11452. type: number
  11453. preparedays:
  11454. description: 备货期(天)
  11455. type: integer
  11456. remark:
  11457. description: 备注
  11458. type: string
  11459. updatetime:
  11460. description: 更新时间
  11461. type: string
  11462. type: object
  11463. models.QhjRSTriggerLog:
  11464. properties:
  11465. accountid:
  11466. description: 用户资金账户
  11467. type: integer
  11468. accountname:
  11469. description: 账号名称(ACCOUNTID对应的名称)
  11470. type: string
  11471. currencyid:
  11472. description: 币种id
  11473. type: integer
  11474. currencyname:
  11475. description: 币种名称
  11476. type: string
  11477. decimalplace:
  11478. description: 商品报价小数位
  11479. type: integer
  11480. enumdicname:
  11481. description: 单位名称
  11482. type: string
  11483. goodscode:
  11484. description: 定投商品代码
  11485. type: string
  11486. goodsid:
  11487. description: 定投商品ID
  11488. type: integer
  11489. goodsname:
  11490. description: 定投商品名称
  11491. type: string
  11492. goodunitid:
  11493. description: 定投商品单位id
  11494. type: integer
  11495. logid:
  11496. description: LogID(SEQ_QHJ_RSTRIGGERLOG)
  11497. type: string
  11498. logincode:
  11499. description: 账号(登录代码)
  11500. type: string
  11501. qtydecimalplace:
  11502. description: 成交量小数位
  11503. type: integer
  11504. regularlycycle:
  11505. description: 定投频率 - 1:每周 2:每月
  11506. type: integer
  11507. regularlycyclevalue:
  11508. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  11509. type: string
  11510. regularlymode:
  11511. description: 定投方式 - 1:按数量 2:按金额
  11512. type: integer
  11513. regularlymodevalue:
  11514. description: 定投方式值 - 数量或金额
  11515. type: number
  11516. regularlystrategyid:
  11517. description: 定投策略ID
  11518. type: integer
  11519. retcode:
  11520. description: 错误码
  11521. type: string
  11522. tradeid:
  11523. description: 成交单ID
  11524. type: string
  11525. triggeramount:
  11526. description: 触发金额
  11527. type: number
  11528. triggerqty:
  11529. description: 触发数量
  11530. type: number
  11531. triggerstatus:
  11532. description: 触发状态 - 1:成功 2:失败
  11533. type: integer
  11534. triggertime:
  11535. description: 触发时间
  11536. type: string
  11537. triggertradedate:
  11538. description: 触发交易日
  11539. type: string
  11540. userid:
  11541. description: 所属用户ID
  11542. type: integer
  11543. userinfotype:
  11544. description: 用户类型 1-个人 2-企业
  11545. type: integer
  11546. username:
  11547. description: 用户名称(userid对应的名称)
  11548. type: string
  11549. type: object
  11550. models.QhjRStrategy:
  11551. properties:
  11552. accountid:
  11553. description: 用户资金账户
  11554. type: integer
  11555. accountname:
  11556. description: 账号名称(ACCOUNTID对应的名称)
  11557. type: string
  11558. currencyid:
  11559. description: 币种id
  11560. type: integer
  11561. currencyname:
  11562. description: 币种名称
  11563. type: string
  11564. decimalplace:
  11565. description: 商品报价小数位
  11566. type: integer
  11567. enumdicname:
  11568. description: 单位名称
  11569. type: string
  11570. goodscode:
  11571. description: 定投商品代码
  11572. type: string
  11573. goodsid:
  11574. description: 定投商品ID
  11575. type: integer
  11576. goodsname:
  11577. description: 定投商品名称
  11578. type: string
  11579. goodunitid:
  11580. description: 定投商品单位id
  11581. type: integer
  11582. lasteffecttradedate:
  11583. description: 最新生效交易日
  11584. type: string
  11585. laststoptradedate:
  11586. description: 最新暂停交易日
  11587. type: string
  11588. lasttriggertradedate:
  11589. description: 最新触发交易日
  11590. type: string
  11591. logincode:
  11592. description: 账号(登录代码)
  11593. type: string
  11594. nexttriggeramount:
  11595. description: 下次触发金额
  11596. type: number
  11597. nexttriggerdate:
  11598. description: 下次触发日期
  11599. type: string
  11600. nexttriggerqty:
  11601. description: 下次触发数量 [按小数位放大值]
  11602. type: number
  11603. qtydecimalplace:
  11604. description: 成交量小数位
  11605. type: integer
  11606. regularlycycle:
  11607. description: 定投频率 - 1:每周 2:每月
  11608. type: integer
  11609. regularlycyclevalue:
  11610. description: 定投频率值 - 每周几(0-6) 或 每月几号(<=28)
  11611. type: string
  11612. regularlymode:
  11613. description: 定投方式 - 1:按数量 2:按金额
  11614. type: integer
  11615. regularlymodevalue:
  11616. description: 定投方式值 - 数量或金额
  11617. type: number
  11618. regularlystrategyid:
  11619. description: 定投策略ID (SEQ_QHJ_REGULARLYSTRATEGY)
  11620. type: integer
  11621. regularlystrategystatus:
  11622. description: 策略状态 - 1:正常 2:暂停 3:终止
  11623. type: integer
  11624. remark:
  11625. description: 备注
  11626. type: string
  11627. triggersuccesstimes:
  11628. description: 累计定投成功次数
  11629. type: string
  11630. triggertotalamount:
  11631. description: 累计定投金额(成功)
  11632. type: number
  11633. triggertotalqty:
  11634. description: 累计定投数量(成功) [按小数位放大值]
  11635. type: number
  11636. triggertotaltimes:
  11637. description: 累计定投总次数
  11638. type: string
  11639. updatesrc:
  11640. description: 更新来源 - 1:管理端 2:终端
  11641. type: integer
  11642. updatetime:
  11643. description: 更新时间
  11644. type: string
  11645. updatorid:
  11646. description: 更新人
  11647. type: string
  11648. userid:
  11649. description: 所属用户ID
  11650. type: integer
  11651. userinfotype:
  11652. description: 用户类型 1-个人 2-企业
  11653. type: integer
  11654. username:
  11655. description: 用户名称(userid对应的名称)
  11656. type: string
  11657. type: object
  11658. models.QhjReckonPriceLog:
  11659. properties:
  11660. decimalplace:
  11661. description: 商品报价小数位
  11662. type: integer
  11663. goodscode:
  11664. description: 商品代码
  11665. type: string
  11666. goodsid:
  11667. description: 商品ID
  11668. type: integer
  11669. goodsname:
  11670. description: 商品名称
  11671. type: string
  11672. lastreckonprice:
  11673. description: 上日结算价
  11674. type: number
  11675. nextdnlimitprice:
  11676. description: 下个交易日跌停价
  11677. type: number
  11678. nexttrade:
  11679. description: 下个交易日
  11680. type: string
  11681. nextuplimitprice:
  11682. description: 下个交易日涨停价
  11683. type: number
  11684. reckonprice:
  11685. description: 今日结算价(定投价)
  11686. type: number
  11687. reckontime:
  11688. description: 结算时间
  11689. type: string
  11690. totalholderqty:
  11691. description: 总持仓数
  11692. type: integer
  11693. totalstock:
  11694. description: 总库存
  11695. type: integer
  11696. tradedate:
  11697. description: 交易日
  11698. type: string
  11699. updowncount:
  11700. description: 连续涨(跌)停天数 (涨跌停标志变为0时值归0,变成涨停或是跌停时值为1,连续涨停天数+1,连续跌停天数+1)
  11701. type: integer
  11702. updownflag:
  11703. description: 连续涨跌停标志 - 0:无涨跌停 -1:跌停 1:涨停
  11704. type: integer
  11705. updownrate:
  11706. description: 今日涨跌幅
  11707. type: number
  11708. updownrate_2d:
  11709. description: 连续两日涨跌幅
  11710. type: number
  11711. updownrate_3d:
  11712. description: 连续三日涨跌幅
  11713. type: number
  11714. type: object
  11715. models.QhjScoreLog:
  11716. properties:
  11717. accountid:
  11718. description: 账户ID
  11719. type: integer
  11720. createtime:
  11721. description: 创建时间(时间)
  11722. type: string
  11723. goodsid:
  11724. description: 商品ID
  11725. type: integer
  11726. hasuploaded:
  11727. description: 是否已同步(千海金) 0:未同步 1;已同步
  11728. type: integer
  11729. logid:
  11730. description: 流水ID(211+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  11731. type: string
  11732. marketid:
  11733. description: 市场ID
  11734. type: integer
  11735. relatedamount:
  11736. description: 关联金额
  11737. type: number
  11738. relatedorderid:
  11739. description: 关联单号(ScoreType=1为Trade_GoodsPickup)
  11740. type: string
  11741. scoreconfigvalue1:
  11742. description: 积分配置1
  11743. type: integer
  11744. scoreconfigvalue2:
  11745. description: 积分配置1
  11746. type: integer
  11747. scoretype:
  11748. description: 积分类型 - 1:提货积分
  11749. type: integer
  11750. scorevalue:
  11751. description: 积分
  11752. type: number
  11753. tradedate:
  11754. description: 交易日(yyyyMMdd)
  11755. type: string
  11756. uploadedtime:
  11757. description: 同步时间
  11758. type: string
  11759. userid:
  11760. description: 用户ID
  11761. type: integer
  11762. type: object
  11763. models.QhjSiteColumnDetail:
  11764. properties:
  11765. author:
  11766. description: 作者
  11767. type: string
  11768. brief:
  11769. description: 简介
  11770. type: string
  11771. columnid:
  11772. description: 所属栏目
  11773. type: integer
  11774. context:
  11775. description: 内容
  11776. type: string
  11777. coverimage:
  11778. description: 封面图片
  11779. type: string
  11780. creaedate:
  11781. description: 创建时间
  11782. type: string
  11783. creatorid:
  11784. description: 创建人
  11785. type: integer
  11786. hits:
  11787. description: 点击数
  11788. type: integer
  11789. id:
  11790. description: ID(SEQ_SITE_COLUMNDETAIL)
  11791. type: integer
  11792. isshow:
  11793. description: 是否展示 - 0:不展示 1:展示
  11794. type: integer
  11795. istop:
  11796. description: 是否置顶 - 0:不置 1:置顶
  11797. type: integer
  11798. modifierid:
  11799. description: 操作人
  11800. type: integer
  11801. publishdate:
  11802. description: 发布日期
  11803. type: string
  11804. status:
  11805. description: 状态 - 1:暂存 10:待审核 20:审核通过 30:审核拒绝
  11806. type: integer
  11807. title:
  11808. description: 标题
  11809. type: string
  11810. updatedate:
  11811. description: 修改时间
  11812. type: string
  11813. userid:
  11814. description: 用户ID(默认为0, 核心为为机构用户ID)
  11815. type: integer
  11816. username:
  11817. description: 用户名称
  11818. type: string
  11819. type: object
  11820. models.QhjTeamOrder:
  11821. properties:
  11822. accountid:
  11823. description: 账户ID[报价币种]
  11824. type: integer
  11825. accountname:
  11826. description: 账户名称
  11827. type: string
  11828. agreeunit:
  11829. description: 合约乘数
  11830. type: number
  11831. buyorsell:
  11832. description: 方向 - 0:买 1:卖
  11833. type: integer
  11834. decimalplace:
  11835. description: 报价小数位
  11836. type: integer
  11837. enumdicname:
  11838. description: 单位名称
  11839. type: string
  11840. goodscode:
  11841. description: 商品代码(内部)
  11842. type: string
  11843. goodsid:
  11844. description: 商品ID
  11845. type: integer
  11846. goodsname:
  11847. description: 商品名称
  11848. type: string
  11849. goodunitid:
  11850. description: 报价单位ID
  11851. type: integer
  11852. marketid:
  11853. description: 市场ID
  11854. type: integer
  11855. marketname:
  11856. description: 市场名称
  11857. type: string
  11858. qtydecimalplace:
  11859. description: 成交量小数位
  11860. type: integer
  11861. refereeuserid:
  11862. description: 推荐人ID
  11863. type: integer
  11864. tradeamount:
  11865. description: 成交金额[账户币种,用于所有权]
  11866. type: number
  11867. tradedate:
  11868. description: 交易日(yyyyMMdd)
  11869. type: string
  11870. trademode:
  11871. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  11872. 21:竞拍-大宗式 22:受托竞价
  11873. type: integer
  11874. tradeprice:
  11875. description: 成交价格
  11876. type: number
  11877. tradeqty:
  11878. description: 成交数量
  11879. type: number
  11880. tradetime:
  11881. description: 成交时间
  11882. type: string
  11883. userid:
  11884. description: 用户ID
  11885. type: integer
  11886. type: object
  11887. models.QhjTradeGoodsPickup:
  11888. properties:
  11889. accountid:
  11890. description: 账户ID
  11891. type: integer
  11892. address:
  11893. description: 提货人详细地址
  11894. type: string
  11895. amount:
  11896. description: 提货金额
  11897. type: number
  11898. artradedate:
  11899. description: 自动收货交易日(yyyyMMdd)
  11900. type: string
  11901. auditer:
  11902. description: 审核人
  11903. type: integer
  11904. auditsrc:
  11905. description: 更新来源 - 1:管理端 2:终端
  11906. type: integer
  11907. audittime:
  11908. description: 审核时间(发货时间 | 备货完成时间 都是这个字段)
  11909. type: string
  11910. audittradedate:
  11911. description: 审核交易日(yyyyMMdd)
  11912. type: string
  11913. cardnum:
  11914. description: 提货人证件号码
  11915. type: string
  11916. cardtypeid:
  11917. description: 提货人证件类型
  11918. type: integer
  11919. checkremark:
  11920. description: 审核备注
  11921. type: string
  11922. cityid:
  11923. description: 市
  11924. type: integer
  11925. cityname:
  11926. description: 城市名称
  11927. type: string
  11928. confirmtime:
  11929. description: 取货时间 或 收货时间
  11930. type: string
  11931. countryid:
  11932. description: 国家
  11933. type: integer
  11934. countryname:
  11935. description: 国家名称
  11936. type: string
  11937. decimalplace:
  11938. description: 商品报价小数位
  11939. type: integer
  11940. districtid:
  11941. description: 地区
  11942. type: integer
  11943. districtname:
  11944. description: 地区名称
  11945. type: string
  11946. enumdicname:
  11947. description: 单位名称(提货商品)
  11948. type: string
  11949. expresscompany:
  11950. description: 物流公司
  11951. type: string
  11952. expressnum:
  11953. description: 物流单号
  11954. type: string
  11955. goodsagreeunit:
  11956. description: 交易商品乘数
  11957. type: number
  11958. goodscode:
  11959. description: 商品代码
  11960. type: string
  11961. goodsid:
  11962. description: 商品ID
  11963. type: integer
  11964. goodsname:
  11965. description: 商品名称
  11966. type: string
  11967. goodsqty:
  11968. description: 交易商品手数(69模式按成交量小数位放大取整)
  11969. type: number
  11970. handlestatus:
  11971. description: 处理状态
  11972. type: integer
  11973. logincode:
  11974. description: 账号(登录代码, 有可能为空)
  11975. type: string
  11976. marketid:
  11977. description: 市场ID
  11978. type: integer
  11979. phonenum:
  11980. description: 提货人联系方式
  11981. type: string
  11982. pickupgoodsagreeunit:
  11983. description: 提货商品合约乘数
  11984. type: number
  11985. pickupgoodsid:
  11986. description: 提货商品ID
  11987. type: string
  11988. pickupgoodsname:
  11989. description: 提货商品名称
  11990. type: string
  11991. pickupgoodsqty:
  11992. description: 提货商品手数(数量)
  11993. type: number
  11994. pickupgoodsunitid:
  11995. description: 单位ID(提货商品)
  11996. type: integer
  11997. pickupratio:
  11998. description: 提货系数
  11999. type: number
  12000. preparedays:
  12001. description: 备货期(天)-提货单明细表
  12002. type: integer
  12003. provinceid:
  12004. description: 省
  12005. type: integer
  12006. provincename:
  12007. description: 省名称
  12008. type: string
  12009. qty:
  12010. description: 交易商品总手数(交易商品 - 69模式按成交量放大) - 明细表的交易商品手数汇总
  12011. type: number
  12012. qtydecimalplace:
  12013. description: 商品数量小数位
  12014. type: integer
  12015. recivername:
  12016. description: 提货人姓名
  12017. type: string
  12018. reqtime:
  12019. description: 提货申请时间
  12020. type: string
  12021. storeuserid:
  12022. description: 门店用户ID (千海金)
  12023. type: integer
  12024. storeusername:
  12025. description: 门店用户名称
  12026. type: string
  12027. takemode:
  12028. description: 提货方式 - 2:自提 3:配送(邮寄)
  12029. type: integer
  12030. takeorderid:
  12031. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  12032. type: string
  12033. takeorderstatus:
  12034. description: 提货状态 - 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  12035. 7:已拒绝 8:已撤销
  12036. type: integer
  12037. takeremark:
  12038. description: 提货备注
  12039. type: string
  12040. tradedate:
  12041. description: 交易日(yyyyMMdd)
  12042. type: string
  12043. updatetime:
  12044. description: 更新时间
  12045. type: string
  12046. userid:
  12047. description: 用户ID
  12048. type: integer
  12049. userinfotype:
  12050. description: 客户类型 1-个人 2-企业
  12051. type: integer
  12052. username:
  12053. description: 用户名称
  12054. type: string
  12055. type: object
  12056. models.QhjUserNodeCfgAndStatus:
  12057. properties:
  12058. agreementcontent:
  12059. description: 协议内容
  12060. type: string
  12061. agreementid:
  12062. description: 协议ID
  12063. type: integer
  12064. agreementname:
  12065. description: 协议名称
  12066. type: string
  12067. agreementno:
  12068. description: 协议编号
  12069. type: string
  12070. agreementtype:
  12071. description: 协议类型 - 1:注册 2:登录 3:交易
  12072. type: integer
  12073. agreementversion:
  12074. description: 协议版本号
  12075. type: integer
  12076. configid:
  12077. description: 配置(SEQ_QHJ_NODEAGREEMENTCONFIG)
  12078. type: integer
  12079. createtime:
  12080. description: 创建时间
  12081. type: string
  12082. goodsid:
  12083. description: 商品ID [默认为0, NodeType>=3 的为商品值]
  12084. type: integer
  12085. nodetype:
  12086. description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  12087. type: integer
  12088. signtimestamp:
  12089. description: 签约状态时间戳(最近一次)
  12090. type: string
  12091. tradedate:
  12092. description: 签约交易日(yyyyMMdd)
  12093. type: string
  12094. userid:
  12095. description: 客户ID
  12096. type: integer
  12097. type: object
  12098. models.Qhjgoodsex:
  12099. properties:
  12100. canfinance:
  12101. description: 是否支持融资 - 0:不支持 1:支持【69:铂金宝】
  12102. type: integer
  12103. canregularlybuy:
  12104. description: 是否支持定投 - 0:不支持 1:支持【69:铂金宝】
  12105. type: integer
  12106. defaulttradeuserid:
  12107. description: 默认交易用户ID
  12108. type: integer
  12109. deliverygoodsid:
  12110. description: 现货品种ID
  12111. type: integer
  12112. goodsid:
  12113. description: 商品ID(自增ID SEQ_GOODS)
  12114. type: integer
  12115. minamount:
  12116. description: 最小购买金额
  12117. type: number
  12118. regularlybuyminamount:
  12119. description: 定投最小金额
  12120. type: number
  12121. regularlybuyminqty:
  12122. description: 定投最小数量
  12123. type: number
  12124. spotgoodsbrandid:
  12125. description: 现货品牌ID - 存“DGFactoryItem”表"DGFactoryItemID"
  12126. type: integer
  12127. visibilityforenterprise:
  12128. description: 企业客户是否可见 - 0:不可见 1:可见
  12129. type: integer
  12130. visibilityforpersonal:
  12131. description: 个人客户是否可见 - 0:不可见 1:可见
  12132. type: integer
  12133. wrstandardid:
  12134. description: 现货商品ID
  12135. type: integer
  12136. type: object
  12137. models.QueryErrorInfosRsp:
  12138. properties:
  12139. description:
  12140. description: 异常描述
  12141. type: string
  12142. errorcode:
  12143. description: 异常代码
  12144. type: string
  12145. errorid:
  12146. description: 异常ID
  12147. type: integer
  12148. modulecode:
  12149. description: 所属模块
  12150. type: string
  12151. operatecode:
  12152. description: 所属操作
  12153. type: string
  12154. rownumber:
  12155. description: 行号
  12156. type: string
  12157. required:
  12158. - errorid
  12159. type: object
  12160. models.QueryHedgeOrderDetailRsp:
  12161. properties:
  12162. accountid:
  12163. description: 账户ID
  12164. type: integer
  12165. buyorsell:
  12166. description: 买卖 - 0:买 1:卖
  12167. type: integer
  12168. cancellogincode:
  12169. description: 撤单人
  12170. type: string
  12171. channelbuildtype:
  12172. description: 开平标志 - 0:无 1:建仓 2:平仓
  12173. type: integer
  12174. channelinnerorderstatus:
  12175. description: 委托状态 - 1:委托请求 2:冻结成功 3:委托失败 4:委托部成部失败 5:委托成功 6:全部撤销 7:部成部撤 8:部成部撤部失败
  12176. 9:全部成交
  12177. type: integer
  12178. channeloperatetype:
  12179. description: 操作类型 - 1:正常委托 2:斩仓委托 3:强平委托
  12180. type: integer
  12181. closetype:
  12182. description: 平仓方式 - 0:无 1:平今 2:平昨
  12183. type: integer
  12184. curexchangerate:
  12185. description: 当前汇率
  12186. type: number
  12187. exchangefullname:
  12188. description: 外部交易所全称
  12189. type: string
  12190. goodscode:
  12191. description: 商品代码(内部)
  12192. type: string
  12193. goodsid:
  12194. description: 商品ID
  12195. type: integer
  12196. goodsname:
  12197. description: 商品名称
  12198. type: string
  12199. marketid:
  12200. description: 市场ID
  12201. type: integer
  12202. openfreezemargin:
  12203. description: 冻结保证金(冻结交易金额)
  12204. type: number
  12205. orderid:
  12206. description: 委托单号(107+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12207. type: string
  12208. orderlogincode:
  12209. description: 委托人
  12210. type: string
  12211. orderprice:
  12212. description: 委托价格(账户)
  12213. type: number
  12214. orderqty:
  12215. description: 委托数量
  12216. type: integer
  12217. ordertime:
  12218. description: 委托时间
  12219. type: string
  12220. pricemode:
  12221. description: '取价方式 - 1:市价 2: 限价'
  12222. type: integer
  12223. tradedate:
  12224. description: 交易日(yyyyMMdd)
  12225. type: string
  12226. tradeqty:
  12227. description: 成交数量
  12228. type: integer
  12229. type: object
  12230. models.QueryHedgeTradeDetailRsp:
  12231. properties:
  12232. accountid:
  12233. description: 账号ID
  12234. type: integer
  12235. buyorsell:
  12236. description: 方向 - 0:买 1:卖
  12237. type: integer
  12238. channelbuildtype:
  12239. description: 委托单据类型 0:无 1:建仓 2:平仓
  12240. type: integer
  12241. closecharge:
  12242. description: 平仓手续费(账户)
  12243. type: number
  12244. closecharge2:
  12245. description: 平仓手续费(商品)
  12246. type: number
  12247. closepl:
  12248. description: 平仓盈亏(账户)
  12249. type: number
  12250. closepl2:
  12251. description: 平仓盈亏(商品)
  12252. type: number
  12253. closepl3:
  12254. description: 平仓盈亏(账户)(逐笔)
  12255. type: number
  12256. closepl4:
  12257. description: 平仓盈亏(商品)(逐笔)
  12258. type: number
  12259. closetype:
  12260. description: 平仓方式 - 0:无 1:平今 2:平昨
  12261. type: integer
  12262. curexchangerate:
  12263. description: 当前汇率
  12264. type: number
  12265. exchangefullname:
  12266. description: 外部交易所全称
  12267. type: string
  12268. goodscode:
  12269. description: 商品代码(内部)
  12270. type: string
  12271. goodsid:
  12272. description: 商品ID
  12273. type: integer
  12274. goodsname:
  12275. description: 商品名称
  12276. type: string
  12277. marketid:
  12278. description: 市场ID
  12279. type: integer
  12280. opencharge:
  12281. description: 建仓手续费(账户)
  12282. type: number
  12283. opencharge2:
  12284. description: 建仓手续费(商品)
  12285. type: number
  12286. orderid:
  12287. description: 委托单号
  12288. type: string
  12289. orderlogincode:
  12290. description: 委托人
  12291. type: string
  12292. tradeamount:
  12293. description: 成交金额(账户)
  12294. type: number
  12295. tradedate:
  12296. description: 交易日(yyyyMMdd)
  12297. type: string
  12298. tradeid:
  12299. description: 成交单号(108+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  12300. type: string
  12301. tradeprice:
  12302. description: 成交价格
  12303. type: number
  12304. tradeqty:
  12305. description: 成交数量
  12306. type: integer
  12307. tradetime:
  12308. description: 成交时间
  12309. type: string
  12310. tradetype:
  12311. description: 成交类别 - 1:正常委托成交 2:风控斩仓成交 3:修正持仓成交 4:管理端斩仓成交
  12312. type: integer
  12313. type: object
  12314. models.QuotePrimaryMenu:
  12315. properties:
  12316. Index:
  12317. description: 序号
  12318. type: integer
  12319. Key:
  12320. description: 键名
  12321. type: string
  12322. Name:
  12323. description: 菜单名称
  12324. type: string
  12325. SubMenus:
  12326. description: 子菜单
  12327. items:
  12328. $ref: '#/definitions/models.QuoteSecondaryMenu'
  12329. type: array
  12330. SubTitleType:
  12331. description: 子菜单标题模式:0-市场名称;1-外部交易所名称
  12332. type: integer
  12333. TradeModes:
  12334. description: 包含市场交易类型
  12335. type: string
  12336. type: object
  12337. models.QuoteSecondaryMenu:
  12338. properties:
  12339. ExExchangeCode:
  12340. description: 外部交易所代码
  12341. type: string
  12342. ExExchangeID:
  12343. description: 外部交易所ID
  12344. type: integer
  12345. GoodsGroupIDs:
  12346. description: 商品组ID列表
  12347. items:
  12348. type: integer
  12349. type: array
  12350. Index:
  12351. description: 序号
  12352. type: integer
  12353. MarketID:
  12354. description: 市场ID
  12355. type: integer
  12356. MenuTitle:
  12357. description: 菜单标题(市场名称或外部交易所名称)
  12358. type: string
  12359. TradeMode:
  12360. description: 交易模式
  12361. type: integer
  12362. type: object
  12363. models.RoleMenu:
  12364. properties:
  12365. hasright:
  12366. description: 是否有权限 0-没有权限 1-有权限
  12367. type: integer
  12368. iconame:
  12369. description: 菜单图标
  12370. type: string
  12371. menutype:
  12372. description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台)
  12373. type: integer
  12374. parentcode:
  12375. description: 上级资源代码
  12376. type: string
  12377. remark:
  12378. description: 菜单备注
  12379. type: string
  12380. resourcecode:
  12381. description: 菜单代码
  12382. type: string
  12383. resourcelevel:
  12384. description: 级别
  12385. type: integer
  12386. resourcename:
  12387. description: 菜单名称
  12388. type: string
  12389. roleid:
  12390. description: 角色id
  12391. type: integer
  12392. sort:
  12393. description: 排序
  12394. type: integer
  12395. subMenu:
  12396. description: 子级菜单(结构同上层一样, swag解析不出来)
  12397. items:
  12398. $ref: '#/definitions/models.RoleMenu'
  12399. type: array
  12400. url:
  12401. description: URL
  12402. type: string
  12403. userid:
  12404. description: 用户id
  12405. type: integer
  12406. type: object
  12407. models.SearchGoods:
  12408. properties:
  12409. goodscode:
  12410. description: 商品代码(内部)
  12411. type: string
  12412. goodsid:
  12413. description: 商品ID(自增ID SEQ_GOODS)
  12414. type: integer
  12415. goodsname:
  12416. description: 商品名称
  12417. type: string
  12418. marketid:
  12419. description: 所属市场ID
  12420. type: integer
  12421. marketname:
  12422. description: 市场名称
  12423. type: string
  12424. trademode:
  12425. description: 交易模式 - 10:做市 13:竞价 15:通道交易 16:挂牌点选 17:仓单贸易 18:期权 19:竞拍-降价式 20:竞拍-竞价式
  12426. 21:竞拍-大宗式 22:受托竞价
  12427. type: integer
  12428. required:
  12429. - goodscode
  12430. - goodsid
  12431. - goodsname
  12432. - marketid
  12433. - trademode
  12434. type: object
  12435. models.Systemparam:
  12436. properties:
  12437. loginid:
  12438. description: 更新用户账号,登录账号
  12439. type: string
  12440. modifyflag:
  12441. description: 修改标志0 不允许修改 1 允许修改
  12442. type: integer
  12443. paramcode:
  12444. description: 参数代码
  12445. type: string
  12446. paramname:
  12447. description: 参数名
  12448. type: string
  12449. paramtype:
  12450. description: 参数类型 0-通用 1-管理端 2-终端 3-后台 4-商城
  12451. type: integer
  12452. paramvalue:
  12453. description: 参数值
  12454. type: string
  12455. paramvalue2:
  12456. description: 参数值(CLOB)
  12457. type: string
  12458. regexpress:
  12459. description: 正则表达式
  12460. type: string
  12461. remark:
  12462. description: 备注
  12463. type: string
  12464. serverip:
  12465. description: 限制服务器IP,备份参数,现在界面不用显示0.0.0.0则无限制,是通用参数192.168.0.211 指定服务器的参数配置
  12466. type: string
  12467. showflag:
  12468. description: 是否显示0 不显示 1 显示
  12469. type: integer
  12470. updatetime:
  12471. description: 更新时间
  12472. type: string
  12473. userid:
  12474. description: 更新用户ID
  12475. type: integer
  12476. required:
  12477. - paramcode
  12478. type: object
  12479. models.Szdz3convertconfig:
  12480. properties:
  12481. canin:
  12482. description: 是否可转入 - 0:不可 1:可 [5:花生米转交易]
  12483. type: integer
  12484. canout:
  12485. description: 是否可转出 - 0:不可 1:可 [5:花生米转交易]
  12486. type: integer
  12487. converttype:
  12488. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  12489. 6:交易转花生米(不设置)
  12490. type: integer
  12491. createtime:
  12492. description: 创建时间
  12493. type: string
  12494. creatorid:
  12495. description: 创建人
  12496. type: integer
  12497. daymaxvalue:
  12498. description: 当日最大转入限制
  12499. type: number
  12500. freezedays:
  12501. description: 冻结天数 [5:花生米转交易]
  12502. type: integer
  12503. innergoodsid:
  12504. description: 内部商品ID[交易]
  12505. type: integer
  12506. inratio:
  12507. description: 目标值
  12508. type: integer
  12509. modifierid:
  12510. description: 修改人
  12511. type: integer
  12512. modifytime:
  12513. description: 修改时间
  12514. type: string
  12515. outergoodscode:
  12516. description: 外部商品代码[JD\PD]
  12517. type: string
  12518. outratio:
  12519. description: 源值
  12520. type: integer
  12521. pddecimalplace:
  12522. description: PD小数位
  12523. type: integer
  12524. timemaxvalue:
  12525. description: 单次最大转入限制
  12526. type: number
  12527. timeminvalue:
  12528. description: 单次最小转入限制
  12529. type: number
  12530. required:
  12531. - converttype
  12532. - innergoodsid
  12533. - outergoodscode
  12534. type: object
  12535. models.Szdz3searchwhitelist:
  12536. properties:
  12537. createtime:
  12538. description: 创建时间
  12539. type: string
  12540. creatorid:
  12541. description: 创建人
  12542. type: integer
  12543. modifierid:
  12544. description: 修改人
  12545. type: integer
  12546. modifytime:
  12547. description: 修改时间
  12548. type: string
  12549. userid:
  12550. description: 用户ID
  12551. type: integer
  12552. required:
  12553. - userid
  12554. type: object
  12555. models.Taaccount:
  12556. properties:
  12557. accountflag:
  12558. description: 账户标识 - 0\1 (默认为0, 当上级账户与本账户的关联用户均为自己时更新为1)
  12559. type: integer
  12560. accountid:
  12561. description: 资金账户ID
  12562. type: integer
  12563. accountname:
  12564. description: 账户名称
  12565. type: string
  12566. balance:
  12567. description: 期初余额
  12568. type: number
  12569. capitalbalance:
  12570. description: 本金余额[外部子账户实际出入金余额]
  12571. type: number
  12572. changeflag:
  12573. description: 变动标志(当前账户资金有任何变动更新为1系统结算时更新0;供清算时使用) 0:无变动 1:有变动
  12574. type: integer
  12575. changetime:
  12576. description: 账户状态变更时间
  12577. type: string
  12578. closepl:
  12579. description: 今日平仓盈亏
  12580. type: number
  12581. creditdecrease:
  12582. description: 今日授信减少
  12583. type: number
  12584. creditincrease:
  12585. description: 今日授信增加
  12586. type: number
  12587. curamount:
  12588. description: 总市值(从持仓中统计)
  12589. type: number
  12590. currencyid:
  12591. description: 货币ID
  12592. type: integer
  12593. currentbalance:
  12594. description: 期末余额
  12595. type: number
  12596. freezecharge:
  12597. description: 手续费冻结
  12598. type: number
  12599. freezemargin:
  12600. description: 冻结保证金
  12601. type: number
  12602. fromaccountid:
  12603. description: 所属上级账户
  12604. type: integer
  12605. inamount:
  12606. description: 今日入金金额(包括三方入金)
  12607. type: number
  12608. ismain:
  12609. description: 是否母账号 0:不是母账户 1:是母账户
  12610. type: integer
  12611. ismarketaccount:
  12612. description: 是否机构接单账号 0:不是 1:是
  12613. type: integer
  12614. isreckonaccount:
  12615. description: 是否机构分润账号 0:不是 1:是
  12616. type: integer
  12617. mortgagecredit:
  12618. description: 授信金额
  12619. type: number
  12620. orifreezecharge:
  12621. description: 期初手续费冻结
  12622. type: number
  12623. orifreezemargin:
  12624. description: 期初冻结保证金
  12625. type: number
  12626. orimortgagecredit:
  12627. description: 期初授信金额
  12628. type: number
  12629. oriothercredit:
  12630. description: 期初其它授信金额
  12631. type: number
  12632. oriotherfreezemargin:
  12633. description: 期初其他冻结保证金(出金冻结资金 交割买方冻结 申购冻结 全款买入 商城买入)
  12634. type: number
  12635. orioutamountfreeze:
  12636. description: 期初出金冻结
  12637. type: number
  12638. oriusedmargin:
  12639. description: 期初占用保证金
  12640. type: number
  12641. othercredit:
  12642. description: 其它授信金额
  12643. type: number
  12644. othercreditdecrease:
  12645. description: 今日其它授信减少
  12646. type: number
  12647. othercreditincrease:
  12648. description: 今日其它授信增加
  12649. type: number
  12650. otherfreezemargin:
  12651. description: 其他冻结保证金(交割买方冻结 申购冻结 全款买入 商城买入)
  12652. type: number
  12653. otherincome:
  12654. description: 其他收入(交割收款 申购收款 全款卖出 商城卖出 买家退货 会员手续费收入)
  12655. type: number
  12656. otherpay:
  12657. description: 其他支出(交割付款 申购付款 全款买入 商城买入 卖家退货)
  12658. type: number
  12659. outamount:
  12660. description: 今日出金金额(包括三方出金)
  12661. type: number
  12662. outamountfreeze:
  12663. description: 出金冻结
  12664. type: number
  12665. outthreshold:
  12666. description: 出金阈值
  12667. type: number
  12668. parentaccountid:
  12669. description: 所属根账号
  12670. type: integer
  12671. paycharge:
  12672. description: 今日手续费支出
  12673. type: number
  12674. relatedaccountstatus:
  12675. description: 关联用户交易权限状态 - 1:正常(可交易) 2:受限(可平仓,不可建仓) 3:冻结(不可交易)
  12676. type: integer
  12677. relateduserid:
  12678. description: 关联用户
  12679. type: integer
  12680. remainamount:
  12681. description: 融资额(从融资合同中统计)
  12682. type: number
  12683. serivcegroup:
  12684. description: 服务分组
  12685. type: integer
  12686. signstatus:
  12687. description: 签约状态 - 1:未签约 2:签约待审核 3:签约中 4:已签约 5:解约待审核 6:解约中 7:已解约 8:已解绑 9:绑卡中
  12688. type: integer
  12689. sublevelpath:
  12690. description: 账号层级路径(逗号分隔,首尾加逗号)
  12691. type: string
  12692. taaccounttype:
  12693. description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  12694. type: integer
  12695. thirdinamount:
  12696. description: 今日三方入金
  12697. type: number
  12698. thirdoutamount:
  12699. description: 今日三方出金
  12700. type: number
  12701. tradestatus:
  12702. description: 交易状态 - 1:正常 2:受限 3:冻结 4:禁止建仓(人工受限) 5:禁止交易(人工冻结) 6:待激活 7:已注销
  12703. type: integer
  12704. tradestatuschangetime:
  12705. description: 激活时间
  12706. type: string
  12707. transferamount:
  12708. description: 今日划转金额(母子账号资金划转,从划入账号为正,从账号划出为负)
  12709. type: number
  12710. usedmargin:
  12711. description: 占用保证金
  12712. type: number
  12713. userid:
  12714. description: 用户ID
  12715. type: integer
  12716. required:
  12717. - accountid
  12718. - userid
  12719. type: object
  12720. models.Tablecolumnconfig:
  12721. properties:
  12722. aligntype:
  12723. description: 对齐方式 - 1:居中对齐 2:左对齐 3:右对齐
  12724. type: integer
  12725. autoid:
  12726. description: AutoID
  12727. type: integer
  12728. columnfield:
  12729. description: 列字段
  12730. type: string
  12731. columntitle:
  12732. description: 列Title
  12733. type: string
  12734. columnwidth:
  12735. description: 列宽
  12736. type: string
  12737. formatterstring:
  12738. description: 格式化字符
  12739. type: string
  12740. formattertype:
  12741. description: 格式化类型
  12742. type: string
  12743. groupname:
  12744. description: 表头分组名称
  12745. type: string
  12746. isshow:
  12747. description: 是否显示 - 0:不显示 1:显示
  12748. type: integer
  12749. needsummary:
  12750. description: 是否需要汇总 - 0:不需要 1:需要
  12751. type: integer
  12752. orderindex:
  12753. description: 顺序
  12754. type: integer
  12755. remark:
  12756. description: 备注
  12757. type: string
  12758. summarytype:
  12759. description: 汇总类型 - 1:加总 2:最后一个
  12760. type: integer
  12761. tablekey:
  12762. description: 列表Key
  12763. type: string
  12764. required:
  12765. - autoid
  12766. type: object
  12767. models.UserCollectConfig:
  12768. properties:
  12769. accountstatus:
  12770. description: 账户状态 - 1:正常 2:停用 3:注销
  12771. type: integer
  12772. collectaccountname:
  12773. description: 收款人账户名称
  12774. type: string
  12775. collectaccountno:
  12776. description: 收款人账户
  12777. type: string
  12778. collectbankname:
  12779. description: 收款人开户行
  12780. type: string
  12781. collectbranchbankname:
  12782. description: 收款人开户支行
  12783. type: string
  12784. collectconfigid:
  12785. description: 收款账户配置ID(SEQ_USERCOLLECTCONFIG)
  12786. type: string
  12787. remark:
  12788. description: 备注
  12789. type: string
  12790. userid:
  12791. description: 收款人用户ID
  12792. type: integer
  12793. type: object
  12794. models.UserReceiveInfo:
  12795. properties:
  12796. address:
  12797. description: 提货人详细地址
  12798. type: string
  12799. autoid:
  12800. description: AutoID
  12801. type: integer
  12802. cardnum:
  12803. description: 证件号码(加密存储)
  12804. type: string
  12805. cardtypeid:
  12806. description: 证件类型
  12807. type: integer
  12808. cityid:
  12809. description: 市
  12810. type: integer
  12811. cityname:
  12812. description: 城市名称
  12813. type: string
  12814. countryid:
  12815. description: 国家
  12816. type: integer
  12817. countryname:
  12818. description: 国家名称
  12819. type: string
  12820. districtid:
  12821. description: 地区
  12822. type: integer
  12823. districtname:
  12824. description: 地区名称
  12825. type: string
  12826. hasencrypt:
  12827. description: 数据是否已加密 - 0:未加密 1:已加密
  12828. type: integer
  12829. isdefault:
  12830. description: 是否默认地址 - 0:否 1:是
  12831. type: integer
  12832. phonenum:
  12833. description: 提货人联系方式(加密存储)
  12834. type: string
  12835. provinceid:
  12836. description: 省
  12837. type: integer
  12838. provincename:
  12839. description: 省名称
  12840. type: string
  12841. receivername:
  12842. description: 提货人姓名
  12843. type: string
  12844. takeremark:
  12845. description: 提货备注
  12846. type: string
  12847. userid:
  12848. description: 用户ID
  12849. type: integer
  12850. type: object
  12851. models.Useraccount:
  12852. properties:
  12853. accountname:
  12854. description: 账户名称(机构名称)
  12855. type: string
  12856. accountstatus:
  12857. description: 账户状态 - 1:待激活 2:待审核 3:待复审 4:正常 5:审核拒绝 6:停用(注销) 7:注销(删除)
  12858. type: integer
  12859. applysrc:
  12860. description: 申请来源 - 1:管理端 2:终端
  12861. type: integer
  12862. auditremark:
  12863. description: 审核备注
  12864. type: string
  12865. auditsrc:
  12866. description: 审核来源 - 1:管理端 2:终端
  12867. type: integer
  12868. audittime:
  12869. description: 审核时间
  12870. type: string
  12871. audituserid:
  12872. description: 审核人
  12873. type: integer
  12874. broker:
  12875. description: 所属经纪人ID
  12876. type: integer
  12877. canceltime:
  12878. description: 销户时间
  12879. type: string
  12880. canceluserid:
  12881. description: 销户人
  12882. type: integer
  12883. canrecommend:
  12884. description: 是否可推荐 - 0:不可 1;可
  12885. type: integer
  12886. createtime:
  12887. description: 创建时间
  12888. type: string
  12889. creatorid:
  12890. description: 创建人
  12891. type: integer
  12892. hasauth:
  12893. description: 是否已实名认证 - 0:未认证 1:已认证 2:已提交(待审核) 3:已拒绝
  12894. type: integer
  12895. isanonymous:
  12896. description: 是否匿名下单 - 0:否 1:是
  12897. type: integer
  12898. maxinvestornum:
  12899. description: 最大用户数(经纪会员下投资者个数)
  12900. type: integer
  12901. memberuserid:
  12902. description: 所属会员ID
  12903. type: integer
  12904. modifierid:
  12905. description: 修改人
  12906. type: integer
  12907. modifyremark:
  12908. description: 变更备注
  12909. type: string
  12910. modifystatus:
  12911. description: 变更状态 1 未变更 2 变更中 3 变更待审核 4 变更待复核(投资者)
  12912. type: integer
  12913. modifytime:
  12914. description: 修改时间
  12915. type: string
  12916. parenttopuser:
  12917. description: 上级顶级机构 [092=0,1时,默认为1, 092=2时若自已为顶级,则填入自己,自己不为顶级,填入ParentUserID的"ParentTopUser"]
  12918. type: string
  12919. parentuserid:
  12920. description: 所属机构ID
  12921. type: integer
  12922. reckonaccountid:
  12923. description: 默认结算资金账号ID(机构分润使用) 作废
  12924. type: integer
  12925. refercount:
  12926. description: 推荐总人数
  12927. type: integer
  12928. refereeuserid:
  12929. description: 推荐人ID
  12930. type: integer
  12931. refernum:
  12932. description: 推荐码
  12933. type: string
  12934. rootuserid:
  12935. description: 根用户ID
  12936. type: integer
  12937. subaccountlevel:
  12938. description: 子账户层数
  12939. type: integer
  12940. subarealevelpath:
  12941. description: 子机构层级路径(逗号分隔,首尾加逗号)
  12942. type: string
  12943. userid:
  12944. description: 用户ID
  12945. type: integer
  12946. usertype:
  12947. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户 7:企业成员(云平台)
  12948. type: integer
  12949. required:
  12950. - userid
  12951. type: object
  12952. models.Userfavoritegoods:
  12953. properties:
  12954. goodsid:
  12955. description: 商品ID
  12956. type: integer
  12957. required:
  12958. - goodsid
  12959. type: object
  12960. models.Userinfo:
  12961. properties:
  12962. address:
  12963. description: 地址
  12964. type: string
  12965. attachment1:
  12966. description: 附件1
  12967. type: string
  12968. attachment2:
  12969. description: 附件2
  12970. type: string
  12971. bankaccount:
  12972. description: 银行帐号 (加密存储)
  12973. type: string
  12974. bankaccountname:
  12975. description: 收款人名称
  12976. type: string
  12977. bankcardfrontphotourl:
  12978. description: 银行卡正面照地址
  12979. type: string
  12980. bankid:
  12981. description: 银行编码
  12982. type: string
  12983. bankname:
  12984. description: 银行名称
  12985. type: string
  12986. biznature:
  12987. description: 企业性质( 企业) - 1:国有控股企业 2:集体控股企业 3:私人控股企业 4:港澳台商控股企业 5:外商控股企业 6:其它
  12988. type: integer
  12989. bizscope:
  12990. description: 企业经营范围(企业)
  12991. type: string
  12992. cardbackphotourl:
  12993. description: 证件背面图片地址
  12994. type: string
  12995. cardfrontphotourl:
  12996. description: 证件正面图片地址
  12997. type: string
  12998. cardnum:
  12999. description: 证件号码(加密存储)
  13000. type: string
  13001. cardtypeid:
  13002. description: 证件类型ID
  13003. type: integer
  13004. cityid:
  13005. description: 市
  13006. type: integer
  13007. company:
  13008. description: 公司(个人)
  13009. type: string
  13010. contactname:
  13011. description: 联系人
  13012. type: string
  13013. countryid:
  13014. description: 国家
  13015. type: integer
  13016. createtime:
  13017. description: 创建时间
  13018. type: string
  13019. creatorid:
  13020. description: 创建人
  13021. type: integer
  13022. customername:
  13023. description: 客户名称(企业名称)
  13024. type: string
  13025. districtid:
  13026. description: 地区
  13027. type: integer
  13028. email:
  13029. description: 邮件(加密存储)
  13030. type: string
  13031. fax:
  13032. description: 传真(加密存储)
  13033. type: string
  13034. halfbodyphotourl:
  13035. description: 半身照地址
  13036. type: string
  13037. hasencrypt:
  13038. description: 数据是否已加密 - 0:未加密 1:已加密
  13039. type: integer
  13040. headurl:
  13041. description: 头像地址
  13042. type: string
  13043. legalcardbackphotourl:
  13044. description: 法人身份证背面照地址
  13045. type: string
  13046. legalcardfrontphotourl:
  13047. description: 法人身份证正面照地址
  13048. type: string
  13049. legalpersonname:
  13050. description: 法人姓名(企业)
  13051. type: string
  13052. mobile:
  13053. description: 手机号码(加密存储)
  13054. type: string
  13055. mobile2:
  13056. description: 手机号码[明文-尚志]
  13057. type: string
  13058. modifierid:
  13059. description: 修改人
  13060. type: integer
  13061. modifiertime:
  13062. description: 修改时间
  13063. type: string
  13064. needinvoice:
  13065. description: 是否需要发票 - 0:不需要 1:需要
  13066. type: integer
  13067. nickname:
  13068. description: 昵称:默认为名称脱敏(张**) 或 手机号脱敏(139****9999)
  13069. type: string
  13070. openmode:
  13071. description: 开户方式 - 1:管理端开户 2:网上开户注册(会员官网) 3:微信开户 4:网页交易端注册 5:安卓手机端注册 6:苹果手机端注册
  13072. 7:PC交易端注册 8:微信快速开户 9:支付宝快速开户 10:手机号快速开户
  13073. type: integer
  13074. otherurl:
  13075. description: 其它图片地址[使用分号分隔]
  13076. type: string
  13077. postalcode:
  13078. description: 邮政编码
  13079. type: string
  13080. provinceid:
  13081. description: 省
  13082. type: integer
  13083. qq:
  13084. description: QQ(加密存储
  13085. type: string
  13086. remark:
  13087. description: 备注
  13088. type: string
  13089. sex:
  13090. description: '用户性别 0: 女 1: 男'
  13091. type: integer
  13092. signpdfurl:
  13093. description: 签约pdf文件
  13094. type: string
  13095. telphone:
  13096. description: 联系电话(加密存储)
  13097. type: string
  13098. userid:
  13099. description: 用户ID
  13100. type: integer
  13101. userinfotype:
  13102. description: 用户信息类型 - 1:个人 2:企业
  13103. type: integer
  13104. userstatus:
  13105. description: 用户状态 - 1:正常 2:注销
  13106. type: integer
  13107. usertype:
  13108. description: 账户类型 - 1:交易所 2:机构 3:会员子机构 4:经纪人 5:投资者 6:客户
  13109. type: integer
  13110. wechat:
  13111. description: 微信(加密存储)
  13112. type: string
  13113. wskhinfo:
  13114. description: 开户申请信息(JSON)
  13115. type: string
  13116. required:
  13117. - userid
  13118. type: object
  13119. models.WRSConverTDetail:
  13120. properties:
  13121. convertratio:
  13122. description: 套保系数
  13123. type: number
  13124. deliverygoodscode:
  13125. description: 现货商品代码
  13126. type: string
  13127. deliverygoodsid:
  13128. description: 现货品种ID
  13129. type: integer
  13130. deliverygoodsname:
  13131. description: 现货商品名称
  13132. type: string
  13133. enumdicname:
  13134. description: 单位名称
  13135. type: string
  13136. goodsunitid:
  13137. description: 套保品种单位id
  13138. type: integer
  13139. middlegoodscode:
  13140. description: 套保品种代码
  13141. type: string
  13142. middlegoodsid:
  13143. description: 套保品种ID
  13144. type: integer
  13145. middlegoodsname:
  13146. description: 套保品种名称
  13147. type: string
  13148. modifytime:
  13149. description: 修改时间
  13150. type: string
  13151. wrstandardid:
  13152. description: 品类ID
  13153. type: integer
  13154. type: object
  13155. models.WRStandardInfo:
  13156. properties:
  13157. areauserid:
  13158. description: 所属机构
  13159. type: integer
  13160. convertfactor:
  13161. description: 标仓系数
  13162. type: number
  13163. createtime:
  13164. description: 创建时间
  13165. type: string
  13166. creatorid:
  13167. description: 创建人
  13168. type: integer
  13169. deliverygoodsid:
  13170. description: 品种ID
  13171. type: integer
  13172. deliverygoodsname:
  13173. description: 交割商品名称
  13174. type: string
  13175. factoryitemjson:
  13176. description: '要素项定义Json[{"DGFactoryItemTypeID": ,"ItemTypeMode": ,"FactoryItemIDs":
  13177. },{.....},]DGFactoryItemTypeID - 要素项类型ID --DGFactoryItem->DGFactoryItemTypeIDItemTypeMode
  13178. - 要素项类型模式 --DGFactoryItem->ItemTypeModeFactoryItemIDs - 选择项IDs--DGFactoryItem->DGFactoryItemID,
  13179. 逗号分隔'
  13180. type: string
  13181. isvalid:
  13182. description: 是否有效 - 0:无效 1:有效
  13183. type: integer
  13184. minivalue:
  13185. description: 最小变动值
  13186. type: integer
  13187. minivaluedp:
  13188. description: 最小变动值小数位
  13189. type: integer
  13190. realminivalue:
  13191. description: 实际最小变动值
  13192. type: integer
  13193. realminivaluedp:
  13194. description: 实际最小变动值小数位
  13195. type: integer
  13196. remark:
  13197. description: 备注
  13198. type: string
  13199. unitid:
  13200. description: 单位ID
  13201. type: integer
  13202. unitname:
  13203. description: 单位
  13204. type: string
  13205. updatetime:
  13206. description: 更新时间
  13207. type: string
  13208. updatorid:
  13209. description: 更新人
  13210. type: integer
  13211. wrsstatus:
  13212. description: 状态 - 作废 - 0:未激活 1:正常
  13213. type: integer
  13214. wrstandardcode:
  13215. description: 现货品类代码
  13216. type: string
  13217. wrstandardid:
  13218. description: 现货品类ID(SEQ_WRSTANDARD)
  13219. type: integer
  13220. wrstandardname:
  13221. description: 现货品类名称
  13222. type: string
  13223. required:
  13224. - wrstandardid
  13225. type: object
  13226. models.Warehouseinfo:
  13227. properties:
  13228. address:
  13229. description: 详细地址
  13230. type: string
  13231. areauserid:
  13232. description: 所属机构
  13233. type: integer
  13234. autoid:
  13235. description: 自增ID
  13236. type: integer
  13237. cityid:
  13238. description: 市
  13239. type: integer
  13240. contactname:
  13241. description: 联系人
  13242. type: string
  13243. contactnum:
  13244. description: 联系电话
  13245. type: string
  13246. countryid:
  13247. description: 国家
  13248. type: integer
  13249. createtime:
  13250. description: 创建时间
  13251. type: string
  13252. districtid:
  13253. description: 区
  13254. type: integer
  13255. hasvideo:
  13256. description: 是否有视频 - 0:无 1:有
  13257. type: integer
  13258. provinceid:
  13259. description: 省
  13260. type: integer
  13261. remark:
  13262. description: 审核备注
  13263. type: string
  13264. videourl:
  13265. description: 视频地址
  13266. type: string
  13267. warehousecode:
  13268. description: 仓库代码
  13269. type: string
  13270. warehousename:
  13271. description: 仓库名称
  13272. type: string
  13273. warehousestatus:
  13274. description: 仓库状态 - 1:正常 2:注销 3:待审核 4:审核拒绝
  13275. type: integer
  13276. warehousetype:
  13277. description: 仓库类型 - 1 厂库 2 自有库 3 合作库
  13278. type: integer
  13279. required:
  13280. - autoid
  13281. - warehousecode
  13282. type: object
  13283. models.WrFAProductDetail:
  13284. properties:
  13285. accountid:
  13286. description: 资金账号
  13287. type: integer
  13288. areauserid:
  13289. description: 金融机构ID
  13290. type: integer
  13291. financingdays:
  13292. description: 天数(天)
  13293. type: integer
  13294. interestminlen:
  13295. description: 最小起息天数
  13296. type: integer
  13297. interestrate:
  13298. description: 利率
  13299. type: number
  13300. interestratemode:
  13301. description: 利率方式 - 1:年利率 2:日利率
  13302. type: integer
  13303. interestsettlemode:
  13304. description: 结息方式 - 1:按日结息 3:按月结息
  13305. type: integer
  13306. interestsettlevalue:
  13307. description: 结息方式值
  13308. type: integer
  13309. isautoloan:
  13310. description: 是否自动放款 0-手动 1-自动 (当为自动放款时,显示"放款快")
  13311. type: integer
  13312. marginratio:
  13313. description: 保证金比率质押率 - [仓单质押]
  13314. type: number
  13315. productdetailid:
  13316. description: 产品组合ID(SEQ_FINANCEAREAPRODUCTDETAIL)
  13317. type: integer
  13318. productid:
  13319. description: 金融产品ID
  13320. type: integer
  13321. productname:
  13322. description: 产品名称
  13323. type: string
  13324. updatetime:
  13325. description: 更新时间
  13326. type: string
  13327. username:
  13328. description: 融出方
  13329. type: string
  13330. wrfactortypeid:
  13331. description: 仓单要素ID
  13332. type: string
  13333. type: object
  13334. models.WrFactorTypeInfo:
  13335. properties:
  13336. deliverygoodscode:
  13337. description: 品种代码
  13338. type: string
  13339. deliverygoodsname:
  13340. description: 品种名称
  13341. type: string
  13342. dgfactoryitemid:
  13343. description: 选择项id
  13344. type: integer
  13345. dgfactoryitemtypeid:
  13346. description: 要素选择项ID (1-仓库 2-品牌)
  13347. type: integer
  13348. dgfactoryitemvalue:
  13349. description: 要素项值
  13350. type: string
  13351. itemtypename:
  13352. description: 要素项名称
  13353. type: string
  13354. optioncompare:
  13355. description: 选择比较串
  13356. type: string
  13357. warehouseid:
  13358. description: 仓库id
  13359. type: integer
  13360. wrfactortypeid:
  13361. description: 仓单要素ID
  13362. type: string
  13363. wrfactortypename:
  13364. description: 要素名称
  13365. type: string
  13366. wrfactortypename2:
  13367. description: 要素名称(不含仓库)
  13368. type: string
  13369. wrstandardcode:
  13370. description: 品类代码
  13371. type: string
  13372. wrstandardid:
  13373. description: 品类id
  13374. type: integer
  13375. wrstandardname:
  13376. description: 品类名称
  13377. type: string
  13378. type: object
  13379. models.WrFilterItem:
  13380. properties:
  13381. itemcode:
  13382. description: 代码
  13383. type: string
  13384. itemid:
  13385. description: 项id
  13386. type: integer
  13387. itemname:
  13388. description: 名称
  13389. type: string
  13390. itemtype:
  13391. description: 类型 1-品种 2-品类(商品) 3-仓库
  13392. type: integer
  13393. type: object
  13394. models.WrGoodsInfo:
  13395. properties:
  13396. haswr:
  13397. description: 0:仓单预售 1:仓单贸易
  13398. type: integer
  13399. lstitem:
  13400. description: 商品信息项
  13401. items:
  13402. $ref: '#/definitions/models.WrTypeItem'
  13403. type: array
  13404. lststep:
  13405. description: 履约规则
  13406. items:
  13407. $ref: '#/definitions/models.WrGoodsPerformanceStep'
  13408. type: array
  13409. marketid:
  13410. description: 市场id
  13411. type: integer
  13412. type: object
  13413. models.WrGoodsPerformanceStep:
  13414. properties:
  13415. autoid:
  13416. description: AutoID
  13417. type: integer
  13418. isauto:
  13419. description: 是否自动 - 0:不自动 1:自动
  13420. type: integer
  13421. remark:
  13422. description: 备注
  13423. type: string
  13424. stepdate:
  13425. description: 天数信息(T+N)
  13426. type: string
  13427. stepdays:
  13428. description: 距离上一步天数
  13429. type: integer
  13430. stepindex:
  13431. description: 步骤序号
  13432. type: integer
  13433. stepinfo:
  13434. description: 步骤信息(步骤名称+步骤值)
  13435. type: string
  13436. steptypeid:
  13437. description: 履约步骤类型ID - 1:买方支付 2:卖方收款 3:买方自提 4:卖方发货 5:买方确认货 6:卖方发票 7:买方确认票
  13438. 8:仓单转移 9:释放卖方冻结 10:货款溢短 11:生成合同[中江] 12:运费 90:确认支付 91. 确认放行 92买方支付(直接扣款) 用于-1模板“
  13439. type: integer
  13440. steptypename:
  13441. description: 步骤名称
  13442. type: string
  13443. stepvalue:
  13444. description: 步骤值
  13445. type: number
  13446. templateid:
  13447. description: 履约计划模板ID
  13448. type: integer
  13449. type: object
  13450. models.WrHoldLB:
  13451. properties:
  13452. accountid:
  13453. description: 持有人帐户ID
  13454. type: integer
  13455. createtime:
  13456. description: 创建时间(过户时间)
  13457. type: string
  13458. deliverygoodscode:
  13459. description: 品种代码
  13460. type: string
  13461. deliverygoodsid:
  13462. description: 品种ID
  13463. type: integer
  13464. deliverygoodsname:
  13465. description: 品种名称
  13466. type: string
  13467. enableqty:
  13468. description: 可用数量
  13469. type: number
  13470. enumdicname:
  13471. description: 单位名称
  13472. type: string
  13473. freezerqty:
  13474. description: 冻结数量
  13475. type: number
  13476. ladingbillid:
  13477. description: 提单ID(208+Unix秒时间戳(10位)+xxxxxx)
  13478. type: string
  13479. optioncompare:
  13480. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  13481. type: string
  13482. parentsubnum:
  13483. description: 拆分父子单号
  13484. type: integer
  13485. pledgeqty:
  13486. description: 质押数量
  13487. type: number
  13488. qty:
  13489. description: 数量
  13490. type: number
  13491. subnum:
  13492. description: 提单子单号
  13493. type: integer
  13494. tradedate:
  13495. description: 交易日(yyyyMMdd)
  13496. type: string
  13497. userid:
  13498. description: 持有人ID
  13499. type: integer
  13500. warehouseid:
  13501. description: 仓库ID
  13502. type: integer
  13503. warehousename:
  13504. description: 仓库名称
  13505. type: string
  13506. wrfactortypeid:
  13507. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  13508. type: string
  13509. wrfactortypename:
  13510. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  13511. type: string
  13512. wrholdeno:
  13513. description: 仓单编号
  13514. type: string
  13515. wrid:
  13516. description: 仓单变更ID
  13517. type: string
  13518. wrstandardcode:
  13519. description: 现货商品代码
  13520. type: string
  13521. wrstandardid:
  13522. description: 现货商品ID
  13523. type: integer
  13524. wrstandardname:
  13525. description: 商品名称
  13526. type: string
  13527. wrtypename:
  13528. description: 商品
  13529. type: string
  13530. type: object
  13531. models.WrOrderDetail:
  13532. properties:
  13533. buyorsell:
  13534. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  13535. type: integer
  13536. cancelqty:
  13537. description: 撤销数量
  13538. type: number
  13539. deliverygoodscode:
  13540. description: 品种代码
  13541. type: string
  13542. deliverygoodsid:
  13543. description: 品种ID
  13544. type: integer
  13545. deliverygoodsname:
  13546. description: 品种名称
  13547. type: string
  13548. deliverymonth:
  13549. description: 交收月
  13550. type: string
  13551. enumdicname:
  13552. description: 单位名称
  13553. type: string
  13554. fixedprice:
  13555. description: 固定价格 - [挂牌]
  13556. type: number
  13557. futupricemove:
  13558. description: 期货升贴水
  13559. type: number
  13560. futushow:
  13561. description: 期货合约/升贴水
  13562. type: string
  13563. goodscode:
  13564. description: 期货合约
  13565. type: string
  13566. goodsid:
  13567. description: 期货商品id
  13568. type: integer
  13569. haswr:
  13570. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  13571. type: integer
  13572. marketid:
  13573. description: 市场ID
  13574. type: integer
  13575. optioncompare:
  13576. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  13577. type: string
  13578. orderqty:
  13579. description: 委托数量
  13580. type: number
  13581. ordertime:
  13582. description: 委托时间(挂牌时间)
  13583. type: string
  13584. pricemove:
  13585. description: 升贴水(浮动价时填写) - [挂牌]
  13586. type: number
  13587. tradedate:
  13588. description: 交易日(yyyyMMdd)
  13589. type: string
  13590. tradeprice:
  13591. description: 成交价格 - [摘牌] (浮动价 ((商品1价格*商品1价格系数+升贴水)* 商品1重量系数 + 商品2价格*商品2价格系数+商品2升贴水)*
  13592. 商品2重量系数 ...)* 委托单价格系数 + 委托单升贴水)
  13593. type: number
  13594. tradeqty:
  13595. description: 成交数量
  13596. type: number
  13597. userid:
  13598. description: 用户ID
  13599. type: integer
  13600. warehouseid:
  13601. description: 仓库ID
  13602. type: integer
  13603. warehousename:
  13604. description: 仓库名称
  13605. type: string
  13606. wrfactortypeid:
  13607. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  13608. type: string
  13609. wrfactortypename:
  13610. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  13611. type: string
  13612. wrpricetype:
  13613. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  13614. type: integer
  13615. wrstandardcode:
  13616. description: 现货商品代码
  13617. type: string
  13618. wrstandardid:
  13619. description: 现货商品ID
  13620. type: integer
  13621. wrstandardname:
  13622. description: 商品名称
  13623. type: string
  13624. wrtradeorderid:
  13625. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  13626. type: string
  13627. wrtradeorderstatus:
  13628. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  13629. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  13630. type: integer
  13631. wrtradetype:
  13632. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  13633. type: integer
  13634. wrtypename:
  13635. description: 商品
  13636. type: string
  13637. type: object
  13638. models.WrOrderQuote:
  13639. properties:
  13640. buyprice:
  13641. description: 买价
  13642. type: number
  13643. buypricemove:
  13644. description: 买升贴水(基差)
  13645. type: number
  13646. buyqty:
  13647. description: 买量
  13648. type: number
  13649. deliverygoodscode:
  13650. description: 品种代码
  13651. type: string
  13652. deliverygoodsid:
  13653. description: 品种id
  13654. type: integer
  13655. deliverygoodsname:
  13656. description: 品种名称
  13657. type: string
  13658. deliverymonth:
  13659. description: 交收月
  13660. type: string
  13661. goodscode:
  13662. description: 商品合约(浮动价列表才有)
  13663. type: string
  13664. goodsid:
  13665. description: 商品id(浮动价列表才有)
  13666. type: integer
  13667. sellprice:
  13668. description: 卖价
  13669. type: number
  13670. sellpricemove:
  13671. description: 卖升贴水(基差)
  13672. type: number
  13673. sellqty:
  13674. description: 卖量
  13675. type: number
  13676. warehousecode:
  13677. description: 仓库代码
  13678. type: string
  13679. warehouseid:
  13680. description: 仓库id
  13681. type: integer
  13682. warehousename:
  13683. description: 仓库名称
  13684. type: string
  13685. wrfactortypeid:
  13686. description: 仓单要素id
  13687. type: string
  13688. wrfactortypename:
  13689. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  13690. type: string
  13691. wrgoodsname:
  13692. description: 商品(商品名称+仓库要素名称 拼接)
  13693. type: string
  13694. wrstandardcode:
  13695. description: 商品代码
  13696. type: string
  13697. wrstandardid:
  13698. description: 商品id
  13699. type: integer
  13700. wrstandardname:
  13701. description: 商品名称
  13702. type: string
  13703. type: object
  13704. models.WrOrderQuoteDetail:
  13705. properties:
  13706. buyorsell:
  13707. description: 买卖 - 0:买 1:卖
  13708. type: integer
  13709. fixedprice:
  13710. description: 买(卖)价
  13711. type: number
  13712. orderqty:
  13713. description: 买(卖)量(=委托量-成交量)
  13714. type: number
  13715. pricemove:
  13716. description: 买(卖)升贴水- 基差
  13717. type: number
  13718. userid:
  13719. description: 购买方(销售方)用户ID
  13720. type: integer
  13721. username:
  13722. description: 购买方(销售方)
  13723. type: string
  13724. wrtradeorderid:
  13725. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  13726. type: string
  13727. type: object
  13728. models.WrPerformancePlan:
  13729. properties:
  13730. amount:
  13731. description: 履约金额(总金额)
  13732. type: number
  13733. buyaccountid:
  13734. description: 买方账号
  13735. type: integer
  13736. buyerfreezeamount:
  13737. description: 履约冻结(买履约)
  13738. type: number
  13739. buyerfreezeamountremain:
  13740. description: 履约冻结剩余(买履约)
  13741. type: number
  13742. buyorsell:
  13743. description: 买卖方向 0-买 1-卖
  13744. type: integer
  13745. buypaidamount:
  13746. description: 买方已冻/已扣金额 (已付金额)
  13747. type: number
  13748. buyusername:
  13749. description: 买方名字
  13750. type: string
  13751. contractid:
  13752. description: 合同ID
  13753. type: integer
  13754. createtime:
  13755. description: 创建时间(开始时间)
  13756. type: string
  13757. creatorid:
  13758. description: 创建人
  13759. type: integer
  13760. curstepdeadline:
  13761. description: 当前步骤到期时间
  13762. type: string
  13763. curstepid:
  13764. description: 当前步骤ID
  13765. type: integer
  13766. curstepname:
  13767. description: 当前步骤名称
  13768. type: string
  13769. deliverygoodscode:
  13770. description: 品种代码
  13771. type: string
  13772. deliverygoodsid:
  13773. description: 品种ID
  13774. type: integer
  13775. deliverygoodsname:
  13776. description: 品种名称
  13777. type: string
  13778. enumdicname:
  13779. description: 单位名称
  13780. type: string
  13781. expressfee:
  13782. description: 运费
  13783. type: number
  13784. expressfeeconfirmed:
  13785. description: 是否确认运费 - 0:无 1:买方确认 2:卖方确认
  13786. type: integer
  13787. hasovershort:
  13788. description: 是否确认溢短 - 0:没有 1:买方确认 2:卖方确认
  13789. type: integer
  13790. haswr:
  13791. description: 类型 0-仓单预售 1-仓单贸易
  13792. type: integer
  13793. marketid:
  13794. description: 市场ID
  13795. type: integer
  13796. middleaccountid:
  13797. description: 中间商资金账号ID
  13798. type: integer
  13799. middleuserid:
  13800. description: 中间商用户ID
  13801. type: integer
  13802. optioncompare:
  13803. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  13804. type: string
  13805. overshortamount:
  13806. description: 溢短金额
  13807. type: number
  13808. overshortqty:
  13809. description: 溢短数量
  13810. type: number
  13811. paymenttype:
  13812. description: 付款方式 - 1:冻结 2:扣款
  13813. type: integer
  13814. performanceplanid:
  13815. description: 履约计划ID(130+yyMMddHHmmss+xxxx)
  13816. type: integer
  13817. performancestatus:
  13818. description: 履约状态 - 1:初始化 2:正常 3:处理错误 4:违约待处理 5:违约处理中 6:完成 7.违约已完成 8:释放冻结失败
  13819. 9:超时待处理 10:超时关闭
  13820. type: integer
  13821. performancetype:
  13822. description: 履约类型 - 0:通用 1:交割 2:仓单贸易 3:预售集采 4:竞拍-降价式 (无仓单) 5:挂牌期权 6:竞拍-降价式
  13823. 7:竞拍-竞价式 8:竞拍-大宗式 9:荷兰式 10:法币C2C 11:报价系统 12:挂牌系统
  13824. type: integer
  13825. qty:
  13826. description: 履约数量
  13827. type: number
  13828. relatedorderid:
  13829. description: 关联单号(履约类型的关联单号)
  13830. type: string
  13831. remark:
  13832. description: 备注
  13833. type: string
  13834. sellaccountid:
  13835. description: 卖方账号
  13836. type: integer
  13837. sellerfreezeamount:
  13838. description: 履约冻结(卖履约)
  13839. type: number
  13840. sellerfreezeamountremain:
  13841. description: 履约冻结剩余(卖履约)
  13842. type: number
  13843. sellreceivedamount:
  13844. description: 卖方已收金额
  13845. type: number
  13846. sellusername:
  13847. description: 卖方名字
  13848. type: string
  13849. shipremark:
  13850. description: 发货备注[物流单号]
  13851. type: string
  13852. userid:
  13853. description: 用户id
  13854. type: integer
  13855. warehouseid:
  13856. description: 仓库ID
  13857. type: integer
  13858. warehousename:
  13859. description: 仓库名称
  13860. type: string
  13861. wrfactortypeid:
  13862. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  13863. type: string
  13864. wrfactortypename:
  13865. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  13866. type: string
  13867. wrstandardcode:
  13868. description: 现货商品代码
  13869. type: string
  13870. wrstandardid:
  13871. description: 现货商品ID
  13872. type: integer
  13873. wrstandardname:
  13874. description: 商品名称
  13875. type: string
  13876. wrtransferuserid:
  13877. description: 仓单受让用户
  13878. type: integer
  13879. wrtypename:
  13880. description: 商品
  13881. type: string
  13882. required:
  13883. - userid
  13884. type: object
  13885. models.WrPosition:
  13886. properties:
  13887. accountid:
  13888. description: 帐户ID
  13889. type: integer
  13890. buyexcuteqty:
  13891. description: 采购履约中数量
  13892. type: number
  13893. creditcurqty:
  13894. description: 授信当前数量(预售仓单:预售当前量)
  13895. type: number
  13896. creditenableqty:
  13897. description: '授信可用数量(预售仓单: 可用数量)'
  13898. type: number
  13899. creditfreezeqty:
  13900. description: '授信冻结数量(预售仓单: 当前数量)'
  13901. type: number
  13902. credittotalqty:
  13903. description: 授信总数量(预售仓单:预售总量)
  13904. type: number
  13905. credittradeqty:
  13906. description: 授信成交数量(预售仓单:成交总量)
  13907. type: number
  13908. deliverygoodscode:
  13909. description: 品种代码
  13910. type: string
  13911. deliverygoodsid:
  13912. description: 品种ID
  13913. type: integer
  13914. deliverygoodsname:
  13915. description: 品种名称
  13916. type: string
  13917. enalbeqty:
  13918. description: 可用数量
  13919. type: number
  13920. enumdicname:
  13921. description: 单位名称
  13922. type: string
  13923. freezeqty:
  13924. description: 总冻结数量
  13925. type: number
  13926. modifytime:
  13927. description: 修改时间(过户时间)
  13928. type: string
  13929. optioncompare:
  13930. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  13931. type: string
  13932. pledgeqty:
  13933. description: 质押数量
  13934. type: number
  13935. querytype:
  13936. description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  13937. type: integer
  13938. sellexcuteqty:
  13939. description: 销售履约中数量
  13940. type: number
  13941. totalqty:
  13942. description: 总数量(库存数量)
  13943. type: number
  13944. warehouseid:
  13945. description: 仓库ID
  13946. type: integer
  13947. warehousename:
  13948. description: 仓库名称
  13949. type: string
  13950. wrfactortypeid:
  13951. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  13952. type: string
  13953. wrfactortypename:
  13954. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  13955. type: string
  13956. wrpositionid:
  13957. description: 仓单头寸ID(201+Unix秒时间戳(10位)+xxxxxx)
  13958. type: string
  13959. wrpositionno:
  13960. description: 仓单编号
  13961. type: string
  13962. wrstandardcode:
  13963. description: 现货商品代码
  13964. type: string
  13965. wrstandardid:
  13966. description: 现货商品ID
  13967. type: integer
  13968. wrstandardname:
  13969. description: 商品名称
  13970. type: string
  13971. wrtypename:
  13972. description: 商品
  13973. type: string
  13974. wruserid:
  13975. description: 持有人ID
  13976. type: integer
  13977. type: object
  13978. models.WrSpecialMatchOrder:
  13979. properties:
  13980. amount:
  13981. description: 金额 = 数量 * 价格
  13982. type: number
  13983. buyorsell:
  13984. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  13985. type: integer
  13986. cancelqty:
  13987. description: 撤销数量
  13988. type: number
  13989. deliverygoodscode:
  13990. description: 品种代码
  13991. type: string
  13992. deliverygoodsid:
  13993. description: 品种ID
  13994. type: integer
  13995. deliverygoodsname:
  13996. description: 品种名称
  13997. type: string
  13998. enumdicname:
  13999. description: 单位名称
  14000. type: string
  14001. fixedprice:
  14002. description: 固定价格(价格)
  14003. type: number
  14004. haswr:
  14005. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  14006. type: integer
  14007. marketid:
  14008. description: 市场ID
  14009. type: integer
  14010. matchuserid:
  14011. description: 指定方资金账号(字段名为userid,实际存的是accountid by:邓工)
  14012. type: integer
  14013. matchusername:
  14014. description: 指定方
  14015. type: string
  14016. optioncompare:
  14017. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14018. type: string
  14019. orderqty:
  14020. description: 委托数量
  14021. type: number
  14022. ordertime:
  14023. description: 委托时间
  14024. type: string
  14025. pricemove:
  14026. description: 升贴水(浮动价时填写) - [挂牌]
  14027. type: number
  14028. tradedate:
  14029. description: 交易日(yyyyMMdd)
  14030. type: string
  14031. tradeprice:
  14032. description: 成交价格
  14033. type: number
  14034. tradeqty:
  14035. description: 成交数量
  14036. type: number
  14037. userid:
  14038. description: 用户ID
  14039. type: integer
  14040. username:
  14041. description: 发起方
  14042. type: string
  14043. warehouseid:
  14044. description: 仓库ID
  14045. type: integer
  14046. warehousename:
  14047. description: 仓库名称
  14048. type: string
  14049. wrfactortypeid:
  14050. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14051. type: string
  14052. wrfactortypename:
  14053. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14054. type: string
  14055. wrpricetype:
  14056. description: 价格方式 - 1:固定价 2-浮动价 - [挂牌]
  14057. type: integer
  14058. wrstandardcode:
  14059. description: 现货商品代码
  14060. type: string
  14061. wrstandardid:
  14062. description: 现货商品ID
  14063. type: integer
  14064. wrstandardname:
  14065. description: 商品名称
  14066. type: string
  14067. wrtradeorderid:
  14068. description: 仓单贸易委托单ID(320+Unix秒时间戳(10位)+xxxxxx)
  14069. type: string
  14070. wrtradeorderstatus:
  14071. description: 委托状态 - 1:委托请求 2:待冻结 3:委托成功 4:委托失败 5:配对成功 6:已撤 7:已成 8:成交失败 9:委托拒绝
  14072. 10:挂牌部分成交 11:仓单生成失败 12:首付扣款失败 13:履约失败 14:撤单解冻贷款失败 15:部成部撤
  14073. type: integer
  14074. wrtradetype:
  14075. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  14076. type: integer
  14077. wrtypename:
  14078. description: 商品
  14079. type: string
  14080. type: object
  14081. models.WrTradeDetail:
  14082. properties:
  14083. accountid:
  14084. description: 资金账号
  14085. type: integer
  14086. buyorsell:
  14087. description: 买卖 - 0:买 1:卖(挂牌类型 买为采购 卖为销售)
  14088. type: integer
  14089. deliverygoodscode:
  14090. description: 品种代码
  14091. type: string
  14092. deliverygoodsid:
  14093. description: 品种ID
  14094. type: integer
  14095. deliverygoodsname:
  14096. description: 品种名称
  14097. type: string
  14098. deliverymonth:
  14099. description: 交收月
  14100. type: string
  14101. enumdicname:
  14102. description: 单位名称
  14103. type: string
  14104. haswr:
  14105. description: 是否有仓单-卖方 - 0:无仓单 1:有仓单
  14106. type: integer
  14107. marketid:
  14108. description: 市场ID
  14109. type: integer
  14110. matchaccountid:
  14111. description: 对手账号
  14112. type: integer
  14113. matchusername:
  14114. description: 对手方
  14115. type: string
  14116. optioncompare:
  14117. description: 选择项比较串【{选择项ID}+{冒号}+选择项值 } ,逗号分隔,头尾加逗号】-- 所有选择项拼接,用于比较
  14118. type: string
  14119. tradedate:
  14120. description: 交易日(yyyyMMdd)
  14121. type: string
  14122. tradeprice:
  14123. description: 成交价格
  14124. type: number
  14125. tradeqty:
  14126. description: 成交数量
  14127. type: number
  14128. tradetime:
  14129. description: 成交时间
  14130. type: string
  14131. userid:
  14132. description: 用户ID
  14133. type: integer
  14134. warehouseid:
  14135. description: 仓库ID
  14136. type: integer
  14137. warehousename:
  14138. description: 仓库名称
  14139. type: string
  14140. wrfactortypeid:
  14141. description: 仓单要素类型ID(212+Unix秒时间戳(10位)+xxxxxx)
  14142. type: string
  14143. wrfactortypename:
  14144. description: 仓单要素类型名称(选择项要素的名称合并显示,逗号分隔)
  14145. type: string
  14146. wrstandardcode:
  14147. description: 现货商品代码
  14148. type: string
  14149. wrstandardid:
  14150. description: 现货商品ID
  14151. type: integer
  14152. wrstandardname:
  14153. description: 商品名称
  14154. type: string
  14155. wrtradedetailid:
  14156. description: 仓单贸易成交单ID(321+Unix秒时间戳(10位)+xxxxxx)
  14157. type: string
  14158. wrtradetype:
  14159. description: 仓单贸易类型 - 1:挂牌 2:摘牌 3:提货卖(文化中国) 4:提货买(文化中国)
  14160. type: integer
  14161. wrtypename:
  14162. description: 商品
  14163. type: string
  14164. type: object
  14165. models.WrTypeItem:
  14166. properties:
  14167. name:
  14168. description: 名称
  14169. type: string
  14170. value:
  14171. description: 值
  14172. type: string
  14173. type: object
  14174. order.QueryHisTradeDetailRsp:
  14175. properties:
  14176. accountid:
  14177. description: 账户ID[报价币种]
  14178. type: integer
  14179. advanceratio:
  14180. description: 首付比率
  14181. type: number
  14182. buildtype:
  14183. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  14184. type: integer
  14185. buyorsell:
  14186. description: 方向 - 0:买 1:卖
  14187. type: integer
  14188. charge:
  14189. description: 手续费
  14190. type: number
  14191. closecharge:
  14192. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  14193. type: number
  14194. closeexchagechargevalue:
  14195. description: 平仓交易所手续费设置值
  14196. type: number
  14197. closefeealgorithm:
  14198. description: 平仓手续费收取方式 1:比率 2:固定
  14199. type: integer
  14200. closememberchargevalue:
  14201. description: 平仓会员手续费设置值
  14202. type: number
  14203. closepl:
  14204. description: 平仓盈亏
  14205. type: number
  14206. closepl2:
  14207. description: 平仓盈亏[逐笔]
  14208. type: number
  14209. closeqty:
  14210. description: 平仓数量(先建后平操作 需要记录)
  14211. type: number
  14212. creditamount:
  14213. description: 授信金额
  14214. type: number
  14215. decimalplace:
  14216. description: 商品报价小数位
  14217. type: integer
  14218. enumdicname:
  14219. description: 单位名称
  14220. type: string
  14221. gcaccountid:
  14222. description: 账户ID[合约币种]
  14223. type: integer
  14224. goodscode:
  14225. description: 商品代码
  14226. type: string
  14227. goodsid:
  14228. description: 商品ID
  14229. type: integer
  14230. goodsname:
  14231. description: 商品名称
  14232. type: string
  14233. goodunitid:
  14234. description: 商品单位id
  14235. type: integer
  14236. histradedate:
  14237. description: 历史交易日
  14238. type: string
  14239. intclosepl:
  14240. description: 整型盈亏(用于交易结算试算平衡-收益权)
  14241. type: integer
  14242. isconfirmexercise:
  14243. description: 是否确认行权- 0:否 1:是
  14244. type: integer
  14245. ismain:
  14246. description: 是否主单 - 0:不是 1:是
  14247. type: integer
  14248. ispreexercise:
  14249. description: 是否预申报- 0:否 1:是
  14250. type: integer
  14251. isreckoned:
  14252. description: 是否结算 - 0:未结算 1:已结算
  14253. type: integer
  14254. isvaliddata:
  14255. description: 是否有效 - 0:无效 1:有效
  14256. type: integer
  14257. listingselecttype:
  14258. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  14259. type: integer
  14260. marketid:
  14261. description: 市场ID
  14262. type: integer
  14263. marketname:
  14264. description: 市场名称
  14265. type: string
  14266. matchaccountid:
  14267. description: 对手账号id
  14268. type: integer
  14269. memberuserid:
  14270. description: 会员id 个人投资者 需要填写
  14271. type: integer
  14272. opencharge:
  14273. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  14274. type: number
  14275. openexchagechargevalue:
  14276. description: 建仓交易所手续费设置值
  14277. type: number
  14278. openfeealgorithm:
  14279. description: 建仓手续费收取方式 1:比率 2:固定
  14280. type: integer
  14281. openmemberchargevalue:
  14282. description: 建仓会员手续费设置值
  14283. type: number
  14284. openqty:
  14285. description: 开仓数量(先建后平操作 需要记录)
  14286. type: number
  14287. optiontype:
  14288. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  14289. type: integer
  14290. orderid:
  14291. description: 委托单号
  14292. type: string
  14293. payamount:
  14294. description: 支付金额(付款金额)
  14295. type: number
  14296. performanceplanid:
  14297. description: 履约计划ID[期权]
  14298. type: integer
  14299. performancestatus:
  14300. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  14301. type: integer
  14302. preexerciseprice:
  14303. description: 预申报价格
  14304. type: number
  14305. premium:
  14306. description: 权利金 - [持仓单的权利金]
  14307. type: number
  14308. qtydecimalplace:
  14309. description: 商品报价小数位
  14310. type: integer
  14311. recvamount:
  14312. description: 到账金额 = 成交金额 - 手续费
  14313. type: number
  14314. relatedouttradeid:
  14315. description: 关联外部成交单ID
  14316. type: integer
  14317. status:
  14318. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  14319. type: integer
  14320. totalamount:
  14321. description: 订单总额 = 成交金额 + 手续费
  14322. type: number
  14323. tradeamount:
  14324. description: 成交金额[账户币种,用于所有权]
  14325. type: number
  14326. tradedate:
  14327. description: 交易日(yyyyMMdd)
  14328. type: string
  14329. tradeid:
  14330. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14331. type: string
  14332. trademode:
  14333. description: 交易模式
  14334. type: integer
  14335. tradeprice:
  14336. description: 成交价格
  14337. type: number
  14338. tradeproperty:
  14339. description: 交易属性
  14340. type: integer
  14341. tradeqty:
  14342. description: 成交数量
  14343. type: number
  14344. tradetime:
  14345. description: 成交时间
  14346. type: string
  14347. tradetype:
  14348. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  14349. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  14350. type: integer
  14351. required:
  14352. - accountid
  14353. - buyorsell
  14354. - goodsid
  14355. - histradedate
  14356. - marketid
  14357. - memberuserid
  14358. - orderid
  14359. - tradeamount
  14360. - tradedate
  14361. - tradeid
  14362. - tradeprice
  14363. - tradeqty
  14364. - tradetime
  14365. type: object
  14366. order.QueryHisTradeOrderDetailRsp:
  14367. properties:
  14368. accountid:
  14369. description: 账户ID[报价币种]
  14370. type: integer
  14371. buildtype:
  14372. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  14373. type: integer
  14374. buyorsell:
  14375. description: 买卖 - 0:买 1:卖
  14376. type: integer
  14377. cancelorderid:
  14378. description: 撤单单号(撤单时填写)
  14379. type: string
  14380. cancelqty:
  14381. description: 撤单数量
  14382. type: number
  14383. clientordertime:
  14384. description: 客户端委托时间
  14385. type: string
  14386. clientticket:
  14387. description: 客户端流水号
  14388. type: string
  14389. clienttype:
  14390. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  14391. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  14392. type: integer
  14393. closeexchagechargevalue:
  14394. description: 平仓交易所手续费设置值
  14395. type: number
  14396. closefeealgorithm:
  14397. description: 平仓手续费收取方式 1:比率 2:固定
  14398. type: integer
  14399. closefreezecharge:
  14400. description: 平仓冻结手续费(先建后平操作,需要记录)
  14401. type: number
  14402. closememberchargevalue:
  14403. description: 平仓会员手续费设置值
  14404. type: number
  14405. closeqty:
  14406. description: 平仓数量(先建后平操作 需要记录)
  14407. type: number
  14408. closetradeqty:
  14409. description: 平仓成交数量(先建后平操作,需要记录)
  14410. type: number
  14411. closeunfreezecharge:
  14412. description: 平仓解冻手续费(先建后平操作,需要记录)
  14413. type: number
  14414. decimalplace:
  14415. description: 商品报价小数位
  14416. type: integer
  14417. delistingtype:
  14418. description: 摘牌类型 - 1:价格最优 2:点选成交
  14419. type: integer
  14420. enumdicname:
  14421. description: 单位名称
  14422. type: string
  14423. freezecharge:
  14424. description: 冻结手续费
  14425. type: number
  14426. freezemargin:
  14427. description: 冻结保证金(冻结交易金额)
  14428. type: number
  14429. gcaccountid:
  14430. description: 账户ID[合约币种]
  14431. type: integer
  14432. goodscode:
  14433. description: 商品代码
  14434. type: string
  14435. goodsid:
  14436. description: 商品ID
  14437. type: integer
  14438. goodsname:
  14439. description: 商品名称
  14440. type: string
  14441. goodunitid:
  14442. description: 商品单位id
  14443. type: integer
  14444. histradedate:
  14445. description: 历史交易日
  14446. type: string
  14447. isconfirmexercise:
  14448. description: 是否确认行权- 0:否 1:是
  14449. type: integer
  14450. ispreexercise:
  14451. description: 是否预申报- 0:否 1:是
  14452. type: integer
  14453. isvaliddata:
  14454. description: 是否有效 - 0:无效 1:有效
  14455. type: integer
  14456. listingselecttype:
  14457. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  14458. type: integer
  14459. marginalgorithm:
  14460. description: 保证金收取方式 1:比率 2:固定
  14461. type: integer
  14462. marginvalue:
  14463. description: 即市保证金设置值
  14464. type: number
  14465. marketid:
  14466. description: 市场ID
  14467. type: integer
  14468. marketmaxsub:
  14469. description: 市价最大偏移范围
  14470. type: number
  14471. marketname:
  14472. description: 市场名称
  14473. type: string
  14474. memberuserid:
  14475. description: 所属会员UserID
  14476. type: integer
  14477. openexchagechargevalue:
  14478. description: 建仓交易所手续费设置值
  14479. type: number
  14480. openfeealgorithm:
  14481. description: 建仓手续费收取方式 1:比率 2:固定
  14482. type: integer
  14483. openfreezecharge:
  14484. description: 开仓冻结手续费(先建后平操作,需要记录)
  14485. type: number
  14486. openmemberchargevalue:
  14487. description: 建仓会员手续费设置值
  14488. type: number
  14489. openqty:
  14490. description: 开仓数量(先建后平操作,需要记录)
  14491. type: number
  14492. opentradeqty:
  14493. description: 开仓成交数量(先建后平操作,需要记录)
  14494. type: number
  14495. openunfreezecharge:
  14496. description: 开仓解冻手续费(先建后平操作,需要记录)
  14497. type: number
  14498. operatetype:
  14499. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  14500. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  14501. 15:管理端协议转让
  14502. type: integer
  14503. operatorid:
  14504. description: 登录账号(LoginID)
  14505. type: integer
  14506. optiontype:
  14507. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  14508. type: integer
  14509. orderid:
  14510. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14511. type: string
  14512. orderprice:
  14513. description: 委托价格
  14514. type: number
  14515. orderqty:
  14516. description: 委托数量
  14517. type: number
  14518. ordersrc:
  14519. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  14520. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  14521. type: integer
  14522. orderstatus:
  14523. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  14524. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  14525. 16:成交失败违约(荷兰式竞拍专用)
  14526. type: integer
  14527. ordertime:
  14528. description: 委托时间
  14529. type: string
  14530. preexerciseprice:
  14531. description: 预申报价格
  14532. type: number
  14533. premium:
  14534. description: 权利金
  14535. type: number
  14536. preorderid:
  14537. description: 关联预埋单号(止盈止损单时填写)
  14538. type: string
  14539. pricemode:
  14540. description: '取价方式 - 1:市价 2: 限价'
  14541. type: integer
  14542. qtydecimalplace:
  14543. description: 成交量小数位
  14544. type: integer
  14545. quoteid:
  14546. description: 报价单ID
  14547. type: integer
  14548. relatedid:
  14549. description: 关联单号(交割单)
  14550. type: string
  14551. retcode:
  14552. description: 错误代码
  14553. type: integer
  14554. sessionid:
  14555. description: 会话ID
  14556. type: integer
  14557. tradedate:
  14558. description: 交易日(yyyyMMdd)
  14559. type: string
  14560. trademode:
  14561. description: 交易模式
  14562. type: integer
  14563. tradeproperty:
  14564. description: 交易属性
  14565. type: integer
  14566. tradeqty:
  14567. description: 成交数量
  14568. type: number
  14569. unfreezecharge:
  14570. description: 解冻手续费
  14571. type: number
  14572. unfreezemargin:
  14573. description: 解冻保证金
  14574. type: number
  14575. updatetime:
  14576. description: 更新时间
  14577. type: string
  14578. uuid:
  14579. description: 发起端唯一id
  14580. type: string
  14581. validtime:
  14582. description: 有效期限
  14583. type: string
  14584. validtype:
  14585. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  14586. type: integer
  14587. volumetype:
  14588. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  14589. type: integer
  14590. required:
  14591. - accountid
  14592. - buildtype
  14593. - buyorsell
  14594. - goodsid
  14595. - histradedate
  14596. - marketid
  14597. - memberuserid
  14598. - operatetype
  14599. - orderid
  14600. - orderqty
  14601. - ordertime
  14602. - pricemode
  14603. - tradedate
  14604. - validtype
  14605. type: object
  14606. order.QueryTradeDetailRsp:
  14607. properties:
  14608. accountid:
  14609. description: 账户ID[报价币种]
  14610. type: integer
  14611. advanceratio:
  14612. description: 首付比率
  14613. type: number
  14614. buildtype:
  14615. description: 委托单据类型 1:建仓 2:平仓 3:先平后建
  14616. type: integer
  14617. buyorsell:
  14618. description: 方向 - 0:买 1:卖
  14619. type: integer
  14620. charge:
  14621. description: 手续费
  14622. type: number
  14623. closecharge:
  14624. description: 平仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  14625. type: number
  14626. closeexchagechargevalue:
  14627. description: 平仓交易所手续费设置值
  14628. type: number
  14629. closefeealgorithm:
  14630. description: 平仓手续费收取方式 1:比率 2:固定
  14631. type: integer
  14632. closememberchargevalue:
  14633. description: 平仓会员手续费设置值
  14634. type: number
  14635. closepl:
  14636. description: 平仓盈亏
  14637. type: number
  14638. closepl2:
  14639. description: 平仓盈亏[逐笔]
  14640. type: number
  14641. closeqty:
  14642. description: 平仓数量(先建后平操作 需要记录)
  14643. type: number
  14644. creditamount:
  14645. description: 授信金额
  14646. type: number
  14647. decimalplace:
  14648. description: 商品报价小数位
  14649. type: integer
  14650. enumdicname:
  14651. description: 单位名称
  14652. type: string
  14653. gcaccountid:
  14654. description: 账户ID[合约币种]
  14655. type: integer
  14656. goodscode:
  14657. description: 商品代码
  14658. type: string
  14659. goodsid:
  14660. description: 商品ID
  14661. type: integer
  14662. goodsname:
  14663. description: 商品名称
  14664. type: string
  14665. goodunitid:
  14666. description: 商品单位id
  14667. type: integer
  14668. intclosepl:
  14669. description: 整型盈亏(用于交易结算试算平衡-收益权)
  14670. type: integer
  14671. isconfirmexercise:
  14672. description: 是否确认行权- 0:否 1:是
  14673. type: integer
  14674. ismain:
  14675. description: 是否主单 - 0:不是 1:是
  14676. type: integer
  14677. ispreexercise:
  14678. description: 是否预申报- 0:否 1:是
  14679. type: integer
  14680. isreckoned:
  14681. description: 是否结算 - 0:未结算 1:已结算
  14682. type: integer
  14683. listingselecttype:
  14684. description: 关联委托单挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  14685. type: integer
  14686. marketid:
  14687. description: 市场ID
  14688. type: integer
  14689. marketname:
  14690. description: 市场名称
  14691. type: string
  14692. matchaccountid:
  14693. description: 对手账号id
  14694. type: integer
  14695. memberuserid:
  14696. description: 会员id 个人投资者 需要填写
  14697. type: integer
  14698. opencharge:
  14699. description: 建仓手续费(支付总手续费=(交易所比率+会员比率)*成交金额)
  14700. type: number
  14701. openexchagechargevalue:
  14702. description: 建仓交易所手续费设置值
  14703. type: number
  14704. openfeealgorithm:
  14705. description: 建仓手续费收取方式 1:比率 2:固定
  14706. type: integer
  14707. openmemberchargevalue:
  14708. description: 建仓会员手续费设置值
  14709. type: number
  14710. openqty:
  14711. description: 开仓数量(先建后平操作 需要记录)
  14712. type: number
  14713. optiontype:
  14714. description: 期权类型 - 1:认购(看涨) 2:认沽(看跌)
  14715. type: integer
  14716. orderid:
  14717. description: 委托单号
  14718. type: string
  14719. payamount:
  14720. description: 支付金额(付款金额)
  14721. type: number
  14722. performanceplanid:
  14723. description: 履约计划ID[期权]
  14724. type: integer
  14725. performancestatus:
  14726. description: 履约状态[期权] - 0:无履约 1:未履约 2:履约中 3:履约完成
  14727. type: integer
  14728. preexerciseprice:
  14729. description: 预申报价格
  14730. type: number
  14731. premium:
  14732. description: 权利金 - [持仓单的权利金]
  14733. type: number
  14734. qtydecimalplace:
  14735. description: 商品报价小数位
  14736. type: integer
  14737. recvamount:
  14738. description: 到账金额 = 成交金额 - 手续费
  14739. type: number
  14740. relatedouttradeid:
  14741. description: 关联外部成交单ID
  14742. type: integer
  14743. status:
  14744. description: 处理状态 - 1:待处理 2:已处理 3:处理失败
  14745. type: integer
  14746. totalamount:
  14747. description: 订单总额 = 成交金额 + 手续费
  14748. type: number
  14749. tradeamount:
  14750. description: 成交金额[账户币种,用于所有权]
  14751. type: number
  14752. tradedate:
  14753. description: 交易日(yyyyMMdd)
  14754. type: string
  14755. tradeid:
  14756. description: 成交单号(101+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14757. type: string
  14758. trademode:
  14759. description: 交易模式
  14760. type: integer
  14761. tradeprice:
  14762. description: 成交价格
  14763. type: number
  14764. tradeproperty:
  14765. description: 交易属性
  14766. type: integer
  14767. tradeqty:
  14768. description: 成交数量
  14769. type: number
  14770. tradetime:
  14771. description: 成交时间
  14772. type: string
  14773. tradetype:
  14774. description: '成交类别 - 1:正常委托成交 2:定向做市成交(接单) 3:交割协议平仓成交 4:交割减仓成交 5:到期强平成交 6:风控斩仓成交
  14775. 7:协议平仓(管理端)成交 8:仓单转持仓成交 9: 交割协议转让成交 10:受托竞价成交(接单) 11:协议转让成交 12:系统强行平仓 13:期权违约平仓'
  14776. type: integer
  14777. required:
  14778. - accountid
  14779. - buyorsell
  14780. - goodsid
  14781. - marketid
  14782. - memberuserid
  14783. - orderid
  14784. - tradeamount
  14785. - tradedate
  14786. - tradeid
  14787. - tradeprice
  14788. - tradeqty
  14789. - tradetime
  14790. type: object
  14791. order.QueryTradeOrderDetailRsp:
  14792. properties:
  14793. accountid:
  14794. description: 账户ID[报价币种]
  14795. type: integer
  14796. buildtype:
  14797. description: 委托单据类型 - 1:建仓 2:平仓 3:先平后建
  14798. type: integer
  14799. buyorsell:
  14800. description: 买卖 - 0:买 1:卖
  14801. type: integer
  14802. cancelorderid:
  14803. description: 撤单单号(撤单时填写)
  14804. type: string
  14805. cancelqty:
  14806. description: 撤单数量
  14807. type: number
  14808. clienttype:
  14809. description: 客户端类型 - 0:保留为未填终端类型 1:PC管理端 2:PC交易端 3:手机客户端_安卓 4:网页客户端 5:微信客户端
  14810. 6:手机客户端_苹果 7:网上开户客户端 8:无效终端编号 9:报价终端(中江)
  14811. type: integer
  14812. closefreezecharge:
  14813. description: 平仓冻结手续费(先建后平操作,需要记录)
  14814. type: number
  14815. closeqty:
  14816. description: 平仓数量(先建后平操作 需要记录)
  14817. type: number
  14818. closetradeqty:
  14819. description: 平仓成交数量(先建后平操作,需要记录)
  14820. type: number
  14821. closeunfreezecharge:
  14822. description: 平仓解冻手续费(先建后平操作,需要记录)
  14823. type: number
  14824. decimalplace:
  14825. description: 商品报价小数位
  14826. type: integer
  14827. delistingtype:
  14828. description: 摘牌类型 - 1:价格最优 2:点选成交
  14829. type: integer
  14830. enableqty:
  14831. description: 可用数量 = 委托数量 - 成交数量 - 撤单数量
  14832. type: number
  14833. enumdicname:
  14834. description: 单位名称
  14835. type: string
  14836. freezecharge:
  14837. description: 冻结手续费
  14838. type: number
  14839. freezemargin:
  14840. description: 冻结保证金(冻结交易金额)
  14841. type: number
  14842. goodscode:
  14843. description: 商品代码
  14844. type: string
  14845. goodsid:
  14846. description: 商品ID
  14847. type: integer
  14848. goodsname:
  14849. description: 商品名称
  14850. type: string
  14851. goodunitid:
  14852. description: 商品单位id
  14853. type: integer
  14854. listingselecttype:
  14855. description: 挂牌点选类型 - 1:挂牌 2:摘牌 3:先摘后挂
  14856. type: integer
  14857. marketid:
  14858. description: 市场ID
  14859. type: integer
  14860. marketname:
  14861. description: 市场名称
  14862. type: string
  14863. openfreezecharge:
  14864. description: 开仓冻结手续费(先建后平操作,需要记录)
  14865. type: number
  14866. openqty:
  14867. description: 开仓数量(先建后平操作,需要记录)
  14868. type: number
  14869. opentradeqty:
  14870. description: 开仓成交数量(先建后平操作,需要记录)
  14871. type: number
  14872. openunfreezecharge:
  14873. description: 开仓解冻手续费(先建后平操作,需要记录)
  14874. type: number
  14875. operatetype:
  14876. description: 操作类型 - 1:正常下单 2:斩仓 3:转单 4:结算撤单 5:系统卖出(适用于先平后建的卖出) 6:行情源报价 7:(结算)到期强平
  14877. 8:(结算)协议转让 9:系统对冲单 10:(结算)到期无效 11:交割协议转让 12:交割协议平仓 13:交割成交(所有权) 14:管理端强行平仓
  14878. 15:管理端协议转让
  14879. type: integer
  14880. operatorid:
  14881. description: 登录账号(LoginID)
  14882. type: integer
  14883. orderid:
  14884. description: 委托单号(100+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  14885. type: string
  14886. orderprice:
  14887. description: 委托价格
  14888. type: number
  14889. orderqty:
  14890. description: 委托数量
  14891. type: number
  14892. ordersrc:
  14893. description: 委托来源 - 1:客户端 2:管理端 3:风控服务 4:交割服务 5:交易服务 6:交易日结 7:商品强平 8:管理端商品退市强平
  14894. 9:交易接口 10:交割服务商被动(受托竞价) 11:预埋触发
  14895. type: integer
  14896. orderstatus:
  14897. description: 委托状态 - 1: 委托请求 2:待冻结 3:委托成功 4: 委托失败 5:配对成功 6: 已撤销 7:部分成交 8:已成交
  14898. 9:部成部撤 10:成交失败 11:已拒绝 12:经过摘牌(先摘后挂专用-先摘后挂已摘过) 13:冻结成功(通道交易专用) 14:通道已撤 15:通道部成部撤
  14899. 16:成交失败违约(荷兰式竞拍专用)
  14900. type: integer
  14901. ordertime:
  14902. description: 委托时间
  14903. type: string
  14904. preorderid:
  14905. description: 关联预埋单号(止盈止损单时填写)
  14906. type: string
  14907. pricemode:
  14908. description: '取价方式 - 1:市价 2: 限价'
  14909. type: integer
  14910. qtydecimalplace:
  14911. description: 商品报价小数位
  14912. type: integer
  14913. relatedid:
  14914. description: 关联单号(交割单)
  14915. type: string
  14916. tradedate:
  14917. description: 交易日(yyyyMMdd)
  14918. type: string
  14919. trademode:
  14920. description: 交易模式
  14921. type: integer
  14922. tradeqty:
  14923. description: 成交数量
  14924. type: number
  14925. unfreezecharge:
  14926. description: 解冻手续费
  14927. type: number
  14928. unfreezemargin:
  14929. description: 解冻保证金
  14930. type: number
  14931. validtime:
  14932. description: 有效期限
  14933. type: string
  14934. validtype:
  14935. description: 有效类型 - 1当日有效 2本周有效 3指定日期有效 4一直有效 5指定时间有效
  14936. type: integer
  14937. volumetype:
  14938. description: 当时间有效类型为 “立即执行否则取消 IOC” 时,需要此项 - 0:任意量 1:最小量(暂时不支持) 2:全部量
  14939. type: integer
  14940. required:
  14941. - accountid
  14942. - buildtype
  14943. - buyorsell
  14944. - goodsid
  14945. - marketid
  14946. - operatetype
  14947. - orderqty
  14948. - ordertime
  14949. - pricemode
  14950. - tradedate
  14951. - validtype
  14952. type: object
  14953. order.QueryTradePositionRsp:
  14954. properties:
  14955. accountid:
  14956. description: 资金账户
  14957. type: integer
  14958. agreeunit:
  14959. description: 合约单位
  14960. type: number
  14961. averageprice:
  14962. description: 持仓均价
  14963. type: number
  14964. buyorsell:
  14965. description: 方向 - 0:买 1:卖
  14966. type: integer
  14967. closetotalqty:
  14968. description: 平仓总数量
  14969. type: number
  14970. curholderamount:
  14971. description: 当前持仓总金额[商品币种]
  14972. type: number
  14973. curpositionqty:
  14974. description: 当前持仓总数量
  14975. type: number
  14976. currencyid:
  14977. description: 报价货币ID
  14978. type: integer
  14979. curtdposition:
  14980. description: 期末今日头寸
  14981. type: number
  14982. decimalplace:
  14983. description: 报价小数位
  14984. type: integer
  14985. enableqty:
  14986. description: 可用量
  14987. type: number
  14988. fretdposition:
  14989. description: 冻结今日头寸
  14990. type: number
  14991. frozenqty:
  14992. description: 持仓冻结数量
  14993. type: number
  14994. goodscode:
  14995. description: 商品代码
  14996. type: string
  14997. goodsid:
  14998. description: 商品Id
  14999. type: integer
  15000. goodsname:
  15001. description: 商品名称
  15002. type: string
  15003. goodunit:
  15004. description: 报价单位
  15005. type: string
  15006. goodunitid:
  15007. description: 报价单位ID
  15008. type: integer
  15009. holderamount:
  15010. description: 期初持仓总金额[商品币种]
  15011. type: number
  15012. lastprice:
  15013. description: 最新价
  15014. type: number
  15015. marketamount:
  15016. description: 市值
  15017. type: number
  15018. marketid:
  15019. description: 所属市场ID
  15020. type: integer
  15021. openreqqty:
  15022. description: 开仓申请数量(用于比较最大持仓数量)
  15023. type: number
  15024. opentotalqty:
  15025. description: 开仓总数量
  15026. type: number
  15027. otherfrozenqty:
  15028. description: 持仓其他冻结数量(交割冻结)
  15029. type: number
  15030. positionpl:
  15031. description: 持仓盈亏 买方向 = (最新价 - 持仓均价) * 买期末头寸 * 合约单位;卖方向 = (持仓均价 - 最新价) * 卖期末头寸
  15032. * 合约单位
  15033. type: number
  15034. positionplrate:
  15035. description: 持仓盈亏比例【实时行情更新】 = 持仓盈亏 / 开仓成本
  15036. type: number
  15037. positionqty:
  15038. description: 期初持仓数量
  15039. type: number
  15040. qtydecimalplace:
  15041. description: 成交量小数位
  15042. type: integer
  15043. tnqty:
  15044. description: T+N冻结总量
  15045. type: number
  15046. tnusedqty:
  15047. description: T+N使用量(可以使用T+N的冻结数量)
  15048. type: number
  15049. trademode:
  15050. description: 交易模式
  15051. type: integer
  15052. usedmargin:
  15053. description: 占用保证金[商品币种]
  15054. type: number
  15055. required:
  15056. - goodsid
  15057. type: object
  15058. quote.HistoryData:
  15059. properties:
  15060. c:
  15061. description: 收盘价
  15062. type: number
  15063. f:
  15064. description: 是否补充数据
  15065. type: boolean
  15066. h:
  15067. description: 最高价
  15068. type: number
  15069. hv:
  15070. description: 持仓量
  15071. type: integer
  15072. l:
  15073. description: 最低价
  15074. type: number
  15075. o:
  15076. description: 开盘价
  15077. type: number
  15078. s:
  15079. description: 结算价,日线周期(包括)以上才有
  15080. type: number
  15081. ts:
  15082. description: 时间
  15083. type: string
  15084. tt:
  15085. description: 总金额
  15086. type: number
  15087. tv:
  15088. description: 总量
  15089. type: integer
  15090. type: object
  15091. quote.HistoryTikData:
  15092. properties:
  15093. AV:
  15094. description: 卖量
  15095. type: integer
  15096. Ask:
  15097. description: 卖价
  15098. type: number
  15099. BV:
  15100. description: 买量
  15101. type: integer
  15102. Bid:
  15103. description: 买价
  15104. type: number
  15105. HI:
  15106. description: 单笔持仓
  15107. type: integer
  15108. HV:
  15109. description: 持仓量
  15110. type: integer
  15111. PE:
  15112. description: 现价
  15113. type: number
  15114. TDR:
  15115. description: 交易方向,0:买 1:卖
  15116. type: integer
  15117. TK:
  15118. description: 交易类型
  15119. type: integer
  15120. TS:
  15121. description: 行情时间文本
  15122. type: string
  15123. TT:
  15124. description: 现金额
  15125. type: number
  15126. Vol:
  15127. description: 现量
  15128. type: integer
  15129. type: object
  15130. quote.QueryQuoteDayRsp:
  15131. properties:
  15132. ask:
  15133. description: 卖1
  15134. type: number
  15135. ask2:
  15136. description: 卖2
  15137. type: number
  15138. ask3:
  15139. description: 卖3
  15140. type: number
  15141. ask4:
  15142. description: 卖4
  15143. type: number
  15144. ask5:
  15145. description: 卖5
  15146. type: number
  15147. ask6:
  15148. description: 卖6
  15149. type: number
  15150. ask7:
  15151. description: 卖7
  15152. type: number
  15153. ask8:
  15154. description: 卖8
  15155. type: number
  15156. ask9:
  15157. description: 卖9
  15158. type: number
  15159. ask10:
  15160. description: 卖10
  15161. type: number
  15162. askorderid:
  15163. description: 卖单号1
  15164. type: integer
  15165. askorderid2:
  15166. description: 卖单号2
  15167. type: integer
  15168. askorderid3:
  15169. description: 卖单号3
  15170. type: integer
  15171. askorderid4:
  15172. description: 卖单号4
  15173. type: integer
  15174. askorderid5:
  15175. description: 卖单号5
  15176. type: integer
  15177. askordervolume:
  15178. description: 卖单量1
  15179. type: integer
  15180. askordervolume2:
  15181. description: 卖单量2
  15182. type: integer
  15183. askordervolume3:
  15184. description: 卖单量3
  15185. type: integer
  15186. askordervolume4:
  15187. description: 卖单量4
  15188. type: integer
  15189. askordervolume5:
  15190. description: 卖单量5
  15191. type: integer
  15192. askordervolume6:
  15193. description: 卖单量6
  15194. type: integer
  15195. askordervolume7:
  15196. description: 卖单量7
  15197. type: integer
  15198. askordervolume8:
  15199. description: 卖单量8
  15200. type: integer
  15201. askordervolume9:
  15202. description: 卖单量9
  15203. type: integer
  15204. askordervolume10:
  15205. description: 卖单量10
  15206. type: integer
  15207. askqueueinfo:
  15208. description: 大利市卖港股用
  15209. type: string
  15210. askvolume:
  15211. description: 卖量1
  15212. type: integer
  15213. askvolume2:
  15214. description: 卖量2
  15215. type: integer
  15216. askvolume3:
  15217. description: 卖量3
  15218. type: integer
  15219. askvolume4:
  15220. description: 卖量4
  15221. type: integer
  15222. askvolume5:
  15223. description: 卖量5
  15224. type: integer
  15225. askvolume6:
  15226. description: 卖量6
  15227. type: integer
  15228. askvolume7:
  15229. description: 卖量7
  15230. type: integer
  15231. askvolume8:
  15232. description: 卖量8
  15233. type: integer
  15234. askvolume9:
  15235. description: 卖量9
  15236. type: integer
  15237. askvolume10:
  15238. description: 卖量10
  15239. type: integer
  15240. averageprice:
  15241. description: 均价
  15242. type: number
  15243. bid:
  15244. description: 买1
  15245. type: number
  15246. bid2:
  15247. description: 买2
  15248. type: number
  15249. bid3:
  15250. description: 买3
  15251. type: number
  15252. bid4:
  15253. description: 买4
  15254. type: number
  15255. bid5:
  15256. description: 买5
  15257. type: number
  15258. bid6:
  15259. description: 买6
  15260. type: number
  15261. bid7:
  15262. description: 买7
  15263. type: number
  15264. bid8:
  15265. description: 买8
  15266. type: number
  15267. bid9:
  15268. description: 买9
  15269. type: number
  15270. bid10:
  15271. description: 买10
  15272. type: number
  15273. bidorderid:
  15274. description: 买单号1
  15275. type: integer
  15276. bidorderid2:
  15277. description: 买单号2
  15278. type: integer
  15279. bidorderid3:
  15280. description: 买单号3
  15281. type: integer
  15282. bidorderid4:
  15283. description: 买单号4
  15284. type: integer
  15285. bidorderid5:
  15286. description: 买单号5
  15287. type: integer
  15288. bidordervolume:
  15289. description: 买单量1
  15290. type: integer
  15291. bidordervolume2:
  15292. description: 买单量2
  15293. type: integer
  15294. bidordervolume3:
  15295. description: 买单量3
  15296. type: integer
  15297. bidordervolume4:
  15298. description: 买单量4
  15299. type: integer
  15300. bidordervolume5:
  15301. description: 买单量5
  15302. type: integer
  15303. bidordervolume6:
  15304. description: 买单量6
  15305. type: integer
  15306. bidordervolume7:
  15307. description: 买单量7
  15308. type: integer
  15309. bidordervolume8:
  15310. description: 买单量8
  15311. type: integer
  15312. bidordervolume9:
  15313. description: 买单量9
  15314. type: integer
  15315. bidordervolume10:
  15316. description: 买单量10
  15317. type: integer
  15318. bidqueueinfo:
  15319. description: 大利市买港股用
  15320. type: string
  15321. bidvolume:
  15322. description: 买量1
  15323. type: integer
  15324. bidvolume2:
  15325. description: 买量2
  15326. type: integer
  15327. bidvolume3:
  15328. description: 买量3
  15329. type: integer
  15330. bidvolume4:
  15331. description: 买量4
  15332. type: integer
  15333. bidvolume5:
  15334. description: 买量5
  15335. type: integer
  15336. bidvolume6:
  15337. description: 买量6
  15338. type: integer
  15339. bidvolume7:
  15340. description: 买量7
  15341. type: integer
  15342. bidvolume8:
  15343. description: 买量8
  15344. type: integer
  15345. bidvolume9:
  15346. description: 买量9
  15347. type: integer
  15348. bidvolume10:
  15349. description: 买量10
  15350. type: integer
  15351. calloptionpremiums:
  15352. description: 认购期权1
  15353. type: integer
  15354. calloptionpremiums2:
  15355. description: 认购期权2
  15356. type: integer
  15357. calloptionpremiums3:
  15358. description: 认购期权3
  15359. type: integer
  15360. calloptionpremiums4:
  15361. description: 认购期权4
  15362. type: integer
  15363. calloptionpremiums5:
  15364. description: 认购期权5
  15365. type: integer
  15366. cleartime:
  15367. description: 清盘时间
  15368. type: integer
  15369. exchangecode:
  15370. description: 交易所代码
  15371. type: integer
  15372. exchangedate:
  15373. description: 交易日
  15374. type: integer
  15375. goodscode:
  15376. description: 商品代码
  15377. type: string
  15378. grepmarketprice:
  15379. description: 暗盘价 港股专用
  15380. type: number
  15381. highest:
  15382. description: 最高价
  15383. type: number
  15384. holdincrement:
  15385. description: 单笔持仓
  15386. type: integer
  15387. holdvolume:
  15388. description: 持仓
  15389. type: integer
  15390. iep:
  15391. description: 平衡价 港股专用
  15392. type: number
  15393. iev:
  15394. description: 平衡量 港股专用
  15395. type: number
  15396. inventory:
  15397. description: 库存
  15398. type: integer
  15399. iscleared:
  15400. description: 是否清盘标志
  15401. type: integer
  15402. issettled:
  15403. description: 是否结算标志
  15404. type: integer
  15405. last:
  15406. description: 最新价
  15407. type: number
  15408. lastlot:
  15409. description: 最新成交手数
  15410. type: integer
  15411. lasttime:
  15412. description: 行情时间(只有现价变化行情时间才变化)
  15413. type: string
  15414. lastturnover:
  15415. description: 最新成交金额
  15416. type: number
  15417. lastvolume:
  15418. description: 最新成交量
  15419. type: integer
  15420. limitdown:
  15421. description: 跌停价
  15422. type: number
  15423. limitup:
  15424. description: 涨停价
  15425. type: number
  15426. lowest:
  15427. description: 最低价
  15428. type: number
  15429. nontotalholdervolume:
  15430. description: 非交易持仓量
  15431. type: integer
  15432. nontotallot:
  15433. description: 非交易总手数
  15434. type: integer
  15435. nontotalturnover:
  15436. description: 非交易总金额
  15437. type: integer
  15438. nontotalvolume:
  15439. description: 非交易总量
  15440. type: integer
  15441. opened:
  15442. description: 开盘价
  15443. type: number
  15444. opentime:
  15445. description: 开盘时间
  15446. type: string
  15447. orderid:
  15448. description: 序号
  15449. type: integer
  15450. preclose:
  15451. description: 昨收
  15452. type: number
  15453. preholdvolume:
  15454. description: 昨持仓
  15455. type: integer
  15456. presettle:
  15457. description: 昨结价
  15458. type: number
  15459. publictradetype:
  15460. description: 公共交易标志类型 港股专用
  15461. type: string
  15462. putoptionpremiums:
  15463. description: 认沽期权1
  15464. type: integer
  15465. putoptionpremiums2:
  15466. description: 认沽期权2
  15467. type: integer
  15468. putoptionpremiums3:
  15469. description: 认沽期权3
  15470. type: integer
  15471. putoptionpremiums4:
  15472. description: 认沽期权4
  15473. type: integer
  15474. putoptionpremiums5:
  15475. description: 认沽期权5
  15476. type: integer
  15477. settle:
  15478. description: 结算价
  15479. type: number
  15480. strikeprice:
  15481. description: 发行价
  15482. type: number
  15483. totalaskvolume:
  15484. description: 内盘
  15485. type: integer
  15486. totalbidvolume:
  15487. description: 外盘
  15488. type: integer
  15489. totallot:
  15490. description: 总手数
  15491. type: integer
  15492. totalturnover:
  15493. description: 总金额
  15494. type: number
  15495. totalvolume:
  15496. description: 总量
  15497. type: integer
  15498. utclasttime:
  15499. description: utc的行情时间
  15500. type: string
  15501. type: object
  15502. quote.QueryTSDataRsp:
  15503. properties:
  15504. Count:
  15505. description: 交易日应有数据个数
  15506. type: integer
  15507. decimalPlace:
  15508. description: 小数位
  15509. type: integer
  15510. endTime:
  15511. description: 结束时间
  15512. type: string
  15513. goodsCode:
  15514. description: 商品代码
  15515. type: string
  15516. historyDatas:
  15517. description: 历史数据
  15518. items:
  15519. $ref: '#/definitions/quote.HistoryData'
  15520. type: array
  15521. outGoodsCode:
  15522. description: 外部商品代码
  15523. type: string
  15524. preSettle:
  15525. description: 昨结价
  15526. type: number
  15527. runSteps:
  15528. description: 交易日开休市计划
  15529. items:
  15530. $ref: '#/definitions/quote.TSDataRunStep'
  15531. type: array
  15532. startTime:
  15533. description: 开始时间
  15534. type: string
  15535. tradeDate:
  15536. description: 交易日
  15537. type: string
  15538. type: object
  15539. quote.TSDataRunStep:
  15540. properties:
  15541. end:
  15542. description: 真实结束时间
  15543. type: string
  15544. endflag:
  15545. description: 结束日标识 - (-1:上日 0:当日 1:次日 )
  15546. type: integer
  15547. endtime:
  15548. description: 结束时间(HH:mm)
  15549. type: string
  15550. endweekday:
  15551. description: 结束周几
  15552. type: integer
  15553. groupid:
  15554. description: 分组ID
  15555. type: integer
  15556. runstep:
  15557. description: 运行阶段 - 2:连续交易
  15558. type: integer
  15559. sectionid:
  15560. description: 从 1 开始 往下编 [0为系统清盘、结算时间] SectionId = 0时,开始时间=清盘时间 开始周几= 清盘周几,
  15561. 结束时间=结算时间 结束周几=结算周几
  15562. type: integer
  15563. start:
  15564. description: 真实开始时间
  15565. type: string
  15566. startflag:
  15567. description: 开始日标识 - (-1:上日 0:当日 1:次日 )
  15568. type: integer
  15569. starttime:
  15570. description: 起始时间(HH:mm)
  15571. type: string
  15572. startweekday:
  15573. description: 起始周几
  15574. type: integer
  15575. tradeweekday:
  15576. description: 交易日归属 - 0:星期天、1:星期一、2:星期二、3:星期三、4:星期四、5:星期五、6:星期六
  15577. type: integer
  15578. type: object
  15579. szdz.QueryConvertLogRsp:
  15580. properties:
  15581. accountid:
  15582. description: 资金账户ID
  15583. type: integer
  15584. clientticket:
  15585. description: 客户端流水号
  15586. type: string
  15587. converttype:
  15588. description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞 4:交易转金点拍
  15589. type: integer
  15590. createtime:
  15591. description: 记账时间
  15592. type: string
  15593. daymaxvalue:
  15594. description: 配置当日最大转入限制
  15595. type: number
  15596. daymaxvalue2:
  15597. description: 配置当日最大转入限制(转入)
  15598. type: number
  15599. goodscode:
  15600. description: 商品代码
  15601. type: string
  15602. goodsname:
  15603. description: 商品名称
  15604. type: string
  15605. handlestatus:
  15606. description: 处理状态
  15607. type: integer
  15608. innergoodsid:
  15609. description: 内部商品ID
  15610. type: integer
  15611. inratio:
  15612. description: 配置转入比值
  15613. type: integer
  15614. invalue:
  15615. description: 目标值
  15616. type: number
  15617. logid:
  15618. description: LogID(901+Unix秒时间戳(10位)+2位(MarketServiceID)+xxxx)
  15619. type: integer
  15620. mobile:
  15621. description: 手机号码(加密存储)
  15622. type: string
  15623. outergoodscode:
  15624. description: 外部商品代码[JD\PD]
  15625. type: string
  15626. outratio:
  15627. description: 配置转出比值
  15628. type: integer
  15629. outvalue:
  15630. description: 源值
  15631. type: number
  15632. pddecimalplace:
  15633. description: PD小数位
  15634. type: integer
  15635. qty:
  15636. description: 数量
  15637. type: string
  15638. remark:
  15639. description: 备注
  15640. type: string
  15641. sessionid:
  15642. description: 会话ID
  15643. type: integer
  15644. timemaxvalue:
  15645. description: 配置单次最大转入限制
  15646. type: number
  15647. timemaxvalue2:
  15648. description: 配置单次最大转入限制(转入)
  15649. type: number
  15650. timeminvalue:
  15651. description: 配置单次最小数量限制
  15652. type: number
  15653. timeminvalue2:
  15654. description: 配置单次最小数量限制(转入)
  15655. type: number
  15656. tradedate:
  15657. description: 交易日(yyyyMMdd)
  15658. type: string
  15659. userid:
  15660. description: 用户ID
  15661. type: integer
  15662. required:
  15663. - logid
  15664. type: object
  15665. szdz.QueryGoodsPickupRsp:
  15666. properties:
  15667. accountid:
  15668. description: 账户ID
  15669. type: integer
  15670. address:
  15671. description: 提货人详细地址
  15672. type: string
  15673. auditer:
  15674. description: 审核人
  15675. type: integer
  15676. audittime:
  15677. description: 审核时间
  15678. type: string
  15679. cardnum:
  15680. description: 提货人证件号码
  15681. type: string
  15682. cardtypeid:
  15683. description: 提货人证件类型
  15684. type: integer
  15685. checkremark:
  15686. description: 审核备注
  15687. type: string
  15688. goodscode:
  15689. description: 商品代码
  15690. type: string
  15691. goodsid:
  15692. description: 商品ID
  15693. type: integer
  15694. goodsname:
  15695. description: 商品名称
  15696. type: string
  15697. handlestatus:
  15698. description: 处理状态
  15699. type: integer
  15700. marketid:
  15701. description: 市场ID
  15702. type: integer
  15703. phonenum:
  15704. description: 提货人联系方式
  15705. type: string
  15706. qty:
  15707. description: 提货数量
  15708. type: number
  15709. recivername:
  15710. description: 提货人姓名
  15711. type: string
  15712. reqtime:
  15713. description: 更新时间
  15714. type: string
  15715. takemode:
  15716. description: 提货方式 - 2:自提 3:配送
  15717. type: integer
  15718. takeorderid:
  15719. description: 提货单号(905+Unix秒时间戳(10位)+xxxxxx)
  15720. type: string
  15721. takeorderstatus:
  15722. description: 提货状态 - 1:待发货 2:已发货 3:已收货
  15723. type: integer
  15724. takeremark:
  15725. description: 提货备注
  15726. type: string
  15727. tradedate:
  15728. description: 交易日(yyyyMMdd)
  15729. type: string
  15730. userid:
  15731. description: 用户ID
  15732. type: integer
  15733. required:
  15734. - takeorderid
  15735. type: object
  15736. szdz.QueryRecieptOrderRsp:
  15737. properties:
  15738. accountName:
  15739. description: 所属账号名称(已脱敏)
  15740. type: string
  15741. accountid:
  15742. description: 资金账号
  15743. type: integer
  15744. buyorsell:
  15745. description: 方向 - 0:买 1:卖
  15746. type: integer
  15747. enableqty:
  15748. description: 可摘数量
  15749. type: integer
  15750. goodscode:
  15751. description: 商品代码
  15752. type: string
  15753. goodsid:
  15754. description: 商品ID
  15755. type: integer
  15756. goodsname:
  15757. description: 商品名称
  15758. type: string
  15759. orderid:
  15760. description: 委托单号
  15761. type: string
  15762. orderprice:
  15763. description: 委托价格
  15764. type: number
  15765. ordertime:
  15766. description: 委托时间
  15767. type: string
  15768. tradedate:
  15769. description: 交易日(yyyyMMdd)
  15770. type: string
  15771. required:
  15772. - ordertime
  15773. type: object
  15774. szdz.QuerySZDZTradePositionRsp:
  15775. properties:
  15776. accountid:
  15777. description: 账号Id
  15778. type: integer
  15779. agreeunit:
  15780. description: 合约单位
  15781. type: number
  15782. averageprice:
  15783. description: 持仓均价
  15784. type: number
  15785. buyorsell:
  15786. description: 方向 - 0:买 1:卖
  15787. type: integer
  15788. closetotalqty:
  15789. description: 平仓总数量
  15790. type: integer
  15791. curholderamount:
  15792. description: 当前持仓总金额
  15793. type: number
  15794. curpositionqty:
  15795. description: 当前持仓总数量
  15796. type: integer
  15797. currencyid:
  15798. description: 报价货币ID
  15799. type: integer
  15800. curtdposition:
  15801. description: 期末今日头寸
  15802. type: integer
  15803. decimalplace:
  15804. description: 报价小数位
  15805. type: integer
  15806. enableqty:
  15807. description: 可用量
  15808. type: integer
  15809. fretdposition:
  15810. description: 冻结今日头寸
  15811. type: integer
  15812. frozenqty:
  15813. description: 持仓冻结数量
  15814. type: integer
  15815. goodscode:
  15816. description: 商品代码(内部)
  15817. type: string
  15818. goodsid:
  15819. description: 商品Id
  15820. type: integer
  15821. goodsname:
  15822. description: 商品名称
  15823. type: string
  15824. goodunit:
  15825. description: 报价单位
  15826. type: string
  15827. goodunitid:
  15828. description: 报价单位ID
  15829. type: integer
  15830. holderamount:
  15831. description: 期初持仓总金额
  15832. type: number
  15833. marketid:
  15834. description: 市场ID
  15835. type: integer
  15836. openreqqty:
  15837. description: 开仓申请数量
  15838. type: integer
  15839. opentotalqty:
  15840. description: 开仓总数量
  15841. type: integer
  15842. otherfrozenqty:
  15843. description: 持仓其他冻结数量(交割冻结)
  15844. type: integer
  15845. positionqty:
  15846. description: 期初持仓数量
  15847. type: integer
  15848. szdz3freezqty:
  15849. description: 尚志大宗转换冻结总数量
  15850. type: integer
  15851. tnqty:
  15852. description: T+N冻结总量
  15853. type: integer
  15854. tnusedqty:
  15855. description: T+N使用量
  15856. type: integer
  15857. trademode:
  15858. description: 交易模式
  15859. type: integer
  15860. usedmargin:
  15861. description: 占用保证金
  15862. type: number
  15863. type: object
  15864. taaccount.QueryAmountLogRsp:
  15865. properties:
  15866. OPERATETYPENAME:
  15867. description: 资金操作类型名称
  15868. type: string
  15869. accountid:
  15870. description: 资金账户ID
  15871. type: integer
  15872. agoodscode:
  15873. description: 竞拍商品代码
  15874. type: string
  15875. agoodsname:
  15876. description: 竞拍商品名称
  15877. type: string
  15878. amount:
  15879. description: 资金金额
  15880. type: number
  15881. amountadjusttype:
  15882. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  15883. type: integer
  15884. autoid:
  15885. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  15886. type: integer
  15887. balance:
  15888. description: 期初余额
  15889. type: number
  15890. businesscode:
  15891. description: 业务编号
  15892. type: integer
  15893. createtime:
  15894. description: 发生时间
  15895. type: string
  15896. currencyid:
  15897. description: 币种ID
  15898. type: integer
  15899. currentbalance:
  15900. description: 期末余额(变动后金额)
  15901. type: number
  15902. dgoodscode:
  15903. description: 交割商品代码
  15904. type: string
  15905. dgoodsname:
  15906. description: 交割商品名称
  15907. type: string
  15908. goodscode:
  15909. description: 商品代码
  15910. type: string
  15911. goodsid:
  15912. description: 商品ID
  15913. type: integer
  15914. goodsname:
  15915. description: 商品名称
  15916. type: string
  15917. marketid:
  15918. description: 市场ID
  15919. type: integer
  15920. marketname:
  15921. description: 市场名称
  15922. type: string
  15923. moneyticket:
  15924. description: 资金流水号:银行端流水号
  15925. type: integer
  15926. operatetype:
  15927. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  15928. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  15929. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  15930. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  15931. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  15932. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  15933. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  15934. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  15935. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  15936. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  15937. type: integer
  15938. relationorderid:
  15939. description: 关联单号
  15940. type: string
  15941. remark:
  15942. description: 备注
  15943. type: string
  15944. trademode:
  15945. description: 交易模式
  15946. type: integer
  15947. required:
  15948. - accountid
  15949. - amount
  15950. - amountadjusttype
  15951. - autoid
  15952. - balance
  15953. - createtime
  15954. - currentbalance
  15955. - operatetype
  15956. type: object
  15957. taaccount.QueryHisAmountLogRsp:
  15958. properties:
  15959. OPERATETYPENAME:
  15960. description: 资金操作类型名称
  15961. type: string
  15962. accountid:
  15963. description: 资金账户ID
  15964. type: integer
  15965. agoodscode:
  15966. description: 竞拍商品代码
  15967. type: string
  15968. agoodsname:
  15969. description: 竞拍商品名称
  15970. type: string
  15971. amount:
  15972. description: 资金金额
  15973. type: number
  15974. amountadjusttype:
  15975. description: 资金调整类型(默认值为0) - 0:系统 1:单边账调整 2:人工调整
  15976. type: integer
  15977. autoid:
  15978. description: 流水ID(220+Unix秒时间戳(10位)+xxxxxx)
  15979. type: integer
  15980. balance:
  15981. description: 期初余额
  15982. type: number
  15983. businesscode:
  15984. description: 业务编号
  15985. type: integer
  15986. createtime:
  15987. description: 发生时间
  15988. type: string
  15989. currencyid:
  15990. description: 币种ID
  15991. type: integer
  15992. currentbalance:
  15993. description: 期末余额(变动后金额)
  15994. type: number
  15995. dgoodscode:
  15996. description: 交割商品代码
  15997. type: string
  15998. dgoodsname:
  15999. description: 交割商品名称
  16000. type: string
  16001. goodscode:
  16002. description: 商品代码
  16003. type: string
  16004. goodsid:
  16005. description: 商品ID
  16006. type: integer
  16007. goodsname:
  16008. description: 商品名称
  16009. type: string
  16010. histradedate:
  16011. description: 历史交易日
  16012. type: string
  16013. isvaliddata:
  16014. description: 是否有效 - 0:无效 1:有效
  16015. type: integer
  16016. marketid:
  16017. description: 市场ID
  16018. type: integer
  16019. marketname:
  16020. description: 市场名称
  16021. type: string
  16022. moneyticket:
  16023. description: 资金流水号:银行端流水号
  16024. type: integer
  16025. operatetype:
  16026. description: 资金操作类型 (AccountFundCmdOp)- 101:入金 102:入金手续费 103:出金 104:出金冻结 105:出金解冻
  16027. 106:出金手续费 107:出金手续费冻结 108:出金手续费解冻 201:交易冻结 202:交易解冻 203:交易占用 204:交易解占用 205:交易手续费冻结
  16028. 206:交易手续费解冻 207:交易手续费 208:交易货款 209:交易盈亏 301:交割冻结 302:交割解冻 303:交割手续费 304:交割手续费冻结
  16029. 305:交割手续费解冻 306:交割货款 307:交割税款 401:结算盈亏 402:结算递延费 403:分润收入 404:延期分润 501:授信增加
  16030. 502:授信减少 503:转积分 504:转入 505:转出 506:转出冻结 507:转出解冻 601:履约金额冻结 602:履约最大冻结
  16031. 603:履约金额解冻 604:履约扣款 605:履约收款 606:履约违约手续费 607:履约违约收入 608:履约最大扣款 701:供应链金融冻结
  16032. 702:供应链金融解冻 703:供应链金融最大冻结 704:供应链金融利息 705:供应链金融货款 706:供应链金融押金 707:供应链金融最大扣款
  16033. 801:仓单贸易冻结 802:仓单贸易解冻 803:仓单贸易首付款 804:仓单贸易最大扣款 901:商城扣款冻结 902:商城扣款解冻 903:商城扣款
  16034. 904:商城收款 1001:期权冻结 1002:期权解冻 1003:期权权力金 1004:期权手续费冻结 1005:期权手续费解冻 1006:期权手续费
  16035. 1007:期权盈亏 1101:营销扣款 1102:营销收款
  16036. type: integer
  16037. relationorderid:
  16038. description: 关联单号
  16039. type: string
  16040. remark:
  16041. description: 备注
  16042. type: string
  16043. trademode:
  16044. description: 交易模式
  16045. type: integer
  16046. required:
  16047. - accountid
  16048. - amount
  16049. - amountadjusttype
  16050. - autoid
  16051. - balance
  16052. - createtime
  16053. - currentbalance
  16054. - histradedate
  16055. - operatetype
  16056. type: object
  16057. trade.QueryRecieptOrderRsp:
  16058. properties:
  16059. accountName:
  16060. description: 所属账号名称(已脱敏)
  16061. type: string
  16062. accountid:
  16063. description: 资金账号
  16064. type: integer
  16065. buyorsell:
  16066. description: 方向 - 0:买 1:卖
  16067. type: integer
  16068. enableqty:
  16069. description: 可摘数量
  16070. type: integer
  16071. goodscode:
  16072. description: 商品代码
  16073. type: string
  16074. goodsid:
  16075. description: 商品ID
  16076. type: integer
  16077. goodsname:
  16078. description: 商品名称
  16079. type: string
  16080. orderid:
  16081. description: 委托单号
  16082. type: string
  16083. orderprice:
  16084. description: 委托价格
  16085. type: number
  16086. ordertime:
  16087. description: 委托时间
  16088. type: string
  16089. tradedate:
  16090. description: 交易日(yyyyMMdd)
  16091. type: string
  16092. required:
  16093. - ordertime
  16094. type: object
  16095. user.LoginQueryRsp:
  16096. properties:
  16097. areaRoles:
  16098. description: 所属角色信息
  16099. items:
  16100. $ref: '#/definitions/models.Arearole'
  16101. type: array
  16102. externalExchanges:
  16103. description: 外部交易所
  16104. items:
  16105. $ref: '#/definitions/models.Externalexchange'
  16106. type: array
  16107. goodsgroups:
  16108. description: 商品组
  16109. items:
  16110. $ref: '#/definitions/models.Goodsgroup'
  16111. type: array
  16112. loginAccount:
  16113. $ref: '#/definitions/models.Loginaccount'
  16114. description: 登录账号
  16115. type: object
  16116. markets:
  16117. description: 市场
  16118. items:
  16119. $ref: '#/definitions/models.Market'
  16120. type: array
  16121. systemParams:
  16122. description: 系统参数
  16123. items:
  16124. $ref: '#/definitions/models.Systemparam'
  16125. type: array
  16126. userAccount:
  16127. $ref: '#/definitions/models.Useraccount'
  16128. description: 用户账号
  16129. type: object
  16130. userInfo:
  16131. $ref: '#/definitions/models.Userinfo'
  16132. description: 用户信息
  16133. type: object
  16134. username:
  16135. description: 用户姓名
  16136. type: string
  16137. type: object
  16138. info:
  16139. contact: {}
  16140. description: 新的查询服务,替代原通用查询服务。游客Token:c886a057f3d820d4dbc41473686c7c2d
  16141. license: {}
  16142. termsOfService: http://www.muchinfo.cn
  16143. title: MTP2.0 查询服务 API
  16144. version: "1.0"
  16145. paths:
  16146. /CPTrade/QueryCPTradeMyBidInfos:
  16147. get:
  16148. parameters:
  16149. - description: 资金账户
  16150. in: query
  16151. name: accountid
  16152. required: true
  16153. type: integer
  16154. - description: 预售市场ID
  16155. in: query
  16156. name: marketid
  16157. type: integer
  16158. - description: 预售商品ID
  16159. in: query
  16160. name: goodsid
  16161. type: integer
  16162. produces:
  16163. - application/json
  16164. responses:
  16165. "200":
  16166. description: OK
  16167. schema:
  16168. $ref: '#/definitions/cptrade.QueryCPTradeMyBidRsp'
  16169. "500":
  16170. description: Internal Server Error
  16171. schema:
  16172. $ref: '#/definitions/app.Response'
  16173. security:
  16174. - ApiKeyAuth: []
  16175. summary: 查询产能预售我的出价信息
  16176. tags:
  16177. - 产能预售
  16178. /CPTrade/QueryCPTradeOrderDetail:
  16179. get:
  16180. parameters:
  16181. - description: 预售商品ID
  16182. in: query
  16183. name: goodsid
  16184. type: integer
  16185. - description: 预售市场ID
  16186. in: query
  16187. name: marketid
  16188. type: integer
  16189. - description: 预售商品ID列表 - 格式:1,2,3
  16190. in: query
  16191. name: goodsids
  16192. type: string
  16193. produces:
  16194. - application/json
  16195. responses:
  16196. "200":
  16197. description: OK
  16198. schema:
  16199. $ref: '#/definitions/cptrade.QueryCPTradeOrderDetailRsq'
  16200. "500":
  16201. description: Internal Server Error
  16202. schema:
  16203. $ref: '#/definitions/app.Response'
  16204. security:
  16205. - ApiKeyAuth: []
  16206. summary: 查询产能预售委托单信息
  16207. tags:
  16208. - 产能预售
  16209. /CPTrade/QueryMyCPTradeGoods:
  16210. get:
  16211. parameters:
  16212. - description: 资金账户
  16213. in: query
  16214. name: accountid
  16215. required: true
  16216. type: integer
  16217. produces:
  16218. - application/json
  16219. responses:
  16220. "200":
  16221. description: OK
  16222. schema:
  16223. $ref: '#/definitions/cptrade.QueryMyCPTradeGoodsRsp'
  16224. "500":
  16225. description: Internal Server Error
  16226. schema:
  16227. $ref: '#/definitions/app.Response'
  16228. security:
  16229. - ApiKeyAuth: []
  16230. summary: 查询我的预售信息
  16231. tags:
  16232. - 产能预售
  16233. /CPTrade/QueryPositionCancel:
  16234. get:
  16235. parameters:
  16236. - description: 账户ID
  16237. in: query
  16238. name: userid
  16239. required: true
  16240. type: integer
  16241. - description: 注销ID
  16242. in: query
  16243. name: cancelid
  16244. type: integer
  16245. - description: 资金账户ID
  16246. in: query
  16247. name: accountid
  16248. type: integer
  16249. produces:
  16250. - application/json
  16251. responses:
  16252. "200":
  16253. description: OK
  16254. schema:
  16255. $ref: '#/definitions/cptrade.Cptradepositioncancel'
  16256. "500":
  16257. description: Internal Server Error
  16258. schema:
  16259. $ref: '#/definitions/app.Response'
  16260. security:
  16261. - ApiKeyAuth: []
  16262. summary: 查询远期订单注销申请信息
  16263. tags:
  16264. - 产能预售
  16265. /CPTrade/QueryPreasleApply:
  16266. get:
  16267. parameters:
  16268. - description: 账户ID
  16269. in: query
  16270. name: userid
  16271. required: true
  16272. type: integer
  16273. - description: 申请ID
  16274. in: query
  16275. name: applyid
  16276. type: integer
  16277. - description: 资金账户ID
  16278. in: query
  16279. name: accountid
  16280. type: integer
  16281. produces:
  16282. - application/json
  16283. responses:
  16284. "200":
  16285. description: OK
  16286. schema:
  16287. $ref: '#/definitions/cptrade.Cptradepresaleapply'
  16288. "500":
  16289. description: Internal Server Error
  16290. schema:
  16291. $ref: '#/definitions/app.Response'
  16292. security:
  16293. - ApiKeyAuth: []
  16294. summary: 查询产能预售申请信息
  16295. tags:
  16296. - 产能预售
  16297. /CPTrade/QueryPresaleGoodsEx:
  16298. get:
  16299. parameters:
  16300. - description: 预售商品ID
  16301. in: query
  16302. name: goodsid
  16303. type: integer
  16304. - description: 预售市场ID
  16305. in: query
  16306. name: marketid
  16307. type: integer
  16308. - description: 预售模式 - 1:一口价 2:大宗式竞拍
  16309. in: query
  16310. name: presalemode
  16311. type: integer
  16312. - description: 预售商品ID列表 - 格式:1,2,3
  16313. in: query
  16314. name: goodsids
  16315. type: string
  16316. - description: 预售商品代码
  16317. in: query
  16318. name: goodscode
  16319. type: string
  16320. produces:
  16321. - application/json
  16322. responses:
  16323. "200":
  16324. description: OK
  16325. schema:
  16326. $ref: '#/definitions/cptrade.QueryPresaleGoodsExRsp'
  16327. "500":
  16328. description: Internal Server Error
  16329. schema:
  16330. $ref: '#/definitions/app.Response'
  16331. security:
  16332. - ApiKeyAuth: []
  16333. summary: 查询产能预售商品扩展信息
  16334. tags:
  16335. - 产能预售
  16336. /CPTrade/QueryUserGoodsData:
  16337. get:
  16338. parameters:
  16339. - description: 资金账户ID
  16340. in: query
  16341. name: accountid
  16342. required: true
  16343. type: integer
  16344. produces:
  16345. - application/json
  16346. responses:
  16347. "200":
  16348. description: OK
  16349. schema:
  16350. $ref: '#/definitions/cptrade.Cptradeusergoodsdata'
  16351. "500":
  16352. description: Internal Server Error
  16353. schema:
  16354. $ref: '#/definitions/app.Response'
  16355. security:
  16356. - ApiKeyAuth: []
  16357. summary: 查询远期订单信息
  16358. tags:
  16359. - 产能预售
  16360. /Common/GetAllEnums:
  16361. get:
  16362. description: autoid传入后则返回这个ID之后的数据;如不传则返回所有
  16363. parameters:
  16364. - description: 起始自增ID
  16365. in: query
  16366. name: autoid
  16367. type: integer
  16368. produces:
  16369. - application/json
  16370. responses:
  16371. "200":
  16372. description: OK
  16373. schema:
  16374. $ref: '#/definitions/models.Enumdicitem'
  16375. "500":
  16376. description: Internal Server Error
  16377. schema:
  16378. $ref: '#/definitions/app.Response'
  16379. summary: 获取所有枚举信息
  16380. tags:
  16381. - 通用服务
  16382. /Common/GetClientMenus:
  16383. get:
  16384. parameters:
  16385. - description: 登录账号
  16386. in: query
  16387. name: loginID
  16388. required: true
  16389. type: integer
  16390. - description: 终端类型,0:PC 1:Mobile
  16391. in: query
  16392. name: clientType
  16393. type: integer
  16394. produces:
  16395. - application/json
  16396. responses:
  16397. "200":
  16398. description: OK
  16399. schema:
  16400. items:
  16401. $ref: '#/definitions/common.ClientMenu'
  16402. type: array
  16403. "500":
  16404. description: Internal Server Error
  16405. schema:
  16406. $ref: '#/definitions/app.Response'
  16407. security:
  16408. - ApiKeyAuth: []
  16409. summary: 获取交易端菜单
  16410. tags:
  16411. - 通用服务
  16412. /Common/GetDivisions:
  16413. get:
  16414. produces:
  16415. - application/json
  16416. responses:
  16417. "200":
  16418. description: OK
  16419. schema:
  16420. $ref: '#/definitions/models.Division'
  16421. "500":
  16422. description: Internal Server Error
  16423. schema:
  16424. $ref: '#/definitions/app.Response'
  16425. summary: 查询区域信息
  16426. tags:
  16427. - 通用服务
  16428. /Common/GetServerTime:
  16429. get:
  16430. produces:
  16431. - application/json
  16432. responses:
  16433. "200":
  16434. description: OK
  16435. schema:
  16436. $ref: '#/definitions/app.Response'
  16437. "500":
  16438. description: Internal Server Error
  16439. schema:
  16440. $ref: '#/definitions/app.Response'
  16441. summary: 获取服务器时间
  16442. tags:
  16443. - 通用服务
  16444. /Common/NoticeReaded:
  16445. post:
  16446. parameters:
  16447. - description: 登录账号
  16448. in: query
  16449. name: loginID
  16450. required: true
  16451. type: integer
  16452. - description: 通知公告ID
  16453. in: query
  16454. name: noticeID
  16455. required: true
  16456. type: integer
  16457. produces:
  16458. - application/json
  16459. responses:
  16460. "200":
  16461. description: OK
  16462. schema:
  16463. $ref: '#/definitions/app.Response'
  16464. "500":
  16465. description: Internal Server Error
  16466. schema:
  16467. $ref: '#/definitions/app.Response'
  16468. security:
  16469. - ApiKeyAuth: []
  16470. summary: 通知公告设置已读请求
  16471. tags:
  16472. - 通用服务
  16473. /Common/QueryErrorInfos:
  16474. get:
  16475. description: 如果传入rowNumber,则返回此rowNumber后的数据
  16476. parameters:
  16477. - description: 起始行号前索引
  16478. in: query
  16479. name: rowNumber
  16480. type: string
  16481. produces:
  16482. - application/json
  16483. responses:
  16484. "200":
  16485. description: OK
  16486. schema:
  16487. $ref: '#/definitions/models.QueryErrorInfosRsp'
  16488. "500":
  16489. description: Internal Server Error
  16490. schema:
  16491. $ref: '#/definitions/app.Response'
  16492. summary: 获取数据库错误信息
  16493. tags:
  16494. - 通用服务
  16495. /Common/QueryImageConfigs:
  16496. get:
  16497. parameters:
  16498. - description: 用户id
  16499. in: query
  16500. name: userId
  16501. type: integer
  16502. - description: 类型 - 1:App首页轮播 2:我的
  16503. in: query
  16504. name: imageType
  16505. type: integer
  16506. produces:
  16507. - application/json
  16508. responses:
  16509. "200":
  16510. description: OK
  16511. schema:
  16512. $ref: '#/definitions/common.QueryImageConfigsRsp'
  16513. "500":
  16514. description: Internal Server Error
  16515. schema:
  16516. $ref: '#/definitions/app.Response'
  16517. summary: 查询轮播图配置信息
  16518. tags:
  16519. - 通用服务
  16520. /Common/QueryNotice:
  16521. get:
  16522. parameters:
  16523. - description: 页码
  16524. in: query
  16525. name: page
  16526. type: integer
  16527. - description: 每页条数
  16528. in: query
  16529. name: pagesize
  16530. type: integer
  16531. - description: 登录账号
  16532. in: query
  16533. name: loginID
  16534. required: true
  16535. type: integer
  16536. - description: 消息类型 - 1:公告通知 2:系统消息
  16537. in: query
  16538. name: msgType
  16539. type: integer
  16540. - description: 是否只获取未读信息
  16541. in: query
  16542. name: onlyUnRead
  16543. type: boolean
  16544. - description: 自增ID,传入后会返回这个ID后面的记录
  16545. in: query
  16546. name: lastID
  16547. type: integer
  16548. produces:
  16549. - application/json
  16550. responses:
  16551. "200":
  16552. description: OK
  16553. schema:
  16554. $ref: '#/definitions/common.QueryNoticeRsp'
  16555. "500":
  16556. description: Internal Server Error
  16557. schema:
  16558. $ref: '#/definitions/app.Response'
  16559. security:
  16560. - ApiKeyAuth: []
  16561. summary: 通知公告系统消息查询
  16562. tags:
  16563. - 通用服务
  16564. /Common/QueryProvincesAndCities:
  16565. get:
  16566. parameters:
  16567. - description: 省ID
  16568. in: query
  16569. name: provinceID
  16570. type: integer
  16571. produces:
  16572. - application/json
  16573. responses:
  16574. "200":
  16575. description: OK
  16576. schema:
  16577. $ref: '#/definitions/common.QueryProvincesAndCitiesRsp'
  16578. "500":
  16579. description: Internal Server Error
  16580. schema:
  16581. $ref: '#/definitions/app.Response'
  16582. summary: 查询省市信息(不包括区)
  16583. tags:
  16584. - 通用服务
  16585. /Common/QueryTableDefine:
  16586. get:
  16587. parameters:
  16588. - description: 表key
  16589. in: query
  16590. name: tableKey
  16591. type: string
  16592. - description: 列表类型 - 1:管理端 2:H5终端 3:移动终端
  16593. in: query
  16594. name: tableType
  16595. type: integer
  16596. produces:
  16597. - application/json
  16598. responses:
  16599. "200":
  16600. description: OK
  16601. schema:
  16602. $ref: '#/definitions/common.QueryTableDefineRsp'
  16603. "500":
  16604. description: Internal Server Error
  16605. schema:
  16606. $ref: '#/definitions/app.Response'
  16607. summary: 查询交易端列表头信息
  16608. tags:
  16609. - 通用服务
  16610. /Common/QueryTraderMenu:
  16611. get:
  16612. parameters:
  16613. - description: 登录账号
  16614. in: query
  16615. name: loginid
  16616. required: true
  16617. type: integer
  16618. produces:
  16619. - application/json
  16620. responses:
  16621. "200":
  16622. description: OK
  16623. schema:
  16624. $ref: '#/definitions/common.QueryTraderMenuRsp'
  16625. "500":
  16626. description: Internal Server Error
  16627. schema:
  16628. $ref: '#/definitions/app.Response'
  16629. summary: 查询交易端菜单
  16630. tags:
  16631. - 通用服务
  16632. /Delivery/QueryDeliveryRelation:
  16633. get:
  16634. parameters:
  16635. - description: 商品ID
  16636. in: query
  16637. name: goodsid
  16638. type: integer
  16639. - description: 品种ID
  16640. in: query
  16641. name: deliverygoodsid
  16642. type: integer
  16643. - description: 市场ID
  16644. in: query
  16645. name: marketid
  16646. type: integer
  16647. produces:
  16648. - application/json
  16649. responses:
  16650. "200":
  16651. description: OK
  16652. schema:
  16653. $ref: '#/definitions/delivery.QueryDeliveryRelationRsp'
  16654. "500":
  16655. description: Internal Server Error
  16656. schema:
  16657. $ref: '#/definitions/app.Response'
  16658. security:
  16659. - ApiKeyAuth: []
  16660. summary: 查询商品交割关系表
  16661. tags:
  16662. - 交割服务
  16663. /Ermcp/GetErmcpGoods:
  16664. get:
  16665. parameters:
  16666. - description: 最后修改时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  16667. in: query
  16668. name: lastUpdateTime
  16669. type: string
  16670. produces:
  16671. - application/json
  16672. responses:
  16673. "200":
  16674. description: OK
  16675. schema:
  16676. $ref: '#/definitions/models.ErmcpGoods'
  16677. "500":
  16678. description: Internal Server Error
  16679. schema:
  16680. $ref: '#/definitions/app.Response'
  16681. security:
  16682. - ApiKeyAuth: []
  16683. summary: 查询企业风管期货商品信息
  16684. tags:
  16685. - 企业风险管理(app)
  16686. /Ermcp/GetErmcpGoodsSortByPosition:
  16687. get:
  16688. parameters:
  16689. - description: '主力: 1; 次主力: 2; 主力+次主力:1,2'
  16690. in: query
  16691. name: sortIndex
  16692. type: string
  16693. produces:
  16694. - application/json
  16695. responses:
  16696. "200":
  16697. description: OK
  16698. schema:
  16699. $ref: '#/definitions/models.Goodssortbypreposition'
  16700. "500":
  16701. description: Internal Server Error
  16702. schema:
  16703. $ref: '#/definitions/app.Response'
  16704. security:
  16705. - ApiKeyAuth: []
  16706. summary: 查询企业风管期货主力、次主力商品信息
  16707. tags:
  16708. - 企业风险管理(app)
  16709. /Ermcp/GetErmcpOutAccountStatus:
  16710. get:
  16711. parameters:
  16712. - description: 登录账号
  16713. in: query
  16714. name: loginID
  16715. required: true
  16716. type: integer
  16717. produces:
  16718. - application/json
  16719. responses:
  16720. "200":
  16721. description: OK
  16722. schema:
  16723. $ref: '#/definitions/models.Hedgemarketopenlog'
  16724. "500":
  16725. description: Internal Server Error
  16726. schema:
  16727. $ref: '#/definitions/app.Response'
  16728. security:
  16729. - ApiKeyAuth: []
  16730. summary: 获取目标登录账号当前对冲账号在线状态
  16731. tags:
  16732. - 企业风险管理(app)
  16733. /Ermcp/GetErmcpRoleFuncMenuLists:
  16734. get:
  16735. parameters:
  16736. - description: 登录账号
  16737. in: query
  16738. name: loginID
  16739. required: true
  16740. type: integer
  16741. produces:
  16742. - application/json
  16743. responses:
  16744. "200":
  16745. description: OK
  16746. schema:
  16747. $ref: '#/definitions/models.Funcmenulist'
  16748. "500":
  16749. description: Internal Server Error
  16750. schema:
  16751. $ref: '#/definitions/app.Response'
  16752. security:
  16753. - ApiKeyAuth: []
  16754. summary: 获取企业风管终端权限
  16755. tags:
  16756. - 企业风险管理(app)
  16757. /Ermcp/QueryAccMgrBizGroupSet:
  16758. get:
  16759. parameters:
  16760. - description: 用户ID
  16761. in: query
  16762. name: userid
  16763. required: true
  16764. type: integer
  16765. - description: 现货商品id
  16766. in: query
  16767. name: deliverygoodsid
  16768. type: integer
  16769. produces:
  16770. - application/json
  16771. responses:
  16772. "200":
  16773. description: OK
  16774. schema:
  16775. items:
  16776. $ref: '#/definitions/models.ErmcpBizGroupEx'
  16777. type: array
  16778. "500":
  16779. description: Internal Server Error
  16780. schema:
  16781. $ref: '#/definitions/app.Response'
  16782. security:
  16783. - ApiKeyAuth: []
  16784. summary: 查询业务类型分组(账户管理/账户设置)
  16785. tags:
  16786. - 企业风险管理(app)
  16787. /Ermcp/QueryAccMgrLoginUser:
  16788. get:
  16789. parameters:
  16790. - description: 用户ID
  16791. in: query
  16792. name: userid
  16793. required: true
  16794. type: integer
  16795. - description: 用户类型 2-机构 7-企业成员
  16796. in: query
  16797. name: usertype
  16798. type: integer
  16799. - description: 查询类型 1-业务账户 2-交易账户 3-管理账户
  16800. in: query
  16801. name: querytype
  16802. required: true
  16803. type: integer
  16804. produces:
  16805. - application/json
  16806. responses:
  16807. "200":
  16808. description: OK
  16809. schema:
  16810. items:
  16811. $ref: '#/definitions/models.ErmcpLoginUserEx'
  16812. type: array
  16813. "500":
  16814. description: Internal Server Error
  16815. schema:
  16816. $ref: '#/definitions/app.Response'
  16817. security:
  16818. - ApiKeyAuth: []
  16819. summary: 查询账户管理登录账号(账户管理/登录账号)
  16820. tags:
  16821. - 企业风险管理(app)
  16822. /Ermcp/QueryAccMgrMainAccountInfo:
  16823. get:
  16824. parameters:
  16825. - description: 用户ID
  16826. in: query
  16827. name: userid
  16828. type: integer
  16829. - description: 主账号id
  16830. in: query
  16831. name: accountid
  16832. type: integer
  16833. produces:
  16834. - application/json
  16835. responses:
  16836. "200":
  16837. description: OK
  16838. schema:
  16839. items:
  16840. $ref: '#/definitions/models.MainAccountInfo'
  16841. type: array
  16842. "500":
  16843. description: Internal Server Error
  16844. schema:
  16845. $ref: '#/definitions/app.Response'
  16846. security:
  16847. - ApiKeyAuth: []
  16848. summary: 查询账户管理主账号详情(账户管理/期货主账号详情)
  16849. tags:
  16850. - 企业风险管理(app)
  16851. /Ermcp/QueryAccMgrRole:
  16852. get:
  16853. parameters:
  16854. - description: 用户ID
  16855. in: query
  16856. name: userid
  16857. required: true
  16858. type: integer
  16859. produces:
  16860. - application/json
  16861. responses:
  16862. "200":
  16863. description: OK
  16864. schema:
  16865. items:
  16866. $ref: '#/definitions/models.ErmcpRole'
  16867. type: array
  16868. "500":
  16869. description: Internal Server Error
  16870. schema:
  16871. $ref: '#/definitions/app.Response'
  16872. security:
  16873. - ApiKeyAuth: []
  16874. summary: 查询账户管理角色设置(账户管理/角色设置)
  16875. tags:
  16876. - 企业风险管理(app)
  16877. /Ermcp/QueryAccMgrRoleMenu:
  16878. get:
  16879. parameters:
  16880. - description: 用户ID
  16881. in: query
  16882. name: userid
  16883. required: true
  16884. type: integer
  16885. - description: 角色id(可多个,逗号隔开)
  16886. in: query
  16887. name: roleid
  16888. type: string
  16889. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易 ps:新加的参数,为了兼容以前,不传则默认查3
  16890. in: query
  16891. name: menutype
  16892. type: integer
  16893. produces:
  16894. - application/json
  16895. responses:
  16896. "200":
  16897. description: OK
  16898. schema:
  16899. items:
  16900. $ref: '#/definitions/models.ErmcpRoleMenuEx'
  16901. type: array
  16902. "500":
  16903. description: Internal Server Error
  16904. schema:
  16905. $ref: '#/definitions/app.Response'
  16906. security:
  16907. - ApiKeyAuth: []
  16908. summary: 查询账户管理角色详情(账户管理/角色设置/角色详情)
  16909. tags:
  16910. - 企业风险管理(app)
  16911. /Ermcp/QueryAccMgrTaAccountInfo:
  16912. get:
  16913. parameters:
  16914. - description: 用户ID
  16915. in: query
  16916. name: userid
  16917. required: true
  16918. type: integer
  16919. - description: 账号id
  16920. in: query
  16921. name: accountid
  16922. type: integer
  16923. produces:
  16924. - application/json
  16925. responses:
  16926. "200":
  16927. description: OK
  16928. schema:
  16929. items:
  16930. $ref: '#/definitions/models.ErmcpTaAccountInfo'
  16931. type: array
  16932. "500":
  16933. description: Internal Server Error
  16934. schema:
  16935. $ref: '#/definitions/app.Response'
  16936. security:
  16937. - ApiKeyAuth: []
  16938. summary: 查询账户管理授信(账户管理/账户设置/授信)
  16939. tags:
  16940. - 企业风险管理(app)
  16941. /Ermcp/QueryAccMgrTaaccount:
  16942. get:
  16943. parameters:
  16944. - description: 用户ID
  16945. in: query
  16946. name: userid
  16947. required: true
  16948. type: integer
  16949. produces:
  16950. - application/json
  16951. responses:
  16952. "200":
  16953. description: OK
  16954. schema:
  16955. items:
  16956. $ref: '#/definitions/models.ErmcpTaAccountEx'
  16957. type: array
  16958. "500":
  16959. description: Internal Server Error
  16960. schema:
  16961. $ref: '#/definitions/app.Response'
  16962. security:
  16963. - ApiKeyAuth: []
  16964. summary: 查询账户管理期货账号(账户管理/期货账号)
  16965. tags:
  16966. - 企业风险管理(app)
  16967. /Ermcp/QueryAvaildGoodsGroup:
  16968. get:
  16969. parameters:
  16970. - description: 所属机构ID
  16971. in: query
  16972. name: userid
  16973. required: true
  16974. type: integer
  16975. produces:
  16976. - application/json
  16977. responses:
  16978. "200":
  16979. description: OK
  16980. schema:
  16981. items:
  16982. $ref: '#/definitions/ermcp.QryAvalidGPRsp'
  16983. type: array
  16984. "500":
  16985. description: Internal Server Error
  16986. schema:
  16987. $ref: '#/definitions/app.Response'
  16988. security:
  16989. - ApiKeyAuth: []
  16990. summary: 查询可配置期货品种(菜单:商品信息/现货商品/新增现货商品/新增套保品种)
  16991. tags:
  16992. - 企业风险管理(app)
  16993. /Ermcp/QueryBusinessDj:
  16994. get:
  16995. parameters:
  16996. - description: 用户ID
  16997. in: query
  16998. name: UserId
  16999. required: true
  17000. type: integer
  17001. - description: 用户类型 2-机构 7-企业成员
  17002. in: query
  17003. name: usertype
  17004. type: integer
  17005. - description: 现货合同ID, 不填则查所有
  17006. in: query
  17007. name: relatedid
  17008. type: string
  17009. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  17010. in: query
  17011. name: applystatus
  17012. type: string
  17013. produces:
  17014. - application/json
  17015. responses:
  17016. "200":
  17017. description: OK
  17018. schema:
  17019. items:
  17020. $ref: '#/definitions/ermcp.QryBusinessDjRsp'
  17021. type: array
  17022. "500":
  17023. description: Internal Server Error
  17024. schema:
  17025. $ref: '#/definitions/app.Response'
  17026. security:
  17027. - ApiKeyAuth: []
  17028. summary: 查询业务管理(点价)(对应菜单:业务管理/点价)
  17029. tags:
  17030. - 企业风险管理(app)
  17031. /Ermcp/QueryBusinessFp:
  17032. get:
  17033. parameters:
  17034. - description: 用户ID
  17035. in: query
  17036. name: UserId
  17037. required: true
  17038. type: integer
  17039. - description: 用户类型 2-机构 7-企业成员
  17040. in: query
  17041. name: usertype
  17042. type: integer
  17043. - description: 现货合同ID, 不填则查所有
  17044. in: query
  17045. name: relatedid
  17046. type: string
  17047. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  17048. in: query
  17049. name: applystatus
  17050. type: string
  17051. produces:
  17052. - application/json
  17053. responses:
  17054. "200":
  17055. description: OK
  17056. schema:
  17057. items:
  17058. $ref: '#/definitions/ermcp.QryBussinessFpRsp'
  17059. type: array
  17060. "500":
  17061. description: Internal Server Error
  17062. schema:
  17063. $ref: '#/definitions/app.Response'
  17064. security:
  17065. - ApiKeyAuth: []
  17066. summary: 查询财务管理(发票)(对应菜单:财务管理/发票)
  17067. tags:
  17068. - 企业风险管理(app)
  17069. /Ermcp/QueryBusinessJs:
  17070. get:
  17071. parameters:
  17072. - description: 用户ID
  17073. in: query
  17074. name: UserId
  17075. required: true
  17076. type: integer
  17077. - description: 用户类型 2-机构 7-企业成员
  17078. in: query
  17079. name: usertype
  17080. type: integer
  17081. - description: 现货合同ID, 不填则查所有
  17082. in: query
  17083. name: relatedid
  17084. type: string
  17085. - description: 操作申请id
  17086. in: query
  17087. name: operateapplyid
  17088. type: string
  17089. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  17090. in: query
  17091. name: applystatus
  17092. type: string
  17093. produces:
  17094. - application/json
  17095. responses:
  17096. "200":
  17097. description: OK
  17098. schema:
  17099. items:
  17100. $ref: '#/definitions/ermcp.QryBussinessJsRsp'
  17101. type: array
  17102. "500":
  17103. description: Internal Server Error
  17104. schema:
  17105. $ref: '#/definitions/app.Response'
  17106. security:
  17107. - ApiKeyAuth: []
  17108. summary: 查询业务管理(结算)(对应菜单:业务管理/结算)
  17109. tags:
  17110. - 企业风险管理(app)
  17111. /Ermcp/QueryBusinessJsEx:
  17112. get:
  17113. parameters:
  17114. - description: 用户ID
  17115. in: query
  17116. name: UserId
  17117. required: true
  17118. type: integer
  17119. - description: 用户类型 2-机构 7-企业成员
  17120. in: query
  17121. name: usertype
  17122. type: integer
  17123. - description: 现货合同ID, 不填则查所有
  17124. in: query
  17125. name: relatedid
  17126. type: string
  17127. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  17128. in: query
  17129. name: applystatus
  17130. type: string
  17131. produces:
  17132. - application/json
  17133. responses:
  17134. "200":
  17135. description: OK
  17136. schema:
  17137. items:
  17138. $ref: '#/definitions/ermcp.QryBussinessJsExRsp'
  17139. type: array
  17140. "500":
  17141. description: Internal Server Error
  17142. schema:
  17143. $ref: '#/definitions/app.Response'
  17144. security:
  17145. - ApiKeyAuth: []
  17146. summary: 查询业务管理(结算)(对应菜单:业务管理/结算[拆分记录])
  17147. tags:
  17148. - 企业风险管理(app)
  17149. /Ermcp/QueryBusinessKx:
  17150. get:
  17151. parameters:
  17152. - description: 用户ID
  17153. in: query
  17154. name: UserId
  17155. required: true
  17156. type: integer
  17157. - description: 用户类型 2-机构 7-企业成员
  17158. in: query
  17159. name: usertype
  17160. type: integer
  17161. - description: 现货合同ID, 不填则查所有
  17162. in: query
  17163. name: relatedid
  17164. type: string
  17165. - description: 申请状态(逗号隔开) 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  17166. in: query
  17167. name: applystatus
  17168. type: string
  17169. produces:
  17170. - application/json
  17171. responses:
  17172. "200":
  17173. description: OK
  17174. schema:
  17175. items:
  17176. $ref: '#/definitions/ermcp.QryBussinessKxRsp'
  17177. type: array
  17178. "500":
  17179. description: Internal Server Error
  17180. schema:
  17181. $ref: '#/definitions/app.Response'
  17182. security:
  17183. - ApiKeyAuth: []
  17184. summary: 查询财务管理(款项)(对应菜单:财务管理/款项)
  17185. tags:
  17186. - 企业风险管理(app)
  17187. /Ermcp/QueryChangeLog:
  17188. get:
  17189. parameters:
  17190. - description: 合同ID
  17191. in: query
  17192. name: RelatedId
  17193. required: true
  17194. type: string
  17195. produces:
  17196. - application/json
  17197. responses:
  17198. "200":
  17199. description: OK
  17200. schema:
  17201. items:
  17202. $ref: '#/definitions/ermcp.QryOPLogRsp'
  17203. type: array
  17204. "500":
  17205. description: Internal Server Error
  17206. schema:
  17207. $ref: '#/definitions/app.Response'
  17208. security:
  17209. - ApiKeyAuth: []
  17210. summary: 查询变更记录
  17211. tags:
  17212. - 企业风险管理(app)
  17213. /Ermcp/QueryErmcpHisOrderDetails:
  17214. get:
  17215. parameters:
  17216. - description: 资金账户ID
  17217. in: query
  17218. name: accountID
  17219. required: true
  17220. type: integer
  17221. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  17222. in: query
  17223. name: startDate
  17224. type: string
  17225. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  17226. in: query
  17227. name: endDate
  17228. type: string
  17229. produces:
  17230. - application/json
  17231. responses:
  17232. "200":
  17233. description: OK
  17234. schema:
  17235. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  17236. "500":
  17237. description: Internal Server Error
  17238. schema:
  17239. $ref: '#/definitions/app.Response'
  17240. security:
  17241. - ApiKeyAuth: []
  17242. summary: 获取企业风管期货历史委托单信息
  17243. tags:
  17244. - 企业风险管理(app)
  17245. /Ermcp/QueryErmcpHisTradeDetails:
  17246. get:
  17247. parameters:
  17248. - description: 资金账户ID
  17249. in: query
  17250. name: accountID
  17251. required: true
  17252. type: integer
  17253. - description: 商品ID
  17254. in: query
  17255. name: goodsID
  17256. type: integer
  17257. - description: 买卖方向,0:买 1:卖
  17258. in: query
  17259. name: buyOrSell
  17260. type: integer
  17261. - description: 关联委托单号
  17262. in: query
  17263. name: orderID
  17264. type: integer
  17265. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  17266. in: query
  17267. name: startDate
  17268. type: string
  17269. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  17270. in: query
  17271. name: endDate
  17272. type: string
  17273. produces:
  17274. - application/json
  17275. responses:
  17276. "200":
  17277. description: OK
  17278. schema:
  17279. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  17280. "500":
  17281. description: Internal Server Error
  17282. schema:
  17283. $ref: '#/definitions/app.Response'
  17284. security:
  17285. - ApiKeyAuth: []
  17286. summary: 获取企业风管期货历史成交单信息
  17287. tags:
  17288. - 企业风险管理(app)
  17289. /Ermcp/QueryErmcpInnerHolderDetails:
  17290. get:
  17291. parameters:
  17292. - description: 资金账户ID
  17293. in: query
  17294. name: accountID
  17295. required: true
  17296. type: integer
  17297. - description: 商品ID
  17298. in: query
  17299. name: goodsID
  17300. type: integer
  17301. - description: 买卖方向,0:买 1:卖
  17302. in: query
  17303. name: buyOrSell
  17304. type: integer
  17305. produces:
  17306. - application/json
  17307. responses:
  17308. "200":
  17309. description: OK
  17310. schema:
  17311. $ref: '#/definitions/models.Hedgeinnerholderdetail'
  17312. "500":
  17313. description: Internal Server Error
  17314. schema:
  17315. $ref: '#/definitions/app.Response'
  17316. security:
  17317. - ApiKeyAuth: []
  17318. summary: 获取企业风管期货内部持仓单信息
  17319. tags:
  17320. - 企业风险管理(app)
  17321. /Ermcp/QueryErmcpOrderDetails:
  17322. get:
  17323. parameters:
  17324. - description: 资金账户ID
  17325. in: query
  17326. name: accountID
  17327. required: true
  17328. type: integer
  17329. produces:
  17330. - application/json
  17331. responses:
  17332. "200":
  17333. description: OK
  17334. schema:
  17335. $ref: '#/definitions/models.QueryHedgeOrderDetailRsp'
  17336. "500":
  17337. description: Internal Server Error
  17338. schema:
  17339. $ref: '#/definitions/app.Response'
  17340. security:
  17341. - ApiKeyAuth: []
  17342. summary: 获取企业风管期货委托单信息
  17343. tags:
  17344. - 企业风险管理(app)
  17345. /Ermcp/QueryErmcpTradeDetails:
  17346. get:
  17347. parameters:
  17348. - description: 资金账户ID
  17349. in: query
  17350. name: accountID
  17351. required: true
  17352. type: integer
  17353. - description: 商品ID
  17354. in: query
  17355. name: goodsID
  17356. type: integer
  17357. - description: 买卖方向,0:买 1:卖
  17358. in: query
  17359. name: buyOrSell
  17360. type: integer
  17361. - description: 关联委托单号
  17362. in: query
  17363. name: orderID
  17364. type: integer
  17365. produces:
  17366. - application/json
  17367. responses:
  17368. "200":
  17369. description: OK
  17370. schema:
  17371. $ref: '#/definitions/models.QueryHedgeTradeDetailRsp'
  17372. "500":
  17373. description: Internal Server Error
  17374. schema:
  17375. $ref: '#/definitions/app.Response'
  17376. security:
  17377. - ApiKeyAuth: []
  17378. summary: 获取企业风管期货成交单信息
  17379. tags:
  17380. - 企业风险管理(app)
  17381. /Ermcp/QueryErmcpTradePosition:
  17382. get:
  17383. description: 本接口只使用于通道交易相关头寸查询;子账户持仓头寸占用保证金为0;
  17384. parameters:
  17385. - description: 资金账户ID
  17386. in: query
  17387. name: accountID
  17388. required: true
  17389. type: integer
  17390. - description: 所属市场ID
  17391. in: query
  17392. name: marketID
  17393. type: integer
  17394. produces:
  17395. - application/json
  17396. responses:
  17397. "200":
  17398. description: OK
  17399. schema:
  17400. $ref: '#/definitions/ermcp.QueryErmcpTradePositionRsp'
  17401. "500":
  17402. description: Internal Server Error
  17403. schema:
  17404. $ref: '#/definitions/app.Response'
  17405. security:
  17406. - ApiKeyAuth: []
  17407. summary: 获取企业风管期货持仓头寸信息
  17408. tags:
  17409. - 企业风险管理(app)
  17410. /Ermcp/QueryExposureDetail:
  17411. get:
  17412. parameters:
  17413. - description: 所属机构ID
  17414. in: query
  17415. name: areaUserId
  17416. required: true
  17417. type: integer
  17418. - description: 套保商品
  17419. in: query
  17420. name: middleGoodsId
  17421. required: true
  17422. type: integer
  17423. produces:
  17424. - application/json
  17425. responses:
  17426. "200":
  17427. description: OK
  17428. schema:
  17429. items:
  17430. $ref: '#/definitions/ermcp.ExposureDetailRsp'
  17431. type: array
  17432. "500":
  17433. description: Internal Server Error
  17434. schema:
  17435. $ref: '#/definitions/app.Response'
  17436. security:
  17437. - ApiKeyAuth: []
  17438. summary: 查询敞口现货明细
  17439. tags:
  17440. - 企业风险管理(app)
  17441. /Ermcp/QueryExposureGoods:
  17442. get:
  17443. parameters:
  17444. - description: 套保商品id
  17445. in: query
  17446. name: middlegoodsid
  17447. required: true
  17448. type: integer
  17449. produces:
  17450. - application/json
  17451. responses:
  17452. "200":
  17453. description: OK
  17454. schema:
  17455. items:
  17456. $ref: '#/definitions/models.ErmcpMiddlegoodsRelateGoods'
  17457. type: array
  17458. "500":
  17459. description: Internal Server Error
  17460. schema:
  17461. $ref: '#/definitions/app.Response'
  17462. security:
  17463. - ApiKeyAuth: []
  17464. summary: 查询敞口主力合约
  17465. tags:
  17466. - 企业风险管理(app)
  17467. /Ermcp/QueryExposureHedgePosition:
  17468. get:
  17469. parameters:
  17470. - description: 用户id
  17471. in: query
  17472. name: userid
  17473. required: true
  17474. type: integer
  17475. produces:
  17476. - application/json
  17477. responses:
  17478. "200":
  17479. description: OK
  17480. schema:
  17481. items:
  17482. $ref: '#/definitions/ermcp.ExposureHedgePositionRsp'
  17483. type: array
  17484. "500":
  17485. description: Internal Server Error
  17486. schema:
  17487. $ref: '#/definitions/app.Response'
  17488. security:
  17489. - ApiKeyAuth: []
  17490. summary: 查询敞口期货头寸(菜单:敞口/期货头寸)
  17491. tags:
  17492. - 企业风险管理(app)
  17493. /Ermcp/QueryExposureHedgePositionDetail:
  17494. get:
  17495. parameters:
  17496. - description: 所属机构ID
  17497. in: query
  17498. name: userid
  17499. required: true
  17500. type: integer
  17501. - description: 商品id
  17502. in: query
  17503. name: goodsId
  17504. required: true
  17505. type: integer
  17506. produces:
  17507. - application/json
  17508. responses:
  17509. "200":
  17510. description: OK
  17511. schema:
  17512. items:
  17513. $ref: '#/definitions/ermcp.ExposureHedgePosDetailRsp'
  17514. type: array
  17515. "500":
  17516. description: Internal Server Error
  17517. schema:
  17518. $ref: '#/definitions/app.Response'
  17519. security:
  17520. - ApiKeyAuth: []
  17521. summary: 查询敞口期货头寸期货明细(菜单:敞口/期货头寸/期货明细)
  17522. tags:
  17523. - 企业风险管理(app)
  17524. /Ermcp/QueryExposureSpot:
  17525. get:
  17526. parameters:
  17527. - description: 所属机构ID
  17528. in: query
  17529. name: areaUserId
  17530. required: true
  17531. type: integer
  17532. produces:
  17533. - application/json
  17534. responses:
  17535. "200":
  17536. description: OK
  17537. schema:
  17538. items:
  17539. $ref: '#/definitions/ermcp.ExposureSpotRsp'
  17540. type: array
  17541. "500":
  17542. description: Internal Server Error
  17543. schema:
  17544. $ref: '#/definitions/app.Response'
  17545. security:
  17546. - ApiKeyAuth: []
  17547. summary: 查询敞口现货头寸(敞口/现货头寸)
  17548. tags:
  17549. - 企业风险管理(app)
  17550. /Ermcp/QueryExposureSpotDetail:
  17551. get:
  17552. parameters:
  17553. - description: 所属机构ID
  17554. in: query
  17555. name: areaUserId
  17556. required: true
  17557. type: integer
  17558. - description: 现货品种ID
  17559. in: query
  17560. name: wrstandardId
  17561. required: true
  17562. type: integer
  17563. produces:
  17564. - application/json
  17565. responses:
  17566. "200":
  17567. description: OK
  17568. schema:
  17569. items:
  17570. $ref: '#/definitions/ermcp.ExposureSpotDetailRsp'
  17571. type: array
  17572. "500":
  17573. description: Internal Server Error
  17574. schema:
  17575. $ref: '#/definitions/app.Response'
  17576. security:
  17577. - ApiKeyAuth: []
  17578. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  17579. tags:
  17580. - 企业风险管理(app)
  17581. /Ermcp/QueryFuturesCompany:
  17582. get:
  17583. produces:
  17584. - application/json
  17585. responses:
  17586. "200":
  17587. description: OK
  17588. schema:
  17589. items:
  17590. $ref: '#/definitions/models.ErmcpFuturesCompany'
  17591. type: array
  17592. "500":
  17593. description: Internal Server Error
  17594. schema:
  17595. $ref: '#/definitions/app.Response'
  17596. security:
  17597. - ApiKeyAuth: []
  17598. summary: 查询期货公司
  17599. tags:
  17600. - 企业风险管理(app)
  17601. /Ermcp/QueryGGConvertConfig:
  17602. get:
  17603. parameters:
  17604. - description: 品种id(不填则查所有)
  17605. in: query
  17606. name: goodsgroupid
  17607. type: integer
  17608. produces:
  17609. - application/json
  17610. responses:
  17611. "200":
  17612. description: OK
  17613. schema:
  17614. items:
  17615. $ref: '#/definitions/ermcp.QryGGCovertCfgRsp'
  17616. type: array
  17617. "500":
  17618. description: Internal Server Error
  17619. schema:
  17620. $ref: '#/definitions/app.Response'
  17621. security:
  17622. - ApiKeyAuth: []
  17623. summary: 查询期货品种配置(菜单:商品信息/期货品种)
  17624. tags:
  17625. - 企业风险管理(app)
  17626. /Ermcp/QueryGoodsBrand:
  17627. get:
  17628. parameters:
  17629. - description: 用户ID
  17630. in: query
  17631. name: userid
  17632. required: true
  17633. type: integer
  17634. - description: 现货商品ID
  17635. in: query
  17636. name: wrstandardid
  17637. type: integer
  17638. produces:
  17639. - application/json
  17640. responses:
  17641. "200":
  17642. description: OK
  17643. schema:
  17644. items:
  17645. $ref: '#/definitions/models.ErmcpGoodsBrand'
  17646. type: array
  17647. "500":
  17648. description: Internal Server Error
  17649. schema:
  17650. $ref: '#/definitions/app.Response'
  17651. security:
  17652. - ApiKeyAuth: []
  17653. summary: 查询商品品牌
  17654. tags:
  17655. - 企业风险管理(app)
  17656. /Ermcp/QueryGoodsModel:
  17657. get:
  17658. parameters:
  17659. - description: 用户ID
  17660. in: query
  17661. name: userid
  17662. required: true
  17663. type: integer
  17664. produces:
  17665. - application/json
  17666. responses:
  17667. "200":
  17668. description: OK
  17669. schema:
  17670. items:
  17671. $ref: '#/definitions/models.ErmcpGoodsModel'
  17672. type: array
  17673. "500":
  17674. description: Internal Server Error
  17675. schema:
  17676. $ref: '#/definitions/app.Response'
  17677. security:
  17678. - ApiKeyAuth: []
  17679. summary: 查询商品型号
  17680. tags:
  17681. - 企业风险管理(app)
  17682. /Ermcp/QueryHisExposure:
  17683. get:
  17684. parameters:
  17685. - description: 用户id
  17686. in: query
  17687. name: userid
  17688. required: true
  17689. type: integer
  17690. - description: 每个品种记录数
  17691. in: query
  17692. name: lastNum
  17693. required: true
  17694. type: integer
  17695. produces:
  17696. - application/json
  17697. responses:
  17698. "200":
  17699. description: OK
  17700. schema:
  17701. items:
  17702. $ref: '#/definitions/ermcp.HisExposureRsp'
  17703. type: array
  17704. "500":
  17705. description: Internal Server Error
  17706. schema:
  17707. $ref: '#/definitions/app.Response'
  17708. security:
  17709. - ApiKeyAuth: []
  17710. summary: 查询历史敞口(菜单:敞口/历史敞口)
  17711. tags:
  17712. - 企业风险管理(app)
  17713. /Ermcp/QueryMiddleGoods:
  17714. get:
  17715. parameters:
  17716. - description: 所属机构ID
  17717. in: query
  17718. name: userid
  17719. required: true
  17720. type: integer
  17721. - description: 状态 0-停用 1-正常
  17722. in: query
  17723. name: status
  17724. required: true
  17725. type: integer
  17726. produces:
  17727. - application/json
  17728. responses:
  17729. "200":
  17730. description: OK
  17731. schema:
  17732. items:
  17733. $ref: '#/definitions/ermcp.QryMiddleGoodsRsp'
  17734. type: array
  17735. "500":
  17736. description: Internal Server Error
  17737. schema:
  17738. $ref: '#/definitions/app.Response'
  17739. security:
  17740. - ApiKeyAuth: []
  17741. summary: 查询套保品种(菜单:套保品种)
  17742. tags:
  17743. - 企业风险管理(app)
  17744. /Ermcp/QueryMiddleGoodsChangeLog:
  17745. get:
  17746. parameters:
  17747. - description: 所属机构ID
  17748. in: query
  17749. name: userid
  17750. required: true
  17751. type: integer
  17752. - description: 套保品种id
  17753. in: query
  17754. name: middlegoodsid
  17755. required: true
  17756. type: integer
  17757. produces:
  17758. - application/json
  17759. responses:
  17760. "200":
  17761. description: OK
  17762. schema:
  17763. items:
  17764. $ref: '#/definitions/ermcp.QryMGChangeLogRsp'
  17765. type: array
  17766. "500":
  17767. description: Internal Server Error
  17768. schema:
  17769. $ref: '#/definitions/app.Response'
  17770. security:
  17771. - ApiKeyAuth: []
  17772. summary: 查询套保品种变更记录(菜单:套保品种/商品详情/变更记录)
  17773. tags:
  17774. - 企业风险管理(app)
  17775. /Ermcp/QueryMiddleGoodsDetail:
  17776. get:
  17777. parameters:
  17778. - description: 所属机构ID
  17779. in: query
  17780. name: userid
  17781. required: true
  17782. type: integer
  17783. - description: 套保品种id
  17784. in: query
  17785. name: middlegoodsid
  17786. type: integer
  17787. produces:
  17788. - application/json
  17789. responses:
  17790. "200":
  17791. description: OK
  17792. schema:
  17793. items:
  17794. $ref: '#/definitions/ermcp.QryMiddleGoodsDetailRsp'
  17795. type: array
  17796. "500":
  17797. description: Internal Server Error
  17798. schema:
  17799. $ref: '#/definitions/app.Response'
  17800. security:
  17801. - ApiKeyAuth: []
  17802. summary: 查询套保品种详情(菜单:套保品种/商品详情)
  17803. tags:
  17804. - 企业风险管理(app)
  17805. /Ermcp/QueryPendingAuditInfo:
  17806. get:
  17807. parameters:
  17808. - description: 用户ID
  17809. in: query
  17810. name: UserId
  17811. required: true
  17812. type: integer
  17813. produces:
  17814. - application/json
  17815. responses:
  17816. "200":
  17817. description: OK
  17818. schema:
  17819. items:
  17820. $ref: '#/definitions/ermcp.PendingAuditCntRsp'
  17821. type: array
  17822. "500":
  17823. description: Internal Server Error
  17824. schema:
  17825. $ref: '#/definitions/app.Response'
  17826. security:
  17827. - ApiKeyAuth: []
  17828. summary: 查询待审核数量信息(首页/菜单按钮小红点)
  17829. tags:
  17830. - 企业风险管理(app)
  17831. /Ermcp/QueryRealtimeExposure:
  17832. get:
  17833. parameters:
  17834. - description: 所属机构ID
  17835. in: query
  17836. name: userid
  17837. required: true
  17838. type: integer
  17839. produces:
  17840. - application/json
  17841. responses:
  17842. "200":
  17843. description: OK
  17844. schema:
  17845. items:
  17846. $ref: '#/definitions/ermcp.RealtimeExposureRsp'
  17847. type: array
  17848. "500":
  17849. description: Internal Server Error
  17850. schema:
  17851. $ref: '#/definitions/app.Response'
  17852. security:
  17853. - ApiKeyAuth: []
  17854. summary: 查询实时敞口
  17855. tags:
  17856. - 企业风险管理(app)
  17857. /Ermcp/QueryRealtimeExposurePosition:
  17858. get:
  17859. parameters:
  17860. - description: 用户id
  17861. in: query
  17862. name: userid
  17863. required: true
  17864. type: integer
  17865. - description: 套保商品ID
  17866. in: query
  17867. name: middleGoodsId
  17868. required: true
  17869. type: integer
  17870. produces:
  17871. - application/json
  17872. responses:
  17873. "200":
  17874. description: OK
  17875. schema:
  17876. items:
  17877. $ref: '#/definitions/ermcp.RealtimeExposurePositionRsp'
  17878. type: array
  17879. "500":
  17880. description: Internal Server Error
  17881. schema:
  17882. $ref: '#/definitions/app.Response'
  17883. security:
  17884. - ApiKeyAuth: []
  17885. summary: 查询实时敞口期货头寸明细(菜单:实时敞口/期货明细)
  17886. tags:
  17887. - 企业风险管理(app)
  17888. /Ermcp/QueryRoleMenu:
  17889. get:
  17890. parameters:
  17891. - description: 登录ID
  17892. in: query
  17893. name: loginid
  17894. required: true
  17895. type: integer
  17896. - description: 菜单类型 1:管理端 2:交易端 3:终端(企业云平台) 4:仓单贸易
  17897. in: query
  17898. name: menutype
  17899. type: integer
  17900. produces:
  17901. - application/json
  17902. responses:
  17903. "200":
  17904. description: OK
  17905. schema:
  17906. items:
  17907. $ref: '#/definitions/models.RoleMenu'
  17908. type: array
  17909. "500":
  17910. description: Internal Server Error
  17911. schema:
  17912. $ref: '#/definitions/app.Response'
  17913. security:
  17914. - ApiKeyAuth: []
  17915. summary: 查询角色菜单和权限
  17916. tags:
  17917. - 企业风险管理(app)
  17918. /Ermcp/QueryTradeConfigTMP:
  17919. get:
  17920. parameters:
  17921. - description: 所属机构id
  17922. in: query
  17923. name: areauserid
  17924. type: integer
  17925. produces:
  17926. - application/json
  17927. responses:
  17928. "200":
  17929. description: OK
  17930. schema:
  17931. items:
  17932. $ref: '#/definitions/models.ErmcpTradeConfigTMP'
  17933. type: array
  17934. "500":
  17935. description: Internal Server Error
  17936. schema:
  17937. $ref: '#/definitions/app.Response'
  17938. security:
  17939. - ApiKeyAuth: []
  17940. summary: 查询交易模板配置
  17941. tags:
  17942. - 企业风险管理(app)
  17943. /Ermcp/QueryUserInfo:
  17944. get:
  17945. parameters:
  17946. - description: 所属机构用户ID
  17947. in: query
  17948. name: MemberUserID
  17949. required: true
  17950. type: integer
  17951. - description: 查询类型(1:未提交 2:待审核 3:正常 4:停用)
  17952. in: query
  17953. name: queryType
  17954. required: true
  17955. type: integer
  17956. produces:
  17957. - application/json
  17958. responses:
  17959. "200":
  17960. description: OK
  17961. schema:
  17962. items:
  17963. $ref: '#/definitions/ermcp.QryUserInfoRsp'
  17964. type: array
  17965. "500":
  17966. description: Internal Server Error
  17967. schema:
  17968. $ref: '#/definitions/app.Response'
  17969. security:
  17970. - ApiKeyAuth: []
  17971. summary: 查询客户资料
  17972. tags:
  17973. - 企业风险管理(app)
  17974. /Ermcp/QueryWarehouseInfo:
  17975. get:
  17976. parameters:
  17977. - description: 用户ID
  17978. in: query
  17979. name: userid
  17980. required: true
  17981. type: integer
  17982. - description: 仓库状态(可多项,逗号隔开) 1:正常 2:注销 3:待审核 4:审核拒绝
  17983. in: query
  17984. name: status
  17985. type: string
  17986. produces:
  17987. - application/json
  17988. responses:
  17989. "200":
  17990. description: OK
  17991. schema:
  17992. items:
  17993. $ref: '#/definitions/ermcp.QryWarehouseRsp'
  17994. type: array
  17995. "500":
  17996. description: Internal Server Error
  17997. schema:
  17998. $ref: '#/definitions/app.Response'
  17999. security:
  18000. - ApiKeyAuth: []
  18001. summary: 查询仓库信息
  18002. tags:
  18003. - 企业风险管理(app)
  18004. /Ermcp3/QryAreaExpourseContractDetail:
  18005. get:
  18006. parameters:
  18007. - description: 用户ID
  18008. in: query
  18009. name: userid
  18010. required: true
  18011. type: integer
  18012. - description: 套保商品id
  18013. in: query
  18014. name: middlegoodsid
  18015. required: true
  18016. type: integer
  18017. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  18018. in: query
  18019. name: cycletype
  18020. required: true
  18021. type: integer
  18022. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  18023. 全(0)【原值】
  18024. in: query
  18025. name: cycletime
  18026. required: true
  18027. type: string
  18028. produces:
  18029. - application/json
  18030. responses:
  18031. "200":
  18032. description: OK
  18033. schema:
  18034. items:
  18035. $ref: '#/definitions/models.Ermcp3ExposureContractDetail'
  18036. type: array
  18037. "500":
  18038. description: Internal Server Error
  18039. schema:
  18040. $ref: '#/definitions/app.Response'
  18041. security:
  18042. - ApiKeyAuth: []
  18043. summary: 查询敞口合同明细(敞口报表/现货合同明细)
  18044. tags:
  18045. - 企业风险管理v3(app)
  18046. /Ermcp3/QryAreaExpourseFutuDetail:
  18047. get:
  18048. parameters:
  18049. - description: 用户ID
  18050. in: query
  18051. name: userid
  18052. required: true
  18053. type: integer
  18054. - description: 套保商品id
  18055. in: query
  18056. name: middlegoodsid
  18057. required: true
  18058. type: integer
  18059. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  18060. in: query
  18061. name: cycletype
  18062. required: true
  18063. type: integer
  18064. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  18065. 全(0)【原值】
  18066. in: query
  18067. name: cycletime
  18068. required: true
  18069. type: string
  18070. produces:
  18071. - application/json
  18072. responses:
  18073. "200":
  18074. description: OK
  18075. schema:
  18076. items:
  18077. $ref: '#/definitions/models.Ermcp3ExposureFutuDetail'
  18078. type: array
  18079. "500":
  18080. description: Internal Server Error
  18081. schema:
  18082. $ref: '#/definitions/app.Response'
  18083. security:
  18084. - ApiKeyAuth: []
  18085. summary: 查询敞口期货明细(敞口报表/期货明细)
  18086. tags:
  18087. - 企业风险管理v3(app)
  18088. /Ermcp3/QryAreaExpourseHedgeplanDetail:
  18089. get:
  18090. parameters:
  18091. - description: 用户ID
  18092. in: query
  18093. name: userid
  18094. required: true
  18095. type: integer
  18096. - description: 套保商品id
  18097. in: query
  18098. name: middlegoodsid
  18099. required: true
  18100. type: integer
  18101. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  18102. in: query
  18103. name: cycletype
  18104. required: true
  18105. type: integer
  18106. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  18107. 全(0)【原值】
  18108. in: query
  18109. name: cycletime
  18110. required: true
  18111. type: string
  18112. produces:
  18113. - application/json
  18114. responses:
  18115. "200":
  18116. description: OK
  18117. schema:
  18118. items:
  18119. $ref: '#/definitions/models.Ermcp3ExposureHedgeplanDetail'
  18120. type: array
  18121. "500":
  18122. description: Internal Server Error
  18123. schema:
  18124. $ref: '#/definitions/app.Response'
  18125. security:
  18126. - ApiKeyAuth: []
  18127. summary: 查询敞口套保计划明细(敞口报表/套保计划明细)
  18128. tags:
  18129. - 企业风险管理v3(app)
  18130. /Ermcp3/QryAreaExpourseParamChLogDetail:
  18131. get:
  18132. parameters:
  18133. - description: 用户ID
  18134. in: query
  18135. name: userid
  18136. required: true
  18137. type: integer
  18138. - description: 套保商品id
  18139. in: query
  18140. name: middlegoodsid
  18141. required: true
  18142. type: integer
  18143. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  18144. in: query
  18145. name: cycletype
  18146. required: true
  18147. type: integer
  18148. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  18149. 全(0)【原值】
  18150. in: query
  18151. name: cycletime
  18152. required: true
  18153. type: string
  18154. produces:
  18155. - application/json
  18156. responses:
  18157. "200":
  18158. description: OK
  18159. schema:
  18160. items:
  18161. $ref: '#/definitions/models.Ermcp3ExposureParamChLog'
  18162. type: array
  18163. "500":
  18164. description: Internal Server Error
  18165. schema:
  18166. $ref: '#/definitions/app.Response'
  18167. security:
  18168. - ApiKeyAuth: []
  18169. summary: 查询敞口参数调整明细(敞口报表/参数调整明细)
  18170. tags:
  18171. - 企业风险管理v3(app)
  18172. /Ermcp3/QryAreaExpourseReport:
  18173. get:
  18174. parameters:
  18175. - description: 用户ID
  18176. in: query
  18177. name: userid
  18178. required: true
  18179. type: integer
  18180. - description: 查询类型 1-报表, 这个接口只查报表;明细的字段完全不同,另有接口
  18181. in: query
  18182. name: querytype
  18183. required: true
  18184. type: integer
  18185. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  18186. in: query
  18187. name: cycletype
  18188. required: true
  18189. type: integer
  18190. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  18191. 全(0)【原值】
  18192. in: query
  18193. name: cycletime
  18194. required: true
  18195. type: string
  18196. produces:
  18197. - application/json
  18198. responses:
  18199. "200":
  18200. description: OK
  18201. schema:
  18202. items:
  18203. $ref: '#/definitions/models.Ermcp3ExpourseReport'
  18204. type: array
  18205. "500":
  18206. description: Internal Server Error
  18207. schema:
  18208. $ref: '#/definitions/app.Response'
  18209. security:
  18210. - ApiKeyAuth: []
  18211. summary: 查询敞口报表
  18212. tags:
  18213. - 企业风险管理v3(app)
  18214. /Ermcp3/QryAreaSpotplReport:
  18215. get:
  18216. parameters:
  18217. - description: 用户ID
  18218. in: query
  18219. name: userid
  18220. required: true
  18221. type: integer
  18222. - description: 查询类型 1-报表 2-报表明细
  18223. in: query
  18224. name: querytype
  18225. required: true
  18226. type: integer
  18227. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  18228. in: query
  18229. name: cycletype
  18230. required: true
  18231. type: integer
  18232. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  18233. 全(0)【原值】
  18234. in: query
  18235. name: cycletime
  18236. required: true
  18237. type: string
  18238. - description: 现货品种id(明细必填)
  18239. in: query
  18240. name: deliverygoodsid
  18241. type: integer
  18242. - description: 币种id(明细必填)
  18243. in: query
  18244. name: currencyid
  18245. type: integer
  18246. produces:
  18247. - application/json
  18248. responses:
  18249. "200":
  18250. description: OK
  18251. schema:
  18252. items:
  18253. $ref: '#/definitions/models.Ermcp3AreaSpotPLReport'
  18254. type: array
  18255. "500":
  18256. description: Internal Server Error
  18257. schema:
  18258. $ref: '#/definitions/app.Response'
  18259. security:
  18260. - ApiKeyAuth: []
  18261. summary: 查询现货报表
  18262. tags:
  18263. - 企业风险管理v3(app)
  18264. /Ermcp3/QryAreaStockReport:
  18265. get:
  18266. parameters:
  18267. - description: 用户ID
  18268. in: query
  18269. name: userid
  18270. required: true
  18271. type: integer
  18272. - description: 查询类型 1-报表 2-报表明细
  18273. in: query
  18274. name: querytype
  18275. required: true
  18276. type: integer
  18277. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  18278. in: query
  18279. name: cycletype
  18280. required: true
  18281. type: integer
  18282. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  18283. 全(0)【原值】
  18284. in: query
  18285. name: cycletime
  18286. required: true
  18287. type: string
  18288. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌 4-仓库
  18289. in: query
  18290. name: sumfields
  18291. type: string
  18292. - description: 品种ID
  18293. in: query
  18294. name: deliverygoodsid
  18295. type: integer
  18296. - description: 品类ID
  18297. in: query
  18298. name: wrstandardid
  18299. type: integer
  18300. - description: 品牌ID
  18301. in: query
  18302. name: spotgoodsbrandid
  18303. type: integer
  18304. - description: 仓库ID
  18305. in: query
  18306. name: warehouseinfoid
  18307. type: integer
  18308. produces:
  18309. - application/json
  18310. responses:
  18311. "200":
  18312. description: OK
  18313. schema:
  18314. items:
  18315. $ref: '#/definitions/models.Ermcp3AreaStockReportEx'
  18316. type: array
  18317. "500":
  18318. description: Internal Server Error
  18319. schema:
  18320. $ref: '#/definitions/app.Response'
  18321. security:
  18322. - ApiKeyAuth: []
  18323. summary: 查询库存报表
  18324. tags:
  18325. - 企业风险管理v3(app)
  18326. /Ermcp3/QryAreaSumPL:
  18327. get:
  18328. parameters:
  18329. - description: 用户ID
  18330. in: query
  18331. name: userid
  18332. required: true
  18333. type: integer
  18334. - description: 查询类型 1-报表 2-报表明细
  18335. in: query
  18336. name: querytype
  18337. required: true
  18338. type: integer
  18339. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  18340. in: query
  18341. name: cycletype
  18342. required: true
  18343. type: integer
  18344. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  18345. 全(0)【原值】
  18346. in: query
  18347. name: cycletime
  18348. required: true
  18349. type: string
  18350. - description: 币种id(明细必填)
  18351. in: query
  18352. name: currencyid
  18353. type: integer
  18354. produces:
  18355. - application/json
  18356. responses:
  18357. "200":
  18358. description: OK
  18359. schema:
  18360. items:
  18361. $ref: '#/definitions/models.Ermcp3ArealSumPL'
  18362. type: array
  18363. "500":
  18364. description: Internal Server Error
  18365. schema:
  18366. $ref: '#/definitions/app.Response'
  18367. security:
  18368. - ApiKeyAuth: []
  18369. summary: 查询汇总损益表
  18370. tags:
  18371. - 企业风险管理v3(app)
  18372. /Ermcp3/QryFinanceReport:
  18373. get:
  18374. parameters:
  18375. - description: 用户ID
  18376. in: query
  18377. name: userid
  18378. required: true
  18379. type: integer
  18380. - description: 查询类型 1-报表 2-报表明细
  18381. in: query
  18382. name: querytype
  18383. required: true
  18384. type: integer
  18385. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  18386. in: query
  18387. name: cycletype
  18388. required: true
  18389. type: integer
  18390. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  18391. 全(0)【原值】
  18392. in: query
  18393. name: cycletime
  18394. required: true
  18395. type: string
  18396. - description: 币种id(报表明细必填)
  18397. in: query
  18398. name: currencyid
  18399. type: integer
  18400. - description: 汇总维度(逗号隔开) 1-品种 2-品类 3-品牌
  18401. in: query
  18402. name: sumfields
  18403. type: string
  18404. produces:
  18405. - application/json
  18406. responses:
  18407. "200":
  18408. description: OK
  18409. schema:
  18410. items:
  18411. $ref: '#/definitions/models.Ermcp3FinanceReport'
  18412. type: array
  18413. "500":
  18414. description: Internal Server Error
  18415. schema:
  18416. $ref: '#/definitions/app.Response'
  18417. security:
  18418. - ApiKeyAuth: []
  18419. summary: 查询财务报表
  18420. tags:
  18421. - 企业风险管理v3(app)
  18422. /Ermcp3/QryTaFutureDataReport:
  18423. get:
  18424. parameters:
  18425. - description: 用户ID
  18426. in: query
  18427. name: userid
  18428. required: true
  18429. type: integer
  18430. - description: 查询类型 1-报表 2-报表明细
  18431. in: query
  18432. name: querytype
  18433. required: true
  18434. type: integer
  18435. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  18436. in: query
  18437. name: cycletype
  18438. required: true
  18439. type: integer
  18440. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD周内任意一天)
  18441. 全(0)【原值】
  18442. in: query
  18443. name: cycletime
  18444. required: true
  18445. type: string
  18446. - description: 币种id(查明细必填)
  18447. in: query
  18448. name: currencyid
  18449. type: integer
  18450. - description: 品种id(查明细必填)
  18451. in: query
  18452. name: goodsgroupid
  18453. type: integer
  18454. - description: 商品id(查明细必填)
  18455. in: query
  18456. name: goodsid
  18457. type: integer
  18458. - description: 买卖方向(查明细必填)
  18459. in: query
  18460. name: buyorsell
  18461. type: integer
  18462. produces:
  18463. - application/json
  18464. responses:
  18465. "200":
  18466. description: OK
  18467. schema:
  18468. items:
  18469. $ref: '#/definitions/models.Ermcp3TaFutuReDataReport'
  18470. type: array
  18471. "500":
  18472. description: Internal Server Error
  18473. schema:
  18474. $ref: '#/definitions/app.Response'
  18475. security:
  18476. - ApiKeyAuth: []
  18477. summary: 查询期货报表
  18478. tags:
  18479. - 企业风险管理v3(app)
  18480. /Ermcp3/QueryAreaStock:
  18481. get:
  18482. parameters:
  18483. - description: 用户ID
  18484. in: query
  18485. name: userid
  18486. required: true
  18487. type: integer
  18488. produces:
  18489. - application/json
  18490. responses:
  18491. "200":
  18492. description: OK
  18493. schema:
  18494. items:
  18495. $ref: '#/definitions/models.Ermcp3AreaStock'
  18496. type: array
  18497. "500":
  18498. description: Internal Server Error
  18499. schema:
  18500. $ref: '#/definitions/app.Response'
  18501. security:
  18502. - ApiKeyAuth: []
  18503. summary: 查询机构库存(库存管理/当前库存)
  18504. tags:
  18505. - 企业风险管理v3(app)
  18506. /Ermcp3/QueryAreaStockApply:
  18507. get:
  18508. parameters:
  18509. - description: 用户ID
  18510. in: query
  18511. name: userid
  18512. required: true
  18513. type: integer
  18514. - description: 用户类型 2-机构 7-企业成员
  18515. in: query
  18516. name: usertype
  18517. type: integer
  18518. - description: 现货商品ID
  18519. in: query
  18520. name: deliverygoodsid
  18521. type: integer
  18522. - description: 出入库类型(可多项,逗号隔开) 5:采购入库 6:销售出库 7:生产入库 8:生产出库
  18523. in: query
  18524. name: inouttype
  18525. type: string
  18526. - description: 合同ID
  18527. in: query
  18528. name: spotcontractid
  18529. type: integer
  18530. - description: 品类ID
  18531. in: query
  18532. name: wrstandardid
  18533. type: integer
  18534. - description: 品牌ID
  18535. in: query
  18536. name: spotgoodsbrandid
  18537. type: integer
  18538. - description: 仓库ID
  18539. in: query
  18540. name: warehouseinfoid
  18541. type: integer
  18542. - description: 申请状态(可多项,逗号隔开)1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  18543. in: query
  18544. name: applystatus
  18545. type: string
  18546. produces:
  18547. - application/json
  18548. responses:
  18549. "200":
  18550. description: OK
  18551. schema:
  18552. items:
  18553. $ref: '#/definitions/models.Ermcp3AreaStockApply'
  18554. type: array
  18555. "500":
  18556. description: Internal Server Error
  18557. schema:
  18558. $ref: '#/definitions/app.Response'
  18559. security:
  18560. - ApiKeyAuth: []
  18561. summary: 查询库存申请(出入库记录|库存审核)
  18562. tags:
  18563. - 企业风险管理v3(app)
  18564. /Ermcp3/QueryAreaStockApplySum:
  18565. get:
  18566. parameters:
  18567. - description: 合同ID
  18568. in: query
  18569. name: spotcontractid
  18570. required: true
  18571. type: integer
  18572. produces:
  18573. - application/json
  18574. responses:
  18575. "200":
  18576. description: OK
  18577. schema:
  18578. items:
  18579. $ref: '#/definitions/models.Ermcp3AreaStockApplySum'
  18580. type: array
  18581. "500":
  18582. description: Internal Server Error
  18583. schema:
  18584. $ref: '#/definitions/app.Response'
  18585. security:
  18586. - ApiKeyAuth: []
  18587. summary: 查询已登记出入库信息(入库登记/已入库信息 | 出库登记/已出库信息)
  18588. tags:
  18589. - 企业风险管理v3(app)
  18590. /Ermcp3/QueryDGFactoryItem:
  18591. get:
  18592. parameters:
  18593. - description: 用户id
  18594. in: query
  18595. name: userid
  18596. type: integer
  18597. - description: 用户类型 2-机构 7-企业成员
  18598. in: query
  18599. name: usertype
  18600. type: integer
  18601. - description: 选择项ID(SEQ_DGFACTORYITEM)
  18602. in: query
  18603. name: dgfactoryitemid
  18604. type: integer
  18605. - description: 现货品种ID
  18606. in: query
  18607. name: deliverygoodsid
  18608. type: integer
  18609. - description: 要素项类型
  18610. in: query
  18611. name: dgfactoryitemtypeid
  18612. type: integer
  18613. - description: 顺序
  18614. in: query
  18615. name: orderindex
  18616. type: integer
  18617. produces:
  18618. - application/json
  18619. responses:
  18620. "200":
  18621. description: OK
  18622. schema:
  18623. items:
  18624. $ref: '#/definitions/models.ErmcpDGFactoryItem'
  18625. type: array
  18626. "500":
  18627. description: Internal Server Error
  18628. schema:
  18629. $ref: '#/definitions/app.Response'
  18630. security:
  18631. - ApiKeyAuth: []
  18632. summary: 查询品种要素定义项
  18633. tags:
  18634. - 企业风险管理v3(app)
  18635. /Ermcp3/QueryDeliveryGoods:
  18636. get:
  18637. parameters:
  18638. - description: 用户id
  18639. in: query
  18640. name: userid
  18641. required: true
  18642. type: integer
  18643. - description: 用户类型 2-机构 7-企业成员
  18644. in: query
  18645. name: usertype
  18646. type: integer
  18647. - description: 排除已配置的业务类型商品 1-套保 2-套利
  18648. in: query
  18649. name: excludecfg
  18650. type: integer
  18651. produces:
  18652. - application/json
  18653. responses:
  18654. "200":
  18655. description: OK
  18656. schema:
  18657. items:
  18658. $ref: '#/definitions/models.ErmcpDeliveryGoods'
  18659. type: array
  18660. "500":
  18661. description: Internal Server Error
  18662. schema:
  18663. $ref: '#/definitions/app.Response'
  18664. security:
  18665. - ApiKeyAuth: []
  18666. summary: 查询现货商品
  18667. tags:
  18668. - 企业风险管理v3(app)
  18669. /Ermcp3/QueryDeliveryGoodsDetail:
  18670. get:
  18671. parameters:
  18672. - description: 用户id
  18673. in: query
  18674. name: userid
  18675. required: true
  18676. type: integer
  18677. - description: 用户类型 2-机构 7-企业成员
  18678. in: query
  18679. name: usertype
  18680. type: integer
  18681. - description: 现货商品id
  18682. in: query
  18683. name: deliverygoodsid
  18684. type: integer
  18685. produces:
  18686. - application/json
  18687. responses:
  18688. "200":
  18689. description: OK
  18690. schema:
  18691. items:
  18692. $ref: '#/definitions/models.ErmcpDeliveryGoodsDetailEx'
  18693. type: array
  18694. "500":
  18695. description: Internal Server Error
  18696. schema:
  18697. $ref: '#/definitions/app.Response'
  18698. security:
  18699. - ApiKeyAuth: []
  18700. summary: 查询现货商品详情
  18701. tags:
  18702. - 企业风险管理v3(app)
  18703. /Ermcp3/QueryExposureDetail:
  18704. get:
  18705. parameters:
  18706. - description: 用户id
  18707. in: query
  18708. name: userid
  18709. required: true
  18710. type: integer
  18711. - description: 用户类型 2-机构 7-企业成员
  18712. in: query
  18713. name: usertype
  18714. type: integer
  18715. - description: 套保商品
  18716. in: query
  18717. name: middlegoodsid
  18718. required: true
  18719. type: integer
  18720. produces:
  18721. - application/json
  18722. responses:
  18723. "200":
  18724. description: OK
  18725. schema:
  18726. items:
  18727. $ref: '#/definitions/models.Ermcp3ExposureDetail'
  18728. type: array
  18729. "500":
  18730. description: Internal Server Error
  18731. schema:
  18732. $ref: '#/definitions/app.Response'
  18733. security:
  18734. - ApiKeyAuth: []
  18735. summary: 查询敞口现货明细
  18736. tags:
  18737. - 企业风险管理v3(app)
  18738. /Ermcp3/QueryExposureSpot:
  18739. get:
  18740. parameters:
  18741. - description: 用户id
  18742. in: query
  18743. name: userid
  18744. required: true
  18745. type: integer
  18746. - description: 用户类型 2-机构 7-企业成员
  18747. in: query
  18748. name: usertype
  18749. type: integer
  18750. produces:
  18751. - application/json
  18752. responses:
  18753. "200":
  18754. description: OK
  18755. schema:
  18756. items:
  18757. $ref: '#/definitions/models.Ermcp3AreaSpot'
  18758. type: array
  18759. "500":
  18760. description: Internal Server Error
  18761. schema:
  18762. $ref: '#/definitions/app.Response'
  18763. security:
  18764. - ApiKeyAuth: []
  18765. summary: 查询敞口现货头寸(敞口/现货头寸)
  18766. tags:
  18767. - 企业风险管理v3(app)
  18768. /Ermcp3/QueryExposureSpotDetail:
  18769. get:
  18770. parameters:
  18771. - description: 用户id
  18772. in: query
  18773. name: userid
  18774. required: true
  18775. type: integer
  18776. - description: 用户类型 2-机构 7-企业成员
  18777. in: query
  18778. name: usertype
  18779. type: integer
  18780. - description: 现货品种ID
  18781. in: query
  18782. name: deliverygoodsid
  18783. required: true
  18784. type: integer
  18785. produces:
  18786. - application/json
  18787. responses:
  18788. "200":
  18789. description: OK
  18790. schema:
  18791. items:
  18792. $ref: '#/definitions/models.Ermcp3AreaSpotDetail'
  18793. type: array
  18794. "500":
  18795. description: Internal Server Error
  18796. schema:
  18797. $ref: '#/definitions/app.Response'
  18798. security:
  18799. - ApiKeyAuth: []
  18800. summary: 查询敞口现货头寸明细(敞口/现货头寸/现货明细)
  18801. tags:
  18802. - 企业风险管理v3(app)
  18803. /Ermcp3/QueryGoodsGroup:
  18804. get:
  18805. parameters:
  18806. - description: 用户id
  18807. in: query
  18808. name: userid
  18809. required: true
  18810. type: integer
  18811. - description: 用户类型 2-机构 7-企业成员
  18812. in: query
  18813. name: usertype
  18814. type: integer
  18815. - description: 排除套保品中已关联的商品组 1-排除
  18816. in: query
  18817. name: excludecfg
  18818. type: integer
  18819. produces:
  18820. - application/json
  18821. responses:
  18822. "200":
  18823. description: OK
  18824. schema:
  18825. items:
  18826. $ref: '#/definitions/models.Ermcp3GoodsGroup'
  18827. type: array
  18828. "500":
  18829. description: Internal Server Error
  18830. schema:
  18831. $ref: '#/definitions/app.Response'
  18832. security:
  18833. - ApiKeyAuth: []
  18834. summary: 查询期货商品组
  18835. tags:
  18836. - 企业风险管理v3(app)
  18837. /Ermcp3/QueryGoodsWrstandard:
  18838. get:
  18839. parameters:
  18840. - description: 用户id
  18841. in: query
  18842. name: userid
  18843. required: true
  18844. type: integer
  18845. - description: 用户类型 2-机构 7-企业成员
  18846. in: query
  18847. name: usertype
  18848. type: integer
  18849. - description: 现货商品id
  18850. in: query
  18851. name: deliverygoodsid
  18852. type: integer
  18853. produces:
  18854. - application/json
  18855. responses:
  18856. "200":
  18857. description: OK
  18858. schema:
  18859. items:
  18860. $ref: '#/definitions/models.Ermcp3Wrstandard'
  18861. type: array
  18862. "500":
  18863. description: Internal Server Error
  18864. schema:
  18865. $ref: '#/definitions/app.Response'
  18866. security:
  18867. - ApiKeyAuth: []
  18868. summary: 查询商品品类
  18869. tags:
  18870. - 企业风险管理v3(app)
  18871. /Ermcp3/QueryGoodsbrand:
  18872. get:
  18873. parameters:
  18874. - description: 用户id
  18875. in: query
  18876. name: userid
  18877. required: true
  18878. type: integer
  18879. - description: 用户类型 2-机构 7-企业成员
  18880. in: query
  18881. name: usertype
  18882. type: integer
  18883. produces:
  18884. - application/json
  18885. responses:
  18886. "200":
  18887. description: OK
  18888. schema:
  18889. items:
  18890. $ref: '#/definitions/models.Ermcp3Brand'
  18891. type: array
  18892. "500":
  18893. description: Internal Server Error
  18894. schema:
  18895. $ref: '#/definitions/app.Response'
  18896. security:
  18897. - ApiKeyAuth: []
  18898. summary: 查询商品品牌
  18899. tags:
  18900. - 企业风险管理v3(app)
  18901. /Ermcp3/QueryHedgePlan:
  18902. get:
  18903. parameters:
  18904. - description: 用户ID
  18905. in: query
  18906. name: userid
  18907. required: true
  18908. type: integer
  18909. - description: 用户类型 2-机构 7-企业成员
  18910. in: query
  18911. name: usertype
  18912. type: integer
  18913. - description: 套保计划状态(允许多个,逗号隔开) - 0:未提交 1:待审核 2:执行中 3:正常完结 4:审核拒绝 5:异常完结 6:已撤回
  18914. in: query
  18915. name: hedgeplanstatus
  18916. required: true
  18917. type: string
  18918. produces:
  18919. - application/json
  18920. responses:
  18921. "200":
  18922. description: OK
  18923. schema:
  18924. items:
  18925. $ref: '#/definitions/models.Ermcp3HedgePlan'
  18926. type: array
  18927. "500":
  18928. description: Internal Server Error
  18929. schema:
  18930. $ref: '#/definitions/app.Response'
  18931. security:
  18932. - ApiKeyAuth: []
  18933. summary: 查询套保计划
  18934. tags:
  18935. - 企业风险管理v3(app)
  18936. /Ermcp3/QueryMiddleGoodsDetail:
  18937. get:
  18938. parameters:
  18939. - description: 用户id
  18940. in: query
  18941. name: userid
  18942. required: true
  18943. type: integer
  18944. - description: 用户类型 2-机构 7-企业成员
  18945. in: query
  18946. name: usertype
  18947. type: integer
  18948. - description: 套保品种id
  18949. in: query
  18950. name: middlegoodsid
  18951. type: integer
  18952. produces:
  18953. - application/json
  18954. responses:
  18955. "200":
  18956. description: OK
  18957. schema:
  18958. items:
  18959. $ref: '#/definitions/models.Ermcp3MiddleGoodsDetailEx'
  18960. type: array
  18961. "500":
  18962. description: Internal Server Error
  18963. schema:
  18964. $ref: '#/definitions/app.Response'
  18965. security:
  18966. - ApiKeyAuth: []
  18967. summary: 查询套保品种详情(套保品种/商品详情)
  18968. tags:
  18969. - 企业风险管理v3(app)
  18970. /Ermcp3/QueryRootUserAccount:
  18971. get:
  18972. parameters:
  18973. - description: 用户ID
  18974. in: query
  18975. name: userid
  18976. required: true
  18977. type: integer
  18978. produces:
  18979. - application/json
  18980. responses:
  18981. "200":
  18982. description: OK
  18983. schema:
  18984. items:
  18985. $ref: '#/definitions/models.Ermcp3RootUserAccount'
  18986. type: array
  18987. "500":
  18988. description: Internal Server Error
  18989. schema:
  18990. $ref: '#/definitions/app.Response'
  18991. security:
  18992. - ApiKeyAuth: []
  18993. summary: 查询顶级用户信息
  18994. tags:
  18995. - 企业风险管理v3(app)
  18996. /Ermcp3/QuerySpotContract:
  18997. get:
  18998. parameters:
  18999. - description: 用户id
  19000. in: query
  19001. name: userid
  19002. required: true
  19003. type: integer
  19004. - description: 用户类型 2-机构 7-企业成员
  19005. in: query
  19006. name: usertype
  19007. type: integer
  19008. - description: 查询类型 1-未提交 2-待审核 3-履约中 4-已完成
  19009. in: query
  19010. name: querytype
  19011. required: true
  19012. type: integer
  19013. - description: 合同ID(SpotContractId)
  19014. in: query
  19015. name: contractid
  19016. type: string
  19017. produces:
  19018. - application/json
  19019. responses:
  19020. "200":
  19021. description: OK
  19022. schema:
  19023. items:
  19024. $ref: '#/definitions/models.Ermcp3Contract'
  19025. type: array
  19026. "500":
  19027. description: Internal Server Error
  19028. schema:
  19029. $ref: '#/definitions/app.Response'
  19030. security:
  19031. - ApiKeyAuth: []
  19032. summary: 查询现货合同
  19033. tags:
  19034. - 企业风险管理v3(app)
  19035. /Ermcp3/QuerySpotContractBS:
  19036. get:
  19037. parameters:
  19038. - description: 用户id
  19039. in: query
  19040. name: userid
  19041. required: true
  19042. type: integer
  19043. - description: 用户类型 2-机构 7-企业成员
  19044. in: query
  19045. name: usertype
  19046. type: integer
  19047. - description: 合同类型 1-采购, -1-销售
  19048. in: query
  19049. name: contracttype
  19050. required: true
  19051. type: integer
  19052. - description: 查询类型 1-全部 2-待点价 3-履约结算 4-已完成
  19053. in: query
  19054. name: querytype
  19055. required: true
  19056. type: integer
  19057. - description: 合同ID(SpotContractId)
  19058. in: query
  19059. name: contractid
  19060. type: string
  19061. produces:
  19062. - application/json
  19063. responses:
  19064. "200":
  19065. description: OK
  19066. schema:
  19067. items:
  19068. $ref: '#/definitions/models.Ermcp3SellBuyContract'
  19069. type: array
  19070. "500":
  19071. description: Internal Server Error
  19072. schema:
  19073. $ref: '#/definitions/app.Response'
  19074. security:
  19075. - ApiKeyAuth: []
  19076. summary: 查询合同(采购/销售)
  19077. tags:
  19078. - 企业风险管理v3(app)
  19079. /Ermcp3/QuerySpotGoodsPrice:
  19080. get:
  19081. parameters:
  19082. - description: 用户ID
  19083. in: query
  19084. name: userid
  19085. required: true
  19086. type: integer
  19087. produces:
  19088. - application/json
  19089. responses:
  19090. "200":
  19091. description: OK
  19092. schema:
  19093. items:
  19094. $ref: '#/definitions/models.Ermcp3SpotGoodsPrice'
  19095. type: array
  19096. "500":
  19097. description: Internal Server Error
  19098. schema:
  19099. $ref: '#/definitions/app.Response'
  19100. security:
  19101. - ApiKeyAuth: []
  19102. summary: 查询现货市价(现货市价)
  19103. tags:
  19104. - 企业风险管理v3(app)
  19105. /Ermcp3/QuerySpotGoodsPriceLog:
  19106. get:
  19107. parameters:
  19108. - description: 用户ID
  19109. in: query
  19110. name: userid
  19111. required: true
  19112. type: integer
  19113. - description: 现货商品ID
  19114. in: query
  19115. name: deliverygoodsid
  19116. required: true
  19117. type: integer
  19118. - description: 品牌ID
  19119. in: query
  19120. name: brandid
  19121. type: integer
  19122. - description: 品类ID
  19123. in: query
  19124. name: wrstandardid
  19125. type: integer
  19126. produces:
  19127. - application/json
  19128. responses:
  19129. "200":
  19130. description: OK
  19131. schema:
  19132. items:
  19133. $ref: '#/definitions/models.Ermcp3SpotGoodsPriceLog'
  19134. type: array
  19135. "500":
  19136. description: Internal Server Error
  19137. schema:
  19138. $ref: '#/definitions/app.Response'
  19139. security:
  19140. - ApiKeyAuth: []
  19141. summary: 查询现货市价详情(现货市价/详情)
  19142. tags:
  19143. - 企业风险管理v3(app)
  19144. /Erms2/QueryArbitrageStrategy:
  19145. get:
  19146. parameters:
  19147. - description: 账户ID
  19148. in: query
  19149. name: userid
  19150. required: true
  19151. type: integer
  19152. - description: 商品组ID(品种ID)
  19153. in: query
  19154. name: goodsgroupid
  19155. type: string
  19156. produces:
  19157. - application/json
  19158. responses:
  19159. "200":
  19160. description: OK
  19161. schema:
  19162. $ref: '#/definitions/erms2.QueryArbitrageStrategyRsp'
  19163. "500":
  19164. description: Internal Server Error
  19165. schema:
  19166. $ref: '#/definitions/app.Response'
  19167. security:
  19168. - ApiKeyAuth: []
  19169. summary: 查询期现套利策略表信息(指定资金账户、未结束的)
  19170. tags:
  19171. - 风险管理
  19172. /Erms2/QueryInnerTradeDetail:
  19173. get:
  19174. parameters:
  19175. - description: 资金账户
  19176. in: query
  19177. name: accountid
  19178. required: true
  19179. type: integer
  19180. produces:
  19181. - application/json
  19182. responses:
  19183. "200":
  19184. description: OK
  19185. schema:
  19186. $ref: '#/definitions/erms2.QueryInnerTradeDetailRsp'
  19187. "500":
  19188. description: Internal Server Error
  19189. schema:
  19190. $ref: '#/definitions/app.Response'
  19191. security:
  19192. - ApiKeyAuth: []
  19193. summary: 查询内部成交单信息
  19194. tags:
  19195. - 风险管理
  19196. /Erms2/QuerySpotContract:
  19197. get:
  19198. parameters:
  19199. - description: 策略申请ID
  19200. in: query
  19201. name: asapplyid
  19202. required: true
  19203. type: integer
  19204. - description: 现货合同ID
  19205. in: query
  19206. name: spotcontractid
  19207. type: integer
  19208. produces:
  19209. - application/json
  19210. responses:
  19211. "200":
  19212. description: OK
  19213. schema:
  19214. $ref: '#/definitions/erms2.QuerySpotContractRsp'
  19215. "500":
  19216. description: Internal Server Error
  19217. schema:
  19218. $ref: '#/definitions/app.Response'
  19219. security:
  19220. - ApiKeyAuth: []
  19221. summary: 查询现货合同表信息(指定策略ID、未结束的)
  19222. tags:
  19223. - 风险管理
  19224. /Erms3/AddErms2ASApply:
  19225. post:
  19226. parameters:
  19227. - description: 申请参数
  19228. in: body
  19229. name: jsonBody
  19230. required: true
  19231. schema:
  19232. $ref: '#/definitions/erms3.AddErms2ASApplyReq'
  19233. produces:
  19234. - application/json
  19235. responses:
  19236. "200":
  19237. description: OK
  19238. schema:
  19239. $ref: '#/definitions/app.Response'
  19240. "500":
  19241. description: Internal Server Error
  19242. schema:
  19243. $ref: '#/definitions/app.Response'
  19244. security:
  19245. - ApiKeyAuth: []
  19246. summary: 新增期现套利业务申请
  19247. tags:
  19248. - 风险管理v3
  19249. /Erms3/AddErms2SpotTradeApply:
  19250. post:
  19251. parameters:
  19252. - description: 申请参数
  19253. in: body
  19254. name: jsonBody
  19255. required: true
  19256. schema:
  19257. $ref: '#/definitions/erms3.AddErms2SpotTradeApplyReq'
  19258. produces:
  19259. - application/json
  19260. responses:
  19261. "200":
  19262. description: OK
  19263. schema:
  19264. $ref: '#/definitions/app.Response'
  19265. "500":
  19266. description: Internal Server Error
  19267. schema:
  19268. $ref: '#/definitions/app.Response'
  19269. security:
  19270. - ApiKeyAuth: []
  19271. summary: 新增现货贸易业务申请
  19272. tags:
  19273. - 风险管理v3
  19274. /Erms3/AddSpotContractApply:
  19275. post:
  19276. parameters:
  19277. - description: 申请参数
  19278. in: body
  19279. name: jsonBody
  19280. required: true
  19281. schema:
  19282. $ref: '#/definitions/erms3.AddSpotContractApplyReq'
  19283. produces:
  19284. - application/json
  19285. responses:
  19286. "200":
  19287. description: OK
  19288. schema:
  19289. $ref: '#/definitions/erms3.AddSpotContractApplyRsp'
  19290. "500":
  19291. description: Internal Server Error
  19292. schema:
  19293. $ref: '#/definitions/app.Response'
  19294. security:
  19295. - ApiKeyAuth: []
  19296. summary: 新增现货合同申请
  19297. tags:
  19298. - 风险管理v3
  19299. /Erms3/AddUserInfoApply:
  19300. post:
  19301. parameters:
  19302. - description: 用户信息
  19303. in: body
  19304. name: jsonBody
  19305. required: true
  19306. schema:
  19307. $ref: '#/definitions/erms3.AddUserInfoApplyReq'
  19308. produces:
  19309. - application/json
  19310. responses:
  19311. "200":
  19312. description: OK
  19313. schema:
  19314. $ref: '#/definitions/app.Response'
  19315. "500":
  19316. description: Internal Server Error
  19317. schema:
  19318. $ref: '#/definitions/app.Response'
  19319. security:
  19320. - ApiKeyAuth: []
  19321. summary: 新增客户申请
  19322. tags:
  19323. - 风险管理v3
  19324. /Erms3/DeleteUserInfoApply:
  19325. get:
  19326. description: 只可删除 UserState = 1 (未提交)状态的申请信息
  19327. parameters:
  19328. - description: 用户ID
  19329. in: query
  19330. name: userID
  19331. required: true
  19332. type: integer
  19333. produces:
  19334. - application/json
  19335. responses:
  19336. "200":
  19337. description: OK
  19338. schema:
  19339. $ref: '#/definitions/app.Response'
  19340. "500":
  19341. description: Internal Server Error
  19342. schema:
  19343. $ref: '#/definitions/app.Response'
  19344. security:
  19345. - ApiKeyAuth: []
  19346. summary: 删除客户申请
  19347. tags:
  19348. - 风险管理v3
  19349. /Erms3/ModifyUserInfoApply:
  19350. post:
  19351. description: '保存草稿(撤回)- { "userid": int, "userstate": 1 } 提交审核 - { "userid":
  19352. int, "userstate": 2 }'
  19353. parameters:
  19354. - description: 用户信息
  19355. in: body
  19356. name: jsonBody
  19357. required: true
  19358. schema:
  19359. $ref: '#/definitions/erms3.ModifyUserInfoApplyReq'
  19360. produces:
  19361. - application/json
  19362. responses:
  19363. "200":
  19364. description: OK
  19365. schema:
  19366. $ref: '#/definitions/app.Response'
  19367. "500":
  19368. description: Internal Server Error
  19369. schema:
  19370. $ref: '#/definitions/app.Response'
  19371. security:
  19372. - ApiKeyAuth: []
  19373. summary: 修改客户申请
  19374. tags:
  19375. - 风险管理v3
  19376. /Erms3/QueryBusinessInfo:
  19377. get:
  19378. parameters:
  19379. - description: 资金账号ID列表,用逗号分隔
  19380. in: query
  19381. name: accountids
  19382. required: true
  19383. type: string
  19384. - description: 状态,0为未结束 1为已结束
  19385. in: query
  19386. name: status
  19387. required: true
  19388. type: integer
  19389. produces:
  19390. - application/json
  19391. responses:
  19392. "200":
  19393. description: OK
  19394. schema:
  19395. items:
  19396. $ref: '#/definitions/erms3.QueryBusinessInfoRsp'
  19397. type: array
  19398. "500":
  19399. description: Internal Server Error
  19400. schema:
  19401. $ref: '#/definitions/app.Response'
  19402. security:
  19403. - ApiKeyAuth: []
  19404. summary: 查询业务表单数据
  19405. tags:
  19406. - 风险管理v3
  19407. /Erms3/QueryPendingAuditContract:
  19408. get:
  19409. parameters:
  19410. - description: 资金账号ID列表,逗号隔开
  19411. in: query
  19412. name: accountids
  19413. required: true
  19414. type: string
  19415. - description: 合同类型 1-采购 -1-销售
  19416. in: query
  19417. name: contracttype
  19418. required: true
  19419. type: integer
  19420. - description: 合同模式 1-普通 2-回购
  19421. in: query
  19422. name: contractmode
  19423. required: true
  19424. type: integer
  19425. produces:
  19426. - application/json
  19427. responses:
  19428. "200":
  19429. description: OK
  19430. schema:
  19431. items:
  19432. $ref: '#/definitions/erms3.QryAuditContractRsp'
  19433. type: array
  19434. "500":
  19435. description: Internal Server Error
  19436. schema:
  19437. $ref: '#/definitions/app.Response'
  19438. security:
  19439. - ApiKeyAuth: []
  19440. summary: 查询待审核合同
  19441. tags:
  19442. - 风险管理v3
  19443. /Erms3/QueryPendingBusiness:
  19444. get:
  19445. parameters:
  19446. - description: 资金账号ID列表,逗号隔开
  19447. in: query
  19448. name: accountids
  19449. required: true
  19450. type: string
  19451. produces:
  19452. - application/json
  19453. responses:
  19454. "200":
  19455. description: OK
  19456. schema:
  19457. items:
  19458. $ref: '#/definitions/erms3.QryPendingBizRsp'
  19459. type: array
  19460. "500":
  19461. description: Internal Server Error
  19462. schema:
  19463. $ref: '#/definitions/app.Response'
  19464. security:
  19465. - ApiKeyAuth: []
  19466. summary: 查询待审核基差贸易业务
  19467. tags:
  19468. - 风险管理v3
  19469. /Erms3/QuerySpotContractAppleForm:
  19470. get:
  19471. parameters:
  19472. - description: 登录账号
  19473. in: query
  19474. name: loginID
  19475. required: true
  19476. type: integer
  19477. produces:
  19478. - application/json
  19479. responses:
  19480. "200":
  19481. description: OK
  19482. schema:
  19483. $ref: '#/definitions/erms3.QuerySpotContractAppleFormRsp'
  19484. "500":
  19485. description: Internal Server Error
  19486. schema:
  19487. $ref: '#/definitions/app.Response'
  19488. security:
  19489. - ApiKeyAuth: []
  19490. summary: 查询合同申请表单数据
  19491. tags:
  19492. - 风险管理v3
  19493. /Erms3/QuerySpotContractDetail:
  19494. get:
  19495. parameters:
  19496. - description: 资金账号ID列表,用逗号分隔
  19497. in: query
  19498. name: accountids
  19499. required: true
  19500. type: string
  19501. - description: 合同类型,1为采购合同 -1为销售合同
  19502. in: query
  19503. name: contracttype
  19504. required: true
  19505. type: integer
  19506. - description: 合同模式,1为普通合同 2为回购销售合同
  19507. in: query
  19508. name: contractmode
  19509. required: true
  19510. type: integer
  19511. - description: 状态,0为履约中 1为已完成
  19512. in: query
  19513. name: status
  19514. required: true
  19515. type: integer
  19516. produces:
  19517. - application/json
  19518. responses:
  19519. "200":
  19520. description: OK
  19521. schema:
  19522. items:
  19523. $ref: '#/definitions/erms3.QuerySpotContractInfoRsp'
  19524. type: array
  19525. "500":
  19526. description: Internal Server Error
  19527. schema:
  19528. $ref: '#/definitions/app.Response'
  19529. security:
  19530. - ApiKeyAuth: []
  19531. summary: 查询合同详细信息
  19532. tags:
  19533. - 风险管理v3
  19534. /Erms3/QueryUserInfoApplies:
  19535. get:
  19536. parameters:
  19537. - description: 页码
  19538. in: query
  19539. name: page
  19540. type: integer
  19541. - description: 每页条数
  19542. in: query
  19543. name: pagesize
  19544. type: integer
  19545. - description: 客户名称,支持模糊查询
  19546. in: query
  19547. name: userName
  19548. type: string
  19549. produces:
  19550. - application/json
  19551. responses:
  19552. "200":
  19553. description: OK
  19554. schema:
  19555. $ref: '#/definitions/erms3.QueryUserInfoAppliesRsp'
  19556. "500":
  19557. description: Internal Server Error
  19558. schema:
  19559. $ref: '#/definitions/app.Response'
  19560. security:
  19561. - ApiKeyAuth: []
  19562. summary: 客户申请信息查询
  19563. tags:
  19564. - 风险管理v3
  19565. /Erms3/QueryUserInfos:
  19566. get:
  19567. parameters:
  19568. - description: 页码
  19569. in: query
  19570. name: page
  19571. type: integer
  19572. - description: 每页条数
  19573. in: query
  19574. name: pagesize
  19575. type: integer
  19576. - description: 客户名称,支持模糊查询
  19577. in: query
  19578. name: userName
  19579. type: string
  19580. produces:
  19581. - application/json
  19582. responses:
  19583. "200":
  19584. description: OK
  19585. schema:
  19586. $ref: '#/definitions/erms3.QueryUserInfosRsp'
  19587. "500":
  19588. description: Internal Server Error
  19589. schema:
  19590. $ref: '#/definitions/app.Response'
  19591. security:
  19592. - ApiKeyAuth: []
  19593. summary: 客户信息查询
  19594. tags:
  19595. - 风险管理v3
  19596. /HSBY/GetHsbyMyCount:
  19597. get:
  19598. description: 说明: 不包括已完成的数量。
  19599. parameters:
  19600. - description: 资金账户列表,格式:1,2,3
  19601. in: query
  19602. name: accountIDs
  19603. required: true
  19604. type: string
  19605. produces:
  19606. - application/json
  19607. responses:
  19608. "200":
  19609. description: OK
  19610. schema:
  19611. $ref: '#/definitions/hsby.GetHsbyMyCountRsp'
  19612. "500":
  19613. description: Internal Server Error
  19614. schema:
  19615. $ref: '#/definitions/app.Response'
  19616. security:
  19617. - ApiKeyAuth: []
  19618. summary: 获取我的订单与包裹数量
  19619. tags:
  19620. - 定制【海商报业】
  19621. /HSBY/QueryClientFixedADConfigs:
  19622. get:
  19623. produces:
  19624. - application/json
  19625. responses:
  19626. "200":
  19627. description: OK
  19628. schema:
  19629. $ref: '#/definitions/models.Clientfixedadconfig'
  19630. "500":
  19631. description: Internal Server Error
  19632. schema:
  19633. $ref: '#/definitions/app.Response'
  19634. security:
  19635. - ApiKeyAuth: []
  19636. summary: 获取终端固定广告配置
  19637. tags:
  19638. - 定制【海商报业】
  19639. /HSBY/QueryHsbyBuyMyTradeDetail:
  19640. get:
  19641. parameters:
  19642. - description: 页码
  19643. in: query
  19644. name: page
  19645. type: integer
  19646. - description: 每页条数
  19647. in: query
  19648. name: pagesize
  19649. type: integer
  19650. - description: 资金账户列表,格式:1,2,3
  19651. in: query
  19652. name: accountIDs
  19653. required: true
  19654. type: string
  19655. produces:
  19656. - application/json
  19657. responses:
  19658. "200":
  19659. description: OK
  19660. schema:
  19661. $ref: '#/definitions/models.HsbyBuyMyTradeDetail'
  19662. "500":
  19663. description: Internal Server Error
  19664. schema:
  19665. $ref: '#/definitions/app.Response'
  19666. security:
  19667. - ApiKeyAuth: []
  19668. summary: 查询"我的订单 - 已完成"单据信息
  19669. tags:
  19670. - 定制【海商报业】
  19671. /HSBY/QueryHsbyGoodsOrderDetails:
  19672. get:
  19673. description: 说明:查询结果已按委托价格和委托时间排序
  19674. parameters:
  19675. - description: 商品ID
  19676. in: query
  19677. name: goodsID
  19678. required: true
  19679. type: integer
  19680. - description: 摘牌方资金账户列表,格式:1,2,3。主要用于过滤自己的挂牌单
  19681. in: query
  19682. name: accountIDs
  19683. type: string
  19684. - description: 挂牌委托单方向(对手单方向),0:买 1:卖
  19685. in: query
  19686. name: buyOrSell
  19687. type: integer
  19688. - description: ' 参考价格。对手单买方向委托单则价格大于等于(站在摘牌人的角度,摘牌方面是卖,我的闲置下单);对手单卖方向委托单则价格小于等于(站在摘牌人的角度,摘牌方面是买,热门商品下单)'
  19689. in: query
  19690. name: price
  19691. type: number
  19692. - description: 档位,不传则默认为3档
  19693. in: query
  19694. name: speed
  19695. type: integer
  19696. produces:
  19697. - application/json
  19698. responses:
  19699. "200":
  19700. description: OK
  19701. schema:
  19702. $ref: '#/definitions/models.HsbyGoodsOrderDetail'
  19703. "500":
  19704. description: Internal Server Error
  19705. schema:
  19706. $ref: '#/definitions/app.Response'
  19707. security:
  19708. - ApiKeyAuth: []
  19709. summary: 查询二级市场(挂牌点选)商品对应的挂牌委托单信息
  19710. tags:
  19711. - 定制【海商报业】
  19712. /HSBY/QueryHsbyListingGoodsDetail:
  19713. get:
  19714. description: 说明:“我的商品”详情中,二级(挂牌点选)和三级(商城)的商品详情都使用此接口
  19715. parameters:
  19716. - description: 商品ID
  19717. in: query
  19718. name: goodsID
  19719. required: true
  19720. type: integer
  19721. - description: 资金账户,主要用于获取交易规则。不传则获取通用规则。
  19722. in: query
  19723. name: accountID
  19724. type: integer
  19725. produces:
  19726. - application/json
  19727. responses:
  19728. "200":
  19729. description: OK
  19730. schema:
  19731. $ref: '#/definitions/models.HsbyListingGoodsDetail'
  19732. "500":
  19733. description: Internal Server Error
  19734. schema:
  19735. $ref: '#/definitions/app.Response'
  19736. security:
  19737. - ApiKeyAuth: []
  19738. summary: 查询二级市场(挂牌点选)商品信息详情
  19739. tags:
  19740. - 定制【海商报业】
  19741. /HSBY/QueryHsbyMarketGoodsDetail:
  19742. get:
  19743. parameters:
  19744. - description: 委托单号
  19745. in: query
  19746. name: orderID
  19747. required: true
  19748. type: integer
  19749. - description: 资金账户,主要用于判断商品最大开仓手数;如未登录可不传。
  19750. in: query
  19751. name: accountID
  19752. type: integer
  19753. produces:
  19754. - application/json
  19755. responses:
  19756. "200":
  19757. description: OK
  19758. schema:
  19759. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  19760. "500":
  19761. description: Internal Server Error
  19762. schema:
  19763. $ref: '#/definitions/app.Response'
  19764. security:
  19765. - ApiKeyAuth: []
  19766. summary: 查询三级市场(商城)商品信息详情
  19767. tags:
  19768. - 定制【海商报业】
  19769. /HSBY/QueryHsbyMarketGoodses:
  19770. get:
  19771. parameters:
  19772. - description: 页码
  19773. in: query
  19774. name: page
  19775. type: integer
  19776. - description: 每页条数
  19777. in: query
  19778. name: pagesize
  19779. type: integer
  19780. - description: 市场ID列表,格式:1,2,3
  19781. in: query
  19782. name: marketIDs
  19783. required: true
  19784. type: string
  19785. - description: 资金账户,用于判断商品是否有可用的优惠卷;同时只显示此账户所属机构下的商城委托单。
  19786. in: query
  19787. name: accountID
  19788. required: true
  19789. type: integer
  19790. - description: 类别ID
  19791. in: query
  19792. name: categoryID
  19793. type: integer
  19794. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  19795. in: query
  19796. name: goodsIDs
  19797. type: string
  19798. - description: 优惠券类型ID,主要用于显示优惠卷对应的商品列表。
  19799. in: query
  19800. name: couponTypeID
  19801. type: integer
  19802. produces:
  19803. - application/json
  19804. responses:
  19805. "200":
  19806. description: OK
  19807. schema:
  19808. $ref: '#/definitions/models.HsbyMarketGoods'
  19809. "500":
  19810. description: Internal Server Error
  19811. schema:
  19812. $ref: '#/definitions/app.Response'
  19813. security:
  19814. - ApiKeyAuth: []
  19815. summary: 查询特卖商品列表(三级商城)
  19816. tags:
  19817. - 定制【海商报业】
  19818. /HSBY/QueryHsbyMarkets:
  19819. get:
  19820. produces:
  19821. - application/json
  19822. responses:
  19823. "200":
  19824. description: OK
  19825. schema:
  19826. $ref: '#/definitions/models.HsbyMarketInfo'
  19827. "500":
  19828. description: Internal Server Error
  19829. schema:
  19830. $ref: '#/definitions/app.Response'
  19831. security:
  19832. - ApiKeyAuth: []
  19833. summary: 查询海商报业相关市场信息
  19834. tags:
  19835. - 定制【海商报业】
  19836. /HSBY/QueryHsbyMyBuyOrderDetails:
  19837. get:
  19838. description: '说明: myBuyStatus: 1,2 - 待成交;3 - 已提交;4 - 已撤消;5 - 委托失败'
  19839. parameters:
  19840. - description: 资金账户列表,格式:1,2,3
  19841. in: query
  19842. name: accountIDs
  19843. required: true
  19844. type: string
  19845. produces:
  19846. - application/json
  19847. responses:
  19848. "200":
  19849. description: OK
  19850. schema:
  19851. $ref: '#/definitions/models.HybsMyBuyOrderDetail'
  19852. "500":
  19853. description: Internal Server Error
  19854. schema:
  19855. $ref: '#/definitions/app.Response'
  19856. security:
  19857. - ApiKeyAuth: []
  19858. summary: 查询“我的订单”信息
  19859. tags:
  19860. - 定制【海商报业】
  19861. /HSBY/QueryHsbyMyGoods:
  19862. get:
  19863. description: 说明: 挂牌点选(tradeMode = 16)价格取last; 商城(tradeMode = 70)价格取goodsprice
  19864. parameters:
  19865. - description: 资金账户列表,格式:1,2,3
  19866. in: query
  19867. name: accountIDs
  19868. required: true
  19869. type: string
  19870. produces:
  19871. - application/json
  19872. responses:
  19873. "200":
  19874. description: OK
  19875. schema:
  19876. $ref: '#/definitions/models.HsbyMyGoods'
  19877. "500":
  19878. description: Internal Server Error
  19879. schema:
  19880. $ref: '#/definitions/app.Response'
  19881. security:
  19882. - ApiKeyAuth: []
  19883. summary: 查询“我的商品”信息
  19884. tags:
  19885. - 定制【海商报业】
  19886. /HSBY/QueryHsbyMyPackages:
  19887. get:
  19888. parameters:
  19889. - description: 资金账户列表,格式:1,2,3
  19890. in: query
  19891. name: accountIDs
  19892. required: true
  19893. type: string
  19894. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  19895. in: query
  19896. name: takeOrderStatus
  19897. type: integer
  19898. produces:
  19899. - application/json
  19900. responses:
  19901. "200":
  19902. description: OK
  19903. schema:
  19904. $ref: '#/definitions/models.HsbyMyPackage'
  19905. "500":
  19906. description: Internal Server Error
  19907. schema:
  19908. $ref: '#/definitions/app.Response'
  19909. security:
  19910. - ApiKeyAuth: []
  19911. summary: 查询我的包裹信息
  19912. tags:
  19913. - 定制【海商报业】
  19914. /HSBY/QueryHsbyPreGoodsDetail:
  19915. get:
  19916. parameters:
  19917. - description: 商品ID
  19918. in: query
  19919. name: goodsID
  19920. required: true
  19921. type: integer
  19922. - description: 资金账户,主要用于获取预售商品购买上限
  19923. in: query
  19924. name: accountID
  19925. type: integer
  19926. produces:
  19927. - application/json
  19928. responses:
  19929. "200":
  19930. description: OK
  19931. schema:
  19932. $ref: '#/definitions/models.HsbyPreGoodsDetail'
  19933. "500":
  19934. description: Internal Server Error
  19935. schema:
  19936. $ref: '#/definitions/app.Response'
  19937. security:
  19938. - ApiKeyAuth: []
  19939. summary: 查询一级市场(预售)商品信息详情
  19940. tags:
  19941. - 定制【海商报业】
  19942. /HSBY/QueryHsbyPreGoodses:
  19943. get:
  19944. description: 说明:结果已先显示已开始商品(按结束时间顺序排),再显示未开始商品(按开始时间顺序排)
  19945. parameters:
  19946. - description: 页码
  19947. in: query
  19948. name: page
  19949. type: integer
  19950. - description: 每页条数
  19951. in: query
  19952. name: pagesize
  19953. type: integer
  19954. - description: 市场ID列表,格式:1,2,3
  19955. in: query
  19956. name: marketIDs
  19957. required: true
  19958. type: string
  19959. - description: 目的地(省)ID
  19960. in: query
  19961. name: descProvinceID
  19962. type: integer
  19963. - description: 目的地(市)ID
  19964. in: query
  19965. name: descCityID
  19966. type: integer
  19967. produces:
  19968. - application/json
  19969. responses:
  19970. "200":
  19971. description: OK
  19972. schema:
  19973. $ref: '#/definitions/models.HsbyPreGoods'
  19974. "500":
  19975. description: Internal Server Error
  19976. schema:
  19977. $ref: '#/definitions/app.Response'
  19978. security:
  19979. - ApiKeyAuth: []
  19980. summary: 查询新品上市商品列表(一级市场预售)
  19981. tags:
  19982. - 定制【海商报业】
  19983. /HSBY/QueryHsbySellMyDetails:
  19984. get:
  19985. description: 说明:发布中 - 二级市场卖挂,3:委托成功、7:部分成交; 已完成 - 二级市场成交单,包括历史数据。查询结果已按时间从近到远排序
  19986. parameters:
  19987. - description: 页码
  19988. in: query
  19989. name: page
  19990. type: integer
  19991. - description: 每页条数
  19992. in: query
  19993. name: pagesize
  19994. type: integer
  19995. - description: 资金账户列表,格式:1,2,3
  19996. in: query
  19997. name: accountIDs
  19998. required: true
  19999. type: string
  20000. - description: 单据类型:0 - 发布中(默认), 1 - 已完成
  20001. in: query
  20002. name: orderType
  20003. type: integer
  20004. produces:
  20005. - application/json
  20006. responses:
  20007. "200":
  20008. description: OK
  20009. schema:
  20010. $ref: '#/definitions/models.HsbySellMyDetail'
  20011. "500":
  20012. description: Internal Server Error
  20013. schema:
  20014. $ref: '#/definitions/app.Response'
  20015. security:
  20016. - ApiKeyAuth: []
  20017. summary: 查询"我的闲置"单据信息
  20018. tags:
  20019. - 定制【海商报业】
  20020. /HSBY/QueryHsbyTopGoodses:
  20021. get:
  20022. description: 说明:查询结果已按Hotindex(景点热度)从大到小排序
  20023. parameters:
  20024. - description: 页码
  20025. in: query
  20026. name: page
  20027. type: integer
  20028. - description: 每页条数
  20029. in: query
  20030. name: pagesize
  20031. type: integer
  20032. - description: 市场ID列表,格式:1,2,3
  20033. in: query
  20034. name: marketIDs
  20035. required: true
  20036. type: string
  20037. - description: 目的地(省)ID
  20038. in: query
  20039. name: descProvinceID
  20040. type: integer
  20041. - description: 目的地(市)ID
  20042. in: query
  20043. name: descCityID
  20044. type: integer
  20045. produces:
  20046. - application/json
  20047. responses:
  20048. "200":
  20049. description: OK
  20050. schema:
  20051. $ref: '#/definitions/models.HsbyTopGoods'
  20052. "500":
  20053. description: Internal Server Error
  20054. schema:
  20055. $ref: '#/definitions/app.Response'
  20056. security:
  20057. - ApiKeyAuth: []
  20058. summary: 查询热卖商品列表(二级市场挂牌点选)
  20059. tags:
  20060. - 定制【海商报业】
  20061. /HSBY/QueryHsbyVisitorMarketGoodsDetail:
  20062. get:
  20063. description: 说明:使用于未登录状态查询商城商品详情,登录后请使用QueryHsbyMarketGoodsDetail接口进行查询。
  20064. parameters:
  20065. - description: 商品ID
  20066. in: query
  20067. name: goodsID
  20068. required: true
  20069. type: integer
  20070. produces:
  20071. - application/json
  20072. responses:
  20073. "200":
  20074. description: OK
  20075. schema:
  20076. $ref: '#/definitions/models.HsbyMarketGoodsDetail'
  20077. "500":
  20078. description: Internal Server Error
  20079. schema:
  20080. $ref: '#/definitions/app.Response'
  20081. security:
  20082. - ApiKeyAuth: []
  20083. summary: 查询游客三级市场(商城)商品信息详情
  20084. tags:
  20085. - 定制【海商报业】
  20086. /HSBY/QueryHsbyVisitorMarketGoodses:
  20087. get:
  20088. description: 说明:使用于未登录状态查询商城商品列表,登录后请使用QueryHsbyMarketGoodses接口进行查询。
  20089. parameters:
  20090. - description: 页码
  20091. in: query
  20092. name: page
  20093. type: integer
  20094. - description: 每页条数
  20095. in: query
  20096. name: pagesize
  20097. type: integer
  20098. - description: 市场ID列表,格式:1,2,3
  20099. in: query
  20100. name: marketIDs
  20101. required: true
  20102. type: string
  20103. - description: 类别ID
  20104. in: query
  20105. name: categoryID
  20106. type: integer
  20107. - description: 商品ID列表,格式:1,2,3。主要用于商品搜索。
  20108. in: query
  20109. name: goodsIDs
  20110. type: string
  20111. produces:
  20112. - application/json
  20113. responses:
  20114. "200":
  20115. description: OK
  20116. schema:
  20117. $ref: '#/definitions/models.HsbyMarketGoods'
  20118. "500":
  20119. description: Internal Server Error
  20120. schema:
  20121. $ref: '#/definitions/app.Response'
  20122. security:
  20123. - ApiKeyAuth: []
  20124. summary: 查询游客特卖商品列表(三级商城)
  20125. tags:
  20126. - 定制【海商报业】
  20127. /HSBY/QueryMyCollectionOrders:
  20128. get:
  20129. parameters:
  20130. - description: 页码
  20131. in: query
  20132. name: page
  20133. type: integer
  20134. - description: 每页条数
  20135. in: query
  20136. name: pagesize
  20137. type: integer
  20138. - description: 资金账户,格式:1,2,3
  20139. in: query
  20140. name: accountIDs
  20141. required: true
  20142. type: string
  20143. produces:
  20144. - application/json
  20145. responses:
  20146. "200":
  20147. description: OK
  20148. schema:
  20149. $ref: '#/definitions/models.HsbySellCollectionOrder'
  20150. "500":
  20151. description: Internal Server Error
  20152. schema:
  20153. $ref: '#/definitions/app.Response'
  20154. security:
  20155. - ApiKeyAuth: []
  20156. summary: 我的闲置中收款信息查询
  20157. tags:
  20158. - 定制【海商报业】
  20159. /HSBY/QueryMyCouponHolds:
  20160. get:
  20161. description: 说明:当holdStatus传入4(已过期)后,会从历史表中查询已过期的优惠卷数据。
  20162. parameters:
  20163. - description: 资金账户列表,格式:1,2,3
  20164. in: query
  20165. name: accountIDs
  20166. required: true
  20167. type: string
  20168. - description: 持仓状态 - 1:未生效 2:已生效 3:已使用 4:已过期,格式:1,2,3
  20169. in: query
  20170. name: holdStatus
  20171. type: string
  20172. produces:
  20173. - application/json
  20174. responses:
  20175. "200":
  20176. description: OK
  20177. schema:
  20178. $ref: '#/definitions/models.MyCouponHold'
  20179. "500":
  20180. description: Internal Server Error
  20181. schema:
  20182. $ref: '#/definitions/app.Response'
  20183. security:
  20184. - ApiKeyAuth: []
  20185. summary: 我的优惠卷持仓查询
  20186. tags:
  20187. - 定制【海商报业】
  20188. /HSBY/QueryMyCoupons:
  20189. get:
  20190. parameters:
  20191. - description: 资金账户列表,格式:1,2,3
  20192. in: query
  20193. name: accountIDs
  20194. required: true
  20195. type: string
  20196. - description: 商品ID, 一般与sellUserID配套传入
  20197. in: query
  20198. name: goodsID
  20199. type: integer
  20200. - description: 卖方UserID
  20201. in: query
  20202. name: sellUserID
  20203. type: integer
  20204. produces:
  20205. - application/json
  20206. responses:
  20207. "200":
  20208. description: OK
  20209. schema:
  20210. $ref: '#/definitions/models.MyCoupon'
  20211. "500":
  20212. description: Internal Server Error
  20213. schema:
  20214. $ref: '#/definitions/app.Response'
  20215. security:
  20216. - ApiKeyAuth: []
  20217. summary: 我的优惠卷查询
  20218. tags:
  20219. - 定制【海商报业】
  20220. /HSBY/QueryMyPayOrders:
  20221. get:
  20222. parameters:
  20223. - description: 页码
  20224. in: query
  20225. name: page
  20226. type: integer
  20227. - description: 每页条数
  20228. in: query
  20229. name: pagesize
  20230. type: integer
  20231. - description: 资金账户列表,格式:1,2,3
  20232. in: query
  20233. name: accountIDs
  20234. required: true
  20235. type: string
  20236. - description: 买方委托单号
  20237. in: query
  20238. name: buyOrderID
  20239. type: integer
  20240. - description: 卖方委托单号
  20241. in: query
  20242. name: sellOrderID
  20243. type: integer
  20244. produces:
  20245. - application/json
  20246. responses:
  20247. "200":
  20248. description: OK
  20249. schema:
  20250. $ref: '#/definitions/models.HsbyBuyMyPayOrder'
  20251. "500":
  20252. description: Internal Server Error
  20253. schema:
  20254. $ref: '#/definitions/app.Response'
  20255. security:
  20256. - ApiKeyAuth: []
  20257. summary: 获取我的订单中待付款信息
  20258. tags:
  20259. - 定制【海商报业】
  20260. /HSBY/QueryMyUsedCoupon:
  20261. get:
  20262. parameters:
  20263. - description: 资金账户列表,格式:1,2,3
  20264. in: query
  20265. name: accountIDs
  20266. required: true
  20267. type: string
  20268. produces:
  20269. - application/json
  20270. responses:
  20271. "200":
  20272. description: OK
  20273. schema:
  20274. $ref: '#/definitions/models.MyUsedCoupon'
  20275. "500":
  20276. description: Internal Server Error
  20277. schema:
  20278. $ref: '#/definitions/app.Response'
  20279. security:
  20280. - ApiKeyAuth: []
  20281. summary: 已使用优惠卷查询
  20282. tags:
  20283. - 定制【海商报业】
  20284. /HSBY/QueryProvincesAndCities:
  20285. get:
  20286. description: 查询结果只包括二级市场商品已关连的省市信息。
  20287. parameters:
  20288. - description: 省ID
  20289. in: query
  20290. name: provinceID
  20291. type: integer
  20292. produces:
  20293. - application/json
  20294. responses:
  20295. "200":
  20296. description: OK
  20297. schema:
  20298. $ref: '#/definitions/hsby.QueryProvincesAndCitiesRsp'
  20299. "500":
  20300. description: Internal Server Error
  20301. schema:
  20302. $ref: '#/definitions/app.Response'
  20303. security:
  20304. - ApiKeyAuth: []
  20305. summary: 查询省市信息(不包括区)
  20306. tags:
  20307. - 定制【海商报业】
  20308. /HSBY/SetHsbyMyPackagesStatus:
  20309. post:
  20310. parameters:
  20311. - description: 提货单号
  20312. in: query
  20313. name: takeOrderID
  20314. required: true
  20315. type: string
  20316. - description: 资金账号
  20317. in: query
  20318. name: accountID
  20319. required: true
  20320. type: integer
  20321. produces:
  20322. - application/json
  20323. responses:
  20324. "200":
  20325. description: OK
  20326. schema:
  20327. $ref: '#/definitions/app.Response'
  20328. "500":
  20329. description: Internal Server Error
  20330. schema:
  20331. $ref: '#/definitions/app.Response'
  20332. security:
  20333. - ApiKeyAuth: []
  20334. summary: 设置我的包裹已收货状态
  20335. tags:
  20336. - 定制【海商报业】
  20337. /Market/GetAllExExchanges:
  20338. get:
  20339. produces:
  20340. - application/json
  20341. responses:
  20342. "200":
  20343. description: OK
  20344. schema:
  20345. $ref: '#/definitions/models.Goods'
  20346. "500":
  20347. description: Internal Server Error
  20348. schema:
  20349. $ref: '#/definitions/app.Response'
  20350. security:
  20351. - ApiKeyAuth: []
  20352. summary: 获取所有外部交易所信息
  20353. tags:
  20354. - 通用市场
  20355. /Market/QueryGoodsesByLoginID:
  20356. get:
  20357. parameters:
  20358. - description: 登录账号
  20359. in: query
  20360. name: loginID
  20361. required: true
  20362. type: integer
  20363. - description: 市场ID列表,格式:1,2,3
  20364. in: query
  20365. name: marketIDs
  20366. type: string
  20367. produces:
  20368. - application/json
  20369. responses:
  20370. "200":
  20371. description: OK
  20372. schema:
  20373. $ref: '#/definitions/models.Goods'
  20374. "500":
  20375. description: Internal Server Error
  20376. schema:
  20377. $ref: '#/definitions/app.Response'
  20378. security:
  20379. - ApiKeyAuth: []
  20380. summary: 获取登录账号有权限的商品信息
  20381. tags:
  20382. - 通用市场
  20383. /Market/QueryMarketRun:
  20384. get:
  20385. parameters:
  20386. - description: 市场ID,不传返回所有
  20387. in: query
  20388. name: marketID
  20389. type: integer
  20390. produces:
  20391. - application/json
  20392. responses:
  20393. "200":
  20394. description: OK
  20395. schema:
  20396. $ref: '#/definitions/models.Marketrun'
  20397. "500":
  20398. description: Internal Server Error
  20399. schema:
  20400. $ref: '#/definitions/app.Response'
  20401. security:
  20402. - ApiKeyAuth: []
  20403. summary: 查询市场运行信息
  20404. tags:
  20405. - 通用市场
  20406. /Market/QueryMarketsByLoginID:
  20407. get:
  20408. parameters:
  20409. - description: 登录账号
  20410. in: query
  20411. name: loginID
  20412. required: true
  20413. type: integer
  20414. produces:
  20415. - application/json
  20416. responses:
  20417. "200":
  20418. description: OK
  20419. schema:
  20420. $ref: '#/definitions/models.Market'
  20421. "500":
  20422. description: Internal Server Error
  20423. schema:
  20424. $ref: '#/definitions/app.Response'
  20425. security:
  20426. - ApiKeyAuth: []
  20427. summary: 获取登录账号有权限的市场信息
  20428. tags:
  20429. - 通用市场
  20430. /Order/QueryHisTradeDetail:
  20431. get:
  20432. parameters:
  20433. - description: 资金账户 - 格式:1,2,3
  20434. in: query
  20435. name: accountID
  20436. required: true
  20437. type: string
  20438. - description: 成交单号
  20439. in: query
  20440. name: tradeID
  20441. type: integer
  20442. - description: 委托单号
  20443. in: query
  20444. name: orderID
  20445. type: integer
  20446. - description: 商品ID
  20447. in: query
  20448. name: goodsID
  20449. type: integer
  20450. - description: 交易模式 - 格式:1,2,3
  20451. in: query
  20452. name: tradeMode
  20453. type: string
  20454. - description: 委托单据类型
  20455. in: query
  20456. name: buildType
  20457. type: integer
  20458. - description: 成交类别 - 格式:1,2,3
  20459. in: query
  20460. name: tradeType
  20461. type: string
  20462. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20463. in: query
  20464. name: startDate
  20465. type: string
  20466. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20467. in: query
  20468. name: endDate
  20469. type: string
  20470. produces:
  20471. - application/json
  20472. responses:
  20473. "200":
  20474. description: OK
  20475. schema:
  20476. $ref: '#/definitions/order.QueryHisTradeDetailRsp'
  20477. "500":
  20478. description: Internal Server Error
  20479. schema:
  20480. $ref: '#/definitions/app.Response'
  20481. security:
  20482. - ApiKeyAuth: []
  20483. summary: 历史成交单查询(合约市场)
  20484. tags:
  20485. - 通用单据
  20486. /Order/QueryHisTradeOrderDetail:
  20487. get:
  20488. parameters:
  20489. - description: 资金账户 - 格式:1,2,3
  20490. in: query
  20491. name: accountID
  20492. required: true
  20493. type: string
  20494. - description: 交易模式 - 格式:1,2,3
  20495. in: query
  20496. name: tradeMode
  20497. type: string
  20498. - description: 委托状态 - 格式:1,2,3
  20499. in: query
  20500. name: orderStatus
  20501. type: string
  20502. - description: 委托单号
  20503. in: query
  20504. name: orderID
  20505. type: integer
  20506. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  20507. in: query
  20508. name: startDate
  20509. type: string
  20510. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  20511. in: query
  20512. name: endDate
  20513. type: string
  20514. produces:
  20515. - application/json
  20516. responses:
  20517. "200":
  20518. description: OK
  20519. schema:
  20520. $ref: '#/definitions/order.QueryHisTradeOrderDetailRsp'
  20521. "500":
  20522. description: Internal Server Error
  20523. schema:
  20524. $ref: '#/definitions/app.Response'
  20525. security:
  20526. - ApiKeyAuth: []
  20527. summary: 历史委托单查询请求(合约市场)
  20528. tags:
  20529. - 通用单据
  20530. /Order/QueryTradeDetail:
  20531. get:
  20532. parameters:
  20533. - description: 资金账户 - 格式:1,2,3
  20534. in: query
  20535. name: accountID
  20536. required: true
  20537. type: string
  20538. - description: 成交单号
  20539. in: query
  20540. name: tradeID
  20541. type: integer
  20542. - description: 委托单号
  20543. in: query
  20544. name: orderID
  20545. type: integer
  20546. - description: 交易模式 - 格式:1,2,3
  20547. in: query
  20548. name: tradeMode
  20549. type: string
  20550. - description: 委托单据类型
  20551. in: query
  20552. name: buildType
  20553. type: integer
  20554. - description: 成交类别 - 格式:1,2,3
  20555. in: query
  20556. name: tradeType
  20557. type: string
  20558. - description: 商品ID
  20559. in: query
  20560. name: goodsID
  20561. type: integer
  20562. produces:
  20563. - application/json
  20564. responses:
  20565. "200":
  20566. description: OK
  20567. schema:
  20568. $ref: '#/definitions/order.QueryTradeDetailRsp'
  20569. "500":
  20570. description: Internal Server Error
  20571. schema:
  20572. $ref: '#/definitions/app.Response'
  20573. security:
  20574. - ApiKeyAuth: []
  20575. summary: 成交单查询(合约市场)
  20576. tags:
  20577. - 通用单据
  20578. /Order/QueryTradeOrderDetail:
  20579. get:
  20580. parameters:
  20581. - description: 资金账户 - 格式:1,2,3
  20582. in: query
  20583. name: accountID
  20584. required: true
  20585. type: string
  20586. - description: 交易模式 - 格式:1,2,3
  20587. in: query
  20588. name: tradeMode
  20589. type: string
  20590. - description: 委托状态 - 格式:1,2,3
  20591. in: query
  20592. name: orderStatus
  20593. type: string
  20594. - description: 委托单号
  20595. in: query
  20596. name: orderID
  20597. type: integer
  20598. produces:
  20599. - application/json
  20600. responses:
  20601. "200":
  20602. description: OK
  20603. schema:
  20604. $ref: '#/definitions/order.QueryTradeOrderDetailRsp'
  20605. "500":
  20606. description: Internal Server Error
  20607. schema:
  20608. $ref: '#/definitions/app.Response'
  20609. security:
  20610. - ApiKeyAuth: []
  20611. summary: 委托单查询请求(合约市场)
  20612. tags:
  20613. - 通用单据
  20614. /Order/QueryTradePosition:
  20615. get:
  20616. parameters:
  20617. - description: 资金账户 - 格式:1,2,3
  20618. in: query
  20619. name: accountID
  20620. required: true
  20621. type: string
  20622. - description: 交易模式 - 格式:1,2,3
  20623. in: query
  20624. name: tradeMode
  20625. type: string
  20626. produces:
  20627. - application/json
  20628. responses:
  20629. "200":
  20630. description: OK
  20631. schema:
  20632. $ref: '#/definitions/order.QueryTradePositionRsp'
  20633. "500":
  20634. description: Internal Server Error
  20635. schema:
  20636. $ref: '#/definitions/app.Response'
  20637. security:
  20638. - ApiKeyAuth: []
  20639. summary: 持仓汇总查询(合约市场)
  20640. tags:
  20641. - 通用单据
  20642. /Qhj/QueryAccountInOutApply:
  20643. get:
  20644. parameters:
  20645. - description: 用户ID
  20646. in: query
  20647. name: userid
  20648. required: true
  20649. type: integer
  20650. - description: 申请起始日期(格式yyyymmdd)
  20651. in: query
  20652. name: begindate
  20653. type: string
  20654. - description: 申请截止日期(格式yyyymmdd)
  20655. in: query
  20656. name: enddate
  20657. type: string
  20658. - description: 模糊搜索名称
  20659. in: query
  20660. name: likename
  20661. type: string
  20662. produces:
  20663. - application/json
  20664. responses:
  20665. "200":
  20666. description: OK
  20667. schema:
  20668. items:
  20669. $ref: '#/definitions/models.QhjAccountOutInApply'
  20670. type: array
  20671. "500":
  20672. description: Internal Server Error
  20673. schema:
  20674. $ref: '#/definitions/app.Response'
  20675. security:
  20676. - ApiKeyAuth: []
  20677. summary: 查询充值提现
  20678. tags:
  20679. - 大连千海金
  20680. /Qhj/QueryAreaFinanceConfig:
  20681. get:
  20682. parameters:
  20683. - description: 机构用户ID 其他做市关系,都设置为 1
  20684. in: query
  20685. name: userid
  20686. type: integer
  20687. produces:
  20688. - application/json
  20689. responses:
  20690. "200":
  20691. description: OK
  20692. schema:
  20693. items:
  20694. $ref: '#/definitions/models.QhjAreaFinanceConfig'
  20695. type: array
  20696. "500":
  20697. description: Internal Server Error
  20698. schema:
  20699. $ref: '#/definitions/app.Response'
  20700. security:
  20701. - ApiKeyAuth: []
  20702. summary: 查询企业配置表
  20703. tags:
  20704. - 大连千海金
  20705. /Qhj/QueryBankAccountSign:
  20706. get:
  20707. parameters:
  20708. - description: 用户ID
  20709. in: query
  20710. name: userid
  20711. required: true
  20712. type: integer
  20713. produces:
  20714. - application/json
  20715. responses:
  20716. "200":
  20717. description: OK
  20718. schema:
  20719. items:
  20720. $ref: '#/definitions/models.QhjBankAccountSign'
  20721. type: array
  20722. "500":
  20723. description: Internal Server Error
  20724. schema:
  20725. $ref: '#/definitions/app.Response'
  20726. security:
  20727. - ApiKeyAuth: []
  20728. summary: 查询签约银行信息(提现账户管理)
  20729. tags:
  20730. - 大连千海金
  20731. /Qhj/QueryBankInfo:
  20732. get:
  20733. produces:
  20734. - application/json
  20735. responses:
  20736. "200":
  20737. description: OK
  20738. schema:
  20739. items:
  20740. $ref: '#/definitions/models.QhjBankInfo'
  20741. type: array
  20742. "500":
  20743. description: Internal Server Error
  20744. schema:
  20745. $ref: '#/definitions/app.Response'
  20746. security:
  20747. - ApiKeyAuth: []
  20748. summary: 查询开户行
  20749. tags:
  20750. - 大连千海金
  20751. /Qhj/QueryBrokerApply:
  20752. get:
  20753. parameters:
  20754. - description: 所属机构ID
  20755. in: query
  20756. name: userid
  20757. type: integer
  20758. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  20759. in: query
  20760. name: filterstatus
  20761. type: string
  20762. produces:
  20763. - application/json
  20764. responses:
  20765. "200":
  20766. description: OK
  20767. schema:
  20768. items:
  20769. $ref: '#/definitions/models.QhjBrokerApply'
  20770. type: array
  20771. "500":
  20772. description: Internal Server Error
  20773. schema:
  20774. $ref: '#/definitions/app.Response'
  20775. security:
  20776. - ApiKeyAuth: []
  20777. summary: 查询经纪人申请
  20778. tags:
  20779. - 大连千海金
  20780. /Qhj/QueryBrokerApplyEx:
  20781. get:
  20782. parameters:
  20783. - description: 所属机构ID
  20784. in: query
  20785. name: userid
  20786. type: integer
  20787. produces:
  20788. - application/json
  20789. responses:
  20790. "200":
  20791. description: OK
  20792. schema:
  20793. items:
  20794. $ref: '#/definitions/models.QhjBrokerApplyEx'
  20795. type: array
  20796. "500":
  20797. description: Internal Server Error
  20798. schema:
  20799. $ref: '#/definitions/app.Response'
  20800. security:
  20801. - ApiKeyAuth: []
  20802. summary: 查询经纪人信息和申请记录
  20803. tags:
  20804. - 大连千海金
  20805. /Qhj/QueryBrokerRewardLog:
  20806. get:
  20807. parameters:
  20808. - description: 用户ID
  20809. in: query
  20810. name: userid
  20811. required: true
  20812. type: integer
  20813. - description: 开始交易日(yyyymmdd)
  20814. in: query
  20815. name: begindate
  20816. type: string
  20817. - description: 结束交易日(yyyymmdd)
  20818. in: query
  20819. name: enddate
  20820. type: string
  20821. produces:
  20822. - application/json
  20823. responses:
  20824. "200":
  20825. description: OK
  20826. schema:
  20827. items:
  20828. $ref: '#/definitions/models.QhjBrokerRewardLog'
  20829. type: array
  20830. "500":
  20831. description: Internal Server Error
  20832. schema:
  20833. $ref: '#/definitions/app.Response'
  20834. security:
  20835. - ApiKeyAuth: []
  20836. summary: 查询奖励流水(我的奖励)
  20837. tags:
  20838. - 大连千海金
  20839. /Qhj/QueryContract:
  20840. get:
  20841. parameters:
  20842. - description: 用户ID
  20843. in: query
  20844. name: userid
  20845. type: integer
  20846. - description: scf合同id
  20847. in: query
  20848. name: scfcontractid
  20849. type: integer
  20850. produces:
  20851. - application/json
  20852. responses:
  20853. "200":
  20854. description: OK
  20855. schema:
  20856. items:
  20857. $ref: '#/definitions/models.QhjContract'
  20858. type: array
  20859. "500":
  20860. description: Internal Server Error
  20861. schema:
  20862. $ref: '#/definitions/app.Response'
  20863. security:
  20864. - ApiKeyAuth: []
  20865. summary: 查询融资明细(合同)
  20866. tags:
  20867. - 大连千海金
  20868. /Qhj/QueryContractLog:
  20869. get:
  20870. parameters:
  20871. - description: scf合同id
  20872. in: query
  20873. name: scfcontractid
  20874. required: true
  20875. type: integer
  20876. - description: 资金类型(逗号隔开) - 1:首付款 2:尾款 3:利息 4:追加款
  20877. in: query
  20878. name: amounttype
  20879. type: string
  20880. produces:
  20881. - application/json
  20882. responses:
  20883. "200":
  20884. description: OK
  20885. schema:
  20886. items:
  20887. $ref: '#/definitions/models.QhjContractLog'
  20888. type: array
  20889. "500":
  20890. description: Internal Server Error
  20891. schema:
  20892. $ref: '#/definitions/app.Response'
  20893. security:
  20894. - ApiKeyAuth: []
  20895. summary: 查询融资明细流水(融资明细详情页中的流水)
  20896. tags:
  20897. - 大连千海金
  20898. /Qhj/QueryCusBankSignBank:
  20899. get:
  20900. produces:
  20901. - application/json
  20902. responses:
  20903. "200":
  20904. description: OK
  20905. schema:
  20906. items:
  20907. $ref: '#/definitions/models.QhjCusBankSignBankEx'
  20908. type: array
  20909. "500":
  20910. description: Internal Server Error
  20911. schema:
  20912. $ref: '#/definitions/app.Response'
  20913. security:
  20914. - ApiKeyAuth: []
  20915. summary: 查询托管银行
  20916. tags:
  20917. - 大连千海金
  20918. /Qhj/QueryCustomerInfo:
  20919. get:
  20920. parameters:
  20921. - description: 用户ID
  20922. in: query
  20923. name: userid
  20924. required: true
  20925. type: integer
  20926. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  20927. in: query
  20928. name: querytype
  20929. required: true
  20930. type: integer
  20931. - description: 客户类型 1-个人 2-企业
  20932. in: query
  20933. name: userinfotype
  20934. type: integer
  20935. - description: 客户名称(模糊匹配)
  20936. in: query
  20937. name: customername
  20938. type: string
  20939. - description: 昵称(模糊匹配)
  20940. in: query
  20941. name: nickname
  20942. type: string
  20943. - description: 是否包含子级 1-包含
  20944. in: query
  20945. name: includesub
  20946. type: integer
  20947. produces:
  20948. - application/json
  20949. responses:
  20950. "200":
  20951. description: OK
  20952. schema:
  20953. items:
  20954. $ref: '#/definitions/models.QhjCustomer'
  20955. type: array
  20956. "500":
  20957. description: Internal Server Error
  20958. schema:
  20959. $ref: '#/definitions/app.Response'
  20960. security:
  20961. - ApiKeyAuth: []
  20962. summary: 查询客户资料
  20963. tags:
  20964. - 大连千海金
  20965. /Qhj/QueryGoodsEx:
  20966. get:
  20967. parameters:
  20968. - description: 商品id
  20969. in: query
  20970. name: goodsid
  20971. type: integer
  20972. produces:
  20973. - application/json
  20974. responses:
  20975. "200":
  20976. description: OK
  20977. schema:
  20978. items:
  20979. $ref: '#/definitions/models.Qhjgoodsex'
  20980. type: array
  20981. "500":
  20982. description: Internal Server Error
  20983. schema:
  20984. $ref: '#/definitions/app.Response'
  20985. security:
  20986. - ApiKeyAuth: []
  20987. summary: 交易商品扩展表
  20988. tags:
  20989. - 大连千海金
  20990. /Qhj/QueryMyTeam:
  20991. get:
  20992. parameters:
  20993. - description: 用户ID
  20994. in: query
  20995. name: userid
  20996. required: true
  20997. type: integer
  20998. produces:
  20999. - application/json
  21000. responses:
  21001. "200":
  21002. description: OK
  21003. schema:
  21004. items:
  21005. $ref: '#/definitions/models.QhjMyTeamEx'
  21006. type: array
  21007. "500":
  21008. description: Internal Server Error
  21009. schema:
  21010. $ref: '#/definitions/app.Response'
  21011. security:
  21012. - ApiKeyAuth: []
  21013. summary: 查询我的团队
  21014. tags:
  21015. - 大连千海金
  21016. /Qhj/QueryMyTeamOrder:
  21017. get:
  21018. parameters:
  21019. - description: 页码
  21020. in: query
  21021. name: page
  21022. type: integer
  21023. - description: 每页条数
  21024. in: query
  21025. name: pagesize
  21026. type: integer
  21027. - description: 用户ID
  21028. in: query
  21029. name: userid
  21030. required: true
  21031. type: integer
  21032. - description: 交易模式
  21033. in: query
  21034. name: trademode
  21035. type: integer
  21036. - description: 名称(模糊搜索账户)
  21037. in: query
  21038. name: filtername
  21039. type: string
  21040. produces:
  21041. - application/json
  21042. responses:
  21043. "200":
  21044. description: OK
  21045. schema:
  21046. items:
  21047. $ref: '#/definitions/models.QhjTeamOrder'
  21048. type: array
  21049. "500":
  21050. description: Internal Server Error
  21051. schema:
  21052. $ref: '#/definitions/app.Response'
  21053. security:
  21054. - ApiKeyAuth: []
  21055. summary: 查询团队订单(我的团队/团队订单)
  21056. tags:
  21057. - 大连千海金
  21058. /Qhj/QueryParentAreaList:
  21059. get:
  21060. parameters:
  21061. - description: 用户ID
  21062. in: query
  21063. name: userid
  21064. required: true
  21065. type: integer
  21066. produces:
  21067. - application/json
  21068. responses:
  21069. "200":
  21070. description: OK
  21071. schema:
  21072. items:
  21073. $ref: '#/definitions/models.QhjParentAreaList'
  21074. type: array
  21075. "500":
  21076. description: Internal Server Error
  21077. schema:
  21078. $ref: '#/definitions/app.Response'
  21079. security:
  21080. - ApiKeyAuth: []
  21081. summary: 查询所属机构列表
  21082. tags:
  21083. - 大连千海金
  21084. /Qhj/QueryPayOrder:
  21085. get:
  21086. parameters:
  21087. - description: 资金账号id
  21088. in: query
  21089. name: accountid
  21090. required: true
  21091. type: integer
  21092. - description: 成交单号
  21093. in: query
  21094. name: tradeid
  21095. type: integer
  21096. - description: 付款标识(可多个,逗号隔开) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  21097. in: query
  21098. name: payflag
  21099. type: string
  21100. produces:
  21101. - application/json
  21102. responses:
  21103. "200":
  21104. description: OK
  21105. schema:
  21106. items:
  21107. $ref: '#/definitions/models.QhjPayOrder'
  21108. type: array
  21109. "500":
  21110. description: Internal Server Error
  21111. schema:
  21112. $ref: '#/definitions/app.Response'
  21113. security:
  21114. - ApiKeyAuth: []
  21115. summary: 查询待付款单据
  21116. tags:
  21117. - 大连千海金
  21118. /Qhj/QueryPickArea:
  21119. get:
  21120. parameters:
  21121. - description: 用户ID
  21122. in: query
  21123. name: userid
  21124. type: integer
  21125. produces:
  21126. - application/json
  21127. responses:
  21128. "200":
  21129. description: OK
  21130. schema:
  21131. items:
  21132. $ref: '#/definitions/models.QhjPickArea'
  21133. type: array
  21134. "500":
  21135. description: Internal Server Error
  21136. schema:
  21137. $ref: '#/definitions/app.Response'
  21138. security:
  21139. - ApiKeyAuth: []
  21140. summary: 查询提货门店
  21141. tags:
  21142. - 大连千海金
  21143. /Qhj/QueryPickGoods:
  21144. get:
  21145. parameters:
  21146. - description: 交易商品id
  21147. in: query
  21148. name: goodsid
  21149. required: true
  21150. type: integer
  21151. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  21152. in: query
  21153. name: status
  21154. type: string
  21155. produces:
  21156. - application/json
  21157. responses:
  21158. "200":
  21159. description: OK
  21160. schema:
  21161. items:
  21162. $ref: '#/definitions/models.QhjPickGoods'
  21163. type: array
  21164. "500":
  21165. description: Internal Server Error
  21166. schema:
  21167. $ref: '#/definitions/app.Response'
  21168. security:
  21169. - ApiKeyAuth: []
  21170. summary: 查询提货商品
  21171. tags:
  21172. - 大连千海金
  21173. /Qhj/QueryRSTriggerLog:
  21174. get:
  21175. parameters:
  21176. - description: 用户ID
  21177. in: query
  21178. name: userid
  21179. type: integer
  21180. - description: 定投策略id
  21181. in: query
  21182. name: regularlystrategyid
  21183. type: integer
  21184. - description: 商品id
  21185. in: query
  21186. name: goodsid
  21187. type: integer
  21188. - description: 开始交易日(yyyymmdd)
  21189. in: query
  21190. name: begindate
  21191. type: string
  21192. - description: 结束交易日(yyyymmdd)
  21193. in: query
  21194. name: enddate
  21195. type: string
  21196. - description: 名称(模糊搜索账户)
  21197. in: query
  21198. name: filtername
  21199. type: string
  21200. produces:
  21201. - application/json
  21202. responses:
  21203. "200":
  21204. description: OK
  21205. schema:
  21206. items:
  21207. $ref: '#/definitions/models.QhjRSTriggerLog'
  21208. type: array
  21209. "500":
  21210. description: Internal Server Error
  21211. schema:
  21212. $ref: '#/definitions/app.Response'
  21213. security:
  21214. - ApiKeyAuth: []
  21215. summary: 查询定投记录(定投管理/详情/定投记录)
  21216. tags:
  21217. - 大连千海金
  21218. /Qhj/QueryRStrategy:
  21219. get:
  21220. parameters:
  21221. - description: 用户ID
  21222. in: query
  21223. name: userid
  21224. type: integer
  21225. - description: 商品id
  21226. in: query
  21227. name: goodsid
  21228. type: integer
  21229. - description: 策略状态(可多选,逗号隔开) - 1:正常 2:暂停 3:终止
  21230. in: query
  21231. name: status
  21232. type: string
  21233. - description: 名称(模糊搜索账户)
  21234. in: query
  21235. name: filtername
  21236. type: string
  21237. produces:
  21238. - application/json
  21239. responses:
  21240. "200":
  21241. description: OK
  21242. schema:
  21243. items:
  21244. $ref: '#/definitions/models.QhjRStrategy'
  21245. type: array
  21246. "500":
  21247. description: Internal Server Error
  21248. schema:
  21249. $ref: '#/definitions/app.Response'
  21250. security:
  21251. - ApiKeyAuth: []
  21252. summary: 查询定投设置(我的定投/历史定投[状态=已终止])
  21253. tags:
  21254. - 大连千海金
  21255. /Qhj/QueryReckonPriceLog:
  21256. get:
  21257. parameters:
  21258. - description: 商品ID
  21259. in: query
  21260. name: goodsid
  21261. type: integer
  21262. - description: 交易日 格式(yyyymmdd)
  21263. in: query
  21264. name: tradedate
  21265. type: string
  21266. produces:
  21267. - application/json
  21268. responses:
  21269. "200":
  21270. description: OK
  21271. schema:
  21272. items:
  21273. $ref: '#/definitions/models.QhjReckonPriceLog'
  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. - 大连千海金
  21284. /Qhj/QueryScoreLog:
  21285. get:
  21286. parameters:
  21287. - description: 用户ID
  21288. in: query
  21289. name: userid
  21290. required: true
  21291. type: integer
  21292. - description: 开始交易日(yyyymmdd)
  21293. in: query
  21294. name: begindate
  21295. type: string
  21296. - description: 结束交易日(yyyymmdd)
  21297. in: query
  21298. name: enddate
  21299. type: string
  21300. - description: 最近多少条
  21301. in: query
  21302. name: lastnum
  21303. type: integer
  21304. produces:
  21305. - application/json
  21306. responses:
  21307. "200":
  21308. description: OK
  21309. schema:
  21310. items:
  21311. $ref: '#/definitions/models.QhjScoreLog'
  21312. type: array
  21313. "500":
  21314. description: Internal Server Error
  21315. schema:
  21316. $ref: '#/definitions/app.Response'
  21317. security:
  21318. - ApiKeyAuth: []
  21319. summary: 查询积分流水(我的积分)
  21320. tags:
  21321. - 大连千海金
  21322. /Qhj/QuerySiteColumnDetail:
  21323. get:
  21324. parameters:
  21325. - description: 用户ID
  21326. in: query
  21327. name: userid
  21328. required: true
  21329. type: integer
  21330. produces:
  21331. - application/json
  21332. responses:
  21333. "200":
  21334. description: OK
  21335. schema:
  21336. items:
  21337. $ref: '#/definitions/models.QhjSiteColumnDetail'
  21338. type: array
  21339. "500":
  21340. description: Internal Server Error
  21341. schema:
  21342. $ref: '#/definitions/app.Response'
  21343. security:
  21344. - ApiKeyAuth: []
  21345. summary: 查询资讯
  21346. tags:
  21347. - 大连千海金
  21348. /Qhj/QueryTradeGoodsPickup:
  21349. get:
  21350. parameters:
  21351. - description: 用户ID
  21352. in: query
  21353. name: userid
  21354. required: true
  21355. type: integer
  21356. - description: 提货状态 1:备货中 2:待取货(自提) 3:已取货(自提) 4:待收货(邮寄) 5:已收货(邮寄) 6:自动收货(邮寄)
  21357. 7:已拒绝 8:已撤销
  21358. in: query
  21359. name: takeorderstatus
  21360. type: integer
  21361. produces:
  21362. - application/json
  21363. responses:
  21364. "200":
  21365. description: OK
  21366. schema:
  21367. items:
  21368. $ref: '#/definitions/models.QhjTradeGoodsPickup'
  21369. type: array
  21370. "500":
  21371. description: Internal Server Error
  21372. schema:
  21373. $ref: '#/definitions/app.Response'
  21374. security:
  21375. - ApiKeyAuth: []
  21376. summary: 查询提货
  21377. tags:
  21378. - 大连千海金
  21379. /Qhj/QueryUserCollectConfig:
  21380. get:
  21381. parameters:
  21382. - description: 用户ID
  21383. in: query
  21384. name: userid
  21385. required: true
  21386. type: integer
  21387. produces:
  21388. - application/json
  21389. responses:
  21390. "200":
  21391. description: OK
  21392. schema:
  21393. items:
  21394. $ref: '#/definitions/models.UserCollectConfig'
  21395. type: array
  21396. "500":
  21397. description: Internal Server Error
  21398. schema:
  21399. $ref: '#/definitions/app.Response'
  21400. security:
  21401. - ApiKeyAuth: []
  21402. summary: 查询提现账户设置
  21403. tags:
  21404. - 大连千海金
  21405. /Qhj/QueryUserReceiveInfo:
  21406. get:
  21407. parameters:
  21408. - description: 用户ID
  21409. in: query
  21410. name: userid
  21411. required: true
  21412. type: integer
  21413. produces:
  21414. - application/json
  21415. responses:
  21416. "200":
  21417. description: OK
  21418. schema:
  21419. items:
  21420. $ref: '#/definitions/models.UserReceiveInfo'
  21421. type: array
  21422. "500":
  21423. description: Internal Server Error
  21424. schema:
  21425. $ref: '#/definitions/app.Response'
  21426. security:
  21427. - ApiKeyAuth: []
  21428. summary: 查询收货地址信息
  21429. tags:
  21430. - 大连千海金
  21431. /QhjMgr/QueryAccountInOutApply:
  21432. get:
  21433. parameters:
  21434. - description: 查询类型 1-提现(出金) 2-充值(出金)
  21435. in: query
  21436. name: querytype
  21437. required: true
  21438. type: integer
  21439. - description: 状态 1-待审核 2-审核通过 3-审核拒绝
  21440. in: query
  21441. name: applystatus
  21442. type: integer
  21443. - description: 申请起始日期(格式yyyymmdd)
  21444. in: query
  21445. name: begindate
  21446. type: string
  21447. - description: 申请截止日期(格式yyyymmdd)
  21448. in: query
  21449. name: enddate
  21450. type: string
  21451. - description: 模糊搜索名称
  21452. in: query
  21453. name: likename
  21454. type: string
  21455. produces:
  21456. - application/json
  21457. responses:
  21458. "200":
  21459. description: OK
  21460. schema:
  21461. items:
  21462. $ref: '#/definitions/models.QhjMgrAccountOutInApply'
  21463. type: array
  21464. "500":
  21465. description: Internal Server Error
  21466. schema:
  21467. $ref: '#/definitions/app.Response'
  21468. security:
  21469. - ApiKeyAuth: []
  21470. summary: 查询充值提现
  21471. tags:
  21472. - 大连千海金(PCWeb)
  21473. /QhjMgr/QueryBrokerApply:
  21474. get:
  21475. parameters:
  21476. - description: 所属机构ID
  21477. in: query
  21478. name: userid
  21479. type: integer
  21480. - description: 状态 1:待审核 2:审核通过 3:审核拒绝 4:处理失败 5:已撤回
  21481. in: query
  21482. name: filterstatus
  21483. type: string
  21484. - description: 名称(模糊匹配)
  21485. in: query
  21486. name: filtername
  21487. type: string
  21488. - description: 是否包含子级 1-包含
  21489. in: query
  21490. name: includesub
  21491. type: integer
  21492. produces:
  21493. - application/json
  21494. responses:
  21495. "200":
  21496. description: OK
  21497. schema:
  21498. items:
  21499. $ref: '#/definitions/models.QhjMgrBrokerApply'
  21500. type: array
  21501. "500":
  21502. description: Internal Server Error
  21503. schema:
  21504. $ref: '#/definitions/app.Response'
  21505. security:
  21506. - ApiKeyAuth: []
  21507. summary: 查询经纪人申请
  21508. tags:
  21509. - 大连千海金(PCWeb)
  21510. /QhjMgr/QueryBrokerRewardReport:
  21511. get:
  21512. parameters:
  21513. - description: 所属机构ID
  21514. in: query
  21515. name: userid
  21516. required: true
  21517. type: integer
  21518. - description: 周期类型 - 0:日 1:月 2:季 3:年 4:周 5:全报表【原值】
  21519. in: query
  21520. name: cycletype
  21521. required: true
  21522. type: integer
  21523. - description: 周期时间 日(YYYYMMDD) 月(YYYYMM) 季(YYYYQ) 年(YYYY) 周(YYYYMMDD) 全(0)【原值】
  21524. in: query
  21525. name: cycletime
  21526. required: true
  21527. type: string
  21528. - description: 名称(模糊匹配)
  21529. in: query
  21530. name: filtername
  21531. type: string
  21532. - description: 是否包含子级 1-包含
  21533. in: query
  21534. name: includesub
  21535. type: integer
  21536. produces:
  21537. - application/json
  21538. responses:
  21539. "200":
  21540. description: OK
  21541. schema:
  21542. items:
  21543. $ref: '#/definitions/models.QhjMgrBrokerRewardReport'
  21544. type: array
  21545. "500":
  21546. description: Internal Server Error
  21547. schema:
  21548. $ref: '#/definitions/app.Response'
  21549. security:
  21550. - ApiKeyAuth: []
  21551. summary: 查询经纪人奖励报表(废弃)
  21552. tags:
  21553. - 大连千海金(PCWeb)
  21554. /QhjMgr/QueryContract:
  21555. get:
  21556. parameters:
  21557. - description: 用户ID
  21558. in: query
  21559. name: userid
  21560. type: integer
  21561. - description: 商品id
  21562. in: query
  21563. name: goodsid
  21564. type: integer
  21565. - description: 名称(模糊搜索账户)
  21566. in: query
  21567. name: filtername
  21568. type: string
  21569. - description: 风险级别(逗号隔开) - 1:正常 2:追加货款 3:支付尾款
  21570. in: query
  21571. name: risklevel
  21572. type: string
  21573. - description: 开始交易日(yyyymmdd)
  21574. in: query
  21575. name: begindate
  21576. type: string
  21577. - description: 结束交易日(yyyymmdd)
  21578. in: query
  21579. name: enddate
  21580. type: string
  21581. produces:
  21582. - application/json
  21583. responses:
  21584. "200":
  21585. description: OK
  21586. schema:
  21587. items:
  21588. $ref: '#/definitions/models.QhjMgrContract'
  21589. type: array
  21590. "500":
  21591. description: Internal Server Error
  21592. schema:
  21593. $ref: '#/definitions/app.Response'
  21594. security:
  21595. - ApiKeyAuth: []
  21596. summary: 查询融资信息(合同)
  21597. tags:
  21598. - 大连千海金(PCWeb)
  21599. /QhjMgr/QueryCustomerInfo:
  21600. get:
  21601. parameters:
  21602. - description: 用户ID
  21603. in: query
  21604. name: userid
  21605. required: true
  21606. type: integer
  21607. - description: 查询类型 1:未提交(网上开户表) 2:待审核(网上开户表) 3:正常 4:停用
  21608. in: query
  21609. name: querytype
  21610. required: true
  21611. type: integer
  21612. - description: 客户类型 1-个人 2-企业
  21613. in: query
  21614. name: userinfotype
  21615. type: integer
  21616. - description: 客户名称(模糊匹配)
  21617. in: query
  21618. name: customername
  21619. type: string
  21620. - description: 昵称(模糊匹配)
  21621. in: query
  21622. name: nickname
  21623. type: string
  21624. - description: 是否包含子级 1-包含
  21625. in: query
  21626. name: includesub
  21627. type: integer
  21628. produces:
  21629. - application/json
  21630. responses:
  21631. "200":
  21632. description: OK
  21633. schema:
  21634. items:
  21635. $ref: '#/definitions/models.QhjMgrCustomer'
  21636. type: array
  21637. "500":
  21638. description: Internal Server Error
  21639. schema:
  21640. $ref: '#/definitions/app.Response'
  21641. security:
  21642. - ApiKeyAuth: []
  21643. summary: 查询客户资料
  21644. tags:
  21645. - 大连千海金(PCWeb)
  21646. /QhjMgr/QueryPickGoods:
  21647. get:
  21648. parameters:
  21649. - description: 状态(可多选,逗号隔开) - 1:正常 2:停用 3:注销
  21650. in: query
  21651. name: status
  21652. type: string
  21653. produces:
  21654. - application/json
  21655. responses:
  21656. "200":
  21657. description: OK
  21658. schema:
  21659. items:
  21660. $ref: '#/definitions/models.QhjMgrPickGoods'
  21661. type: array
  21662. "500":
  21663. description: Internal Server Error
  21664. schema:
  21665. $ref: '#/definitions/app.Response'
  21666. security:
  21667. - ApiKeyAuth: []
  21668. summary: 查询提货商品
  21669. tags:
  21670. - 大连千海金(PCWeb)
  21671. /QhjMgr/QuerySubArea:
  21672. get:
  21673. parameters:
  21674. - description: 用户ID
  21675. in: query
  21676. name: userid
  21677. required: true
  21678. type: integer
  21679. produces:
  21680. - application/json
  21681. responses:
  21682. "200":
  21683. description: OK
  21684. schema:
  21685. items:
  21686. $ref: '#/definitions/models.QhjMgrSubArea'
  21687. type: array
  21688. "500":
  21689. description: Internal Server Error
  21690. schema:
  21691. $ref: '#/definitions/app.Response'
  21692. security:
  21693. - ApiKeyAuth: []
  21694. summary: 查询子机构列表
  21695. tags:
  21696. - 大连千海金(PCWeb)
  21697. /QhjMgr/QueryTradeDetail:
  21698. get:
  21699. parameters:
  21700. - description: 用户ID
  21701. in: query
  21702. name: userid
  21703. required: true
  21704. type: integer
  21705. - description: 用户类型 1-个人 2-企业
  21706. in: query
  21707. name: userinfotype
  21708. type: integer
  21709. - description: 交易模式
  21710. in: query
  21711. name: trademode
  21712. type: integer
  21713. - description: 商品id
  21714. in: query
  21715. name: goodsid
  21716. type: integer
  21717. - description: 名称(模糊搜索账户)
  21718. in: query
  21719. name: filtername
  21720. type: string
  21721. - description: 开始交易日(yyyymmdd)
  21722. in: query
  21723. name: begindate
  21724. type: string
  21725. - description: 结束交易日(yyyymmdd)
  21726. in: query
  21727. name: enddate
  21728. type: string
  21729. - description: 是否包含子级 1-包含
  21730. in: query
  21731. name: includesub
  21732. type: integer
  21733. produces:
  21734. - application/json
  21735. responses:
  21736. "200":
  21737. description: OK
  21738. schema:
  21739. items:
  21740. $ref: '#/definitions/models.QhjMgrTradeDetailRsp'
  21741. type: array
  21742. "500":
  21743. description: Internal Server Error
  21744. schema:
  21745. $ref: '#/definitions/app.Response'
  21746. security:
  21747. - ApiKeyAuth: []
  21748. summary: 查询成交明细
  21749. tags:
  21750. - 大连千海金(PCWeb)
  21751. /QhjMgr/QueryTradeOrderDetail:
  21752. get:
  21753. parameters:
  21754. - description: 用户ID
  21755. in: query
  21756. name: userid
  21757. required: true
  21758. type: integer
  21759. - description: 用户类型 1-个人 2-企业
  21760. in: query
  21761. name: userinfotype
  21762. type: integer
  21763. - description: 交易模式
  21764. in: query
  21765. name: trademode
  21766. type: integer
  21767. - description: 商品id
  21768. in: query
  21769. name: goodsid
  21770. type: integer
  21771. - description: 名称(模糊搜索账户)
  21772. in: query
  21773. name: filtername
  21774. type: string
  21775. - description: 开始交易日(yyyymmdd)
  21776. in: query
  21777. name: begindate
  21778. type: string
  21779. - description: 结束交易日(yyyymmdd)
  21780. in: query
  21781. name: enddate
  21782. type: string
  21783. - description: 是否包含子级 1-包含
  21784. in: query
  21785. name: includesub
  21786. type: integer
  21787. produces:
  21788. - application/json
  21789. responses:
  21790. "200":
  21791. description: OK
  21792. schema:
  21793. items:
  21794. $ref: '#/definitions/models.QhjMgrTradeOrderDetailRsp'
  21795. type: array
  21796. "500":
  21797. description: Internal Server Error
  21798. schema:
  21799. $ref: '#/definitions/app.Response'
  21800. security:
  21801. - ApiKeyAuth: []
  21802. summary: 查询委托明细
  21803. tags:
  21804. - 大连千海金(PCWeb)
  21805. /QhjMgr/QueryTradePayOrder:
  21806. get:
  21807. parameters:
  21808. - description: 用户ID
  21809. in: query
  21810. name: userid
  21811. required: true
  21812. type: integer
  21813. - description: 付款标识(逗号隔开,如1,2) - 1:未支付 2:已支付 3:已过期 4:已撤销 5:结算过期 6:预售终止
  21814. in: query
  21815. name: payflag
  21816. type: string
  21817. - description: 用户类型 1-个人 2-企业
  21818. in: query
  21819. name: userinfotype
  21820. type: integer
  21821. - description: 交易模式
  21822. in: query
  21823. name: trademode
  21824. type: integer
  21825. - description: 商品id
  21826. in: query
  21827. name: goodsid
  21828. type: integer
  21829. - description: 名称(模糊搜索账户)
  21830. in: query
  21831. name: filtername
  21832. type: string
  21833. - description: 开始交易日(yyyymmdd)
  21834. in: query
  21835. name: begindate
  21836. type: string
  21837. - description: 结束交易日(yyyymmdd)
  21838. in: query
  21839. name: enddate
  21840. type: string
  21841. - description: 是否包含子级 1-包含
  21842. in: query
  21843. name: includesub
  21844. type: integer
  21845. produces:
  21846. - application/json
  21847. responses:
  21848. "200":
  21849. description: OK
  21850. schema:
  21851. items:
  21852. $ref: '#/definitions/models.QhjMgrTradePayOrder'
  21853. type: array
  21854. "500":
  21855. description: Internal Server Error
  21856. schema:
  21857. $ref: '#/definitions/app.Response'
  21858. security:
  21859. - ApiKeyAuth: []
  21860. summary: 查询待付款单
  21861. tags:
  21862. - 大连千海金(PCWeb)
  21863. /QhjMgr/QueryTradePosition:
  21864. get:
  21865. parameters:
  21866. - description: 用户ID
  21867. in: query
  21868. name: userid
  21869. required: true
  21870. type: integer
  21871. - description: 用户类型 1-个人 2-企业
  21872. in: query
  21873. name: userinfotype
  21874. type: integer
  21875. - description: 交易模式
  21876. in: query
  21877. name: trademode
  21878. type: integer
  21879. - description: 商品id
  21880. in: query
  21881. name: goodsid
  21882. type: integer
  21883. - description: 名称(模糊搜索账户)
  21884. in: query
  21885. name: filtername
  21886. type: string
  21887. - description: 是否包含子级 1-包含
  21888. in: query
  21889. name: includesub
  21890. type: integer
  21891. produces:
  21892. - application/json
  21893. responses:
  21894. "200":
  21895. description: OK
  21896. schema:
  21897. items:
  21898. $ref: '#/definitions/models.QhjMgrPositionRsp'
  21899. type: array
  21900. "500":
  21901. description: Internal Server Error
  21902. schema:
  21903. $ref: '#/definitions/app.Response'
  21904. security:
  21905. - ApiKeyAuth: []
  21906. summary: 查询持仓汇总
  21907. tags:
  21908. - 大连千海金(PCWeb)
  21909. /QhjSys/QueryAgreementChangeLog:
  21910. get:
  21911. parameters:
  21912. - description: 协议ID
  21913. in: query
  21914. name: agreementid
  21915. type: integer
  21916. - description: 协议版本号
  21917. in: query
  21918. name: agreementversion
  21919. type: integer
  21920. - description: 协议类型 - 1:注册 2:登录 3:交易
  21921. in: query
  21922. name: agreementtype
  21923. type: integer
  21924. - description: 协议编号(模糊匹配)
  21925. in: query
  21926. name: agreementno
  21927. type: string
  21928. - description: 协议名称(模糊匹配)
  21929. in: query
  21930. name: agreementname
  21931. type: string
  21932. produces:
  21933. - application/json
  21934. responses:
  21935. "200":
  21936. description: OK
  21937. schema:
  21938. items:
  21939. $ref: '#/definitions/models.QhjAgreementChangeLog'
  21940. type: array
  21941. "500":
  21942. description: Internal Server Error
  21943. schema:
  21944. $ref: '#/definitions/app.Response'
  21945. security:
  21946. - ApiKeyAuth: []
  21947. summary: 查询协议配置变更流水
  21948. tags:
  21949. - 大连千海金(协议和签约信息)
  21950. /QhjSys/QueryAgreementConfig:
  21951. get:
  21952. parameters:
  21953. - description: 协议ID
  21954. in: query
  21955. name: agreementid
  21956. type: integer
  21957. - description: 协议版本号
  21958. in: query
  21959. name: agreementversion
  21960. type: integer
  21961. - description: 协议类型 - 1:注册 2:登录 3:交易
  21962. in: query
  21963. name: agreementtype
  21964. type: integer
  21965. - description: 是否有效 - 是否有效 - 1:正常 2:停用 3:注销
  21966. in: query
  21967. name: isvalid
  21968. type: integer
  21969. - description: 协议编号(模糊匹配)
  21970. in: query
  21971. name: agreementno
  21972. type: string
  21973. - description: 协议名称(模糊匹配)
  21974. in: query
  21975. name: agreementname
  21976. type: string
  21977. produces:
  21978. - application/json
  21979. responses:
  21980. "200":
  21981. description: OK
  21982. schema:
  21983. items:
  21984. $ref: '#/definitions/models.QhjAgreementConfig'
  21985. type: array
  21986. "500":
  21987. description: Internal Server Error
  21988. schema:
  21989. $ref: '#/definitions/app.Response'
  21990. security:
  21991. - ApiKeyAuth: []
  21992. summary: 查询协议配置
  21993. tags:
  21994. - 大连千海金(协议和签约信息)
  21995. /QhjSys/QueryCustomerSignStatus:
  21996. get:
  21997. parameters:
  21998. - description: 客户ID
  21999. in: query
  22000. name: userid
  22001. type: integer
  22002. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出 99:首次交易
  22003. in: query
  22004. name: nodetype
  22005. type: integer
  22006. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  22007. in: query
  22008. name: goodsid
  22009. type: integer
  22010. - description: 创建交易日(yyyyMMdd)
  22011. in: query
  22012. name: tradedate
  22013. type: string
  22014. - description: 用户名称(模糊匹配)
  22015. in: query
  22016. name: username
  22017. type: string
  22018. produces:
  22019. - application/json
  22020. responses:
  22021. "200":
  22022. description: OK
  22023. schema:
  22024. items:
  22025. $ref: '#/definitions/models.QhjCustomerSignStatus'
  22026. type: array
  22027. "500":
  22028. description: Internal Server Error
  22029. schema:
  22030. $ref: '#/definitions/app.Response'
  22031. security:
  22032. - ApiKeyAuth: []
  22033. summary: 查询客户协议签约状态
  22034. tags:
  22035. - 大连千海金(协议和签约信息)
  22036. /QhjSys/QueryNodeAgreementConfig:
  22037. get:
  22038. parameters:
  22039. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  22040. in: query
  22041. name: configid
  22042. type: integer
  22043. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  22044. in: query
  22045. name: nodetype
  22046. type: integer
  22047. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  22048. in: query
  22049. name: goodsid
  22050. type: integer
  22051. - description: 协议ID
  22052. in: query
  22053. name: agreementid
  22054. type: integer
  22055. - description: 协议类型 - 1:注册 2:登录 3:交易
  22056. in: query
  22057. name: agreementtype
  22058. type: integer
  22059. - description: 协议版本号
  22060. in: query
  22061. name: agreementversion
  22062. type: integer
  22063. - description: 协议编号(模糊匹配)
  22064. in: query
  22065. name: agreementno
  22066. type: string
  22067. - description: 协议名称(模糊匹配)
  22068. in: query
  22069. name: agreementname
  22070. type: string
  22071. produces:
  22072. - application/json
  22073. responses:
  22074. "200":
  22075. description: OK
  22076. schema:
  22077. items:
  22078. $ref: '#/definitions/models.QhjNodeAgreementConfig'
  22079. type: array
  22080. "500":
  22081. description: Internal Server Error
  22082. schema:
  22083. $ref: '#/definitions/app.Response'
  22084. security:
  22085. - ApiKeyAuth: []
  22086. summary: 查询协议节点配置
  22087. tags:
  22088. - 大连千海金(协议和签约信息)
  22089. /QhjSys/QueryQhjCustomerSignLog:
  22090. get:
  22091. parameters:
  22092. - description: 流水ID(SEQ_QHJ_CUSTOMERSIGNLOG)
  22093. in: query
  22094. name: logid
  22095. type: integer
  22096. - description: 客户ID
  22097. in: query
  22098. name: userid
  22099. type: integer
  22100. - description: 环节类型 - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  22101. in: query
  22102. name: nodetype
  22103. type: integer
  22104. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  22105. in: query
  22106. name: goodsid
  22107. type: integer
  22108. - description: 协议ID
  22109. in: query
  22110. name: agreementid
  22111. type: integer
  22112. - description: 用户名称(模糊匹配)
  22113. in: query
  22114. name: username
  22115. type: string
  22116. - description: 协议编号(模糊匹配)
  22117. in: query
  22118. name: agreementno
  22119. type: string
  22120. - description: 协议名称(模糊匹配)
  22121. in: query
  22122. name: agreementname
  22123. type: string
  22124. produces:
  22125. - application/json
  22126. responses:
  22127. "200":
  22128. description: OK
  22129. schema:
  22130. items:
  22131. $ref: '#/definitions/models.QhjCustomerSignLog'
  22132. type: array
  22133. "500":
  22134. description: Internal Server Error
  22135. schema:
  22136. $ref: '#/definitions/app.Response'
  22137. security:
  22138. - ApiKeyAuth: []
  22139. summary: 查询客户协议签约流水
  22140. tags:
  22141. - 大连千海金(协议和签约信息)
  22142. /QhjSys/QueryUserNodeCfgAndStatus:
  22143. get:
  22144. parameters:
  22145. - description: 客户ID
  22146. in: query
  22147. name: userid
  22148. type: integer
  22149. - description: 配置id(SEQ_QHJ_NODEAGREEMENTCONFIG)
  22150. in: query
  22151. name: configid
  22152. type: integer
  22153. - description: 环节类型(可多个,逗号隔开) - 1:注册 2:登录 3:购买 4:融资购买 5:定投 6:卖出
  22154. in: query
  22155. name: nodetype
  22156. type: string
  22157. - description: 商品ID [默认为0, NodeType>=3 的为商品值]
  22158. in: query
  22159. name: goodsid
  22160. type: integer
  22161. - description: 协议ID
  22162. in: query
  22163. name: agreementid
  22164. type: integer
  22165. - description: 协议类型 - 1:注册 2:登录 3:交易
  22166. in: query
  22167. name: agreementtype
  22168. type: integer
  22169. - description: 协议版本号
  22170. in: query
  22171. name: agreementversion
  22172. type: integer
  22173. - description: 协议编号(模糊匹配)
  22174. in: query
  22175. name: agreementno
  22176. type: string
  22177. - description: 协议名称(模糊匹配)
  22178. in: query
  22179. name: agreementname
  22180. type: string
  22181. produces:
  22182. - application/json
  22183. responses:
  22184. "200":
  22185. description: OK
  22186. schema:
  22187. items:
  22188. $ref: '#/definitions/models.QhjUserNodeCfgAndStatus'
  22189. type: array
  22190. "500":
  22191. description: Internal Server Error
  22192. schema:
  22193. $ref: '#/definitions/app.Response'
  22194. security:
  22195. - ApiKeyAuth: []
  22196. summary: 查询用户协议节点配置和状态
  22197. tags:
  22198. - 大连千海金(协议和签约信息)
  22199. /Quote/QueryHistoryDatas:
  22200. get:
  22201. parameters:
  22202. - description: '周期类型, 0-秒 1: 1分钟 2: 5分钟 3: 30分钟 4: 60分钟 120: 2小时 240: 4小时 11:
  22203. 日线'
  22204. in: query
  22205. name: cycleType
  22206. required: true
  22207. type: integer
  22208. - description: 商品代码
  22209. in: query
  22210. name: goodsCode
  22211. required: true
  22212. type: string
  22213. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  22214. in: query
  22215. name: startTime
  22216. type: string
  22217. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  22218. in: query
  22219. name: endTime
  22220. type: string
  22221. - description: 条数
  22222. in: query
  22223. name: count
  22224. type: integer
  22225. - description: 是否按时间顺序排序(默认为时间倒序排序)
  22226. in: query
  22227. name: isAsc
  22228. type: boolean
  22229. produces:
  22230. - application/json
  22231. responses:
  22232. "200":
  22233. description: OK
  22234. schema:
  22235. $ref: '#/definitions/quote.HistoryData'
  22236. "500":
  22237. description: Internal Server Error
  22238. schema:
  22239. $ref: '#/definitions/app.Response'
  22240. security:
  22241. - ApiKeyAuth: []
  22242. summary: 查询行情历史数据
  22243. tags:
  22244. - 行情服务
  22245. /Quote/QueryHistoryTikDatas:
  22246. get:
  22247. parameters:
  22248. - description: 商品代码
  22249. in: query
  22250. name: goodsCode
  22251. required: true
  22252. type: string
  22253. - description: 开始时间,格式:yyyy-MM-dd HH:mm:ss
  22254. in: query
  22255. name: startTime
  22256. type: string
  22257. - description: 结束时间,格式:yyyy-MM-dd HH:mm:ss
  22258. in: query
  22259. name: endTime
  22260. type: string
  22261. - description: 条数
  22262. in: query
  22263. name: count
  22264. type: integer
  22265. - description: 是否按时间顺序排序(默认为时间倒序排序)
  22266. in: query
  22267. name: isAsc
  22268. type: boolean
  22269. produces:
  22270. - application/json
  22271. responses:
  22272. "200":
  22273. description: OK
  22274. schema:
  22275. $ref: '#/definitions/quote.HistoryTikData'
  22276. "500":
  22277. description: Internal Server Error
  22278. schema:
  22279. $ref: '#/definitions/app.Response'
  22280. security:
  22281. - ApiKeyAuth: []
  22282. summary: 查询行情Tik数据
  22283. tags:
  22284. - 行情服务
  22285. /Quote/QueryQuoteDay:
  22286. get:
  22287. parameters:
  22288. - description: 商品代码列表,格式:CU2102,CU2103,AL2107
  22289. in: query
  22290. name: goodsCodes
  22291. required: true
  22292. type: string
  22293. produces:
  22294. - application/json
  22295. responses:
  22296. "200":
  22297. description: OK
  22298. schema:
  22299. $ref: '#/definitions/quote.QueryQuoteDayRsp'
  22300. "500":
  22301. description: Internal Server Error
  22302. schema:
  22303. $ref: '#/definitions/app.Response'
  22304. security:
  22305. - ApiKeyAuth: []
  22306. summary: 获取商品盘面信息
  22307. tags:
  22308. - 行情服务
  22309. /Quote/QueryTSData:
  22310. get:
  22311. parameters:
  22312. - description: 商品代码
  22313. in: query
  22314. name: goodsCode
  22315. required: true
  22316. type: string
  22317. produces:
  22318. - application/json
  22319. responses:
  22320. "200":
  22321. description: OK
  22322. schema:
  22323. $ref: '#/definitions/quote.QueryTSDataRsp'
  22324. "500":
  22325. description: Internal Server Error
  22326. schema:
  22327. $ref: '#/definitions/app.Response'
  22328. security:
  22329. - ApiKeyAuth: []
  22330. summary: 分时图数据查询
  22331. tags:
  22332. - 行情服务
  22333. /SZDZ/QueryConvertConfig:
  22334. get:
  22335. parameters:
  22336. - description: 转换类型 - 1:金点赞转交易 2:金点拍转交易 3:交易转金点赞(不设置) 4:交易转金点拍(不设置) 5:花生米转交易
  22337. 6:交易转花生米(不设置)
  22338. in: query
  22339. name: convertType
  22340. type: integer
  22341. - description: 外部商品代码[JD\PD]
  22342. in: query
  22343. name: outerGoodsCode
  22344. type: string
  22345. - description: 内部商品ID列表[交易],格式:1,2,3
  22346. in: query
  22347. name: innerGoodsIDs
  22348. type: string
  22349. produces:
  22350. - application/json
  22351. responses:
  22352. "200":
  22353. description: OK
  22354. schema:
  22355. $ref: '#/definitions/models.Szdz3convertconfig'
  22356. "500":
  22357. description: Internal Server Error
  22358. schema:
  22359. $ref: '#/definitions/app.Response'
  22360. security:
  22361. - ApiKeyAuth: []
  22362. summary: 查询交易系统转换设置
  22363. tags:
  22364. - 定制【尚志大宗】
  22365. /SZDZ/QueryConvertLog:
  22366. get:
  22367. parameters:
  22368. - description: 资金账户 - 格式:1,2,3
  22369. in: query
  22370. name: accountID
  22371. required: true
  22372. type: string
  22373. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  22374. in: query
  22375. name: startDate
  22376. type: string
  22377. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd HH:mm:ss
  22378. in: query
  22379. name: endDate
  22380. type: string
  22381. produces:
  22382. - application/json
  22383. responses:
  22384. "200":
  22385. description: OK
  22386. schema:
  22387. $ref: '#/definitions/szdz.QueryConvertLogRsp'
  22388. "500":
  22389. description: Internal Server Error
  22390. schema:
  22391. $ref: '#/definitions/app.Response'
  22392. security:
  22393. - ApiKeyAuth: []
  22394. summary: 交易系统转换流水查询
  22395. tags:
  22396. - 定制【尚志大宗】
  22397. /SZDZ/QueryGoodsPickup:
  22398. get:
  22399. parameters:
  22400. - description: 资金账户 - 格式:1,2,3
  22401. in: query
  22402. name: accountID
  22403. required: true
  22404. type: string
  22405. - description: 提货状态 - 1:待发货 2:已发货 3:已收货
  22406. in: query
  22407. name: takeOrderStatus
  22408. type: integer
  22409. produces:
  22410. - application/json
  22411. responses:
  22412. "200":
  22413. description: OK
  22414. schema:
  22415. $ref: '#/definitions/szdz.QueryGoodsPickupRsp'
  22416. "500":
  22417. description: Internal Server Error
  22418. schema:
  22419. $ref: '#/definitions/app.Response'
  22420. security:
  22421. - ApiKeyAuth: []
  22422. summary: 商品提货单查询
  22423. tags:
  22424. - 定制【尚志大宗】
  22425. /SZDZ/QueryRecieptOrder:
  22426. get:
  22427. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  22428. parameters:
  22429. - description: 页码
  22430. in: query
  22431. name: page
  22432. type: integer
  22433. - description: 每页条数
  22434. in: query
  22435. name: pagesize
  22436. type: integer
  22437. - description: 商品ID
  22438. in: query
  22439. name: goodsID
  22440. required: true
  22441. type: integer
  22442. - description: 所属账户名称
  22443. in: query
  22444. name: accountName
  22445. type: string
  22446. - description: 市场ID
  22447. in: query
  22448. name: marketID
  22449. type: integer
  22450. - description: 方向 - 0:买 1:卖
  22451. in: query
  22452. name: buyorsell
  22453. required: true
  22454. type: integer
  22455. produces:
  22456. - application/json
  22457. responses:
  22458. "200":
  22459. description: OK
  22460. schema:
  22461. $ref: '#/definitions/szdz.QueryRecieptOrderRsp'
  22462. "500":
  22463. description: Internal Server Error
  22464. schema:
  22465. $ref: '#/definitions/app.Response'
  22466. security:
  22467. - ApiKeyAuth: []
  22468. summary: 点选挂牌委托单据查询(摘牌大厅)
  22469. tags:
  22470. - 定制【尚志大宗】
  22471. /SZDZ/QuerySZDZTradePosition:
  22472. get:
  22473. parameters:
  22474. - description: 资金账户
  22475. in: query
  22476. name: accountID
  22477. required: true
  22478. type: integer
  22479. produces:
  22480. - application/json
  22481. responses:
  22482. "200":
  22483. description: OK
  22484. schema:
  22485. $ref: '#/definitions/szdz.QuerySZDZTradePositionRsp'
  22486. "500":
  22487. description: Internal Server Error
  22488. schema:
  22489. $ref: '#/definitions/app.Response'
  22490. security:
  22491. - ApiKeyAuth: []
  22492. summary: 持仓汇总查询(尚志大宗)
  22493. tags:
  22494. - 定制【尚志大宗】
  22495. /SZDZ/SearchWhite:
  22496. get:
  22497. parameters:
  22498. - description: 用户ID
  22499. in: query
  22500. name: userID
  22501. required: true
  22502. type: integer
  22503. produces:
  22504. - application/json
  22505. responses:
  22506. "200":
  22507. description: OK
  22508. schema:
  22509. $ref: '#/definitions/models.Szdz3searchwhitelist'
  22510. "500":
  22511. description: Internal Server Error
  22512. schema:
  22513. $ref: '#/definitions/app.Response'
  22514. security:
  22515. - ApiKeyAuth: []
  22516. summary: 搜索白名单
  22517. tags:
  22518. - 定制【尚志大宗】
  22519. /Search/SearchGoodses:
  22520. get:
  22521. description: 说明:使用检索内容模糊匹配商品代码和商品名称
  22522. parameters:
  22523. - description: 检索内容
  22524. in: query
  22525. name: content
  22526. required: true
  22527. type: string
  22528. - description: 交易模式,格式:1,2,3
  22529. in: query
  22530. name: tradeModes
  22531. type: string
  22532. produces:
  22533. - application/json
  22534. responses:
  22535. "200":
  22536. description: OK
  22537. schema:
  22538. $ref: '#/definitions/models.SearchGoods'
  22539. "500":
  22540. description: Internal Server Error
  22541. schema:
  22542. $ref: '#/definitions/app.Response'
  22543. summary: 检索商品信息
  22544. tags:
  22545. - 检索服务
  22546. /TaAccount/GetTaAccounts:
  22547. get:
  22548. parameters:
  22549. - description: 登录账户
  22550. in: query
  22551. name: loginID
  22552. required: true
  22553. type: integer
  22554. - description: 账号类型 - 1:外部账号 2:内部账号 3:内部做市自营账号 4:内部做市接单账号
  22555. in: query
  22556. name: taAccountType
  22557. type: integer
  22558. produces:
  22559. - application/json
  22560. responses:
  22561. "200":
  22562. description: OK
  22563. schema:
  22564. $ref: '#/definitions/models.Taaccount'
  22565. "500":
  22566. description: Internal Server Error
  22567. schema:
  22568. $ref: '#/definitions/app.Response'
  22569. security:
  22570. - ApiKeyAuth: []
  22571. summary: 获取资金账户信息
  22572. tags:
  22573. - 资金账户
  22574. /TaAccount/QueryAmountLog:
  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: accountID
  22588. required: true
  22589. type: string
  22590. - description: 资金操作类型 - 格式:1,2,3
  22591. in: query
  22592. name: OperateType
  22593. type: string
  22594. produces:
  22595. - application/json
  22596. responses:
  22597. "200":
  22598. description: OK
  22599. schema:
  22600. $ref: '#/definitions/taaccount.QueryAmountLogRsp'
  22601. "500":
  22602. description: Internal Server Error
  22603. schema:
  22604. $ref: '#/definitions/app.Response'
  22605. security:
  22606. - ApiKeyAuth: []
  22607. summary: 资金流水查询(当前)
  22608. tags:
  22609. - 资金账户
  22610. /TaAccount/QueryHisAmountLog:
  22611. get:
  22612. parameters:
  22613. - description: 页码
  22614. in: query
  22615. name: page
  22616. type: integer
  22617. - description: 每页条数
  22618. in: query
  22619. name: pagesize
  22620. type: integer
  22621. - description: 资金账户 - 格式:1,2,3
  22622. in: query
  22623. name: accountID
  22624. required: true
  22625. type: string
  22626. - description: 资金操作类型 - 格式:1,2,3
  22627. in: query
  22628. name: OperateType
  22629. type: string
  22630. - description: 开始时间 - 闭区间,格式:yyyy-MM-dd
  22631. in: query
  22632. name: startDate
  22633. type: string
  22634. - description: 结束时间 - 闭区间,格式:yyyy-MM-dd
  22635. in: query
  22636. name: endDate
  22637. type: string
  22638. produces:
  22639. - application/json
  22640. responses:
  22641. "200":
  22642. description: OK
  22643. schema:
  22644. $ref: '#/definitions/taaccount.QueryHisAmountLogRsp'
  22645. "500":
  22646. description: Internal Server Error
  22647. schema:
  22648. $ref: '#/definitions/app.Response'
  22649. security:
  22650. - ApiKeyAuth: []
  22651. summary: 资金流水查询(历史)
  22652. tags:
  22653. - 资金账户
  22654. /Trade/QueryRecieptOrder:
  22655. get:
  22656. description: 说明:pagesize参数赋值不为0时表示需要分页;page参数从0开始计算
  22657. parameters:
  22658. - description: 页码
  22659. in: query
  22660. name: page
  22661. type: integer
  22662. - description: 每页条数
  22663. in: query
  22664. name: pagesize
  22665. type: integer
  22666. - description: 商品ID
  22667. in: query
  22668. name: goodsID
  22669. required: true
  22670. type: integer
  22671. - description: 所属账户名称
  22672. in: query
  22673. name: accountName
  22674. type: string
  22675. - description: 市场ID
  22676. in: query
  22677. name: marketID
  22678. type: integer
  22679. - description: 方向 - 0:买 1:卖
  22680. in: query
  22681. name: buyorsell
  22682. required: true
  22683. type: integer
  22684. produces:
  22685. - application/json
  22686. responses:
  22687. "200":
  22688. description: OK
  22689. schema:
  22690. $ref: '#/definitions/trade.QueryRecieptOrderRsp'
  22691. "500":
  22692. description: Internal Server Error
  22693. schema:
  22694. $ref: '#/definitions/app.Response'
  22695. security:
  22696. - ApiKeyAuth: []
  22697. summary: 点选挂牌委托单据查询(保证金摘牌大厅)
  22698. tags:
  22699. - 通用交易
  22700. /User/AddMessageBoard:
  22701. post:
  22702. parameters:
  22703. - description: 用户ID
  22704. in: query
  22705. name: userID
  22706. required: true
  22707. type: integer
  22708. - description: 留言信息
  22709. in: query
  22710. name: message
  22711. required: true
  22712. type: string
  22713. - description: 联系电话
  22714. in: query
  22715. name: contactNum
  22716. required: true
  22717. type: string
  22718. produces:
  22719. - application/json
  22720. responses:
  22721. "200":
  22722. description: OK
  22723. schema:
  22724. $ref: '#/definitions/app.Response'
  22725. "500":
  22726. description: Internal Server Error
  22727. schema:
  22728. $ref: '#/definitions/app.Response'
  22729. security:
  22730. - ApiKeyAuth: []
  22731. summary: 添加用户留言板信息
  22732. tags:
  22733. - 用户信息
  22734. /User/AddUserFavoriteGoods:
  22735. post:
  22736. parameters:
  22737. - description: 用户ID
  22738. in: query
  22739. name: userID
  22740. required: true
  22741. type: integer
  22742. - description: 商品ID
  22743. in: query
  22744. name: goodsID
  22745. required: true
  22746. type: integer
  22747. produces:
  22748. - application/json
  22749. responses:
  22750. "200":
  22751. description: OK
  22752. schema:
  22753. $ref: '#/definitions/app.Response'
  22754. "500":
  22755. description: Internal Server Error
  22756. schema:
  22757. $ref: '#/definitions/app.Response'
  22758. security:
  22759. - ApiKeyAuth: []
  22760. summary: 添加用户商品收藏信息
  22761. tags:
  22762. - 用户信息
  22763. /User/GetLoginID:
  22764. get:
  22765. description: UserName 可传入“登录账号”、“登录代码”和“手机号码”
  22766. parameters:
  22767. - description: 登录代码
  22768. in: query
  22769. name: username
  22770. required: true
  22771. type: string
  22772. produces:
  22773. - application/json
  22774. responses:
  22775. "200":
  22776. description: OK
  22777. schema:
  22778. $ref: '#/definitions/app.Response'
  22779. "500":
  22780. description: Internal Server Error
  22781. schema:
  22782. $ref: '#/definitions/app.Response'
  22783. summary: 获取登录ID
  22784. tags:
  22785. - 用户信息
  22786. /User/GetUserAccount:
  22787. get:
  22788. parameters:
  22789. - description: 用户ID
  22790. in: query
  22791. name: userID
  22792. required: true
  22793. type: integer
  22794. produces:
  22795. - application/json
  22796. responses:
  22797. "200":
  22798. description: OK
  22799. schema:
  22800. $ref: '#/definitions/models.Useraccount'
  22801. "500":
  22802. description: Internal Server Error
  22803. schema:
  22804. $ref: '#/definitions/app.Response'
  22805. security:
  22806. - ApiKeyAuth: []
  22807. summary: 获取用户账号信息
  22808. tags:
  22809. - 用户信息
  22810. /User/GetUserAuthStatus:
  22811. get:
  22812. parameters:
  22813. - description: 用户ID
  22814. in: query
  22815. name: userID
  22816. required: true
  22817. type: integer
  22818. produces:
  22819. - application/json
  22820. responses:
  22821. "200":
  22822. description: OK
  22823. schema:
  22824. $ref: '#/definitions/app.Response'
  22825. "500":
  22826. description: Internal Server Error
  22827. schema:
  22828. $ref: '#/definitions/app.Response'
  22829. security:
  22830. - ApiKeyAuth: []
  22831. summary: 获取用户实名认证状态
  22832. tags:
  22833. - 用户信息
  22834. /User/LoginQuery:
  22835. get:
  22836. parameters:
  22837. - description: 登录账号
  22838. in: query
  22839. name: loginID
  22840. required: true
  22841. type: integer
  22842. produces:
  22843. - application/json
  22844. responses:
  22845. "200":
  22846. description: OK
  22847. schema:
  22848. $ref: '#/definitions/user.LoginQueryRsp'
  22849. "500":
  22850. description: Internal Server Error
  22851. schema:
  22852. $ref: '#/definitions/app.Response'
  22853. security:
  22854. - ApiKeyAuth: []
  22855. summary: 账户登录后信息查询
  22856. tags:
  22857. - 用户信息
  22858. /User/QueryMessageBoard:
  22859. get:
  22860. parameters:
  22861. - description: 用户ID
  22862. in: query
  22863. name: userID
  22864. required: true
  22865. type: integer
  22866. produces:
  22867. - application/json
  22868. responses:
  22869. "200":
  22870. description: OK
  22871. schema:
  22872. $ref: '#/definitions/models.Messageboard'
  22873. "500":
  22874. description: Internal Server Error
  22875. schema:
  22876. $ref: '#/definitions/app.Response'
  22877. security:
  22878. - ApiKeyAuth: []
  22879. summary: 获取用户留言板信息
  22880. tags:
  22881. - 用户信息
  22882. /User/QueryUserFavoriteGoodses:
  22883. get:
  22884. parameters:
  22885. - description: 用户ID
  22886. in: query
  22887. name: userID
  22888. required: true
  22889. type: integer
  22890. produces:
  22891. - application/json
  22892. responses:
  22893. "200":
  22894. description: OK
  22895. schema:
  22896. $ref: '#/definitions/models.Userfavoritegoods'
  22897. "500":
  22898. description: Internal Server Error
  22899. schema:
  22900. $ref: '#/definitions/app.Response'
  22901. security:
  22902. - ApiKeyAuth: []
  22903. summary: 获取用户商品收藏信息
  22904. tags:
  22905. - 用户信息
  22906. /User/QueryUserInfo:
  22907. get:
  22908. parameters:
  22909. - description: 用户ID
  22910. in: query
  22911. name: userID
  22912. required: true
  22913. type: integer
  22914. - description: 是否解密
  22915. in: query
  22916. name: isDecrypt
  22917. type: boolean
  22918. produces:
  22919. - application/json
  22920. responses:
  22921. "200":
  22922. description: OK
  22923. schema:
  22924. $ref: '#/definitions/models.Userinfo'
  22925. "500":
  22926. description: Internal Server Error
  22927. schema:
  22928. $ref: '#/definitions/app.Response'
  22929. security:
  22930. - ApiKeyAuth: []
  22931. summary: 获取用户信息
  22932. tags:
  22933. - 用户信息
  22934. /User/QueryUserReferNum:
  22935. get:
  22936. parameters:
  22937. - description: 用户ID
  22938. in: query
  22939. name: userID
  22940. required: true
  22941. type: integer
  22942. produces:
  22943. - application/json
  22944. responses:
  22945. "200":
  22946. description: OK
  22947. schema:
  22948. $ref: '#/definitions/app.Response'
  22949. "500":
  22950. description: Internal Server Error
  22951. schema:
  22952. $ref: '#/definitions/app.Response'
  22953. summary: 获取用户邀请码
  22954. tags:
  22955. - 用户信息
  22956. /User/RemoveUserFavoriteGoods:
  22957. post:
  22958. parameters:
  22959. - description: 用户ID
  22960. in: query
  22961. name: userID
  22962. required: true
  22963. type: integer
  22964. - description: 商品ID
  22965. in: query
  22966. name: goodsID
  22967. required: true
  22968. type: integer
  22969. produces:
  22970. - application/json
  22971. responses:
  22972. "200":
  22973. description: OK
  22974. schema:
  22975. $ref: '#/definitions/app.Response'
  22976. "500":
  22977. description: Internal Server Error
  22978. schema:
  22979. $ref: '#/definitions/app.Response'
  22980. security:
  22981. - ApiKeyAuth: []
  22982. summary: 移除用户商品收藏信息
  22983. tags:
  22984. - 用户信息
  22985. /User/UpdateUserAccountStatus:
  22986. post:
  22987. parameters:
  22988. - description: 用户ID
  22989. in: query
  22990. name: userID
  22991. required: true
  22992. type: integer
  22993. - description: 账户状态 - 4:正常 6:注销(停用)
  22994. in: query
  22995. name: accountStatus
  22996. required: true
  22997. type: integer
  22998. produces:
  22999. - application/json
  23000. responses:
  23001. "200":
  23002. description: OK
  23003. schema:
  23004. $ref: '#/definitions/app.Response'
  23005. "500":
  23006. description: Internal Server Error
  23007. schema:
  23008. $ref: '#/definitions/app.Response'
  23009. security:
  23010. - ApiKeyAuth: []
  23011. summary: 更新用户状态
  23012. tags:
  23013. - 用户信息
  23014. /WRTrade/GetAllDeliveryGoods:
  23015. get:
  23016. produces:
  23017. - application/json
  23018. - application/json
  23019. responses:
  23020. "200":
  23021. description: OK
  23022. schema:
  23023. $ref: '#/definitions/app.Response'
  23024. "500":
  23025. description: Internal Server Error
  23026. schema:
  23027. $ref: '#/definitions/app.Response'
  23028. security:
  23029. - ApiKeyAuth: []
  23030. - ApiKeyAuth: []
  23031. summary: 获取带仓单分类的种类信息
  23032. tags:
  23033. - 仓单贸易
  23034. - 仓单贸易
  23035. /WrTrade2/QueryFaProductDetail:
  23036. get:
  23037. description: 页面 买卖大厅 -> 选择融资方案
  23038. parameters:
  23039. - description: 仓单要素id
  23040. in: query
  23041. name: wrfactortypeid
  23042. required: true
  23043. type: integer
  23044. produces:
  23045. - application/json
  23046. responses:
  23047. "200":
  23048. description: OK
  23049. schema:
  23050. items:
  23051. $ref: '#/definitions/models.WrFAProductDetail'
  23052. type: array
  23053. "500":
  23054. description: Internal Server Error
  23055. schema:
  23056. $ref: '#/definitions/app.Response'
  23057. security:
  23058. - ApiKeyAuth: []
  23059. summary: 查询融资产品列表
  23060. tags:
  23061. - 仓单贸易v2
  23062. /WrTrade2/QueryFilterItem:
  23063. get:
  23064. parameters:
  23065. - description: 类型(可多选,逗号隔开) 1-品种 2-品类(商品) 3-仓库
  23066. in: query
  23067. name: itype
  23068. required: true
  23069. type: string
  23070. produces:
  23071. - application/json
  23072. responses:
  23073. "200":
  23074. description: OK
  23075. schema:
  23076. items:
  23077. $ref: '#/definitions/models.WrFilterItem'
  23078. type: array
  23079. "500":
  23080. description: Internal Server Error
  23081. schema:
  23082. $ref: '#/definitions/app.Response'
  23083. security:
  23084. - ApiKeyAuth: []
  23085. summary: 查询筛选框列表
  23086. tags:
  23087. - 仓单贸易v2
  23088. /WrTrade2/QueryHoldLB:
  23089. get:
  23090. description: 页面 现货仓单->现货明细? , 表名叫仓单持有记录, 有挂单特有维度,为防误解汇总也有相关维度, 新写接口,不跟汇总合在一起了。
  23091. parameters:
  23092. - description: 资金账号
  23093. in: query
  23094. name: accountid
  23095. required: true
  23096. type: integer
  23097. produces:
  23098. - application/json
  23099. responses:
  23100. "200":
  23101. description: OK
  23102. schema:
  23103. items:
  23104. $ref: '#/definitions/models.WrHoldLB'
  23105. type: array
  23106. "500":
  23107. description: Internal Server Error
  23108. schema:
  23109. $ref: '#/definitions/app.Response'
  23110. security:
  23111. - ApiKeyAuth: []
  23112. summary: 查询仓单持有记录
  23113. tags:
  23114. - 仓单贸易v2
  23115. /WrTrade2/QueryOrderQuote:
  23116. get:
  23117. parameters:
  23118. - description: 页码
  23119. in: query
  23120. name: page
  23121. type: integer
  23122. - description: 每页条数
  23123. in: query
  23124. name: pagesize
  23125. type: integer
  23126. - description: 仓单贸易市场id
  23127. in: query
  23128. name: marketid
  23129. type: integer
  23130. - description: 价格方式 - 1:固定价 2-浮动价
  23131. in: query
  23132. name: wrpricetype
  23133. required: true
  23134. type: integer
  23135. - description: 0:仓单预售 1:仓单贸易
  23136. in: query
  23137. name: haswr
  23138. required: true
  23139. type: integer
  23140. - description: 商品名称(筛选条件)
  23141. in: query
  23142. name: wrstandardname
  23143. type: string
  23144. - description: 品牌名称(筛选条件)
  23145. in: query
  23146. name: brandname
  23147. type: string
  23148. - description: 仓库id(筛选条件)
  23149. in: query
  23150. name: warehouseid
  23151. type: integer
  23152. - description: 品种id
  23153. in: query
  23154. name: deliverygoodsid
  23155. type: integer
  23156. produces:
  23157. - application/json
  23158. responses:
  23159. "200":
  23160. description: OK
  23161. schema:
  23162. items:
  23163. $ref: '#/definitions/models.WrOrderQuote'
  23164. type: array
  23165. "500":
  23166. description: Internal Server Error
  23167. schema:
  23168. $ref: '#/definitions/app.Response'
  23169. security:
  23170. - ApiKeyAuth: []
  23171. summary: 查询大厅行情列表
  23172. tags:
  23173. - 仓单贸易v2
  23174. /WrTrade2/QueryOrderQuoteDetail:
  23175. get:
  23176. parameters:
  23177. - description: 页码
  23178. in: query
  23179. name: page
  23180. type: integer
  23181. - description: 每页条数
  23182. in: query
  23183. name: pagesize
  23184. type: integer
  23185. - description: 仓单贸易市场id
  23186. in: query
  23187. name: marketid
  23188. type: integer
  23189. - description: 价格方式 - 1:固定价 2-浮动价
  23190. in: query
  23191. name: wrpricetype
  23192. required: true
  23193. type: integer
  23194. - description: 0:仓单预售 1:仓单贸易
  23195. in: query
  23196. name: haswr
  23197. required: true
  23198. type: integer
  23199. - description: 仓单要素id
  23200. in: query
  23201. name: wrfactortypeid
  23202. required: true
  23203. type: integer
  23204. - description: 期货商品id(浮动价方式时填)
  23205. in: query
  23206. name: goodsid
  23207. type: integer
  23208. - description: 买卖方向 0-买 1-卖
  23209. in: query
  23210. name: buyorsell
  23211. required: true
  23212. type: integer
  23213. produces:
  23214. - application/json
  23215. responses:
  23216. "200":
  23217. description: OK
  23218. schema:
  23219. items:
  23220. $ref: '#/definitions/models.WrOrderQuoteDetail'
  23221. type: array
  23222. "500":
  23223. description: Internal Server Error
  23224. schema:
  23225. $ref: '#/definitions/app.Response'
  23226. security:
  23227. - ApiKeyAuth: []
  23228. summary: 查询买卖大厅
  23229. tags:
  23230. - 仓单贸易v2
  23231. /WrTrade2/QueryPerformancePlan:
  23232. get:
  23233. parameters:
  23234. - description: 用户id
  23235. in: query
  23236. name: userid
  23237. required: true
  23238. type: integer
  23239. - description: 买卖方向 0-买 1-卖
  23240. in: query
  23241. name: buyorsell
  23242. required: true
  23243. type: integer
  23244. produces:
  23245. - application/json
  23246. responses:
  23247. "200":
  23248. description: OK
  23249. schema:
  23250. items:
  23251. $ref: '#/definitions/models.WrPerformancePlan'
  23252. type: array
  23253. "500":
  23254. description: Internal Server Error
  23255. schema:
  23256. $ref: '#/definitions/app.Response'
  23257. security:
  23258. - ApiKeyAuth: []
  23259. summary: 查询履约信息
  23260. tags:
  23261. - 仓单贸易v2
  23262. /WrTrade2/QueryWrFactorTypeInfo:
  23263. get:
  23264. parameters:
  23265. - description: 仓单要素id
  23266. in: query
  23267. name: wrfactortypeid
  23268. required: true
  23269. type: integer
  23270. produces:
  23271. - application/json
  23272. responses:
  23273. "200":
  23274. description: OK
  23275. schema:
  23276. items:
  23277. $ref: '#/definitions/models.WrFactorTypeInfo'
  23278. type: array
  23279. "500":
  23280. description: Internal Server Error
  23281. schema:
  23282. $ref: '#/definitions/app.Response'
  23283. security:
  23284. - ApiKeyAuth: []
  23285. summary: 查询仓单要素详细信息
  23286. tags:
  23287. - 仓单贸易v2
  23288. /WrTrade2/QueryWrGoodsInfo:
  23289. get:
  23290. parameters:
  23291. - description: 仓单贸易市场id
  23292. in: query
  23293. name: marketid
  23294. type: integer
  23295. - description: 0:仓单预售 1:仓单贸易
  23296. in: query
  23297. name: haswr
  23298. required: true
  23299. type: integer
  23300. - description: 仓单要素id
  23301. in: query
  23302. name: wrfactortypeid
  23303. required: true
  23304. type: integer
  23305. produces:
  23306. - application/json
  23307. responses:
  23308. "200":
  23309. description: OK
  23310. schema:
  23311. items:
  23312. $ref: '#/definitions/models.WrGoodsInfo'
  23313. type: array
  23314. "500":
  23315. description: Internal Server Error
  23316. schema:
  23317. $ref: '#/definitions/app.Response'
  23318. security:
  23319. - ApiKeyAuth: []
  23320. summary: 查询仓单商品信息
  23321. tags:
  23322. - 仓单贸易v2
  23323. /WrTrade2/QueryWrOrderDetail:
  23324. get:
  23325. description: 页面 现货仓单 | 预售仓单 -> 挂单
  23326. parameters:
  23327. - description: 页码
  23328. in: query
  23329. name: page
  23330. type: integer
  23331. - description: 每页条数
  23332. in: query
  23333. name: pagesize
  23334. type: integer
  23335. - description: 用户id
  23336. in: query
  23337. name: userid
  23338. required: true
  23339. type: integer
  23340. - description: 仓单贸易市场id
  23341. in: query
  23342. name: marketid
  23343. type: integer
  23344. - description: 0:仓单预售 1:仓单贸易
  23345. in: query
  23346. name: haswr
  23347. required: true
  23348. type: integer
  23349. produces:
  23350. - application/json
  23351. responses:
  23352. "200":
  23353. description: OK
  23354. schema:
  23355. items:
  23356. $ref: '#/definitions/models.WrOrderDetail'
  23357. type: array
  23358. "500":
  23359. description: Internal Server Error
  23360. schema:
  23361. $ref: '#/definitions/app.Response'
  23362. security:
  23363. - ApiKeyAuth: []
  23364. summary: 查询仓单委托单(挂单)
  23365. tags:
  23366. - 仓单贸易v2
  23367. /WrTrade2/QueryWrPosition:
  23368. get:
  23369. description: 页面 现货仓单->现货汇总/库存汇总; 预售仓单->订单汇总
  23370. parameters:
  23371. - description: 用户id
  23372. in: query
  23373. name: userid
  23374. required: true
  23375. type: integer
  23376. - description: 查询类型 1-现货汇总 2-库存汇总(订单汇总)
  23377. in: query
  23378. name: querytype
  23379. required: true
  23380. type: integer
  23381. produces:
  23382. - application/json
  23383. responses:
  23384. "200":
  23385. description: OK
  23386. schema:
  23387. items:
  23388. $ref: '#/definitions/models.WrPosition'
  23389. type: array
  23390. "500":
  23391. description: Internal Server Error
  23392. schema:
  23393. $ref: '#/definitions/app.Response'
  23394. security:
  23395. - ApiKeyAuth: []
  23396. summary: 查询现货(预售)仓单持仓
  23397. tags:
  23398. - 仓单贸易v2
  23399. /WrTrade2/QueryWrSpecialMatchOrder:
  23400. get:
  23401. description: 页面 现货仓单 | 预售仓单 -> 指定成交
  23402. parameters:
  23403. - description: 页码
  23404. in: query
  23405. name: page
  23406. type: integer
  23407. - description: 每页条数
  23408. in: query
  23409. name: pagesize
  23410. type: integer
  23411. - description: 用户id
  23412. in: query
  23413. name: userid
  23414. required: true
  23415. type: integer
  23416. - description: 仓单贸易市场id
  23417. in: query
  23418. name: marketid
  23419. type: integer
  23420. - description: 0:仓单预售 1:仓单贸易
  23421. in: query
  23422. name: haswr
  23423. required: true
  23424. type: integer
  23425. produces:
  23426. - application/json
  23427. responses:
  23428. "200":
  23429. description: OK
  23430. schema:
  23431. items:
  23432. $ref: '#/definitions/models.WrSpecialMatchOrder'
  23433. type: array
  23434. "500":
  23435. description: Internal Server Error
  23436. schema:
  23437. $ref: '#/definitions/app.Response'
  23438. security:
  23439. - ApiKeyAuth: []
  23440. summary: 查询指定成交
  23441. tags:
  23442. - 仓单贸易v2
  23443. /WrTrade2/QueryWrTradeDetail:
  23444. get:
  23445. parameters:
  23446. - description: 页码
  23447. in: query
  23448. name: page
  23449. type: integer
  23450. - description: 每页条数
  23451. in: query
  23452. name: pagesize
  23453. type: integer
  23454. - description: 用户id
  23455. in: query
  23456. name: userid
  23457. required: true
  23458. type: integer
  23459. - description: 仓单贸易市场id
  23460. in: query
  23461. name: marketid
  23462. type: integer
  23463. - description: 0:仓单预售 1:仓单贸易
  23464. in: query
  23465. name: haswr
  23466. required: true
  23467. type: integer
  23468. produces:
  23469. - application/json
  23470. responses:
  23471. "200":
  23472. description: OK
  23473. schema:
  23474. items:
  23475. $ref: '#/definitions/models.WrTradeDetail'
  23476. type: array
  23477. "500":
  23478. description: Internal Server Error
  23479. schema:
  23480. $ref: '#/definitions/app.Response'
  23481. security:
  23482. - ApiKeyAuth: []
  23483. summary: 查询仓单成交明细
  23484. tags:
  23485. - 仓单贸易v2
  23486. securityDefinitions:
  23487. ApiKeyAuth:
  23488. in: header
  23489. name: Authorization
  23490. type: apiKey
  23491. swagger: "2.0"